How do I change the media format

Asked by Sebastian Oliva

I want to record lower quality OGG files, as the current org.gnome.audio-recorder media-format 'cdlossy' as specified on gsettings is too high resolution for my needs.

How can I do it?

Question information

Language:
English Edit question
Status:
Solved
For:
Audio Recorder Edit question
Assignee:
No assignee Edit question
Solved by:
moma
Solved:
Last query:
Last reply:
Revision history for this message
Best moma (osmoma) said :
#1

Hello,
The audio formats (media profiles) are hardcoded in src/media-profiles.c file. See the DefaultProfiles structure at the top of file.
http://bazaar.launchpad.net/~osmoma/audio-recorder/trunk/view/head:/src/media-profiles.c

Add a new line for OGG, save the file and re-compile audio-recorder from source. The first field should be a unique key (like "cdlossy2") . Please read the INSTALL file and apt-get all required packages. Then follow the instructions. It is easy to do.

Greetings
  Osmo Antero

Revision history for this message
Sebastian Oliva (tian2992) said :
#2

Thanks moma, that solved my question.

Revision history for this message
moma (osmoma) said :
#3

Hello,
The latest version of a.r lets you modify or add new media-profiles ery easily in the [Additional settings] dialog. The latest version is for Ubuntu 14.10. It does not work in Ubuntu 14.04.
Ref: http://ubuntuforums.org/showthread.php?t=2247756