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

Keestu Pillo get2jils at gmail.com
Wed Feb 5 09:19:55 CET 2014

HI all,

I am developing rtsp player in android.  Working with fundamentals first.
What i did is
  1) read the pack
  2) Decode it
  3) check if (received complete frame )
         3.1  If frame is complete, then Update Texture
    4) Event loop
   5) Render Copy, Render present.

MY Question?
1)  Do we need to take care of DTS/PTS while  rendering the texture ?

With the above logic for few seconds the display is perfect, after which
the picture is scrambled.  Kindly advice.

More information about the ffmpeg-user mailing list