GNOME Bugzilla – Bug 482495
avimux does not accept audio/aac
Last modified: 2007-10-02 10:49:45 UTC
gst-launch audiotestsrc num-buffers=100 ! audio/x-raw-int, channels=1,rate=44100 ! faac ! avimux ! filesink location=test.avi fails. It needs to accept and handle "audio/mpeg, mpegversion=4"
the example from comment #1 now runs, but the resulting file crashes my mplayer and when played cia gst its silent. This also works. For this both mplayer and gst are silent. gst-launch audiotestsrc num-buffers=100 ! audioconvert ! audio/x-raw-int, channels=2,rate=44100 ! faac ! avimux ! filesink location = test.avi I belive we need to mux codec data.
Added codec-data handling for audio too. So now the strereo one can be played with mplayer (the mono one still crashes). Playing via gstreamer has the issue that avidemux needs an index to play. In streaming (push-) mode it should play gst-launch filesrc location=test2.avi ! queue ! avidemux ! faad ! alsasink 2007-10-02 Stefan Kost <ensonic@users.sf.net> * gst/avi/gstavimux.c: * gst/avi/gstavimux.h: Also save codec data for audio streams. Fixes #482495. 2007-10-02 Stefan Kost <ensonic@users.sf.net> * gst/avi/gstavimux.c: Fix "Index entry has invalid stream nr 1". Add support for muxing aac - work in progress (see #482495).