[Libav-user] some differences between ffmpeg-3.3.3 and ffmpeg-3.4

Corey Taylor corey.taylor.fl at gmail.com
Wed Feb 7 23:02:51 EET 2018


On Wed, Feb 7, 2018 at 3:55 AM, Liyong (R) <jackly.li at huawei.com> wrote:

> Dear libav-users
>
>
>
> When I used “avcodec_decode_video2” for real time Mpeg2
> decoding(one-stream-in-one-frame-out), I found different behaviors
> between version 3.4 and version 3.3.3.
>
>
>
> When I used ffmpeg-3.3.3, it could work as I expected, just
> one-in-one-out, However, with ffmpeg-3.4, it could not give any output
> frames sometimes. It seems that there is some kinds of buffer in it.
>
>
>
> Can anyone tell me the reason or some method to deal with the problem?
> Thanks!
>


It's possible that it is using hw accelerator for the decoding now.

You should still get all the frames out at the end of the stream when you
flush the codec, right?

corey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180207/1af76d05/attachment.html>


More information about the Libav-user mailing list