Displaying 20 results from an estimated 300 matches similar to: "Zero length reported."
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
2017 Apr 07
0
Fwd: [Vorbis-dev] Zero length reported.
Hello - I send this to the vorbis-dev list yesterday, but I’m working if it would not have been better targeted at this list.
Sorry for the spam if you are on both :)
> Begin forwarded message:
>
> From: Jim Credland <jim at credland.net>
> Subject: [Vorbis-dev] Zero length reported.
> Date: 6 April 2017 at 15:43:18 BST
> To: vorbis-dev at xiph.org
> Cc: Maciej Dudek
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
2002 Dec 27
1
Vorbisgain in ogg123
I'm considering patching my copy of ogg123 to support vorbisgain tags. Is
there any interest in folding this sort of patch into the main line ogg123?
Has anyone done this already (or to another command line ogg player)?
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
2006 May 23
3
[LLVMdev] Binary output to cout on Windows
The solution (provided in Microsoft's documentation) is to add:
#include <cstdio>
#include <io.h>
#include <fcntl.h>
and run:
int result = _setmode( _fileno(stdin), _O_BINARY );
if( result == -1 )
{ std::cerr<<"Cannot set input mode to binary."<<std::endl; return 1;
}
result = _setmode( _fileno(stdout), _O_BINARY );
if( result == -1 )
{
2008 Jan 11
1
Patch for OS/2 STDIN/STDOUT
Hi,
to make in/output on STDIN/STDOUT work on OS/2 this small patch is needed:
---cut---
diff -ruN o:src/speexdec.c src/speexdec.c
--- o:src/speexdec.c 2007-12-08 05:01:08.000000000 +0100
+++ src/speexdec.c 2008-01-12 00:48:00.000000000 +0100
@@ -231,6 +231,8 @@
{
#if defined WIN32 || defined _WIN32
_setmode(_fileno(stdout), _O_BINARY);
+#elif defined OS2
+
2004 Aug 06
2
new utility - ezstream
At 03:07 PM 1/30/2004, you wrote:
>Thanks for your work on this oddsock. It's a major feature that's been
>missing from the Win32 environment. I presume you will be offering a Win32
>binary on your site at some stage.
why sure! http://www.icecast.org:8082/files/ezstream_win32_0.1.0_setup.exe
also, a note of mention, reading from stdin seems to be broken on win32,
but works
2011 Mar 07
3
linear mixed model with nested factors
Hi R-help.
I am trying to run a linear mixed model with nested factors with either
lme or lmer and I am having no luck obtaining the same results as Minitab.
Here is Minitab's code:
MTB > GLM 'count' = site year replicate(site year) site*year;
SUBC> Random 'year' 'replicate';
Can you tell me how to code this in R?
The settings are typeII, Tukey,
2002 Feb 12
2
problem with Vorbis DLL's
Hi,
I was wondering if anyone out there had any success dynamically loading the
Vorbis libraries via LoadLibrary on Win32. I'm able to use things properly
by linking in the static libraries, but when I try to load them dynamically
(which I really need to do), I get an access violation when calling ov_open.
The code looks something like this...
typedef int
2006 Jun 06
2
UK Male English Voices
I'd like to announce that the UK Male English Voices are now up on
http://www.tel.net/
There's a complete set of base sounds and additional sounds (it should
be complete compared to current Asterisk and Asterisk-Sounds-1.2.1).
There's also a set with the word 'pound' replaced by 'hash' for both the
base and additional sounds (only the actual replacements not a
2006 Feb 11
1
vorbisfile and ogg files <= 8kb
Some months ago I tried to get some answers (and didn't) for a problem I've had with ov_pcm_total for files 8kb or smaller. I have no idea whether it should make a difference, but I operate inside Visual Studio, with C++ 6.0 and MFC.
The value returned by ov_pcm_total doesn't agree with ov_read. My solution had been to add 0.2 to the buffer size, so that ov_read would make it to
2003 Mar 02
1
ov_pcm_total() returns always 0 after ov_open_callbacks()...
Hi Folks,
i implemented the required callback funktions to open an ogg file from
memory.
Now ov_pcm_total() returns always 0, strange thing about is that
ov_pcm_total does not call any of the callback funktions.
I also like to mention that ov_info (which uses the read and seek callback
funktions) delivers correct values. Thats why i doubt that there's an error
in (the rather simple) callback
2005 Nov 01
2
predictability of buffer size for decoding
I am wondering if buffer size for my decoding to pcm can be predicted dependably as follows. So far, the one problem I have had is when I have played a file of only about 5k. The buffer was a little less than 10% too small. I "solved" that by padding the result with an extra 20 percent. However, I have been told that I should be able to rely on the value of ov_pcm_total.
char*
2004 Feb 18
1
Precache an entire OGG?
OK, thanks to the help of another forum user, I got my app compiled and working, but I now need to precache the OGG to memory. My current method somehow winds up in a loop or freezes the application. Here is y source for the decode/precache function. Why is it just freezing? I've let it run for about three minutes, thinking it was doing some heavy decoding, but I was wrong. Once this is
2007 Mar 22
1
Finding the size of a vorbis stream
Hello,
I am trying to make an OGG Vorbis player for my cell phone. I have
ported J-Ogg to J2ME, and it is decoding files in non-realtime. The
problem is that I need to convert the OGG into a WAVE stream, which
needs the size of the data in the header which has to be read before the
OGG is fully decoded. So my question is, is there any way to find the
size of the resulting PCM data before decoding
2000 Dec 13
2
ov_clear segfaults?
Hi guys,
I'm working doing the Java->JNI->OggVorbis thing. As a test to get me
going, I've just written a quick routine that dumps info about the file
test.ogg in the current directory.
The problem arises when I call ov_clear. I get a segfault everytime. Note
that I am *not* doing any decoding (ov_read) at all, just ov_comment and
ov_info. Should I only call ov_clear if I have
2003 Jul 29
2
Uncompressed size in bytes
Hi!
I would like to decompress an ogg vorbis file from the memory to the
memory.
I wrote my own callbacks for it (Why isn't there callback functions for
it? Just for void* data, and a size_t size).
Now I can read the ogg file from the memory but I don't know the total
size of the uncompressed data (I would like to decompress the data at
once).
How can I get the bitstream decompressed
2017 Feb 09
1
[PATCH] Fix compile with cygwin
The underscores are wrong. The comment is also correct.
Also remove the configure.ac option. Otherwise it tries to compile the
windows unicode stuff which POSIX(cygwin) does not understand.
---
configure.ac | 2 +-
include/share/compat.h | 2 +-
src/libFLAC/stream_decoder.c | 3 ---
src/libFLAC/stream_encoder.c | 3 ---
src/share/grabbag/file.c | 8 +-------
5 files
2013 Apr 02
2
flac 1.3.0pre3 pre-release
Janne Hyv?rinen wrote:
> Surprisingly flac_mac had mistakenly gotten extra parameters for safe
> string functions requiring further patching.
> And here's patches for the changes in git for flactimer.
Applied, thanks.
> I noticed compat.h patch didn't make it into git. I know it may not be
> perfect patch but unistd.h is in two different #ifdef checks. First one
>
2003 Sep 14
6
ov_clear(&vorbis) segfaults?
Hello all. I'm new to this list. I'm also new to coding with libvorbis
and things, so please bear with me. :)
I've been having trouble with libvorbisfile.
My use of it is fairly simple, but when I try to ov_clear the vorbis
file, it segfaults.
I can attach or otherwise make availible some demo source code, but for
now I'll just pull out relevant lines:
//BEGIN PSEUDO CODE