Displaying 20 results from an estimated 700 matches similar to: "ov_pcm_seek to sample zero of Theora/Vorbis file hangs"
2004 May 10
1
re: Seek problems with vorbis_file
Hi,
I have been having some problems with ov_pcm_seek in vorbis_file:-
Any seeks to a sample within the first second of the stream (i.e. <
44100 samples) fail. Seeks to samples beyond this 44100 limit are fine.
It appears to be associated with vorbis_file trying to read the
preceding page (odd for the beginning of the file), attempting an
ov_raw_seek, then bombing out with an OV_EINVAL.
2001 Mar 12
1
ov_pcm_seek
How do I seek back to the beginning of a stream using ov_pcm_seek()?
ov_pcm_seek(0) doesn't seem to do anything, though ov_pcm_tell()
returns 0 right after opening the stream.
I'm now using ov_pcm_seek(1) which seems to work, but I'm not sure
if that's really right. Are PCM offsets meant to be 0 or 1 based? Is
this a bug?
Frank
--
Frank Heckenbach, frank@g-n-u.de
2001 Mar 29
3
ov_pcm_seek() is very slow...
I realise the it's hard to do a seek in a variable bitrate
file but I didn't think it was this bad. It seems to vary
a lot with the file but the total time to do an ov_open()
and ov_pcm_seek() can add upp to a second or more. By this
time my DirectX buffers have wrapped around and are looping.
Can anybody think of a solution for this? I really need a
faster response time for my in-game
2011 Jan 21
1
theora_encode is adding vertical pixels
I am using theora_encode along with ffmpeg:
ffmpeg -an -s 1920x1080 -r 24 -i bigbuckbunny.mp4 -vcodec rawvideo \
-pix_fmt yuv420p -f rawvideo - 2>/dev/null \
| ffmpeg -an -f rawvideo -s 1920x1080 -r 24 -i - -f yuv4mpegpipe -
2>/dev/null \
|* theora_encode /dev/stdin 2>/dev/null *| ffmpeg -y -f ogg -i - \
-f mp4 -i bigbuckbunny.mp4 -map 0:0 -map 1:1 -vcodec copy \
-acodec libvorbis -ab
2002 Aug 01
1
ov_raw_seek doesn't work ?
I found a problem with ov_raw_seek function in oggvorbis win32sdk 1.0.
When i called this function it returned OV_EINVAL immediatelly. I
solved the issue by replacing the ov_raw_seek by ov_pcm_seek, which
worked perfectly, but i would like to use the raw variant due to
performace reason . Is anybody aware of this strange behaviour ?
Martin Cesky
<p><p>--- >8 ----
List
2004 May 11
0
re: Seek problems with vorbis_file
Turned out to be a bug in my implementation of the file callbacks (not
setting up vi->end properly). Apologies :)
-----Original Message-----
From: owner-vorbis-dev@xiph.org [mailto:owner-vorbis-dev@xiph.org] On
Behalf Of Michael Smith
Sent: 11 May 2004 01:04
To: vorbis-dev@xiph.org
Subject: Re: [vorbis-dev] re: Seek problems with vorbis_file
On Tuesday 11 May 2004 01:43, Paul Knight wrote:
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
2014 Apr 23
4
oggpack_writecopy bug
At some stage (possibly commit r17268) oggpack_writecopy started to fail with
some strings longer than 256 bytes and all strings longer than 512 bytes. Also
it thrashes the stack with very long strings.
Lithopsian
2018 Nov 05
2
Decode ogg file while downloading: what are the good practices?
I haven't managed yet to get any stacktrace, but I'll work on it (that's
the problem using C/C++ code in an Android app...).
Also, it's important to notice that I manage to make ov_read() crash, *even
when the audio file is fully downloaded!*
What I do to reproduce the bug is to call ov_pcm_seek() (without any reload
of the file) many times in a row, very quickly (like 6-7 times
2001 Sep 22
3
retrieving "instant" bitrate without vo_open?
ok, I'm aware that vo_open cant be used at the same time as other functions
such as ogg_sync_wrote, ogg_sync_pageout, ogg_stream_pagein,
ogg_stream_packetout and vorbis_synthesis_headerin. In order to get
information from the bitstream i've been using this method because it's fast
and doesn't require decoding of the stream. But, i can only retrieve the
average bitrate of
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
2014 Jun 18
4
R128gain & metaflac
>b) According to http://wiki.xiph.org/OggOpus#Comment_Header
>there should be no REPLAYGAIN_*** tags in Opus files; Opus uses
>R128_TRACK_GAIN tag. If some audio player reads Opus tags then it should
>be aware of the difference between ReplayGain and R128. But this doesn't
>require REPLAYGAIN_REFERENCE_LOUDNESS tag.
>
>
The Opus replaygain spec is fundamentally broken, so
2002 Mar 21
1
Ogg Vorbis and DirectSound streaming
hi,
I downloaded the vorbis-sdk-1.0rc3 and wrote an application that plays ogg
files using DirectSound(win32 application). It uses streaming technique -
I'm implementing and passing IStream interface to the DirectX. The interface
is used by DirectX to fill his buffers during playing. DirectX is assuming
that it's readind from a wav file, so the interface decodes on-the-fly so
that
2018 Nov 03
3
Decode ogg file while downloading: what are the good practices?
Thanks for your answer.
But as I said, I don't have any problem seeking in a local file.
Also, I have full control on the ogg file I play, since I encode it by
myself.
I first would like to know if the code I provided (
https://gist.github.com/mregnauld/3f7cdc43b02ec3bbd91641b9333ba072) is good
practice when it comes to extracting and seeking in a file that is being
downloaded.
Thanks.
2003 Jun 15
1
Sizing down Ogg Vorbis encoder binaries
Not too long ago, I converted my whole cd library to
OGG format, because I loved the way it sounded, and
the fact that is was open source. Recently, I wanted
to update my library with the latest CVS code. I just
did a compile of the CVS ogg binaries (ogg.dll,
vorbis.dll, vorbis_enc.dll, vorbis_file.dll), and I
noticed they were alot larger in size than the
default ones that came with CDex. I
2014 Jun 19
2
R128gain & metaflac
On Wed, 18 Jun 2014 16:39:12 -0700
"Timothy B. Terriberry" <tterribe at xiph.org> wrote:
>Ian Nartowicz wrote:
>> The Opus replaygain spec is fundamentally broken, so let's ignore that for
>> now. It is discussed ad nauseam elsewhere, but isn't going to change any
>> time soon.
>
>I haven't seen anyone make any concrete proposals for how it
2001 Nov 18
5
vorbisfile.o givng me problems
I have been having problems compling vorbis on my computer( running redhat
7.1 ), it gives me a bunch of errors about vorbisfile.o( at least that what
the errors are complaining about...I don't know enough to figure out what is
wrong ).
Below is the output I get from compile:
Making all in examples
make[1]: Entering directory `/home/mchavez/devel/vorbis/examples'
/bin/sh ../libtool
2001 Nov 18
5
vorbisfile.o givng me problems
I have been having problems compling vorbis on my computer( running redhat
7.1 ), it gives me a bunch of errors about vorbisfile.o( at least that what
the errors are complaining about...I don't know enough to figure out what is
wrong ).
Below is the output I get from compile:
Making all in examples
make[1]: Entering directory `/home/mchavez/devel/vorbis/examples'
/bin/sh ../libtool
2014 May 15
1
Ogg Flac padding
I've developed a function for updating Flac metadata blocks inside Ogg files.
Obviously it is desirable to use padding so that most edits don't require
rewriting massive files.
Although the flac encoder creates a padding metadata block by default in Ogg
Flac files, this appears to be useless. When packets on an Ogg page change
size, the page size may change by as different amount, hence
2014 Aug 14
6
Encoder example for 24-bit files
Hi,
In the last days I've been taking as reference the example found in
examples/c/encode/file/main.c. With it I've been able to encode a 2ch,
16 bps, 44100 sample rate input WAV file to a FLAC file.
Now I've been trying to modify this example to encode a 2ch, 24 bps,
96000 sample rate WAV file. I have to say I'm a bit lost on how I
should read the input file in this case, and