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

Hwangho Kim loveall0926 at gmail.com
Mon Jan 2 08:03:24 EET 2017


Hi,

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.


Any idea for this?

Thanks.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20170102/d8d0abdd/attachment.html>


More information about the Libav-user mailing list