Problem with MKV - Transcoding

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
jbonbeurre
Posts: 16
Joined: Sun Feb 07, 2016 1:44 am

Problem with MKV - Transcoding

Post 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
Attachments
Sony Bravia.jpg
Sony Bravia.jpg (374.34 KiB) Viewed 24552 times
MKV Not OK.jpg
MKV Not OK.jpg (108.81 KiB) Viewed 24552 times
MKV OK.jpg
MKV OK.jpg (101.08 KiB) Viewed 24552 times
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: Problem with MKV - Transcoding

Post 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.
jbonbeurre
Posts: 16
Joined: Sun Feb 07, 2016 1:44 am

Re: Problem with MKV - Transcoding

Post 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.
jbonbeurre
Posts: 16
Joined: Sun Feb 07, 2016 1:44 am

Re: Problem with MKV - Transcoding

Post 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
Attachments
Sony-BraviaW.conf
(144.5 KiB) Downloaded 601 times
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: Problem with MKV - Transcoding

Post 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?
jbonbeurre
Posts: 16
Joined: Sun Feb 07, 2016 1:44 am

Re: Problem with MKV - Transcoding

Post by jbonbeurre »

Hello,

Here is the .conf file.

And if I said MediaInfo = false ?

Thanks for your advices.
SonyBraviaW.txt
(2.72 KiB) Downloaded 758 times
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: Problem with MKV - Transcoding

Post by valib »

Please follow exactly the instruction written in red above and send the log.
jbonbeurre
Posts: 16
Joined: Sun Feb 07, 2016 1:44 am

Re: Problem with MKV - Transcoding

Post 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
Attachments
ums_dbg.zip
(198.5 KiB) Downloaded 467 times
User avatar
valib
Developer
Posts: 699
Joined: Fri Feb 08, 2013 3:11 am

Re: Problem with MKV - Transcoding

Post 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.
jbonbeurre
Posts: 16
Joined: Sun Feb 07, 2016 1:44 am

Re: Problem with MKV - Transcoding

Post 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 24462 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 24462 times
I will post the new log tommorow.

Thanks
Post Reply