Page 1 of 1

No cursor in the screencast

Posted: 11 Nov 2013 14:11
by kodela
Hello

Who can help me?

I want to create a screencast with cursor and have it written the following script:

Code: Select all

"C:/Program Files/VideoLAN/VLC/vlc.exe" screen:// ^ :screen-fps=25 ^ :screen-width=850 ^ :screen-height=636 ^ :screen-top=1 ^ :screen-left=1 ^ :screen-caching=200 ^ :screen-mouse-image=K:\VLC\BatchTest\cursor.png ^ :sout=#transcode{venc=x264,vcodec=h264,vb=800}:duplicate{dst=std{mux=mp4,access=file,dst=K:\\VLC\\BatchTest\\screencast.mp4}}
It works flawlessly, but it's show no cursor.

If in the Preferences - All - Input/Codecs - Access Modules - Screen is entered something other than the default values​​, then VLC crashes on startup this script.

The cursor image is 32 x 32 bits. The background is transparent.

I'm using version 2.0.8 and Windows 7.

What am I doing wrong?

Thanks for any help.

kodela

Re: No cursor in the screencast

Posted: 14 Nov 2013 11:45
by kodela
Hallo,

has nobody a idee?

I have now tried the following call:

Code: Select all

START /D "C:\Program Files\VideoLAN\VLC" vlc.exe screen:// :sout=#transcode{vcodec=h264,vb=800}:file{dst=K:\\VLC\\BatchTest\\screencast.mp4}} :screen-mouse-image=file:///K:/VLC/BatchTest/cursor.png :screen-fps=25 :screen-width=850 :screen-height=636
So I get the following display:

Image

The mouse cursor should be in the field F9 (line 6, column 9).

Thanks for any advice.

kodela

Re: No cursor in the screencast

Posted: 14 Nov 2013 15:53
by mederi

Re: No cursor in the screencast

Posted: 14 Nov 2013 18:44
by kodela
Thanks, that was it. Who thinks because of that!

kodela

Re: No cursor in the screencast

Posted: 11 Dec 2013 01:41
by Jean-Baptiste Kempf
What was the fix?

Re: No cursor in the screencast

Posted: 11 Dec 2013 19:22
by kodela
Hi,

https://forum.videolan.org/viewtopic.ph ... 20#p381655:
There was another possible conclusion that occurred to me after my last posting. Maybe the 16:9 aspect ratio is magic?!

And indeed it is! If the arguments --screen-left=0 --screen-top=0 --screen-width=1280 --screen-height=720 are included after :screen-fps=5.000000, then the cursor is properly captured and shows up as expected in the resulting video.

This is a much more satisfactory conclusion! It works at last!!
kodela