similar to: vorbisfile question

Displaying 20 results from an estimated 20000 matches similar to: "vorbisfile question"

2002 Oct 28
2
two questions re vorbisfile API
Hey guys, currently wrapping my head around the vorbisfile API. The stream callback interface is really nice ! Great work. I'm running into two snags using it though. a) getting ov_bitrate on a seakable stream returns a long. When I print it as %ld, I get Bitstream is 2 channel, 44100 Hz, 0 version, -2147483648 bitrate I get this same number for any vorbis file. I checked them with
2000 Jun 15
2
more commits
Contained in tonight's last commit: Fixed a link-crossing bug in libvorbis (total time was reset to -1 at the link boundary until the next packet with a frame number arrived) Implemented instantaneous bitrate capability in libvorbis; added ov_bitrate_instant() to interface. I know I talked about a different interface to this with the Sonique folks a few months ago... I couldn't remember
2001 Jul 05
1
ov_bitrate -- is it fake or real?
I'm sure you're all aware ov_bitrate doesn't include some of the data in the Ogg bitstream in its calculation that's (AFAIK) required for decoding Ogg Vorbis streams.. I was wondering what the reasons for this are, as the results are quite different in some cases (36.7kbps -> 24.7kbps for one ogg I created).. -- Zinx Verituse --- >8 ---- List archives:
2004 Aug 06
14
brainfart #67453 - hyper-index
I don''t know if this has been suggested before but.. What about adding support for a bookmark or hyperlinked index? The idea is that a large compilation such as a long speech or an album would be maintained as a single file, but on playback, the player would show numerous ''tracks'' which are really just bookmarks relating to starting position of the specific part or
2003 Dec 11
1
Another vorbisfile question
Is there a straight forward method for seeking straight to a particular logical stream using vorbisfile? I'm guessing I'll have to look the offset for a given link up in vf->offsets, and use that in ov_raw_seek? Thanks, 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
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 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
2003 Apr 30
1
float to PCM packing in libvorbisfile
Is there any particular reason why ov_read() packs floats to integer PCM inline, rather than being implemented in terms of ov_read_float() and a separate packing fucntion? There are obviously many advantages doing audio manipulation on the floats before packing, but right now you have to reinvent the packing stage yourself - in a replaygain backend that I'm working on, I ended up copying
2002 Aug 09
1
How to distinguish ABR & VBR ogg files?
I want to display info about Ogg files to Windows users. The docs tell me how to distinguish CBR (nom=min=max bitrate), but how do I distinguish between ABR and VBR streams? When I created my Ogg files (with CDex) I set the 'quality'. Is there some way to read this from the Ogg file? Should I avoid calling the ov_bitrate function because it has to read through the whole stream?
2004 Jun 20
16
Extension proposal - partly serious
Alright folks, here's the solution. 1) Keep extensions to 3 letters for audio & video. Except for special situations where the user might be doing a codec specific name. Since the official extensions are 3 letters, those can always be used on any 8.3 device. 2) introduce a new extension .OGV for ogg container video. With a strong preference for Xiph only codecs. (If you want 3rd
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
2004 Jun 16
2
ogg123 volume?
Hi, I need to adjust the output volume from ogg123 the same way that mpg123 has the "-f n change scalefactor [32768]" option. I need to do this within ogg123, instead of alternatives that involve pipes, such as piping the output to sox. I do not believe that this is currently possible in ogg123, and I'm looking for some suggestions as to how it can be accomplished by modifying
2004 Jun 16
2
ogg123 volume?
Hi, I need to adjust the output volume from ogg123 the same way that mpg123 has the "-f n change scalefactor [32768]" option. I need to do this within ogg123, instead of alternatives that involve pipes, such as piping the output to sox. I do not believe that this is currently possible in ogg123, and I'm looking for some suggestions as to how it can be accomplished by modifying
2005 Jun 08
1
c# source to interop call vorbisfile.dll
Hi, Can anyone tell me where I can get sample C# code to call the native (win32) dll vorbisfile.dll to decode a vorbis Stream? I want the native performance of this methodology, however Ive tried porting the invocation code to C# and keep getting null reference errors when Calling ov_open_callback. Thanks - Adam -------------- next part -------------- An HTML attachment was
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(),
2000 Dec 24
2
Using vorbisfile with an in-memory file instead of FILE*
Hi, How can I use vorbisfile when I've already read the data into memory of an OGG file? 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' containing only the word
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
2001 Oct 31
0
vorbisfile weirdness
Hi! I'm trying to write a vorbis plugin for my MP3/Music/Media player (http://elmp-tng.sourceforge.net). I'm using vorbisfile, and ov_open_callbacks() (to interface with my VFS layer). The problem is the same using plain ov_open() though... Some files play perfectly, while others (most) fail. ov_open returns OV_EBADHEADER. The really strange thing is that both ogg123, and the simple test
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
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