What is error -5?

Ian Davidson id012c3076 at blueyonder.co.uk
Mon Nov 16 01:02:07 PST 2015


Hi Sebastian,

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'.

I know that the original file can't be too bad since playbin manages to 
get it to work - so what am I missing?

Ian

On 16/11/2015 07:24, Sebastian Dröge wrote:
> On Sa, 2015-11-14 at 13:26 +0000, Ian Davidson wrote:
>> I have a video clip which will play using playbin like this.
>> gst-launch-1.0 playbin uri=file:///run/media/ian/LEXAR/MOV05E.Mpg
>>
>> 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
> 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.
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151116/13982752/attachment.html>


More information about the gstreamer-devel mailing list