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 103901 - MPEG/MPG not playing
MPEG/MPG not playing
Status: RESOLVED DUPLICATE of bug 104892
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.5.1
Other Linux
: Normal normal
: 0.4.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-19 20:18 UTC by Mathew Alexander
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst-launch --gst-mask=-1 filesrc location="/home/mathew/Downloads/video/mpeg/beautifulvid.mpeg" ! mpegdemux video_%02d! { queue ! mpeg2dec ! xvideosink } mpegdemux0.audio_%02d! { queue ! mad ! esdsink } (22.00 KB, text/plain)
2003-01-22 21:25 UTC, Mathew Alexander
Details
Sorry, I did it wrong, here is the dump file (22.00 KB, application/octet-stream)
2003-01-22 21:27 UTC, Mathew Alexander
Details
gst-mask=-1 (86.70 KB, application/octet-stream)
2003-01-29 18:14 UTC, Mathew Alexander
Details
save as backtrace.gz (577 bytes, application/octet-stream)
2003-01-29 20:23 UTC, Mathew Alexander
Details
bt from gdb (716 bytes, application/octet-stream)
2003-01-29 20:33 UTC, Mathew Alexander
Details

Description Mathew Alexander 2003-01-19 20:18:25 UTC
I'm able to start gst-launch-ext filename.mpg and there are no errors but
it stops and hangs:

gst-launch filesrc
location="/home/mathew/Downloads/video/mpeg/beautifulvid.mpg" ! mpegdemux
video_%02d! { queue ! mpeg2dec ! colorspace ! xvideosink }
mpegdemux0.audio_%02d! { queue ! mad ! osssink }

INFO (21183: 0) Initializing GStreamer Core Library version 0.5.1.1 
INFO (21183: 0) CPU features: (00000000) MMX SSE 
registry: loaded user_registry in 0.370901 seconds
          (/home/mathew/.gstreamer/registry.xml)
GStreamer-INFO: 0 live buffer(s)
GStreamer-INFO: 0 live bufferpool(s)
GStreamer-INFO: 0 live event(s)
RUNNING pipeline
/pipeline0/thread1/queue1.sink: caps = (GstCaps *) { audio/x-mp3;  }
/pipeline0/thread1/queue1.src: caps = (GstCaps *) { audio/x-mp3;  }
/pipeline0/thread1/mad0.sink: caps = (GstCaps *) { audio/x-mp3;  }
/pipeline0/filesrc0.src: active = TRUE
/pipeline0/mpegdemux0.sink: active = TRUE
/pipeline0/mpegdemux0: streaminfo = (GstCaps *) {
application/x-gst-streaminfo; mpegversion=(int) 1; bitrate=(int) 1396400 }
/pipeline0/filesrc0.src: caps = (GstCaps *) { video/mpeg; mpegversion=(int)
1; systemstream=(boolean) TRUE; parsed=(boolean) TRUE }
/pipeline0/mpegdemux0.sink: caps = (GstCaps *) { video/mpeg;
mpegversion=(int) 1; systemstream=(boolean) TRUE; parsed=(boolean) TRUE }
/pipeline0/filesrc0.src: active = FALSE
/pipeline0/mpegdemux0.sink: active = FALSE
/pipeline0/mpegdemux0.video_00: caps = (GstCaps *) { video/mpeg;
mpegversion=(int) 1; systemstream=(boolean) FALSE }
/pipeline0/thread0/mpeg2dec0.sink: caps = (GstCaps *) { video/mpeg;
mpegversion=(int) 1; systemstream=(boolean) FALSE }
/pipeline0/thread0/queue0.src: caps = (GstCaps *) { video/mpeg;
mpegversion=(int) 1; systemstream=(boolean) FALSE }
/pipeline0/thread0/queue0.sink: caps = (GstCaps *) { video/mpeg;
mpegversion=(int) 1; systemstream=(boolean) FALSE }
/pipeline0/filesrc0.src: active = TRUE
/pipeline0/mpegdemux0.sink: active = TRUE
/pipeline0/mpegdemux0.video_00: active = TRUE
/pipeline0/thread0/queue0.sink: active = TRUE
/pipeline0/thread0/queue0.src: active = TRUE
/pipeline0/thread0/mpeg2dec0.sink: active = TRUE
/pipeline0/thread0/mpeg2dec0.src: active = TRUE
/pipeline0/thread0/mpeg2dec0.user_data: active = TRUE
/pipeline0/thread0/colorspace0.sink: active = TRUE
/pipeline0/thread0/colorspace0.src: active = TRUE <-- hangs here

Any Ideas?
Comment 1 Mathew Alexander 2003-01-22 03:08:26 UTC
Alright, it looks like its a bug with glibc and not gstreamer. I can
get mpeg/mpg to play using --gst-scheduler=opt but its totally off
sync.Also avi is out of sync. 
Comment 2 Mathew Alexander 2003-01-22 20:16:05 UTC
Recompiling glibc with i586 -02 flags does not help. 
Comment 3 Mathew Alexander 2003-01-22 20:33:08 UTC
ok, I've compiled gstreamer/gst-plugins/gst-player ALL with Opt Flags
of   -march=pentium4 -O3 -pipe, I'm now stripping the flags and
re-compiling a fresh cvs download of each. If this works I will
re-compile glibc with opt flags mentioned before.  
Comment 4 Mathew Alexander 2003-01-22 21:25:56 UTC
Created attachment 13760 [details]
gst-launch --gst-mask=-1 filesrc location="/home/mathew/Downloads/video/mpeg/beautifulvid.mpeg" ! mpegdemux video_%02d! { queue ! mpeg2dec ! xvideosink } mpegdemux0.audio_%02d! { queue ! mad ! esdsink }
Comment 5 Mathew Alexander 2003-01-22 21:27:38 UTC
Created attachment 13761 [details]
Sorry, I did it wrong, here is the dump file
Comment 6 Mathew Alexander 2003-01-28 22:43:20 UTC
I'm going to try glibc with -march=i486 -O2 -pipe flags to see if this
fixes the problem. 
Comment 7 Mathew Alexander 2003-01-29 18:00:19 UTC
ok, I've done what I said I would do and still having problems using
gstreamer without using the gst-scheduler=opt flag and have it out of
sync using esd, bug # 104185. So would this still be a Threading issue
with glibc? Or possibly an issue with gstreamer plugins? Good thing is
now I don't need to use sync=true with oss to sync it. I could use a
little help here to help narrow down the cause? What infomation do I
need to add to this bug to help the developers resolve this issue?
Comment 8 Mathew Alexander 2003-01-29 18:14:52 UTC
Created attachment 13919 [details]
gst-mask=-1
Comment 9 Mathew Alexander 2003-01-29 18:16:18 UTC
Save the above file as dump.gz
Comment 10 Wim Taymans 2003-01-29 20:04:49 UTC
can you also provide a gdb stacktrace? 
Comment 11 Mathew Alexander 2003-01-29 20:23:03 UTC
Created attachment 13927 [details]
save as backtrace.gz
Comment 12 Mathew Alexander 2003-01-29 20:33:27 UTC
Created attachment 13928 [details]
bt from gdb
Comment 13 Christian Fredrik Kalager Schaller 2003-02-24 14:01:28 UTC
This threading issue has been puntet into the indefinite timeframe.
CVS now uses the opt scheduler per default. Sync issues etc. using
this scheduler has also been fixed in CVS head. 
Comment 14 Christian Fredrik Kalager Schaller 2003-02-24 14:02:05 UTC

*** This bug has been marked as a duplicate of 104892 ***