From 96690aa992f0c0c81c542609d5a21facf72fc8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 23 Dec 2007 06:22:32 +0000 Subject: Add new plugin rawparse that contains a base class for raw data parsers and the two elements audioparse and videopars... Original commit message from CVS: * configure.ac: * gst/rawparse/Makefile.am: * gst/rawparse/README: * gst/rawparse/gstaudioparse.c: (gst_audio_parse_format_get_type), (gst_audio_parse_endianness_get_type), (gst_audio_parse_base_init), (gst_audio_parse_class_init), (gst_audio_parse_init), (gst_audio_parse_set_property), (gst_audio_parse_get_property), (gst_audio_parse_update_frame_size), (gst_audio_parse_get_caps): * gst/rawparse/gstaudioparse.h: * gst/rawparse/gstrawparse.c: (gst_raw_parse_base_init), (gst_raw_parse_class_init), (gst_raw_parse_init), (gst_raw_parse_dispose), (gst_raw_parse_class_set_src_pad_template), (gst_raw_parse_class_set_multiple_frames_per_buffer), (gst_raw_parse_reset), (gst_raw_parse_chain), (gst_raw_parse_convert), (gst_raw_parse_sink_event), (gst_raw_parse_src_event), (gst_raw_parse_src_query_type), (gst_raw_parse_src_query), (gst_raw_parse_set_framesize), (gst_raw_parse_set_fps), (gst_raw_parse_get_fps), (gst_raw_parse_is_negotiated): * gst/rawparse/gstrawparse.h: * gst/rawparse/gstvideoparse.c: (gst_video_parse_format_get_type), (gst_video_parse_endianness_get_type), (gst_video_parse_base_init), (gst_video_parse_class_init), (gst_video_parse_init), (gst_video_parse_set_property), (gst_video_parse_get_property), (gst_video_parse_format_to_fourcc), (gst_video_parse_update_frame_size), (gst_video_parse_get_caps): * gst/rawparse/gstvideoparse.h: * gst/rawparse/plugin.c: (plugin_init): Add new plugin rawparse that contains a base class for raw data parsers and the two elements audioparse and videoparse that can be used to parse raw audio and video. These are inspired by the old videoparse element which the new rawparse plugin deprecates. --- gst/rawparse/README | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 gst/rawparse/README (limited to 'gst/rawparse/README') diff --git a/gst/rawparse/README b/gst/rawparse/README new file mode 100644 index 00000000..0a698c90 --- /dev/null +++ b/gst/rawparse/README @@ -0,0 +1,23 @@ + +videoparse +========== + +The videoparse element is used to parse a file containing raw image +data. + + +Creating example data +===================== + +gst-launch videotestsrc num_buffers=300 ! \ + video/x-raw-yuv,format=\(fourcc\)I420,width=320,height=240 ! \ + filesink location=raw + + +Reading example data +==================== + +gst-launch filesrc location=raw ! \ + videoparse format=I420 width=320 height=240 framerate=30/1 ! \ + xvimagesink + -- cgit v1.2.1