[gst-devel] Icecast a dv stream via ogg
bmschwar at fas.harvard.edu
Tue May 11 21:12:42 CEST 2010
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.
More information about the gstreamer-devel