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

use vapoursynth api directly in rust to execute plugin calls #37

Open
animafps opened this issue Dec 9, 2022 · 6 comments
Open

use vapoursynth api directly in rust to execute plugin calls #37

animafps opened this issue Dec 9, 2022 · 6 comments
Labels
enhancement New feature or request

Comments

@animafps
Copy link
Owner

animafps commented Dec 9, 2022

There exists a vapoursynth api wrapper for rust: https://github.com/YaLTeR/vapoursynth-rs so to optimize and create total memory safety we can call all the plugin calls within rust then push the resulting buffer to ffmpeg.

This will allow for easier config management and code base because we wouldnt need to create a temp script and can allow for our own plugin integration within the codebase

This is very long term improvement and currently better to implement a vspipe replacement in rust and call it

@animafps animafps converted this from a draft issue Dec 9, 2022
@animafps animafps added the enhancement New feature or request label Dec 9, 2022
@Aetopia
Copy link

Aetopia commented Dec 25, 2022

You can just pass arguments to the script itself though. (That is what Smoothie does.)

@animafps
Copy link
Owner Author

You can just pass arguments to the script itself though. (That is what Smoothie does.)

Huh? What arguments, its about removing the entire need for scripting

@animafps
Copy link
Owner Author

You can just pass arguments to the script itself though. (That is what Smoothie does.)

I see what you are meaning tho, to turn it into a static vpy script and pass args which i will do in the meantime before thinking about wrapping vapoursynth

@animafps
Copy link
Owner Author

animafps commented Jan 15, 2023

https://github.com/animafps/rustsynth - new wrapper

GitHub
a safe vapoursynth wrapper to rust. Contribute to animafps/rustsynth development by creating an account on GitHub.

@animafps animafps moved this from Todo to In Progress in Teres Project Board Aug 23, 2023
@animafps
Copy link
Owner Author

Leiko in CTT made a good point that its prob easier to run without trying to abstract vapoursynth and run everything in house

like libav the input then manipulate the video with libtorch or ncnn and then better handle everything on the gpu with kernels/opengl then output again through libav

so dont need to make stupid plugins that are hard to control but would def require a lot of work

would require less opinionated coding especially around the wrapper

OR an idea focus teres on just blending not interpolation which could be way more optimized for a workflow and stop teres from being a jack of all trades, master of none

@couleurm
Copy link

couleurm commented Oct 17, 2023

https://github.com/atzuur/pixie
still wip

https://github.com/unknownopponent/video-blender
closest to what you described, though it's all CPU (atzur claimed it still goes zoom zoom 🏎)

didn't manage to compile it with Visual Studio, a GCC compliant version would be cool 🌝

GitHub
Simple and fast video filtering. Contribute to atzuur/pixie development by creating an account on GitHub.
GitHub
Contribute to unknownopponent/Video-Blender development by creating an account on GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

3 participants