-
Notifications
You must be signed in to change notification settings - Fork 13
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
update ffmpeg archive? #8
Comments
I was able to get this to work on my own fork I built an ffmpeg archive similar to the existing one, but using the latest ffmpeg commit (same as what I had installed globally on my system To get h265 support though, I had to link against Would it be possible to make these linking options defined as arguments to the crate? e.g.:
Which would do the equivalent of adding Not sure if this technically possible, as I don't know much about these corners of Rust In the meantime, I hardcoded these changes to my own fork so I can keep going with my work |
@naps62 Okay fine with me. Regarding linking the Anyway, I need to get back to an assignment... But to be brief. I'm fine with adding optional dependencies, but I'd personally prefer for these dependencies to be likewise self contained and statically linked into the resulting binary. So this entails build time stuff, which can be done. If you're interested in making this work, see #7 for an example using my |
Interesting how you wanna do everything the ffmpeg C API. Personally I prefer to use the x265 C API directly, and ffmpeg for only container level stuff and general decoding (since the x265 C api is really easy). I.e. decode in ffmpeg then send the decoded pixel buffer to x265. Best of luck with your project! Only the brave get into the ffmpeg C api :) |
This makes a lot of sense. I actually didn't know for sure this was feasible, so I didn't really consider it. I'm very new to ffmpeg (or at least the libav side), and currently just trying to get a few base demos work to get me going, before moving to my real goals. as for the overall post, I ended up having to move to ffmpeg4_ffi with dynamic linking for now. It turns out that I'll definitely be looking into this later though, as I'd prefer having a fully contained binary at the end. Thank you |
I noticed this package has a hardcoded archive pointing to a build of ffmpeg
I'd be interested in updating that. mostly because I was trying to do h265, and my guess as to why I fail to find that encoder is because it didn't exist in this version
I'm not sure how I should go about this though. I have ffmpeg built on my own machine, but there's probably some requirements regarding compatibility?
The text was updated successfully, but these errors were encountered: