Page 1 of 1

[RESOLVED]display mouse cursor for the screencast mode

Posted: 21 Mar 2009 17:48
by madmaker
hi

I would display the mouse cursor for the screencast mode
i've download the good vlc version (nighly pre build 1.0.) for this option but it doesn't work

Code: Select all

./vlc screen://:screen-caching=200:screen-fps=22:screen-mouse-image=/dev/input/mice
may you help me please?

Re: display mouse cursor for the screencast mode

Posted: 24 Mar 2009 01:15
by Jean-Baptiste Kempf
Missing spaces?

Re: display mouse cursor for the screencast mode

Posted: 25 Mar 2009 19:59
by madmaker
ok so ...

if i put :

Code: Select all

vlc screen:// :screen-caching=200 :screen-fps=22 :screen-mouse-image=/dev/input/mouse3
and i've got

Code: Select all

VLC media player 1.0.0-pre1 Goldeneye [0x92eb140] main libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface. [0xb7607f08] access_file access error: cannot open file /dev/input/mouse3 (Permission non accordée) [0x9481870] main demux error: no suitable access module for `/dev/input/mouse3' [0x9481870] x11_screen demux error: Failed to open mouse pointer image (/dev/input/mouse3)
(yes sorry, I check the googd mouse device in Xorg log and it's /dev/input/mouse3)
when I checked the rules file and it's ok

so i put

Code: Select all

sudo vlc-wrapper screen:// :screen-caching=200 :screen-fps=22 :screen-mouse-image=/dev/input/mouse3
i've got

Code: Select all

VLC media player 1.0.0-pre1 Goldeneye [0x8dc0140] main libvlc: Lancement de vlc avec l'interface par défaut. Utilisez « cvlc » pour démarrer VLC sans interface. [0x8fb48f0] vcd access error: could not read TOCHDR [0x8fb48f0] vcd access error: no movie tracks found ... (Vlc launch and after close its) [0x8fb7970] main stream error: cannot pre fill buffer [0x8e6d7b8] x11_screen demux error: Failed to open mouse pointer image (/dev/input/mouse3)
Ps: I know read ... "mouse pointer image" but I try with a small png image path and it's the same error
what path do you give? a picture or the mouse device?

Re: display mouse cursor for the screencast mode

Posted: 26 Mar 2009 01:25
by Jean-Baptiste Kempf
:screen-mouse-image should be a picture.

Re: display mouse cursor for the screencast mode

Posted: 26 Mar 2009 13:35
by madmaker
ok It works with /usr/share/gnome-control-center/pixmaps/mouse-cursor-normal-large.png (and others in this same folder)

thanks again