[FFmpeg-user] What is my problem with concat?

Tom Horsley horsley1953 at gmail.com
Fri May 10 15:49:57 CEST 2013


On Fri, 10 May 2013 14:37:08 +0200
Nicolas George wrote:

> Oh, if it happens at the stitch, it is another matter. Can you show the
> timestamps of the few first and last packets of all three first files, in
> both audio and video streams (remove -select_streams in the ffprobe command
> line in my previous mail)?

I did manage to get a file that plays right by using sox to build a new
audio stream with 300ms of silence stuck between file 2 and file 3, but
here are the leading and trailing packets for the first three files

File 1:

packet|stream_index=0|pts_time=N/A|dts_time=0.000000
packet|stream_index=1|pts_time=0.000000|dts_time=0.000000
packet|stream_index=1|pts_time=0.021333|dts_time=0.021333
packet|stream_index=1|pts_time=0.032000|dts_time=0.032000
packet|stream_index=0|pts_time=N/A|dts_time=0.033367
packet|stream_index=1|pts_time=0.053333|dts_time=0.053333
packet|stream_index=1|pts_time=0.064000|dts_time=0.064000
packet|stream_index=0|pts_time=N/A|dts_time=0.066733
packet|stream_index=1|pts_time=0.085333|dts_time=0.085333
packet|stream_index=1|pts_time=0.096000|dts_time=0.096000
...
packet|stream_index=1|pts_time=479.328000|dts_time=479.328000
packet|stream_index=0|pts_time=N/A|dts_time=479.345533
packet|stream_index=1|pts_time=479.349333|dts_time=479.349333
packet|stream_index=1|pts_time=479.360000|dts_time=479.360000
packet|stream_index=0|pts_time=N/A|dts_time=479.378900
packet|stream_index=1|pts_time=479.381333|dts_time=479.381333
packet|stream_index=1|pts_time=479.392000|dts_time=479.392000
packet|stream_index=1|pts_time=479.413333|dts_time=479.413333
packet|stream_index=1|pts_time=479.424000|dts_time=479.424000
packet|stream_index=1|pts_time=479.445333|dts_time=479.445333

File 2:

packet|stream_index=0|pts_time=N/A|dts_time=0.000000
packet|stream_index=1|pts_time=0.000000|dts_time=0.000000
packet|stream_index=1|pts_time=0.021333|dts_time=0.021333
packet|stream_index=1|pts_time=0.032000|dts_time=0.032000
packet|stream_index=0|pts_time=N/A|dts_time=0.033367
packet|stream_index=1|pts_time=0.053333|dts_time=0.053333
packet|stream_index=1|pts_time=0.064000|dts_time=0.064000
packet|stream_index=0|pts_time=N/A|dts_time=0.066733
packet|stream_index=1|pts_time=0.085333|dts_time=0.085333
packet|stream_index=1|pts_time=0.096000|dts_time=0.096000
...
packet|stream_index=1|pts_time=483.285333|dts_time=483.285333
packet|stream_index=0|pts_time=N/A|dts_time=483.316167
packet|stream_index=0|pts_time=N/A|dts_time=483.349533
packet|stream_index=0|pts_time=N/A|dts_time=483.382900
packet|stream_index=0|pts_time=N/A|dts_time=483.416267
packet|stream_index=0|pts_time=N/A|dts_time=483.449633
packet|stream_index=0|pts_time=N/A|dts_time=483.483000
packet|stream_index=0|pts_time=N/A|dts_time=483.516367
packet|stream_index=0|pts_time=N/A|dts_time=483.549733
packet|stream_index=0|pts_time=N/A|dts_time=483.583100
packet|stream_index=0|pts_time=N/A|dts_time=483.616467
packet|stream_index=0|pts_time=N/A|dts_time=483.649833

(I think I see the problem here - about 300ms with no audio,
no doubt due to some weird corruption in the .mpg file
from the TiVo :-).

File 3:

packet|stream_index=0|pts_time=N/A|dts_time=0.000000
packet|stream_index=1|pts_time=0.000000|dts_time=0.000000
packet|stream_index=1|pts_time=0.021333|dts_time=0.021333
packet|stream_index=1|pts_time=0.032000|dts_time=0.032000
packet|stream_index=0|pts_time=N/A|dts_time=0.033367
packet|stream_index=1|pts_time=0.053333|dts_time=0.053333
packet|stream_index=1|pts_time=0.064000|dts_time=0.064000
packet|stream_index=0|pts_time=N/A|dts_time=0.066733
packet|stream_index=1|pts_time=0.085333|dts_time=0.085333
packet|stream_index=1|pts_time=0.096000|dts_time=0.096000
...
packet|stream_index=1|pts_time=444.672000|dts_time=444.672000
packet|stream_index=0|pts_time=N/A|dts_time=444.677567
packet|stream_index=1|pts_time=444.693333|dts_time=444.693333
packet|stream_index=1|pts_time=444.704000|dts_time=444.704000
packet|stream_index=0|pts_time=N/A|dts_time=444.710933
packet|stream_index=1|pts_time=444.725333|dts_time=444.725333
packet|stream_index=1|pts_time=444.736000|dts_time=444.736000
packet|stream_index=0|pts_time=N/A|dts_time=444.744300
packet|stream_index=1|pts_time=444.757333|dts_time=444.757333
packet|stream_index=0|pts_time=N/A|dts_time=444.777667


More information about the ffmpeg-user mailing list