[FFmpeg-user] Fwd: Can't concat two files which were encoded the same way.

Zsolt dqeswn at gmail.com
Sun Feb 23 12:42:00 CET 2014


2014-02-23 9:44 GMT+01:00 Carl Eugen Hoyos <cehoyos at ag.or.at>:

> Zsolt <dqeswn <at> gmail.com> writes:
>
> > ffmpeg -i motor1.avi -i motor2.avi -i motor3.avi
> > -c copy -filter_complex
> > '[0:0] [0:1] [1:0] [1:1] [2:0] [2:1] concat
>
> I did not test but I think space is a delimiter,
> try '[0:0][0:1][1:0][1:1][2:0][2:1]concat...
>

Okay. So I replaced single quotes with double quotes and I got:

> Streamcopy requested for output stream 0:0, which is fed from a complex
> filtergraph. Filtering and streamcopy cannot be used together.
>

 Which is a clear error message, though I don't see any rational reason for
it since I only want to join files.

So I tried this:
ffmpeg -i motor1.avi -i motor2.avi -i motor3.avi -acodec flac
-compression_level 1 -vcodec libx264 -preset ultrafast -crf 30
-filter_complex "[0:0] [0:1] [1:0] [1:1] [2:0] [2:1] concat=n=3:v=1:a=1 [v]
[a]" -map "[v]" -map "[a]"  motor.mkv

And it worked. So this means I have to mess around with txt files and
concat demuxer too just to merge a couple files without transcoding?


More information about the ffmpeg-user mailing list