rawparse: Move to gst-plugins-base

https://bugzilla.gnome.org/show_bug.cgi?id=774544
This commit is contained in:
Sebastian Dröge 2017-02-25 14:48:40 +02:00
parent 498ee680fe
commit 38ec8f396f
41 changed files with 429 additions and 65 deletions

View file

@ -496,6 +496,7 @@ AG_GST_CHECK_PLUGIN(videoconvert)
AG_GST_CHECK_PLUGIN(gio)
AG_GST_CHECK_PLUGIN(playback)
AG_GST_CHECK_PLUGIN(audioresample)
AG_GST_CHECK_PLUGIN(rawparse)
AG_GST_CHECK_PLUGIN(subparse)
AG_GST_CHECK_PLUGIN(tcp)
AG_GST_CHECK_PLUGIN(typefind)
@ -881,6 +882,7 @@ gst/videoconvert/Makefile
gst/gio/Makefile
gst/pbtypes/Makefile
gst/playback/Makefile
gst/rawparse/Makefile
gst/subparse/Makefile
gst/tcp/Makefile
gst/typefind/Makefile

View file

@ -84,6 +84,10 @@ EXTRA_HFILES = \
$(top_srcdir)/gst/playback/gstsubtitleoverlay.h \
$(top_srcdir)/gst/audiorate/gstaudiorate.h \
$(top_srcdir)/gst/audioresample/gstaudioresample.h \
$(top_srcdir)/gst/rawparse/gstrawaudioparse.h \
$(top_srcdir)/gst/rawparse/gstrawvideoparse.h \
$(top_srcdir)/gst/rawparse/gstunalignedaudioparse.h \
$(top_srcdir)/gst/rawparse/gstunalignedvideoparse.h \
$(top_srcdir)/gst/subparse/gstssaparse.h \
$(top_srcdir)/gst/subparse/gstsubparse.h \
$(top_srcdir)/gst/tcp/gstmultifdsink.h \

View file

@ -51,6 +51,8 @@
<xi:include href="xml/element-playbin.xml" />
<xi:include href="xml/element-playbin3.xml" />
<xi:include href="xml/element-playsink.xml" />
<xi:include href="xml/element-rawaudioparse.xml" />
<xi:include href="xml/element-rawvideoparse.xml" />
<xi:include href="xml/element-socketsrc.xml" />
<xi:include href="xml/element-ssaparse.xml" />
<xi:include href="xml/element-streamsynchronizer.xml" />
@ -66,6 +68,8 @@
<xi:include href="xml/element-theoraenc.xml" />
<xi:include href="xml/element-theoraparse.xml" />
<xi:include href="xml/element-timeoverlay.xml" />
<xi:include href="xml/element-unalignedaudioparse.xml" />
<xi:include href="xml/element-unalignedvideoparse.xml" />
<xi:include href="xml/element-uridecodebin.xml" />
<xi:include href="xml/element-urisourcebin.xml" />
<xi:include href="xml/element-videoconvert.xml" />
@ -99,6 +103,7 @@
<xi:include href="xml/plugin-opus.xml" />
<xi:include href="xml/plugin-pango.xml" />
<xi:include href="xml/plugin-playback.xml" />
<xi:include href="xml/plugin-rawparse.xml" />
<xi:include href="xml/plugin-subparse.xml" />
<xi:include href="xml/plugin-tcp.xml" />
<xi:include href="xml/plugin-theora.xml" />

View file

