Make [No encoding] the default behaviour

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
supernova
Posts: 7
Joined: Sat Feb 07, 2015 5:35 pm

Make [No encoding] the default behaviour

Post by supernova »

Hi,

How can I make the [No encoding] option be the default when I click to play a media file?
My tv already supports every mkv file in my collection, with the exception of the ones that have flac audio, so I would only need transcoding in that specific case.
Also, why can't I jump forward/back when I choose [No encoding] on a mkv inside a split-rar archive? It says the file format is not supported.

Edit: Please note that I don't mean seeking (fast-forward). I mean choosing a place on the timeline and jumping to it.

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

Re: Make [No encoding] the default behaviour

Post by valib »

The [No encoding] is the first option which UMS tries to use. It depends on the renderer conf where all supported formats should be listed. Then they are not transcoded either permanently if they are listed in

Code: Select all

StreamExtensions=
or in

Code: Select all

Supported =
which is more detailed and matching media will not be transcoded. E.g.

Code: Select all

Supported = f:mkv             v:divx|h264|mjpeg|mp4|mpeg1|mpeg2|vp6|wmv   a:aac|aac-he|ac3|dts|eac3|lpcm|mp3|wma   m:video/x-matroska
which means that MKV with flac audio will be transcoded because flac is not listed in the audio section. So if it doesn't work for you we could help when you send the log. See the Forum rules above.
supernova
Posts: 7
Joined: Sat Feb 07, 2015 5:35 pm

Re: Make [No encoding] the default behaviour

Post by supernova »

Hi,

Thanks for the reply, valib.
UMS detects my tv [TV][LG]42LB5700-ZB and uses LG-LA6200.conf, so that's the file I added these lines in:

Code: Select all

Supported = f:mkv   v:h264|mp4   a:aac|ac3|dts   m:video/x-matroska
SupportedExternalSubtitlesFormats = SUBRIP
SupportedInternalSubtitlesFormats = SUBRIP
I only added those formats, because that's what I tested and know for sure that works.

When I browse a rar archive, it will still show [ffmpeg] at the end of the filename, so it's not choosing [No encoding] by default, although, if I unrar the mkv from the rar, it will choose [No encoding] as it should. Any option I have to change?
User avatar
SubJunk
Lead Developer
Posts: 3800
Joined: Sun May 27, 2012 4:12 pm

Re: Make [No encoding] the default behaviour

Post by SubJunk »

If you give us logs for the TV I can make a LB5700 config :)
supernova
Posts: 7
Joined: Sat Feb 07, 2015 5:35 pm

Re: Make [No encoding] the default behaviour

Post by supernova »

Nice :)
Here you go
supernova
Posts: 7
Joined: Sat Feb 07, 2015 5:35 pm

Re: Make [No encoding] the default behaviour

Post by supernova »

Any news?
User avatar
SubJunk
Lead Developer
Posts: 3800
Joined: Sun May 27, 2012 4:12 pm

Re: Make [No encoding] the default behaviour

Post by SubJunk »

Hi supernova, I made a profile for your TV, you can test it at http://www.spirton.com/uploads/UMS/UMS-dc05b98.exe
Unfortunately the TV's manual doesn't list which formats are supported, so I just based this one on the profile we have of last year's model, then I added the subtitles support you mentioned, as well as DTS support for MKV files.
Can you please confirm that you've tried playing a MKV file with DTS audio in it, and that SRT subtitles work even when they are external?
supernova
Posts: 7
Joined: Sat Feb 07, 2015 5:35 pm

Re: Make [No encoding] the default behaviour

Post by supernova »

Hi, SubJunk.

Thanks for making the profile for my tv. I appreciate it and will test it today.
Yes, I can confirm that my tv can indeed play videos with dts audio in it, and that external subtitles do work.

I noticed, however, an annoyance with internal/external subtitles. Imagine this:
A mkv file that has embedded 2 srt subtitles:
- subtitles track 1 (default) - english subtitles for foreign dialog
- subtitles track 2 - english subtitles for all dialogue
My tv will use the default track, but will only let me choose the other track when at least one dialogue of the default track shows up. This is very annoying in videos where the default subtitles only start, for example, at the 20 minute mark. In that case, I would have to seek back and forth to find a scene where they speak, for example, spanish, so that the subtitles track selection becomes available, and only then can I choose another track.
So, my question is, is there any way to make my tv detect all the subtitle tracks right away, at the beginning of playback? Maybe a workaround that sends a fake subtitle dialogue at 00:00:00,001?
supernova
Posts: 7
Joined: Sat Feb 07, 2015 5:35 pm

Re: Make [No encoding] the default behaviour

Post by supernova »

SubJunk, I tested the profile you made, but some things are still not working.
Whenever I try to play a mkv inside a rar file, the default encoder will be FFmpeg, as it shows in the filename: "video.mkv [FFmpeg]"
Also, seeking still doesn't work whenever I play a mkv inside rar file (I can't jump back or forward in the timeline).
supernova
Posts: 7
Joined: Sat Feb 07, 2015 5:35 pm

Re: Make [No encoding] the default behaviour

Post by supernova »

Any ideas?
Post Reply