mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 19:31:12 +00:00
55c0d7205d
The gst-msdk decoders prefer packetized streams as input and in this case we can avoid unnecessary input bitstream copy to mfxBitstream. This works fine for codecs like h264 where we only support byte-stream with au alignment. Other format conversions should be done thorugh parsers. But this won't work for codecs like vc1 where we don't have an autoplugged parser. Even the parser is not capable to do format conversions. Packetizing through base decoders parse() routine will bring a lot of uncecessary of complexities and codecparser libraray dependency. So we just use an interal gst_adaper to keep track of bitstream which is not consumed by msdk durig AsynchronusDecoding. This adapter will get used only if subclass implementations set the "is_packetized" to FALSE for msdk base encoder. https://bugzilla.gnome.org/show_bug.cgi?id=792589 |
||
---|---|---|
.. | ||
gstmsdk.c | ||
gstmsdkallocator.h | ||
gstmsdkallocator_d3d.c | ||
gstmsdkallocator_libva.c | ||
gstmsdkbufferpool.c | ||
gstmsdkbufferpool.h | ||
gstmsdkcontext.c | ||
gstmsdkcontext.h | ||
gstmsdkcontextutil.c | ||
gstmsdkcontextutil.h | ||
gstmsdkdec.c | ||
gstmsdkdec.h | ||
gstmsdkenc.c | ||
gstmsdkenc.h | ||
gstmsdkh264dec.c | ||
gstmsdkh264dec.h | ||
gstmsdkh264enc.c | ||
gstmsdkh264enc.h | ||
gstmsdkh265dec.c | ||
gstmsdkh265dec.h | ||
gstmsdkh265enc.c | ||
gstmsdkh265enc.h | ||
gstmsdkmjpegdec.c | ||
gstmsdkmjpegdec.h | ||
gstmsdkmjpegenc.c | ||
gstmsdkmjpegenc.h | ||
gstmsdkmpeg2dec.c | ||
gstmsdkmpeg2dec.h | ||
gstmsdkmpeg2enc.c | ||
gstmsdkmpeg2enc.h | ||
gstmsdksystemmemory.c | ||
gstmsdksystemmemory.h | ||
gstmsdkvc1dec.c | ||
gstmsdkvc1dec.h | ||
gstmsdkvideomemory.c | ||
gstmsdkvideomemory.h | ||
gstmsdkvp8dec.c | ||
gstmsdkvp8dec.h | ||
gstmsdkvp8enc.c | ||
gstmsdkvp8enc.h | ||
Makefile.am | ||
meson.build | ||
msdk.c | ||
msdk.h | ||
msdk_d3d.c | ||
msdk_libva.c | ||
msdk_libva.h | ||
README |
# gst-msdk gst-msdk is a plugin for [Intel Media SDK](https://software.intel.com/en-us/media-sdk), a cross-platform API for developing media applications. The plugin has multiple elements for video hardware encoding leveraging latest Intel processors through Intel Media SDK. - MPEG2 encoding (*msdkmpeg2enc*) - H.264 encoding (*msdkh264enc*) - H.265 encoding (*msdkh265enc*) - VP8 encoding (*msdkvp8enc*) It requires: - Intel Media SDK # Giving it a try Encoding a simple video test source and saving it to a file. $ gst-launch-1.0 videotestsrc ! msdkh264enc ! filesink location=test.h264 # License gst-mdk is freely available for download under the terms of the [BSD-3-Clause License](https://spdx.org/licenses/BSD-3-Clause.html).