Combining rtsp video and http audio streams

About encoding, codec settings, muxers and filter usage
KingNAMS
New Cone
New Cone
Posts: 1
Joined: 18 Apr 2013 21:40

Combining rtsp video and http audio streams

Postby KingNAMS » 18 Apr 2013 21:56

I've got an IP camera with an rtsp output that I need to combine with an http stream from an IP audio encoder and I am having trouble doing so. I can successfully open each of the two streams separately (one at a time or at the same time in two separate instances of vlc). I first tried opening both streams via the gui with the "Play another media synchronously" option but I am having no luck. It only plays the first stream - the slave never seems to open. After researching here on the forums, I saw many other people that had issues with the slave command and had success using the VLM to re-broadcast both streams. I am very new to VLC and I tried to make this work but I am just not having any luck. I don't know what parameters I should add to the output of each stream so they will successfully combine. I think I'm supposed to add both streams in VLM and then connect with the VLC Player to http://127.0.0.1:8081/stream.flv if I use the default settings correct? I am not getting anything with that address so I am obviously doing something wrong. I would greatly appreciate some help in getting these two streams to combine into one.

Video stream: rtsp://pw:pw@192.168.0.10:8554/CH001.sdp
Audio stream: http://192.168.0.11/xstream

mundu
Blank Cone
Blank Cone
Posts: 53
Joined: 25 May 2011 19:56
VLC version: 2.1.5
Operating System: Linux

Re: Combining rtsp video and http audio streams

Postby mundu » 22 Apr 2013 18:11

Take a look at some examples : http://code.google.com/p/remotecadm/wik ... ipts_Linux

You should try to switch the input slave to your http stream.

new video broadcast enabled
setup video input "rtsp://pw:pw@192.168.0.10:8554/CH001.sdp"
setup video option input-slave=http://192.168.0.11/xstream"
setup video output #transcode{vcodec=mpgv,vb=800,scale=1,acodec=mpga,ab=96,channels=1,samplerate=44100}:std{access=http,mux=ts,dst=0.0.0.0:1234}
control video play

I would try something like this.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests