[Bug 732939] wavenc doesn't create a proper header for data from omxaacdec

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jul 13 01:16:33 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=732939
  GStreamer | gst-omx | 1.2.4

--- Comment #32 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-07-13 08:16:26 UTC ---
(In reply to comment #31)
> 1. so OMX_EventPortSettingsChanged is not called properly?

It's probably called properly... but the port must not forget all its settings.
Instead it should tell us the correct settings it is using now after the
settings-changed event.

> 2. the default channel layouts you mentioned must be set whenever the event
> occurred so that the port of the nPortIndex 0 forgot the intended values?

Yes, as a workaround when we get an invalid channel layout.

Also the channel layout should be on the output port, so nPortIndex 1!


> 3. it's another problem to encode an wav file to an aac.
> 
> gst-launch-1.0 filesrc location=[.wav]
> ! wavparse ! avenc_aac ! filesink location=[.aac]
> 
> 
> gst-launch-1.0 filesrc location=[.wav]
> ! wavparse ! omxaacenc ! filesink location=[.aac]
> 
> 
> The ouputs from the above two commands can't be identified by gst-typedef
> saying 'FAILED: unknown error', even 'aacparse' is appended.
> 
> But, appending 'qtmux' makes them to generate correct audio files in
> video/quicktime and playbin plays them well.
> 
> Am I missing something to create an aac file?

Raw AAC files are generally not very well supported. Usually you would put AAC
into an MP4 container with mp4mux.

-- 
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