GNOME Bugzilla – Bug 588191
mpegpsdemux ! avimux transmuxing problem with audio/mpeg,mpegversion=1
Last modified: 2009-07-10 17:09:52 UTC
avimux is probably not requesting all the information it needs on the caps. gst-launch filesrc location=~/Videos/diracpromo.vob ! mpegpsdemux ! audio/mpeg ! fakesink -v
This does not work: gst-launch filesrc location=~/Videos/diracpromo.vob ! mpegpsdemux ! audio/mpeg ! avimux ! fakesink
The problem is that mpegpsdemux outputs audio/mpeg,mpegversion=1 without a layer field, but avimux needs the input to have a layer field because the audio format IDs for mp3 and mp1/mp2 are different. The only way for mpegpsdemux to do this better would be to peek inside the mpeg audio payloads and extract the layer information from there. That's not very pretty though, and you will likely need a parser in any case.