[FFmpeg-user] Do the developer need to handle dts/pts or the library ?

Keestu Pillo get2jils at gmail.com
Wed Feb 5 11:02:50 CET 2014


Thanks Carl for the reply.

Sorry i am very new to this background. Hence getting lots of question.

I do the below :
1) Read packet av_read_frame,
 2) Decode it
3) Check if complete frame is received,
   3.1 ) Render copy, render present.


I am not doing any dts/pts calculation here. as a initial stage,  my
knowledge with the above code is , it just displays frame by frame but will
not be in sync with what is running in the rtsp server.   '

Kindly correct me if i am wrong?


On Wed, Feb 5, 2014 at 2:31 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> Keestu Pillo <get2jils <at> gmail.com> writes:
>
> > 1)  Do we need to take care of DTS/PTS while
> > rendering the texture ?
>
> You mean (just to make sure I understand correctly):
> Is the player responsible to make sure that the frames
> are shown at the correct time?
> How else should it work?
>
> > With the above logic for few seconds the display is
> > perfect, after which the picture is scrambled.
>
> Could this just be a reception problem?
>
> Carl Eugen
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list