similar to: Using vorbisfile with an in-memory file instead of FILE*

Displaying 20 results from an estimated 1000 matches similar to: "Using vorbisfile with an in-memory file instead of FILE*"

2001 Nov 12
1
Vorbisfile: non-seekable
Hi, I use the following code: if (ov_open(NULL, &vf, const_cast<char*>(reinterpret_cast<const char*>(get_data())), get_size()) < 0) error = 0x100; else { vorbis_info* vi = ov_info(&vf, -1); Cvirtual_file f; const int cb_samples = ov_pcm_total(&vf, -1); const bool seekable = ov_seekable(&vf); So all data is already in memory and passed to
2001 Aug 15
2
WinAmp plug-in based on RC1?
Hi, I just downloaded this and it says it's based on RC1 in the about box. Is that a typo or is the plug-in not updated? Olaf van der Spek Almere, Holland Olaf@XCC.TMFWeb.NL http://xcc.tiberian.com/ --- >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-request@xiph.org'
2002 Jan 01
1
RC3 OggDrop
Hi, It's nice to see my patch in action. Who made the "Save Quality" dialog box? I think it should also contain the bitrate itself as a reference. Olaf van der Spek Almere, Holland Olaf@XCC.TMFWeb.NL http://xccu.sourceforge.net/ http://xcc.tiberian.com/ <p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To
2001 Aug 21
1
Minimal decoder version for RC2 encoded files
Hi, What version of the decoder do I need to decode RC2 encoded files? I used beta 4 in some utilities and I didn't download the newest vorbis source yet and a user reported the utility didn't work. Olaf van der Spek Almere, Holland Olaf@XCC.TMFWeb.NL http://xcc.tiberian.com/ --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To
2001 Jan 03
1
Use of const
> Neither. initial could be const, but isn't. libvorbis doesn't make much > (any?) use of the const keyword, though there are plenty of places it would > probably be good to use. Because the source files are C and not C++, parameter types aren't checked, so is the use of const really a good idea? For example, this compiles fine (on VC++ 6), but itsn't right: int
2001 Nov 12
1
WinAmp RC1/RC2 problem
Hi, I've got a number of sound effects for a mod of a game in Ogg Vorbis format, encoded with OggDrop (RC2). WinAmp with Nullsoft Vorbis Decoder RC1 and RC2 freeze when I try to play those files. Maybe it's because the files are so small? Both OGG and WAV versions can be found at http://xccu.sourceforge.net/temp/winamp_crash.zip Olaf van der Spek Almere, Holland Olaf@XCC.TMFWeb.NL
2001 Nov 30
1
Ogg Drop?
Hi, I asked this before, but it seems it hasn''t been updated. Who is responsible for this and what are the problems? The changes are in CVS (IIRC), but not in the current EXE available for downloading. Olaf van der Spek Almere, Holland Olaf@XCC.TMFWeb.NL http://xccu.sourceforge.net/ http://xcc.tiberian.com/ --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project
2001 Nov 22
14
Small vorbis files with vorbisfile
I think I have bumped into the small file error, or I''m doing something stupid. The files are short audio effects for a game (embedded in our own data format). Sample info: Vorbis packets: 1 (4 kb) Samples: 28672 Samplerate: 22 kHz Channels: 2 This is what I''m doing when I want to get a number of bytes from the stream: The problem is that ov_pcm_tell always returns 0. And so
2001 Sep 12
1
Small OggDrop menu patch
Hi, This one adds shortcuts to the pop up menu. -- Olaf van der Spek http://xcc.tiberian.com/ Index: Script.rc =================================================================== RCS file: /usr/local/cvsroot/win32-tools/oggdrop/Script.rc,v retrieving revision 1.5 diff -r1.5 Script.rc 77c77 < POPUP "Bitrate" --- > POPUP "&Bitrate" 88c88 <
2002 Dec 23
5
Bzip2 & Ogg Vorbis
Hi, I've got some (seven) Ogg Vorbis files with a total size of 18637246 bytes. When I use bzip2 to compress these files, the total size is 16949443. That's 10% less. Is bzip2 supposed to be able to compress Ogg Vorbis files further? If not, are these files encoded with wrong settings? If so, why is there no option to use bzip2 with Ogg Vorbis by default? Olaf van der Spek Almere,
2001 Sep 21
0
OggDrop patch (again)
Hi, I added the patch I made a long time ago to the current version and the result can be downloaded below. http://xccu.sourceforge.net/temp/oggdrop.zip I haven't had the opporunity to really test it yet. -- Olaf van der Spek http://xcc.tiberian.com/ --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list,
2000 Apr 20
3
Thoughts on vorbisfile
Hi all, While reading through various bits of libvorbis and vorbisfile, and then thinking about how to implement other features in the xmms and winamp plugins, I had some thoughts... Vorbisfile is very useful, and very easy to use. It is, however, tied to stdio - which means you can't use it for lots of other stuff where it'd be useful - like streaming, or (under win32) avoiding stdio
2004 Jun 06
2
vorbisfile timestamp oddity
I'm seeing some inconsistency in returned timestamps using vorbisfile. I open a file, read some data (grabbing timestamps with ov_pcm_tell), then seek back with ov_pcm_seek(vf, 0) and read it again. The seek lands back on 0, but on the second read through, there's a gap in the timestamps: they jumps up by 2112 frames. This causes my vorbisfile code to insert silence to maintain sync (as
2006 Aug 29
3
How can I seek in Ogg Vorbis file, but not using Vorbisfile library?
Hello, All. I am making an Ogg Vorbis decoder based on Tremor. The Vorbisfile library provides a high-level API which enables us to seek in the file, but it needs to declare a pointer to OggVorbis_File structure. Because I am supposed not to use file, so I can't use the ov_pcm_seek() or ov_raw_seek() functions to seek in the file. For decoding an Ogg Vorbis file, I first put it in
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 PARTOPEN. I'm presuming this is
2001 Aug 30
1
Problems with vorbisfile and files smaller than CHUNKSIZE
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I'm writing a simple application to decompress a set of Ogg files to raw PCM format, using vorbisfile, because that is the simplest way of doing it. These Ogg files are sounds for a game, and thus sometimes very short (about .25 s). However, vorbisfile has severe problems with Ogg files that are smaller than the CHUNKSIZE which is #defined
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
2004 Feb 17
1
Vorbisfile Problem...
OK, I have a minor problem with the 'vorbisfile' libraries. I copied both the normal and dynamic DLLs to my program directory, and they load fine. Thing is, if I link with 'vorbisfile.lib' and use 'ov_open', the application just locks up. If I link with 'vorbisfile_d.lib' and use the function, Windows brings up a standard crash window, and I can just use that to
2004 May 18
1
Can vorbisfile read comments from an HTTP stream
Just noticed this article on Slashdot: http://ask.slashdot.org/article.pl?sid=04/05/18/0432202 ...about the feasibility and efficiency of reading id3v2 tags out of mp3's over http. I know that vorbisfile's callback model is well suited to handling this 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
2003 Sep 22
1
vorbisfile for Mac Classic
Hi, this is my first post, I hope it's the right mailing list (or should it be vorbis@xiph.org?) I just downloaded "SDK for MacOS9" and tried to compile the "vorbisfile_example.c" sample with CodeWarrior for Mac 8 on a Mac OS 9.2 machine. I included the libOgg and libVorbis libraries in my project, but the linker cannot file ov_clear(), ov_read(), ov_pcm_total(),