[Solved] Playback 4K in LG TV

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
azraraktar
Posts: 5
Joined: Sun Jan 05, 2020 2:43 am

Re: [Solved] Playback 4K in LG TV

Post by azraraktar »

Okay I got one file to work outside the transcode.
Now I'm struggling with this:

Code: Select all

General
Unique ID                      : 323394680525932760743848615045606469138 (0xF34B8CC6C607C04AB5C5DC8EF2A8EE12)
Format                         : Matroska
Format version                 : Version 4
File size                      : 37.9 GiB
Duration                       : 1 h 39 min
Overall bit rate mode          : Variable
Overall bit rate               : 54.6 Mb/s
Movie name                     : Rambo Extended 4K
Encoded date                   : UTC 2019-08-29 12:33:49
Writing application            : mkvmerge v36.0.0 ('Is That Jazz?') 64-bit
Writing library                : libebml v1.3.9 + libmatroska v1.5.2

Video
ID                             : 1
Format                         : HEVC
Format/Info                    : High Efficiency Video Coding
Format profile                 : Main [email protected]@High
HDR format                     : SMPTE ST 2086, HDR10 compatible
Codec ID                       : V_MPEGH/ISO/HEVC
Duration                       : 1 h 39 min
Bit rate                       : 42.0 Mb/s
Width                          : 3 840 pixels
Height                         : 2 160 pixels
Display aspect ratio           : 16:9
Frame rate mode                : Constant
Frame rate                     : 23.976 (24000/1001) FPS
Color space                    : YUV
Chroma subsampling             : 4:2:0 (Type 2)
Bit depth                      : 10 bits
Bits/(Pixel*Frame)             : 0.211
Stream size                    : 29.2 GiB (77%)
Default                        : Yes
Forced                         : No
Color range                    : Limited
Color primaries                : BT.2020
Transfer characteristics       : PQ
Matrix coefficients            : BT.2020 non-constant
Mastering display color primar : Display P3
Mastering display luminance    : min: 0.0010 cd/m2, max: 1000 cd/m2
Maximum Content Light Level    : 1000 cd/m2
Maximum Frame-Average Light Le : 932 cd/m2

Audio #1
ID                             : 2
Format                         : DTS XLL
Format/Info                    : Digital Theater Systems
Commercial name                : DTS-HD Master Audio
Codec ID                       : A_DTS
Duration                       : 1 h 39 min
Bit rate mode                  : Variable
Bit rate                       : 3 018 kb/s
Channel(s)                     : 8 channels
Channel layout                 : C L R LFE Lb Rb Lss Rss
Sampling rate                  : 48.0 kHz
Frame rate                     : 93.750 FPS (512 SPF)
Bit depth                      : 16 bits
Compression mode               : Lossless
Stream size                    : 2.09 GiB (6%)
Title                          : Deutsch DTS-HD MA 7.1 (Mixed by asterixi - Max. Dyn.)
Language                       : German
Default                        : Yes
Forced                         : No

My config is:

Code: Select all

# Supported video formats:
Supported = f:wmv|asf         v:wmv|vc1                         a:wma                                   m:video/x-ms-wmv
Supported = f:avi             v:h264|mp4|xvid|mjpeg             a:mp3|ac3|lcpm|adpcm|dts                m:video/avi
Supported = f:mp4|m4v|mov     v:h264|h265|mp4                   a:mp3|ac3|eac3|aac-lc|he-aac            m:video/mp4
Supported = f:mkv         	  v:h264|h265|mp4|mpeg2|vp8|vp9     a:aac-lc|he-aac|ac3|dts|dtshd|truehd|mp3|mpa|vorbis|eac3     m:video/x-matroska

Supported = f:ts|trp|tp|mts   v:h264|h265|mpeg2                 a:mp3|ac3|eac3|aac-lc|he-aac|adpcm      m:video/vnd.dlna.mpeg-tts
Supported = f:mpegts          v:h264|h265|mpeg2                 a:mp3|ac3|eac3|aac-lc|he-aac|adpcm      m:video/vnd.dlna.mpeg-tts

Supported = f:mpg|mpeg|dat    v:mpeg1|mpeg2                     a:mp3                                   m:video/mpeg
Supported = f:vob             v:mpeg1|mpeg2                     a:ac3|mpa|mp2|lpcm                                                                                                        m:application/vnd.rn-realmedia-vbr
Supported = f:3gp|3g2         v:h264|mp4                        a:aac-lc|he-aac|amr                     m:video/3gpp
Supported = f:rm|rmvb
Supported = f:mpegps      v:mpeg1|mpeg2|h264|h265                 a:ac3|lpcm|mpa|eac3|dts|dtshd|truehd                     m:video/mpeg
The trace says:

Code: Select all

TRACE 2020-01-07 16:48:12.846 [HTTPv2 Request Worker 3] net.pms.dlna.DLNAResource Subtitles track 2 cannot be streamed because it is internal/embedded
TRACE 2020-01-07 16:48:12.846 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:wmv|asf         v:wmv|vc1                         a:wma                                   m:video/x-ms-wmv
TRACE 2020-01-07 16:48:12.846 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:avi             v:h264|mp4|xvid|mjpeg             a:mp3|ac3|lcpm|adpcm|dts                m:video/avi
TRACE 2020-01-07 16:48:12.846 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:mp4|m4v|mov     v:h264|h265|mp4                   a:mp3|ac3|eac3|aac-lc|he-aac            m:video/mp4
TRACE 2020-01-07 16:48:12.846 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:mkv             v:h264|h265|mp4|mpeg2|vp8|vp9|mpegts|mpegps     a:mp3|ac3|eac3|aac-lc|he-aac|adpcm|dts|dtshd  m:video/x-matroska
TRACE 2020-01-07 16:48:12.846 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:ts|trp|tp|mts   v:h264|h265|mpeg2                 a:mp3|ac3|eac3|aac-lc|he-aac|adpcm      m:video/vnd.dlna.mpeg-tts
TRACE 2020-01-07 16:48:12.846 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:mpegts          v:h264|h265|mpeg2                 a:mp3|ac3|eac3|aac-lc|he-aac|adpcm      m:video/vnd.dlna.mpeg-tts
TRACE 2020-01-07 16:48:12.846 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:mpg|mpeg|dat    v:mpeg1|mpeg2                     a:mp3                                   m:video/mpeg
TRACE 2020-01-07 16:48:12.846 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:vob             v:mpeg1|mpeg2                     a:ac3|mpa|mp2|lpcm                                                                                                        m:application/vnd.rn-realmedia-vbr
TRACE 2020-01-07 16:48:12.846 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:3gp|3g2         v:h264|mp4                        a:aac-lc|he-aac|amr                     m:video/3gpp
TRACE 2020-01-07 16:48:12.846 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:rm|rmvb
TRACE 2020-01-07 16:48:12.846 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Matched support line f:mpegps 		  v:h264|h265|mp4|mpeg2|vp8|vp9     a:mp3|ac3|eac3|aac-lc|he-aac|adpcm|dtshd     m:video/mpeg
TRACE 2020-01-07 16:48:12.846 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:wmv|asf         v:wmv|vc1                         a:wma                                   m:video/x-ms-wmv
TRACE 2020-01-07 16:48:12.847 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:avi             v:h264|mp4|xvid|mjpeg             a:mp3|ac3|lcpm|adpcm|dts                m:video/avi
TRACE 2020-01-07 16:48:12.847 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:mp4|m4v|mov     v:h264|h265|mp4                   a:mp3|ac3|eac3|aac-lc|he-aac            m:video/mp4
TRACE 2020-01-07 16:48:12.847 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:mkv             v:h264|h265|mp4|mpeg2|vp8|vp9|mpegts|mpegps     a:mp3|ac3|eac3|aac-lc|he-aac|adpcm|dts|dtshd  m:video/x-matroska
TRACE 2020-01-07 16:48:12.847 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:ts|trp|tp|mts   v:h264|h265|mpeg2                 a:mp3|ac3|eac3|aac-lc|he-aac|adpcm      m:video/vnd.dlna.mpeg-tts
TRACE 2020-01-07 16:48:12.847 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:mpegts          v:h264|h265|mpeg2                 a:mp3|ac3|eac3|aac-lc|he-aac|adpcm      m:video/vnd.dlna.mpeg-tts
TRACE 2020-01-07 16:48:12.847 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:mpg|mpeg|dat    v:mpeg1|mpeg2                     a:mp3                                   m:video/mpeg
TRACE 2020-01-07 16:48:12.847 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:vob             v:mpeg1|mpeg2                     a:ac3|mpa|mp2|lpcm                                                                                                        m:application/vnd.rn-realmedia-vbr
TRACE 2020-01-07 16:48:12.847 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:3gp|3g2         v:h264|mp4                        a:aac-lc|he-aac|amr                     m:video/3gpp
TRACE 2020-01-07 16:48:12.847 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mpegps" failed to match supported line f:rm|rmvb
TRACE 2020-01-07 16:48:12.847 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Matched support line f:mpegps 		  v:h264|h265|mp4|mpeg2|vp8|vp9     a:mp3|ac3|eac3|aac-lc|he-aac|adpcm|dtshd     m:video/mpeg
And I have hundreds of these lines...

