[theora-dev] Using ogg to do live broadcast

xiphmont at xiph.org xiphmont at xiph.org
Fri Jul 9 23:20:45 PDT 2010


Here is the single-bitrate (low bitrate) version of the script:

#!/bin/sh

gst-launch \
	   hdv1394src blocksize="4136" \
	     ! queue \
	     ! mpegtsdemux name=demux\
           demux. \
             ! queue \
	     ! mpeg2dec \
	     ! videorate \
	     ! video/x-raw-yuv,framerate=12/1 \
	     ! ffvideoscale \
	     ! video/x-raw-yuv,width=640,height=360,pixel-aspect-ratio=1/1 \
	     ! tee name=preview \
	     ! ffmpegcolorspace \
             ! queue \
	     ! theoraenc bitrate=200 keyframe-force=64 \
	     ! queue \
	     ! mux. \
            demux. \
             ! queue \
             ! mad \
             ! audioconvert \
             ! audioresample \
             ! audio/x-raw-float,channels=1,rate=16000 \
             ! queue \
             ! vorbisenc quality=0.5 \
             ! queue \
             ! mux.\
      	   preview. \
	     ! queue\
	     ! xvimagesink sync="false" \
	   oggmux name=mux \
	     ! queue \
	     ! progressreport \
	     ! shout2send ip=127.0.0.1 \
	       port=8000 password=passwordhere mount=stream.ogg

On Fri, Jul 9, 2010 at 11:27 PM, Basil Mohamed Gohar
<abu_hurayrah at hidayahonline.org> wrote:
> On 07/09/2010 06:56 PM, xiphmont at xiph.org wrote:
>> I also do regular streaming (for distributed department meetings at
>> RedHat) using an HDV camera, gstreamer and icecast. If you're
>> interested in the gstreamer route, I'll send along the script.
>>
>> Monty
>>
> I am also interested in this script.
> _______________________________________________
> theora-dev mailing list
> theora-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/theora-dev
>


More information about the theora-dev mailing list