video-recorder-java icon indicating copy to clipboard operation
video-recorder-java copied to clipboard

Jenkins MacOS salve black screen

Open taraspos opened this issue 7 years ago • 3 comments

Hello. I have seen issues #26 and #48, I guess my situation is similar except using MacOS and Jenkins Agent.

So basically: Jenkins agent is installed as LaunchAgent on MacOS in ~/Library/LaunchAgents/ and loaded on user login (and the user has AutoLogin enabled).

Android/iOS tests executed via Jenkins on this Jenkins Agent node. Resulting videos are black. MacOS nodes can be accessed via MacOS native VNC Screen Sharing app.

taraspos avatar Aug 27 '18 14:08 taraspos

No way to fix this

SergeyPirogov avatar Aug 27 '18 14:08 SergeyPirogov

New findings: looks like OSX doesn't kill VNC display when Screen Lock is disabled in Security Options. So even when VNC session is closed I can see available displays with ffmpeg:

AVFoundation video devices:
[0] Capture screen 0
AVFoundation audio devices:

As well as I was able to record screen with ffmpeg from SSH session. But trying to capture screen with this video recorder still results in black screen. Any ideas how ti fix this?

taraspos avatar Aug 28 '18 16:08 taraspos

No way to fix this

SergeyPirogov avatar Aug 29 '18 06:08 SergeyPirogov