@ -600,6 +600,38 @@ GST_TYPE_STREAM_SYNCHRONIZER
gst_stream_synchronizer_get_type
</SECTION>
<SECTION>
<FILE>element-rawaudioparse</FILE>
<TITLE>rawaudioparse</TITLE>
GstRawAudioParse
<SUBSECTION Standard>
GstRawAudioParseClass
GST_RAW_AUDIO_PARSE
GST_RAW_AUDIO_PARSE_CAST
GST_IS_RAW_AUDIO_PARSE
GST_RAW_AUDIO_PARSE_CLASS
GST_IS_RAW_AUDIO_PARSE_CLASS
GST_TYPE_RAW_AUDIO_PARSE
<SUBSECTION Private>
gst_raw_audio_parse_get_type
</SECTION>
<SECTION>
<FILE>element-rawvideoparse</FILE>
<TITLE>rawvideoparse</TITLE>
GstRawAudioParse
<SUBSECTION Standard>
GstRawAudioParseClass
GST_RAW_VIDEO_PARSE
GST_RAW_VIDEO_PARSE_CAST
GST_IS_RAW_VIDEO_PARSE
GST_RAW_VIDEO_PARSE_CLASS
GST_IS_RAW_VIDEO_PARSE_CLASS
GST_TYPE_RAW_VIDEO_PARSE
<SUBSECTION Private>
gst_raw_video_parse_get_type
</SECTION>
<SECTION>
<FILE>element-subparse</FILE>
<TITLE>subparse</TITLE>
@ -797,6 +829,38 @@ GST_TYPE_TIME_OVERLAY
gst_time_overlay_get_type
</SECTION>
<SECTION>
<FILE>element-unalignedaudioparse</FILE>
<TITLE>unalignedaudioparse</TITLE>
GstRawAudioParse
<SUBSECTION Standard>
GstRawAudioParseClass
GST_UNALIGNED_AUDIO_PARSE
GST_UNALIGNED_AUDIO_PARSE_CAST
GST_IS_UNALIGNED_AUDIO_PARSE
GST_UNALIGNED_AUDIO_PARSE_CLASS
GST_IS_UNALIGNED_AUDIO_PARSE_CLASS
GST_TYPE_UNALIGNED_AUDIO_PARSE
<SUBSECTION Private>
gst_unaligned_audio_parse_get_type
</SECTION>
<SECTION>
<FILE>element-unalignedvideoparse</FILE>
<TITLE>unalignedvideoparse</TITLE>
GstRawAudioParse
<SUBSECTION Standard>
GstRawAudioParseClass
GST_UNALIGNED_VIDEO_PARSE
GST_UNALIGNED_VIDEO_PARSE_CAST
GST_IS_UNALIGNED_VIDEO_PARSE
GST_UNALIGNED_VIDEO_PARSE_CLASS
GST_IS_UNALIGNED_VIDEO_PARSE_CLASS
GST_TYPE_UNALIGNED_VIDEO_PARSE
<SUBSECTION Private>
gst_unaligned_video_parse_get_type
</SECTION>
<SECTION>
<FILE>element-uridecodebin</FILE>
<TITLE>uridecodebin</TITLE>

View file

