gstreamer/gst/encoding
Thibault Saunier 1cead20777 encodebin: Fix and refactor smart encoding
It was not working properly and the implementation of the smartencoder
element was weird. This introduce a number of changes (which are all
in one single commit because they basically all work together and lead
to basically reimplementing the element):

* Make smartencoder a bin so that the reencoding chain of elements are
  inside of it instead of not having any parent. Those elements were not
  be visible when dumping the pipeline which was very confusing.
* Make encodebin create the right encoder with a capsfilter (and parser)
  to properly enforce the format specified by the user, and so that the
  encoder properties specified in the encoding profile are respected.
* Use `decodebin` to do the decoding instead of selecting a decoder
  ourself and not plug any parser etc...
* Ensure that negotiated format in the sinkpad of smart encoder is fixed
  through time when the user requested a non dynamic output
* Add a parser at the beginning of the smart encoder
* Handle errors when reencoding

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/751>
2020-07-22 16:01:25 +00:00
..
gstencodebin.c encodebin: Fix and refactor smart encoding 2020-07-22 16:01:25 +00:00
gstencodebin.h Fix FSF address 2012-11-03 23:05:09 +00:00
gstsmartencoder.c encodebin: Fix and refactor smart encoding 2020-07-22 16:01:25 +00:00
gstsmartencoder.h encodebin: Fix and refactor smart encoding 2020-07-22 16:01:25 +00:00
gststreamcombiner.c streamsplitter/combiner: Drain encoder before switching branch 2020-07-22 16:01:25 +00:00
gststreamcombiner.h streamsplitter/combiner: Drain encoder before switching branch 2020-07-22 16:01:25 +00:00
gststreamcombinerpad.h encoding: Use G_DECLARE_FINAL_TYPE 2020-03-16 15:47:58 +00:00
gststreamsplitter.c streamsplitter: Forward STREAM_START to all branchs 2020-07-22 16:01:25 +00:00
gststreamsplitter.h encoding: Use G_DECLARE_FINAL_TYPE 2020-03-16 15:47:58 +00:00
meson.build doc: Port to hotdoc 2019-05-13 11:34:08 -04:00