[gst-cvs] gst-plugins-good: [MOVED FROM BAD 01/57] Adds a first draft of an FLV demuxer.
Sebastian Dröge
slomo at kemper.freedesktop.org
Tue May 12 12:57:55 PDT 2009
Module: gst-plugins-good
Branch: master
Commit: 7a0d2df294c3f56e530ad6b3ec57d986560229cb
URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=7a0d2df294c3f56e530ad6b3ec57d986560229cb
Author: Julien Moutte <julien at moutte.net>
Date: Thu Jul 19 15:05:30 2007 +0000
[MOVED FROM BAD 01/57] Adds a first draft of an FLV demuxer.
Original commit message from CVS:
2007-07-19 Julien MOUTTE <julien at moutte.net>
* configure.ac:
* gst/flv/Makefile.am:
* gst/flv/gstflvdemux.c: (gst_flv_demux_flush),
(gst_flv_demux_cleanup), (gst_flv_demux_chain),
(gst_flv_demux_pull_tag), (gst_flv_demux_pull_header),
(gst_flv_demux_seek_to_prev_keyframe), (gst_flv_demux_loop),
(gst_flv_demux_sink_activate),
(gst_flv_demux_sink_activate_push),
(gst_flv_demux_sink_activate_pull), (gst_flv_demux_sink_event),
(gst_flv_demux_change_state), (gst_flv_demux_dispose),
(gst_flv_demux_base_init), (gst_flv_demux_class_init),
(gst_flv_demux_init), (plugin_init):
* gst/flv/gstflvdemux.h:
* gst/flv/gstflvparse.c: (FLV_GET_BEUI24), (FLV_GET_STRING),
(gst_flv_demux_query_types), (gst_flv_demux_query),
(gst_flv_parse_metadata_item), (gst_flv_parse_tag_script),
(gst_flv_parse_tag_audio), (gst_flv_parse_tag_video),
(gst_flv_parse_tag_type), (gst_flv_parse_header):
* gst/flv/gstflvparse.h: Adds a first draft of an FLV demuxer.
It does not do seeking yet, it supports pull and push mode so
YES
you can use it to play youtube videos directly from an HTTP uri.
Not so much testing done yet but it parses metadata, reply to
duration queries, etc...
---
gst/flv/Makefile.am | 9 +
gst/flv/gstflvdemux.c | 675 +++++++++++++++++++++++++++++++++++++++++
gst/flv/gstflvdemux.h | 108 +++++++
gst/flv/gstflvparse.c | 797 +++++++++++++++++++++++++++++++++++++++++++++++++
gst/flv/gstflvparse.h | 44 +++
5 files changed, 1633 insertions(+), 0 deletions(-)
Diff: http://cgit.freedesktop.org/gstreamer/gst-plugins-good/diff/?id=7a0d2df294c3f56e530ad6b3ec57d986560229cb
More information about the Gstreamer-commits
mailing list