Commit graph

5581 commits

Author SHA1 Message Date
Thibault Saunier
ed0470e81b x264enc: Add a 'Zero Latency' profile
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/42>
2020-07-23 21:05:40 -04:00
Mathieu Duponchelle
2a506b48d0 tests/x264enc: Don't declare variables inside the for loop header
This is a C99 feature

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/64>
2020-07-22 17:31:37 +02:00
Jan Alexander Steffens (heftig)
8233ff36e5 tests: x264enc: Test formats are compatible with profile
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/59>
2020-07-22 10:03:06 +02:00
Jan Alexander Steffens (heftig)
05bb87ea0f x264enc: Separate high-10 video formats from 8-bit formats
If downstream is constrained to an 8-bit profile, caps queries would
still allow I420_10LE as input. If upstream actually sends such a caps
event, downstream would fail to accept the high-10 profile.

The following pipeline now fails earlier, during the negotiation phase
instead of the stream start:

    gst-launch-1.0 videotestsrc ! video/x-raw,format=I420_10LE \
        ! x264enc ! video/x-h264,profile=constrained-baseline \
        ! fakesink

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/59>
2020-07-21 15:41:52 +02:00
Jan Alexander Steffens (heftig)
09db0d66b7 tests: x264enc: Test 10-bit formats
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/59>
2020-07-21 15:41:50 +02:00
Jan Alexander Steffens (heftig)
a612f20120 tests: x264enc: Test all (8-bit) video formats
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/59>
2020-07-21 15:41:37 +02:00
Thibault Saunier
de77207bfa x264enc: Forward downstream colorimetry and chroma-site upstream
So that the value can be used by upstream converters when necessary.

This whole logic has been copied from `__gst_video_element_proxy_caps`
but those 2 fields were missing.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/60>
2020-07-10 08:47:29 -04:00
Tim-Philipp Müller
9c1aacb635 meson: set release date from .doap file for releases
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/61>
2020-07-08 17:07:35 +01:00
Tim-Philipp Müller
59a7742cff Back to development 2020-07-03 02:03:37 +01:00
Tim-Philipp Müller
e1e53da760 Release 1.17.2 2020-07-03 00:29:26 +01:00
Mathieu Duponchelle
9b8d369639 meson: mark plugins cache target as always stale 2020-06-23 00:03:04 +02:00
Thibault Saunier
0d922181dd doc: Stop documenting properties from parents 2020-06-22 11:05:48 -04:00
Tim-Philipp Müller
83e9711973 Back to development 2020-06-20 00:28:13 +01:00
Tim-Philipp Müller
7952fb8ea2 Release 1.17.1 2020-06-19 19:20:42 +01:00
Thibault Saunier
bef9a9b318 docs: Update plugins cache 2020-06-10 10:30:29 -04:00
Thibault Saunier
d8712b849a docs: Update plugins cache 2020-06-08 10:54:41 -04:00
Philippe Normand
84cebf9fab siddec: update gst_type_mark_as_plugin_api() calls
This was left behind in commit bc1ab5e8e0.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/55>
2020-06-06 10:15:25 +01:00
Mathieu Duponchelle
bc1ab5e8e0 plugins: uddate gst_type_mark_as_plugin_api() calls 2020-06-06 00:41:38 +02:00
Thibault Saunier
a4decfddda doc: Require hotdoc >= 0.11.0 2020-06-03 22:44:20 -04:00
Sebastian Dröge
e4eeef2bbf docs: Update gst_plugins_cache.json 2020-06-03 22:44:20 -04:00
Sebastian Dröge
dddf71b18d plugins: Use gst_type_mark_as_plugin_api() for all non-element plugin types 2020-06-03 22:44:20 -04:00
Tim-Philipp Müller
112174bcea asfdemux: extract WM/PartOfSet disc number and count metadata
Fixes #30

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/54>
2020-06-02 12:26:41 +01:00
Tim-Philipp Müller
4f4b67bea4 asfdemux: sprinkle some INDENT-OFF
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/54>
2020-06-02 12:26:41 +01:00
Tim-Philipp Müller
4063a319c5 tests: fix meson test env setup to make sure we use the right gst-plugin-scanner
If core is built as a subproject (e.g. as in gst-build), make sure to use
the gst-plugin-scanner from the built subproject. Without this, gstreamer
might accidentally use the gst-plugin-scanner from the install prefix if
that exists, which in turn might drag in gst library versions we didn't
mean to drag in. Those gst library versions might then be older than
what our current build needs, and might cause our newly-built plugins
to get blacklisted in the test registry because they rely on a symbol
that the wrongly-pulled in gst lib doesn't have.

This should fix running of unit tests in gst-build when invoking
meson test or ninja test from outside the devenv for the case where
there is an older or different-version gst-plugin-scanner installed
in the install prefix.

In case no gst-plugin-scanner is installed in the install prefix, this
will fix "GStreamer-WARNING: External plugin loader failed. This most
likely means that the plugin loader helper binary was not found or
could not be run. You might need to set the GST_PLUGIN_SCANNER
environment variable if your setup is unusual." warnings when running
the unit tests.

