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

Support for more codecs/containers & custom ffmpeg options #2

Open
martindisch opened this issue Feb 29, 2020 · 2 comments
Open

Support for more codecs/containers & custom ffmpeg options #2

martindisch opened this issue Feb 29, 2020 · 2 comments

Comments

@martindisch
Copy link
Owner

Pinging @ipatch.

Hey, this is really just here to notify you that I finally got around to implementing support for passing custom ffmpeg options. It doesn't use hardcoded file extensions anymore either, so it works with any codec/container combination that ffmpeg supports, not just what I use. And by passing in custom options, you can now select a codec and configure it to your liking.
The default is still H.264 with CRF 26 and the veryslow preset, but if you want to do something else, it's now as simple as

$ shepherd -c c1,c2 input.mkv output.mp4 -- -c:v libx264 -crf 40

I also upload an x86-64 binary for every release now, since I'm aware that many people who might want to try this don't necessarily know about Rust or are willing to install Cargo.

@ipatch
Copy link

ipatch commented Mar 4, 2020

hey this looks awesome man.

sorry i haven't gotten back sooner, but i've been busy with some other things as of late, hopefully i'll get some time later this week to test this out, and let you know how it goes.

I think supporting native ffmpeg options and switches is an awesome idea for people who want to use for distributed encoding. 🚀

@martindisch
Copy link
Owner Author

Thanks! There's no rush, took me long enough to make this small change 😄

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