Displaying 20 results from an estimated 500 matches similar to: "Speex seek with high precision"
2009 May 13
0
Speex seek with high precision
2009/5/14 Arnau Alemany <arnau.alemany at gmail.com>:
> Hello everybody,
> I'm new to this mailing list so I'm sorry if it's the wrong place to post
> this.
>
> I'm developing a Speex player and I need to seek with a precision of
> milliseconds. I used liboggz that supposedly does just that, but it never
> seeks exactly where it should. For example if I
2009 May 16
2
Speex seek with high precision
Hello Conrad,
I'm trying to seek the way you told but I'm facing a problem.
ogg_page_packets returns 164 and following code returns 189. Shouldn't it be
the same, what does that means ?
int res;
while (true)
{
res = ogg_stream_packetout(&os, &op);
if (res == 1)
nPackets++;
if (res == -1)
2009 May 16
1
Speex seek with high precision
Hello,
This is the code, it's a little crap but only to see if it works. I assume
rate = 16000 and frame_size = 320.
if (this->seek_to != -1) // SKIP
{
ogg_int64_t max_units;
//max_units = speex_seek(fin, this->seek_to, 0, rate);
int nPages = 0;
int nPackets = 0;
// Pone el cursor en la posici?n inicial del fichero
fseek(fin, 0, SEEK_SET);
2002 Apr 16
1
Howto use ogg_page_granulepos for exact playback position?
I have the following problem.
Be an encoder application (station) and a decoder application (receiver).
If I feed the vorbis encoder with 'n' pcm samples in the station I want to
know how many pcm samples will be decoded in the receiver if I feed the
decoder with the encoded output. The ogg_page_granulepos is right for the
purpose?
I read the documentation about the ogg_page_granulepos
2007 Jul 24
1
Custom kinit to find device by "label"
I need to reliably boot a server from a USB device. Since USB
device ordering can be unpredictable, I wrote a simple
early-userspace "init" program to find the root FS on the correct USB
device & partition. I have "labeled" the root ext2 FS on the USB
drive, and the program searches for the label by examining the bytes
at a specific offset from the beginning of the
2003 Jun 13
2
Trouble decoding number of codebooks
I'm having trouble decoding the number of codebooks out of an ogg file,
and was wondering if anyone here could lend a hand?
I read in the sync pattern, and I think the codebook dimensions properly,
but when I try and read in the number of codebook entries, I get a number
larger than the number of bytes in the file, which I have to assume is
wrong :)
Anyway this is how I read in the numbers :
2008 Jul 31
1
oggz fixes for macos
On 31-Jul-08, at 9:43 AM, ogg.k.ogg.k at googlemail.com wrote:
> though (don't know if they're related to your changes):
>
> oggz.c: In function 'oggz_content_type':
> oggz.c:623: warning: comparison of unsigned expression < 0 is
> always false
This is an array bounds guard. I guess it's defensive programming vs
warning. Making OggzStreamContent a
2009 May 15
0
[PATCH] oggz: limit seeking to specified range
Hi Guys,
I've been working on speeding up seeking in Ogg playback in for the video
element in Firefox. This is Mozilla bug 469408:
https://bugzilla.mozilla.org/show_bug.cgi?id=469408
When liboggz seeks, it basically does a bisection search through the media,
looking for an Ogg page with the target seek time. This is fine for files
stored locally, but when the file is stored on a web server,
2017 Feb 19
5
RFC: Adding llvm::ThinStream
Some background:
A while back while working on code to read / write PDB files, I came up
with Yet Another Stream Abstraction. Note that LLVM already has a few.
Off the top of my head, theres:
1) `MemoryBuffer` and its associated class hierarchy
2) `raw_ostream` and it's associated classes.
3) `DataExtractor` which is used for reading from a StringRef.
There's probably more, and
2013 Nov 26
0
[LLVMdev] MCJIT RemoteMemoryManager Failures on ARM
Looking at the code, one obvious source of intermittent failure is that the Linux implementations of ReadBytes and WriteBytes don't check for EINTR. I doubt that's the failure you're seeing because it would be more randomly distributed but it's something that should be fixed.
More likely as the cause of failure in your case is that read is returning less than the number of bytes
2006 Aug 16
1
help about agnes
Hello.
I have the following distance matrix between 8 points:
[1,] 0.000000 3.162278 7.280110 8.544004 7.071068 9.899495 6.403124 8.062258
[2,] 3.162278 0.000000 5.000000 6.403124 4.472136 8.944272 6.082763 8.062258
[3,] 7.280110 5.000000 0.000000 1.414214 1.000000 5.000000 4.242641 5.830952
[4,] 8.544004 6.403124 1.414214 0.000000 2.236068 4.123106 4.472136 5.656854
[5,] 7.071068 4.472136
2010 Jun 04
2
OGGZ Seeking in Theora
Dear all
I'm aware that there have been several discussions about the seeking
issue and I'm sorry to bring this up again.
To solve the problem with Inter-Frame garbage, a seek to the previous
keyframe has to be made. The keyframe number should be extracted from
the granulepos of the frame where we want to seek to. I hope I
understood the theory - unfortunately a few questions have
2009 Jun 09
2
Sweave and accents
Hello.
I want to write my notes in Sweave in my own language (spanish). But
my language has accents and when I run Sweave in R to translate my Snw
file into the tex file the accents are translated into unrecognizable
characters.
For example, the word "cami?n" (truck) is translated into "cami??n"
Somebody knows how can I do it?
One solution I don't like is using a
2004 Mar 13
1
Ogg / Vorbis Compiling under W32 with MingW ** Problem **
I want to compile ogg and vorbis(version 1.01) under mingw.
In the console i typed
./configure
make
but there is a lot of error while making. here is the errors
$ ./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific
2008 Oct 29
7
Package and log in puppet
Hi all,
my name is Arnau Bria and I''m a sys admin in a center where we
must deal with hundred hosts. We''re currently working with quattor,
but it''s too complex for our purposes, so I''m looking for new admin
tool.
I''ve been playing with CFengine for few days (2 or 3) and I''ve seen
some limitations that makes me thing that CFE is not our
2008 Jul 05
5
help about random generation of a Normal distribution of several variables
Hello.
Somebody knows how can I generate a set of n random vectors of a
normal distribution of several variables?
For example, I want to generate n=100 random vectors of two dimensions
for a normal with mean c(0,1) and variance matrix:
matrix(c(2,1,1,3),2,2).
Thanks in advance,
Arnau.
2011 Nov 11
1
Jordan Form of a matrix
Hello.
Is it possible to find the Jordan Form of a matrix with R?
Arnau.
------------------------------------------------------------
Arnau Mir Torres
Edifici A. Turmeda
Campus UIB
Ctra. Valldemossa, km. 7,5
07122 Palma de Mca.
tel: (+34) 971172987
fax: (+34) 971173003
email: arnau.mir at uib.es
URL: http://dmi.uib.es/~arnau
2011 May 05
1
functions pandit and treebase in the package apTreeshape
Hello.
I'm trying to use the functions pandit and treebase. They are in the package apTreeshape. Once I've loaded the package, R responses:
- no function pandit/treebase.
Somebody knows why or what is the reason?
Thanks,
Arnau.
------------------------------------------------------------
Arnau Mir Torres
Edifici A. Turmeda
Campus UIB
Ctra. Valldemossa, km. 7,5
07122 Palma de Mca.
2008 Oct 14
2
help about how can R compute AIC?
Hello.
I need to know how can R compute AIC when I study a regression model?
For example, if I use these data:
growth tannin
1 12 0
2 10 1
3 8 2
4 11 3
5 6 4
6 7 5
7 2 6
8 3 7
9 3 8
and I do
model <- lm (growth ~ tannin)
AIC(model)
R responses:
38.75990
I know the following formula to compute AIC:
AIC=
2008 Nov 13
5
ogg dirac granulepos in oggz tools
Hi,
I'm wondering if the Dirac granulepos parsing in liboggz and display
in the oggz tools is currently correct, as I'd like to do a release of
these soon.
A couple of days ago David Schleef mentioned there were some problems.
David, is that currently true (ie. since David Flynn's recent updates
to support Dirac), and if so could you please explain what the
problems are, or point me