vedo icon indicating copy to clipboard operation
vedo copied to clipboard

quality and resolution of the video

Open YongcaiHuang opened this issue 1 year ago • 3 comments

in the example of saving video, there is the settings.screenshot_scale to control the resolution or quality of the video. However, in recent version of vedo, there is no screenshot_scale property. how can we control the quality now? Also, is there any plan to update the example documentation?

# settings.screeshot_scale = 2  # to get higher resolution

YongcaiHuang avatar Jul 27 '24 03:07 YongcaiHuang

You should be able to do it with

plotter.screenshot("filneame.png", scale=2)

Also, is there any plan to update the example documentation?

Documentation should be already up to date in https://vedo.embl.es/autodocs/content/vedo/vedo.html Do you see anything that is out of date?

marcomusy avatar Jul 27 '24 17:07 marcomusy

thanks for your reply.

I have tried plotter.screenshot(). It can indeed increase the quality of the screenshot picture, but how can we apply this to the video?

Also, is there any plan to update the example documentation?

sorry for the misleading, I mean the out-dated code in the example

# settings.screeshot_scale = 2  # to get higher resolution

YongcaiHuang avatar Jul 28 '24 09:07 YongcaiHuang

Thanks for pointing to the problem I just pushed a fix for it:

video = Video(..., scale=2)

marcomusy avatar Jul 28 '24 10:07 marcomusy