Displaying 2 results from an estimated 2 matches for "vorbis_analyz".
Did you mean:
vorbis_analyze
2001 Jan 01
1
By design or a bug?
Happy new millenium!
Summary: I'm having a problem queueing up the ogg_packet results of
vorbis_analyze() for later writing to an .ogg stream. The docs don't seem
to say if this is permissable or not. Hence, I don't know if I'm using
the API incorrectly, or if this is an actual bug.
-----
Attached is a short patch to vorbis-tools/oggenc/encode.c (from CVS head,
01/01/01... I just wan...
2001 Mar 11
1
vorbis_analysis() dependencies?
...loop until file empty
- read some samples
- loop while vorbis_analysis_blockout returns 1
- save current [and now full] vorbis_block
- allocate/initialize new vorbis_block
- if we have > N pending vorbis_blocks
- loop over the N pending vorbis_blocks
- call vorbis_analyze
- call ogg_stream_packetin
- call ogg_stream_pageout/write page to disk if necessary
Using a short audio clip (~17sec), I get different file sizes for the
resulting .ogg file when using this algorithm vs. the vanilla oggenc
algorithm.
I've attached my code that does this. It...