Displaying 20 results from an estimated 10000 matches similar to: "Controlling"
2012 Dec 05
7
ov_open_callbacks takes so much time to open 210 MB OGG file
Why ov_open_callbacks(fd_, &vf, NULL, 0, OV_CALLBACKS_NOCLOSE) takes so
long to open OGG file?
The OGG file has just 210 MB. It takes a lot of time open the file.
I am working on OGG audio recorder and player.
Thanks in advance!
With kind regards,
Pavel
2004 Apr 12
3
Decoding with 8 bit-samples
Hi!
I'd like to make a stereo 8-bit wav file
from a stereo (16 bit) ogg vorbis file
(in delphi, with the vorbisfile).
I use:
ret := ov_open_callbacks(filein,vf,nil,0,ops_callbacks);
if ret = 0 Then
begin
fileOut := TFileStream.Create(savedlg.FileName,fmCreate);
repeat
ret := ov_read(VF, pcmout, BufferSize, 0, 1, 1, nil); //'cause of the 8-bit
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
2006 Sep 14
2
ov_open_callbacks() performance & memory requirements
Hi guys,
I'm writing a sample playback engine using vorbisfile, but I've hit a
performance problem - hoping someone here can help!
I'm using ov_open_callbacks() to decode memory-based ogg files. It works
OK, but when I call ov_open_callbacks() approximately 300k of memory is
used (presumably to initialise the decoder). It also takes some time to
execute ov_open_callbacks() - the read
2010 Jan 06
1
Initializing vorbis using ov_open_callbacks fail with OV_ENOTVORBIS. But why?
Dear members,
since two weeks I am stuck, trying to demux a physical ogg stream
(theora and vorbis) and play the audio part using vorbisfile.
I hope that one of you can give me a hint or point me to additional
documentation.
I used ogg.h and vorbisfile.h.
The way so far:
- initializing an ogg_sync_state
- inserting data to sync_state using ogg_sync_buffer
- when whole page found
2001 Sep 07
3
Realtime encoding at 44.1khz
Hi:
I've been experimenting with streaming vorbis across my network from the
windows box to an icecast2 server on my linux machine (the server I usually
use is having some network issues at present). I've tested both ostream
0.7.1 and oddcast beta26. It seems that neither can encode on the fly on
my P2-266 at 44100 fast enough to be able to stream it. Ostream looked the
more promising
2017 Apr 06
2
Zero length reported.
Hello - I have two files which play back in VLC correctly.
They were encoded using this command:
ffmpeg -y -i '/tmp/2e905b981d30324f9a0664cbabb3f59a20170406-21128-r0neh9.wav' -acodec libvorbis '/tmp/2e905b981d30324f9a0664cbabb3f59a20170406-21128-r0neh920170406-21128-146yyex.ogg
However ov_pcm_total reports a zero length for one of the two files. Is this a problem with my use of the
2017 Apr 06
2
Zero length reported.
Hello - I have two files which play back in VLC correctly.
They were encoded using this command:
ffmpeg -y -i '/tmp/2e905b981d30324f9a0664cbabb3f59a20170406-21128-r0neh9.wav' -acodec libvorbis '/tmp/2e905b981d30324f9a0664cbabb3f59a20170406-21128-r0neh920170406-21128-146yyex.ogg
However ov_pcm_total reports a zero length for one of the two files. Is this a problem with my use of the
2001 Sep 11
2
Another backtrace
I got this one this morning, but didn't notice it til now:
---
(gdb) bt
#0 0x4003be91 in vorbis_block_clear (vb=0xbffff71c) at block.c:156
#1 0x4003ce36 in vorbis_analysis_blockout (v=0xbffff71c, vb=0x8050b80)
at block.c:591
#2 0x4002ff23 in _prefetch_all_headers (vf=0xbffff540,
dataoffset=-1073749296)
at vorbisfile.c:324
#3 0x4003039c in _process_packet (vf=0xbffff540, readp=1)
2006 Aug 30
2
Continued:How can I seek in Ogg Vorbis file, but not using Vorbisfile library?
Hello, All.
First, I want to thank Ian Malone and Ralph Giles, thanks for your kind replies. But I still have problems about seek.
As you suggested, I could use ov_open_callbacks() to supply my own read/write/seek functions. So, can you give me an example? I?m sorry for my ignorance, because I haven?t used callbacks before.
I analyzed the vorbisfile.c in Tremor, and I think I
2001 Sep 12
6
Yet another backtrace
Another one at block.c:176:
---
Title: We The People
Artist: DJ Lithium Presents
Bitstream is 2 channel, 44100Hz
Time: 58:29.07, Bitrate: 100.1
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 27207)]
_vds_shared_init (v=0xbffff73c, vi=0x4024efe0, encp=0) at block.c:176
176 b->modebits=ilog2(ci->modes);
(gdb) bt
#0 _vds_shared_init
2000 Aug 07
1
Starting at square one with Vorbis...
I want to use Vorbis to stream music off the HD in my
DirectX app. Currently, we have a generic streamer that
writes raw digital sound data into the primary sound
buffer. We plug sound sources (e.g. wav files, PCM files)
into this streamer by having the sound sources have
an interface something like this:
class SourceDataSourceInterface{
virtual bool Init(char* pSource) = 0;
2001 Apr 04
2
Play back file from RAM
How can I decode a Vorbis file which is in RAM (not in a file
on the disk)??
(Writing it to disk isn't an option...)
--
<\___/>
/ O O \
\_____/ FTB.
--- >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
2002 Mar 04
1
ov_open_callbacks
Hi`
Is there some example code on how to use ov_open_callbacks with VorbisFile?
The documentation I found is _very_ sparse and if possible I don't want to
spend much time adding streaming from memory to my code.
http://www.xiph.org/ogg/vorbis/doc/vorbisfile/ov_callbacks.html
<p>Thanks,
-- Daniel, Epic Games Inc.
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
2004 Sep 07
3
Introducing ov_open_callbacksp and ov_clearp
Hello,
I've been looking to the libvorbisfile and got into troubles when trying to
use it: I need to compile it on a PalmOS and the libvorbisfile must be
compiled in ARM whereas calling code is in 68K. This implies that the
interface ov_open_callback is not usable because the OggVorbis_File *vf must
point to something in the target architecture (ARM) whereas the caller
cannot do that.
As
2000 Nov 09
4
libvorbis compile failure
The latest CVS update of libvorbis fails to compile on SuSE Linux 6.4. The
error is below.
Also, what happened to the xmms plugin directory in cvs? It complains that
it is missing when I do a 'cvs update'.
gcc -DPACKAGE=\"libvorbis\" -DVERSION=\"1.0beta3\" -DHAVE_ALLOCA_H=1 -DHAVE_
ALLOCA=1 -I. -I. -I../include -O20 -ffast-math -mno-ieee-fp -D_REENTRANT -fs
2003 Jun 23
3
Cannot get ogm infos
Help is needed !
I cannot extract infos from video stream in an .ogm file using the
VorbisFile library.
It seems that I can only open .ogg files (audio)! When I call
"ov_open_callbacks" it generates a message error.
Here is my procedure in pascal:
code:
_____
procedure GetOGMInfo;
var
F : TFileStream;
vf: OggVorbis_File;
res: integer;
begin
F :=
2001 May 26
2
merging monty's branch
Hi folks,
I'm doing a merge of my current branch onto the mainline (for testing)
today. I believe it to be stable. Just a little more vorbisfile
testing. After the merge, I have a few more patches to apply, then
onto cascading/coupling.
New stuff:
Floor backend 1 and residue backend 1; both are present, but the
mainline modes won't use either yet. Naturally, both are enabled for
2000 Jun 27
1
vorbis-tools/Makefile.in glitch...
I'm updating my vorbis rpm spec file, and when I try to do "make -C
vorbis-tools ogg123", due to rpm's build environment, I get lots of:
gcc ogg123.o -o ogg123 -lm ../lib/libvorbis.a ../lib/vorbisfile.a
../lib/vorbisfile.a(vorbisfile.o): In function `_get_prev_page':
vorbisfile.o(.text+0x54): undefined reference to `ogg_sync_reset'
vorbisfile.o(.text+0xa9): undefined
2017 Apr 11
1
[Vorbis-dev] Zero length reported.
Okay - so I stepped through the code slowly this morning making notes as I went.
And I can see what’s wrong. The last Ogg header of the troublesome file contains -1 as the granule position. The spec says this has a special meaning "A special value of '-1' (in two's complement) indicates that no packets finish on this page."
4F 67 67 53 00 04 FF FF FF FF FF FF FF FF 16 A2