Comment 5 for bug 1912876

Revision history for this message
Wang Xuancong (xuancong84) wrote : Re: [Bug 1912876] Re: Solution: cannot export to M4A / AAC because Gstream has changed their plugin API

Thanks Osmo Antero.
From your code, I can see that working on C/C++ is quite inefficient,
future GUI should also use Python which is much easier.

Cheers,
xuancong

On Sun, Jan 24, 2021 at 7:20 PM moma <email address hidden> wrote:

> Hello Xuancong,
>
> The new version is audio-recorder 3.2.2.
>
> Changes:
>
> https://bazaar.launchpad.net/~audio-recorder/audio-recorder/trunk/revision/1935
>
> I have only re-compiled packages for Ubuntu 20.10 (Groovy, Ubuntu`s
> development version).
> Launchpad is now compiling the packages for audio-recorder - 3.2.2~groovy.
> https://launchpad.net/~audio-recorder/+archive/ubuntu/ppa/+packages
>
>
> But I might be able to copy the packages over to Ubuntu 20.04.
> Launchpad.net has a copy package function.
> I will try it now.
>
> Cumprimentos
> Osmo Antero
> Portugal
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1912876
>
> Title:
> Solution: cannot export to M4A / AAC because Gstream has changed their
> plugin API
>
> Status in Audio Recorder:
> New
>
> Bug description:
> When saving recorded audio in M4A / AAC format, it gives the following
> error:
> gst_object_unref: assertion 'object != NULL' failed
> Error:To support m4a format you should install Gstreamer-plugins for .
> Error:Installation of Gstreamer-plugins failed
> (GST_INSTALL_PLUGINS_HELPER_MISSING).
>
>
> I have checked that I have installed Gstreamer-plugins, and running
> Gstream command line can convert any audio into .m4a format:
> gst-launch-1.0 filesrc location=/tmp/test.mp3 ! mpegaudioparse !
> mpg123audiodec ! audioconvert ! avenc_aac ! mp4mux ! filesink
> location=/home/xuancong/Desktop/test.m4a
>
>
> Solution:
> In media-profiles.c, the default profile for M4A is out-of-date as
> Gstreamer has changed their plugin API, changing the following line will
> solve the problem:
>
> Existing wrong:
> {"CD Quality, AAC 44KHz", "m4a", "", "audio/x-raw,rate=44100,channels=2
> ! avenc_aac compliance=-2 ! avmux_mp4"}
>
> New correct:
> {"CD Quality, AAC 44KHz", "m4a", "", "audio/x-raw,rate=44100,channels=2
> ! avenc_aac ! mp4mux"}
>
> Thanks!
> Xuancong
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/audio-recorder/+bug/1912876/+subscriptions
>