How to stream from rfbsrc (VNC) to gscam - segmentation fault

asked 2014-12-02 06:28:42 -0500

Matthiaso gravatar image

Hello Everyone!

I try to publish display content from a VNC server (TigerVNC windows) to the ROS network. The following pipeline works perfect with gst-launch.

gst-launch rfbsrc host=10.xx.xxx.xx password=xxxxx width=1024 height=768 view-only=true ! videoscale ! videorate ! video/x-raw-rgb, width=1024,height=768,framerate=10/1 ! ffmpegcolorspace! autovideosink

Although when I use the same one with gscam i get "Segmentation Fault (Core dumped)"

export GSCAM_CONFIG="rfbsrc host=10.xx.xxx.xx password=xxxxx width=1024 height=768 view-only=true ! videoscale ! videorate ! video/x-raw-rgb, width=1024,height=768,framerate=10/1 ! ffmpegcolorspace"

If I change video/x-raw-rgb to video/x-raw-gray as this answer suggested i get a "Started Stream" message but there is nothing visible in Image_view.

Does anyone have a suggestion on how to fix this?

edit retag flag offensive close merge delete