Issues with h/w decoding
#1
Hello all,

Encountering some difficulties when trying to use the NPVR addon in Kodi, 138 DVB-T channels (from a Hauppauge WinTV DualHD USB tuner) any one of which prompt a crash after a few seconds/minutes.

Playback through the NPVR browser player and WinTV v10 has been fine.

Hoping someone can help with the issue please, using a fresh install of Kodi has not resolved it

Kodi Log
Reply
#2
There have been some Windows AMD RX graphic changes in the Kodi nightly, maybe try that first.

Otherwise depending on what you mean by crashing, I'd play around with the h/w decoding setting in Kodi, maybe try software decoding.

Finally there is also native Windows player installed with NextPVR which might be a better test of H/W playback than the browser.  That would help determine if it is a Kodi h/w issue.

Martin
Reply
#3
Ahh thank you kindly about the heads up with the Kodi nightly, and apologies for the vagueness referring to crashing; Kodi has been behaving by playing the selected channel for anywhere ranging from 5 seconds to 2-3 minutes before appearing to buffer 1-2 seconds, Kodi then proceeds to close instantly.

Will try your suggestions and feedback, thank you for responding so quickly
Reply
#4
Kodi Log 

Seems to persist in the nightly build too - Was there any particular combination of transcoding settings in NPVR/the add on you would recommend?

Will give the desktop app a go now.

Thanks again
Reply
#5
Direct play is the strongly recommended with all Kodi platforms, not transcoding. Did you try software decoding in Kodi?

@CrystalP  does this warning before the crash mean something?

2024-06-29 18:28:54.884 T:39268 warning <general>: CRendererHQ::CheckVideoParameters: chosen scaling method 1 is not supported by renderer

Martin
Reply
#6
Hi Martin,

I've tried variations of using CPU, AMD, DX3D options for transcoding, with the option 'avoid transcoding where possible' enabled, and direct streams enabled - This has had no impact. I have changed settings in Kodi from auto to software decoding only, this seems to be working as of the last couple of minutes. Is using this setting also preferable if I am viewing content from local storage (a 4K UHD movie for instance)?. 

Thanks again for the help with this
Reply
#7
It looks like you are taking about the NextPVR transcoding options, those won't change streaming to Kodi as you found out.  It was the software and h/w encoding in Kodi that I asked you to play with and it sounds like the issue is h/w decoding, hopefully a Kodi Windows dev can look at the logs, it is not a NextPVR problem at this point.

The Ryzen 5 should have enough horsepower for software decoding, but I wouldn't say it is preferred.  You can check you CPU load during playback on Windows or via Kodii.

Martin
Reply
#8
How is software encoding working?  It doesn't look like anyone from Team Kodi is going to help you on this sub-forum so if it working then the thread should be moved  to the General Windows support to see if someone can help you.

Martin
Reply
#9
Hi Martin,

I've had a limited amount of success with varying options for software encoding. Remained with the nightly build for the moment but the issues are fairly replicable. I'll endeavour to find the time to post logs for this later in the week/this weekend.

Software encoding does appear to be working but isn't quite an optimal solution given other content consumption. Pixel Shaders results in either the channel failing to start playing or audio only with a black screen. DXVA results in the channel's video playing but without audio.

I've also used the desktop NPVR player to try and shed light on things. I'll need to check again but attempted a couple of HD UK DVB-T2 channels which played video with no audio.

Hope to get back to this thread soon to update,

Regards
Reply
#10
Again, any video player difficulties or concerns you have with using software decoding are not NextPVR problems I just want you to confirm that software decoding is working before transferring the post to another forum where you might get the attention of Team Kodi.

For NextPVR.exe you probably didn't install or configure the LAV 32 bit decoder but support for that is on the NextPVR forum.

Martin
Reply
#11
In that case happy to confirm the software encoding appears to be working (There is an intermittent issue with channels failing to load until initialising at the second or third attempt but I feel like this may be related to the USB tuner).

Would be greatly appreciated if you are able to move the post to the appropriate forum, and thanks again for your help
Reply
#12
I don't know what happened it moved as I request and they changed the subject to here https://forum.kodi.tv/showthread.php?tid=378043 but it is back again.

Martin
Reply
#13
I moved this post from the windows support forum, I don't see how this is windows support but more of a hardware tuner software issue unless it's just to get more eyeballs on the question, while the users that could help are in this area. Developers that are concerned with various attributes of the program are likely to peruse the forum of their expertise, no need to shuffle posts to grab attention.
Reply
#14
The addon simply retrieves a stream from the backend and sends data to core.  The addon doesn't care how Kodi decodes it.  If it works with software decoding this appears to be a Windows playback issue and those are the eyes that need to look into this.

My experience is h/w developers wouldn't look here since this is for PVR support, not video playback, but if you think that I am wrong the OP will need to open a GitHub issue.

Martin
Reply
#15
Happy to provide more logs if this would help determine where best for the post to remain - For what it's worth I've reverted to the NPVR desktop app with LAV decoders and have not encountered issues other than the tuner requiring multiple attempts to initialise a channel.

The Kodi issue with decoding is not limited solely to the NPVR addon and seems to repeat with local content too
Reply

Logout Mark Read Team Forum Stats Members Help
Issues with h/w decoding0