search for: ov_test

Displaying 11 results from an estimated 11 matches for "ov_test".

2002 Dec 09
2
ov_open/ov_test weirdness
...;, argv[0]); return -1; } file = argv[2]; f = fopen(argv[1], "rb"); if(!f) { fprintf(stderr, "fopen for '%s' failed: %s", file, strerror(errno)); return -1; } err = ov_test(f, &vf, NULL, 0); if(err < 0) { char *tmp = "What?"; switch(err) { case OV_EREAD: tmp = "A read from media returned an error."; break; case OV_ENOTVORBIS: tmp = "Bitstream is not...
2002 Jul 23
1
[BUG] libvorbisfile ov_test() ?
...lowing code donst work: #include <vorbis/codec.h> #include <vorbis/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);...
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 OP...
2004 Apr 05
2
Massive Problems on Windows XP pro with Libvorbis[Vorbisfile]1.0.1
...add .ogg support to my engine project. First i had the problem quite a lot had out there with a crashing/freezing call to ov_open which i solved by recompiling those libs against the single-threaded variant of the core libs using VC++ 6 But now i have another problem. now every call to ov_open or ov_test or whatever returns OV_EREAD, no matter which file i use. I am perfectly positive on thos .ogg files beeing correct as several tools can load and play them back alright. Since the given explanation string "A read from media returned an error" isn't really self-explanatory i was hopin...
2003 Jan 05
2
VorbisFile library crashs.
Hello! There is a problem with the VorbisFile library. It only works when I open an OGG file for the 1st time. After I closed the file and try to open another one or the same it crashs. It seems it applies to the use of either ov_open or ov_test functions or their combination. I wrote a test app that illustrates the bug. It crashs with a message "Unmapped memory exception". It's available at http://home.earthlink.net/~yurigulyaev/oggvorbisproject32.sit.hqx My platform is Mac OS 9.2 and CodeWarrior 8.0. I got the same result w...
2004 May 18
1
Can vorbisfile read comments from an HTTP stream
...his sort of scenario, but I'm curious to know whether ov_open will try to read enough stream to pull the comments out on a non-seekable stream. I've only played around with it on seekable streams, where it tries to scan the whole stream to get a count of the logical streams within. Would ov_test get enough header read to determine the size of the comment before sucking it all in for parsing? John --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-dev-request@xiph.org'...
2001 May 26
2
merging monty's branch
...ore than 100x faster (and even faster than that on a network file system), and the other seek functions (that do actually require some internal background PCM decode to get sample boundaries right) are a shade under 2x faster (again, much larger 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_bloc...
2002 Aug 01
1
ov_raw_seek doesn't work ?
I found a problem with ov_raw_seek function in oggvorbis win32sdk 1.0. When i called this function it returned OV_EINVAL immediatelly. I solved the issue by replacing the ov_raw_seek by ov_pcm_seek, which worked perfectly, but i would like to use the raw variant due to performace reason . Is anybody aware of this strange behaviour ? Martin Cesky <p><p>--- >8 ---- List
2003 Jan 04
0
Problem with vorbisfile_example from WIN32SDK
We compiled the vorbis_example from WIN32SDK with Borland 5.0 under WIN98. When running, it ends in an address violation caused by ov_open (or ov_test as well). This happens no matter which Library we're using, or if we're trying to read from stdin or a FILE*(which was binary). thanks, michael <p><p>_________________________________________________________________ MSN - More useful every day http://www.msn.de --- >8 --...
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 &quot;instant&quot; 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