Trick source
Concatenation of files with same codecs
The concat demuxer was added to ffmpeg 1.1 . Get the lastest STATIC version of ffmpeg from: http://ffmpeg.gusari.org/static/ .
Instructions
Create a file "mylist.txt" with all the files you want to have concatenated in the following form ( Lines starting with a dash are ignored ) :
# this is a comment
file '/path/to/file1'
file '/path/to/file2'
file '/path/to/file3'
Note that these can be either relative or absolute paths. Then you can encode your files with:
$ ffmpeg -f concat -i mylist.txt -c copy output
No comments:
Post a Comment