VP9 Encoding support and feature gating#69
Conversation
… add example to exercise the encoding pipeline
|
The runnable example can be invoked via |
…nsure that threading config is permissive to larger core counts
|
Apologies for the post PR change, but added some additional behaviors to:
|
|
After using this branch as a consumer in a separate lib, came across a few things I missed including re-exporting constants to allow for codec selection, and not selecting the right |
|
I like these changes but I'm a bit short on time. Would you be able to separate the different improvements in this PR into separate PRs? That allows me to at least merge the smaller ones (such as feature gating h264) and I can look at the VP9 support later. Also the example in a separate PR would be great. |
|
Yeah I can break it out, though I'd also add that after some usage of my own fork of this lib, I think the feature gating stuff might be overkill. I believe? that might be more or less accomplished by fetching codecs via |
Adds presets to support encoding videos via VP9 ( a friendlier / cheaper licensing situation for FFMPEG distributions ), and puts the availability of H264 and VP9 behind crate features. Also exposes a
.setmethod onOptionsto allow more easily mutating anOptionsdictionary, and allows theAvCodecto be provided in theSettingsstruct rather than being calculated, so that callers can have more freedom in encoding settings.Also adds a runnable example that exercises the encoding pipeline, with configurable parameters.