Some of the gst-launch-1.0 examples are broken
Two of the examples found in basic tutorials are broken:
gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm name=d ! queue ! theoraenc ! oggmux name=m ! filesink location=sintel.ogg d. ! queue ! audioconvert ! audioresample ! flacenc ! m.
returns
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'source': gst.soup.session=context, session=(GstSoupSession)NULL;
Redistribute latency...
ERROR: from element /GstPipeline:pipeline0/GstURIDecodeBin:d/GstSoupHTTPSrc:source: Internal data stream error.
Additional debug info:
../subprojects/gstreamer/libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstURIDecodeBin:d/GstSoupHTTPSrc:source:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...
gst-launch-1.0 uridecodebin uri=https://www.freedesktop.org/software/gstreamer-sdk/data/media/sintel_trailer-480p.webm ! queue ! videoscale ! video/x-raw-yuv,width=320,height=200 ! videoconvert ! autovideosink
returns
(gst-launch-1.0:2): GStreamer-WARNING **: 14:00:15.646: 0.10-style raw video caps are being created. Should be video/x-raw,format=(string).. now.
WARNING: erroneous pipeline: could not link videoscale0 to videoconvert0, neither element can handle caps video/x-raw-yuv, width=(int)320, height=(int)200
Edited by Hofer Julian