I need help combining an audio and video stream from my restreamed RTSP ip camera. Yeah yeah I know Wowza doesn’t support this, but it’s such a common problem, there must be a solution!
I have an IP camera without audio (format is not important, I’m re-encoding with VLC). I would like to combine a live audio source from my sound card and stream it with the video to the RTPLive application (for example). I can stream either the video or the audio, both work perfectly, just not together (the vlc.sdp file gets overwritten and the stream gets switched, on the fly, to whatever instance of VLC I start last, without even rebuffering! IMPRESSIVE!).
Here is what I run for VLC to get the video feed:
vlc -vvv rtsp://192.168.0.61:554 --noaudio --sout “#transcode{venc=x264{keyint=75,profile=baseline,level=3.0,nocabac,qpmax=36,qpmin=10,me=hex,merange=24,subme=9,qcomp=0.6},vcodec=x264,vb=500,scale=.5,fps=25,acodec=none}:duplicate{dst=rtp{dst=127.0.0.1,port-video=10000,sdp=file://c:/progra~1/wowzam~1/wowzam~1.3/content/vlc.sdp}}”
Works amazing! Flawlessly fluid progressive scan (non-interlaced) video, no compression artificats, great resolution (downscaled from 1280x960!!), just amazing!
To get audio I can run:
vlc dshow:// :dshow-vdev=none :dshow-adev=“SoundMAX HD Audio” --sout=#transcode{acodec=mp4a,ab=192,channels=1,samplerate=48000}:rtp{ddst=127.0.0.1,port-audio=10002,sdp=file://c:/progra~1/wowzam~1/wowzam~1.3/content/vlc.sdp}
Both work great, just not together. Is there nothing I can do to fudge the vlc.sdp file to point at both instances to get the audio and video streams? If they are on seperate ports 10000 and 10002 why not?! I can post the contents of each SDP file if that would help. I manually merged them with notepad, nothing played, just buffered forever.
Audio video sync is not important!
I’m cross posting this question in some VLC help forums… If I could just combine my RTSP input and a dshow input together in VLC, my problem would be solved Works fine with two dshow inputs (i.e. usb webcam and sound card), just not with RTSP. My attempts at using RTSP directshow filters have failed, even though this camera uses a super simple RTSP string (my guess is it’s super funky RTP packetization).
Screen capture from the actual 500kbps webfeed! http://likestuff.globat.com/boundin.jpg
-Jamie M.
(p.s. Wowza Media Server 2.2.3, VLC 1.05 Golden Eye for audio, VLC 1.0.3 for video, Windows XP 32bit)