[gst-devel] Icecast a dv stream via ogg

matheist76 at westnet.com.au matheist76 at westnet.com.au
Wed May 12 09:02:18 CEST 2010


Thanks for that. It's now working real well. 

Matt.
----- Original Message -----
From: "Ben Schwartz" <bmschwar at fas.harvard.edu>
To: "Discussion of the development of GStreamer" <gstreamer-devel at lists.sourceforge.net>
Sent: Wednesday, 12 May, 2010 5:12:42 AM GMT +10:00 Brisbane
Subject: Re: [gst-devel] Icecast a dv stream via ogg

On Wed, 2010-05-12 at 02:48 +0800, matheist76 at westnet.com.au wrote:
> test.ogg was created using this script, CPU 32% and 100%
> gst-launch-0.10 dv1394src ! queue ! dvdemux ! queue ! ffdec_dvvideo ! queue ! theoraenc quality=4 ! oggmux name=mux ! filesink location=test.ogg


> ----- Original Message -----
> From: "Ben Schwartz" <bmschwar at fas.harvard.edu>
> Is the CPU usage below 100% on all cores?  Most gstreamer elements just
> fail hard when the system runs out of CPU.

You don't have enough CPU to run theoraenc at 720x480x30fps in real
time, which is what ffdec_dvvideo is providing.  You can try invoking
theoraenc with speed-level=2, which is far less bitrate-efficient but
about twice as fast.

Really, though, you should be downscaling the input.  Specifically, you
should throw away one field, and then probably rescale to 320x240 before
encoding.  That (with a queue) will give you enough CPU, and also get
rid of the terrible interlacing artifacts.

--Ben


------------------------------------------------------------------------------

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel




More information about the gstreamer-devel mailing list