Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
mundo03463480dYou can't screenshot headless becaude it has no head.
Google Xvfb, dee if there is way to use that instead fo selenium's headless.
Opction 2: if the stream is noy protected, consule the video directly and take as many frames as you want.
Probably playing with ffmpeg on the server might help. I had once done something related to capturing video screenshots after 10 second playback, 20 seconds playback etc. And had to deal with ffmpeg CLI options. It did work very nice but it was complex af.
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job