[FFmpeg-user] Cat 2 mp4 files?

. peace at AleksandrSolzhenitsyn.net
Thu Dec 6 16:07:46 CET 2012


On 12/06/2012 07:07 AM, Tom Evans wrote:
> On Thu, Dec 6, 2012 at 11:14 AM, . <peace at aleksandrsolzhenitsyn.net> wrote:
>> On 12/06/2012 05:53 AM, Carl Eugen Hoyos wrote:
>>> . <peace <at> AleksandrSolzhenitsyn.net> writes:
>>>
>>>> ffmpeg -i input1.avi -qscale:v 1 intermediate1.mpg
>>>> ffmpeg -i input2.avi -qscale:v 1 intermediate2.mpg
>>>> cat intermediate1.mpg intermediate2.mpg > intermediate_all.mpg
>>>> ffmpeg -i intermediate_all.mpg -qscale:v 2 output.avi
>>>> There's got to be an easier reliable way for to
>>>> combine 2 video files.
>>> No, the above is the most reliable way to combine
>>> (arbitrary) media files.
>>>
>>> There are now a filter and a protocol that allow
>>> easier concatenation, see http://ffmpeg.org/ffmpeg.html
>>>
>>> Carl Eugen
>> Carl, thanks but I have no idea what they're talking about at the link
>> above.
>>
>> 'Just tried MP4Box and it worked perfectly...using an mp4 file.
>>
>> Thank you
>>
> http://ffmpeg.org/ffmpeg.html#concat-1
>
> http://ffmpeg.org/ffmpeg.html#concat
>
> Cheers
>
> Tom

Here's the code I used;

ffmpeg concat: tg1.mp4 tg2.mp4 WOOF.mp4

The Error message;

[NULL @ 0x97093e0] Unable to find a suitable output format for 'concat:'
concat:: Invalid argument


I also tried this;

ffmpeg concat: tg1.mp4|tg2.mp4 WOOF.mp4

That produced the error;

[NULL @ 0x9c943e0] Unable to find a suitable output format for 'concat:'
concat:: Invalid argument










> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20121206/31c42c10/attachment.asc>


More information about the ffmpeg-user mailing list