When I want to play the file without transcode, it just works.
User avatar
mik_s
Moderator
Posts: 1114
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: [Solved] Playback 4K in LG TV

Post by mik_s »

Are you using the config I posted?
I may have misinterpreted how some of the formats are written and I think the mpegps line is wrong

Code: Select all

Supported = f:ts|trp|tp|mts   v:h264|h265|mpeg2                 a:mp3|ac3|eac3|aac-lc|he-aac|adpcm      m:video/vnd.dlna.mpeg-tts
Supported = f:mpegts          v:h264|h265|mpeg2                 a:mp3|ac3|eac3|aac-lc|he-aac|adpcm      m:video/vnd.dlna.mpeg-tts
should have been

Code: Select all

Supported = f:ts|trp|tp|mts   v:h264|h265|mpeg2                 a:mp3|ac3|eac3|aac-lc|he-aac|adpcm      m:video/vnd.dlna.mpeg-tts
Supported = f:mpegps          v:h264|h265|mpeg2                 a:mp3|ac3|eac3|aac-lc|he-aac|adpcm      m:video/vnd.dlna.mpeg-tts
I think :?:


I don't really know what the ps and ts means though :?

could you post the whole trace log though, the snippet you posted doesn't quite give the full picture.
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.
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: [Solved] Playback 4K in LG TV

Post by Nadahar »

@azraraktar Your setup looks correct for the file you posted, except that I'm not sure if DTS-HD MA will match "dtshd". To know for sure, one have to look in the log. Search for "Parsing results" and find the one that is for the file in question. If you use the cache (which you probably do), the parsing results might not be logged because the parsing information from the cache is used - if that's the case, turn off the cache and "browse" to the folder with the file, and it should be logged. Then turn the cache on again.

The excerpt from your log doesn't seem to be about this file. If you had included a bit more of the log (further up), it would say which file it was about. One thing that can be slightly confusing in the log, is that because UMS is multithreaded, several things happen at once - so completely unrelated things may come mixed together. The part in the [square brackets] shows the name of the thread, in this case "HTTPv2 Request Worker 3". When you look further up or down for what happened to the "case you are investigating", disregard everything that's not from the same thread. The reason it doesn't look like the same file is that the file in question has embedded subtitles, and the MediaInfo output you posted does not. The reason the file that is being evaluated is being transcoded, is that the renderer isn't configured to support subtitles track 2 (whatever format/type it is, that part of the log isn't there). I have no idea if your TV actually supports internal subtitles or this particular format, but this is also specified in the renderer configuration (both internal/embedded and external/subtitles file are specified separately).

@both The part we DO see in the log, is the least interesting (except for the first line). What happens is that after UMS determines that the file isn't supported (for some reason), it will pick a format to transcode to (Usually MPEG-TS or MPEG-PS). The same "resolving process" will then be performed for the transcoded format, which is what we see in the log. Unless the configuration is completely off, this will always find a match, so that part is something I just skip with my eyes when reading ;)

@mik_s MPEG-TS and MPEG-PS are called (MPEG) Transport Stream and (MPEG) Program Stream respectively. They are different file formats, both often simply using the .mpeg extension. MPEG-TS is capable of much more than MPEG-PS, but a lot is identical too. I guess you could say that a Transport Stream is a kind of "container" that can contain many program streams. In addition, they can carry lots of extra metadata, like repeating "headers" (which makes them stream-friendly as you don't need to read the start of the stream to know what the content is), EPG tracks, encryption/decryption packets etc. MPEG-TS is very commonly used for TV broadcast (satellite, terrestrial and cable), where multiple radio, TV or data channels are all muxed into one transport stream. The tuner will then demux the stream, read EPG and "channel information" and the pick the tracks it's interested in for the selected channel. This channel is then usually a "program stream" within the transport stream. Some times, a program stream will end when one program ends and another one starts, while other times they "merge" different programs (and commercials) into one long program stream. If they use separate program streams for ads (which is really natural, as it's a different source), it would become much too easy to automatically remove them I guess ;)
azraraktar
Posts: 5
Joined: Sun Jan 05, 2020 2:43 am

Re: [Solved] Playback 4K in LG TV

Post by azraraktar »

Code: Select all

TRACE 2020-01-07 23:27:42.938 [HTTPv2 Request Worker 7] net.pms.dlna.LibMediaInfoParser MediaInfo parsing results for "Rambo Extended 4K.mkv":
  Title: "Rambo Extended 4K"    Format: "Matroska"            Duration: 1:39:17.025         Overall Bitrate Mode: VBR
  Overall Bitrate: 54580892     Cover: No                     FPS: 23.976
  - Video track ID: 1
    Format: "HEVC"                Profile: "Main [email protected]@High"  CodecID: "V_MPEGH/ISO/HEVC"   Duration: 1:39:16.993
    Bitrate: 42035382             Width: 3840                   Height: 2160                  Colorimetry: 4:2:0
    Chroma: 4:2:0                 Matrix Co: BT.2020 non-constant                             PAR: 1.000
    DAR: 16:9                     FPS: 23.976                   Framerate Mode: CFR           Bit Depth: 10
    Delay: 0                      Delay Source: Container
  - Audio track ID: 2, Title: "Deutsch DTS-HD MA 7.1 (Mixed by asterixi - Max. Dyn.)"
    Format: "DTS"                 Profile: "MA / Core"          CodecID: "A_DTS"              Duration: 1:39:17.025
    BitRate Mode: VBR / CBR       Bitrate: 3018295 / 1509000    Language: "de"                Channel(s): 8 / 6
    Samplerate: 48000             Bit Depth: 16                 Delay: 0                      Delay Source: Container
  - Audio track ID: 3, Title: "Deutsch DTS-HD MA 7.1 (Mixed by asterixi)"
    Format: "DTS"                 Profile: "MA / Core"          CodecID: "A_DTS"              Duration: 1:39:17.025
    BitRate Mode: VBR / CBR       Bitrate: 3131004 / 1509000    Language: "de"                Channel(s): 8 / 6
    Samplerate: 48000             Bit Depth: 16                 Delay: 0                      Delay Source: Container
  - Audio track ID: 4, Title: "English TrueHD Atmos 7.1 (UHD Blu-ray)"
    Format: "MLP FBA"             Profile: "MLP FBA 16-ch / MLP FBA"                          CodecID: "A_TRUEHD"
    Duration: 1:39:17.025         BitRate Mode: VBR             Bitrate: 5670790              BitRate Maximum: 8955000
    Language: "en"                Channel(s): 8                 Samplerate: 48000             Delay: 0
    Delay Source: Container
  - Audio track ID: 5, Title: "English Dolby Digital 5.1 (UHD Blu-ray)"
    Format: "AC-3"                CodecID: "A_AC3"              Duration: 1:39:17.025         BitRate Mode: CBR
    Bitrate: 640000               Language: "en"                Channel(s): 6                 Samplerate: 48000
    Bit Depth: 16                 Delay: 0                      Delay Source: Container
  - Subtitle ID: 6, Title: "Deutsch Forced (SRT)"
    Format: "UTF-8"               Language: "de"
  - Subtitle ID: 7, Title: "Deutsch Forced (VobSub)"
    Format: "VobSub"              Language: "de"
  - Subtitle ID: 8, Title: "Deutsch Forced (PGS)"
    Format: "PGS"                 Language: "de"
  - Subtitle ID: 9, Title: "English SDH (VobSub)"
    Format: "VobSub"              Language: "en"
  - Subtitle ID: 10, Title: "English SDH (PGS)"
    Format: "PGS"                 Language: "en"
   
TRACE 2020-01-07 23:27:42.938 [HTTPv2 Request Worker 7] net.pms.formats.Format Parsing results for file "John.Rambo.2008.EXTENDED.German.Dubbed.DTSHD.DL.2160p.UHD.BluRay.HDR.HEVC.Remux-NIMA4K.mkv": Container: MKV, Size: 40642467718, Video Bitrate: 54580892, Video Tracks: 1, Video Codec: h265, Duration: 1:39:17.025, Video Resolution: 3840 x 2160, Display Aspect Ratio: 16:9, Frame Rate: 23.976, Frame Rate Mode: CFR (CFR), Frame Rate Mode Raw: CFR, Matrix Coefficients: BT.2020 non-constant, Video Bit Depth: 10, File Title from Metadata: Rambo Extended 4K, Audio Tracks: 4 [Id: 0, Language Code: ger, Audio Track Title From Metadata: Deutsch DTS-HD MA 7.1 (Mixed by asterixi - Max. Dyn.), Audio Codec: DTS HD, Bitrate: 3018295, Channels: 8, Sample Frequency: 48000 Hz], [Id: 1, Language Code: ger, Audio Track Title From Metadata: Deutsch DTS-HD MA 7.1 (Mixed by asterixi), Audio Codec: DTS HD, Bitrate: 3131004, Channels: 8, Sample Frequency: 48000 Hz], [Id: 2, Language Code: eng, Audio Track Title From Metadata: English TrueHD Atmos 7.1 (UHD Blu-ray), Audio Codec: TrueHD, Bitrate: 5670790, Channels: 8, Sample Frequency: 48000 Hz], [Id: 3, Language Code: eng, Audio Track Title From Metadata: English Dolby Digital 5.1 (UHD Blu-ray), Audio Codec: AC3, Bitrate: 640000, Channels: 6, Sample Frequency: 48000 Hz], Subtitle Tracks: 5 [Embedded, id: 0, type: SUBRIP, subtitles track title from metadata: Deutsch Forced (SRT), lang: ger], [Embedded, id: 1, type: VOBSUB, subtitles track title from metadata: Deutsch Forced (VobSub), lang: ger], [Embedded, id: 2, type: PGS, subtitles track title from metadata: Deutsch Forced (PGS), lang: ger], [Embedded, id: 3, type: VOBSUB, subtitles track title from metadata: English SDH (VobSub), lang: eng], [Embedded, id: 4, type: PGS, subtitles track title from metadata: English SDH (PGS), lang: eng], Mime Type: video/x-matroska

    
So, what now ? Is there no tutorial for this ?
Regarding dtshd and dts, I took them from the defaultrenderer.conf.

Code: Select all

#    dts      Digital Theater Systems                       audio/vnd.dts
#    dtshd    Digital Theater Systems (HD)                  audio/vnd.dts.hd
The TV I'm using is a LG B8.

EDIT:
I solved all problems by adding disable_transcoding = true.
So now all files are played without me having to enter the # transcode # folder and without having to always read the log files. Such a much more comfortable solution !
Jonski75`
Posts: 1
Joined: Wed Apr 15, 2020 7:35 am

Re: [Solved] Playback 4K in LG TV

Post by Jonski75` »

Hi

I wonder if you can help me, where you say to add " disable_transcoding = true" is that to the bottom of the UMS configuration file in General Settings tab? Is that all I have to add or do I have to add one of the other configs posted here? This is for an OLED65C9 and UMS 9.4.1

My kids are doing my head in about this so any help would be greatly apprciated.

Many thanks

Kind reagrds

Jon
azraraktar
Posts: 5
Joined: Sun Jan 05, 2020 2:43 am

Re: [Solved] Playback 4K in LG TV

Post by azraraktar »

Jonski75` wrote: Wed Apr 15, 2020 7:43 am Hi

I wonder if you can help me, where you say to add " disable_transcoding = true" is that to the bottom of the UMS configuration file in General Settings tab? Is that all I have to add or do I have to add one of the other configs posted here? This is for an OLED65C9 and UMS 9.4.1

My kids are doing my head in about this so any help would be greatly apprciated.

Many thanks

Kind reagrds

Jon
Hi mate,
sorry for answering so late.
I added the disable_transcoding = true to the LG_webos config file we were talking about here :)
binzoman
Posts: 2
Joined: Fri Jun 19, 2020 1:24 am

Re: [Solved] Playback 4K in LG TV

Post by binzoman »

I wanted to know if native WebOS media player on LG tvs, support streaming of movies with EXTERNAL subtitles present in folder where the movie is - via DLNA only embedded ones seems to be working can i do it with UMS?
shyh
Posts: 3
Joined: Sun Mar 14, 2021 6:34 pm

Re: [Solved] Playback 4K in LG TV

Post by shyh »

had similar issue with the new default lg-oled.conf, playing 10bit HDR files
adding

Code: Select all

SupportedVideoBitDepths = 8,10
and
modifying the MKV line to

Code: Select all

Supported = f:mkv       v:av1|h264|h265|mp4|mpeg2|vp8|vp9   a:aac-lc|he-aac|ac3|dts|eac3|lpcm|mp3|mpa               si:ASS|SUBRIP   m:video/x-matroska vbd:8|10

fixed the issue
Post Reply