FAQ  •  Register  •  Login

Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

<<

Encrypted

Serviio newbie

Posts: 15

Joined: Sat Feb 12, 2011 11:05 pm

Post Sat Feb 12, 2011 11:11 pm

Re: Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

I have a similar issue with PS3. PS3 supports AAC but my reciever doesn't. So, the profile for PS3 sends AAC straight through because it thinks my PS3 takes it but I get only 2 Ch audio because the PS3 downmixes it to make it compatible with my receiver.

What I did was add this line to my PS3 profile:

<Matches container="mp4" aCodec="aac" />

Now AAC 5.1 gets trancoded to AC3 5.1. If I understand your problem correctly this should work for you as well.

Actually, I just re-read your post. This probably won't work. Are you sayiong Xbox 360 doesn't support multi channel audio at all? That sucks.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sun Feb 13, 2011 12:41 pm

Re: Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

Encrypted wrote:Actually, I just re-read your post. This probably won't work. Are you sayiong Xbox 360 doesn't support multi channel audio at all? That sucks.

I think it does but only with Wma Pro (which we cannot encode AFAIK).
<<

dougri

Streaming enthusiast

Posts: 26

Joined: Thu Feb 10, 2011 5:54 pm

Post Fri Feb 18, 2011 7:18 pm

Re: Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

Realized same thing this morning playing m4v (mp4, ac3 5.1) over atv2, ps3 and xbox360... trying to settle on an encode that works with all three devices... the xbox 360 will not play the ac3/5.1, but will play stereo. As the TV I have the xbox connected to is only stereo, that is fine with me... should this be a simple audio transcode in the xbox360 profile? is there a way to force all 5.1 content to the xbox 360 to stereo as long as it is not WMAPro? If so, maybe this should be included in the standard xbox360 profile since it does not support 5.1 any other way?
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Fri Feb 18, 2011 11:05 pm

Re: Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

maybe. there could be a forceStereo="true" on the profile I guess that will overwrite whatever is in the console. Create a bitbucket ticket if you'd like that feature
<<

dougri

Streaming enthusiast

Posts: 26

Joined: Thu Feb 10, 2011 5:54 pm

Post Fri Feb 18, 2011 11:20 pm

Re: Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

I think you might have misunderstood??? I WANT it to play stereo when feeding the xbox 360, but it will not play it at all unless I encode a stereo file in the library. I'll try force stereo tonight in the Xbox profile. thanks.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17215

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Feb 19, 2011 12:49 am

Re: Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

it wont work, you can only force it in the console now for all profiles. I was suggesting turning it on per profile
<<

dougri

Streaming enthusiast

Posts: 26

Joined: Thu Feb 10, 2011 5:54 pm

Post Sat Feb 19, 2011 1:22 am

Re: Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

any chance you could post what that would look like in the profile? here is the log when I try to play the ac3 encoded file (AVC_MP4_MP_SD_AC3), and the one when it successfully plays the same movie with a stereo encode selected in handbrake (shows up as AVC_MP4_MP_SD_AAC_MULT5):


