Hi all, I need to encode images into an mkv container file using the h264 codec. I would like to set codec-specific options such as '-crf' but I don't know how to do it. So far I have found/considered several ways:
- let avformat_new_stream allocate AVCodecContext then use the deprecated Stream.codec field to set the options. - let avformat_new_stream allocate the AVCodecContext then use av_opt_set on Stream.priv_data - pass NULL for the codec to avformat_new_stream and find a way to create and set the codec context manually? Is this even supported? How else am I supposed to do this? Best, Nicolas _______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
