Youtube HDR video's - TV loses signal

I’m using the latest beta of the YouTube plugin and when I play 4K HDR video’s with a high bitrate (>30mbps AV1/H264/VP9) the TV momentarily blacks out every minute or so and it looks like it needs to sync again. Changing the player setting Adjust display refresh rate from always to start stop seems to help a bit but the problem remains.

Is this a thing which needs to be fixed in the player or is the YouTube plugin responsible for this? AFAIK it only passes the URL to the player?

The Vero V is directly connected to the LG G3 TV so there’s not a receiver involved which can mess with the signal.

Can you use something like youtube-dl to download the video as a file?
Then you could test it from internal storage to rule out networking issues or problems with the YouTube add-on

Cheers

Sam

I tried a video from another channel because it’s difficult to get exactly the same stream. I’ve uploaded it to the local storage and when I play it also gives problems like a very short distortion of the picture and also the occasional blackout. This file is not AV1 but MP4 and it plays fine on my PC.

Filename: Hawaii in 8K _ HDR 60FPS (2160p_60fps_AV1-128kbit_AAC).mp4

Mediainfo: General
Complete name : //192.168.1.42/Root/home/osmc/.kodi/media/Hawaii in 8K _ HDR 60FPS (2160p_60fps_AV1-128kbit_AAC).mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/mp41)
File size : 664 MiB
Duration : 3 min 38 s
Overall bit rate : 25.5 Mb/s
Movie name : Hawaii in 8K | HDR 60FPS
Performer : Jacob + Katie Schwarz
Recorded date : 2023
Writing application : Lavf58.39.101
Comment : https://www.youtube.com/watch?v=rFVpSwgCkCo

Video
ID : 1
Format : av01
Codec ID : av01
Duration : 3 min 38 s
Bit rate : 25.4 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 59.940 (60000/1001) FPS
Bits/(Pixel*Frame) : 0.051
Stream size : 661 MiB (99%)
Title : ISO Media file produced by Google Inc.

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 3 min 38 s
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 3.33 MiB (1%)
Title : ISO Media file produced by Google Inc.
Default : Yes
Alternate group : 1

Link to the YouTube video

The file from the HDR channel also shows artifacts when playing from internal storage

Filename
Powerful Quality 12K HDR 240FPS DOLBY VISION (2160p_60fps_AV1-128kbit_AAC).mp4

(so contrary to the name no 240FPS or Dolby Vision)

Mediainfo:
General
Complete name : D:\downloads\Powerful Quality 12K HDR 240FPS DOLBY VISION (2160p_60fps_AV1-128kbit_AAC).mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/mp41)
File size : 11.4 GiB
Duration : 1 h 5 min
Overall bit rate : 24.9 Mb/s
Movie name : Powerful Quality 12K HDR 240FPS DOLBY VISION
Performer : 8K HDR WORLD
Recorded date : 2024
Writing application : Lavf58.39.101
Comment : https://www.youtube.com/watch?v=W1wZI1La3ec

Video
ID : 1
Format : av01
Codec ID : av01
Duration : 1 h 5 min
Bit rate : 24.8 Mb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 60.000 FPS
Bits/(Pixel*Frame) : 0.050
Stream size : 11.3 GiB (99%)
Title : ISO Media file produced by Google Inc.

Audio
ID : 2
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Codec ID : mp4a-40-2
Duration : 1 h 5 min
Bit rate mode : Constant
Bit rate : 128 kb/s
Channel(s) : 2 channels
Channel layout : L R
Sampling rate : 44.1 kHz
Frame rate : 43.066 FPS (1024 SPF)
Compression mode : Lossy
Stream size : 59.8 MiB (1%)
Title : ISO Media file produced by Google Inc.
Language : English
Default : Yes
Alternate group : 1

It can take some time but here the TV also momentarily blacks out when playing from the internal storage. I didn’t see any image distortion here although there seems to be some judder which may be present in the original source as well.

thanks!

MP4 is just the container, the file is definitely AV1.

A link to the file to reproduce and some logs would be useful

Sam

@sam_nazarko The link is in the comment field.
@Mobula debug enabled logs would help

To get a better understanding of the problem you are experiencing we need more information from you. The best way to get this information is for you to upload logs that demonstrate your problem. You can learn more about how to submit a useful support request here.

Depending on the used skin you have to set the settings-level to standard or higher, in summary:

  • enable debug logging at settings->system->logging

  • reboot the OSMC device twice(!)

  • reproduce the issue

  • upload the log set (all configs and logs!) either using the Log Uploader method within the My OSMC menu in the GUI or the ssh method invoking command grab-logs -A

  • publish the provided URL from the log set upload, here

Thanks for your understanding. We hope that we can help you get up and running again shortly.

OSMC skin screenshot:

I still want the exact rip provided to rule out any variation from ffmpeg etc

@sam_nazarko I’ll PM you a download link to the smaller file

You should be able to download the files from YouTube with Jdownloader as well, the file sizes are:

Powerful Quality… - 12.210.272.009
Hawai… - 696.381.907

And I’ll upload a debug log later.

I downloaded this one with youtube-dl choosing same format as you and it plays fine without interruption at 4k/60FPS.
Have you checked that your HDMI cables are capable to play that?

Also a quick test via the YouTube Addon played fine.

Plays nicely here, too, streaming the 4k60 AV1 version.

Downloaded the 11Gig file and plays absolutely fine here. My guess is still a cable struggling with the bandwidth. But debug enabled logs might tell.

As you expected, it was the HDMI cable. I thought that I was already using a 2.1 certified cable but it turned out that this wasn’t the case.

I hadn’t realized that there’s a good reason why other video’s with a much higher bitrate were playing fine: the frame rates were much lower (24 fps). So video’s with 4K at 60fps have a much higher bitrate over the HDMI cable exposing it’s true quality.

I’ll do some further testing but for now everything seems to work fine.

thanks!

Thanks for confirming and providing us with the necessary information to investigate this

Sam

1 Like