Trouble converting from working gst-launch-0.10 to gst-launch-1.0
Leon
debeer.leon at gmail.com
Sun Dec 15 03:45:27 PST 2013
Hi all,
I'm having trouble converting a running launch from 0.10 to 1.0 and
would really appreciate any help I can get.
I'm compositing IP camera streams to display. Works fine on 0.10 but
nothing displays on 1.0.
There are no errors, just seems to 'hang'.
The working 0.10 launch is:
gst-launch-0.10 -ev videomixer name=mix ! ffmpegcolorspace ! xvimagesink \
rtspsrc location=rtsp://192.168.1.212:554 ! decodebin2 ! videoscale !
video/x-raw-yuv,framerate=30/1,width=640,height=360 ! \
textoverlay font-desc="Sans 10" text="CAM1" valign=top halign=left
shaded-background=true ! \
clockoverlay time-format="%d/%m/%Y %H:%M:%S" font-desc="Sans 8"
valign=bottom halign=left shaded-background=false ! \
videobox border-alpha=0 top=0 left=0 ! mix. \
rtspsrc location=rtsp://192.168.1.211:554 ! decodebin2 ! videoscale !
video/x-raw-yuv,framerate=30/1,width=640,height=360 ! \
textoverlay font-desc="Sans 10" text="CAM2" valign=top halign=left
shaded-background=true ! \
clockoverlay time-format="%d/%m/%Y %H:%M:%S" font-desc="Sans 8"
valign=bottom halign=left shaded-background=false ! \
videobox border-alpha=0 top=0 left=-640 ! mix.
and the 1.0 launch is:
gst-launch-1.0 -ev videomixer name=mix ! videoconvert ! xvimagesink \
rtspsrc location=rtsp://192.168.1.212:554 ! decodebin ! videoscale !
video/x-raw,framerate=30/1,width=640,height=360 ! \
textoverlay font-desc="Sans 10" text="CAM1" valignment=top
halignment=left shaded-background=true ! \
clockoverlay time-format="%d/%m/%Y %H:%M:%S" font-desc="Sans 8"
valignment=bottom halignment=left shaded-background=false ! \
videobox border-alpha=0 top=0 left=0 ! mix. \
rtspsrc location=rtsp://192.168.1.211:554 ! decodebin ! videoscale !
video/x-raw,framerate=30/1,width=640,height=360 ! \
textoverlay font-desc="Sans 10" text="CAM2" valignment=top
halignment=left shaded-background=true ! \
clockoverlay time-format="%d/%m/%Y %H:%M:%S" font-desc="Sans 8"
valignment=bottom halignment=left shaded-background=false ! \
videobox border-alpha=0 top=0 left=-640 ! mix.
I then tried a simpler launch in both as well, and:
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
Kubuntu 12.04 (LTS)
uname -a
Linux leon 3.2.0-49-generic #75-Ubuntu SMP Tue Jun 18 17:39:32 UTC 2013
x86_64 x86_64 x86_64 GNU/Linux
GStreamer-1.0 installed from ppa:gstreamer-developers/ppa
Thanks in advance, any help much appreciated.
Leon
More information about the gstreamer-devel
mailing list