[FFmpeg-user] Concatenation of mpg files
Dzung Nguyen
dzungng89 at gmail.com
Wed Aug 21 21:18:44 CEST 2013
The final video is not playable by VLC player and the movie player in
Ubuntu. It only shows the first subvideo.
Ah I forgot, the command also has time information -t:
ffmpeg -f image2 -loop 1 -r 29.97 -i resized0.png -t 60 -q:v 0 -r 29.97
0.mpg
ffmpeg -f image2 -loop 1 -r 29.97 -i resized1.png -t 60 -q:v 0 -r 29.97
1.mpg
cat *.mpg >out.mpg
I tried using concat demuxer before, but it keeps getting crashed/long time
when I concatenate 50 video files.
On Wed, Aug 21, 2013 at 2:10 PM, Reindl Harald <h.reindl at thelounge.net>wrote:
>
> Am 21.08.2013 20:58, schrieb Dzung Nguyen:
> > I concat video files using cat command:
> >
> > cat *.mpg >output.mpg
>
> videos are not text files
>
> http://ffmpeg.org/faq.html#Concatenating-using-the-concat-filter
>
> > And the final video is not playable. How should be the encoding of *.mpg
> > be? This is how I create them:
> >
> > ffmpeg -f image2 -loop 1 -i input.png -q:v 0 out1.mpg
>
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
>
More information about the ffmpeg-user
mailing list