FAQ  •  Register  •  Login

[RESOLVED]Why won't this play on xbox 360?

<<

iMcRabbi

User avatar

Serviio newbie

Posts: 13

Joined: Sun Aug 07, 2011 5:22 am

Post Tue Jul 03, 2012 10:55 pm

[RESOLVED]Why won't this play on xbox 360?

Thanks in advance. My understanding is that xbox 360 should support AAC in 2 channel. I have Serviio set to downmix to 2 channel. I'm using the English, as it is default.

General
Unique ID : 186694470158347992874380008967813985480 (0x8C740C0BA9753D07A3C146BAA46BF4C8)
Complete name : [Arigatou]_Fullmetal_Alchemist_Brotherhood_s01e01_[720p.x264.AAC][4C4982D5].mkv
Format : Matroska
Format version : Version 2
File size : 451 MiB
Duration : 24mn 29s
Overall bit rate : 2 572 Kbps
Movie name : Fullmetal Alchemist
Encoded date : UTC 2010-05-14 10:18:36
Writing application : mkvmerge v3.0.0 ('Hang up your Hang-Ups') built on Dec 12 2009 15:20:35
Writing library : libebml v0.7.9 + libmatroska v0.8.1

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 16 frames
Codec ID : V_MPEG4/ISO/AVC
Duration : 24mn 29s
Nominal bit rate : 2 200 Kbps
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.100
Writing library : x264 core 80 r1376M 3feaec2
Encoding settings : cabac=1 / ref=16 / deblock=1:-1:-1 / analyse=0x3:0x133 / me=tesa / subme=9 / psy=1 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=6 / sliced_threads=0 / nr=0 / decimate=0 / mbaff=0 / constrained_intra=0 / bframes=4 / b_pyramid=0 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / wpredp=2 / keyint=250 / keyint_min=25 / scenecut=40 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=2200 / ratetol=1.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / aq=1:1.00
Default : Yes
Forced : No

Audio #1
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 24mn 29s
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Compression mode : Lossy
Title : English (5.1)
Language : English
Default : Yes
Forced : No

Audio #2
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : HE-AAC / LC
Codec ID : A_AAC
Duration : 24mn 29s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz / 24.0 KHz
Compression mode : Lossy
Title : Japanese (2.0)
Language : Japanese
Default : No
Forced : No

Text #1
ID : 4
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Title : Titles and Signs
Language : English
Default : Yes
Forced : No

Text #2
ID : 5
Format : VobSub
Muxing mode : zlib
Codec ID : S_VOBSUB
Codec ID/Info : The same subtitle format used on DVDs
Title : Audio
Language : Japanese
Default : No
Forced : No

Menu
00:00:00.000 : en:Prologue
00:01:00.071 : en:Opening
00:02:29.847 : en:Part A
00:10:56.302 : en:Part B
00:22:27.651 : en:Ending
00:23:58.533 : en:Preview
Last edited by iMcRabbi on Thu Jul 05, 2012 7:03 pm, edited 1 time in total.
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Jul 04, 2012 6:55 am

Re: Why won't this play on xbox 360?

Could you enable detailed logging (see signature), and found the ffmpeg command line used to deliver this mkv file?
Try the same command line locally, and check if errors occured.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 04, 2012 9:24 am

Re: Why won't this play on xbox 360?

Probably because it's AVC 5.0 profile (16 ref frames).
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Wed Jul 04, 2012 2:30 pm

Re: Why won't this play on xbox 360?

zip wrote:Probably because it's AVC 5.0 profile (16 ref frames).

Yes but for xbox 360, all are transcoded, so its probably ffmpeg process crash.
Illico
Sony 2010 KDL-46EX501 | BDP-S373 | SMP-N100 | Windows 8-i7 | Network DD HD-CE1.5TLU2 | Livebox2-UHD86 | ServiiDroid | ServiiGo | BubbleUPnP
Serviio beta tester - Moderator
<<

iMcRabbi

User avatar

Serviio newbie

Posts: 13

Joined: Sun Aug 07, 2011 5:22 am

Post Wed Jul 04, 2012 4:14 pm

Re: Why won't this play on xbox 360?

zip wrote:Probably because it's AVC 5.0 profile (16 ref frames).


The only reason I woudn't suspect this is because another file does play on both my Sony SMP-100 and Xbox 360 which is also AVC 5.0 profile. However, it is using AC-3 audio format. I just thought that the serviio profile would transcode audio. I left the profiles at default after the last update so I'm certain I didn't break anything in there. The audio is the only difference I can find so I thought maybe if a trained eye looked at it, it might be obvious. I'll put the logging in debug mode and post results ASAP. Thanks again! :)

