Conf Files Tutorial
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
-
- Posts: 20
- Joined: Wed Jun 06, 2018 6:59 am
Conf Files Tutorial
Can you guys make a quick tutorial how to edit, and what to add to the conf files for transcoding?
Valib helped me on the last file, but I'd like to do it on my on.
This is the file that doesnt work outside of the no transcode folder.

And these are my transcode options.
What should I add? and where to looking for it?
Valib helped me on the last file, but I'd like to do it on my on.
This is the file that doesnt work outside of the no transcode folder.

And these are my transcode options.
What should I add? and where to looking for it?
Code: Select all
H264Level41Limited = false
DefaultVBVBufSize = true
SeekByTime = true
ChunkedTransfer = true
MediaInfo = true
MaxVideoWidth = 3840
MaxVideoHeight = 2160
SupportedVideoBitDepths = 8,10
# Supported video formats:
Supported = f:avi v:h264|mjpeg|mp4|xvid a:aac-lc|he-aac|ac3|dts|mp3|mpa m:video/avi
Supported = f:mkv v:h264|h265|mp4|mpeg2|vp8|vp9 a:aac-lc|he-aac|ac3|dts|mp3|mpa|vorbis m:video/x-matroska
Supported = f:mov v:h264|h265|mp4 a:aac-lc|he-aac m:video/quicktime
Supported = f:mp4|m4v v:h264|mp4 a:aac-lc|he-aac m:video/mp4
Supported = f:mpegps v:mpeg1|mpeg2 a:ac3|lpcm|mpa m:video/mpeg
Supported = f:mpegts v:h264|mpeg2|h265 a:aac-lc|he-aac|ac3|dts|eac3 m:video/mpeg
Supported = f:wmv|asf v:wmv|vc1 a:wma m:video/x-ms-wmv
# Supported audio formats:
Supported = f:mp3 m:audio/mpeg
Supported = f:oga m:audio/ogg
Supported = f:wav m:audio/L16
Supported = f:wma m:audio/x-ms-wma
Re: Conf Files Tutorial
The clue gives you the log. You can found e.g. for the MKV format and you see that the Audio codec "dtshd" failed to match support line and some lines after that So if there is no other reason like internal or internal subs not supported by renderer than you should add "dtshd" to the audio part of the support line. The same apply to the video codecs.
As I see from your picture there is "1 Audio stream: E-AC-3" so in the log you should find
How to continue I already described. The list of supported codecs and formats tags you can find in the DefaultRenderer.conf
Code: Select all
[HTTPv2 Request Worker 1] net.pms.configuration.FormatConfiguration Audio codec "dtshd" failed to match support line f:mkv v:h264 a:aac-lc|ac3|mp3 m:video/x-matroska
Code: Select all
[HTTPv2 Request Worker 1] net.pms.dlna.DLNAResource File "xxxxxx.mkv" will not be streamed because it is not supported by the renderer
As I see from your picture there is "1 Audio stream: E-AC-3" so in the log you should find
Code: Select all
[HTTPv2 Request Worker 1] net.pms.configuration.FormatConfiguration Audio codec "eac3" failed to match support line f:mkv v:h264 a:aac-lc|ac3|mp3 m:video/x-matroska
-
- Posts: 20
- Joined: Wed Jun 06, 2018 6:59 am
Re: Conf Files Tutorial
Let's see if I get it.
This is the thing I should be lookin at:
Looking at here
I can see the file will be played but the audio is not recnogized, so i need to add eac3 to the renderer
Is this all? Am I close to understanding it?
This is the thing I should be lookin at:
Code: Select all
Getting player for resource "The.100.S05E06.Exit.Wounds.1080p.AMZN.WEB-DL.DD+5.1.H.264-CasStudio.mkv"
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Returning compatible player "FFmpeg"
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] 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 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Audio codec "eac3" 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 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:mov v:h264|h265|mp4 a:aac-lc|he-aac m:video/quicktime
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:mp4|m4v v:h264|mp4 a:aac-lc|he-aac m:video/mp4
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:mpegps v:mpeg1|mpeg2 a:ac3|lpcm|mpa m:video/mpeg
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:mpegts v:h264|mpeg2|h265 a:aac-lc|he-aac|ac3|dts|eac3 m:video/mpeg
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:wmv|asf v:wmv|vc1 a:wma m:video/x-ms-wmv
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:mp3 m:audio/mpeg
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:oga m:audio/ogg
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:wav m:audio/L16
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:wma m:audio/x-ms-wma
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] File "The.100.S05E06.Exit.Wounds.1080p.AMZN.WEB-DL.DD+5.1.H.264-CasStudio.mkv" will not be streamed because it is not supported by the renderer
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mpegps" 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 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mpegps" failed to match supported 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 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mpegps" failed to match supported line f:mov v:h264|h265|mp4 a:aac-lc|he-aac m:video/quicktime
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mpegps" failed to match supported line f:mp4|m4v v:h264|mp4 a:aac-lc|he-aac m:video/mp4
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Matched support line f:mpegps v:mpeg1|mpeg2 a:ac3|lpcm|mpa m:video/mpeg
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Final verdict: "The.100.S05E06.Exit.Wounds.1080p.AMZN.WEB-DL.DD+5.1.H.264-CasStudio.mkv" will be transcoded with player "FFmpeg" with mime type "video/mpeg"
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] 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 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Audio codec "eac3" 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 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:mov v:h264|h265|mp4 a:aac-lc|he-aac m:video/quicktime
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:mp4|m4v v:h264|mp4 a:aac-lc|he-aac m:video/mp4
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:mpegps v:mpeg1|mpeg2 a:ac3|lpcm|mpa m:video/mpeg
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:mpegts v:h264|mpeg2|h265 a:aac-lc|he-aac|ac3|dts|eac3 m:video/mpeg
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:wmv|asf v:wmv|vc1 a:wma m:video/x-ms-wmv
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:mp3 m:audio/mpeg
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:oga m:audio/ogg
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:wav m:audio/L16
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Format "mkv" failed to match supported line f:wma m:audio/x-ms-wma
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Adding "The.100.S05E06.Exit.Wounds.1080p.AMZN.WEB-DL.DD+5.1.H.264-CasStudio.mkv" to transcode folder for player: "FFmpeg"
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Adding new child "The.100.S05E06.Exit.Wounds.1080p.AMZN.WEB-DL.DD+5.1.H.264-CasStudio {Sub:SubRip/Portuguese}" with class "FileTranscodeVirtualFolder"
TRACE 2018-06-12 21:07:30.124 [HTTPv2 Request Worker 7] Matched format SubRip to "D:\Filmes\The.100.S05E06.Exit.Wounds.1080p.AMZN.WEBRip.DDP5.1.x264-CasStudio[rarbg]\The.100.S05E06.Exit.Wounds.1080p.AMZN.WEB-DL.DD+5.1.H.264-CasStudio.srt"
TRACE 2018-06-12 21:07:30.124 [HTTPv2 Request Worker 7] Matched format TXT to "D:\Filmes\The.100.S05E06.Exit.Wounds.1080p.AMZN.WEBRip.DDP5.1.x264-CasStudio[rarbg]\RARBG.txt"
TRACE 2018-06-12 21:07:30.126 [HTTPv2 Request Worker 7] End of analysis for D:\Filmes\The.100.S05E06.Exit.Wounds.1080p.AMZN.WEBRip.DDP5.1.x264-CasStudio[rarbg]
TRACE 2018-06-12 21:07:30.126 [HTTPv2 Request Worker 7] Not setting subsAreValidForStreaming and it is false for The.100.S05E06.Exit.Wounds.1080p.AMZN.WEB-DL.DD+5.1.H.264-CasStudio.mkv
TRACE 2018-06-12 21:07:30.126 [HTTPv2 Request Worker 7] Format "mpegps" 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 2018-06-12 21:07:30.126 [HTTPv2 Request Worker 7] Format "mpegps" failed to match supported 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 2018-06-12 21:07:30.126 [HTTPv2 Request Worker 7] Format "mpegps" failed to match supported line f:mov v:h264|h265|mp4 a:aac-lc|he-aac m:video/quicktime
TRACE 2018-06-12 21:07:30.126 [HTTPv2 Request Worker 7] Format "mpegps" failed to match supported line f:mp4|m4v v:h264|mp4 a:aac-lc|he-aac m:video/mp4
TRACE 2018-06-12 21:07:30.126 [HTTPv2 Request Worker 7] Matched support line f:mpegps v:mpeg1|mpeg2 a:ac3|lpcm|mpa m:video/mpeg
TRACE 2018-06-12 21:07:30.126 [HTTPv2 Request Worker 7] Format "mpegps" 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 2018-06-12 21:07:30.126 [HTTPv2 Request Worker 7] Format "mpegps" failed to match supported 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 2018-06-12 21:07:30.127 [HTTPv2 Request Worker 7] Format "mpegps" failed to match supported line f:mov v:h264|h265|mp4 a:aac-lc|he-aac m:video/quicktime
TRACE 2018-06-12 21:07:30.127 [HTTPv2 Request Worker 7] Format "mpegps" failed to match supported line f:mp4|m4v v:h264|mp4 a:aac-lc|he-aac m:video/mp4
TRACE 2018-06-12 21:07:30.127 [HTTPv2 Request Worker 7] Matched support line f:mpegps v:mpeg1|mpeg2 a:ac3|lpcm|mpa m:video/mpeg
TRACE 2018-06-12 21:07:30.127 [HTTPv2 Request Worker 7] Network debugger: "The.100.S05E06.Exit.Wounds.1080p.AMZN.WEB-DL.DD+5.1.H.264-CasStudio" http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL;DLNA.ORG_OP=11 duration=0:42:24.000 http://192.168.1.7:5001/get/116/The.100.S05E06.Exit.Wounds.1080p.AMZN.WEB-DL.DD%2B5.1.H.264-CasStudio.mkv_transcoded_to.mpg
TRACE 2018-06-12 21:07:30.129 [HTTPv2 Request Worker 7] Response sent to [LG] webOS TV UH770V [LG WebOS TV]:
Code: Select all
Matched support line f:mpegps v:mpeg1|mpeg2 a:ac3|lpcm|mpa m:video/mpeg
Final verdict: "The.100.S05E06.Exit.Wounds.1080p.AMZN.WEB-DL.DD+5.1.H.264-CasStudio.mkv" will be transcoded with player "FFmpeg" with mime type "video/mpeg"
Audio codec "eac3" 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
Code: Select all
Supported = f:mpegps v:mpeg1|mpeg2 a:ac3|lpcm|mpa|eac3 m:video/mpeg
Supported = f:mpegts v:h264|mpeg2|h265 a:aac-lc|he-aac|ac3|dts|eac3 m:video/mpeg
Re: Conf Files Tutorial
From what I can see from the log, the file is a MKV. The matching attempts you see in the log is first for the file without transcoding (the "mkv" match attempts). Then when it has decided to transcode, it also checks if the transcoded format is supported - which is when you get the "mpegts" match attempts. The latter match attempts are thus of no real interest, it's not the "supported line" for mpegps/ts you need to modify, it's the one for mkv. When the file has been transcoded to mpegps, the audio has also been transcoded so it's no longer EAC3 anyway 
The result when you add "eac3" as a supported audio codec in MKVs for your renderer is that UMS will send the file as it is. Whether this will result in success of failure depends on whether the renderer can actually handle this format/codec combination, so the file might fail to play after you do this.

