Page 1 of 2

[Solved] cant play 2160p 4k video

Posted: Sat Apr 04, 2020 6:01 pm
by Lomba490
Hi everyone, I'm using UMS since a while, and I can play every video: H264, H265, mkv, avi, ect... :D But every time I try to play 2160p video my TV Samsung Q70R say "check network status" :( . Curiously the same 2160p file can be played by the TV through usb disk connected to the TV :geek: .

I've tryed different setup and settings (eg stop firewall), but i can't solve the problem. Here is UMS log, either in trace mode or not.

Many thanks to anyone will help me.

Re: cant play 2160p 4k video

Posted: Sat Apr 04, 2020 9:48 pm
by Lomba490
I've also tried to set MaxVideoBitrateMbps = 0 istead of the original value that was 25, but the issue remains. I've noticed that the TV reads 2160 p file as 0.00 MB :!:, obviously, according to my PC, files are much larger.

Re: cant play 2160p 4k video

Posted: Sat Apr 04, 2020 11:36 pm
by mik_s
There isn't currently a config file for that TV yet so when UMS sees Samsung it will load the one that is more likely to work for most people. Because of this UMS thinks those files are unsupported as the resolution is too high and tries to transcode them, which is probably overloading your network giving the error.

I quickly altered the config for the Q6 series which should work better, but you will have to test and make any changes yourself if some won't play properly. you can tell UMS not to transcode a file if you go to the #-TRANSCODE-# folder and select "No Transcoding", If it plays then you can alter the config file to tell UMS that it is supported.

Re: cant play 2160p 4k video

Posted: Sun Apr 05, 2020 6:23 pm
by Lomba490
Wow It works!!! Thank you so much!!! :D

Re: cant play 2160p 4k video

Posted: Mon Apr 06, 2020 6:35 pm
by Lomba490
Hi everyone, I'm still here because I'm struggling to watch 2160p :x . I can play most of 4k files, but I have some issue with one file: my TV recognise this file as 970KB :!: :!: and when I try to play a error appears (check network status).
I've tried different setup in my .conf file but I can't understand where the problem is :( .

Here is my log, I tried to play my file at 07:06

Many thanks to everyone will help me :)

Re: cant play 2160p 4k video

Posted: Tue Apr 07, 2020 11:37 am
by mik_s
The config was basically a copy of the Q6 series config but as I don't know what formats your TV is capable of playing it won't be exactly match yours, so unfortunately you will have to do the testing and modifying it yourself when files fail to play.

Use the #-TRANSCODE-# folder and try "No Transcoding". If the file plays then your TV is compatible and you can make sure that format is in the config file as supported.
If that fails then the file will have to be transcoded, Try the other transcoding options in the #-TRANSCODE-# and see what works.

I did see this in the logs, might be the cause but not sure

Code: Select all

DEBUG 2020-04-06 07:06:38.729 [ffmpeg64.exe-14-2] net.pms.io.OutputTextLogger [Parsed_subtitles_0 @ 00000000006c8d00] Shaper: FriBidi 0.19.6 (SIMPLE)
DEBUG 2020-04-06 07:06:38.729 [ffmpeg64.exe-14-2] net.pms.io.OutputTextLogger [Parsed_subtitles_0 @ 00000000006c8d00] Unable to locate subtitle stream in D:/downloads/Cena con delitto (2019) [BluRay Rip 2160p HEVC 10bit-HDR ITA-ENG DTS-AC3-SUBS] [M@HD]/Cena con delitto (2019) [BluRay Rip 2160p HEVC 10bit-HDR ITA-ENG DTS-AC3-SUBS] [M@HD].txt
DEBUG 2020-04-06 07:06:38.729 [ffmpeg64.exe-14-2] net.pms.io.OutputTextLogger [AVFilterGraph @ 0000000002d66880] Error initializing filter 'subtitles' with args 'D\:/downloads/Cena con delitto (2019) [BluRay Rip 2160p HEVC 10bit-HDR ITA-ENG DTS-AC3-SUBS] [M@HD]/Cena con delitto (2019) [BluRay Rip 2160p HEVC 10bit-HDR ITA-ENG DTS-AC3-SUBS] [M@HD].txt:charenc=ISO-8859-1'
DEBUG 2020-04-06 07:06:38.729 [ffmpeg64.exe-14-2] net.pms.io.OutputTextLogger Error initializing complex filters.
DEBUG 2020-04-06 07:06:38.729 [ffmpeg64.exe-14-2] net.pms.io.OutputTextLogger Stream not found
TRACE 2020-04-06 07:06:39.759 [ffmpeg64.exe-14] net.pms.io.BufferedOutputFileImpl EOF
INFO  2020-04-06 07:06:39.759 [ffmpeg64.exe-14] net.pms.io.ProcessWrapperImpl Process C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe has a return code of 1! Maybe an error occurred... check the log file
One thing that might be causing the error is the length of the full path name, try shortening the folder and files names to just "Cena con delitto (2019)".
Is the .txt file for subs? It might be confusing UMS thinking it is so when it is processed it gives an error. If it is not important, delete it or give it a completely different name.

Re: cant play 2160p 4k video

Posted: Tue Apr 07, 2020 9:06 pm
by ClausD
Lomba490 wrote: Sat Apr 04, 2020 9:48 pm I've also tried to set MaxVideoBitrateMbps = 0 istead of the original value that was 25, but the issue remains. I've noticed that the TV reads 2160 p file as 0.00 MB :!:, obviously, according to my PC, files are much larger.
What would be achieved by setting MaxVideoBitrateMbps = 0?

Re: cant play 2160p 4k video

Posted: Wed Apr 08, 2020 5:32 am
by mik_s
I believe a value of 0 means unlimited, or use as much as possible.

Re: cant play 2160p 4k video

Posted: Thu Apr 16, 2020 12:53 am
by Lomba490
After a week, seems to be I've find out the solution. In the general transcode option I put "mkv" in "disable transcode... Extension".

Hope this thread helps Who has Samsung q70 TV.

Thanks to everyone

Re: cant play 2160p 4k video

Posted: Sat Jul 25, 2020 2:58 pm
by SubJunk
It looks like what happened here is that there was a .txt file with the same name as the video in the same folder, so UMS sent that to FFmpeg as subtitles, and then FFmpeg died because the file was not subtitles. Also we have since fixed bugs to do with subtitles so hopefully that workaround of putting mkv in the preferences is no longer needed.
That Q7 config will also be added in the next release.