Trouble converting from working gst-launch-0.10 to gst-launch-1.0

Tim Müller tim at centricular.com
Sun Dec 15 05:54:24 PST 2013


On Sun, 2013-12-15 at 13:45 +0200, Leon wrote:

Hi Leon,

> this works:
> gst-launch -e rtspsrc location=rtsp://192.168.1.212:554 ! decodebin2 ! 
> videoscale ! video/x-raw-yuv,framerate=30/1,width=640,height=360 ! 
> ffmpegcolorspace ! xvimagesink
> 
> but this doesn't:
> gst-launch-1.0 -e rtspsrc location=rtsp://192.168.1.212:554 ! decodebin 
> ! videoscale ! video/x-raw,framerate=30/1,width=640,height=360 ! 
> videoconvert ! xvimagesink

In addition to what Sebastian said: try removing the framerate field
from the filtercaps (video/x-raw....) here, or add a videorate in front
of it.

Also try building the pipeline step by step, with a fakesink at the end,
to see when it starts failing, so

gst-launch-1.0 -v ...
  rtspsrc ! fakesink
  rtspsrc ! decodebin ! fakesink
  rtspsrc ! decodebin ! videoscale ! video/x-raw,width=640,height=360 !
fakesink
  rtspsrc ! decodebin ! videoscale !
video/x-raw,framerate=30/1.width=640,height=360 ! fakesink

 Cheers
  -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com






More information about the gstreamer-devel mailing list