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.54k stars 6.3k forks source link

WebOS: Video stutters every few seconds with Live HD content #25101

Open alexhass opened 6 months ago

alexhass commented 6 months ago

Bug report

Describe the bug

Here is a clear and concise description of what the problem is:

ARD/ZDF/ONE/KikaHD stutters in HD quality every ~3 seconds. The sound plays countinously. All other non-HD sources like SAT1/RTL are streaming fine.

TVHeadend client is used.

Expected Behavior

Here is a clear and concise description of what was expected to happen:

No stuttering video.

Actual Behavior

HD video stutters every 3-4 seconds.

Possible Fix

To Reproduce

Steps to reproduce the behavior:

  1. watch german HD tv like ARD/ZDF or any other channel in HD quality

Debuglog

The debuglog can be found here:

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:

tried sound passthrough without success.

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:

The issue that you have opened was marked as ignoring the rules of our bug tracker by a team member. Please review the following requirements for issue reports and make sure that you follow all of them:

Please understand that adherence to these rules is required for the team to be able to handle the volume of open issues efficiently. The issue will be closed after one week has passed without satisfactory follow-up from your side.

alexhass commented 6 months ago

Thanks for beeing unhelpful.

tell me how I can download the logs from webos, please. Enabling logs is easy, but I cannot find ssh access to the lg tv.

alexhass commented 6 months ago

Additional detail. Playing recorded content of ZDF HD does not show the problem. But the backend server has no issue and is recording it… however something is different about live playing and play recordings of the same channel.

alexhass commented 6 months ago

Playing HD recordings also show a/v sync issues, but the stuttering every few seconds seem not exists.

alexhass commented 6 months ago

IMG_7188

Dexer125 commented 6 months ago

Same issue on Android due to caching code changes.

CastagnaIT commented 6 months ago

tell me how I can download the logs from webos, please

another simple way is use kodi file manager and copy the file to a usb storage: https://kodi.wiki/view/Log_file/File_manager_access

alexhass commented 6 months ago

tell me how I can download the logs from webos, please

another simple way is use kodi file manager and copy the file to a usb storage: https://kodi.wiki/view/Log_file/File_manager_access

The .kodi folder is not visible in file manager.

alexhass commented 6 months ago

I guess we are looking for this "diffs", isn't it?

2024-05-05 13:11:58.994 T:7364    debug <general>: PlayerCallback: CDVDVideoCodecStarfish: type: 0, numValue: 27090222000, strValue: 
2024-05-05 13:11:59.010 T:7409    debug <general>: AddData: CDVDVideoCodecStarfish: dts:28590222000 ns pts:28690222000 ns sz:80424 current state Running
2024-05-05 13:11:59.010 T:7409    debug <general>: GetPicture: CDVDVideoCodecStarfish: pts:27090222.0000
2024-05-05 13:11:59.013 T:6155    debug <general>: PrepareNextRender: frameOnScreen: 26397019.941079 renderPts: 26462606.612789 nextFramePts: 26550222.000000 -> diff: -87615.387211  render: false forceNext: false
2024-05-05 13:11:59.032 T:6155    debug <general>: PrepareNextRender: frameOnScreen: 26416859.421079 renderPts: 26482567.732816 nextFramePts: 26550222.000000 -> diff: -67654.267184  render: false forceNext: false
2024-05-05 13:11:59.052 T:6155    debug <general>: PrepareNextRender: frameOnScreen: 26436904.381079 renderPts: 26502619.252843 nextFramePts: 26550222.000000 -> diff: -47602.747157  render: false forceNext: false
2024-05-05 13:11:59.074 T:6155    debug <general>: PrepareNextRender: frameOnScreen: 26458785.521079 renderPts: 26524495.212842 nextFramePts: 26550222.000000 -> diff: -25726.787158  render: false forceNext: false
2024-05-05 13:11:59.106 T:6155    debug <general>: PrepareNextRender: frameOnScreen: 26490206.061079 renderPts: 26555817.772820 nextFramePts: 26550222.000000 -> diff: 5595.772820  render: true forceNext: false
2024-05-05 13:11:59.107 T:7409    debug <general>: AddData: CDVDVideoCodecStarfish: dts:28610222000 ns pts:28650222000 ns sz:39807 current state Running
2024-05-05 13:11:59.108 T:7409    debug <general>: AddData: CDVDVideoCodecStarfish: dts:28630222000 ns pts:28630222000 ns sz:1776 current state Running
2024-05-05 13:11:59.108 T:7409    debug <general>: AddData: CDVDVideoCodecStarfish: dts:28650222000 ns pts:28670222000 ns sz:2278 current state Running
2024-05-05 13:11:59.109 T:7409    debug <general>: AddData: CDVDVideoCodecStarfish: dts:28670222000 ns pts:28710222000 ns sz:109055 current state Running
2024-05-05 13:11:59.116 T:6155    debug <general>: PrepareNextRender: frameOnScreen: 26500615.221079 renderPts: 26566064.412888 nextFramePts: 26590222.000000 -> diff: -24157.587112  render: false forceNext: false
2024-05-05 13:11:59.150 T:6155    debug <general>: PrepareNextRender: frameOnScreen: 26534278.501079 renderPts: 26599740.012810 nextFramePts: 26590222.000000 -> diff: 9518.012810  render: true forceNext: false
2024-05-05 13:11:59.160 T:7409    debug <general>: AddData: CDVDVideoCodecStarfish: dts:28690222000 ns pts:28790222000 ns sz:84322 current state Running
2024-05-05 13:11:59.160 T:6155    debug <general>: PrepareNextRender: frameOnScreen: 26544731.081079 renderPts: 26610276.052784 nextFramePts: 26850222.000000 -> diff: -239945.947216  render: false forceNext: false
2024-05-05 13:11:59.172 T:6155    debug <general>: PrepareNextRender: frameOnScreen: 26556874.041079 renderPts: 26622644.392847 nextFramePts: 26850222.000000 -> diff: -227577.607153  render: false forceNext: false
2024-05-05 13:11:59.174 T:7409    debug <general>: AddData: CDVDVideoCodecStarfish: dts:28710222000 ns pts:28750222000 ns sz:36695 current state Running
2024-05-05 13:11:59.174 T:7409    debug <general>: AddData: CDVDVideoCodecStarfish: dts:28730222000 ns pts:28730222000 ns sz:2879 current state Running

Sharing the full kodi log will share too much personal data in public. I'm not fine with this. Let me know what exactly you are looking for and I cut this from the logs.

Aside of this - every developer just need to add ARD HD or ZDF HD from SAT and he can see this with his own eyes. Always reproducible.

Langelus commented 6 months ago

Seeing the exact same behavior on ChromeCast with GoogleTV (non 4K) and NextPVR with random HD channels, looking at the traffic to the device it seems like it can't cache faster than 10 Mbps (and the stream from memory usually sits at 20-25 Mbps from memory pre-update to Omega)

Langelus commented 6 months ago

Same issue on Android due to caching code changes.

Is there an issue logged with this? just curios

Dexer125 commented 6 months ago

Same issue on Android due to caching code changes.

Is there an issue logged with this? just curios

Yes but it was closed with a conclusion that it's my device problem.

alexhass commented 4 months ago

Still an issue with latest nightly. Kodi is not useable with this defect :-(