Created
November 19, 2014 04:39
-
-
Save xingrz/7ae8f853519280bfafe7 to your computer and use it in GitHub Desktop.
Merge flvs with ffmpeg
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
ffmpeg -i 画·影1.flv -c copy -bsf:v h264_mp4toannexb -f mpegts 1.ts | |
ffmpeg -i 画·影2.flv -c copy -bsf:v h264_mp4toannexb -f mpegts 2.ts | |
ffmpeg -i 画·影3.flv -c copy -bsf:v h264_mp4toannexb -f mpegts 3.ts | |
ffmpeg -i 画·影4.flv -c copy -bsf:v h264_mp4toannexb -f mpegts 4.ts | |
ffmpeg -i 画·影5.flv -c copy -bsf:v h264_mp4toannexb -f mpegts 5.ts | |
ffmpeg -i "concat:1.ts|2.ts|3.ts|4.ts|5.ts" -c copy -bsf:a aac_adtstoasc -movflags +faststart 画·影.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment