Graphics
Intel® graphics drivers and software, compatibility, troubleshooting, performance, and optimization
20598 Discussions

failed to encode h264 using h264_qsv on Centos7.6-1810

cbert7
Beginner
2,190 Views

I am using Xeon(R) CPU E3-1585 v5 @ 3.50GHz to encode video file.

I build FFmpeg4.1.3 following the steps introduced in [ this article](https://www.intel.com/content/www/us/en/cloud-computing/quicksync-video-ffmpeg-install-valid.html)

and when I using h264_qsv it always complains with the following message:

 

command:

ffmpeg -v verbose -i ./cluo.mp4 -vcodec h264_qsv -acodec copy -b:v 8M -look_ahead 0 -q 5 out.mp4

[h264 @ 0x408f980] Reinit context to 864x480, pix_fmt: yuv420p [graph 0 input from stream 0:0 @ 0x4390100] w:852 h:480 pixfmt:yuv420p tb:1/12800 fr:25/1 sar:640/639 sws_param:flags=2 [auto_scaler_0 @ 0x40f2800] w:iw h:ih flags:'bicubic' interl:0 [format @ 0x438df40] auto-inserting filter 'auto_scaler_0' between the filter 'Parsed_null_0' and the filter 'format' [auto_scaler_0 @ 0x40f2800] w:852 h:480 fmt:yuv420p sar:640/639 -> w:852 h:480 fmt:nv12 sar:640/639 flags:0x4 [h264_qsv @ 0x40ee300] Initialized an internal MFX session using hardware accelerated implementation [h264_qsv @ 0x40ee300] Using the constant quantization parameter (CQP) ratecontrol method [h264_qsv @ 0x40ee300] MFMode:2 [h264_qsv @ 0x40ee300] Selected ratecontrol mode is unsupported [h264_qsv @ 0x40ee300] Current frame rate is unsupported [h264_qsv @ 0x40ee300] Current picture structure is unsupported [h264_qsv @ 0x40ee300] Current resolution is unsupported [h264_qsv @ 0x40ee300] Current pixel format is unsupported [h264_qsv @ 0x40ee300] some encoding parameters are not supported by the QSV runtime. Please double check the input parameters. Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height [AVIOContext @ 0x40eedc0] Statistics: 0 seeks, 0 writeouts [AVIOContext @ 0x4074240] Statistics: 196608 bytes read, 0 seeks

Anyone know how to solve this, please?

1 Reply
Alberto_R_Intel
Employee
1,725 Views
cbert7, Thank you for posting in the Intel® Communities Support. Just to let you know, Intel® supports all the types of Operating Systems that are available in the market. However, the Intel® Xeon® E3-1585 v5 processor works with Intel® Iris® Pro Graphics P580, the operating system that was tested and validated by Intel® and the graphics drivers that we have available in our web site are for Windows* as you can confirm in the following link: https://downloadcenter.intel.com/product/88352/Intel-Iris-Pro-Graphics-P580 We recommend to install the graphics driver provided by the manufacturer of the motherboard since that driver was customized by them work with your specific platform. So, the best thing to do will be to get in contact with them to verify if they have the proper graphics driver available for your platform, for CentOS 7.6-1810 specifically, and then test the system to confirm if the problem persists after installing them. Regards, Alberto R. Intel Customer Support Technician Under Contract to Intel Corporation
0 Kudos
Reply