Jump to content

Intel QuickSync & FFMPEG 2017


Recommended Posts

Kipperdawn
Posted

Hi Emby folks,

 

Since I switched to the new ffmpeg (20170308) and a newer version of emby, quicksync is no longer working for me.

 

Current Configuration:

Windows Server 2012R2

Emby running direct on the host (3.2.27)

FFMPEG (20170308)

 

Configuration where QS was last working

Windows Server 2012R2

Emby running direct on the host (3.2.16)

FFMPEG (20160410)

 

So I tried setting pointing emby back to the old ffmpeg,but unfortunately a couple of params (new?) cause the old ffmpeg to do nothing. I experiment by calling the old ffmpeg with the args from the logs and it turns out , ffmpeg 20160410 doesn't seem to like (-look_ahead 0) and (-maxrate 14346844). Once I remove those 2 params, ffmpeg 2016 works fine, but of course, emby passes those args.

 

Ok, so why would I want to use the old ffmpeg anyway... i would definitely prefer to use the new one, but unfortunately, ffmpeg seems to be unable to open up access to quick sync. In the old ffmpeg, with the 2 param removed, it happily starts transcoding and generating segments with no errors being reported. With the new ffmpeg, i get the following, which appears to imply it can't access qs.

 

[vc1_qsv @ 0000000002329080] Error during QSV decoding.: unknown error (-1)
Error while decoding stream #0:0: Unknown error occurred
cur_dts is invalid (this is harmless if it occurs once at the start per stream)bits/s speed=N/A
[vc1_qsv @ 0000000002329080] Error during QSV decoding.: unknown error (-1)
Error while decoding stream #0:0: Unknown error occurred
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[vc1_qsv @ 0000000002329080] Error during QSV decoding.: unknown error (-1)
Error while decoding stream #0:0: Unknown error occurred
cur_dts is invalid (this is harmless if it occurs once at the start per stream)
[vc1_qsv @ 0000000002329080] Error during QSV decoding.: unknown error (-1)
Error while decoding stream #0:0: Unknown error occurred
 
which repeats until it gives up and sw decoding kicks in.... So I guess one question i have is, do i need to install something to get the new ffmpeg working ?  I tried the latest ffmpegs created by zeraone and I get the same issue. So what options do i have to get qs working again ? Do i need to build ffmpeg myself on my own system (not really wanting to do that). Is there something i need to do/install to get the new versions working ? is there a way to just use the old version of ffmpeg with the correct set of param ? other ?
 
thx in advance for the help
kp
 

 

 

 

 

post-178796-0-39460700-1503372430_thumb.jpg

post-178796-0-18354100-1503372441_thumb.jpg

Posted

Hi, welcome. Have you checked that your video drivers are up to date?

Kipperdawn
Posted

Hi Luke,

 

I was afraid you might say something like that... the video driver is older (early 2016) because MS stopped supporting server 2012r2... well guess they never officially supported but at least the earlier versions would install. Guess I will look around to see if i can hack their install to get a later version.

 

thx

kp

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...