GNOME Bugzilla – Bug 559261
video not working in gstreamer
Last modified: 2008-11-05 06:44:39 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:
You need to install an mpeg video decoder with a rank >= MARGINAL. Please reopen if that did not fix the problem.
(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
no, you might want to install the mpeg2dec plugin that can be found in gst-plugins-ugly or something equivalent for your distro.
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.
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.
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 ..