Skip to content Skip to sidebar Skip to footer

Python Gstreamer Record Audio From Mic And Play Immediately

I want to record audio from mic and play it immediately from same pc's speakers using gstreamer. In other words; make a wire between input and output record a few samples and play

Solution 1:

After audioconvert, you can add a tee and queue to have a new branch. You can have something like that:

autoaudiosrc ! audioconvert ! tee name="source" ! queue ! vorbisenc ! oggmux ! filesink location=file.ogg source. ! queue ! audioconvert ! alsasink

Post a Comment for "Python Gstreamer Record Audio From Mic And Play Immediately"