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 559261 - video not working in gstreamer
video not working in gstreamer
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: dont know
0.10.12
Other All
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-04 12:13 UTC by murugadoss
Modified: 2008-11-05 06:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description murugadoss 2008-11-04 12:13:56 UTC
Please describe the problem:
i am trying to play a video using the command "gst-launch playbin uri=file:///mnt/nfs/Toyata_Human_Touch.mpg ". This command plays the audio and i can't get video. It display the error message as 
***Message: don't know how to handle video/mpeg, mpegversion=(int)1, systemstream=(boolean)false*****

Can anyone help me to solve this problem


Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Wim Taymans 2008-11-04 12:18:08 UTC
You need to install an mpeg video decoder with a rank >= MARGINAL. Please reopen if that did not fix the problem.
Comment 2 murugadoss 2008-11-04 12:31:37 UTC
(In reply to comment #1)
> You need to install an mpeg video decoder with a rank >= MARGINAL. Please
> reopen if that did not fix the problem.
> 
I dnt have a mpeg decoder, i have the following decoder in my system, do anyone of these decoder support video,
annodex:  cmmldec: CMML stream decoder
mulaw:  mulawdec: Mu Law audio decoder
tta:  ttadec: TTA audio decoder
mad:  mad: mad mp3 decoder
alaw:  alawdec: A Law audio decoder
nsfdec:  nsfdec: Nsf decoder
flxdec:  flxdec: FLX audio decoder
dvdlpcmdec:  dvdlpcmdec: DVD LPCM Audio decoder
Comment 3 Wim Taymans 2008-11-04 12:38:35 UTC
no, you might want to install the mpeg2dec plugin that can be found in gst-plugins-ugly or something equivalent for your distro.
Comment 4 murugadoss 2008-11-05 05:56:46 UTC
i have added a vpudecoder to gstreamer package, when i try to play a video file using the commands,

gst-launch filesrc location=test.avi ! mfw_avidemuxer name=demux demux. !mfw_vpudecoder codec-type=std_avc ! mfw_v4lsink demux. ! queue maxsize-buffers=0 ! mad ! alsasink

or 

gst-launch filesrc location=test.mp4 ! mfw_mp4demuxer name=demux demux. ! mfw_vpudecoder codec-type=std_mpeg4 ! mfw_v4lsink demux. ! queue max-size-buffers=0 ! mad ! alsasink

i get an warning message as,
WARNING: erroneous pipeline: no element "mfw_vpudecoder"  this message
and the file is not playing

and when i use,
gst-launch playbin uri=file:///mnt/nfs/Toyata_Human_Touch.mpg
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /playbin0/source: Internal data flow error.
Additional debug info:
gstbasesrc.c(1642): gst_base_src_loop (): /playbin0/source:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

help please.

Comment 5 Michael Smith 2008-11-05 06:12:23 UTC
That's a very clear error message - your element doesn't exist. Maybe it couldn't be loaded - use GST_DEBUG=2 to find out.

If, once you've fixed this problem, it still doesn't work, we're unlikely to be able to help - you're using private plugins for demuxing, decoding, and display. Obviously, we can't help with any of those.
Comment 6 murugadoss 2008-11-05 06:44:39 UTC
For any combination i try, i get the similar error message

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/filesrc0: Internal data flow error.
Additional debug info:
gstbasesrc.c(1642): gst_base_src_loop (): /pipeline0/filesrc0:
streaming task paused, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ..