[FFmpeg-user] Troubleshooting cat'ing mpeg videos

Lu, James - 0442 - MITLL james.lu at ll.mit.edu
Wed Jul 20 22:48:35 CEST 2011

Hey Brian, I'm no expert on ffmpeg but I recall reading somewhere that cat messes up timestamps, and a reencode will degrade video quality but will fix the timestamps. Hope that helps.


-----Original Message-----
From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-bounces at ffmpeg.org] On Behalf Of Brian Cardarella
Sent: Wednesday, July 20, 2011 4:25 PM
To: FFmpeg user questions and RTFMs
Subject: [FFmpeg-user] Troubleshooting cat'ing mpeg videos

I have two mpg videos that I've transcoded from mp4s. Each are 10
seconds long. When I play the transcoded mpg files individually they
run through just fine. But when I cat them into a combined mpg the
first one plays and when I get to the 10 second mark the 2nd one plays
for about 2 seconds, wish playback that seems to be skipping frames
and the audio is off. Then the video ends.

The combined playing time should be 20 seconds as each file
individually is 10 seconds. But the combined file only plays for 13

If it is of any help I have pastied the output from the transocdings
and an ffprobe of the combined mpg:


Any help is greatly appreciated! :)

- Brian
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org

More information about the ffmpeg-user mailing list