Re: [FFmpeg-devel] [PATCH] qsvenc: Add ROI encoding support for h264_qsv and hevc_qsv

2019-12-25 Thread Zhong Li
Guo, Yejun 于2019年12月25日周三 下午7:10写道: > > command examples: > ./ffmpeg -s 1920x1080 -i input.yuv -vf addroi=0:0:640:320:0.5 -c:v hevc_qsv > -b:v 5M -y qsv.b5m.roi.h265 > ./ffmpeg -s 1920x1080 -i input.yuv -vf addroi=0:0:640:320:-0.5 -c:v h264_qsv > -mfmode 1 -b:v 4M -y qsv.b4m.roi.h264 > > Sign

[FFmpeg-devel] [PATCH] qsvenc: Add ROI encoding support for h264_qsv and hevc_qsv

2019-12-25 Thread Guo, Yejun
command examples: ./ffmpeg -s 1920x1080 -i input.yuv -vf addroi=0:0:640:320:0.5 -c:v hevc_qsv -b:v 5M -y qsv.b5m.roi.h265 ./ffmpeg -s 1920x1080 -i input.yuv -vf addroi=0:0:640:320:-0.5 -c:v h264_qsv -mfmode 1 -b:v 4M -y qsv.b4m.roi.h264 Signed-off-by: Guo, Yejun --- libavcodec/qsvenc.c | 11