Playback issues

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
bukharov
Posts: 6
Joined: Wed Dec 07, 2022 1:21 pm

Playback issues

Post by bukharov »

Hey All,

For some reason UMS is having trouble playing a particular video (Episode 5 of LOTR: The Rings Of Power) on my Samsung TV.
It stops playing immediately after starting (it shows a loading spinner for a few seconds).
It's a new headless installation on Ubuntu 22, perhaps I missed something?

The log is attached.

Thanks,
Denis
Attachments
debug.zip
(366.45 KiB) Downloaded 49 times
User avatar
mik_s
Moderator
Posts: 1114
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Playback issues

Post by mik_s »

It looks like UMS thinks your network connection to the TV is too slow to stream that video as it has a higher bitrate, so is trying to transcode it in a lower quality to be played.
The TV's estimated network speed is 7.71Mb/s (7000000 b/s) but that video has a bitrate of 8075574 b/s

Code: Select all

TRACE 2022-12-06 11:28:47.886 [jupnp-netty-worker-4] Matched support line f:mkv       v:h264|h265                                          a:aac-lc|he-aac|ac3|eac3|lpcm|mp3|mpa|wma|truehd      m:video/x-mkv
TRACE 2022-12-06 11:28:47.886 [jupnp-netty-worker-4] Using video bitrate limit from [TV] Samsung Q70 Series (75) configuration (7 Mb/s) because it is lower than the general configuration bitrate limit (90 Mb/s)
DEBUG 2022-12-06 11:28:47.887 [jupnp-netty-worker-4] Reading MaxVideoWidth: 4096 (default: 1920)
DEBUG 2022-12-06 11:28:47.887 [jupnp-netty-worker-4] Reading MaxVideoHeight: 2160 (default: 1080)
DEBUG 2022-12-06 11:28:47.887 [jupnp-netty-worker-4] File "The.Lord.of.the.Rings.The.Rings.of.Power.S01E05.Partings.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.mkv" will not be streamed because the bitrate (8075574 b/s) is too high (7000000 b/s).
DEBUG 2022-12-06 11:28:47.887 [jupnp-netty-worker-4] Final verdict: "The.Lord.of.the.Rings.The.Rings.of.Power.S01E05.Partings.1080p.AMZN.WEB-DL.DDP5.1.H.264-NTb.mkv" will be transcoded with engine "FFmpeg Video" with mime type "video/x-matroska"
You can try and force UMS to not transcode by playing from the #--TRANSCODE--# folder and choose "No transcoding" but there is likely to be stutters.
(if you do not see it, enable "show the #--Transcode--# folder" in the GUI on the navigation tab)

I can't tell if you are on WiFi or not. If you are try a wired connection, at least to the TV from the router. This should improve the speed.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
bukharov
Posts: 6
Joined: Wed Dec 07, 2022 1:21 pm

Re: Playback issues

Post by bukharov »

Thanks for your reply mik_s!
I tried playing the video without transcoding using the TRANSCODE folder almost immediately after failure, but to no avail (same issue it wouldnt even start playing).
I don't have a log file with that though, but I'll try to get one tomorrow.
bukharov
Posts: 6
Joined: Wed Dec 07, 2022 1:21 pm

Re: Playback issues

Post by bukharov »

After a restart UMS stopped transcoding MKV files, so the issue kinda went away. Playback is still stopping sometimes at random, but those are really hard to catch.
User avatar
mik_s
Moderator
Posts: 1114
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Playback issues

Post by mik_s »

There might be something using up bandwidth on your network which is slowing down the traffic needed by UMS, possibly other people streaming in you household. The connection speed to your TV seems really slow though. How have you cot things connected?
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
bukharov
Posts: 6
Joined: Wed Dec 07, 2022 1:21 pm

Re: Playback issues

Post by bukharov »

Mesh WiFi 6, it's pretty fast. I was able to stream 4k without any issues with MiniDLNA. I switched to UMS because my TV does not support AVI video and DTS audio which is really annoying.
User avatar
mik_s
Moderator
Posts: 1114
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Playback issues

Post by mik_s »

I don't know much about networking to help but I'm sure that should be fast enough. Something must be slowing it down.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
bukharov
Posts: 6
Joined: Wed Dec 07, 2022 1:21 pm

Re: Playback issues

Post by bukharov »

I disabled transcoding triggered by the network speed (automatic_maximum_bitrate = false) so it solved the problem for some files.
But when a file is transcoded for another reason UMS immediately stops playing it after starting. I've attached another log showing this issue (the file is "Operatsiya.Y.i.drugiye.priklyucheniya.Shurika.1965.1080p.BluRay.DTS.FLAC.x264.HDCLUB-SbR.mkv").
Attachments
debug.zip
(285.6 KiB) Downloaded 43 times
Post Reply