In the case where we find GStreamer core via pkg-config we use
a newly-added pkg-config var "pluginscannerdir" to get the right
directory. This has the benefit of working transparently for both
installed and uninstalled pkg-config files/setups.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/53>
2020-05-27 14:55:11 +01:00
Guillaume Desmottes
887416db4b dvdreadsrc: fix uninitialized warning
Variable is always set in actual code paths but let's keep gcc happy.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/51>
2020-05-27 09:13:17 +02:00
Nirbheek Chauhan
8562bb304d meson: Pass native: false to add_languages()
This is needed for cross-compiling without a build machine compiler
available. The option was added in 0.54, but we only need this in
Cerbero and it doesn't affect older versions so it should be ok.
Will just cause a spurious warning.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/-/merge_requests/50>
2020-05-12 05:07:47 +05:30
Derek Lesho
8fe8ed3dd2 asfdemux: Always re-initialize metadata and global_metadata
When transitioning from the PAUSED state, to the READY state, and back,
metadata and global_metadata are left uninitialized, unlike when the
demxuer transitions from NULL to READY, then to PAUSED.  I have found
this to cause a segmentation fault when fields in these structures are
set.
2020-04-08 11:06:27 +03:00
Nicolas Dufresne
15440f2ddc x264enc: Fix 'ref' property range and default
The --ref option indicate the size of the DPB, hence should be in the range of
0 to 16. This patch also fix the default to match x264enc default 3. This
change isn't a behaviour change since we don't enforce the reported default.
2020-04-02 20:26:07 +00:00
Thibault Saunier
9b1e183256 a52dec: Mark as converter
It is able to do channel downminxing, so technically it is also a
converter

This is also important so validate knows about that when doing its
checks
2020-03-19 18:09:50 -03:00
Thibault Saunier
9273903286 x264enc: Respect Youtube bitrate recommandation
Properly follow google recommendations[0] concerning bitrate when the
user wants to use the youtube profile.

[0]: https://support.google.com/youtube/answer/1722171?hl=en
2020-01-07 21:21:42 +00:00
Stéphane Cerveau
a47b6b5f3c ugly: use of g_value_dup_string
Use helper method to get string from GValue.
2019-12-18 16:09:42 +01:00
Dmitry Shusharin
0dd89a1dd2 x264enc: fixed codestyle 2019-12-14 18:49:54 +07:00
Dmitry Shusharin
9d3b96e5f7 x264enc: corrected em_data value in CEA-708 CC SEI message (fixes #28)
Section 4.4 of CEA-708-D specification (table 2) requires all bits to be
set inside em_data field. h264parse element (and possible third-party
decoders such as libav) also follows this requirement.

https://gitlab.freedesktop.org/gstreamer/gst-plugins-ugly/issues/28
2019-12-14 17:24:33 +07:00
Tim-Philipp Müller
3cd445a490 Remove autotools build system 2019-10-13 14:19:11 +01:00
Aaron Boxer
3f24460e37 documentation: fix some typos 2019-09-02 09:33:15 -04:00
Mathieu Duponchelle
b3f0008b34 docstrings: port ulinks to markdown links 2019-08-23 19:06:59 +02:00
Matthew Waters
8f5b7a93b4 meson: Don't generate doc cache when no plugins are enabled
Fixes gst-build with -Dauto-features=disabled -Dugly=enabled
2019-08-23 16:25:25 +10:00
Seungha Yang
f31f085e7b x264enc: Port to color_{primaries,transfer,matrix}_to_iso
... with more color value mapping
2019-07-15 17:06:23 +00:00
Seungha Yang
fe92e92c14 tests: x264enc: Enable test on Windows
... with removal of pointless unistd.h dependency.
Note that full dependency listing is required to run unit test
executable binary on Windows uninstalled environment.
2019-07-15 22:46:18 +09:00
Niels De Graef
985ace70e0 meson: Bump minimal GLib version to 2.44
This means we can use some newer features and get rid of some
boilerplate code using the G_DECLARE_* macros.

As discussed on IRC, 2.44 is old enough by now to start depending on it.
2019-06-02 21:27:12 +02:00
Mathieu Duponchelle
dd96c2a989 doc: remove xml from comments 2019-05-29 23:00:48 +02:00
Tim-Philipp Müller
f93aa34200 asfdemux: remove some unused cruft in internal headers 2019-05-25 14:19:54 +02:00
Thibault Saunier
b081d5a34b docs: Stop building the doc cache by default
And update the cache

Fixes https://gitlab.freedesktop.org/gstreamer/gst-docs/issues/36
2019-05-16 09:34:21 -04:00
Thibault Saunier
89299d478d docs: Update plugins documentation cache 2019-05-13 23:05:57 -04:00
Thibault Saunier
21ac37c61a docs: Port documentation to hotdoc 2019-05-13 17:00:00 -04:00
Thibault Saunier
2df9f6e5ce docs: Port all docstring to gtk-doc markdown 2019-04-26 20:32:26 -04:00
Tim-Philipp Müller
e778c5594f meson: sidplay: use library() instead of shared_module()
Like we do for other plugins, and also install a .pc file
if we build the plugin statically.
2019-04-26 18:28:04 +01:00
Sebastian Dröge
8c994a632b meson: Always require the gmodule dependency
It's needed by the dvdread plugin but also by the x264 plugin in certain
circumstances. As it's part of GLib and always available, simply move it
as a hard dependency to the top-level meson.build.
2019-04-22 12:51:33 +03:00
Tim-Philipp Müller
7107fc5214 Back to development 2019-04-19 11:00:07 +01:00
Tim-Philipp Müller
6cbac8d09f Release 1.16.0 2019-04-19 00:24:41 +01:00