@ -3378,3 +3378,163 @@
<DEFAULT>0</DEFAULT>
</ARG>
<ARG>
<NAME>GstRawVideoParse::format</NAME>
<TYPE>GstVideoFormat</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Format</NICK>
<BLURB>Format of frames in raw stream.</BLURB>
<DEFAULT>GST_VIDEO_FORMAT_I420</DEFAULT>
</ARG>
<ARG>
<NAME>GstRawVideoParse::frame-stride</NAME>
<TYPE>guint</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Frame stride</NICK>
<BLURB>Stride between whole frames (0 = frames are tightly packed together).</BLURB>
<DEFAULT>0</DEFAULT>
</ARG>
<ARG>
<NAME>GstRawVideoParse::framerate</NAME>
<TYPE>GstFraction</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Frame rate</NICK>
<BLURB>Rate of frames in raw stream.</BLURB>
<DEFAULT></DEFAULT>
</ARG>
<ARG>
<NAME>GstRawVideoParse::height</NAME>
<TYPE>gint</TYPE>
<RANGE>>= 0</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Height</NICK>
<BLURB>Height of frames in raw stream.</BLURB>
<DEFAULT>240</DEFAULT>
</ARG>
<ARG>
<NAME>GstRawVideoParse::interlaced</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Interlaced flag</NICK>
<BLURB>True if frames in raw stream are interlaced.</BLURB>
<DEFAULT>FALSE</DEFAULT>
</ARG>
<ARG>
<NAME>GstRawVideoParse::pixel-aspect-ratio</NAME>
<TYPE>GstFraction</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Pixel aspect ratio</NICK>
<BLURB>Pixel aspect ratio of frames in raw stream.</BLURB>
<DEFAULT></DEFAULT>
</ARG>
<ARG>
<NAME>GstRawVideoParse::plane-offsets</NAME>
<TYPE>GValueArray*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Plane offsets</NICK>
<BLURB>Offsets of the planes in bytes.</BLURB>
<DEFAULT></DEFAULT>
</ARG>
<ARG>
<NAME>GstRawVideoParse::plane-strides</NAME>
<TYPE>GValueArray*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Plane strides</NICK>
<BLURB>Strides of the planes in bytes.</BLURB>
<DEFAULT></DEFAULT>
</ARG>
<ARG>
<NAME>GstRawVideoParse::top-field-first</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Top field first</NICK>
<BLURB>True if top field in frames in raw stream come first (not used if frames aren't interlaced).</BLURB>
<DEFAULT>FALSE</DEFAULT>
</ARG>
<ARG>
<NAME>GstRawVideoParse::width</NAME>
<TYPE>gint</TYPE>
<RANGE>>= 0</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Width</NICK>
<BLURB>Width of frames in raw stream.</BLURB>
<DEFAULT>320</DEFAULT>
</ARG>
<ARG>
<NAME>GstRawAudioParse::channel-positions</NAME>
<TYPE>GValueArray*</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Channel positions</NICK>
<BLURB>Channel positions used on the output.</BLURB>
<DEFAULT></DEFAULT>
</ARG>
<ARG>
<NAME>GstRawAudioParse::format</NAME>
<TYPE>GstRawAudioParseFormat</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Format</NICK>
<BLURB>Format of the raw audio stream.</BLURB>
<DEFAULT>PCM</DEFAULT>
</ARG>
<ARG>
<NAME>GstRawAudioParse::interleaved</NAME>
<TYPE>gboolean</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>Interleaved layout</NICK>
<BLURB>True if audio has interleaved layout.</BLURB>
<DEFAULT>TRUE</DEFAULT>
</ARG>
<ARG>
<NAME>GstRawAudioParse::num-channels</NAME>
<TYPE>gint</TYPE>
<RANGE>>= 1</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Number of channels</NICK>
<BLURB>Number of channels in raw stream.</BLURB>
<DEFAULT>2</DEFAULT>
</ARG>
<ARG>
<NAME>GstRawAudioParse::pcm-format</NAME>
<TYPE>GstAudioFormat</TYPE>
<RANGE></RANGE>
<FLAGS>rw</FLAGS>
<NICK>PCM format</NICK>
<BLURB>Format of audio samples in PCM stream (ignored if format property is not set to pcm).</BLURB>
<DEFAULT>GST_AUDIO_FORMAT_UNKNOWN</DEFAULT>
</ARG>
<ARG>
<NAME>GstRawAudioParse::sample-rate</NAME>
<TYPE>gint</TYPE>
<RANGE>>= 1</RANGE>
<FLAGS>rw</FLAGS>
<NICK>Sample rate</NICK>
<BLURB>Rate of audio samples in raw stream.</BLURB>
<DEFAULT>44100</DEFAULT>
</ARG>

View file

@ -31,6 +31,10 @@ GObject
GstVisuallv_analyzer
GstVisuallv_scope
GstVisualoinksie
GstBaseParse
GstRawBaseParse
GstRawAudioParse
GstRawVideoParse
GstBaseSink
GstAppSink
GstAudioBaseSink
@ -89,6 +93,8 @@ GObject
GstSubtitleOverlay
GstURIDecodeBin
GstURISourceBin
GstUnalignedAudioParse
GstUnalignedVideoParse
GstOggAviParse
GstOggDemux
GstOggMux

View file

@ -24,6 +24,8 @@ GstSubtitleOverlay GstChildProxy
GstTheoraEnc GstPreset
GstURIDecodeBin GstChildProxy
GstURISourceBin GstChildProxy
GstUnalignedAudioParse GstChildProxy
GstUnalignedVideoParse GstChildProxy
GstVideoEncoder GstPreset
GstVolume GstStreamVolume
GstVorbisEnc GstPreset GstTagSetter

View file

@ -3,10 +3,10 @@
<description>Adds multiple streams</description>
<filename>../../gst/adder/.libs/libgstadder.so</filename>
<basename>libgstadder.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>ALSA plugin library</description>
<filename>../../ext/alsa/.libs/libgstalsa.so</filename>
<basename>libgstalsa.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>Elements used to communicate with applications</description>
<filename>../../gst/app/.libs/libgstapp.so</filename>
<basename>libgstapp.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>Convert audio to different formats</description>
<filename>../../gst/audioconvert/.libs/libgstaudioconvert.so</filename>
<basename>libgstaudioconvert.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>Adjusts audio frames</description>
<filename>../../gst/audiorate/.libs/libgstaudiorate.so</filename>
<basename>libgstaudiorate.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>Resamples audio</description>
<filename>../../gst/audioresample/.libs/libgstaudioresample.so</filename>
<basename>libgstaudioresample.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>Creates audio test signals of given frequency and volume</description>
<filename>../../gst/audiotestsrc/.libs/libgstaudiotestsrc.so</filename>
<basename>libgstaudiotestsrc.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>Read audio from CD in paranoid mode</description>
<filename>../../ext/cdparanoia/.libs/libgstcdparanoia.so</filename>
<basename>libgstcdparanoia.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>various encoding-related elements</description>
<filename>../../gst/encoding/.libs/libgstencodebin.so</filename>
<basename>libgstencodebin.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>GIO elements</description>
<filename>../../gst/gio/.libs/libgstgio.so</filename>
<basename>libgstgio.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>libvisual visualization plugins</description>
<filename>../../ext/libvisual/.libs/libgstlibvisual.so</filename>
<basename>libgstlibvisual.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>ogg stream manipulation (info about ogg: http://xiph.org)</description>
<filename>../../ext/ogg/.libs/libgstogg.so</filename>
<basename>libgstogg.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>OPUS plugin library</description>
<filename>../../ext/opus/.libs/libgstopus.so</filename>
<basename>libgstopus.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>Pango-based text rendering and overlay</description>
<filename>../../ext/pango/.libs/libgstpango.so</filename>
<basename>libgstpango.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>various playback elements</description>
<filename>../../gst/playback/.libs/libgstplayback.so</filename>
<basename>libgstplayback.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -0,0 +1,97 @@
<plugin>
<name>rawparse</name>
<description>Parses byte streams into raw frames</description>
<filename>../../gst/rawparse/.libs/libgstrawparse.so</filename>
<basename>libgstrawparse.so</basename>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>
<name>rawaudioparse</name>
<longname>rawaudioparse</longname>
<class>Codec/Parser/Audio</class>
<description>Converts unformatted data streams into timestamped raw audio frames</description>
<author>Carlos Rafael Giani &lt;dv@pseudoterminal.org&gt;</author>
<pads>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>audio/x-unaligned-raw, format=(string){ S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE }, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], layout=(string){ interleaved, non-interleaved }; audio/x-raw, format=(string){ S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE }, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], layout=(string){ interleaved, non-interleaved }; audio/x-alaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ]; audio/x-mulaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ]</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>audio/x-raw, format=(string){ S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE }, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], layout=(string){ interleaved, non-interleaved }; audio/x-alaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ]; audio/x-mulaw, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ]</details>
</caps>
</pads>
</element>
<element>
<name>rawvideoparse</name>
<longname>rawvideoparse</longname>
<class>Codec/Parser/Video</class>
<description>Converts unformatted data streams into timestamped raw video frames</description>
<author>Carlos Rafael Giani &lt;dv@pseudoterminal.org&gt;</author>
<pads>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>video/x-unaligned-raw, format=(string){ I420, YV12, YUY2, UYVY, VYUY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, NV16, NV61, NV24, GRAY8, GRAY16_BE, GRAY16_LE, v308, IYU2, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10LE, I420_10BE, I422_10LE, I422_10BE, Y444_10LE, Y444_10BE, GBR, GBR_10LE, GBR_10BE, NV12_64Z32, A420_10LE, A420_10BE, A422_10LE, A422_10BE, A444_10LE, A444_10BE, P010_10LE, P010_10BE }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw, format=(string){ I420, YV12, YUY2, UYVY, VYUY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, NV16, NV61, NV24, GRAY8, GRAY16_BE, GRAY16_LE, v308, IYU2, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10LE, I420_10BE, I422_10LE, I422_10BE, Y444_10LE, Y444_10BE, GBR, GBR_10LE, GBR_10BE, NV12_64Z32, A420_10LE, A420_10BE, A422_10LE, A422_10BE, A444_10LE, A444_10BE, P010_10LE, P010_10BE }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>video/x-raw, format=(string){ I420, YV12, YUY2, UYVY, VYUY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, NV16, NV61, NV24, GRAY8, GRAY16_BE, GRAY16_LE, v308, IYU2, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10LE, I420_10BE, I422_10LE, I422_10BE, Y444_10LE, Y444_10BE, GBR, GBR_10LE, GBR_10BE, NV12_64Z32, A420_10LE, A420_10BE, A422_10LE, A422_10BE, A444_10LE, A444_10BE, P010_10LE, P010_10BE }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
</pads>
</element>
<element>
<name>unalignedaudioparse</name>
<longname>unalignedaudioparse</longname>
<class>Codec/Parser/Bin/Audio</class>
<description>Parse unaligned raw audio data</description>
<author>Carlos Rafael Giani &lt;dv@pseudoterminal.org&gt;</author>
<pads>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>audio/x-unaligned-raw, format=(string){ S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE }, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], layout=(string){ interleaved, non-interleaved }</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>audio/x-raw, format=(string){ S8, U8, S16LE, S16BE, U16LE, U16BE, S24_32LE, S24_32BE, U24_32LE, U24_32BE, S32LE, S32BE, U32LE, U32BE, S24LE, S24BE, U24LE, U24BE, S20LE, S20BE, U20LE, U20BE, S18LE, S18BE, U18LE, U18BE, F32LE, F32BE, F64LE, F64BE }, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], layout=(string){ interleaved, non-interleaved }</details>
</caps>
</pads>
</element>
<element>
<name>unalignedvideoparse</name>
<longname>unalignedvideoparse</longname>
<class>Codec/Parser/Bin/Video</class>
<description>Parse unaligned raw video data</description>
<author>Carlos Rafael Giani &lt;dv@pseudoterminal.org&gt;</author>
<pads>
<caps>
<name>sink</name>
<direction>sink</direction>
<presence>always</presence>
<details>video/x-unaligned-raw, format=(string){ I420, YV12, YUY2, UYVY, VYUY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, NV16, NV61, NV24, GRAY8, GRAY16_BE, GRAY16_LE, v308, IYU2, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10LE, I420_10BE, I422_10LE, I422_10BE, Y444_10LE, Y444_10BE, GBR, GBR_10LE, GBR_10BE, NV12_64Z32, A420_10LE, A420_10BE, A422_10LE, A422_10BE, A444_10LE, A444_10BE, P010_10LE, P010_10BE }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
<caps>
<name>src</name>
<direction>source</direction>
<presence>always</presence>
<details>video/x-raw, format=(string){ I420, YV12, YUY2, UYVY, VYUY, AYUV, RGBx, BGRx, xRGB, xBGR, RGBA, BGRA, ARGB, ABGR, RGB, BGR, Y41B, Y42B, YVYU, Y444, v210, v216, NV12, NV21, NV16, NV61, NV24, GRAY8, GRAY16_BE, GRAY16_LE, v308, IYU2, RGB16, BGR16, RGB15, BGR15, UYVP, A420, RGB8P, YUV9, YVU9, IYU1, ARGB64, AYUV64, r210, I420_10LE, I420_10BE, I422_10LE, I422_10BE, Y444_10LE, Y444_10BE, GBR, GBR_10LE, GBR_10BE, NV12_64Z32, A420_10LE, A420_10BE, A422_10LE, A422_10BE, A444_10LE, A444_10BE, P010_10LE, P010_10BE }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]</details>
</caps>
</pads>
</element>
</elements>
</plugin>

