[Icecast] Need a help on Online Video Streaming using IceCast
acandido at hi-iberia.es
Thu Oct 14 03:33:21 PDT 2010
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!!!
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:
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Icecast