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

Missing examples #1

Closed
sycured opened this issue Dec 11, 2022 · 6 comments
Closed

Missing examples #1

sycured opened this issue Dec 11, 2022 · 6 comments

Comments

@sycured
Copy link

sycured commented Dec 11, 2022

I'm trying to move from vmaf-sys to libvmaf-sys but due to missing example code, the migration is really hard.
Also about moving to the new API because compute_vmaf is deprecated.
Do you have any example code that can help?
Thanks

@ThatNerdUKnow
Copy link
Owner

ThatNerdUKnow commented Dec 11, 2022

I'm currently in the process of writing an ergonomic wrapper library libvmaf-rs
However, if you were so inclined, you could use this library directly
This library is pretty much just a build/bindgen script, so any examples from the original C libvmaf repository should also apply

@ThatNerdUKnow
Copy link
Owner

Development of libvmaf-rs is currently paused until the following PR is merged
Netflix/vmaf#1129

@sycured
Copy link
Author

sycured commented Dec 11, 2022

Thank you but I can't access libvmaf-rs

Screenshot_2022-12-11-14-14-06-288_com.github.android.jpg

@ThatNerdUKnow
Copy link
Owner

Oh, sorry about that. I forgot that it's set to private. I'll fix that

@ThatNerdUKnow
Copy link
Owner

ThatNerdUKnow commented Dec 11, 2022

Repo is public now
Keep in mind that libvmaf-rs is still in development and is not currently available on crates.io

@ThatNerdUKnow
Copy link
Owner

I could use help in issue ThatNerdUKnow/libvmaf-rs#2
I'm thinking that I could turn a path into a ffmpegformat and then decode them into an iterator of AVFrames then somehow translate each AVFrame into a VmafPicture by copying over the YUV data into VmafPicture->data[0]

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