audio AAC to MP4 conversion fails

Tim-Philipp Müller t.i.m at zen.co.uk
Wed Jan 23 11:18:16 PST 2013


On Wed, 2013-01-23 at 01:42 +0000, Romeo Chahine wrote:

Hi,

> As a first step I'm trying to get an aac audio file source to get muxed
> in to an mp4 container file (mp4mux).  At a later stage I will add
> video (h264) to it as well.  Here is the command line that I am using
> with gst-launch:
>
> gst-launch-0.10 -v -e filesrc location=test.aac !
> aacparse mux.audio_00 mp4mux name=mux ! filesink location=test.mp4
> 
> and here is the error response that I get:
> 
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> /GstPipeline:pipeline0/GstAacParse:aacparse0.GstPad:src: caps = audio/mpeg, framed=(boolean)true, mpegversion=(int)4, rate=(int)44100, channels=(int)2, stream-format=(string)adts
> ERROR: from element /GstPipeline:pipeline0/GstAacParse:aacparse0: GStreamer encountered a general stream error.
> Additional debug info:
> gstbaseparse.c(2890): gst_base_parse_loop (): /GstPipeline:pipeline0/GstAacParse:aacparse0:
> streaming stopped, reason not-linked

I think aacparse might not support converting ADTS-framed AAC into "raw"
AAC yet, which is what mp4mux needs:
https://bugzilla.gnome.org/show_bug.cgi?id=615740

Cheers
 -Tim



More information about the gstreamer-devel mailing list