Page 1 of 2

LG tv can't play files unless transcode 'no transcoding' selected!

Posted: Wed Oct 28, 2020 11:54 pm
by dj7774
Hi,

This isn't really a big problem but it's been bugging me for a while. Whenever I try to stream content from my UMS to my TV, if the file is a certain type (such as .mkv), the TV says unsupported file type, cannot play the media. However if I go into the transcode folder and select 'transcode - NO transcoding', it plays fine.

Is there any way you can setup UMS so I don't have to transcode 'no transcoding' and files just play?

Re: LG tv can't play files unless transcode 'no transcoding' selected!

Posted: Sun Nov 08, 2020 10:03 pm
by openeye86
Hello, I have the same issue. For some reason it gives me this error message in the logs:

Code: Select all

4] net.pms.formats.FormatFactory Matched format MKV to "E:\media\movies\Bohemian Rhapsody (2018)\Bohemian Rhapsody (2018) 2160p Atmos.mkv"
TRACE 2020-11-08 10:47:25.187 [HTTPv2 Request Worker 4] net.pms.formats.FormatFactory Could not match any format to "E:\media\movies\Bohemian Rhapsody (2018)\movie.nfo"
TRACE 2020-11-08 10:47:25.189 [HTTPv2 Request Worker 4] net.pms.formats.FormatFactory Matched format MKV to "E:\media\movies\Bohemian Rhapsody (2018)\Bohemian Rhapsody (2018) 2160p Atmos.mkv"
DEBUG 2020-11-08 10:47:25.199 [FFmpeg Thumbnail Failsafe] net.pms.io.ProcessWrapperImpl Stopping process: ffmpeg64.exe-2744
TRACE 2020-11-08 10:47:25.209 [HTTPv2 Request Worker 4] net.pms.dlna.DLNAResource Adding new child "Bohemian Rhapsody (2018) 2160p Atmos.mkv" with class "RealFile"
TRACE 2020-11-08 10:47:25.210 [HTTPv2 Request Worker 4] net.pms.dlna.DLNAResource Looking for an audio track with language "eng" for "Bohemian Rhapsody (2018) 2160p Atmos.mkv"
TRACE 2020-11-08 10:47:25.210 [HTTPv2 Request Worker 4] net.pms.dlna.DLNAResource Matched audio track: Id: 0, Language Code: eng, Audio Codec: TrueHD, Bitrate: 4610533, Channels: 8, Sample Frequency: 48000 Hz
TRACE 2020-11-08 10:47:25.210 [HTTPv2 Request Worker 4] net.pms.dlna.DLNAResource Searching for a match for audio language "eng" with audio "eng" and subtitles "off" for "Bohemian Rhapsody (2018) 2160p Atmos.mkv"
TRACE 2020-11-08 10:47:25.210 [HTTPv2 Request Worker 4] net.pms.dlna.DLNAResource Disabling subtitles because we matched "off" and no externalsubtitles candidates were found, returning null for "Bohemian Rhapsody (2018) 2160p Atmos.mkv"
TRACE 2020-11-08 10:47:25.210 [HTTPv2 Request Worker 4] net.pms.formats.FormatFactory Getting player for resource "Bohemian Rhapsody (2018) 2160p Atmos.mkv"
TRACE 2020-11-08 10:47:25.210 [HTTPv2 Request Worker 4] net.pms.formats.FormatFactory Returning compatible player "FFmpeg Video"
TRACE 2020-11-08 10:47:25.210 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:avi         v:h264|mjpeg|mp4|xvid             a:aac-lc|he-aac|ac3|dts|mp3|mpa            m:video/avi
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Audio codec "truehd" failed to match support line f:mkv         v:h264|h265|mp4|mpeg2|vp8|vp9     a:aac-lc|he-aac|ac3|dts|mp3|mpa|vorbis     m:video/x-matroska
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mov         v:h264|h265|mp4                   a:aac-lc|he-aac                            m:video/quicktime
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mp4|m4v     v:h264|mp4                        a:aac-lc|he-aac                            m:video/mp4
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mpegps      v:mpeg1|mpeg2                     a:ac3|lpcm|mpa                             m:video/mpeg
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mpegts      v:h264|h265|mpeg2                 a:aac-lc|he-aac|ac3|dts|eac3               m:video/mpeg
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:wmv|asf     v:wmv|vc1                         a:wma                                      m:video/x-ms-wmv
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mp3   m:audio/mpeg
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:oga   m:audio/ogg
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:wav   m:audio/L16
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:wma   m:audio/x-ms-wma
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:avi         v:h264|mjpeg|mp4|xvid             a:aac-lc|he-aac|ac3|dts|mp3|mpa            m:video/avi
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Matched support line f:mkv         v:h264|h265|mp4|mpeg2|vp8|vp9     a:aac-lc|he-aac|ac3|dts|mp3|mpa|vorbis     m:video/x-matroska
DEBUG 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.ConfigurationReader Reading encoded_audio_passthrough: true (default: false)
DEBUG 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.dlna.DLNAResource File "Bohemian Rhapsody (2018) 2160p Atmos.mkv" will not be streamed because the resolution is incompatible with the renderer.
DEBUG 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.dlna.DLNAResource Final verdict: "Bohemian Rhapsody (2018) 2160p Atmos.mkv" will be transcoded with player "FFmpeg Video" with mime type "video/x-matroska"
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:avi         v:h264|mjpeg|mp4|xvid             a:aac-lc|he-aac|ac3|dts|mp3|mpa            m:video/avi
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Audio codec "truehd" failed to match support line f:mkv         v:h264|h265|mp4|mpeg2|vp8|vp9     a:aac-lc|he-aac|ac3|dts|mp3|mpa|vorbis     m:video/x-matroska
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mov         v:h264|h265|mp4                   a:aac-lc|he-aac                            m:video/quicktime
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mp4|m4v     v:h264|mp4                        a:aac-lc|he-aac                            m:video/mp4
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mpegps      v:mpeg1|mpeg2                     a:ac3|lpcm|mpa                             m:video/mpeg
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mpegts      v:h264|h265|mpeg2                 a:aac-lc|he-aac|ac3|dts|eac3               m:video/mpeg
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:wmv|asf     v:wmv|vc1                         a:wma                                      m:video/x-ms-wmv
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mp3   m:audio/mpeg
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:oga   m:audio/ogg
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:wav   m:audio/L16
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:wma   m:audio/x-ms-wma
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:avi         v:h264|mjpeg|mp4|xvid             a:aac-lc|he-aac|ac3|dts|mp3|mpa            m:video/avi
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.configuration.FormatConfiguration Matched support line f:mkv         v:h264|h265|mp4|mpeg2|vp8|vp9     a:aac-lc|he-aac|ac3|dts|mp3|mpa|vorbis     m:video/x-matroska
TRACE 2020-11-08 10:47:25.211 [HTTPv2 Request Worker 4] net.pms.dlna.DLNAResource File "Bohemian Rhapsody (2018) 2160p Atmos.mkv" will be sent with MIME type "video/x-matroska"
TRACE 2020-11-08 10:47:25.212 [HTTPv2 Request Worker 4] net.pms.dlna.DLNAResource Adding "Bohemian Rhapsody (2018) 2160p Atmos.mkv" to transcode folder for player: "FFmpeg Video"
It seems it looks for the correct file extention, failes and then decides to convert it anyway.
Can I add file extentions?

