Hi, I'm trying to encode a raw video (NV12 format) with Scaling using QSV. I'm using "h264_qsv" encoder. Direct encoding works fine for me. However when I add scale filter, the "avcodec_send_frame" fails with "Error submitting the frame for Encoding" However the ffmpeg command the below ffmpeg command works fine for me.
"ffmpeg -init_hw_device qsv=hw -filter_hw_device hw -f rawvideo -pix_fmt nv12 -s:v 1920x1080 -i /home/test/jelly.yuv -vf "hwupload=extra_hw_frames=64,format=qsv,scale_qsv=640:480" -c:v h264_qsv output.mp4" The filter string I'm using is "scale_qsv=640:480". I have also verified that the same code works fine with VAAPI. Anyone have any idea what I am doing wrong? _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
