[byzanz] Add raw audio support to FLV files



commit b1c6408c189bd3c04ef0c61bafd229df3603a261
Author: Benjamin Otte <otte redhat com>
Date:   Thu May 6 16:55:16 2010 +0200

    Add raw audio support to FLV files

 src/byzanzencoderflv.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/byzanzencoderflv.c b/src/byzanzencoderflv.c
index 5ff567a..fba8fcc 100644
--- a/src/byzanzencoderflv.c
+++ b/src/byzanzencoderflv.c
@@ -41,6 +41,9 @@ byzanz_encoder_flv_class_init (ByzanzEncoderFlvClass *klass)
 
   gstreamer_class->pipeline_string = 
     "appsrc name=src ! ffmpegcolorspace ! ffenc_flashsv buffer-size=8388608 ! flvmux ! giostreamsink name=sink";
+  gstreamer_class->audio_pipeline_string = 
+    "autoaudiosrc name=audiosrc ! audioconvert ! audio/x-raw-int,width=16 ! queue ! flvmux name=muxer ! giostreamsink name=sink "
+    "appsrc name=src ! ffmpegcolorspace ! ffenc_flashsv buffer-size=8388608 ! muxer.";
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]