[FFmpeg-user] Fixing bad DTS/PTS without reencode

Massimo Battistel battistel at gmail.com
Mon Jan 14 12:00:26 CET 2013


2013/1/14 Carl Eugen Hoyos <cehoyos at ag.or.at>

> Massimo Battistel <battistel <at> gmail.com> writes:
>
> > > > dts        duration
> > > > ------------------------
> > > > 0             40
> > > > 40            40
> > > > 160           40   <---- (apparent) discontinuty
> > > > 200           40
> > >
> > > Please provide a sample.
> >
> > how/where to upload?
>
> Either use http://www.datafilehost.com/ or read
> http://ffmpeg.org/bugreports.html (there is no
> hard filesize limit).
>
>
Ok, you can find file here:

http://www.datafilehost.com/download-527e92a0.html

Discontinuty is around 4.8 seconds.

DTS passes from 4820ms to 4900ms, while frame duration is 40ms.

At this point, I'm rephrasing a little the questions:
1. To fix this discontinuity should I set a frame duration to 80ms or
double the frame in that point?
2. Is there any way to do this from ffmpeg command line (with no reencoding
of course)?

thanks


More information about the ffmpeg-user mailing list