maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Record All Sound With Python Gstreamer? (https://talk.maemo.org/showthread.php?t=22924)

Aisu 2008-08-17 14:34

Record All Sound With Python Gstreamer?
 
Hello!

Does anyone know how to record all the sounds coming from the tablet using either gstreamer, mplayer, or ffmpeg? (Preferably gstreamer, though.) I haven't found a way to do this after all my googling.

A way in Python would be nice, but anything from the command line would work just as well. It can be recorded in any format, too.

Any help or advice is much appreciated! :D

Thanks a lot!

ppafin 2008-08-18 15:53

Re: Record All Sound With Python Gstreamer?
 
I was looking solution for similar application, but there seemed to be no decent and simple solution, which is little strange. I got some hints;

http://www.internettablettalk.com/fo...ad.php?t=22202

Johnx 2008-08-18 16:44

Re: Record All Sound With Python Gstreamer?
 
Not entirely sure this is possible, since sound is mixed on the DSP which talks directly to the sound hardware, from what I understand...

ppafin 2008-08-19 02:17

Re: Record All Sound With Python Gstreamer?
 
I think it's possible, because maemorec handless it (recording audio) correctly. I just wanted command line application for such purpose. I am actively still looking solution for this and wiling to even pay some one to do it for us.

hozano 2008-09-02 18:07

Re: Record All Sound With Python Gstreamer?
 
Hi.

You can use the Easy API [1] to record sound with python and GStreamer. The actual SVN version contains bug fixes. The version 0.5 of Easy will be released in next weeks.

Regards.
Mário Hozano

[1] http://easy.garage.maemo.org/

lardman 2008-09-09 08:21

Re: Record All Sound With Python Gstreamer?
 
Quote:

I think it's possible, because maemorec handless it (recording audio) correctly.
Does it record audio which is generated by the system (i.e. exactly what you want) or does it record from the microphone?

Quote:

Does anyone know how to record all the sounds coming from the tablet using either gstreamer, mplayer, or ffmpeg? (Preferably gstreamer, though.) I haven't found a way to do this after all my googling.
With GStreamer I don't see why you couldn't insert a (GStreamer software component) splitter (or whatever the correct terminology is) and pipe the output to file (while leaving the other side to go to the usual audio sink). I'm not sure if this can be achieved by tweaking conf files, or if it's hardwired into the media player though.

With mplayer can the output not simply be sent to a file rather than the audio hardware (e.g. -dumpaudio, it may also be possible to grab the audio later in the decode process, anyone know)?


All times are GMT. The time now is 21:28.

vBulletin® Version 3.8.8