[Vorbis-dev] ov_read() returns OV_EINVAL (-131)
Matthias Brandt
nospam at maz-b.com
Mon Apr 14 09:19:52 PDT 2008
xiphmont at xiph.org schrieb:
> On Mon, Apr 14, 2008 at 10:05 AM, Matthias Brandt <nospam at maz-b.com> wrote:
>> Ralph Giles schrieb:
>>
>>> It can return OV_EINVAL if it can't open file, or if the file headers
>> > are corrupt, or if the stream isn't seekable and it can't get enough
>> > data. You might check those conditions.
>> >
>> > -r
>> >
>> I've created this file [1] (60s silence only, 6 channels) and it should
>> pass all those conditions.
>
> deep-space-bananafish:~/MotherfishSVN/vorbis/examples>
> ./vorbisfile_example < ~/silence_surround.ogg > /dev/null
> ENCODER=Sweep 0.9.2 (metadecks.org)
>
> Bitstream is 6 channel, 44100Hz
>
> Decoded length: 2646000 samples
> Encoded by: Xiph.Org libVorbis I 20070622
>
> Done.
>
> Hmmm... so the linux x86-64 build works, which doesn't say much about
> a VC++ app. Can you check that other files open correctly (stereo
> that is).
>
> Monty
>
>
I'm using amd64-Linux, too. Well, ov_open(), ov_info() and ov_comment() are
working fine. Only ov_read() returns -131.
Stereo-files open and read correctly.
When I try to play the ogg-file with "play" it hangs up and I've to kill it with -9:
matte at castle:~/fh/svn/vr/bin/linux64/vrKatamari/res/wavdata$ play
silence_surround.ogg
Input File : 'silence_surround.ogg'
Sample Size : 16-bit (2 bytes)
Sample Encoding: Vorbis
Channels : 6
Sample Rate : 44100
Comment : 'ENCODER=Sweep 0.9.2 (metadecks.org)'
Any suggestions?
Matthias
More information about the Vorbis-dev
mailing list