Rhytha Web
2010-Oct-13 11:05 UTC
[Icecast] Need a help on Online Video Streaming using IceCast
Hello, We are working on the Radio station project and we are trying to implement the Live Video Streaming module using Icecast server with VLC player. We have installed and configured the Icecast into our server. Also, we have installed the VLC player in our local desktop computer. The USB webcam(200 CMOS UCAM - DLC220T) has been connected into my machine. Now we are trying to live video streaming into our website. We tried in VLC player to configure through Icecast for streaming but nothing works. But the VLC player deducts webcam and showing the video picture in the VLC player. *Whether the IceCast will only support the audio streaming or IceCast will also support live online video streaming for my website?* pls help us on this, becoz we are trying this for long time and could not find the solution for it. *It would be great if you can send us any correct online documentation for configuring the IceCast with VLC player for live video streaming* Thanks in advance!!! Regards Arun -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20101013/a96eeaf0/attachment.htm
Andres Gonzalez
2010-Oct-13 11:22 UTC
[Icecast] Need a help on Online Video Streaming using IceCast
On 13/10/10 13:05, Rhytha Web wrote:> Hello, > > We are working on the Radio station project and we are trying to > implement the Live Video Streaming module using Icecast server with > VLC player. > > We have installed and configured the Icecast into our server. Also, we > have installed the VLC player in our local desktop computer. > > The USB webcam(200 CMOS UCAM - DLC220T) has been connected into my > machine. Now we are trying to live video streaming into our website. > > We tried in VLC player to configure through Icecast for streaming but > nothing works. But the VLC player deducts webcam and showing the video > picture in the VLC player. > > *Whether the IceCast will only support the audio streaming or IceCast > will also support live online video streaming for my website?*Hi, I have successfuly used icecast to live stream video and audio in ogg format in a local host. Could you please elaborate on how you are sending the video to the server?> pls help us on this, becoz we are trying this for long time and could > not find the solution for it. > > *It would be great if you can send us any correct online documentation > for configuring the IceCast with VLC player for live video streaming* > > Thanks in advance!!! > > Regards > ArunRegards, Andr?s> > > _______________________________________________ > Icecast mailing list > Icecast at xiph.org > http://lists.xiph.org/mailman/listinfo/icecast-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20101013/29234532/attachment.htm
Andres Gonzalez
2010-Oct-14 10:33 UTC
[Icecast] Need a help on Online Video Streaming using IceCast
On 13/10/10 13:05, Rhytha Web wrote:> > We tried in VLC player to configure through Icecast for streaming but > nothing works. But the VLC player deducts webcam and showing the video > picture in the VLC player. > > *Whether the IceCast will only support the audio streaming or IceCast > will also support live online video streaming for my website?* > > pls help us on this, becoz we are trying this for long time and could > not find the solution for it. > > *It would be great if you can send us any correct online documentation > for configuring the IceCast with VLC player for live video streaming* > > Thanks in advance!!! > > Regards > Arun >Hello again, I'm not sure to understand you, but it seems that your system is missing something. When you use IceCast, there must be, apart from the icecast server, a source (in the radio station), and the listeneres. As far as I know, VLC is a player, so it is what a listener uses to listen/watch the stream that the server is sending. But you need also something to send the data to the server (e.g. oggfwd, or many others). I'm not sure if you can use VLC for this. I suggest reading the following links: http://en.flossmanuals.net/TheoraCookbook/WhatIsStreaming http://en.flossmanuals.net/TheoraCookbook/IcecastIntro On the other hand, are you running Windows, Linux, ...? If you're running Linux, you can use for example GStreamer to send video to your icecast server, typing the following command in a console (all in one line). gst-launch-0.10 -v v4l2src device=/dev/video0 ! video/x-raw-yuv,width=320,height=240 ! queue ! videorate ! video/x-raw-yuv,framerate=25/2 ! videoscale ! video/x-raw-yuv,width=360,height=288 ! theoraenc ! oggmux ! shout2send ip=localhost port=8000 mount=stream.ogg password=hackme (of course, you should change ip, port, etc with your own values). Alternatively, FFmpeg could be used. The following command used to work for me (one line): ffmpeg -f oss -i /dev/dsp -f video4linux2 -i /dev/video0 -s 320x240 -r 25 -aq 2 -ac 2 -ar 44100 -acodec libvorbis -f ogg - | oggfwd localhost 8000 hackme /stream.ogg But it stopped working with recent versions of FFmpeg (I don't know why). I hope this helps you. Feel free to ask further questions. Regards, Andr?s -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/pipermail/icecast/attachments/20101014/7b0fadce/attachment.htm
Thomas B. Ruecker
2010-Oct-14 10:41 UTC
[Icecast] Need a help on Online Video Streaming using IceCast
On Thu, Oct 14, 2010 at 12:33:21PM +0200, Andres Gonzalez wrote:> On 13/10/10 13:05, Rhytha Web wrote: > the data to the server (e.g. oggfwd, or many others). I'm not sure if > you can use VLC for this.Actually you can, here's an example: vlc #some-input-statement# --sout="#transcode{vcodec=theo,vb=1000,scale=0.5,acodec=vorb,ab=96,channels=2}:duplicate{dst=std{access=shout,mux=ogg,dst=source:password at localhost:8000/stream.ogg}}" Notice that live video encoding needs a _lot_ of horse-power, a LOT! Cheers Thomas