Hi, thanks, that was my problem :) regards: Rytis Karpuška
--- On Thu, 8/5/10, Jean-Daniel Dupas <[email protected]> wrote: From: Jean-Daniel Dupas <[email protected]> Subject: Re: [libav-user] h264 and pts To: "Libav* user questions and discussions" <[email protected]> Date: Thursday, August 5, 2010, 10:44 AM Le 5 août 2010 à 19:40, Rytis Karpuðka a écrit : > hello everyone, > so straight to the problem: > Then I`m decoding h264 video, everything goes okay, except for the pts. It > looks that I get pts in miliseconds even then myVideoCodecContext->time_base > shows 0.02. And pts increases by 40 for every frame (that`s why I assumed > that its miliseconds, because frame rate is 25 fps, so delay would be 40ms). AFAIK, Packet pts is relative to the AVStream time_base, not the codec context time_base. -- Jean-Daniel _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
