Scrot doesn't capture VLC fullscreen
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
Seems to work okay with mpv's fullscreen, I don't have vlc installed. Please provide some more information about your setup as well:
- Which scrot version?
- Which WM are you using?
- 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.
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
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.