[Icecast] Does the icecast 2.2 works with video streaming?

Maglan Cristiano Diemer maglan at univates.br
Thu Jan 5 12:22:35 UTC 2006


I use gstreamer for this. Gstreamer capture video and audio from 
firewire (dv)
or video4linux device and send icecast server.

For video only (encode with Ogg theora) from dv camera:

$ gst-launch-0.8 \
         dv1394src ! \
         dvdec name=dv quality=5 ! \
	ffcolorspace ! "video/x-raw-yuv",format=\(fourcc\)I420 ! \
         ffvideoscale ! "video/x-raw-yuv",width=352,height=240 ! \
         theoraenc bitrate=128 keyframe_force=64 keyframe_freq=64 ! \
	oggmux name=mux { \
             mux. ! \
	    queue ! \
             shout2send ip=127.0.0.1 port=8000 password=hackme 
mount=gstreamer.ogg }

For video (OggTheora) and audio (OggVorbis) from dv camera:

$ gst-launch-0.8 \
	dv1394src ! \
	dvdec name=dv quality=5 \
        { dv.audio !  queue ! \
           audioscale ! audio/x-raw-int,rate=22050 ! \
           audioscale ! audio/x-raw-int,rate=11025 ! \
           audioconvert ! audio/x-raw-float,channels=1 ! \
           rawvorbisenc managed=true max-bitrate=16000  ! queue ! mux. } \
        { dv.video ! queue ! \
           ffcolorspace ! "video/x-raw-yuv",format=\(fourcc\)I420 ! \
           videodrop ! "video/x-raw-yuv",framerate=\(double\)9.0 ! \
           deinterlace ! \
           videoscale ! "video/x-raw-yuv",width=352,height=240 ! \
           theoraenc bitrate=116 keyframe_force=64 keyframe_freq=64 ! \
           queue ! mux. } \
        { oggmux name=mux ! \
           shout2send ip=127.0.0.1 port=8000 password=hackme 
mount=gstreamer.ogg }

-- 
Prof. Maglan Cristiano Diemer
maglan at univates.br

Daniel Quintana C. wrote:
> Hello,
> I need to transmit live video streaming, from my camera to the icecast
> server.  I already try the live audio streaming with Darkice and icecast.
> So i was wondering if the Icecast 2.2 could be used to be the video stream
> server for my live video streaming-
> 
> By the way, What i need to make a live video streaming ? ( i have a capture
> card and a dv camera).
> 
> Thanks a lot
> Daniel



More information about the Icecast mailing list