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 163891 - Gst-launch-ext will not play an MPEG video
Gst-launch-ext will not play an MPEG video
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins
0.8.8
Other All
: Normal minor
: 0.8.8
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-01-13 03:42 UTC by W. Michael Petullo
Modified: 2005-01-19 21:24 UTC
See Also:
GNOME target: ---
GNOME version: 2.7/2.8



Description W. Michael Petullo 2005-01-13 03:42:45 UTC
Please describe the problem:
Gst-launch will not play a specific MPEG video.  Totem/gstreamer plays the video
fine.

gstreamer-0.8.8-2
gstreamer-plugins-0.8.7-2

"file Washington_zoom_in.mpeg" says:

Washington_zoom_in.mpeg: MPEG sequence, CIF NTSC, NTSC 4:3, 29.97 fps, Constrained


Steps to reproduce:
Execute "gst-launch-ext-0.8 Washington_zoom_in.mpeg" to play the attached media
file.

Actual results:
Gst-launch says:

Running command-line
gst-launch-0.8 filesrc location="Washington_zoom_in.mpeg" ! mpegdemux name=d {
d.audio_00 ! queue ! mad ! audioconvert ! audioscale ! osssink } { d.video_00 !
queue ! mpeg2dec ! ffmpegcolorspace ! xvimagesink }

RUNNING pipeline ...

But a window never appears.

Sending an interrupt causes:

Caught interrupt.
Execution ended after 79225 iterations (sum 168982701000 ns, average 2132946 ns,
min 483000 ns, max 8353359000 ns).


Expected results:
A window should appear, displaying the video.

Does this happen every time?
Yes.

Other information:
Comment 1 W. Michael Petullo 2005-01-13 03:50:28 UTC
The file Washington_zoom_in.mpeg is available at
http://www.flyn.org/random/Washington_zoom_in.mpeg.  It was too big to attach to
this bug report.
Comment 2 Ronald Bultje 2005-01-13 09:25:05 UTC
Itś a sequence. Rename to .m1v and itĺl work. Additionally, try:

gst-launch filesrc location=file.mpeg ! mpeg2dec ! xvimagesink
Comment 3 Stephane Loeuillet 2005-01-13 12:42:34 UTC
gst-launch-ext does a pipeline based on file extension (totem guesses from
content, using typefinding)

here, the file isn't a mpeg system stream, but a mpeg video elementary stream
so, its correct extension should be m1v. that's why it can't work if sent thru
mpegdemux.
Comment 4 W. Michael Petullo 2005-01-15 19:01:04 UTC
gst-launch filesrc location="Washington_zoom_in.m1v" ! mpeg2dec ! xvimagesink

works fine.

But, gst-launch-ext still tries to use mpegdemux:

Running command-line
gst-launch-0.8 filesrc location="Washington_zoom_in.m1v" ! mpegdemux ! { queue !
mpeg2dec ! ffmpegcolorspace ! xvimagesink }

WARNING: erroneous pipeline: could not link queue0 to mpeg2dec0
         Trying to run anyway.
RUNNING pipeline ...

Gst-launch seems to assume a .m1v file is a system stream, not a video
elementary stream.
Comment 5 Ronald Bultje 2005-01-17 13:40:40 UTC
Right, fixed. I assume I can close this now?
Comment 6 W. Michael Petullo 2005-01-19 21:24:24 UTC
Confirmed fixed.  Thank you.