Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scrot doesn't capture VLC fullscreen #320

Open
desmphil opened this issue May 26, 2023 · 3 comments
Open

Scrot doesn't capture VLC fullscreen #320

desmphil opened this issue May 26, 2023 · 3 comments
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@desmphil
Copy link

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

@N-R-K
Copy link
Collaborator

N-R-K commented May 26, 2023

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 N-R-K added bug Something isn't working more info Submitter need provide more information labels May 26, 2023
@desmphil
Copy link
Author

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

@N-R-K N-R-K removed the more info Submitter need provide more information label May 26, 2023
@N-R-K N-R-K changed the title Scrot Capture when VLC (fullscreen) is playing video Scrot doesn't capture VLC fullscreen May 28, 2023
@pufferffish
Copy link

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.

@N-R-K N-R-K added the help wanted Extra attention is needed label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants