Open anfontanelli opened 6 years ago
I ran into a similar problem and was able to get something working. I'm not totally sure I have the best gscam_config but at least I'm getting some images. The issue seems to be the options passed to the decklink plugin and the gstreamer pipe.
For the options, I now have:
device-number=0
. I skipped the mode
and connection
, the defaults work for me.
For the pipeline, I used videoconvert
. I'm not sure this is the best option, there might be a more efficient filter to use. The overall gscam_config
is:
decklinkvideosrc connection=sdi device-number=1 ! videoconvert
I left some notes on github for our dVRK community: https://github.com/jhu-dvrk/dvrk-ros/blob/devel/dvrk_robot/video.md
I hope this helps.
The Gstreamer and the
plugin-bad
(version 1.0) has been installed viaapt-get install
. The output ofgst-inspect-1.0 decklinkvideosrc
is correct where a set of valid modes are printed.The Gscam is compiled with
GSTREAMER_VERSION_1_x=TRUE
(i.e. gstreamer 1.0) without any error. The decklink.launch file has been modified accordingly:When doing
roslaunch gscam decklink.launch
, following error shown up:Would you please suggest what might be the problem?