Page 5 of 12

Re: Xbox One Getting DLNA Support

Posted: Wed Oct 01, 2014 2:36 pm
by SubJunk
Thanks for testing :)
There are some possible reasons for the DTS thing. It's possible that Xbox One doesn't like MPEG-TS files over DLNA, so to test that can you please edit renderers/XboxOne.conf in your installation directory to remove the "Supported = f:mpegts..." line.
If that doesn't fix it, please check whether videos play by choosing the FFmpeg option in the TRANSCODE folder. If those entries don't play, it means Xbox One doesn't like MPEG-PS files, in which case we can try a different type of encoding.

Re: Xbox One Getting DLNA Support

Posted: Wed Oct 01, 2014 2:59 pm
by Whogie
np, thanks for doing this!

Doesn't seem to work.
I commended out the line with #.

Code: Select all

# Supported video formats:
Supported = f:avi      v:h264               a:ac3               m:video/avi
Supported = f:avi      v:mp4                a:ac3|mp3           m:video/avi
Supported = f:mkv      v:h264|mpeg1|mpeg2   a:aac|ac3|mp3|mpa   m:video/x-matroska
Supported = f:mov      v:h264|mp4           a:aac|ac3           m:video/quicktime
Supported = f:mp4      v:h264|mp4           a:aac|ac3           m:video/mp4
Supported = f:mpegps   v:mpeg1|mpeg2        a:ac3|lpcm|mpa      m:video/mpeg
# Supported = f:mpegts   v:h264|mpeg1|mpeg2   a:ac3               m:video/mpeg
Supported = f:wmv      v:wmv|vc1            a:wma               m:video/x-ms-wmv
DTS MKV still fails to load. It seems that everything that needs to transcode fails to load. In the log I tried different combinations of an MKV with multiple AC3 tracks, and only "No encode" worked.

Edit: You mentioned mpegps too. I just tried that commented out and it didn't work.

Re: Xbox One Getting DLNA Support

Posted: Wed Oct 01, 2014 6:04 pm
by Whogie
Good news!
I tried forcing the PS3 profile, and transcodes work! It's transcoding more than it has to (like all MKVs), but it seems there's nothing I can't play.

:) almost there.

Re: Xbox One Getting DLNA Support

Posted: Wed Oct 01, 2014 6:28 pm
by SharkHunter
Good whogie. I just fixed the browsing part last night and I also noticed I couldn't transcode stuff. Xbox360 didn't like any of the mpegts/ps formats either so there everything as transcoded to wmv. Any way we'll need to tweak the conf file.
And now I'm part of the preview (as of yesterday thats how I fixed this) so now I can test this as well.

Edit:

Whogie - 1st fetch the XboxOne render conf file again. Then add these lines:

Code: Select all

#-----------------------------------------------------------------------------
# TRANSCODING AND MUXING CAPABILITIES
#
# It is very likely that a renderer cannot render all file formats. If this is
# the case, UMS should transcode or mux the file to a format that the renderer
# can display. This section defines the format that UMS should transcode or
# mux to.
#

# TranscodeVideo: Profile to use for transcoding video files.
# One of the following:
#
#     Profile            Video           Audio   Container
#     ----------------------------------------------------
#     MPEGPS-MPEG2-AC3   MPEG-2          AC-3    MPEG-PS
#     MPEGTS-MPEG2-AC3   MPEG-2          AC-3    MPEG-TS
#     MPEGTS-H264-AC3    H.264           AC-3    MPEG-TS
#     MPEGTS-H264-AAC    H.264           AAC     MPEG-TS
#     WMV:               WMV 2 (WMV 8)   WMA 2   ASF
#
# These profiles are supported by the MEncoder, FFmpeg and VLC engines.
# Default: MPEGPS-MPEG2-AC3
TranscodeVideo = MPEGPS-MPEG2-AC3
Change to whatever works. This is what is in the PS3 conf file so if that works then just copy it over to the XboxOne conf file. If it doesn't work try the WMV profile first as WMV is a Microsoft format....

Re: Xbox One Getting DLNA Support

Posted: Wed Oct 01, 2014 7:12 pm
by Whogie
Sorry, that doesn't work. I found it though!

Code: Select all

SeekByTime = exclusive
This rocks!!

Re: Xbox One Getting DLNA Support

Posted: Wed Oct 01, 2014 7:23 pm
by SharkHunter
Whogie wrote:Sorry, that doesn't work. I found it though!

Code: Select all

SeekByTime = exclusive
This rocks!!
So what does it transcode to?
Can you try with some video that needs transcoding. Web streams or external subs are good candidates here...

Re: Xbox One Getting DLNA Support

Posted: Wed Oct 01, 2014 7:58 pm
by Whogie
PS3.conf says the video default is MPEGPS-MPEG2-AC3

When playing an MKV with PGS subs, the bitrate skyrockets and the Xbox app crashes. Maybe the bandwidth spike is killing it.

Image
(Right after a crash)

I propose adding

Code: Select all

TranscodeVideo = MPEGTS-H264-AC3
which seems to work and brings down the bitrate considerably.

Image
(Video hasn't crashed yet)

(And also maybe remove

Code: Select all

TranscodeAudio = MP3
so it defaults to LPCM, which it seems to be able to handle.)

Re: Xbox One Getting DLNA Support

Posted: Wed Oct 01, 2014 8:19 pm
by SharkHunter
Thats what I wanted you to test.
So you all the stuff you think should stream streams and the things that needs transcoding works with that profile?

Re: Xbox One Getting DLNA Support

Posted: Wed Oct 01, 2014 8:36 pm
by Whogie
Yup :) so far so good with the latter profile.

With my media at least. I just tried a TED Talk from the Web folder and it failed, even when using the PS3 profile.

Re: Xbox One Getting DLNA Support

Posted: Wed Oct 01, 2014 8:44 pm
by SharkHunter
I've had issues with Web streams on both PS3 and Xbox360 that works fine with my bravia so that might be as "expected"