Skip to content

VLC crashes capturing desktop video when command-line contains capture area size switches

Following command-line:

vlc.exe screen:// --qt-start-minimized --screen-follow-mouse --screen-mouse-image=file:///C:/mouse.png --screen-fps=10 :sout=#transcode{vcodec=h264,vb=1800,scale=1}:std{access=file,dst=C:\TEMP\test.mp4}

can be executed without any problems in 2.0.7 for Windows and desktop video is captured properly.

When trying to limit capture area size with --screen-width=500 --screen-height=300, which changes above command-line into:

vlc.exe screen:// --qt-start-minimized --screen-width=500 --screen-height=300 --screen-mouse-image=file:///C:/mouse.png --screen-fps=10 :sout=#transcode{vcodec=h264,vb=1800,scale=1}:std{access=file,dst=C:\TEMP\test.mp4}

VLC crashes and desktop video is not captured.

Initial reports (http://forum.videolan.org/viewtopic.php?f=14&t=111827&p=378851#p378652) suspected screen-follow-mouse switch, but it is now clearly visible that command-lines with or without this switch are executed without problems, as long as they don't include --screen-width=500 --screen-height=300.

Unable to verify this bug in 2.1.0 due to problems mentioned in #8871 (closed) report (https://trac.videolan.org/vlc/ticket/8871).

Details: http://forum.videolan.org/viewtopic.php?f=14&t=111827&p=378851#p378851

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information