On Wed, Aug 22, 2018 at 9:08 PM, Carl Eugen Hoyos <[email protected]> wrote:
> 2018-08-22 17:57 GMT+02:00, Jeroen Ooms <[email protected]>:
>> I'm trying to write a small C program to convert a set of png files
>> into a video, but I'm having a hard time finding the right apis.
>>
>> I had a look at doc/examples/transcoding.c (ignoring the audio stuff)
>> but when I compile this example I get deprecation warnings for
>> avcodec_encode_video2 and avcodec_decode_video2.
>>
>> Which API should I be using to encode a few images into a video?
>
> The replacements avcodec_send_frame()/avcodec_receive_packet()
> are mentioned both on top of avcodec.h and in documentation of the
> deprecated functions.

Are these drop-in replacements that I can use literally in this example?
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to