[gst-devel] 4 Channel Audio from raw DV

Tim Müller t.i.m at zen.co.uk
Tue Apr 15 10:35:31 CEST 2008


On Sun, 2008-04-13 at 18:42 +0300, Stefan Kost wrote:

> Georg von Kreisler schrieb:
> > I am looking for a solution to extract 4 channel Audio from a rawdv File 
> > captured with dvgrab (32000 khz 16 bit)
> > 
> > gst-launch filesrc location=test.dv ! dvdemux name=demux ! queue ! 
> > audioconvert ! audio/x-raw-int, depth=16, width=16, signed=true, 
> > channels=4, endianness=1, rate=32000
> > !  filesink location=test.wav
> 
> You've forgot wavenc. Can you try without conversion:
> 
> gst-launch filesrc location=test.dv ! dvdemux .audio ! wavenc ! filesink 
> location=test.wav

The wavenc element doesn't support more than 2 channels at the moment.
vorbisenc and wavpackenc should support this though:

.audio ! audioconvert ! vorbisenc ! oggmux ! filesink location=test.ogg

.audio ! audioconvert ! wavpackenc ! filesink location=test.wp

 Cheers
  -Tim






More information about the gstreamer-devel mailing list