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

video-stream :- help required to dynamically compress or scale down minicap framess #845

Open
asolanki-in opened this issue Aug 3, 2023 · 0 comments

Comments

@asolanki-in
Copy link

I am using node js to start video-stream and converting received buffer to frames. I am able to achieve minicap stream for connected device on browser. But each image frame size is more that 140kb. Want to reduce it more if at all possible or already done by anyone let me know.

For Reference:

this.proc = spawn("idb", [
		"video-stream",
		"--udid",
		udid,
		"--fps",
		"15",
		"--format",
		"minicap",
		"--compression-quality",
		"0.1",
     "--scale-factor",
		"0.1"
	]);

Scale factor doesn't seems any effect on scale or image
Its sending frame size same as 1.0 value.

Please help to reduce it.

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

No branches or pull requests

1 participant