Xbox One Getting DLNA Support

Discuss media renderers like Xbox 360, TVs, smartphones, etc.
Post Reply
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Xbox One Getting DLNA Support

Post 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.
Whogie
Posts: 49
Joined: Thu Aug 02, 2012 7:59 pm

Re: Xbox One Getting DLNA Support

Post 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.
Attachments
ums_dbg.zip
(223.54 KiB) Downloaded 670 times
Whogie
Posts: 49
Joined: Thu Aug 02, 2012 7:59 pm

Re: Xbox One Getting DLNA Support

Post 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.
Attachments
ums_dbg.zip
PS3 profiles - previously not working files.
(226.15 KiB) Downloaded 674 times
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Xbox One Getting DLNA Support

Post 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....
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
Whogie
Posts: 49
Joined: Thu Aug 02, 2012 7:59 pm

Re: Xbox One Getting DLNA Support

Post by Whogie »

Sorry, that doesn't work. I found it though!

Code: Select all

SeekByTime = exclusive
This rocks!!
Attachments
XboxOne.conf
(1.53 KiB) Downloaded 700 times
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Xbox One Getting DLNA Support

Post 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...
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
Whogie
Posts: 49
Joined: Thu Aug 02, 2012 7:59 pm

Re: Xbox One Getting DLNA Support

Post 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.)
Attachments
XboxOne.conf
Updated for H264 and LPCM
(1.53 KiB) Downloaded 696 times
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Xbox One Getting DLNA Support

Post 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?
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
Whogie
Posts: 49
Joined: Thu Aug 02, 2012 7:59 pm

Re: Xbox One Getting DLNA Support

Post 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.
User avatar
SharkHunter
Developer
Posts: 648
Joined: Fri Jun 01, 2012 9:36 pm

Re: Xbox One Getting DLNA Support

Post 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"
We reject: kings, presidents and voting.
We believe in: rough consensus and running code.
Post Reply