xbmc / xbmc

Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS, tvOS and Windows.
https://kodi.tv/
Other
18.3k stars 6.29k forks source link

Omega beta 3 - pvr.mediaportal.tvserver #24869

Open MarcoViti opened 6 months ago

MarcoViti commented 6 months ago

Let me start by saying that I didn't have any problems with beta 2. Omega beta 3 gives me problems with viewing the TV. Apparently everything works, I have the list of channels, the icons and the EPG, I can easily scroll through the entire list of my channels... but when I select one the two wheels in the center of the screen start to turn and the system remains waiting for a few seconds and then stops, as if I had pressed stop In short, the channel display does not start. Windows 11 x64 updated to the latest version.

Actual Behavior

Possible Fix

To Reproduce

Steps to reproduce the behavior:

Debuglog

The debuglog can be found here: https://paste.kodi.tv/konucegupo.kodi

Screenshots

Here are some links or screenshots to help explain the problem:

Additional context or screenshots (if appropriate)

Here is some additional context or explanation that might help:

Your Environment

Used Operating system:

note: Once the issue is made we require you to update it with new information or Kodi versions should that be required. Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.

xbmc-gh-bot[bot] commented 6 months ago

Thank you for using Kodi and our issue tracker. This is your friendly Kodi GitHub bot :wink:

It seems that you have not followed the template we provide and require for all bug reports (or have opened a roadmap item by accident). Please understand that following the template is mandatory and required for the team to be able handle the volume of open issues efficiently.

Please edit your issue message to follow our template and make sure to fill in all fields appropriately. The issue will be closed after one week has passed without satisfactory follow-up from your side.

This is an automatically generated message. If you believe it was sent in error, please say so and a team member will remove the "Ignored rules" label.

neo1973 commented 6 months ago

The interesting part of the log is probably this:

2024-03-03 16:43:51.084 T:3612     info <general>: ffmpeg[0x2ab283aeba0]: Input #0, mpegts, from 'pvr://channels/tv/Tutti%20i%20canali@-1/0@pvr.mediaportal.tvserver_51.pvr':
2024-03-03 16:43:51.084 T:3612     info <general>: ffmpeg[0x2ab283aeba0]:   Duration: N/A, bitrate: N/A
2024-03-03 16:43:51.084 T:3612     info <general>: ffmpeg[0x2ab283aeba0]:   Program 137 
2024-03-03 16:43:51.084 T:3612     info <general>: ffmpeg[0x2ab283aeba0]:   Stream #0:0[0x30]: Video: h264 ([27][0][0][0] / 0x001B), none, 90k tbn
2024-03-03 16:43:51.085 T:3612     info <general>: ffmpeg[0x2ab283aeba0]:   Stream #0:1[0x40](ita): Audio: ac3 ([6][0][0][0] / 0x0006), 0 channels
2024-03-03 16:43:51.085 T:3612     info <general>: ffmpeg[0x2ab283aeba0]:   Stream #0:2[0x41](oth): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
2024-03-03 16:43:51.085 T:3612     info <general>: ffmpeg[0x2ab283aeba0]:   Stream #0:3[0x42](eng): Audio: mp3 ([3][0][0][0] / 0x0003), 0 channels
2024-03-03 16:43:51.085 T:3612     info <general>: ffmpeg[0x2ab283aeba0]:   Stream #0:4[0x6d](ita,ita,eng): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
2024-03-03 16:43:51.085 T:3612    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 0
2024-03-03 16:43:51.085 T:3612    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 1
2024-03-03 16:43:51.085 T:3612    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 2
2024-03-03 16:43:51.085 T:3612    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 3
2024-03-03 16:43:51.085 T:3612    debug <general>: CDVDDemuxFFmpeg::AddStream ID: 4
2024-03-03 16:43:51.085 T:3612     info <general>: Opening stream: 0 source: 256
2024-03-03 16:43:51.085 T:3612    error <general>: CVideoPlayerVideo::OpenStream: Codec id 27 require extradata.
2024-03-03 16:43:51.085 T:3612  warning <general>: CVideoPlayer::OpenStream - Unsupported stream 0. Stream disabled.

The Codec id 27 require extradata error originates from here, not sure why extradata would be be missing:

https://github.com/xbmc/xbmc/blob/e88b3190218daaaa8aaa8ac3a69f3cd895260d12/xbmc/cores/VideoPlayer/VideoPlayerVideo.cpp#L108-L126

MarcoViti commented 6 months ago

Thanks for your help. So what should I do?...

neo1973 commented 6 months ago

Hmm, I wonder if #24911 will fix this issue by any chance?

MarcoViti commented 6 months ago

If you explain to me what I have to do I'll try to test it

neo1973 commented 6 months ago

If you explain to me what I have to do I'll try to test it

Thanks for the offer :slightly_smiling_face:

You can try this test build that contains #24911: https://mirrors.kodi.tv/test-builds/windows/win64/KodiSetup-20240329-7b232a41-PR24911-merge-x64.exe

MarcoViti commented 6 months ago

No unfortunately this build does not solve the problem with add-on Mediaportal and TV viewing.While waiting for a solution for the Mediaportal add-on I also tried to test the "Argus TV" component and also for this add-on it is not possible to see the TV, so the problem does not only occur with the Mediaportal add-on. While with the Next pvr add-on the problem does not occur. But unfortunately this add-on has serious tuning and stability problems so as far as I'm concerned it cannot be used

JCalvi commented 5 months ago

I have exactly the same issue. On selecting a channel to view I get: Spinning circle, black screen, spinning circle again then back to Kodi, no errors, no TV played, no audio.

V21 is unusable while 20.5 works perfectly. The PVR plugin remains v20.3.0 in both cases, same settings.

V21 has these items in the debug logs while V20.5 does not.

2024-04-09 09:38:15.024 T:2660     info <general>: AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 11656 bytes in 2 seconds
2024-04-09 09:33:58.754 T:3328     info <general>: AddOnLog: pvr.mediaportal.tvserver: Kodi requested 32768 bytes, but the TSReader got only 0 bytes in 2 seconds

Full debug log of V21: https://paste.kodi.tv/igeqavodoj.kodi

Full debug log of V20.5: https://paste.kodi.tv/iviyatavop.kodi

Further information - I use TSreader setting with RTSP off, and fast channel switching on. RTSP never worked properly for me. Identical settings and plugin on all prior Kodi versions 20.5 and less work without any issue. No other changes made other than updating to Omega 21 release.

phunkyfish commented 5 months ago

We’ll need someone to bisect this to find the problem commit. Which means someone who can both build kodi on windows and run the media portal addon.

having not used media portal ever before, can a test feed be provided?

JCalvi commented 5 months ago

I suspect @MarcoViti is willing to try builds to narrow it down, he mentioned he just did not have access to old nightlies to do so.

If not I can do the same, I cannot build Kodi though so someone would have to make the binaries.

MarcoViti commented 5 months ago

Hello everyone. I'm willing to do all the tests needed. Unfortunately, I'm not a programmer and I can't do more than that. The build that definitely works with Mediaportal is Omega Beta 2 unfortunately I don't know since when the problem occurred definitely with Beta 3

phunkyfish commented 5 months ago

Bisecting, can mean a lot of builds. But would be next to impossible to do this without being able to build for windows.

Let’s see can we solve the build issue first.

MarcoViti commented 5 months ago

As I said, I'm not a programmer. But if you explain to me what to do, I think I can help. I admit I'm a geek.. :-)

phunkyfish commented 5 months ago

Let’s solve for the addon not building correctly for omega first. Once we have that and if there is still a problem we try the bisecting path.