[Vorbis] Re: Broken ogg - how to fix?

Petr Kopecky kejpi at centrum.cz
Mon Oct 9 09:29:41 PDT 2006


Ian Malone wrote:

> Petr Kopecky wrote:
>> Hi,
>> 
>> I have some *.ogg file got by streamripper which seems to be broken.
>> 
>> # ogginfo file.ogg
>> 
>> Processing file "file.ogg"...
>> 
>> New logical stream (#1, serial: 20236f01): type vorbis
>> Vorbis headers parsed for stream 1, information follows...
>> Version: 0
>> Vendor: Xiph.Org libVorbis I 20050304
>> Channels: 2
>> Rate: 48000
>> 
>> Nominal bitrate: 224,000000 kb/s
>> Upper bitrate not set
>> Lower bitrate not set
>> User comments section follows...
>>         title=
>>         artist=CRo3 - Vltava
>>         genre=classical
>> Warning: sequence number gap in stream 1. Got page 752219 when expecting
>> page 2. Indicates missing data.
>> Warning: EOS not set on stream 1
>> Vorbis stream 1:
>>         Total data length: 9381983 bytes
>>         Playback length: 2256m:50.495s
>>         Average bitrate: 0,554284 kb/s
>> 
>> 
>> The length should be 300 sec.
>> 
>> Is there any possibility how to fix that file?
>> 
> 
> 
> You could try running it through vorbiscomment (making a backup first
> of course), although the missing page2 is more than a little troubling
> for a couple of reasons (e.g. I'm wondering what page(s) the comment
> header is on and whether the codebooks are in the right place).
> 
> --
> imalone

Thanks for your answer. 
I have tried this but there is no significant difference. Ogginfo displays
no warning any more but the length of the song is bad and it is not
possible to seek.

# ogginfo new.ogg
Processing file "new.ogg"...

New logical stream (#1, serial: 20236f01): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20050304
Channels: 2
Rate: 48000

Nominal bitrate: 224,000000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
        ARTIST=test
Vorbis stream 1:
        Total data length: 9381983 bytes
        Playback length: 2256m:50.495s
        Average bitrate: 0,554284 kb/s
Logical stream 1 ended



-- 
Ing. Petr Kopecky
E-mail: kejpi at centrum.cz




More information about the Vorbis mailing list