Displaying 20 results from an estimated 400 matches similar to: "ov_clear(&vorbis) segfaults?"
2003 Sep 14
0
ov_clear(&vorbis) segfaults? (Backtrace and test case)
Well, I've done more work on this today and done the following:
-I simplified the test program to just under 125 lines of code.
-I discovered that the code works fine on my friend's Darwin machine.
-I discovered that the code works fine in my friend's i386 linux machine.
-I discovered that the code fails in ALL of my i386 redhat 9 machines.
(Even the ones where I've rebuilt
2003 Apr 01
3
Access Violation when calling ov_clear
I get an access violation when calling ov_clear(). I know ov_open() worked because I used ov_info to get the sampling rate and number of channels in the .ogg file. I also know the FILE pointer and the OggVorbis_File structure are still in scope (they're member variables of the same class my deconstructor is in (where ov_clear() is called)). Anyone have any ideas? I opened the file using
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 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
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
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
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 Jul 23
1
[BUG] libvorbisfile ov_test() ?
The folowing code donst work:
#include <vorbis/codec.h>
#include <vorbis/vorbisfile.h>
#include <stdlib.h>
#include <stdio.h>
int main()
{
FILE *stdfile;
OggVorbis_File vf;
int tmp;
stdfile=fopen("./test.ogg","r");
if( ov_test(stdfile, &vf, NULL, 0) ==0)
{
tmp = ov_test_open(&vf);
2004 Feb 11
1
Problem using 'ov_open()'...
OK, I've been developing a small class that I can use in virtually any
application to load and decode OGG files. Everything works fine until it
reaches the line with the call to ov_open, then the application freezes and
has to be killed. This is a single-threaded Win32 app. Below is both the
structure that gets passed around, and my entire OGG class. Maybe one of
you can figure this out.
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
2002 Dec 09
2
ov_open/ov_test weirdness
Hi,
I've been playing with a little player, and it seems I can't ov_open a file
twice?
heres a snipit...
<p>#include <stdio.h>
#include <stdlib.h>
#include <errno.h>
#include <vorbis/vorbisfile.h>
OggVorbis_File vf;
FILE *f = NULL;
int main(int argc, char **argv)
{
char *file = NULL;
int err = 0;
if(argc < 2) {
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
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
2002 Jan 22
2
Peak value
Hi,
While testing ReplayGain (so it could be related to a bug), I noticed the following gain comments for a file:
RG_PEAK=1.71580
RG_RADIO=-7.91 dB
RG_AUDIOPHILE=-6.72 dB
I've never seen such a large peak. Not that I've looked much, nor have I analyzed the file further. I just thought I should mention it. :)
The file is the track Board Burner by Mixmaster Mike, available at:
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 May 17
0
ov_clear Crash
Hi All,
Im having troubles with ov_clear crashing or just failing to close properly.
Is there anything else i should make sure im doing before i call ov_clear.
My code basically consists of one ogg file running completley in its own
thread where it decodes into direct sound buffers. I only run 2 threads at
anyone time, and ive also noticed its only the threads that use ogg files
with multiple
2005 Jun 17
1
ov_open fails on Version 1.0.1
Eddie,
I have been reviewing vorbis list postings, because I have been spinning my wheels for a week, trying to make a simple insertion of ogg vorbis decoding (vorbisfile) in the audio class of my MFC/C++ program. I just read your thread from April 2004.
Question: Do you have anything you could send me, since I assume you succeeded in getting results? And/or could you take a look at what I
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
2005 Jun 14
3
lack of detail for exception in ov_open
I am having one frustrating time trying to decipher why ov_read is failing in my MFC/C++ application, and I see in Google results that others have had difficulty as well. These google discussions generally involve libraries, dll's and linking options, as though there are perhaps some basic incompatibilities between ogg vorbis and win32 and/or MFC/C++. Very confusing.
If I pass fopen a