Disabling subtitle enconding

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
Ralms
Posts: 6
Joined: Mon Aug 31, 2015 12:40 pm

Disabling subtitle enconding

Post by Ralms »

Hi there,

I started using UMS recently and so far Im happy about it.
Now Im having the same issue as in EVERY DNLA server I try that it just insists on encoding the video to put subtitles.
My device supports subtitles and Im having a hard time to force UMS to use external subtitles.

Conf file:

Code: Select all

RendererName = LG-HTS
UserAgentSearch = 

LoadingPriority = 1

MediaInfo = true
TranscodeAudio = false
MaxVideoBitrateMbps = 50
TranscodedVideoFileSize = -1
StreamExtensions = asf,wmv,avi,divx,mp4,m4v,mov,3gp,3g2,mkv,ts,trp,tp,mts,m2ts,vob,mpg,mpeg,mp3,jpg,jpeg,jpe,jps,mpo
AutoExifRotate = true
SupportedExternalSubtitlesFormats = SUBRIP,srt
SupportedInternalSubtitlesFormats = SUBRIP,srt
Debug log:

Code: Select all

DEBUG 22:43:50.227 [New I/O worker #4] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:43:51.915 [New I/O worker #1] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:43:51.915 [New I/O worker #1] Reading disable_transcode_for_extensions: "mkv" (default: "")
DEBUG 22:43:51.915 [New I/O worker #1] Reading StreamExtensions: "asf,wmv,avi,divx,mp4,m4v,mov,3gp,3g2,mkv,ts,trp,tp,mts,m2ts,vob,mpg,mpeg,mp3,jpg,jpeg,jpe,jps,mpo" (default: "")
DEBUG 22:43:51.915 [New I/O worker #1] Reading MaxVideoBitrateMbps: "50" (default: "0")
DEBUG 22:43:52.009 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.134 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.181 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.196 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.227 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.243 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.259 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.259 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.290 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.290 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.306 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.321 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.337 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.337 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.352 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.368 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.384 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.384 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.399 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.415 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.415 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.431 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.446 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.446 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.462 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.477 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.477 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.493 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.509 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.509 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.524 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.524 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.540 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.556 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.556 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 22:43:52.571 [New I/O worker #1] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 22:43:52.587 [New I/O worker #1] Reading TranscodedVideoFileSize: -1 (default: 0)
DEBUG 22:43:52.602 [New I/O worker #2] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:43:55.212 [New I/O worker #3] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:43:55.228 [New I/O worker #4] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:43:55.243 [New I/O worker #1] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:43:55.243 [New I/O worker #2] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:43:55.259 [New I/O worker #2] Starting transcode/remux of Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv with media info: container: mkv, bitrate: 3685451, size: 1761070441, video tracks: 1, audio tracks: 1, subtitle tracks: 2, video codec: h264, duration: 01:03:42.00, width: 1280, height: 720, frame rate: , thumb size: 2026, mime type: video/x-matroska, matrix coefficients: BT.709, attached fonts: false
	Audio track id: 0, lang: und, audio codec: AC3, sample frequency:48000, number of channels: 6, bits per sample: 16
	Subtitle track id: 100, type: SUBRIP, lang: en, externalFile: E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt, external file character set: UTF-8
	Subtitle track id: 101, type: SUBRIP, lang: pt, externalFile: E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt, external file character set: UTF-8
DEBUG 22:43:55.259 [New I/O worker #3] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:43:55.259 [New I/O worker #2] Reading maximum_bitrate: "0" (default: "90")
DEBUG 22:43:55.259 [New I/O worker #2] Creating pipe \\.\pipe\ffmpegvideo_63_1440971035259
DEBUG 22:43:55.274 [New I/O worker #4] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:43:55.274 [Thread-22] Waiting for pipe connection \\.\pipe\ffmpegvideo_63_1440971035259
DEBUG 22:43:55.274 [New I/O worker #1] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:43:55.587 [ffmpeg64.exe-2] Starting C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe -y -loglevel fatal -i E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv -filter_complex subtitles=E\\:/DNLA/Series/Fear the Walking Dead/Season 1/Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt:1280x720 -bufsize 7000000 -maxrate 24000000 -g 25 -qmax 5 -qmin 2 -c:a copy -c:v mpeg2video -f vob \\.\pipe\ffmpegvideo_63_1440971035259
DEBUG 22:43:55.587 [ffmpeg64.exe-2] Reading pipe: \\.\pipe\ffmpegvideo_63_1440971035259
DEBUG 22:43:55.618 [ffmpeg64.exe-2] Attaching thread: ffmpeg64.exe-2
DEBUG 22:43:55.837 [Thread-22] Result of \\.\pipe\ffmpegvideo_63_1440971035259 : true
DEBUG 22:43:58.306 [StartPlaying Event] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:43:58.306 [New I/O worker #2] Matched media renderer "LG-HTS" based on address /10.20.10.140
INFO  22:43:58.306 [StartPlaying Event] Started playing Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv on your LG-HTS
DEBUG 22:43:58.321 [StartPlaying Event] The full filename of which is: E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv and the address of the renderer is: 10.20.10.140
DEBUG 22:44:05.806 [New I/O worker #2] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 22:44:05.806 [New I/O worker #2] Premature end, stopping...
DEBUG 22:44:05.821 [New I/O worker #3] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:12.853 [New I/O worker #3] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 22:44:12.853 [New I/O worker #3] Premature end, stopping...
DEBUG 22:44:12.868 [New I/O worker #4] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:12.884 [New I/O worker #1] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:12.884 [New I/O worker #1] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 22:44:12.884 [New I/O worker #1] Premature end, stopping...
DEBUG 22:44:12.915 [New I/O worker #2] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:12.946 [New I/O worker #2] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 22:44:12.946 [New I/O worker #2] Premature end, stopping...
DEBUG 22:44:12.962 [New I/O worker #3] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:13.009 [New I/O worker #3] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 22:44:13.009 [New I/O worker #3] Premature end, stopping...
DEBUG 22:44:13.040 [New I/O worker #4] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:13.087 [New I/O worker #1] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:13.103 [New I/O worker #1] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 22:44:13.103 [New I/O worker #1] Premature end, stopping...
DEBUG 22:44:13.150 [New I/O worker #2] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:13.728 [New I/O worker #2] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 22:44:13.728 [New I/O worker #2] Premature end, stopping...
DEBUG 22:44:13.728 [New I/O worker #3] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:14.665 [New I/O worker #3] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 22:44:14.665 [New I/O worker #3] Premature end, stopping...
DEBUG 22:44:14.681 [New I/O worker #4] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:15.150 [New I/O worker #4] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 22:44:15.150 [New I/O worker #4] Premature end, stopping...
DEBUG 22:44:15.181 [New I/O worker #1] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:15.587 [New I/O worker #1] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 22:44:15.587 [New I/O worker #1] Premature end, stopping...
DEBUG 22:44:15.587 [New I/O worker #2] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:15.587 [New I/O worker #3] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:15.603 [New I/O worker #3] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 22:44:15.603 [New I/O worker #3] Premature end, stopping...
DEBUG 22:44:15.618 [ffmpeg64.exe-2-Cleanup] Stopping process: ffmpeg64.exe-2
DEBUG 22:44:15.681 [New I/O worker #4] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:15.681 [New I/O worker #4] Starting transcode/remux of Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv with media info: container: mkv, bitrate: 3685451, size: 1761070441, video tracks: 1, audio tracks: 1, subtitle tracks: 2, video codec: h264, duration: 01:03:42.00, width: 1280, height: 720, frame rate: , thumb size: 2026, mime type: video/x-matroska, matrix coefficients: BT.709, attached fonts: false
	Audio track id: 0, lang: und, audio codec: AC3, sample frequency:48000, number of channels: 6, bits per sample: 16
	Subtitle track id: 100, type: SUBRIP, lang: en, externalFile: E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt, external file character set: UTF-8
	Subtitle track id: 101, type: SUBRIP, lang: pt, externalFile: E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt, external file character set: UTF-8
DEBUG 22:44:15.681 [New I/O worker #4] Creating pipe \\.\pipe\ffmpegvideo_65_1440971055681
DEBUG 22:44:15.681 [Thread-28] Waiting for pipe connection \\.\pipe\ffmpegvideo_65_1440971055681
DEBUG 22:44:15.993 [ffmpeg64.exe-3] Starting C:\Program Files (x86)\Universal Media Server\win32\ffmpeg64.exe -y -loglevel fatal -i E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv -filter_complex subtitles=E\\:/DNLA/Series/Fear the Walking Dead/Season 1/Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt:1280x720 -bufsize 7000000 -maxrate 24000000 -g 25 -qmax 5 -qmin 2 -c:a copy -c:v mpeg2video -f vob \\.\pipe\ffmpegvideo_65_1440971055681
DEBUG 22:44:15.993 [ffmpeg64.exe-3] Reading pipe: \\.\pipe\ffmpegvideo_65_1440971055681
DEBUG 22:44:16.025 [ffmpeg64.exe-3] Attaching thread: ffmpeg64.exe-3
DEBUG 22:44:16.212 [Thread-28] Result of \\.\pipe\ffmpegvideo_65_1440971055681 : true
DEBUG 22:44:23.306 [cling-6] Ignoring device: MediaServer (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:31364213-8d62-68e9-9813-152ac035e8e0, Descriptor: http://10.20.10.130:32469/DeviceDescription.xml, Root: true
DEBUG 22:44:35.025 [New I/O worker #4] Connection error: java.io.IOException: An existing connection was forcibly closed by the remote host
DEBUG 22:44:35.025 [New I/O worker #4] Premature end, stopping...
DEBUG 22:44:35.353 [New I/O worker #1] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:37.384 [cling-10] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 22:44:37.384 [cling-10] Reading UpnpDetailsSearch: "LG Electronics , LG TV" (default: "")
DEBUG 22:44:37.384 [cling-10] Reading MediaInfo: true (default: false)
DEBUG 22:44:37.384 [cling-10] Marking upnp renderer "LG-HTS" at /10.20.10.140 as unrecognized
DEBUG 22:44:37.384 [cling-10] New renderer found: "LG-HTS" with dlna details: {friendlyName=LG-HTS, address=10.20.10.140, udn=uuid:140479c0-58f3-1cef-84bf-9893cc376412, manufacturer=LG Electronics, modelName=LG HTS, modelNumber=1.0, modelDescription=LG HTS, manufacturerURL=http://www.lg.com, modelURL=http://www.lg.com}
DEBUG 22:44:37.384 [cling-10] Adding device: urn:schemas-upnp-org:device:MediaRenderer:1 (RemoteDevice) Identity: (RemoteDeviceIdentity) UDN: uuid:140479c0-58f3-1cef-84bf-9893cc376412, Descriptor: http://10.20.10.140:2870/dmr.xml, Root: true
DEBUG 22:44:37.384 [cling-10] Subscribing to RenderingControl service on LG-HTS
DEBUG 22:44:37.384 [cling-10] Subscribing to ConnectionManager service on LG-HTS
DEBUG 22:44:37.384 [cling-10] Subscribing to AVTransport service on LG-HTS
DEBUG 22:44:37.447 [cling-11] Mute: 0
DEBUG 22:44:37.447 [cling-11] Volume: 2
DEBUG 22:44:37.447 [cling-11] PresetNameList: FactoryDefault
DEBUG 22:44:37.494 [cling-10] Subscription established: RenderingControl on LG-HTS
DEBUG 22:44:37.540 [ffmpeg64.exe-3-Cleanup] Stopping process: ffmpeg64.exe-3
Any ideas?

Using UMS 5.2.2 build 2015-08-13

Thank you.
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: Disabling subtitle enconding

Post by valib »

I recommend to use as a basic the LG-LS5700.conf and change the UserAgentSearch to match your TV. The .conf you provided doesn't work because you set

Code: Select all

MediaInfo = true
but you didn't specify any supported formats e.g.

Code: Select all

# Supported video formats:
Supported = f:avi|divx   v:divx|mjpeg             a:mpa|ac3|mp3       m:video/x-divx       gmc:0
Supported = f:flv        v:mp4|h264               a:mpa|ac3|mp3|aac   m:video/x-flv
Supported = f:mkv        v:mp4|h264               a:mpa|ac3|mp3|aac   m:video/x-matroska
so all videos are transcoded
Ralms
Posts: 6
Joined: Mon Aug 31, 2015 12:40 pm

Re: Disabling subtitle enconding

Post by Ralms »

valib wrote:I recommend to use as a basic the LG-LS5700.conf and change the UserAgentSearch to match your TV. The .conf you provided doesn't work because you set

Code: Select all

MediaInfo = true
but you didn't specify any supported formats e.g.

Code: Select all

# Supported video formats:
Supported = f:avi|divx   v:divx|mjpeg             a:mpa|ac3|mp3       m:video/x-divx       gmc:0
Supported = f:flv        v:mp4|h264               a:mpa|ac3|mp3|aac   m:video/x-flv
Supported = f:mkv        v:mp4|h264               a:mpa|ac3|mp3|aac   m:video/x-matroska
so all videos are transcoded
Hi there,

Thanks for the reply.

For some reason it started working without me doing anything. At first it was using the wrong .config file. But than it detected the device properly as "LG-HTS" (a BlueRay player) and asked to create a new one. Last night my friend used it and he told me that its now not transcoding anything and just sending the file with the subtitle. Still, I added those settings you told me so its works better I guess. Is there a place where we can know all the parameters for .config files?

Something I noticed though is that its only detecting 1 subtitle on my player instead of 2. On the debugg log its detecting both, but on the player only shows 1. I have them named the same as the file with .en.srt on 1 (the subtitle that gets pulled by default) and .pt.srt on the other that doesnt get loaded at all. Any idea on how to fix this?

Code: Select all

DEBUG 03:14:36.138 [New I/O worker #4] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:36.138 [New I/O worker #4] Matched media renderer "LG LA6200" based on headers {CONTENT-LENGTH=417, CONTENT-TYPE=text/xml; charset="utf-8", HOST=10.20.10.130:5001, SOAPACTION="urn:schemas-upnp-org:service:ContentDirectory:1#Browse", USER-AGENT=LG-HTS Linux/2.6.35 UPnP/1.0 DLNADOC/1.50 LGE_DLNA_SDK/1.5.0}
DEBUG 03:14:36.138 [New I/O worker #4] Finishing configuration for LG-HTS
DEBUG 03:14:36.138 [New I/O worker #4] Switching to higher priority renderer: LG LA6200
DEBUG 03:14:36.138 [New I/O worker #4] Reading MediaInfo: true (default: false)
DEBUG 03:14:36.138 [New I/O worker #4] Updating status button for LG-HTS
DEBUG 03:14:36.138 [New I/O worker #4] Matched media renderer "LG-HTS" based on headers {CONTENT-LENGTH=417, CONTENT-TYPE=text/xml; charset="utf-8", HOST=10.20.10.130:5001, SOAPACTION="urn:schemas-upnp-org:service:ContentDirectory:1#Browse", USER-AGENT=LG-HTS Linux/2.6.35 UPnP/1.0 DLNADOC/1.50 LGE_DLNA_SDK/1.5.0}
DEBUG 03:14:36.138 [New I/O worker #4] Reading RendererName: "LG LA6200" (default: "Unknown renderer")
DEBUG 03:14:36.138 [AWT-EventQueue-0] Reading RendererIcon: "lg-la6200.png" (default: "unknown.png")
DEBUG 03:14:36.154 [New I/O worker #4] master is internal:net.pms.dlna.RealFile str Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv>E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv
DEBUG 03:14:36.201 [New I/O worker #4] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 03:14:36.201 [New I/O worker #4] master is internal:net.pms.dlna.RealFile str Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv>E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv
DEBUG 03:14:36.201 [New I/O worker #4] master is internal:net.pms.dlna.RealFile str Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv>E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv
DEBUG 03:14:36.201 [New I/O worker #4] master is internal:net.pms.dlna.RealFile str Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv>E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv
DEBUG 03:14:36.201 [New I/O worker #4] master is internal:net.pms.dlna.RealFile str Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv>E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv
DEBUG 03:14:36.201 [New I/O worker #4] master is internal:net.pms.dlna.RealFile str Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv>E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv
DEBUG 03:14:36.201 [New I/O worker #4] master is internal:net.pms.dlna.RealFile str Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv>E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv
DEBUG 03:14:36.201 [New I/O worker #4] master is internal:net.pms.dlna.RealFile str Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv>E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv
DEBUG 03:14:36.201 [New I/O worker #4] master is internal:net.pms.dlna.RealFile str Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv>E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv
INFO  03:14:36.216 [New I/O worker #4] Checking shared folder: E:\DNLA\Series
INFO  03:14:36.216 [New I/O worker #4] Checking shared folder: E:\DNLA\Filmes
INFO  03:14:36.216 [New I/O worker #4] Checking shared folder: E:\DNLA\New
DEBUG 03:14:36.232 [New I/O worker #4] Added file watch at C:\ProgramData\UMS: C:\\ProgramData\\UMS\\WEB.conf
DEBUG 03:14:36.232 [New I/O worker #4] add ext list net.pms.movieinfo.MovieInfo@57abad67
DEBUG 03:14:37.341 [New I/O worker #1] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:38.779 [New I/O worker #2] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:39.326 [cling-5] Subscription cancelled: ConnectionManager on uuid:140479c0-58f3-1cef-84bf-9893cc376412: DEVICE_WAS_REMOVED
DEBUG 03:14:39.326 [cling-11] Subscription cancelled: AVTransport on uuid:140479c0-58f3-1cef-84bf-9893cc376412: DEVICE_WAS_REMOVED
DEBUG 03:14:39.326 [cling-7] LG-HTS is now offline.
DEBUG 03:14:39.326 [cling-3] Subscription cancelled: RenderingControl on uuid:140479c0-58f3-1cef-84bf-9893cc376412: DEVICE_WAS_REMOVED
DEBUG 03:14:40.669 [UPNP-LG-HTS] Action failed: Error: Current state of service prevents invoking that action. Connection error or no response received.
DEBUG 03:14:42.451 [New I/O worker #3] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:45.685 [New I/O worker #4] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:45.935 [New I/O worker #4] Reading disable_transcode_for_extensions: "mkv" (default: "")
DEBUG 03:14:45.935 [New I/O worker #4] Reading StreamExtensions: "asf,wmv,avi,divx,mp4,m4v,mov,3gp,3g2,mkv,ts,trp,tp,mts,m2ts,vob,mpg,mpeg,mp3,jpg,jpeg,jpe,jps,mpo" (default: "")
DEBUG 03:14:45.935 [New I/O worker #4] Reading MaxVideoBitrateMbps: "50" (default: "0")
DEBUG 03:14:46.044 [New I/O worker #1] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:46.060 [New I/O worker #2] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:46.076 [New I/O worker #3] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:46.107 [New I/O worker #4] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:49.169 [New I/O worker #1] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:50.123 [New I/O worker #2] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:50.169 [New I/O worker #2] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 03:14:50.263 [New I/O worker #2] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 03:14:50.294 [New I/O worker #2] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.en.srt is UTF-8.
DEBUG 03:14:50.310 [New I/O worker #2] Detected encoding for E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.pt.srt is UTF-8.
DEBUG 03:14:50.310 [New I/O worker #2] Reading SupportedExternalSubtitlesFormats: "SUBRIP" (default: "")
DEBUG 03:14:55.654 [New I/O worker #3] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:55.670 [New I/O worker #4] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:55.670 [New I/O worker #1] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:55.873 [New I/O worker #2] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:55.873 [StartPlaying Event] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:55.873 [New I/O worker #2] Matched media renderer "LG-HTS" based on address /10.20.10.140
INFO  03:14:55.888 [StartPlaying Event] Started playing Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv on your LG-HTS
DEBUG 03:14:55.888 [StartPlaying Event] The full filename of which is: E:\DNLA\Series\Fear the Walking Dead\Season 1\Fear.The.Walking.Dead.S01E01.720p.HDTV.x264-KILLERS.mkv and the address of the renderer is: 10.20.10.140
DEBUG 03:14:55.888 [New I/O worker #3] Matched media renderer "LG-HTS" based on address /10.20.10.140
DEBUG 03:14:55.888 [New I/O worker #4] Matched media renderer "LG-HTS" based on address /10.20.10.140
Thank you so much for you help.
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: Disabling subtitle enconding

Post by ExSport »

What is

Code: Select all

TranscodeAudio = false
Check Defaultrenderer.conf for possible vaules:

Code: Select all

# Profile to use for transcoding audio files
# Options: "LPCM", "MP3" or "WAV".
# Default: LPCM
TranscodeAudio = 
Btw. UMS sends subs depending on preference. It means if subs are not supported at all, UMS will transcode video and burn subs depending on your Audio/Subs preference.
If external subs are supported, depending on subs preference only first match found from all subs are sent to the renderer.
If internal subs are supported, UMS sends file as is (e.g. MKV) so Renderer can see all embeded subs in container.
Last edited by ExSport on Fri Sep 25, 2015 2:54 am, edited 1 time in total.
Ralms
Posts: 6
Joined: Mon Aug 31, 2015 12:40 pm

Re: Disabling subtitle enconding

Post by Ralms »

ExSport wrote:What is

Code: Select all

TranscodeAudio = false
Check Defaultrenderer.conf for possible vaules:

Code: Select all

# Profile to use for transcoding audio files
# Options: "LPCM", "MP3" or "WAV".
# Default: LPCM
TranscodeAudio = 
Btw. UMS sends subs depending on preference. It means if subs are not supported at all, UMS will transcode video and burn subs there. Subs depending on your Audio/Subs preference.
If external subs are supported, depending on subs preference only from all subs are sent to renderer.
If internal subs are supported, UMS sends file as is (e.g. MKV) so Renderer can see all embeded subs in container.
Hi there,

I didnt know about any reference so that was an attempt to avoid UMS transcoding DTS lol.

About subs, UMS sometimes thinks subs are not supported when they are although I beleive that is all configurations. But now its working but he only sends 1 external sub. Where can I change those preferences?

Thank you.
ExSport
Posts: 595
Joined: Wed Oct 10, 2012 1:57 am

Re: Disabling subtitle enconding

Post by ExSport »

Writing on mobile with autocorection enabled is a horror.
I reformulated the sentence:
If external subs are supported, depending on subs preference only first match found from all subs are sent to the renderer.
So there is no option to send more subs at time, only one matching the preference. If preferred subs are e.g. turkish and file includes more turkish subs, only first one is sent to renderer.
Not sure if more subs can be sent separately but if yes, you can try create feature request on github.
E.g. option to send all external subs to the renderer if supported (all matching subs or all available subs. Matching = depending on preferred subs configuration)
Post Reply