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

ffmpeg 5.1 bindings #208

Closed
iamcarbon opened this issue Jul 25, 2022 · 7 comments
Closed

ffmpeg 5.1 bindings #208

iamcarbon opened this issue Jul 25, 2022 · 7 comments

Comments

@iamcarbon
Copy link

ffmpeg 5.1 was released on July 22nd. As usual, updated bindings are always appreciated.

https://ffmpeg.org/index.html#news

@Ruslan-B
Copy link
Owner

On it!

@Ruslan-B
Copy link
Owner

I think it will take a bit of time as seems upgrading to Windows 11 and VS2022 again brought instability with no expiation. After I solve it I am going to build full CI/CD pipeline and start to look for replacement for CppSharp as it feels like it dying project - maybe I wrong - I'll reach Autor first. As I already made a lot of hacks to make it work and that is not a good idea for a long run.

@Ruslan-B
Copy link
Owner

@iamcarbon which version of runtime you are using? As I think I have discard legacy tail in targets - it definitely will simplify support. As even NET 5.0 is not supported.
And I have even older versions: netstandard2.1;netstandard2.0;net472;net45;net40.

@iamcarbon
Copy link
Author

iamcarbon commented Jul 29, 2022 via email

@Ruslan-B
Copy link
Owner

Ruslan-B commented Jul 29, 2022

Okay got it - as it seems to be directions - and I should push others.
and update on the progress - it is quite finicky as I didn't expect that many changes between 5.0 and 5.1.
As FFmpeg team introduced new type conversions which are looking as bug - long double - I had extended discussion with some folks which lead to nowhere as we have to go from headers to implementation (but that we can ignore and wait till some one going to file another bug - but am checking that)
So this was the first guy:

typedef union
{   // pun floating type as integer array
    unsigned short _Sh[4];
    long double _Val;
} _ldouble_val

New macroses came now as well - as I have to recall what I did 5 years back then in the parsing part and now it all is new.
I'll link PR as soon I have by pass solution. I have to admit CppSharp hadn't had a lot of updates recently and having a chat with the author wise thing - as I need 2017, 2019 and 2022 VS to run generation on my pc and I am scratching a had - I could probably revert all project structures to 2017 - thank you - no go - keep you posted.
Most important one in bold on the top.
The rest just emotional.)
I'll get there.

@Ruslan-B
Copy link
Owner

Ruslan-B commented Aug 6, 2022

To keep updated - I'll publish new package today or tomorrow.

@Ruslan-B
Copy link
Owner

Ruslan-B commented Aug 7, 2022

I listed updated package.

@Ruslan-B Ruslan-B closed this as completed Aug 7, 2022
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