[FFmpeg-user] Cat 2 mp4 files?

Reindl Harald h.reindl at thelounge.net
Fri Dec 7 03:00:20 CET 2012



Am 07.12.2012 02:39, schrieb .:
> Yes, I do. However, what does this mean? "Note that you may need to
> escape the character "|" which is special for many shells."
> 
> Found at- http://ffmpeg.org/ffmpeg.html#concat
> 
> What does ffplay have to do with ffmpeg?

it is part of ffmpeg and a player

> Using the command/code of- ffmpeg concat: tg1.mp4\| tg2.mp4\| WOOF.mp4
> 
> I get the following error message- [NULL @ 0x96e33e0] Unable to find a
> suitable output format for 'concat:'
> concat:: Invalid argument
> 
> Any ideas?

yes, reading manuals
you are missing the "-i"-param

with the line below i combined some vob-files a few days ago
from a DVD while conberting them to H264 at the same time

remember the \ at the end of line means break the line for
better readability but handle it still as one line

ffmpeg -i \
"concat:VTS_01_0.VOB|VTS_01_1.VOB|VTS_01_2.VOB|VTS_01_3.VOB|VTS_01_4.VOB" \
  -f 'mp4' \
  -vcodec 'libx264' \
  -vb '1024k' \
  -maxrate '4048k' \
  -bufsize '30M' \
  -acodec 'libfaac' \
  -ab '128k' \
  -profile 'main' \
  -threads 8 \
  full.m4v


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


More information about the ffmpeg-user mailing list