[MPlayer-dev-eng] Reverted patch of time-based PTS locking
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Aug 20 20:18:09 CEST 2012
On Mon, Aug 20, 2012 at 08:12:24PM +0200, Reimar Döffinger wrote:
> On Mon, Aug 20, 2012 at 03:44:37PM +0200, Pásztor Szilárd wrote:
> > Ok I finally gave up on my hacking attempts. Fumbling in ffmpeg code
> > led
> > me to see that much work would be needed in mplayer to make ffmpeg
> > reorder
> > pts by setting a lot of stream defaults in a context and the code is
> > way
> > too much complicated to worth the effort for me.
>
> Could you give more details?
> Getting a best_effort_timestamp I'd expect a bit complicated,
> but naively I'd expect that a simple AVPacket->pts in,
> AVFrame->pkt_pts is supposed to "just work" since it should be
> reordered inside the codec in the same way the pixel data itself is...
Note: as long as FFmpeg does not actually use it, you can do a giant
hack and do a av_dbl2int/av_int2dbl to store/restore it as float without
having to do a timebase conversion.
More information about the MPlayer-dev-eng
mailing list