After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 482495 - avimux does not accept audio/aac
avimux does not accept audio/aac
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal enhancement
: 0.10.7
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-02 08:11 UTC by Stefan Sauer (gstreamer, gtkdoc dev)
Modified: 2007-10-02 10:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stefan Sauer (gstreamer, gtkdoc dev) 2007-10-02 08:11:15 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"
Comment 1 Stefan Sauer (gstreamer, gtkdoc dev) 2007-10-02 10:22:45 UTC
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.
Comment 2 Stefan Sauer (gstreamer, gtkdoc dev) 2007-10-02 10:49:45 UTC
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).