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 588191 - mpegpsdemux ! avimux transmuxing problem with audio/mpeg,mpegversion=1
mpegpsdemux ! avimux transmuxing problem with audio/mpeg,mpegversion=1
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-09 19:27 UTC by Christian Fredrik Kalager Schaller
Modified: 2009-07-10 17:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Fredrik Kalager Schaller 2009-07-09 19:27:04 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
Comment 1 Christian Fredrik Kalager Schaller 2009-07-10 16:33:56 UTC
This does not work:
gst-launch filesrc location=~/Videos/diracpromo.vob ! mpegpsdemux ! audio/mpeg ! avimux ! fakesink
Comment 2 Tim-Philipp Müller 2009-07-10 17:09:52 UTC
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.