[Libav-user] Updated libav/ffmpeg tutorial

wm4 nfxjfg at googlemail.com
Mon Feb 23 10:37:49 CET 2015


On Sat, 21 Feb 2015 19:41:54 -0600
Stephen Dranger <dranger at gmail.com> wrote:

> So I've made most of the changes wm4 and Max have suggested, and retested
> everything. So, it works, but it could still use a lot more work. This was
> supposed to be a quick fix; when I get more time to devote to it, I'll have
> to look at ffplay.c and figure out the major changes it has made since I
> copied off it in the first place 8 years ago.
> 
> Updated link: http://dranger.com/ffmpeg/
> 
> Thanks everyone for the suggestions!

This is still non-sense:

    if(packet->dts != AV_NOPTS_VALUE) {
      pts = av_frame_get_best_effort_timestamp(pFrame);
    } else {
      pts = 0;
    }

Why that stuff about dts??? This should completely fail with threaded
decoding at least.


More information about the Libav-user mailing list