Jump to content

Xbox 360 Freezing Playback Audio Sync Issue


corey

Recommended Posts

corey

I'm having trouble recently on my encodes for an Xbox 360 that's used as a WMC Extender with Emby. There's significant audio / video sync issues, and the video will sometimes just stop playing.

Here's the MediaInfo for both a file that played fine (Interstellar) and one that does not (Breaking Bad, all are like this, I've provided sample info for an episode):

Interstellar:

General
Complete name                            : \\MEDIASERVER\media\film\Interstellar (2014)\Interstellar (2014).m4v
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 13.5 GiB
Duration                                 : 2h 49mn
Overall bit rate mode                    : Variable
Overall bit rate                         : 11.4 Mbps
Encoded date                             : UTC 2015-05-16 23:07:43
Tagged date                              : UTC 2015-05-16 23:07:43
Writing application                      : HandBrake 7168svn 2015051001

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 2h 49mn
Bit rate                                 : 7 429 Kbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 23.976 fps
Minimum frame rate                       : 17.026 fps
Maximum frame rate                       : 23.981 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.149
Stream size                              : 8.77 GiB (65%)
Writing library                          : x264 core 144 r2525 40bb568
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=25000 / vbv_bufsize=31250 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2015-05-16 23:07:43
Tagged date                              : UTC 2015-05-16 23:07:43
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio #1
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 2h 49mn
Bit rate mode                            : Variable
Bit rate                                 : 255 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 308 MiB (2%)
Title                                    : Stereo / Stereo
Language                                 : English
Encoded date                             : UTC 2015-05-16 23:07:43
Tagged date                              : UTC 2015-05-16 23:07:43

Audio #2
ID                                       : 3
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A9
Duration                                 : 2h 49mn
Bit rate mode                            : Variable
Bit rate                                 : Unknown / 1 509 Kbps
Channel(s)                               : 2 channels
Channel(s)_Original                      : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossless / Lossy
Stream size                              : 4.36 GiB (32%)
Title                                    : Surround / Surround
Language                                 : English
Encoded date                             : UTC 2015-05-16 23:07:43
Tagged date                              : UTC 2015-05-16 23:07:43

Menu
ID                                       : 4
Codec ID                                 : text
Duration                                 : 2h 49mn
Language                                 : English
Encoded date                             : UTC 2015-05-16 23:07:43
Tagged date                              : UTC 2015-05-16 23:07:43
00:00:00.000                             : Chapter 1
00:09:35.592                             : Chapter 2
00:17:12.423                             : Chapter 3
00:25:00.850                             : Chapter 4
00:35:45.494                             : Chapter 5
00:42:16.968                             : Chapter 6
00:50:19.992                             : Chapter 7
00:54:48.177                             : Chapter 8
00:58:59.803                             : Chapter 9
01:06:15.113                             : Chapter 10
01:17:28.286                             : Chapter 11
01:25:32.102                             : Chapter 12
01:34:32.100                             : Chapter 13
01:46:14.802                             : Chapter 14
01:55:34.653                             : Chapter 15
02:02:14.344                             : Chapter 16
02:12:56.944                             : Chapter 17
02:20:53.921                             : Chapter 18
02:35:12.195                             : Chapter 19
02:43:59.930                             : Chapter 20
Bit rate mode                            : VBR

Breaking Bad:

