[FFmpeg-devel] vf_pts and pts jumps

Michael Niedermayer michaelni at gmx.at
Tue May 22 16:07:09 CEST 2012


On Tue, May 22, 2012 at 03:35:25PM +0200, Robert Nagy wrote:
> I've noticed that sometimes when during the first second of playing
> mpegts streams a pts jump can occur which can pretty much mess up
> playback.
> 
> e.g.
> 
> pts
> 
> 8000000
> 8500000
> 8501000
> 8502000
> 
> Maybe we should add a configurable threshold for the max pts delta,
> and if this threshold is exceeded reset the origin pts?

maybe see:
dts_delta_threshold and dts_error_threshold and related code
in ffmpeg.c

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Observe your enemies, for they first find out your faults. -- Antisthenes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120522/9f5ec6a3/attachment.asc>


More information about the ffmpeg-devel mailing list