Jump to content


Photo

Emby theatre for XboxOne S


  • Please log in to reply
4 replies to this topic

#1 SirTranceALoT OFFLINE  

SirTranceALoT

    Newbie

  • Members
  • 3 posts
  • Local time: 09:21 AM

Posted 24 August 2019 - 05:56 PM

Emby Theater 1.1.257.70

Server version 4.2.1.0

 

Hi all. 

 

Since recently I'm having an issue with playback of certain files on Emby theatre for xboxOne S. First of all, I have to say, I'm using files that are optimized for streaming and with the highest compatibility on all devices overall. This means mp4 container with H.264 AVC video and AAC LC  5.1 or AAC LC 7.1 sound. I encode these files myself and never had an issue before. In fact, the problem only occurs on emby theatre for xbox. To give a more detailed overview, here's a mediainfo of a problemetic file:

 

General
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/avc1)
File size                                : 9.31 GiB
Duration                                 : 2 h 11 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 10.1 Mb/s
Encoded date                             : UTC 2019-08-19 12:31:44
Tagged date                              : UTC 2019-08-19 12:31:44
Writing application                      : StaxRip 1.8.2.0
 
Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings                          : CABAC / 5 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 5 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 2 h 11 min
Bit rate                                 : 9 210 kb/s
Maximum bit rate                         : 31.3 Mb/s
Width                                    : 1 920 pixels
Height                                   : 800 pixels
Display aspect ratio                     : 2.40:1
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.250
Stream size                              : 8.47 GiB (91%)
Writing library                          : x264 core 142 r2431+42 c69a006 tMod [8-bit@4:2:0 X86_64]
Encoding settings                        : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / fade_compensate=0.00 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=48 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=6,10 / fast_pskip=0 / chroma_qp_offset=-2 / threads=24 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=3 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=24 / keyint_min=13 / scenecut=99 / intra_refresh=0 / rc_lookahead=24 / rc=crf / mbtree=0 / crf=21.0000 / qcomp=0.60 / qpmin=0:0:0 / qpmax=40:40:40 / qpstep=2 / vbv_maxrate=25000 / vbv_bufsize=25000 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.00 / pb_ratio=1.00 / aq=3:0.60 / aq-sensitivity=10.00 / aq-factor=1.00:1.00:1.00 / aq2=0 / aq3=0
Encoded date                             : UTC 2019-08-19 12:31:44
Tagged date                              : UTC 2019-08-19 13:24:17
Color range                              : Limited
Matrix coefficients                      : BT.709
Codec configuration box                  : avcC
 
Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 2 h 11 min
Bit rate mode                            : Variable
Bit rate                                 : 901 kb/s
Maximum bit rate                         : 1 269 kb/s
Channel(s)                               : 8 channels
Channel layout                           : C L R Ls Rs Lb Rb LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 849 MiB (9%)
Title                                    : Dolby TrueHD_Atmos Audio _ 7.1-Atmos _ 48 kHz _ 4245 kbps _ 24-bit
Language                                 : English
Encoded date                             : UTC 2019-08-19 06:52:45
Tagged date                              : UTC 2019-08-19 13:24:17
 
Menu
00:00:00.000                             : Chapter 1
00:10:53.903                             : Chapter 2
00:18:06.835                             : Chapter 3
00:30:27.325                             : Chapter 4
00:45:18.632                             : Chapter 5
00:54:11.039                             : Chapter 6
01:05:41.646                             : Chapter 7
01:09:31.584                             : Chapter 8
01:19:31.308                             : Chapter 9
01:30:06.234                             : Chapter 10
01:38:36.869                             : Chapter 11
01:49:58.883                             : Chapter 12
01:59:28.828                             : Chapter 13
 
Some other info, I'm not transcoding this file. it is completely turned off on the server. the reason for this is, I'm streaming directly from google drive trough strm files so bypass the server completaly. 
 
the audiosettings on the xbox are set to optical passtrough with decoding to DD5.1 since I do not have a capable receiver yet. on HDMI it is set to stereo. When I start playback, I see this on the server:
 
f09940acac9c75d94dd8d98d0f127ae7.png
The time counter goes up and then goes back to zero and starts over. I've also attached the ffmpeg log. If I forgot something, please just ask.
 
thnx in advance
Andy

Edited by SirTranceALoT, 24 August 2019 - 05:58 PM.


#2 SirTranceALoT OFFLINE  

SirTranceALoT

    Newbie

  • Members
  • 3 posts
  • Local time: 09:21 AM

Posted 24 August 2019 - 06:29 PM

OK. I changed some things. Previously, I had my settings like this

 

ddb25993352717dc434b81ea7253de78.png

 

Now I changed them to this

 

54826f68ff3af2571c82a1b27a16c67d.png

 

Now the 7.1 audiofiles play back fine. It also still shows direct play in the status while I'm playing back the media. As for me I would see this as solved but it still remains a mystery why it suddenly didn't work as none of the settings were changed and why it only happened on xboxOne. All other device worked fine. 



#3 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136138 posts
  • Local time: 03:21 AM

Posted 24 August 2019 - 11:57 PM

Hi, sounds like that file needed to have the audio converted, and when you disabled that on the server that's what caused the error.


  • SirTranceALoT likes this

#4 Doofus OFFLINE  

Doofus

    Advanced Member

  • Members
  • 12100 posts
  • Local time: 12:21 AM

Posted 25 August 2019 - 11:22 AM

Optical audio doesn't support 7.1 in any format. It also won't support 5.1 AAC, because it will be decoded to PCM and it doesn't have the bandwidth. The most it will support is 5.1 AC3 or dts core audio. And for AC3, probably only 384 Kb/s. Stereo AAC should be ok.
  • SirTranceALoT likes this

#5 SirTranceALoT OFFLINE  

SirTranceALoT

    Newbie

  • Members
  • 3 posts
  • Local time: 09:21 AM

Posted 26 August 2019 - 03:47 PM

Hi, sounds like that file needed to have the audio converted, and when you disabled that on the server that's what caused the error.

 

Well that is a bit of a strange one bcs I already had set it like that since first install and it used to work fine. Suddenly that stopped.

 

 

Optical audio doesn't support 7.1 in any format. It also won't support 5.1 AAC, because it will be decoded to PCM and it doesn't have the bandwidth. The most it will support is 5.1 AC3 or dts core audio. And for AC3, probably only 384 Kb/s. Stereo AAC should be ok.

 

Yes I know and that is why I set the xboxOne to decode it to AC3 5.1 and now DTS 5.1 wich worked perfectly up until now. Guess some stuff changed at the xbox side? 

I've been encoding my files for about 7 years so very confortable with supported and unsupported codecs. It is mainly why I use AAC as audiocodec and MP4 as container wich never posed problems on any device even the xbox up until now. 

Anyways, thynx for the pointers and using this workaround for the time being until things work again out of the box like it used to so I can yet againbypass the the server for playback and stream the files streight from google drive. 


Edited by SirTranceALoT, 26 August 2019 - 03:52 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users