General
Complete name                            : \\MEDIASERVER\media\TV\Breaking Bad\Season 1\Breaking Bad.s01e07.m4v
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42
File size                                : 8.39 GiB
Duration                                 : 47mn 42s
Overall bit rate mode                    : Variable
Overall bit rate                         : 25.2 Mbps
Encoded date                             : UTC 2015-05-18 04:35:44
Tagged date                              : UTC 2015-05-18 04:35:44
Writing application                      : HandBrake 7168svn 2015051001

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 47mn 42s
Bit rate                                 : 21.5 Mbps
Width                                    : 1 918 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Variable
Frame rate                               : 23.976 fps
Minimum frame rate                       : 17.026 fps
Maximum frame rate                       : 23.981 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.433
Stream size                              : 7.17 GiB (85%)
Writing library                          : x264 core 144 r2525 40bb568
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / vbv_maxrate=25000 / vbv_bufsize=31250 / crf_max=0.0 / nal_hrd=none / filler=0 / ip_ratio=1.40 / aq=1:1.00
Encoded date                             : UTC 2015-05-18 04:35:44
Tagged date                              : UTC 2015-05-18 04:35:44
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio #1
ID                                       : 2
Format                                   : AAC
Format/Info                              : Advanced Audio Codec
Format profile                           : LC
Codec ID                                 : 40
Duration                                 : 47mn 42s
Bit rate mode                            : Variable
Bit rate                                 : 256 Kbps
Channel(s)                               : 2 channels
Channel positions                        : Front: L R
Sampling rate                            : 48.0 KHz
Compression mode                         : Lossy
Stream size                              : 87.3 MiB (1%)
Title                                    : Stereo / Stereo
Language                                 : English
Encoded date                             : UTC 2015-05-18 04:35:44
Tagged date                              : UTC 2015-05-18 04:35:44

Audio #2
ID                                       : 3
Format                                   : DTS
Format/Info                              : Digital Theater Systems
Format profile                           : MA / Core
Mode                                     : 16
Format settings, Endianness              : Big
Codec ID                                 : A9
Duration                                 : 47mn 42s
Bit rate mode                            : Variable
Bit rate                                 : Unknown / 1 509 Kbps
Channel(s)                               : 2 channels
Channel(s)_Original                      : 6 channels
Channel positions                        : Front: L C R, Side: L R, LFE
Sampling rate                            : 48.0 KHz
Bit depth                                : 24 bits
Compression mode                         : Lossless / Lossy
Stream size                              : 1.13 GiB (13%)
Title                                    : Surround / Surround
Language                                 : English
Encoded date                             : UTC 2015-05-18 04:35:44
Tagged date                              : UTC 2015-05-18 04:35:44

Menu
ID                                       : 4
Codec ID                                 : text
Duration                                 : 47mn 42s
Language                                 : English
Encoded date                             : UTC 2015-05-18 04:35:44
Tagged date                              : UTC 2015-05-18 04:35:44
Bit rate mode                            : CBR
00:00:00.000                             : Chapter 1
00:04:03.635                             : Chapter 2
00:14:42.190                             : Chapter 3
00:26:15.758                             : Chapter 4
00:31:47.005                             : Chapter 5
00:35:09.416                             : Chapter 6
00:46:57.123                             : Chapter 7
00:47:40.958                             : Chapter 8

Any thoughts or insights? The bitrate jumps out to me as potentially being the issue (via http://support.xbox.com/en-US/xbox-360/system/audio-video-playback).

My version of Emby Server is: 3.0.5607.2 and MediaBrowser Classic is: 3.0.266.0

Thanks!

Link to comment
Share on other sites

The bitrate is the likely culprit. in my experience the xbox 360 has difficulty with anything over 10-12. i am surprised your first file plays well, to be honest.

Link to comment
Share on other sites

corey

Thanks for the quick response Luke! Follow-up question. Is there any way to force a transcode at the server so it will playback properly on my Xbox 360?

Link to comment
Share on other sites

Not exactly, but, depending on your exact requirements, you may be able to trick it...  

 

As long as we can directly access it MBC just feeds the item to WMC and it takes it from there.  So, if you were to put that item in a location that the MBC machine could not see, then we would ask the server to transcode it instead.  You could give that a try with just that TV series and see if it works for you.

Link to comment
Share on other sites

corey

Thanks @@ebr. I'm not sure if that'll work for my use case because I have MBC and Emby Server on the same machine.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...