Solution: cannot export to M4A / AAC because Gstream has changed their plugin API
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Audio Recorder |
New
|
Undecided
|
Unassigned |
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_
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=
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/
New correct:
{"CD Quality, AAC 44KHz", "m4a", "", "audio/
Thanks!
Xuancong
Hello Wang,
Many thanks for your finding.
I will fix the media-profiles.c file ASAP.
Notice:
I have not worked on audio-recorder for a long time now.
The entire code should be re-written, but that is a major task.
Thanks again Wang.
Well done.
Cumprimentos
Osmo Antero
Portugal