Jump to content

Transcoding not working after upgrade to 4.8.xx.


Go to solution Solved by Happy2Play,

Recommended Posts

Posted (edited)

Trying to understand what is going on.  I stayed on 4.7.xx for a long time due to a transcoding issue and it seems everything was working fine.  Now that I have upgraded to 4.18.10 CPU usage has spiked.  It used be less than 1%.  I just noticed this on a remote user.  Feedback an input is welcomed.

 

image.thumb.png.7fe681f298562fa661806937bcb7642b.png

ffmpeg-transcode-2f3db4d5-961a-45e5-bfe8-84762a1c5056_1.txt

Edited by js28194
Happy2Play
Posted

First I would question by you have no Hardware encoder for h264 as everything is being done in software?

10:15:17.276 Stream mapping:
10:15:17.276   Stream #0:0 (hevc) -> scale:default (graph 0)
10:15:17.276   scale:default (graph 0) -> Stream #0:0 (libx264)
10:15:17.276   Stream #0:1 -> #0:1 (copy)
10:15:17.276   Stream #0:2 -> #1:0 (subrip (srt) -> webvtt (native))
10:15:17.276   Stream #0:0 -> #1:1 (copy)

Posted
6 minutes ago, Happy2Play said:

First I would question by you have no Hardware encoder for h264 as everything is being done in software?

10:15:17.276 Stream mapping:
10:15:17.276   Stream #0:0 (hevc) -> scale:default (graph 0)
10:15:17.276   scale:default (graph 0) -> Stream #0:0 (libx264)
10:15:17.276   Stream #0:1 -> #0:1 (copy)
10:15:17.276   Stream #0:2 -> #1:0 (subrip (srt) -> webvtt (native))
10:15:17.276   Stream #0:0 -> #1:1 (copy)

Hardware hasn't changed, only Emby Upgrade.

Happy2Play
Posted

Probably need to see a server startup log and hardwaredetection log but your image shows no encoder either so all encoding is done in software/cpu.

Happy2Play
Posted (edited)

Where something is not quite right as you should have at minimum h264 but should have h265 encoders also.

image.thumb.png.7d3956fae94008a1d88620f134afa320.png

Edited by Happy2Play
Happy2Play
Posted

Do you have any logs from 4.7.14.0?

 

Posted (edited)

Also, suddenly some new options showed up out of the blue. 

image.thumb.png.7122bad7d82e81040aa701e4e775dc15.png

 

Also, enabling throttling doesn't seem to do anything?

 

image.png.88352b9fd4eea9acdaf71b7d7d08c713.png

Edited by js28194
Happy2Play
Posted

Yes but you are still not seeing Encoders.

Not sure if related as devs would have to elaborate here.

2025-02-05 10:45:53.884 Info Dx11VaCodecProvider: Start GetCodecList()
2025-02-05 10:45:53.884 Error Dx11VaCodecProvider: Error in GetCodecList
	*** Error Report ***
	Version: 4.8.10.0
	Command line: C:\Users\admin\AppData\Roaming\Emby-Server\system\EmbyServer.dll -noautorunwebapp
	Operating system: Microsoft Windows 6.1.7601 Service Pack 1
	Framework: .NET 6.0.33
	OS/Process: x64/x64
	Runtime: C:/Users/admin/AppData/Roaming/Emby-Server/system/System.Private.CoreLib.dll
	Processor count: 8
	Data path: C:\Users\admin\AppData\Roaming\Emby-Server\programdata
	Application path: C:\Users\admin\AppData\Roaming\Emby-Server\system
	System.EntryPointNotFoundException: System.EntryPointNotFoundException: Unable to find an entry point named 'CreateDXGIFactory2' in DLL 'dxgi.dll'.
	   at SharpDX.DXGI.DXGI.CreateDXGIFactory2(Int32 flags, Guid riid, IntPtr& factoryOut)
	   at SharpDX.DXGI.Factory2..ctor(Boolean debug)
	   at Emby.Codecs.Dxva.Detection.MainDetectorDX11..ctor(ILogger logger, List`1 codecList)
	   at Emby.Codecs.Dxva.Dx11VaCodecProvider.GetCodecListInternal()
	Source: SharpDX.DXGI
	TargetSite: Void CreateDXGIFactory2(Int32, System.Guid, IntPtr ByRef)
	
2025-02-05 10:45:53.884 Info Dx11VaCodecProvider: End GetCodecList()
2025-02-05 10:45:53.884 Info DxvaCodecProvider: Start GetCodecList()
2025-02-05 10:45:54.289 Info DxvaCodecProvider: End GetCodecList()
    "DetectionOutputs": {
        "Dx11VaCodecProvider": {
            "CodecProviderName": "Dx11VaCodecProvider",
            "StandardError": "System.EntryPointNotFoundException: Unable to find an entry point named 'CreateDXGIFactory2' in DLL 'dxgi.dll'.\r\n   at SharpDX.DXGI.DXGI.CreateDXGIFactory2(Int32 flags, Guid riid, IntPtr& factoryOut)\r\n   at SharpDX.DXGI.Factory2..ctor(Boolean debug)\r\n   at Emby.Codecs.Dxva.Detection.MainDetectorDX11..ctor(ILogger logger, List`1 codecList)\r\n   at Emby.Codecs.Dxva.Dx11VaCodecProvider.GetCodecListInternal()",
            "Result": [
                "Detection Log",
                "Debug:  Create DXGI Factory",
                "Error:  Error in GetCodecList\nSystem.EntryPointNotFoundException: Unable to find an entry point named 'CreateDXGIFactory2' in DLL 'dxgi.dll'.\r\n   at SharpDX.DXGI.DXGI.CreateDXGIFactory2(Int32 flags, Guid riid, IntPtr& factoryOut)\r\n   at SharpDX.DXGI.Factory2..ctor(Boolean debug)\r\n   at Emby.Codecs.Dxva.Detection.MainDetectorDX11..ctor(ILogger logger, List`1 codecList)\r\n   at Emby.Codecs.Dxva.Dx11VaCodecProvider.GetCodecListInternal()"
            ]

 

Happy2Play
Posted

Yes previous build saw encoder so it is a matter of trying to figure out why 4.8 does not see it.

Emby Server version: 4.7.13.0

>>>>>>  Hardware Encoders for h264
        [X] NVENC GeForce GTX 1050 Ti - H.264 (AVC)

 

Posted

I will reboot the server while I wait patiently for some further direction.  Thank you for looking at this.

Happy2Play
Posted

Is this a Windows 7 system?

6.1.7601 Service Pack 1

But dev will have to comment also as going forward things will start to break do to compatibility as 4.8 might be the last server supported. @Luke

Posted
3 minutes ago, Happy2Play said:

Is this a Windows 7 system?

6.1.7601 Service Pack 1

But dev will have to comment also as going forward things will start to break do to compatibility as 4.8 might be the last server supported. @Luke

Yes Windows 7 x64.  P.S this error also existed in the 4.7 build, but suffered no consquences.

 

"DetectionOutputs": { "Dx11VaCodecProvider": { "CodecProviderName": "Dx11VaCodecProvider", "StandardError": "System.EntryPointNotFoundException: Unable to find an entry point named 'CreateDXGIFactory2' in DLL 'dxgi.dll'.\r\n at SharpDX.DXGI.DXGI.CreateDXGIFactory2(Int32 flags, Guid riid, IntPtr& factoryOut)\r\n at SharpDX.DXGI.Factory2..ctor(Boolean debug)\r\n at Emby.Codecs.Dxva.Detection.MainDetectorDX11..ctor(ILogger logger, List`1 codecList)\r\n at Emby.Codecs.Dxva.Dx11VaCodecProvider.GetCodecListInternal()", "Result": [ "Detection Log", "Debug: Create DXGI Factory", "Error: Error in GetCodecList\nSystem.EntryPointNotFoundException: Unable to find an entry point named 'CreateDXGIFactory2' in DLL 'dxgi.dll'.\r\n at SharpDX.DXGI.DXGI.CreateDXGIFactory2(Int32 flags, Guid riid, IntPtr& factoryOut)\r\n at SharpDX.DXGI.Factory2..ctor(Boolean debug)\r\n at Emby.Codecs.Dxva.Detection.MainDetectorDX11..ctor(ILogger logger, List`1 codecList)\r\n at Emby.Codecs.Dxva.Dx11VaCodecProvider.GetCodecListInternal()" ]

Posted
Just now, js28194 said:

Yes Windows 7

Wow. :)  I'm afraid that may be the root of the issue.

  • Agree 1
Posted

@Happy2Play I believe it is windows 7 sp 1.

@js28194 Upgrade now.

Don't ask Emby for help when you get hacked 😂🤣.

There was like a 3 year window to upgrade to windows 8, then after that to windows 10.

 

Happy2Play
Posted

Yes I do to TLS cipher suite changes Windows 7 will no longer work to get provider metadata as they are or have locked down servers to cipher suites that do not exist or are weak in Windows 7.

 

So Emby itself will stop getting provider metadata/images soon also.

Posted
10 minutes ago, Neminem said:

There was like a 3 year window to upgrade to windows 8, then after that to windows 10.

Support for 10 ends in October. :D 

Posted
6 minutes ago, Lessaj said:

Support for 10 ends in October. :D 

Yes but it can only be better that windows 7, or ?

Well forget it, upgrade your hardware to support windows 11, or go linux.

Posted
34 minutes ago, Neminem said:

Yes but it can only be better that windows 7, or ?

Well forget it, upgrade your hardware to support windows 11, or go linux.

Absolutely is better, no doubt there. I run arch btw.

Posted
1 hour ago, Neminem said:

Don't ask Emby for help when you get hacked 😂🤣.

There was like a 3 year window to upgrade to windows 8, then after that to windows 10.

 

I bet that line works on all the girls.  If ain't broke don't fix it.  The only issue I had in YEARS now is that Emby upgrade broke my shit.

Posted
1 hour ago, Happy2Play said:

Yes I do to TLS cipher suite changes Windows 7 will no longer work to get provider metadata as they are or have locked down servers to cipher suites that do not exist or are weak in Windows 7.

 

So Emby itself will stop getting provider metadata/images soon also.

What does that have do with Transcoding breaking in Windows 7?  I don't want to argue, but it seems like I didn't see a 4.8.xx requires Windows 10 or newer post.  I may have missed it.  I am upgrading to windows 10 begrudginly

We have servers that are well protected behind many firewalls, load balances and reverse proxies.  Yet to have a hack (knock on wood).  Nothing is exposed.

Happy2Play
Posted
1 minute ago, js28194 said:

I bet that line works on all the girls.  If ain't broke don't fix it.  The only issue I had in YEARS now is that Emby upgrade broke my shit.

We has to beg providers to allow Windows 7 weak ciphers and were accomdated until the next required server security update happen.  As I see Windows 7 ending for the end of the year.  As it is not capable of running server 4.9 either.

1 minute ago, js28194 said:

What does that have do with Transcoding breaking in Windows 7? 

Nothing unless the server components can no longer readd the correct info on the old hardware but only a dev will be able to comment as it may come back to drivers also.  But more of a FYI as the platform will stop working/funtioning properly as I believe before the end of the year.

Posted

Don't upgrade an OS that went EOL in January 2020 in February 2025 with one that goes EOL in October 2025 😂

  • Haha 1

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...