[Libav-user] How to pass and receive custom data during encoding?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Libav-user] How to pass and receive custom data during encoding?

Wodzu

Hi,

 

So I am encoding series of bitmaps into h264 by using avcodec_send_frame(context, frame) and then I am receiving packets by avcodec_receive_packet(context, packet).

How can I pass custom data to AVFrame and then receive it in AVPacket?

 

Thank you for your help.


_______________________________________________
Libav-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/libav-user

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