GNOME Bugzilla – Bug 466442
amrnbenc has not properties to add header and select band mode
Last modified: 2007-09-19 12:21:39 UTC
The amrnbenc plugin has no properties to add the '#!AMR\n' or to select the band mode of operation among MR475 = 0, MR515, MR59, MR67, MR74, MR795, MR102, MR122, MRDTX The patch proposes a gboolean property to insert the header and an enum to choose the band mode of operation.
Created attachment 93615 [details] [review] Patch for header and band mode properties
Applied and cleaned up the property part. For the addition of the header I would prefer to have a separate muxer element (like there is a demuxer). The reason being that it would then become possible to add the header to an already encoded file without a header (like making a standalone file from AMR in a container). Patch by: Daniel Charles <dcharles at ti dot com> * ext/amrnb/amrnbenc.c: (gst_amrnbenc_bandmode_get_type), (gst_amrnbenc_set_property), (gst_amrnbenc_get_property), (gst_amrnbenc_base_init), (gst_amrnbenc_class_init), (gst_amrnbenc_chain), (gst_amrnbenc_state_change): * ext/amrnb/amrnbenc.h: Add property to select the BandMode of the AMR encoder. See #466442.
Daniel, in gst-plugin-bad we have amrwb plugin (similar to the nb one). Could this also get the band-mode?
(In reply to comment #3) > Daniel, in gst-plugin-bad we have amrwb plugin (similar to the nb one). Could > this also get the band-mode? > Yes, I'm going to submit the patch today.
Bug 477306 submitted to address amrwb bandmode property
Daniel, many thanks! Closing this now.