mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
2b152eae69
Adding vp9parse element to parse various stream information such as resolution, profile, and so on. If upstream does not provide resolution and/or profile, this would be useful for decodebin pipeline for autoplugging suitable decoder element depending on template caps of each decoder element. In addition, vp9parse element supports unpacking superframe into single frame for decoders. The vp9 superframe is a frame which consists of multiple frames (or superframe with one frame is allowed) followed by superframe index block. Then unpacked each frame will be considered as normal frame by decoder. The decision for unpacking will be done by downstream element's "alignment" caps field, which can be "super-frame" or "frame". If downstream specifies the "alignment" as "frame", then vp9parse element will split an incoming superframe into single frames and the superframe index (located at the end of the superframe) data will be discarded by vp9parse element. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1041>
27 lines
737 B
Meson
27 lines
737 B
Meson
vparse_sources = [
|
|
'plugin.c',
|
|
'h263parse.c',
|
|
'gsth263parse.c',
|
|
'gstdiracparse.c',
|
|
'dirac_parse.c',
|
|
'gsth264parse.c',
|
|
'gstmpegvideoparse.c',
|
|
'gstmpeg4videoparse.c',
|
|
'gstpngparse.c',
|
|
'gstvc1parse.c',
|
|
'gsth265parse.c',
|
|
'gstvideoparseutils.c',
|
|
'gstjpeg2000parse.c',
|
|
'gstvp9parse.c',
|
|
]
|
|
|
|
gstvideoparsersbad = library('gstvideoparsersbad',
|
|
vparse_sources,
|
|
c_args : gst_plugins_bad_args + [ '-DGST_USE_UNSTABLE_API' ],
|
|
include_directories : [configinc],
|
|
dependencies : [gstcodecparsers_dep, gstbase_dep, gstpbutils_dep, gstvideo_dep],
|
|
install : true,
|
|
install_dir : plugins_install_dir,
|
|
)
|
|
pkgconfig.generate(gstvideoparsersbad, install_dir : plugins_pkgconfig_install_dir)
|
|
plugins += [gstvideoparsersbad]
|