Right now is a GREAT time to have this simple app built out.
@goboy6882
2 жыл бұрын
One of the absolute best videos of all time. Thank you.
@elpropiocucuta
Жыл бұрын
Thank you.
@ijustwants
8 ай бұрын
I have 4 monitors. How can i select monitor to capture from ?
@AISciencesLearn
8 ай бұрын
Thanks a lot for your question. First of all you have to give the path of the monitor which you want to capture. After that you will follow the same procedure.
@lorenzopreda488
11 ай бұрын
Thank you for the video, but i have an issue: after about 15/20 minutes recording the imagegrab command stops working giving this message DEBUG:root:screen grab failed
@AISciencesLearn
11 ай бұрын
Thank you but I don’t know why this happened. Try to find the actual error.
@longtruong9935
2 жыл бұрын
how to use auto-correct in JupyterLab?
@pythonadda3718
2 жыл бұрын
Yes Bro ! But bro i need to scrap the text from the screen
@mehregankbi
2 жыл бұрын
why didn't you play the video? you're writing an infinite loop without taking into consideration the time interval between each imagegrab. which means screen recordings on different computers with different performances will have different outputs. so let's say cv2 makes a 30fps output video. if we record on a powerful system for 10 seconds it will write 3000 frames. a weak computer will write 30 frames in 10 seconds. the output video on powerful system will be so slow and 100 seconds long which will make a huge file. the weak computer will output a one second long video that's too fast, kinda like timelapse.
@seife.aufheben
Жыл бұрын
any fix? im lost
@mehregankbi
Жыл бұрын
@@seife.aufheben well since python doesn't have the best performance, i doubt this'll work on weaker systems. you can use native softwares. but if you insist on using his code, you need to add a time interval so that your screen recording is done at 60fps or 30fps. (meaning that between each imagegrab, you need to time.sleep() for 1/fps_count. for 60fps, you'd write. time.sleep(1/60)
@seife.aufheben
Жыл бұрын
@@mehregankbi Thanks however I fixed it in a different way. I switched the screenshot method to win32api and mss which is much faster, and lastly I enabled the script to skip frames which would be made too late and instead use the previous frame. It works really well, has the exact time defined and not much lag at all. Also it now takes screenshots based on timing, which works better than the time.sleep method which is not exactly accurate and may break with lag
@mehregankbi
Жыл бұрын
@@seife.aufheben hmmm. i don't use windows but if the video output of your code, plays in real time and is not faster/slower than the real thing, then it's good. can you check in the file properties to see the fps of that output video file?
Пікірлер: 14