Jakub Adam
b4a00f78bc
videoencoder: pass upstream HDR information through codec state
...
Don't copy HDR metadata from sink pad, because its caps may not have
been set yet if GstVideoEncoder::negotiate is called from
GstVideoEncoder::set_format, as e.g. vpx encoder does.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1175 >
2021-08-17 14:54:06 +00:00
Sebastian Dröge
954a314ca8
videoencoder: Add test for min-force-key-unit-interval property
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/684 >
2020-06-05 10:04:43 +00:00
Sebastian Dröge
76364ebfe7
videoencoder: Also don't request a new key-unit if we already got one after the requested running time
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/684 >
2020-06-05 10:04:43 +00:00
Sebastian Dröge
931b5ad996
videoencoder: Add test for correct force-keyunit event handling
...
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/684 >
2020-06-05 10:04:43 +00:00
Sebastian Dröge
01eecc69bd
videoencoder: Fix force-keyunit handling in test
...
This now behaves according to the videoencoder API instead of some other
signalling.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/684 >
2020-06-05 10:04:43 +00:00
Stéphane Cerveau
66df967dab
tests: add video encoder test with subframes API
2019-12-21 02:59:14 +00:00
Olivier Crête
6b283d9e78
Revert "videoencoder: factor out logic from gst_video_encoder_finish_frame()"
...
This reverts commit b1ec312b8e
.
2019-12-19 17:52:12 -05:00
Stéphane Cerveau
b1ec312b8e
videoencoder: factor out logic from gst_video_encoder_finish_frame()
...
No semantic change, I'm going to reuse all those functions in a new
finish_slice() methods.
2019-12-19 21:59:10 +00:00
Tim-Philipp Müller
82dc6a4858
tests: videoencoder: fix leaks in unit test
2019-03-06 10:51:40 +00:00
Guillaume Desmottes
7950a4614c
videoencoder: add qos property
...
This new property control if the encoder base class should gather QoS
stats and if subclasses should use them by dropping late frames.
https://bugzilla.gnome.org/show_bug.cgi?id=789467
2017-10-25 14:22:15 +02:00
Guillaume Desmottes
bcca3b926c
videoencoder: implement QoS
...
It allows encoders to detect and drop input frames which are already
late to increase the chance of the pipeline to catch up.
The QoS logic and code is directly copied from gstvideodecoder.c.
https://bugzilla.gnome.org/show_bug.cgi?id=582166
2017-10-19 16:26:22 +02:00
Guillaume Desmottes
9264a298bf
videoencoder test: properly name the encoder variable
...
The element is an encoder so calling it 'dec' makes things confusing.
https://bugzilla.gnome.org/show_bug.cgi?id=582166
2017-10-19 16:26:22 +02:00
Vineeth TM
44b70ca3a1
base: use new gst_element_class_add_static_pad_template()
...
https://bugzilla.gnome.org/show_bug.cgi?id=763075
2016-03-24 14:25:41 +02:00
Stian Selnes
85f297d648
videoencoder: Fix leak when pre_push does not return OK
...
https://bugzilla.gnome.org/show_bug.cgi?id=761951
2016-02-13 10:09:45 -03:00
Tim-Philipp Müller
35bd289be3
tests: fix crashes in {audio,video}{decoder,encoder} tests on 32-bit
...
Don't feed 64-bit integer variable into vararg function that expects
an unsigned integer to go with GST_TAG_TRACK_NUMBER. This would
cause crashes on 32-bit platforms, and if not that then test
failures if the comparisons fail later (at least on big endian
platforms).
2015-02-27 20:26:43 +00:00
Thibault Saunier
2843f358d9
videoencoder: Keep still meaningfull pending events on FLUSH_STOP
...
Only EOS and segment should be deleted in that case.
https://bugzilla.gnome.org/show_bug.cgi?id=709868
2014-06-03 13:03:19 +02:00
Sebastian Dröge
85c502d626
videoencoder/decoder: Fix memory leaks in the tests
2014-04-15 11:55:22 +02:00
Thiago Santos
4fefd48f05
tests: videoencoder: check that tags are pushed before eos
...
Check that if a new tag event is received right before eos it
is pushed before the eos
2014-01-29 12:33:59 -03:00
Thiago Santos
6684aa42cd
tests: videoencoder: basic videoencoder base class test
...
Adds a single test for video encoding
2014-01-29 12:33:59 -03:00