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

A few small additions #65

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

russells-crockpot
Copy link

A while ago I made some extension traits for a personal project. I decided it made sense to add them to the project. There are three main things:

  1. Add the ability to link filters together (commit 3430c23)
  2. Added the ability to seek to a frame in a format::context::Input (commit 5e651ae)
  3. Added the ability to get the dimensions and coded dimensions of a codec::context::Context (commit 5d9c94d)

Additionally, in order to get it to build, I added some panic statements to some matches (commit 5306439). Essentially, it makes it that if someone (like me) has a newer version of ffmpeg, they'll still be able to use the library (it'll just panic if they try to do anything that isn't supported).

I only added these in places where it was necessary in order to build. Personally, I think it would be a good idea to add them else where (and I'm more than willing to do it myself), but I thought I should check first.

@xd009642
Copy link

xd009642 commented Jul 6, 2021

So just because I fell into this trap, but https://github.com/meh/rust-ffmpeg is now active again and it seems this version may not be inactive? Might be worth seeing if you can apply your PR to meh's crate if it's not already there (there's some updates this one doesn't have)

@Polochon-street
Copy link
Collaborator

wow, seems like a coincidence, but I just took over the maintaining of this ffmpeg-next fork, and reviewing / merging stuff along the way. Not sure what's happening, but I'm currently trying to make ffmpeg-next work with ffmpeg 4.4. Haven't had the chance to review that one yet :)

@xd009642
Copy link

xd009642 commented Jul 6, 2021

Ah apologies, I thought this one was now inactive as the last commit was in december and none of my issues and my PR hadn't been responded to. Whereas meh told me he was now working on rust-ffmpeg again and has responded to issues and merged my PRs 😅 . Maybe it's worth talking to someone working with ffmpeg-next to work out what to do going forwards

@Polochon-street
Copy link
Collaborator

no worries, it's fresh as of yesterday 😄
I'll just fix it for 4.4, and get in touch with meh to check whether it's worth it to continue maintaining this crate. Thanks for bringing that up!

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

Successfully merging this pull request may close these issues.

4 participants