View file

@ -3,10 +3,10 @@
<description>Subtitle parsing</description>
<filename>../../gst/subparse/.libs/libgstsubparse.so</filename>
<basename>libgstsubparse.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>transfer data over the network via TCP</description>
<filename>../../gst/tcp/.libs/libgsttcp.so</filename>
<basename>libgsttcp.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>Theora plugin library</description>
<filename>../../ext/theora/.libs/libgsttheora.so</filename>
<basename>libgsttheora.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>default typefind functions</description>
<filename>../../gst/typefind/.libs/libgsttypefindfunctions.so</filename>
<basename>libgsttypefindfunctions.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
</elements>

View file

@ -3,10 +3,10 @@
<description>Colorspace conversion</description>
<filename>../../gst/videoconvert/.libs/libgstvideoconvert.so</filename>
<basename>libgstvideoconvert.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>Adjusts video frames</description>
<filename>../../gst/videorate/.libs/libgstvideorate.so</filename>
<basename>libgstvideorate.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>Resizes video</description>
<filename>../../gst/videoscale/.libs/libgstvideoscale.so</filename>
<basename>libgstvideoscale.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>Creates a test video stream</description>
<filename>../../gst/videotestsrc/.libs/libgstvideotestsrc.so</filename>
<basename>libgstvideotestsrc.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>plugin for controlling audio volume</description>
<filename>../../gst/volume/.libs/libgstvolume.so</filename>
<basename>libgstvolume.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>Vorbis plugin library</description>
<filename>../../ext/vorbis/.libs/libgstvorbis.so</filename>
<basename>libgstvorbis.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>X11 video output element based on standard Xlib calls</description>
<filename>../../sys/ximage/.libs/libgstximagesink.so</filename>
<basename>libgstximagesink.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -3,10 +3,10 @@
<description>XFree86 video output plugin using Xv extension</description>
<filename>../../sys/xvimage/.libs/libgstxvimagesink.so</filename>
<basename>libgstxvimagesink.so</basename>
<version>1.11.2</version>
<version>1.11.2.1</version>
<license>LGPL</license>
<source>gst-plugins-base</source>
<package>GStreamer Base Plug-ins source release</package>
<package>GStreamer Base Plug-ins git</package>
<origin>Unknown package origin</origin>
<elements>
<element>

