ffmpeg -i "Apache Sqoop Tutorial Part 1.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
ffmpeg -i "Apache Sqoop Tutorial Part 2.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts
ffmpeg -i "Apache Sqoop Tutorial Part 3.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate3.ts
ffmpeg -i "Apache Sqoop Tutorial Part 4.mp4" -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate4.ts
ffmpeg -i "concat:intermediate1.ts|intermediate2.ts|intermediate3.ts|intermediate4.ts" -c copy -bsf:a aac_adtstoasc "Apache Sqoop Tutorial.mp4"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ansi colors in Groovy | |
// Author: Ted Vinke | |
import static Ansi.* | |
println color("BOLD", Ansi.BOLD) | |
println color("ITALIC", Ansi.ITALIC) | |
println color("UNDERLINE", Ansi.UNDERLINE) | |
println color("BLINK", Ansi.BLINK) | |
println color("RAPID_BLINK", Ansi.RAPID_BLINK) | |
println color("REVERSE_VIDEO", Ansi.REVERSE_VIDEO) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form action="http://v0.api.upyun.com/rbtest/" method="post" enctype="multipart/form-data"> | |
<%= upyun_form_input_tag(:return_url => new_post_path) %> | |
<input type="file" name="file" /> | |
<button type="submit">上传图片</button> | |
</form> |