[FFmpeg-devel] FFmpeg patch to add idr_interval option to libavcodec/qsvenc_mpeg2.c

Xiang, Haihao haihao.xiang at intel.com
Tue Jul 12 13:23:32 EEST 2022


On Tue, 2022-06-28 at 15:26 +0000, Greg Stewart wrote:
> Hello,
> 
> Please find attached a base64 encoded patch.  This patch exposes the
> "idr_interval" option to the mpeg2_qsv encoder (libavcodec/qsvenc_mpeg2.c)
> identically to how was done for the h264_qsv encoder
> (libavcodec/qsvenc_h264.c).


For mpeg2, `IdrInterval` in the SDK defines the sequence header interval, not
IDR frame interval [1]. Could you update the help string for this option and add
a description about this option in mpeg2_qsv section in  encoders.texi ? 	

[1] 
https://github.com/Intel-Media-SDK/MediaSDK/blob/master/doc/mediasdk-man.md#mfxinfomfx

Thanks
Haihao


> 
> Thank you,
> 
> Greg Stewart
> greg.stewart at edisen.com
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list