scrot icon indicating copy to clipboard operation
scrot copied to clipboard

Scrot doesn't capture VLC fullscreen

Open desmphil opened this issue 2 years ago • 4 comments

Hi,

Im using scrot over a small flask web site to monitor what is (playing) on the hdmi display. This works fine with Chromium, or other any application running.

As soon as I start a VLC video fullscreen in display=0, then the scrot capture only return black images. If i start VLC without the --fullscreen option, the capture works. Any idea?

scrot command line sudo -u pi DISPLAY=:0 scrot --overwrite -t 5 -z

vlc command line vlc --fullscreen --no-qt-privacy-ask --no-osd --loop --random --no-audio /home/pi/Videos/video1.mp4

desmphil avatar May 26 '23 13:05 desmphil

Seems to work okay with mpv's fullscreen, I don't have vlc installed. Please provide some more information about your setup as well:

  1. Which scrot version?
  2. Which WM are you using?
  3. Is a compositor involved or not?

Also try to see if you can reproduce it with mpv or if it's just vlc that's causing issue.

N-R-K avatar May 26 '23 13:05 N-R-K

scrot version 1.5 running on Raspberry PI 4 Latest version

PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)" NAME="Raspbian GNU/Linux" VERSION_ID="11"

VERSION="11 (bullseye)" VERSION_CODENAME=bullseye

So i tried with MPV and the screencapture works very well. mpv --profile=myprofile1 /home/pi/Videos/video1.mp4

Profile: [myprofile1] #A simple profile, top level area ends here profile-desc="a profile" #Optional description for profile fs=yes #Start in full screen

desmphil avatar May 26 '23 14:05 desmphil

Has this been fixed? I'm encountering similar issues with a steam game in full screen. Weirdly enough this didn't happen until I switched to using an external Nvidia GPU. For reference I use bspwm with no compositors.

whyvl avatar Jul 30 '23 11:07 whyvl