gstreamer/ext/vorbis
Andy Wingo 0ad84fae5d tests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc.
Original commit message from CVS:
2006-01-30  Andy Wingo  <wingo@pobox.com>

* tests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc.

* ext/vorbis/vorbisenc.c (gst_vorbisenc_buffer_from_packet): Logic
updated to timestamp from the first sample, not the last.
(gst_vorbisenc_buffer_from_header_packet): New function, takes
special care of granulepos and timestamp for header packets.
(gst_vorbisenc_chain): Reflow, fix some leaks, and handle the case
when the first buffer has a nonzero timestamp.

* ext/vorbis/vorbisenc.h (GstVorbisEnc.granulepos_offset)
(GstVorbisEnc.subgranule_offset): New members. Take care of the
case when the first audio buffer we get has a nonzero timestamp.
(GstVorbisEnc.next_ts): Renamed from prev_ts, because now we
properly timestamp vorbis buffers with the time of the first
sample, not the last.

* ext/vorbis/vorbisenc.c (granulepos_to_clocktime): Renamed from
vorbis_granule_time_copy -- now it takes the granule/subgranule
offset into account.

* tests/check/pipelines/vorbisenc.c: New test for correctness of
timestamps, durations, and granulepos on buffers produced by
vorbisenc.
2006-01-30 15:01:28 +00:00
..
Makefile.am Rename libgsttagedit to libgsttag (#322117). 2005-11-22 11:33:07 +00:00
README ext/vorbis/: Added a raw vorbis encoder to be used with the oggmuxer. 2004-05-10 17:44:07 +00:00
vorbis.c restructure configure.ac, use correct libtool LDFLAGS, fix up defines 2005-10-16 13:54:44 +00:00
vorbisdec.c ext/vorbis/vorbisdec.c: Fix #327216 (null dereference in vorbisdec) 2006-01-16 15:31:14 +00:00
vorbisdec.h expand tabs 2005-12-06 19:42:02 +00:00
vorbisenc.c tests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc. 2006-01-30 15:01:28 +00:00
vorbisenc.h tests/check/Makefile.am (check_vorbis): Add pipelines/vorbisenc. 2006-01-30 15:01:28 +00:00
vorbisparse.c ext/ogg/gstoggmux.c (gst_ogg_mux_set_header_on_caps): ext/ogg/gstoggparse.c (gst_ogg_parse_append_header) 2005-11-21 12:36:22 +00:00
vorbisparse.h expand tabs 2005-12-06 19:42:02 +00:00

oggvorbisenc : encodes to vorbis inside an ogg stream. This is not the
               GStreamer way of doing things and should be removed for 
	       0.9. It is still called "vorbisenc" for backward compatibility
	       reasons. It also takes integer audio as input.
vorbisenc :    Encodes to a raw vorbis stream and should be used together
 	       with an ogg muxer such as "oggmux" it is called "rawvorbisenc".
	       It also takes raw float samples as input.

TODO for 0.9:

- remove oggvorbisenc.c and oggvorbisenc.h
- remove references to oggvorbisenc.[ch] in the Makefile and in vorbis.c
- remove the element vorbisenc.
- rename the element rawvorbisenc to vorbisenc.