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

Question / README expansion: how to scale down output #37

Closed
hholst80 opened this issue Nov 17, 2023 · 2 comments
Closed

Question / README expansion: how to scale down output #37

hholst80 opened this issue Nov 17, 2023 · 2 comments

Comments

@hholst80
Copy link
Contributor

hholst80 commented Nov 17, 2023

I am recording a 4K display but I only need the output to be in 1080p is there a way to make the output directly into 1080p without having to transcode the output from wl-screenrec as a post-processing operation?

Update: With the variable frame-rate I think I will not need this feature after all. The output files even though they are in 4K are comparable in size to the 1080p downscaled video. It could perhaps be a good thing to have anyway to make it explicit to newbies like me that are not familiar with ffmpeg workflows.

@russelltg
Copy link
Owner

The suggested way to control the output file size is by changing the bitrate. However, adding options to scale would be trivial and efficient (we can do it in the same step as pixel format conversion).

Yeah, VFR helps (can be turned off btw, with --no-damage) quite a bit.

russelltg added a commit that referenced this issue Nov 18, 2023
@russelltg
Copy link
Owner

Just added a --encode-resolution flag that should do this.

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

2 participants