Freeseer / freeseer

Designed for capturing presentations at conferences. Pre-fill a list of talks to record, record them, and upload them to YouTube with our YouTube Uploader.
http://freeseer.readthedocs.org
GNU General Public License v3.0
215 stars 110 forks source link

Extend Output plugins to support reusable Encoders #473

Open zxiiro opened 10 years ago

zxiiro commented 10 years ago

Today every output plugin defines it's own set of encoder for audio / video before mixing it into a muxer. This makes it hard to reuse encoder code as each plugin is essentially rewriting that part.

I think there should be a new "Encoder" Plugin type which can be reused by an output plugin. These encoders should be configurable options inside the output plugin.

Whether the "muxer" should be part of the encoder plugin is worth thinking of.

zxiiro commented 10 years ago

Another idea is maybe instead of extending plugins we can instead have a shared API which all output plugins can poll from to grab muxers and supported encoders for each muxer.

The output plugin will then just need to define what muxers it wants to support and the API would send back what encoders are supported by that muxer.