audio AAC to MP4 conversion fails

Romeo Chahine Romeo.Chahine at Arthrex.com
Wed Jan 23 17:32:43 PST 2013


Tim,

mp4mux does only take raw audio, but i initially thought that aacparse would be capable of taking in aac with adts header and outputing raw audio to mp4mux.

I'm trying to avoid any extra encoding or decoding of the initial aac file.

rc
________________________________________
From: gstreamer-devel-bounces+romeo.chahine=arthrex.com at lists.freedesktop.org [gstreamer-devel-bounces+romeo.chahine=arthrex.com at lists.freedesktop.org] on behalf of Tim-Philipp Müller [t.i.m at zen.co.uk]
Sent: Wednesday, January 23, 2013 11:18 AM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: audio AAC to MP4 conversion fails

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

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

This e-mail and any files transmitted with it are the property of Arthrex, Inc. and/or its affiliates, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender at 239-643-5553 and delete this message immediately from your computer. Any other use, retention, dissemination forwarding, printing or copying of this e-mail is strictly prohibited. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Finally, while Arthrex uses virus protection, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.


More information about the gstreamer-devel mailing list