The result when you add "eac3" as a supported audio codec in MKVs for your renderer is that UMS will send the file as it is. Whether this will result in success of failure depends on whether the renderer can actually handle this format/codec combination, so the file might fail to play after you do this.
-
- Posts: 20
- Joined: Wed Jun 06, 2018 6:59 am
Re: Conf Files Tutorial
So seeing that the MKV is not supported what do I need to add to the conf file?
Re: Conf Files Tutorial
If your TV supports MKV with EAC-3, you should add "eac3" to the "a:" part of the supported line where "f:" is "mkv". If your TV doesn't support it, you must leave it as it is so that the file is transcoded.
The line in question is the one referred by this log line:
The line in question is the one referred by this log line:
Code: Select all
TRACE 2018-06-12 21:07:30.123 [HTTPv2 Request Worker 7] Audio codec "eac3" 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
-
- Posts: 20
- Joined: Wed Jun 06, 2018 6:59 am
Re: Conf Files Tutorial
Code: Select all
Supported = f:mkv v:h264|h265|mp4|mpeg2|vp8|vp9 a:aac-lc|he-aac|ac3|dts|mp3|mpa|vorbis|eac3 m:video/x-matroska
Re: Conf Files Tutorial
It seems correct to me.
-
- Posts: 20
- Joined: Wed Jun 06, 2018 6:59 am
Re: Conf Files Tutorial
Theres my Con file, update so you can update your next release.
- Attachments
-
LG-WebOS.conf
- (2.41 KiB) Downloaded 588 times