Here is the file that does work:


General
Unique ID : 176458210703844178260862891902202774976 (0x84C09D7D45B10D56AF9F29642F2B85C0)
Complete name : Fullmetal Alchemist Simple People.mkv
Format : Matroska
Format version : Version 2
File size : 174 MiB
Duration : 12mn 35s
Overall bit rate : 1 931 Kbps
Encoded date : UTC 2012-06-16 16:18:34
Writing application : mkvmerge v5.6.0 ('Kenya Kane') built on May 27 2012 16:44:04
Writing library : libebml v1.2.3 + libmatroska v1.3.0

Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : High@L5.0
Format settings, CABAC : Yes
Format settings, ReFrames : 16 frames
Muxing mode : Header stripping
Codec ID : V_MPEG4/ISO/AVC
Duration : 12mn 35s
Width : 1 280 pixels
Height : 720 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Writing library : x264 core 112
Encoding settings : cabac=1 / ref=16 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=10 / psy=1 / psy_rd=0.40:0.00 / mixed_ref=1 / me_range=24 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=12 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=16 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=240 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=50 / rc=crf / mbtree=1 / crf=17.0 / qcomp=0.60 / qpmin=3 / qpmax=51 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language : English
Default : Yes
Forced : No
Color primaries : BT.709-5, BT.1361, IEC 61966-2-4, SMPTE RP177
Transfer characteristics : BT.709-5, BT.1361
Matrix coefficients : BT.709-5, BT.1361, IEC 61966-2-4 709, SMPTE RP177

Audio #1
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Muxing mode : Header stripping
Codec ID : A_AC3
Duration : 12mn 35s
Bit rate mode : Constant
Bit rate : 448 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Side: L R, LFE
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 40.4 MiB (23%)
Default : Yes
Forced : No

Audio #2
ID : 3
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : A_AAC
Duration : 12mn 35s
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Default : No
Forced : No

Text
ID : 4
Format : PGS
Muxing mode : zlib
Codec ID : S_HDMV/PGS
Codec ID/Info : The same subtitle format used on BDs/HD-DVDs
Language : English
Default : Yes
Forced : No
<<

iMcRabbi

User avatar

Serviio newbie

Posts: 13

Joined: Sun Aug 07, 2011 5:22 am

Post Wed Jul 04, 2012 4:26 pm

Re: Why won't this play on xbox 360?

Found this in the log:

2012-07-04 09:18:39,683 ERROR [ResourceTransportRequestHandler] Error while processing resource, sending back 500 error. Message: FFmpeg execution failed
java.io.IOException: FFmpeg execution failed
at org.serviio.delivery.resource.transcode.FileBasedTranscodingDeliveryStrategy.createInputStream(FileBasedTranscodingDeliveryStrategy.java:47)
at org.serviio.delivery.resource.transcode.AbstractTranscodingDeliveryEngine.retrieveTranscodedResource(AbstractTranscodingDeliveryEngine.java:129)
at org.serviio.delivery.resource.AbstractDeliveryEngine.deliver(AbstractDeliveryEngine.java:96)
at org.serviio.delivery.MediaResourceRetrievalStrategy.retrieveResource(MediaResourceRetrievalStrategy.java:121)
at org.serviio.upnp.webserver.ResourceTransportRequestHandler.handleRequest(ResourceTransportRequestHandler.java:116)
at org.serviio.upnp.webserver.AbstractRequestHandler.handle(AbstractRequestHandler.java:54)
at org.apache.http.protocol.HttpService.doService(HttpService.java:293)
at org.serviio.upnp.webserver.ServiioHttpService.doService(ServiioHttpService.java:58)
at org.apache.http.protocol.HttpService.handleRequest(HttpService.java:212)
at org.serviio.upnp.webserver.WebServer$WorkerThread.run(WebServer.java:187)

Does this mean anything?
<<

iMcRabbi

User avatar

Serviio newbie

Posts: 13

Joined: Sun Aug 07, 2011 5:22 am

Post Wed Jul 04, 2012 4:53 pm

Re: Why won't this play on xbox 360?

Illico wrote:Could you enable detailed logging (see signature), and found the ffmpeg command line used to deliver this mkv file?
Try the same command line locally, and check if errors occured.


After changing the name of the directory (for some reason it was hacking off the portion after the space), I ran the ffmpeg command manually and got this:


ffmpeg -i /home/media/public/fmab/[Arigatou]_Fullmetal_Alchemist_Brotherhood_s01e40_[720p.x264.AAC][B91E8328].mkv -y -async 1 -vcodec wmv2 -b 15360k -maxrate 15360k -bufsize 15360k -r 24000/1001 -g 15 -copyts -acodec wmav2 -ab 192k -ac 2 -map 0:0 -map 0:1 -sn -f asf /tmp/Serviio/transcoding-temp-30567-ASF.stf
ffmpeg version 0.8.1-4:0.8.1-0ubuntu1, Copyright (c) 2000-2011 the Libav developers
built on Mar 22 2012 05:29:10 with gcc 4.6.3
This program is not developed anymore and is only provided for compatibility. Use avconv instead (see Changelog for the list of incompatible changes).
[matroska,webm @ 0x9d1aaa0] max_analyze_duration reached
[matroska,webm @ 0x9d1aaa0] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 47.95 (20000000/417083) -> 23.98 (24000/1001)
Input #0, matroska,webm, from '/home/media/public/fmab/[Arigatou]_Fullmetal_Alchemist_Brotherhood_s01e40_[720p.x264.AAC][B91E8328].mkv':
Metadata:
title : Homunculus (The Dwarf in the Flask)
Duration: 00:24:29.61, start: 0.000000, bitrate: N/A
Chapter #0.0: start 0.000000, end 91.008000
Metadata:
title : 00:00:00.000
Chapter #0.1: start 91.008000, end 694.027000
Metadata:
title : 00:01:31.008
Chapter #0.2: start 694.027000, end 1303.010000
Metadata:
title : 00:11:34.027
Chapter #0.3: start 1303.010000, end 1392.975000
Metadata:
title : 00:21:43.010
Chapter #0.4: start 1392.975000, end 1438.437000
Metadata:
title : 00:23:12.975
Chapter #0.5: start 1438.437000, end 1469.611000
Metadata:
title : 00:23:58.437
Stream #0.0: Video: h264 (High), yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc (default)
Stream #0.1(eng): Audio: aac, 48000 Hz, 5.1, s16 (default)
Metadata:
title : English (5.1)
Stream #0.2(jpn): Audio: aac, 48000 Hz, stereo, s16
Metadata:
title : Japanese (2.0)
Stream #0.3(eng): Subtitle: dvdsub (default)
Metadata:
title : Titles and Signs
Stream #0.4(jpn): Subtitle: dvdsub
Metadata:
title : Audio
[buffer @ 0x9d3f6e0] w:1280 h:720 pixfmt:yuv420p
[wmv2 @ 0x9efaf80] impossible bitrate constraints, this will fail
Output #0, asf, to '/tmp/Serviio/transcoding-temp-30567-ASF.stf':
Metadata:
title : Homunculus (The Dwarf in the Flask)
WM/EncodingSettings: Lavf53.21.0
Chapter #0.0: start 0.000000, end 91.008000
Metadata:
title : 00:00:00.000
Chapter #0.1: start 91.008000, end 694.027000
Metadata:
title : 00:01:31.008
Chapter #0.2: start 694.027000, end 1303.010000
Metadata:
title : 00:11:34.027
Chapter #0.3: start 1303.010000, end 1392.975000
Metadata:
title : 00:21:43.010
Chapter #0.4: start 1392.975000, end 1438.437000
Metadata:
title : 00:23:12.975
Chapter #0.5: start 1438.437000, end 1469.611000
Metadata:
title : 00:23:58.437
Stream #0.0: Video: wmv2, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], q=2-31, 15360 kb/s, 1k tbn, 23.98 tbc (default)
Stream #0.1(eng): Audio: wmav2, 48000 Hz, 2 channels, s16, 192 kb/s (default)
Metadata:
title : English (5.1)
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press ctrl-c to stop encoding
Resampling output channel count must be 1 or 2 for mono input; 1, 2 or 6 for stereo input; or N for N channel input.
Can not resample 6 channels @ 48000 Hz to 2 channels @ 48000 Hz


It would seem this is something that must be addressed in the profile settings?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Jul 04, 2012 7:04 pm

Re: Why won't this play on xbox 360?

try to upgrade FFmpeg and run the command again (you have 0.8)
<<

iMcRabbi

User avatar

Serviio newbie

Posts: 13

Joined: Sun Aug 07, 2011 5:22 am

Post Thu Jul 05, 2012 7:01 pm

Re: Why won't this play on xbox 360?

zip wrote:try to upgrade FFmpeg and run the command again (you have 0.8)


Upgrading ffmpeg, seems to have cured the problem on both my Sony-SMP100 and Xbox 360. Thank you! :)

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 15 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.