[FFmpeg-user] [N46146] Joined MPG = no sound

Gilles codecomplete at free.fr
Tue Nov 6 12:34:05 CET 2012


I used the following command found in the FAQ to join several MPG
files of a 2h conference I shot with my camcorder:

ffmpeg -i concat:"file1.mpg|file2.mpg" -c copy output.mpg

However, the video plays fine in VLC, but there's no sound.

FWIW, the original files are saved as "video MPEG-1/2 (mpgv) 720x576
50fps + audio A52 (AC3, a52) 48KHz", and VLC says that the file has 85
streams instead of two (video + audio).

What would be the right way to join the files before reducing the size
of the output file (9GB)?

Thank you.

More information about the ffmpeg-user mailing list