[FFmpeg-user] QSV Encoding with Scaling is failing
abimathi08 at gmail.com
Tue Apr 23 14:27:11 EEST 2019
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,
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
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?
More information about the ffmpeg-user