Displaying 6 results from an estimated 6 matches for "ov_test_open".
2002 Jul 23
1
[BUG] libvorbisfile ov_test() ?
...rbis/vorbisfile.h>
#include <stdlib.h>
#include <stdio.h>
int main()
{
FILE *stdfile;
OggVorbis_File vf;
int tmp;
stdfile=fopen("./test.ogg","r");
if( ov_test(stdfile, &vf, NULL, 0) ==0)
{
tmp = ov_test_open(&vf);
if( tmp==0 )
{
printf("ov_test_open() succeded\n");
ov_clear(&vf);
return(0);
}
printf("fail in ov_test_open(), reason: %d\n",tmp...
2002 Dec 09
2
ov_open/ov_test weirdness
...se(f);
fprintf(stderr, "Ok2\n");
return 0;
}
it just doesn't work. Ok1 is printed. But I get OV_ENOTVORBIS the second time,
everytime. Even if I use ov_test the first time.. Oh and ov_test acts the
same as ov_open, I don't have to call ov_test_open (in fact ov_test_open
fails...)
Also I've tried using 2 different OggVorbis_File structs for the two tries,
but that doesn't help either.
ystem specs:
Debian Cid, Linux/AMD k7
libvorbisfile 1.0
libogg 1.0
libvorbis 1.0
--
Thomas Fjellstrom
tfjellstrom@telusplanet.net
http://strangeso...
2003 Dec 14
1
Bride of vorbisfile questions
I've been playing around with using ov_test and ov_test_open as an alternative
to ov_open in the xmms plugin's vorbis_check_file function. xmms never
bothers to cache the result of a file check, so it tends to happen rather a
lot. Unfortunately ov_test_open returns OV_EINVAL because ov_test seems to
have left vf->ready_state to OPEN rather than PA...
2001 May 26
2
merging monty's branch
...arger
margin on distributed file systems).
I also added an ov_test() function as a fast partial open that
verifies the vorbis-ness of a file (and loads the headers for
perusal), but doesn't seek to learn the chain structure or total
length. A partially open file can then be fully opened using
ov_test_open().
Libvorbis now has an official vorbis_packet_blocksize() function to
learn the block size of a packet without decoding it. Libogg also has
one new function, ogg_stream_packetpeek(), which fetches the next
packet in a logical stream without removing it from the stream head.
None of these chang...
2001 Jan 11
2
Welcome to vorbis
--
Welcome to the vorbis mailing list!
Please save this message for future reference. Thank you.
If you ever want to remove yourself from this mailing list,
you can send mail to <majordomo@xiph.org> with the following
command in the body of your email message:
unsubscribe vorbis
or from another account, besides vorbis@xiph.org:
unsubscribe vorbis vorbis@xiph.org
If you ever
2001 Sep 22
3
retrieving "instant" bitrate without vo_open?
ok, I'm aware that vo_open cant be used at the same time as other functions
such as ogg_sync_wrote, ogg_sync_pageout, ogg_stream_pagein,
ogg_stream_packetout and vorbis_synthesis_headerin. In order to get
information from the bitstream i've been using this method because it's fast
and doesn't require decoding of the stream. But, i can only retrieve the
average bitrate of