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

Custom video resolution #15

Open
garymooney opened this issue Feb 28, 2023 · 0 comments
Open

Custom video resolution #15

garymooney opened this issue Feb 28, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@garymooney
Copy link
Owner

Videos are generated at a default 1080p. Allow the ability to generate other resolutions.

Common 16x9 resolutions:
144p -> 256x144
240p -> 426x240
360p -> 640x360
480p -> 854x480
720p -> 1280x720
1080p -> 1920x1080
1440p -> 2560x1440
2160p -> 3840x2160

Allow users to input the resolution to the generate_qmuvi method as a string containing the name of the resolution. E.g. "1280x1080". The string determines the width and height of the video. Also allow the input of common 16:9 names ending in 'p' for ease of use. E.g. "360p" is shothand for "640x360". Include a brief description of these common options in the python docstring.

Note: Due to size limitations in qiskit's matplotlib circuit drawer, the outputted circuit images are a set resolution. They are currently downscaled for the 1080p video, however will need to be upscaled for the larger output resolutions.

@garymooney garymooney added enhancement New feature or request good first issue Good for newcomers labels Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant