GNOME Bugzilla – Bug 322937
Avidemux can't push audio if video pad not attached
Last modified: 2005-12-01 23:38:27 UTC
In other words, you can't really play just sound of an AVI file. I reported that back on the mailing list: http://sourceforge.net/mailarchive/message.php?msg_id=13335700 File: http://www.blondeisthenight.com/gst/mjpeg.avi Testcase C prg: http://www.blondeisthenight.com/gst/pushing.c
The following line works fine (which is what you're doing in your c file) : filesrc location=mjpeg.avi ! decodebin ! alsasink Same goes for filesrc location=mjpeg.avi ! decodebin ! xvimagesink
This seems to work fine in 0.9.7 (possibly due to decodebin fixes), as discussed on irc earlier.