OS X: Add a Renderers folder to /Application Support/UMS/

If you have a suggestion for a feature, post it here
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: OS X: Add a Renderers folder to /Application Support/UMS/

Post by Nadahar »

Whether or not a file will be transcoded is decided before the file starts playing, it's actually decided when you first browse the folder with a given renderer. You should put it in trace mode first, then click "reset cache" on the Navigation/Share tab and then browse the folder from the renderer. That should give a lot of information in the log. It would be nice to find the problem even if it works when you disable all transcoders.
endymion
Posts: 25
Joined: Sun Dec 28, 2014 7:47 am

Re: OS X: Add a Renderers folder to /Application Support/UMS/

Post by endymion »

FYi, I don't know if this is intended, but it was confusing... The Log tab doesn't show the trace output and only shows what it usually does. I needed to click the "Open full debug log" in the console to see everything the trace was showing.

This line from below clued me into the fix:

TRACE 14:18:50.345 [Request Handler] File "test.mp4" will not be streamed because the audio will use the encoded audio passthrough feature

So, I went to Common Transcode Settings -> Audio and deselected "Encoded audio passthrough" and now my mp4s and mkvs are recognized correctly and streamed with all the encoders on. I likely selected this option at some point thinking to keep transcoding passing through the original audio and not re-encoding it when it was used. Wouldn't have thought it would affect the detection of streaming vs. transcoding.

So, I think everything is straightened out at this point. Thanks for helping me along the way to the solution.

Code: Select all

TRACE 14:18:50.321 [Request Handler] Matched format MPG to "test.mp4"
TRACE 14:18:50.345 [Request Handler] Parsing results for file "test.mp4": container: mp4, bitrate: 5075199, size: 1595500536, video codec: h264, duration: 00:41:54.00, width: 1280, height: 720, frame rate: 23.976, mime type: video/mp4, 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
TRACE 14:18:50.345 [Request Handler] Adding new child "test.mp4" with class "net.pms.dlna.RealFile"
TRACE 14:18:50.345 [Request Handler] File "test.mp4" will be forced to skip transcoding by configuration
TRACE 14:18:50.345 [Request Handler] Getting player for resource "test.mp4"
TRACE 14:18:50.345 [Request Handler] Returning compatible player "MEncoder"
TRACE 14:18:50.345 [Request Handler] This video does not have subtitles
TRACE 14:18:50.345 [Request Handler] Format "mp4" failed to match supported line f:mpegps|mpegts   v:mpeg1|mpeg2     a:ac3|dts|lpcm|mpa|mp3                    m:video/mpeg
TRACE 14:18:50.345 [Request Handler] Format "mp4" failed to match supported line f:mpegts          v:h264|vc1        a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/vnd.dlna.mpeg-tts
TRACE 14:18:50.345 [Request Handler] Format "mp4" failed to match supported line f:wma    n:2   m:audio/mpeg
TRACE 14:18:50.345 [Request Handler] Format "mp4" failed to match supported line f:mp3    n:2   m:audio/mpeg
TRACE 14:18:50.345 [Request Handler] Format "mp4" failed to match supported line f:lpcm   n:2   m:audio/L16   s:48000
TRACE 14:18:50.345 [Request Handler] Format "mp4" failed to match supported line f:jpg   m:image/jpeg
TRACE 14:18:50.345 [Request Handler] Matched support line f:mp4|m4v        v:mp4|h264        a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/mp4
TRACE 14:18:50.345 [Request Handler] File "test.mp4" will not be streamed because the audio will use the encoded audio passthrough feature
TRACE 14:18:50.345 [Request Handler] Matched support line f:mpegps|mpegts   v:mpeg1|mpeg2     a:ac3|dts|lpcm|mpa|mp3                    m:video/mpeg
TRACE 14:18:50.346 [Request Handler] Final verdict: "test.mp4" will be transcoded with player "MEncoder" with mime type "video/mpeg"
TRACE 14:18:50.346 [Request Handler] Format "mp4" failed to match supported line f:mpegps|mpegts   v:mpeg1|mpeg2     a:ac3|dts|lpcm|mpa|mp3                    m:video/mpeg
TRACE 14:18:50.346 [Request Handler] Format "mp4" failed to match supported line f:mpegts          v:h264|vc1        a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/vnd.dlna.mpeg-tts
TRACE 14:18:50.346 [Request Handler] Format "mp4" failed to match supported line f:wma    n:2   m:audio/mpeg
TRACE 14:18:50.346 [Request Handler] Format "mp4" failed to match supported line f:mp3    n:2   m:audio/mpeg
TRACE 14:18:50.346 [Request Handler] Format "mp4" failed to match supported line f:lpcm   n:2   m:audio/L16   s:48000
TRACE 14:18:50.346 [Request Handler] Format "mp4" failed to match supported line f:jpg   m:image/jpeg
TRACE 14:18:50.346 [Request Handler] Matched support line f:mp4|m4v        v:mp4|h264        a:ac3|dts|dtshd|truehd|aac|lpcm|mpa|mp3   m:video/mp4
TRACE 14:18:50.346 [Request Handler] File "test.mp4" will be sent with MIME type "video/mp4"
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: OS X: Add a Renderers folder to /Application Support/UMS/

Post by Nadahar »

I've noticed the filtering of messages too, but I don't know if it's intentional. Good to see that you figured it out.
Post Reply