[Libav-user] FFmpeg version 3.1's avcodec_decode_video2 is slower than 3.0.5.

Carl Eugen Hoyos ceffmpeg at gmail.com
Mon Jan 2 10:27:25 EET 2017


2017-01-02 7:03 GMT+01:00 Hwangho Kim <loveall0926 at gmail.com>:

> 3.1 is already old version but I’m using 3.0.5 in my project and I updated
> today it to 3.2.2.
>
> avcodec_decode_video2 is deprecated but still works so I tested decoding
> with 1920x1080 with 3.2.2.
>
> 1. Change just library
>
> Decoding speed of avcodec_decode_vdeo2 for 3.2.2 is slow (0.03 sec / frame )
> than 3.0.5 (0.001 or less / frame) so 1920x1080 video for 3.2.2 stopped
> frequently but not for 3.0.5.
>
> 2. Fix deprecated functions
>
> The result is same. After changing avcodec_decode_video2 to
> avcodec_send_packet and avcodec_receive_frame, 3.2.2 still slow decoding
> speed.

Did you also test with ffmpeg (the application)?

Please provide ffmpeg -i output for the file you tested.

Carl Eugen


More information about the Libav-user mailing list