View file

@ -8,6 +8,7 @@ subdir('encoding')
subdir('gio')
subdir('pbtypes')
subdir('playback')
subdir('rawparse')
subdir('subparse')
subdir('tcp')
subdir('typefind')

View file

@ -4,8 +4,6 @@ plugin_LTLIBRARIES = libgstrawparse.la
libgstrawparse_la_SOURCES = \
gstunalignedaudioparse.c \
gstunalignedvideoparse.c \
gstaudioparse.c \
gstvideoparse.c \
gstrawbaseparse.c \
gstrawaudioparse.c \
gstrawvideoparse.c \
@ -27,8 +25,6 @@ noinst_HEADERS = \
unalignedvideo.h \
gstunalignedaudioparse.h \
gstunalignedvideoparse.h \
gstaudioparse.h \
gstvideoparse.h \
gstrawbaseparse.h \
gstrawaudioparse.h \
gstrawvideoparse.h

18
gst/rawparse/meson.build Normal file
View file

@ -0,0 +1,18 @@
raw_sources = [
'gstunalignedaudioparse.c',
'gstunalignedvideoparse.c',
'gstrawbaseparse.c',
'gstrawaudioparse.c',
'gstrawvideoparse.c',
'plugin.c',
]
gstrawparse = library('gstrawparse',
raw_sources,
c_args : gst_plugins_bad_args,
include_directories : [configinc],
dependencies : [gstbase_dep, gstvideo_dep, gstaudio_dep],
install : true,
install_dir : plugins_install_dir,
)