2011-02-18 17:07:28,040 DEBUG [LocalContentCacheDecorator] Found entry in the cache (local_default), returning it
2011-02-18 17:07:28,119 DEBUG [ServiceControlRequestHandler] Returning OK SOAP message
2011-02-18 17:07:36,636 DEBUG [WebServer] Incoming connection from ...
2011-02-18 17:07:36,637 DEBUG [ResourceTransportRequestHandler] GET /resource/242/MEDIA_ITEM/AVC_MP4_MP_SD_AC3 HTTP/1.1, headers = [User-Agent: Xenon,Connection: Keep-alive,Host: ...]]
2011-02-18 17:07:36,637 DEBUG [RendererDAOImpl] Reading a Renderer with ip address ...
2011-02-18 17:07:36,638 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/..., Profile=XBox 360'
2011-02-18 17:07:36,639 DEBUG [ResourceTransportRequestHandler] Request for resource 242 and type 'MEDIA_ITEM' received
2011-02-18 17:07:36,639 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 242)
2011-02-18 17:07:36,641 DEBUG [VideoDAOImpl] Reading a Video (id = 242)
2011-02-18 17:07:36,643 DEBUG [VideoDeliveryEngine] Delivering item '242' for client 'IPAddress=/..., Profile=XBox 360'
2011-02-18 17:07:36,643 DEBUG [VideoDeliveryEngine] Delivering file 'SWIV1.m4v' in native format
2011-02-18 17:07:36,643 DEBUG [MediaItemDAOImpl] Getting file of media item 242
2011-02-18 17:07:36,647 DEBUG [MediaItemDAOImpl] Marking MediaItem (id = 242) as read
2011-02-18 17:07:36,664 DEBUG [LocalContentCacheDecorator] Cleared cache (local_resetafterplay)
2011-02-18 17:07:36,665 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 2100119571
2011-02-18 17:07:36,665 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-02-18 17:07:36,665 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 200 OK, headers = [[Content-Type: video/mp4,Content-Length: 2100119571,Date: Sat, 19 Feb 2011 01:07:36 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/0.5,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
2011-02-18 17:07:37,486 DEBUG [WebServer] I/O error: Connection reset


and the successful one:

2011-02-18 17:19:00,545 DEBUG [WebServer] Incoming connection from /...
2011-02-18 17:19:00,545 DEBUG [ResourceTransportRequestHandler] GET /resource/241/MEDIA_ITEM/AVC_MP4_MP_SD_AAC_MULT5 HTTP/1.1, headers = [User-Agent: Xenon,Connection: Keep-alive,Host:...,RANGE: bytes=6784666-]]
2011-02-18 17:19:00,546 DEBUG [RendererDAOImpl] Reading a Renderer with ip address ...
2011-02-18 17:19:00,547 DEBUG [ResourceTransportRequestHandler] Resource request accepted. Using client 'IPAddress=/..., Profile=XBox 360'
2011-02-18 17:19:00,548 DEBUG [ResourceTransportRequestHandler] Request for resource 241 and type 'MEDIA_ITEM' received
2011-02-18 17:19:00,548 DEBUG [MediaItemDAOImpl] Reading a MediaItem (id = 241)
2011-02-18 17:19:00,550 DEBUG [VideoDAOImpl] Reading a Video (id = 241)
2011-02-18 17:19:00,552 DEBUG [VideoDeliveryEngine] Delivering item '241' for client 'IPAddress=/..., Profile=XBox 360'
2011-02-18 17:19:00,552 DEBUG [VideoDeliveryEngine] Delivering file 'StarWarsEpisodeIV.m4v' in native format
2011-02-18 17:19:00,552 DEBUG [MediaItemDAOImpl] Getting file of media item 241
2011-02-18 17:19:00,556 DEBUG [ResourceTransportRequestHandler] Creating stream entity with length: 998054736
2011-02-18 17:19:00,556 DEBUG [ResourceTransportRequestHandler] Sending file back
2011-02-18 17:19:00,557 DEBUG [ResourceTransportRequestHandler] HTTP/1.1 206 Partial Content, headers = [[Content-Type: video/mp4,Content-Range: bytes 6784666-1004839401/1004839402,Content-Length: 998054736,Date: Sat, 19 Feb 2011 01:19:00 GMT,Server: Linux, UPnP/1.0 DLNADOC/1.50, Serviio/0.5,Cache-control: no-cache,transferMode.dlna.org: Streaming]]
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Sat Feb 19, 2011 2:15 pm

Re: Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

this feature is NOT availible yet, what zip is saying is make a feature request on BITbucket and he will see if it can be added to serviio for a later release. i can add that request for u if u want ?
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

dougri

Streaming enthusiast

Posts: 26

Joined: Thu Feb 10, 2011 5:54 pm

Post Sat Feb 19, 2011 5:00 pm

Re: Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

gotcha... I'd appreciate it.
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Sat Feb 19, 2011 5:17 pm

Re: Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

dougri

Streaming enthusiast

Posts: 26

Joined: Thu Feb 10, 2011 5:54 pm

Post Mon Feb 21, 2011 7:07 am

Re: Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

thanks. I found a short-term solution for my needs: I just encode with an old xb360 handbrake profile, but add ac3 passthru as a second audio track... as long as the first is aac stereo, it plays well on xb360, ps3 and with ac3 passthru on atv2 (which I wanted since that room has surround). All is well with my AV universe (for now ;) )
<<

Cerberus

User avatar

DLNA master

Posts: 4114

Joined: Sun Jan 02, 2011 5:20 pm

Location: Reading, UK

Post Sat Feb 26, 2011 6:04 pm

Re: Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

Bitbucket Update: This has now been marked as RESOLVED as of version 0.5.1
Phil Bennett
Beta Tester Group
Wiki | FAQ

Samsung LE40C750 LCD | Samsung BD-C5900 | Sony PS3 | Windows 7 |
HowTo: Provide supported formats of a device HowTo: Record a new ticket on Bitbucket
HowTo: Provide details of a video file that doesn't play HowTo: Turn on detailed logging
<<

ronkkrop

Serviio newbie

Posts: 1

Joined: Thu Jun 16, 2011 7:27 am

Post Thu Jun 16, 2011 7:33 am

Re: Transcode 5.1 to 2.0 for XBOX 360 (mp4 file)

Apparently there was a patch made for ffmpeg to address this issue a while ago. The link below provides a .diff to patch resample.c and allow 5.1 to stereo conversion in ffmpeg.

http://patches.libav.org/patch/3356/

I don't run serviio on my linux box or i'd compile this myself. I do run serviio on my windows box but i don't have a compiler on it....is anybody out there willing to compile ffmpeg with this patch and provide us with the windows binary?

Thanks in advance.
Next

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 32 guests

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