With caps, suitable for CD burning
authorJohan Dahlin <johan@gnome.org>
Mon, 29 Mar 2004 10:27:27 +0000 (10:27 +0000)
committerJohan Dahlin <johan@gnome.org>
Mon, 29 Mar 2004 10:27:27 +0000 (10:27 +0000)
Original commit message from CVS:
With caps, suitable for CD burning

examples/gst/wavenc.py

index 9263fdf..e40ec68 100644 (file)
@@ -4,7 +4,7 @@ import gst
 
 def decode(filename):
     output = filename + '.wav'
-    pipeline = ('filesrc location="%s" ! spider ! wavenc ! '
+    pipeline = ('filesrc location="%s" ! spider ! audio/x-raw-int,rate=44100,stereo=2 ! wavenc ! '
                 'filesink location="%s"') % (filename, output)
     
     bin = gst.parse_launch(pipeline)