> hic -99 wrote:
> > Hello,
> >
> > can you help me for get the current time of the played video .
> >
> Since libav does not contain any 'player' part, the question makes no sense.
>
> The nearest one could get would be: demux a frame, decode it, substract
> the PTS and the PTS of the very first frame decoded.
>
> Greetings,
> --
i can get the current time by get_video_clock in ffplay with this way:
int curtime = get_video_clock(cur_stream) ;
int heure = curtime/3600;
int minute = (curtime% 3600 )/60 ;
int seconde = (curtime%60);
but i don't understand the content of the function get_video_clock() , can you
explain me.
Thanks.
_________________________________________________________________
Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics !
http://spaces.live.com/signup.aspx
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user