Skip to content

write directly to video stream #6

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

Merged
merged 16 commits into from
Nov 8, 2024
Merged

write directly to video stream #6

merged 16 commits into from
Nov 8, 2024

Conversation

shravanasati
Copy link
Owner

Instead of temporarily writing screenshots to the disk and then merging them at the end, pyscreenrec now writes screenshots directly to the video stream.

It also uses the mss library instead of pyscreenrec which has improved the number of frames captured.

The image writing work is also delegated to a different thread which has further improved frame count.

According to my tests, the frame count has been multiplied by almost 1.5 times.

@shravanasati shravanasati merged commit 646b2ef into master Nov 8, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant