GNOME Bugzilla – Bug 99489
can't playback streams mux'd with mplexlo
Last modified: 2004-12-22 21:47:04 UTC
i re-mixed a VCD mpeg with cinelerra into a mpeg2 (video) and mp3 (audio) and multiplexed it with mplexlo. When i try to play this mpeg with gstreamer CVS, i get the following obvious FPE: Starting program: /home/joshua/gst/gstreamer/tools/.libs/lt-gst-launch filesrc location=/local/aleader/nau-scene1-1M.mpg ! mpegdemux name=foo video_%02d! { queue ! mpeg2dec ! { queue ! colorspace ! xvideosink } } foo.audio_%02d!{ queue ! mad ! { queue ! osssink } } [New Thread 1024 (LWP 2001)] INFO ( 2001: 0) Initializing GStreamer Core Library version 0.4.2.1 INFO ( 2001: 0) CPU features: (0081813f) MMX registry: loaded user_registry in 1.017360 seconds (/home/joshua/.gstreamer/registry.xml) registry: loaded global_registry in 0.614729 seconds (/home/joshua/gst/gstreamer/registry.xml) GStreamer-INFO: 0 live buffer(s) GStreamer-INFO: 0 live bufferpool(s) GStreamer-INFO: 0 live event(s) RUNNING pipeline [New Thread 2049 (LWP 2002)] [New Thread 1026 (LWP 2003)] [New Thread 2051 (LWP 2004)] [New Thread 3076 (LWP 2005)] [New Thread 4101 (LWP 2006)] sink: caps = (GstCaps *) { audio/mp3; } src: caps = (GstCaps *) { audio/mp3; } sink: caps = (GstCaps *) { audio/mp3; } Program received signal SIGFPE, Arithmetic exception.
+ Trace 30877
Thread 1024 (LWP 2001)
$3 = 0 (gdb) p mpeg_parse->mux_rate $4 = 0 To reproduce this problem, use the test mpeg file here: <ftp://ftp.berlios.de/pub/redael/nau-scene1-1M.mpg>
i forgot to mention that mplayer plays this mpeg perfectly.
Created attachment 12560 [details] [review] avoid FPE if mpeg_parse->mux_rate is not specified
The attached patch doesn't fix the main problem. However, if i run mplexhi -V (variable rate) then the resulting stream is small and does play fine. It remains a low-priority task to figure out how to play streams mux'd with mplexlo.
wtay applied the attached patch (& more) but he didn't update bugzilla.