[Libav-user] New encoding / decoding API

Chao Liu yijinliu at gmail.com
Thu Oct 20 01:13:59 EEST 2016


Hi,
I am trying to upgrade our code to 3.1. There are a lot of warnings about
deprecated APIs, like use AVStream.codecpar instead of AVStream.codec,
use  avcodec_send_packet()/avcodec_receive_frame() instead
of avcodec_decode_video2. Are there any examples how to do the transition?
I noticed that all these examples
<https://www.ffmpeg.org/doxygen/3.1/examples.html> are still using the old
APIs. Should they be updated?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20161019/7bd2c1af/attachment.html>


More information about the Libav-user mailing list