es module does not seperate audio tracks

About encoding, codec settings, muxers and filter usage
jboileau
Blank Cone
Blank Cone
Posts: 17
Joined: 13 Dec 2005 21:05

es module does not seperate audio tracks

Postby jboileau » 13 Dec 2005 21:47

I am streaming a Divx video file that has 3 audio tracks (english, french and spanish), but all audio tracks are garbled into one when I try to play them at the receiving end. I need audio and video on differenet ports.

I stream using the following multicast command:

vlc C:\temp\ice_mulCBR.avi --sout #es{access=udp,mux=ts,dst-audio=239.20.30.40:1200,dst-video=239.20.30.40:1201} --sout-all

and try to play the audio using the following command:

vlc udp://@239.20.30.40:1200

Only one track appears under the audio/audiotrack menu in the player and all the language tracks seem to play at the same time in an incoherent bable. I am using vlc 0.8.4.

Any help would be greatly appreciated. Thanks!

Jacques Boileau

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 14 Dec 2005 23:20

seems like dst-audio sends each of the audio tracks to the udp address.

Could you try with something like

Code: Select all

#duplicate{dst=std{access=udp,mux=ts,url=ip:port},audio,dst=std{access=udp,mux=ts,url=ip2:port2},video}
check http://www.videolan.org/doc/streaming-h ... /ch03.html for more info.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

Guest

Postby Guest » 15 Dec 2005 19:48

Thanks! This seems to work. I had to change your command a little for it to work. I paste it here in case somebody stumbles on this thread.

Code: Select all

#duplicate{dst=std{access=udp,mux=ts,url=ip:port},select=audio,dst=std{access=udp,mux=ts,url=ip2:port2},select=video}
What is the difference between the es and duplicate modules? Why would I use one instead of the other? (In this of course is because one works and not th other)

Thanks for your help!


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 17 guests