Page 1 of 2

Problem with MKV - Transcoding

Posted: Sun May 01, 2016 5:07 am
by jbonbeurre
Hello,

I have a Sony Bravia W model. UMS transcode some MKV but the TV can read these MKV from an USB key without problem.

In the UMS library on the tv I see this : name.mkv (ffmpeg)|M2TS --> UMS always transcode
For the other mkv : name.mkv |MKV --> always OK without transcoding.

In the GUI i say never transcoding for MKV but that changes anything.

What can I do to never transcode the files ?

I joint 2 screen captures of MediaInfo. One for an OK MKV and another for a non OK MKV

I also joint a screen capture of what the TV can read.

Here is my SonyBravia.conf :

#----------------------------------------------------------------------------
# Profile for Sony Bravia W series TVs.
# See DefaultRenderer.conf for descriptions of all the available options.
#

RendererName = Sony Bravia W
RendererIcon = braviaw.png

# ============================================================================
# This renderer has sent the following string/s:
#
# X-AV-Client-Info: av=5.0; cn="Sony Corporation"; mn="BRAVIA KDL-42W805A"; mv="1.7";
# ============================================================================
#

UserAgentAdditionalHeader = X-AV-Client-Info
UserAgentAdditionalHeaderSearch = BRAVIA KDL-[0-9][0-9]W(6|7|8|9)[0-9][0-9](A|B)
UpnpDetailsSearch = Sony , KDL-[0-9][0-9]W(6|7|8|9)[0-9][0-9](A|B)

SeekByTime = true
DLNALocalizationRequired = true
TranscodeAudio = WAV
MuxNonMod4Resolution = true
ForceJPGThumbnails = true
ThumbnailAsResource = true
CreateDLNATreeFaster = true
MediaParserV2_ThumbnailGeneration = true
AccurateDLNAOrgPN = true
SendFolderThumbnails = false
MediaInfo = true

# Our Bravia W-specific notes:
# DTS is not supported.
# H.264 within AVI containers is not supported, nor is GMC or QPEL.
# WMV is supported, but not with 5.1 audio.
# Apple Lossless Audio Codec (ALAC) is not supported.

# Supported video formats:
Supported = f:avi v:mp4|mjpeg a:mp3|lpcm|mpa|ac3 qpel:no gmc:0 m:video/avi
Supported = f:mkv v:mp4|h264 a:ac3|aac|mpa|ogg m:video/x-matroska
Supported = f:mov v:mp4|h264|mjpeg a:aac|ac3|mpa|lpcm m:video/quicktime
Supported = f:mp4 v:mp4|h264 a:ac3|mpa m:video/mp4
Supported = f:mp4 v:mp4|h264 a:aac n:2 m:video/mp4
Supported = f:mpegps|mpegts v:mpeg1|mpeg2|mp4|h264 a:ac3|lpcm|aac|mpa m:video/mpeg
Supported = f:wmv v:wmv|vc1 a:wma n:2 m:video/x-ms-wmv

# Supported audio formats:
Supported = f:aac n:2 a:(?!alac).+ m:audio/x-m4a
Supported = f:atrac n:2 m:audio/x-oma
Supported = f:mp3 n:2 m:audio/mpeg
Supported = f:wav a:lpcm n:6 s:48000 m:audio/wav
Supported = f:wav n:2 s:48000 m:audio/wav
Supported = f:wma n:2 m:audio/x-ms-wma

# Supported image formats:
Supported = f:gif m:image/gif
Supported = f:jpg m:image/jpeg
Supported = f:png m:image/png
Supported = f:tiff m:image/tiff

Re: Problem with MKV - Transcoding

Posted: Sun May 01, 2016 7:36 am
by valib
You can simply test if is possible to stream the video from the TRANSCODE folder where all medias are offered for streaming and for transcoding. If it si working you can try to change the line

Code: Select all

Supported = f:mkv             v:mp4|h264               a:ac3|aac|mpa|ogg                            m:video/x-matroska
to

Code: Select all

Supported = f:mkv             v:mp4|h264               a:ac3|aac|mpa|ogg|dts|dtshd                            m:video/x-matroska
but I am not sure if it will work. If some video or audio format is playing from USB or HDD doesn't mean that it will be played via DLNA. As I wrote somewhere in the forum manufacturers obviously implement the DLNA support differently.

Re: Problem with MKV - Transcoding

Posted: Sun May 01, 2016 7:59 am
by jbonbeurre
When I go to the Transcode folder and choose No Transcoding, I can play the files like with my USB key.

I will try your tips.

Re: Problem with MKV - Transcoding

Posted: Mon May 02, 2016 12:07 am
by jbonbeurre
Hello,

It seems that it's does not work.

I also modify the .conf file but it's the same.

What can I do to never trasncode any files. For 99% the TV can read the files I try with a USB Key). And for the others i will download them again.

I also give te extensions to stream without success.


Thanks

Re: Problem with MKV - Transcoding

Posted: Mon May 02, 2016 9:45 am
by valib
The Sony-BraviaW.conf you provided is either corrupted or you send something else. Please follow the instruction written in red above. What is unclear on it?

Re: Problem with MKV - Transcoding

Posted: Mon May 02, 2016 5:17 pm
by jbonbeurre
Hello,

Here is the .conf file.

And if I said MediaInfo = false ?

Thanks for your advices.
SonyBraviaW.txt
(2.72 KiB) Downloaded 1035 times

Re: Problem with MKV - Transcoding

Posted: Tue May 03, 2016 7:41 am
by valib
Please follow exactly the instruction written in red above and send the log.

Re: Problem with MKV - Transcoding

Posted: Wed May 04, 2016 3:19 am
by jbonbeurre
Hello,

Here is the log.

For the 2 first movies (Le Hobbit 2 - La desolation de Smaug and Le Passe) when UMS transcode nothing apperas on the screen of the TV. The screen is black. For Frost Nixon, its OK but slow, and plays with saccades.

For the 3 files, when I go to the Transcode folder and choose No Transcoding, it's OK.

On a USB key it's also OK.

I just would like to find how to say to UMS to never transcode movies.

Thanks

Re: Problem with MKV - Transcoding

Posted: Wed May 04, 2016 8:18 am
by valib
Sorry but you forgot to change the log level to TRACE and some important info in your log is missng. Anyway I see that you run UMS on the OS X which is an important information you didn't mention before and Mencoder returns an error code 138 when trying to play the video. Also this

Code: Select all

INFO  2016-05-03 17:28:31.260 [AWT-EventQueue-0] java.io.IOException: Cannot run program ""/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java"" (in directory "/Applications/Universal Media Server.app/Contents/Resources"): error=2, No such file or directory
INFO  2016-05-03 17:28:31.261 [AWT-EventQueue-0] 	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
...
indicates the wrong UMS instalation. But I am not a OS X expert maybe other developers can help.

Re: Problem with MKV - Transcoding

Posted: Wed May 04, 2016 8:33 am
by jbonbeurre
I thank that i changed to Trace Log and UMS show me a window to confirm that I want the Log Trace (picture 1 - Yes (Oui) Picture 2 - Left corner (Créer des Log Trace)). It seems that it doesn't work.
Trace.jpg
Trace.jpg (39.6 KiB) Viewed 26600 times
When I choose Niveau de Log : Trace from de dropdown (right corner) UMS says Changed debug level to TRACE.
trace 2.jpg
trace 2.jpg (41.91 KiB) Viewed 26600 times
I will post the new log tommorow.

Thanks