Avidemux Forum

Participate => Patch gallery => Topic started by: jfx on February 19, 2013, 08:58:12 PM

Title: MP4 PTS corruption
Post by: jfx on February 19, 2013, 08:58:12 PM
The attached patch fixes PTS corruption and other potential bugs when loading MP4 longer than 18 minutes. float is too small for time values measured in microseconds.
Title: Re: MP4 PTS corruption
Post by: mean on February 20, 2013, 05:50:19 AM
you mean it's not accurate enough ?
Title: Re: MP4 PTS corruption
Post by: jfx on February 20, 2013, 08:14:32 PM
float can safely store 24 bits only. This bug causes PTS<DTS errors etc.
Title: Re: MP4 PTS corruption
Post by: mean on February 21, 2013, 10:40:09 AM
?
Float can store up to +-10^38 big number, but the accuracy is lousy
I'll assume it's a rounding issue