Hi,
I am trying to use the omx_aacenc element with the following pipeline and the pipeline just hangs (I have verified that the audio generated is OK as I can get the raw data to a file). In fact, when I try to just inpsect the element with gst-inspect, it hangs after the "input-buffers" line and never returns. Is there a fix for this?
gst-launch alsasrc ! 'audio/x-raw-int,width=16,rate=48000' ! omx_aacenc output-format=4 ! gstperf ! fakesink
We need to encode audio to add to a video encoded pipeline...
-Mike
(hangs text below)
root@(none):~# gst-inspect omx_aacenc
Factory Details:
Long name: OpenMAX IL AAC audio encoder
Class: Codec/Encoder/Audio
Description: Encodes audio in AAC format with OpenMAX IL
Author(s): Felipe Contreras
Rank: none (0)
Plugin Details:
Name: omx
Description: OpenMAX IL
Filename: /usr/lib/gstreamer-0.10/libgstomx.so
Version: GST_DM81XX_00_07_00_00
License: LGPL
Source module: gst-openmax
Binary package: gst-openmax source release
Origin URL: Unknown package origin
GObject
+----GstObject
+----GstElement
+----GstOmxBaseFilter
+----GstOmxAacEnc
Implemented Interfaces:
GstImplementsInterface
GstOmx
Pad Templates:
SINK template: 'sink'
Availability: Always
Capabilities:
audio/x-raw-int
endianness: 1234
width: 16
depth: 16
rate: [ 8000, 48000 ]
signed: true
channels: [ 1, 2 ]
SRC template: 'src'
Availability: Always
Capabilities:
audio/mpeg
mpegversion: { 2, 4 }
rate: [ 8000, 48000 ]
channels: [ 1, 2 ]
Element Flags:
no flags set
Element Implementation:
Has change_state() function: 0x406520f0
Has custom save_thyself() function: gst_element_save_thyself
Has custom restore_thyself() function: gst_element_restore_thyself
Element has no clocking capabilities.
Element has no indexing capabilities.
Element has no URI handling capabilities.
Pads:
SRC: 'src'
Implementation:
Has custom eventfunc(): gst_pad_event_default
Has custom queryfunc(): gst_pad_query_default
Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
Has getcapsfunc(): 0x40665664
Has setcapsfunc(): 0x40665890
Has acceptcapsfunc(): gst_pad_acceptcaps_default
Pad Template: 'src'
SINK: 'sink'
Implementation:
Has chainfunc(): 0x40650fe8
Has custom eventfunc(): 0x40650de4
Has custom queryfunc(): gst_pad_query_default
Has custom iterintlinkfunc(): gst_pad_iterate_internal_links_default
Has getcapsfunc(): 0x40665bfc
Has setcapsfunc(): 0x40665fe4
Has acceptcapsfunc(): gst_pad_acceptcaps_default
Pad Template: 'sink'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: null Current: "omxaacenc0"
component-role : Role of the OpenMAX IL component
flags: readable, writable
String. Default: null Current: ""
component-name : Name of the OpenMAX IL component to use
flags: readable, writable
String. Default: null Current: "OMX.TI.DSP.AUDENC"
library-name : Name of the OpenMAX IL implementation library to use
flags: readable, writable
String. Default: null Current: "libOMX_Core.so"
use-timestamps : Whether or not to use timestamps
flags: readable, writable
Boolean. Default: true Current: true
input-buffers : The number of OMX input buffers