View file

@ -7,18 +7,12 @@
#include "gstrawvideoparse.h"
#include "gstunalignedaudioparse.h"
#include "gstunalignedvideoparse.h"
#include "gstaudioparse.h"
#include "gstvideoparse.h"
static gboolean
plugin_init (GstPlugin * plugin)
{
gboolean ret;
gboolean ret = TRUE;
ret = gst_element_register (plugin, "videoparse", GST_RANK_NONE,
gst_video_parse_get_type ());
ret &= gst_element_register (plugin, "audioparse", GST_RANK_NONE,
gst_audio_parse_get_type ());
ret &= gst_element_register (plugin, "unalignedaudioparse", GST_RANK_MARGINAL,
gst_unaligned_audio_parse_get_type ());
ret &= gst_element_register (plugin, "unalignedvideoparse", GST_RANK_MARGINAL,

View file

@ -103,6 +103,12 @@ else
check_typefind =
endif
if USE_PLUGIN_RAWPARSE
check_rawparse = elements/rawaudioparse elements/rawvideoparse
else
check_rawparse =
endif
if USE_PLUGIN_SUBPARSE
check_subparse = elements/subparse
else
@ -237,6 +243,7 @@ check_PROGRAMS = \
$(check_opus) \
$(check_pango) \
$(check_playback) \
$(check_rawparse) \
$(check_subparse) \
$(check_tcp) \
$(check_theora) \
@ -521,6 +528,12 @@ elements_decodebin_CFLAGS = $(GST_BASE_CFLAGS) $(AM_CFLAGS)
elements_encodebin_LDADD = $(top_builddir)/gst-libs/gst/pbutils/libgstpbutils-@GST_API_VERSION@.la $(GST_BASE_LIBS) $(LDADD)
elements_encodebin_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
elements_rawaudioparse_LDADD = $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_API_VERSION@.la $(GST_BASE_LIBS) -lgstbase-@GST_API_VERSION@ $(LDADD)
elements_rawaudioparse_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
elements_rawvideoparse_LDADD = $(top_builddir)/gst-libs/gst/video/libgstvideo-@GST_API_VERSION@.la $(GST_BASE_LIBS) -lgstbase-@GST_API_VERSION@ $(LDADD)
elements_rawvideoparse_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(AM_CFLAGS)
elements_subparse_LDADD = $(LDADD)
elements_subparse_CFLAGS = $(CFLAGS) $(AM_CFLAGS)

View file

@ -29,3 +29,5 @@ playbin-complex
playsink
streamsynchronizer
subparse
rawaudioparse
rawvideoparse