<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Sebastian,<br>
    <br>
    Shortly after my first posting, I realised that I needed to process
    the media and that could have been the cause of my error - so I
    tried again (2nd post) using decodebin.  If I did not have any
    logging I could see a message 'Redistribute latency' and if I turned
    on the logging I got continual error messages being logged 'Reached
    libmpeg2 invalid state'.<br>
    <br>
    I know that the original file can't be too bad since playbin manages
    to get it to work - so what am I missing?<br>
    <br>
    Ian<br>
    <br>
    <div class="moz-cite-prefix">On 16/11/2015 07:24, Sebastian Dröge
      wrote:<br>
    </div>
    <blockquote cite="mid:1447658673.2103.3.camel@centricular.com"
      type="cite">
      <pre wrap="">On Sa, 2015-11-14 at 13:26 +0000, Ian Davidson wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">I have a video clip which will play using playbin like this.
gst-launch-1.0 playbin uri=<a class="moz-txt-link-freetext" href="file:///run/media/ian/LEXAR/MOV05E.Mpg">file:///run/media/ian/LEXAR/MOV05E.Mpg</a>

But, I want to be able to play around with it - so I tried this
gst-launch-1.0 -e --gst-debug=4 filesrc location=MOV05E.Mpg ! queue !
videorate ! videoscale ! videoconvert ! "video/x-
raw,format=(string)I420,width=720,height=576,framerate=(fraction)5/1"
! autovideosink
</pre>
      </blockquote>
      <pre wrap="">
Error -5 is GST_FLOW_ERROR, you'd have to dig in the debug logs to find
the reason why this happens.

In your case the reason is that you try to pass a .mpg file (a
container format containing compressed media) to elements that only
accept rate video. That can't work and you'll have to use a demuxer and
decoder first, or use decodebin between filesrc and the queue.

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>