antiboredom / videogrep

automatic video supercuts with python
https://antiboredom.github.io/videogrep
Other
3.33k stars 257 forks source link

Setting video quality #113

Open theRAGEhero opened 2 years ago

theRAGEhero commented 2 years ago

Hello, I cannot find any setting to change the video quality. It would be awesome to have the possibility to set 1:1.

Is it already possible?

Thank you

antiboredom commented 2 years ago

Hi! the quality is set by moviepy - I think it would be reasonable to add a flag that overwrites the defaults. Thanks for submitting this!

In the meantime, you could manually edit the write_videofile line in two functions: create_supercut and create_supercut_in_batches, to pass in other parameters that control quality.

Documentation for write_videofile can be found here: https://zulko.github.io/moviepy/ref/VideoClip/VideoClip.html#moviepy.video.VideoClip.VideoClip.write_videofile

theRAGEhero commented 1 year ago

thank you! I'll read the documentation.

cmprmsd commented 8 months ago

@theRAGEhero Did you solve this issue? Is it possible to write just a patched function while still importing the videogrep module?