Re: LG tv can't play files unless transcode 'no transcoding' selected!

Posted: Sun Nov 08, 2020 10:06 pm
by openeye86
ums_dbg_2020-11-08-18-26.zip
(4.01 MiB) Downloaded 712 times
It seems that there is an issue with not finding the file type:

Code: Select all

TPv2 Request Worker 3] net.pms.dlna.DLNAResource Disabling subtitles because we matched "off" and no externalsubtitles candidates were found, returning null for "Bohemian Rhapsody (2018) 2160p Atmos.mkv"
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.formats.FormatFactory Getting player for resource "Bohemian Rhapsody (2018) 2160p Atmos.mkv"
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.formats.FormatFactory Returning compatible player "FFmpeg Video"
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:avi         v:h264|mjpeg|mp4|xvid             a:aac-lc|he-aac|ac3|dts|mp3|mpa            m:video/avi
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Audio codec "truehd" failed to match support line f:mkv         v:h264|h265|mp4|mpeg2|vp8|vp9     a:aac-lc|he-aac|ac3|dts|mp3|mpa|vorbis     m:video/x-matroska
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mov         v:h264|h265|mp4                   a:aac-lc|he-aac                            m:video/quicktime
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mp4|m4v     v:h264|mp4                        a:aac-lc|he-aac                            m:video/mp4
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mpegps      v:mpeg1|mpeg2                     a:ac3|lpcm|mpa                             m:video/mpeg
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mpegts      v:h264|h265|mpeg2                 a:aac-lc|he-aac|ac3|dts|eac3               m:video/mpeg
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:wmv|asf     v:wmv|vc1                         a:wma                                      m:video/x-ms-wmv
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:mp3   m:audio/mpeg
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:oga   m:audio/ogg
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:wav   m:audio/L16
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:wma   m:audio/x-ms-wma
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Format "mkv" failed to match supported line f:avi         v:h264|mjpeg|mp4|xvid             a:aac-lc|he-aac|ac3|dts|mp3|mpa            m:video/avi
TRACE 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.configuration.FormatConfiguration Matched support line f:mkv         v:h264|h265|mp4|mpeg2|vp8|vp9     a:aac-lc|he-aac|ac3|dts|mp3|mpa|vorbis     m:video/x-matroska
DEBUG 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.dlna.DLNAResource File "Bohemian Rhapsody (2018) 2160p Atmos.mkv" will not be streamed because the resolution is incompatible with the renderer.
DEBUG 2020-11-08 10:58:36.312 [HTTPv2 Request Worker 3] net.pms.dlna.DLNAResource Final verdict: "Bohemian Rhapsody (2018) 2160p Atmos.mkv" will be transcoded with player "FFmpeg Video" with mime type "video/x-matroska"
Here I got the zip with the logs like requested;

Re: LG tv can't play files unless transcode 'no transcoding' selected!

Posted: Mon Nov 09, 2020 1:41 am
by valib
Just add

Code: Select all

truehd
to the line

Code: Select all

Supported = f:mkv         v:h264|h265|mp4|mpeg2|vp8|vp9     a:aac-lc|he-aac|ac3|dts|mp3|mpa|vorbis     m:video/x-matroska
in the LG-WEBOS.conf
The line will be

Code: Select all

Supported = f:mkv         v:h264|h265|mp4|mpeg2|vp8|vp9     a:aac-lc|he-aac|ac3|dts|mp3|mpa|vorbis|truehd     m:video/x-matroska
Also add lines

Code: Select all

MaxVideoWidth = 3840
MaxVideoHeight = 1260

Re: LG tv can't play files unless transcode 'no transcoding' selected!

Posted: Tue Nov 10, 2020 2:42 am
by openeye86
Thank you, but it seems it is not solved when added that info :
ums_dbg_2020-11-09-10-58.zip
(746.52 KiB) Downloaded 836 times

Re: LG tv can't play files unless transcode 'no transcoding' selected!

Posted: Sat Nov 14, 2020 1:51 am
by openeye86
Any feedback?

Re: LG tv can't play files unless transcode 'no transcoding' selected!

Posted: Sat Nov 14, 2020 9:42 am
by valib
cesedy thanks. Yes it was my mistyping.

Re: LG tv can't play files unless transcode 'no transcoding' selected!

Posted: Sat Nov 14, 2020 11:37 pm
by openeye86
Thank you, I will try, but currently UMS is acting up. It gives me error messages that the DB server is already busy?
Image
ums_dbg_2020-11-14-12-30.zip
(185.15 KiB) Downloaded 804 times

Re: LG tv can't play files unless transcode 'no transcoding' selected!

Posted: Mon Nov 16, 2020 6:28 am
by openeye86
Hello again,

After the feedback did not work, I checked the manual of the TV ([LG] webOS TV UH603V) to see which formats are supported.

In attachment (change to RTF to make it more readable)
New Rich Text Document.txt
(3.6 KiB) Downloaded 657 times
or this is the link on the LG webpage: http://kr.eguide.lgappstv.com/manual/w1 ... share.html

Code: Select all

Supported video codecs
Extension 	Codec
.asf
.wmv 	Video 	VC-1 Advanced Profile (except for WMVA), VC-1 Simple and Main Profiles
Audio 	WMA Standard (except for WMA v1/ WMA Speech)
.avi 	Video 	Xvid (except for 3 warp-point GMC), H.264/AVC, Motion Jpeg, MPEG-4
Audio 	MPEG-1 Layer I, II, MPEG-1 Layer III (MP3), Dolby Digital, LPCM, ADPCM, DTS
.mp4
.m4v
.mov 	Video 	H.264/AVC, MPEG-4, HEVC
Audio 	Dolby Digital, Dolby Digital Plus, AAC, MPEG-1 Layer III (MP3)
.3gp
.3g2 	Video 	H.264/AVC, MPEG-4
Audio 	AAC, AMR-NB, AMR-WB
.mkv 	Video 	MPEG-2, MPEG-4, H.264/AVC, VP8, VP9, HEVC
Audio 	Dolby Digital, Dolby Digital Plus, AAC, PCM, DTS, MPEG-1 Layer I, II, MPEG-1 Layer III (MP3)
.ts
.trp
.tp
.mts 	Video 	H.264/AVC, MPEG-2, HEVC
Audio 	MPEG-1 Layer I, II, MPEG-1 Layer III (MP3), Dolby Digital, Dolby Digital Plus, AAC, PCM
.mpg
.mpeg
.dat 	Video 	MPEG-1, MPEG-2
Audio 	MPEG-1 Layer I, II, MPEG-1 Layer III (MP3)
.vob 	Video 	MPEG-1, MPEG-2
Audio 	Dolby Digital, MPEG-1 Layer I, II, DVD-LPCM
.rm
.rmvb 	Video 	RV30, RV40
Audio 	Realaudio6 (cook), AAC LC, HE-AAC
.rm, .rmvb: Only available in certain countries.
I have putting these into the render file, but some containers are not located into the defaultrenderer.conf file and I cant find the mime type online.

Code: Select all

.trp
.tp
.rm
.rmvb
And I created this config file, but I am not sure how to add it to UMS because when I changed it, restarted UMS, it asked my to recreate a config file?

This is the config file I created