Page 5 of 5

Re: Intel QSV Codecs

Posted: Thu Sep 07, 2017 12:12 pm
by TankBo
Has anyone found a fix for this? I have 2 laptops that have Intel i series processors with integrated graphics. The laptop that has HD3000 graphics/ Core i5 - 2520M processor I get the following error:

[h264_qsv @ 000000000030ece0]
Error initializing the encoder: invalid video parameters (-15)
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
Conversion failed!

when I run the same command on my other laptop that has HD5500 graphics/ Core i7 - 5600U it runs successfully. Here is the command that I'm trying to run:

ffmpeg.exe -y -i "C:\video\test1.ts" -c:v h264_qsv -b:v 3072k -maxrate 4608k -bufsize 6912k -look_ahead 0 -c:a copy -f mp4 "C:\video\1.mp4"


On a side note when I run the benchmark command it runs successfully on both machines and I get around 9x to 10x performance. This is the benchmark command that runs on both machines.

ffmpeg.exe -hwaccel qsv -threads 1 -i "C:\video\test1.ts" -f null - -benchmark

Re: Intel QSV Codecs

Posted: Wed Sep 13, 2017 2:18 am
by AlcyonaHaramix
TO >>> TankBo :

,

for testing... just try this command... from this ( message / forum post ) ... > viewtopic.php?p=12043#p12043 < ... maybe itll work for you...

,

also... for your ( Core i5 - 2520M ) processor... try this REMIX-ed command...

Code: Select all


\ffmpeg.exe -i input_file_itself.mp4 -loglevel debug -pix_fmt nv12 -c:v h264_qsv -async_depth 4 -preset veryslow -bitrate_limit 1 -look_ahead 0 -b:v 3834000 -maxrate 3834000 -bufsize 4474111 -c:a copy -y output_file_itself.mp4

maybe itll work for your ( Core i5 - 2520M ) processor...

,

Re: Intel QSV Codecs

Posted: Mon Sep 18, 2017 11:23 pm
by TankBo
I wish that worked, but it didnt...

Error initializing the encoder: invalid video parameters (-15)
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 @ 0000000002eb11e0] Statistics: 0 seeks, 0 writeouts
[AVIOContext @ 0000000000398de0] Statistics: 6312080 bytes read, 2 seeks
Conversion failed!