On 9/13/11 12:35 PM, Isaac Wang wrote:

I have a periodic timer that requests the latest frame from FFMpeg. If I
set the timer to a low rate (20 FPS), I get the video played back but at
a slow rate.  If I set the timer to a high rate (60 FPS), I get the
frames as soon as they are ready, but the video stutters.  I figured
that I should request the frames back as fast as possible..  Any insight
on how to avoid the stuttering is appreciated.

use the same structure used by avplay: demuxing/decoding thread + presentation thread.

lu
_______________________________________________
libav-api mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-api

Reply via email to