Refactor avcfg / avvidenc
authorMathieu Duponchelle <mathieu@centricular.com>
Wed, 27 Jun 2018 18:41:37 +0000 (20:41 +0200)
committerMathieu Duponchelle <mathieu@centricular.com>
Thu, 12 Jul 2018 22:53:26 +0000 (00:53 +0200)
commit1e4529ced2dadbfed4ac10d639a45dbcb0660129
tree524195b7b45c9b47007e662f169e63a11508c759
parentd8dfa4657b61ab4c21bbcb59ffa97909c030aed4
Refactor avcfg / avvidenc

We were previously installing hardcoded properties for all
video encoders, refactor to instead use FFmpeg's AVOption API.

avvidenc still exposes a few properties related to the pass
mechanism: while the AVOption API allows specifying both passes
as flags at the same time, this is not practical in GStreamer's
context, where passes need to be run separately using a stats file.

https://bugzilla.gnome.org/show_bug.cgi?id=792900
ext/libav/gstavcfg.c
ext/libav/gstavcfg.h
ext/libav/gstavcodecmap.c
ext/libav/gstavvidenc.c
ext/libav/gstavvidenc.h