GNOME Bugzilla – Bug 769057
aacparse: Reject raw AAC why??
Last modified: 2016-08-07 23:22:09 UTC
pipeline like(convert raw to adts) ..... ! avenc_libfdk_aac ! aacparse ! .. don't work as avenc_libfdk_aac SRC template: 'src' Availability: Always Capabilities: audio/mpeg channels: [ 1, 6 ] rate: [ 4000, 96000 ] mpegversion: 4 stream-format: raw base-profile: lc and I don't know about voaacenc in raw mode so why ??
Please could you provide a GST_DEBUG=*parse*:6 debug log?
sorry I forget to add commit that create this problem: https://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=fd261e10999a090555c149eca840c774aa147acc so for raw format we get GST_ERROR_OBJECT (parse, "Need codec_data for raw AAC");
That's an expected error in aacparse then. Do you have this gst-libav commit? https://cgit.freedesktop.org/gstreamer/gst-libav/commit/?id=832b42301d7be88cf80b2a0ba5ab54cf02393000 It's in 1.9.1. The other question why the libfdk encoder is not disabled completely: https://cgit.freedesktop.org/gstreamer/gst-libav/tree/ext/libav/gstavaudenc.c#n792
I have latest master version of all gstreamer libraries. libfdk simple provide better quality then voaacenc https://bitbucket.org/xlazom00/gst/src/57a2897d0561/patch_1_8/gst_libav/debian/patches/?at=gst_1_8 Maybe we can enable libfdk with some configure --enable nonfree :) this don't help https://cgit.freedesktop.org/gstreamer/gst-libav/commit/?id=832b42301d7be88cf80b2a0ba5ab54cf02393000
log http://pastebin.com/raw/fTW7Pz9j
this one is better http://pastebin.com/raw/ig3WLhxH
(In reply to m][sko from comment #4) > I have latest master version of all gstreamer libraries. > > libfdk simple provide better quality then voaacenc > https://bitbucket.org/xlazom00/gst/src/57a2897d0561/patch_1_8/gst_libav/ > debian/patches/?at=gst_1_8 > > Maybe we can enable libfdk with some configure --enable nonfree :) It's general policy to not enable anything that requires external libraries in gst-libav. Instead there should be a native GStreamer element. In the case of libfdk, some people apparently have their own ones for that which are not public but overall it should be a matter of a low number of hours of work to create a plugin for that when using GstAudioEncoder. > this don't help > https://cgit.freedesktop.org/gstreamer/gst-libav/commit/ > ?id=832b42301d7be88cf80b2a0ba5ab54cf02393000 You'll have to check then why there is no extradata in the AVCodecContext at that point, and also if it is maybe only available at a later time (when?).
You can find an fdk aac encoder and decoder element for GStreamer here now: https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/tree/ext/fdkaac
thx