dbus Open webcam

25 views
Skip to first unread message

Torsten Rosenberger

unread,
Mar 1, 2015, 9:21:38 AM3/1/15
to gnome-...@googlegroups.com
Hello


i try to open the webcam over dbus but I got this error

 dbus-send com.gnome.mplayer.Open string:'tv://'
Must use org.mydomain.Interface.Signal notation, no dot in "string:tv://"

on the sonsole i can start gnome-mplayer tv:// to open the webcam with it.


Best Regards
Torsten

Kevin DeKorte

unread,
Mar 1, 2015, 9:32:43 AM3/1/15
to gnome-...@googlegroups.com
So this is my test scenario as I don’t have a tv device

open gnome-mplayer
open a terminal and type in this command

$ dbus-send / com.gnome.mplayer.Open string:'file:///home/kdekorte/Videos/test.mov'

Video starts playing in gnome-mplayer

As to why this could not be working, it is possible to compile gnome-mplayer without dbus support. So make sure that support is enabled

You should get something like this.

$ ldd `which gnome-mplayer` | grep dbus

libdbus-glib-1.so.2 => /lib64/libdbus-glib-1.so.2 (0x0000003f3cc00000)
libdbus-1.so.3 => /lib64/libdbus-1.so.3 (0x00007f78aaba3000)


Hope that helps.

Kevin

-------------------------------------
Kevin DeKorte




--
You received this message because you are subscribed to the Google Groups "gnome-mplayer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gnome-mplaye...@googlegroups.com.
To post to this group, send email to gnome-...@googlegroups.com.
Visit this group at http://groups.google.com/group/gnome-mplayer.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages