[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 10:35:41 EET 2017


> 2017. 1. 2. 오후 5:27, Carl Eugen Hoyos <ceffmpeg at gmail.com> 작성:
> 
> 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
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

I’ll test it with MacOS but the project what I used the ffmpeg is on iOS video player project so if I run it in Mac OS it should work fine.






More information about the Libav-user mailing list