[Bug 735208] New: omxaacenc needs to provide 'profile' in its srccap
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Fri Aug 22 00:29:36 PDT 2014
https://bugzilla.gnome.org/show_bug.cgi?id=735208
GStreamer | gst-omx | 1.2.4
Summary: omxaacenc needs to provide 'profile' in its srccap
Classification: Platform
Product: GStreamer
Version: 1.2.4
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: Normal
Component: gst-omx
AssignedTo: gstreamer-bugs at lists.freedesktop.org
ReportedBy: jun.ji at lge.com
QAContact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
My device is QC msm89x6 and my report would be simply stated as below,
gst-launch-1.0 filesrc location=[.wav]
! wavparse ! omxaacenc ! aacparse ! audio/mpeg,stream-format=adts ! filesink
loc
ation=[.aac]
currently makes a file that can't be identified by 'gst-typefind' but that says
'FAILED: unknown error'. (I found that the output can be playable if it has
been wrapped by 'qtmux'.)
To make the output get a correct adts header,
1. It needs to set and add to the srccap 'profile' in addition to the
'base-profile'. Adding the attribute make the element create a correct adts
header.
2. Currently, gstomxaacenc.c just gives the default value to certain
attributres of OMX_AUDIO_PARAM_AACPROFILETYPE in gst_omx_aac_enc_set_format.
However, in my case, I have to set nSampleRate and nChannel rather than the
nBitRate that gets a default value.
Thanks
Jun
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list