diff --git a/configure.ac b/configure.ac index 1c529c2d75..09c5e7907e 100644 --- a/configure.ac +++ b/configure.ac @@ -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 diff --git a/docs/plugins/Makefile.am b/docs/plugins/Makefile.am index 4722155ee9..155964d080 100644 --- a/docs/plugins/Makefile.am +++ b/docs/plugins/Makefile.am @@ -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 \ diff --git a/docs/plugins/gst-plugins-base-plugins-docs.sgml b/docs/plugins/gst-plugins-base-plugins-docs.sgml index e822702f16..35bf6a7bef 100644 --- a/docs/plugins/gst-plugins-base-plugins-docs.sgml +++ b/docs/plugins/gst-plugins-base-plugins-docs.sgml @@ -51,6 +51,8 @@ + + @@ -66,6 +68,8 @@ + + @@ -99,6 +103,7 @@ + diff --git a/docs/plugins/gst-plugins-base-plugins-sections.txt b/docs/plugins/gst-plugins-base-plugins-sections.txt index 0d4d63c6e8..40d00ebd3b 100644 --- a/docs/plugins/gst-plugins-base-plugins-sections.txt +++ b/docs/plugins/gst-plugins-base-plugins-sections.txt @@ -600,6 +600,38 @@ GST_TYPE_STREAM_SYNCHRONIZER gst_stream_synchronizer_get_type +
+element-rawaudioparse +rawaudioparse +GstRawAudioParse + +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 + +gst_raw_audio_parse_get_type +
+ +
+element-rawvideoparse +rawvideoparse +GstRawAudioParse + +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 + +gst_raw_video_parse_get_type +
+
element-subparse subparse @@ -797,6 +829,38 @@ GST_TYPE_TIME_OVERLAY gst_time_overlay_get_type
+
+element-unalignedaudioparse +unalignedaudioparse +GstRawAudioParse + +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 + +gst_unaligned_audio_parse_get_type +
+ +
+element-unalignedvideoparse +unalignedvideoparse +GstRawAudioParse + +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 + +gst_unaligned_video_parse_get_type +
+
element-uridecodebin uridecodebin diff --git a/docs/plugins/gst-plugins-base-plugins.args b/docs/plugins/gst-plugins-base-plugins.args index 849276b07a..598d196b84 100644 --- a/docs/plugins/gst-plugins-base-plugins.args +++ b/docs/plugins/gst-plugins-base-plugins.args @@ -3378,3 +3378,163 @@ 0 + +GstRawVideoParse::format +GstVideoFormat + +rw +Format +Format of frames in raw stream. +GST_VIDEO_FORMAT_I420 + + + +GstRawVideoParse::frame-stride +guint + +rw +Frame stride +Stride between whole frames (0 = frames are tightly packed together). +0 + + + +GstRawVideoParse::framerate +GstFraction + +rw +Frame rate +Rate of frames in raw stream. + + + + +GstRawVideoParse::height +gint +>= 0 +rw +Height +Height of frames in raw stream. +240 + + + +GstRawVideoParse::interlaced +gboolean + +rw +Interlaced flag +True if frames in raw stream are interlaced. +FALSE + + + +GstRawVideoParse::pixel-aspect-ratio +GstFraction + +rw +Pixel aspect ratio +Pixel aspect ratio of frames in raw stream. + + + + +GstRawVideoParse::plane-offsets +GValueArray* + +rw +Plane offsets +Offsets of the planes in bytes. + + + + +GstRawVideoParse::plane-strides +GValueArray* + +rw +Plane strides +Strides of the planes in bytes. + + + + +GstRawVideoParse::top-field-first +gboolean + +rw +Top field first +True if top field in frames in raw stream come first (not used if frames aren't interlaced). +FALSE + + + +GstRawVideoParse::width +gint +>= 0 +rw +Width +Width of frames in raw stream. +320 + + + +GstRawAudioParse::channel-positions +GValueArray* + +rw +Channel positions +Channel positions used on the output. + + + + +GstRawAudioParse::format +GstRawAudioParseFormat + +rw +Format +Format of the raw audio stream. +PCM + + + +GstRawAudioParse::interleaved +gboolean + +rw +Interleaved layout +True if audio has interleaved layout. +TRUE + + + +GstRawAudioParse::num-channels +gint +>= 1 +rw +Number of channels +Number of channels in raw stream. +2 + + + +GstRawAudioParse::pcm-format +GstAudioFormat + +rw +PCM format +Format of audio samples in PCM stream (ignored if format property is not set to pcm). +GST_AUDIO_FORMAT_UNKNOWN + + + +GstRawAudioParse::sample-rate +gint +>= 1 +rw +Sample rate +Rate of audio samples in raw stream. +44100 + + diff --git a/docs/plugins/gst-plugins-base-plugins.hierarchy b/docs/plugins/gst-plugins-base-plugins.hierarchy index 2983474432..1165c3f20d 100644 --- a/docs/plugins/gst-plugins-base-plugins.hierarchy +++ b/docs/plugins/gst-plugins-base-plugins.hierarchy @@ -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 diff --git a/docs/plugins/gst-plugins-base-plugins.interfaces b/docs/plugins/gst-plugins-base-plugins.interfaces index 8ed5c52ea1..40a1ccb063 100644 --- a/docs/plugins/gst-plugins-base-plugins.interfaces +++ b/docs/plugins/gst-plugins-base-plugins.interfaces @@ -24,6 +24,8 @@ GstSubtitleOverlay GstChildProxy GstTheoraEnc GstPreset GstURIDecodeBin GstChildProxy GstURISourceBin GstChildProxy +GstUnalignedAudioParse GstChildProxy +GstUnalignedVideoParse GstChildProxy GstVideoEncoder GstPreset GstVolume GstStreamVolume GstVorbisEnc GstPreset GstTagSetter diff --git a/docs/plugins/inspect/plugin-adder.xml b/docs/plugins/inspect/plugin-adder.xml index 7e536df102..9daf2644cb 100644 --- a/docs/plugins/inspect/plugin-adder.xml +++ b/docs/plugins/inspect/plugin-adder.xml @@ -3,10 +3,10 @@ Adds multiple streams ../../gst/adder/.libs/libgstadder.so libgstadder.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-alsa.xml b/docs/plugins/inspect/plugin-alsa.xml index d051dc0653..0a2a994b4d 100644 --- a/docs/plugins/inspect/plugin-alsa.xml +++ b/docs/plugins/inspect/plugin-alsa.xml @@ -3,10 +3,10 @@ ALSA plugin library ../../ext/alsa/.libs/libgstalsa.so libgstalsa.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-app.xml b/docs/plugins/inspect/plugin-app.xml index 6bf01449d5..e2b3524802 100644 --- a/docs/plugins/inspect/plugin-app.xml +++ b/docs/plugins/inspect/plugin-app.xml @@ -3,10 +3,10 @@ Elements used to communicate with applications ../../gst/app/.libs/libgstapp.so libgstapp.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-audioconvert.xml b/docs/plugins/inspect/plugin-audioconvert.xml index c504055d4e..f464577871 100644 --- a/docs/plugins/inspect/plugin-audioconvert.xml +++ b/docs/plugins/inspect/plugin-audioconvert.xml @@ -3,10 +3,10 @@ Convert audio to different formats ../../gst/audioconvert/.libs/libgstaudioconvert.so libgstaudioconvert.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-audiorate.xml b/docs/plugins/inspect/plugin-audiorate.xml index 73e06047ee..2821a5cce4 100644 --- a/docs/plugins/inspect/plugin-audiorate.xml +++ b/docs/plugins/inspect/plugin-audiorate.xml @@ -3,10 +3,10 @@ Adjusts audio frames ../../gst/audiorate/.libs/libgstaudiorate.so libgstaudiorate.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-audioresample.xml b/docs/plugins/inspect/plugin-audioresample.xml index 3d03e9d29e..a0f0391fc6 100644 --- a/docs/plugins/inspect/plugin-audioresample.xml +++ b/docs/plugins/inspect/plugin-audioresample.xml @@ -3,10 +3,10 @@ Resamples audio ../../gst/audioresample/.libs/libgstaudioresample.so libgstaudioresample.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-audiotestsrc.xml b/docs/plugins/inspect/plugin-audiotestsrc.xml index 3d57c2467b..17234dddc9 100644 --- a/docs/plugins/inspect/plugin-audiotestsrc.xml +++ b/docs/plugins/inspect/plugin-audiotestsrc.xml @@ -3,10 +3,10 @@ Creates audio test signals of given frequency and volume ../../gst/audiotestsrc/.libs/libgstaudiotestsrc.so libgstaudiotestsrc.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-cdparanoia.xml b/docs/plugins/inspect/plugin-cdparanoia.xml index b7ee2b21be..7a4b131d25 100644 --- a/docs/plugins/inspect/plugin-cdparanoia.xml +++ b/docs/plugins/inspect/plugin-cdparanoia.xml @@ -3,10 +3,10 @@ Read audio from CD in paranoid mode ../../ext/cdparanoia/.libs/libgstcdparanoia.so libgstcdparanoia.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-encoding.xml b/docs/plugins/inspect/plugin-encoding.xml index b61550ef35..31f31a5691 100644 --- a/docs/plugins/inspect/plugin-encoding.xml +++ b/docs/plugins/inspect/plugin-encoding.xml @@ -3,10 +3,10 @@ various encoding-related elements ../../gst/encoding/.libs/libgstencodebin.so libgstencodebin.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-gio.xml b/docs/plugins/inspect/plugin-gio.xml index 890a81305d..de71a3ed40 100644 --- a/docs/plugins/inspect/plugin-gio.xml +++ b/docs/plugins/inspect/plugin-gio.xml @@ -3,10 +3,10 @@ GIO elements ../../gst/gio/.libs/libgstgio.so libgstgio.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-libvisual.xml b/docs/plugins/inspect/plugin-libvisual.xml index d0454628f5..a53151c822 100644 --- a/docs/plugins/inspect/plugin-libvisual.xml +++ b/docs/plugins/inspect/plugin-libvisual.xml @@ -3,10 +3,10 @@ libvisual visualization plugins ../../ext/libvisual/.libs/libgstlibvisual.so libgstlibvisual.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-ogg.xml b/docs/plugins/inspect/plugin-ogg.xml index 55a32faff3..b8e795bb33 100644 --- a/docs/plugins/inspect/plugin-ogg.xml +++ b/docs/plugins/inspect/plugin-ogg.xml @@ -3,10 +3,10 @@ ogg stream manipulation (info about ogg: http://xiph.org) ../../ext/ogg/.libs/libgstogg.so libgstogg.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-opus.xml b/docs/plugins/inspect/plugin-opus.xml index e9e16b6422..8cc84380b9 100644 --- a/docs/plugins/inspect/plugin-opus.xml +++ b/docs/plugins/inspect/plugin-opus.xml @@ -3,10 +3,10 @@ OPUS plugin library ../../ext/opus/.libs/libgstopus.so libgstopus.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-pango.xml b/docs/plugins/inspect/plugin-pango.xml index 1fb3d3a7a7..059d7b53da 100644 --- a/docs/plugins/inspect/plugin-pango.xml +++ b/docs/plugins/inspect/plugin-pango.xml @@ -3,10 +3,10 @@ Pango-based text rendering and overlay ../../ext/pango/.libs/libgstpango.so libgstpango.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-playback.xml b/docs/plugins/inspect/plugin-playback.xml index f1676b4b9c..029d683fd7 100644 --- a/docs/plugins/inspect/plugin-playback.xml +++ b/docs/plugins/inspect/plugin-playback.xml @@ -3,10 +3,10 @@ various playback elements ../../gst/playback/.libs/libgstplayback.so libgstplayback.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-rawparse.xml b/docs/plugins/inspect/plugin-rawparse.xml new file mode 100644 index 0000000000..fde650cbd5 --- /dev/null +++ b/docs/plugins/inspect/plugin-rawparse.xml @@ -0,0 +1,97 @@ + + rawparse + Parses byte streams into raw frames + ../../gst/rawparse/.libs/libgstrawparse.so + libgstrawparse.so + 1.11.2.1 + LGPL + gst-plugins-base + GStreamer Base Plug-ins git + Unknown package origin + + + rawaudioparse + rawaudioparse + Codec/Parser/Audio + Converts unformatted data streams into timestamped raw audio frames + Carlos Rafael Giani <dv@pseudoterminal.org> + + + sink + sink + always +
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 ]
+
+ + src + source + always +
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 ]
+
+
+
+ + rawvideoparse + rawvideoparse + Codec/Parser/Video + Converts unformatted data streams into timestamped raw video frames + Carlos Rafael Giani <dv@pseudoterminal.org> + + + sink + sink + always +
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 ]
+
+ + src + source + always +
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 ]
+
+
+
+ + unalignedaudioparse + unalignedaudioparse + Codec/Parser/Bin/Audio + Parse unaligned raw audio data + Carlos Rafael Giani <dv@pseudoterminal.org> + + + sink + sink + always +
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 }
+
+ + src + source + always +
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 }
+
+
+
+ + unalignedvideoparse + unalignedvideoparse + Codec/Parser/Bin/Video + Parse unaligned raw video data + Carlos Rafael Giani <dv@pseudoterminal.org> + + + sink + sink + always +
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 ]
+
+ + src + source + always +
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 ]
+
+
+
+
+
\ No newline at end of file diff --git a/docs/plugins/inspect/plugin-subparse.xml b/docs/plugins/inspect/plugin-subparse.xml index 24e5271322..0a241869e4 100644 --- a/docs/plugins/inspect/plugin-subparse.xml +++ b/docs/plugins/inspect/plugin-subparse.xml @@ -3,10 +3,10 @@ Subtitle parsing ../../gst/subparse/.libs/libgstsubparse.so libgstsubparse.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-tcp.xml b/docs/plugins/inspect/plugin-tcp.xml index ba99ef75ae..5ff4dfcbeb 100644 --- a/docs/plugins/inspect/plugin-tcp.xml +++ b/docs/plugins/inspect/plugin-tcp.xml @@ -3,10 +3,10 @@ transfer data over the network via TCP ../../gst/tcp/.libs/libgsttcp.so libgsttcp.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-theora.xml b/docs/plugins/inspect/plugin-theora.xml index 3233d23984..e890ba9188 100644 --- a/docs/plugins/inspect/plugin-theora.xml +++ b/docs/plugins/inspect/plugin-theora.xml @@ -3,10 +3,10 @@ Theora plugin library ../../ext/theora/.libs/libgsttheora.so libgsttheora.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-typefindfunctions.xml b/docs/plugins/inspect/plugin-typefindfunctions.xml index 1ba5eccd6f..2be7b840fe 100644 --- a/docs/plugins/inspect/plugin-typefindfunctions.xml +++ b/docs/plugins/inspect/plugin-typefindfunctions.xml @@ -3,10 +3,10 @@ default typefind functions ../../gst/typefind/.libs/libgsttypefindfunctions.so libgsttypefindfunctions.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-videoconvert.xml b/docs/plugins/inspect/plugin-videoconvert.xml index 796ba35677..39006ef6a4 100644 --- a/docs/plugins/inspect/plugin-videoconvert.xml +++ b/docs/plugins/inspect/plugin-videoconvert.xml @@ -3,10 +3,10 @@ Colorspace conversion ../../gst/videoconvert/.libs/libgstvideoconvert.so libgstvideoconvert.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-videorate.xml b/docs/plugins/inspect/plugin-videorate.xml index 9f44fcf0a8..5df8b0029e 100644 --- a/docs/plugins/inspect/plugin-videorate.xml +++ b/docs/plugins/inspect/plugin-videorate.xml @@ -3,10 +3,10 @@ Adjusts video frames ../../gst/videorate/.libs/libgstvideorate.so libgstvideorate.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-videoscale.xml b/docs/plugins/inspect/plugin-videoscale.xml index 2774a7b50e..b87ff1d0c1 100644 --- a/docs/plugins/inspect/plugin-videoscale.xml +++ b/docs/plugins/inspect/plugin-videoscale.xml @@ -3,10 +3,10 @@ Resizes video ../../gst/videoscale/.libs/libgstvideoscale.so libgstvideoscale.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-videotestsrc.xml b/docs/plugins/inspect/plugin-videotestsrc.xml index f3c82222fb..d6712bbca5 100644 --- a/docs/plugins/inspect/plugin-videotestsrc.xml +++ b/docs/plugins/inspect/plugin-videotestsrc.xml @@ -3,10 +3,10 @@ Creates a test video stream ../../gst/videotestsrc/.libs/libgstvideotestsrc.so libgstvideotestsrc.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-volume.xml b/docs/plugins/inspect/plugin-volume.xml index dec514fd0f..682337a9a0 100644 --- a/docs/plugins/inspect/plugin-volume.xml +++ b/docs/plugins/inspect/plugin-volume.xml @@ -3,10 +3,10 @@ plugin for controlling audio volume ../../gst/volume/.libs/libgstvolume.so libgstvolume.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-vorbis.xml b/docs/plugins/inspect/plugin-vorbis.xml index 738ba28930..3bbf5288e7 100644 --- a/docs/plugins/inspect/plugin-vorbis.xml +++ b/docs/plugins/inspect/plugin-vorbis.xml @@ -3,10 +3,10 @@ Vorbis plugin library ../../ext/vorbis/.libs/libgstvorbis.so libgstvorbis.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-ximagesink.xml b/docs/plugins/inspect/plugin-ximagesink.xml index 2609dd2353..3f8ca05123 100644 --- a/docs/plugins/inspect/plugin-ximagesink.xml +++ b/docs/plugins/inspect/plugin-ximagesink.xml @@ -3,10 +3,10 @@ X11 video output element based on standard Xlib calls ../../sys/ximage/.libs/libgstximagesink.so libgstximagesink.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/docs/plugins/inspect/plugin-xvimagesink.xml b/docs/plugins/inspect/plugin-xvimagesink.xml index 88d7722089..dc55df33a6 100644 --- a/docs/plugins/inspect/plugin-xvimagesink.xml +++ b/docs/plugins/inspect/plugin-xvimagesink.xml @@ -3,10 +3,10 @@ XFree86 video output plugin using Xv extension ../../sys/xvimage/.libs/libgstxvimagesink.so libgstxvimagesink.so - 1.11.2 + 1.11.2.1 LGPL gst-plugins-base - GStreamer Base Plug-ins source release + GStreamer Base Plug-ins git Unknown package origin diff --git a/gst/meson.build b/gst/meson.build index fe7368413b..2349ba2344 100644 --- a/gst/meson.build +++ b/gst/meson.build @@ -8,6 +8,7 @@ subdir('encoding') subdir('gio') subdir('pbtypes') subdir('playback') +subdir('rawparse') subdir('subparse') subdir('tcp') subdir('typefind') diff --git a/gst/rawparse/Makefile.am b/gst/rawparse/Makefile.am index 623dc949cc..0d3a3fd56f 100644 --- a/gst/rawparse/Makefile.am +++ b/gst/rawparse/Makefile.am @@ -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 diff --git a/gst/rawparse/meson.build b/gst/rawparse/meson.build new file mode 100644 index 0000000000..c8203c8adf --- /dev/null +++ b/gst/rawparse/meson.build @@ -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, +) + diff --git a/gst/rawparse/plugin.c b/gst/rawparse/plugin.c index 72b3e49ea0..5cc561e120 100644 --- a/gst/rawparse/plugin.c +++ b/gst/rawparse/plugin.c @@ -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, diff --git a/tests/check/Makefile.am b/tests/check/Makefile.am index a70b3cffa4..5329226593 100644 --- a/tests/check/Makefile.am +++ b/tests/check/Makefile.am @@ -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) diff --git a/tests/check/elements/.gitignore b/tests/check/elements/.gitignore index cc78f03b0b..4b49d8363c 100644 --- a/tests/check/elements/.gitignore +++ b/tests/check/elements/.gitignore @@ -29,3 +29,5 @@ playbin-complex playsink streamsynchronizer subparse +rawaudioparse +rawvideoparse