No cursor in the screencast

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

No cursor in the screencast

Postby kodela » 11 Nov 2013 14:11

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

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: No cursor in the screencast

Postby kodela » 14 Nov 2013 11:45

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

mederi
Big Cone-huna
Big Cone-huna
Posts: 1950
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: No cursor in the screencast

Postby mederi » 14 Nov 2013 15:53


kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: No cursor in the screencast

Postby kodela » 14 Nov 2013 18:44

Thanks, that was it. Who thinks because of that!

kodela

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37519
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: No cursor in the screencast

Postby Jean-Baptiste Kempf » 11 Dec 2013 01:41

What was the fix?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

kodela
Big Cone-huna
Big Cone-huna
Posts: 632
Joined: 25 Sep 2012 19:40
VLC version: 2.2.4
Operating System: Windows 10
Location: Germany

Re: No cursor in the screencast

Postby kodela » 11 Dec 2013 19:22

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


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 6 guests