Page 1 of 1

combining multiple sources into one stream

Posted: 25 Mar 2005 16:33
by [JiF]Mike
Hello,

I have been pouring over the manuals and forums in search of a way to take a network video steam (via mmsh), and combine it with an mp3 playlist for a single stream of video and music viewers can experience. So far I have been able to get the video to stream from the source (a webcam) which is picked up by my webserver and rebroadcast to viewers. This works pretty darn well! I would now like to add an mp3 playlist to the stream at the webserver so I can conserve my home bandwidth for the video. Is this possible? I keep thinking that it might be, but I'm just too stupid to figure it out.

I have sent the audio by capturing the output of my sound card from my webcam pc, but this uses precious bandwidth. I've also had trouble with my webserver rebroadcasting the audio, it will not transcode it for some reason. Some error about 'no audio filter found'. I would prefer to add the audio at the webserver anyway.

If anyone has any ideas, or posts that I've missed talking about this, I would greatly appreciate a little direction. Thank you.

Posted: 25 Mar 2005 17:32
by [JiF]Mike
OK, I recompiled VLC with mad support enabled and I can now stream the audio and video from the source. However I would still like to add the audio at the webserver, if anyone knows of a way to do this. :)

dig it!

Posted: 30 Mar 2005 05:48
by frases
Hey Mike,
How did you get your web server to grab the streamed video and display it on your website? That's great! I know how to stream video using VLC from one PC to another, but I'm not sure how you make the web server aware of the stream.

frases

a little further..

Posted: 30 Mar 2005 17:24
by frases
Mike,
Now I see the way you've built your web page. With the "embed" tag, you're grabbing the contents of an mms stream. I understand now how you've got it working. Unforunately, I am having problems streaming mms content at home. I will solve that first.
thanks for the cool application of a stream!
frases

Posted: 31 Mar 2005 17:41
by [JiF]Mike
Sorry I didn't respond to your post, I think my reply notifications are off or something.

Anyway, yeah I use the <embed> tags, and just embed a media player. I'd prefer to embed VLC, but most people will not have VLC. If you need any help let me know. :)

thanks!

Posted: 01 Apr 2005 20:47
by frases
Mike,
I just solved my problem last night. I've posted the trials and tribulations over here:
viewtopic.php?t=8185

Still working out the kinks, but I got the cam integrated into a web page. Now for some bandwidth/codec testing! I'm trying to squeeze as much bandwidth as I can from a decent looking image, but I've only got down to a WMV stream that's about 92Kbps. I imagine that is still pretty fat. What bit rate/encoding schemes are u using?

frases