recording with gstreamer

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

recording with gstreamer

xargon-2
Hello everyone,

Can someone point me to the elements that I would need to record some
audio with gstreamer using C. I can now playback simple audio files
with no problem but have no idea how to go about recording user audio.
I could not find any documentation and there is nothing on the web as
well that I could find. If someone could let me know which bits of the
documentation are relevant or give me some pseudocode/code snippet, I
would be really grateful.

Many thanks,

Luca

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: recording with gstreamer

Stefan Sauer
Am 04.02.2010 02:33, schrieb Luca Pamparana:
> Hello everyone,
>
> Can someone point me to the elements that I would need to record some
> audio with gstreamer using C. I can now playback simple audio files
> with no problem but have no idea how to go about recording user audio.
> I could not find any documentation and there is nothing on the web as
> well that I could find. If someone could let me know which bits of the
> documentation are relevant or give me some pseudocode/code snippet, I
> would be really grateful.

Its more or less the reverse of a playback pipeline.

play:
filesrc ! wavparse ! autoaudiosink

record:
autoaudiosrc ! wavenc ! filesink

what are you missing?

Stefan

>
> Many thanks,
>
> Luca
>
> ------------------------------------------------------------------------------
> The Planet: dedicated and managed hosting, cloud storage, colocation
> Stay online with enterprise data centers and the best network in the business
> Choose flexible plans and management services without long-term contracts
> Personal 24x7 support from experience hosting pros just a phone call away.
> http://p.sf.net/sfu/theplanet-com
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel