[solved]how to stream with vlc including ac3?

If you need any help with XBMC4XBOX, such as installing or using the software, please post it in here.
Post Reply
powerkutte
Posts: 9
Joined: Sun Jan 20, 2013 1:40 am
Has thanked: 1 time

[solved]how to stream with vlc including ac3?

Post by powerkutte »

hi there,

just bought an optical output adapter for my xbox so i can watch movies woth ac3 sound.

however, since xbox cannot handle HD videos, i still need to recode or stream them e.x. via vlc

i treid this command but have no sound:
start H:\vlc-2.0.5\vlc.exe %1 :sout=#transcode{vcodec=h264,vb=800,scale=1,width=720,height=576,acodec=AC3}:http{mux=ts,dst=:8888/} :sout-keep

any experience how to downscale videos on the fly but preserving the ac3 sound to work with xbox?
thank you so much in advance ^^

i think the problem is that xbmc normally just passes the ac3-stream directly to the digital output, wich maybe does not work in streams? or maybe vlc is not capale of streaming ac3 tracks?
Last edited by powerkutte on Mon Oct 21, 2013 9:55 pm, edited 1 time in total.
User avatar
BuZz
Site Admin
Posts: 1891
Joined: Wed Jul 04, 2012 12:50 am
Location: UK
Has thanked: 66 times
Been thanked: 423 times
Contact:

Re: how to stream with vlc including ac3?

Post by BuZz »

tried leaving out the acodec= stuff ? should keep it the same then.
User avatar
Dan Dar3
Posts: 1176
Joined: Sun Jul 08, 2012 4:09 pm
Has thanked: 273 times
Been thanked: 257 times
Contact:

Re: how to stream with vlc including ac3?

Post by Dan Dar3 »

@powerkutte
The blog post I wrote transcodes to WMV/WMA, but I guess you could try going through the wizard and check the box for "Audio Codec" > "Keep original audio track" and see what options it generates in the end.
http://dandar3.blogspot.com/2010/12/vlc ... c-for.html

To test whether the stream is good, you can open up that up from another device or even maybe VLC on the same PC and connect to it, see if you got sound there.

Then, if you want to look at it from the XBMC4Xbox side, you need to enable debug mode and look at the generate log statements - should tell you about the audio/video streams.
http://www.xbmc4xbox.org.uk/forum/viewt ... p?f=6&t=65
powerkutte
Posts: 9
Joined: Sun Jan 20, 2013 1:40 am
Has thanked: 1 time

Re: how to stream with vlc including ac3?

Post by powerkutte »

BuZz wrote:tried leaving out the acodec= stuff ? should keep it the same then.
works perfectly for LAN, xbmc now offers all audio tracks and passes the selected one directly to the optical output!

thx! :D
Post Reply