Displaying 20 results from an estimated 8000 matches similar to: "Fixing ogg vorbis corruption caused by bad metadata"
2009 Jun 20
2
Fixing ogg vorbis corruption caused by bad metadata
Adam Rosi-Kessel wrote, on 6/19/2009 3:56 PM:
> Conrad Parker wrote, on 6/18/2009 3:15 PM:
>> Hopefully at some point the vorbis data in the file becomes valid.
>> Perhaps we just need to know the original encoding settings to create
>> a new file with valid codebooks and splice them together: oggz-dump -r
>> should be ok for that, just take the first 3 packets of the
2009 Jul 09
2
Fixing ogg vorbis corruption caused by bad metadata
Adam Rosi-Kessel wrote, on 6/30/2009 11:14 AM:
> Conrad Parker wrote, on 6/30/2009 11:05 AM:
>>> http://adam.rosi-kessel.org/bugs/liboggz/484/other_corruption.ogg
>>> Yet also won't play or process properly with oggz or hogg tools. Any
>>> ideas whether this is the same or different root cause? (In all of these
>>> cases, I'm reasonably certain that
2009 Jul 15
2
Fixing ogg vorbis corruption caused by bad metadata
Adam Rosi-Kessel wrote:
> Yes, it was Mediamonkey. They claim that it was due to a bug in vorbis
> libraries.
All software has bugs, but this explanation doesn't really add up.
libvorbis is the codec. If they had blamed libogg, which does the
container, then yes, that would have been a believable explanation :-).
Erik
--
2009 Jul 22
2
Fixing ogg vorbis corruption caused by bad metadata
Adam Rosi-Kessel <adam at rosi-kessel.org> wrote:
> I finally got something like an explanation from the Mediamonkey
> developers. Here is their explanation as to why MM corrupted my files:
>
> > the problem was caused by the fact that Vorbis library uses alloca()
> > function on several places, which allocates memory on stack. We
> > changed it to alloc() and
2009 Jul 21
0
Fixing ogg vorbis corruption caused by bad metadata
Martin Leese wrote, on 7/15/2009 3:29 PM:
> Adam Rosi-Kessel<adam at rosi-kessel.org> wrote:
>
>> So I've written a script to do the following:
> ...
>
> I have got lost. Did you manage to identify the
> rogue software that corrupted the files in the
> first place? In the greater scheme of things,
> fixing this (prevention) is more important than
>
2009 Jun 18
2
Fixing ogg vorbis corruption caused by bad metadata
I have over 1,000 ogg vorbis files that are no longer playable or
editable. I believe the main cause was a MediaMonkey plugin that
automatically fetched album art and added it to the header. The plugin
itself just uses the generic MediaMonkey metadata facility, but
something happened -- perhaps when the album art bitmap image was too
large -- that caused the files to no longer work.
2009 Jun 30
2
Fixing ogg vorbis corruption caused by bad metadata
2009/6/30 Adam Rosi-Kessel <adam at rosi-kessel.org>:
> Monty Montgomery wrote, on 6/25/2009 2:16 PM:
>>> Is there any way to understand exactly how it is invalid? I can replicate
>>> this corruption simply by adding large album art to any ogg file with the
>>> latest release of MediaMonkey.
>> The second page is corrupt. ?The basic structure looks
2009 Jun 25
5
Fixing ogg vorbis corruption caused by bad metadata
> Is there any way to understand exactly how it is invalid? I can replicate
> this corruption simply by adding large album art to any ogg file with the
> latest release of MediaMonkey.
The second page is corrupt. The basic structure looks correct, first
guess would be bad checksum. I'll look more closely in just a bit.
This might explain why some players might accept it--- if
2009 Jun 18
5
Fixing ogg vorbis corruption caused by bad metadata
2009/6/18 Adam Rosi-Kessel <adam at rosi-kessel.org>:
> On Thu, Jun 18, 2009 at 11:12:30PM +0900, Conrad Parker wrote:
>> yow, that's pretty badly corrupted, the vorbis codebooks (usually the
>> third packet) is completely gone. It looks like you'd need to throw
>> away the first 16 packets, start with fresh headers, and copy in the
>> rest of the data
2009 Jul 14
3
Fixing ogg vorbis corruption caused by bad metadata
On Tue, Jul 14, 2009 at 9:48 AM, Adam Rosi-Kessel<adam at rosi-kessel.org> wrote:
> The only issue I'm noticing is ogginfo reports:
>
> Warning: sequence number gap in stream 1. Got page 14 when expecting
> page 2. Indicates missing data.
> Warning: discontinuity in stream (1)
I'd guess this is flagging the data that was overwritten by the bad
tagging code. Some
2009 Jun 18
3
Fixing ogg vorbis corruption caused by bad metadata
2009/6/18 Adam Rosi-Kessel <adam at rosi-kessel.org>:
> Ivo Emanuel Gon?alves wrote, on 6/18/2009 6:14 AM:
>>
>> On 6/18/09, Conrad Parker<conrad at metadecks.org> ?wrote:
>>>
>>> This sounds like it needs a new tool specifically for fixing broken
>>> Ogg files.
>>
>> I see two solutions:
>>
>> 1) the new vcut which I
2009 Jul 14
2
Fixing ogg vorbis corruption caused by bad metadata
ogg.k.ogg.k at googlemail.com wrote, on 7/14/2009 7:16 AM:
>> easy to replace. The second packet is the metadata, which we can lose.
>> It's just the third packet that needs to be reconstructed. After that,
>> you could start at any packet division in the rest of the file and it
>> would play fine? So this generic restore tool that I'm positing would
>> just
2009 Jun 18
0
Fixing ogg vorbis corruption caused by bad metadata
Hi,
(I was discussing this with Adam earlier today, and he has also mailed
vorbis at xiph.org about this issue in March).
This sounds like it needs a new tool specifically for fixing broken
Ogg files. Suggestions so far (tried by Adam, or suggested to him in
email/IRC):
* oggz-sort, hogg sort
These rewrite the file, sorting the pages by presentation time. This
usually fixes muxing problems,
2009 Jun 21
2
Fixing ogg vorbis corruption caused by bad metadata
Conrad Parker wrote, on 6/20/2009 10:24 PM:
>> How about another approach -- is there a tool that will verify the page
>> checksums? oggz-validate doesn't seem to do this. If the page checksums
>> are okay, then doesn't that suggest the streams are also recoverable?
> If the page checksums are bad then the page will get rejected by
> libogg, and oggz-validate
2009 Jul 09
0
Fixing ogg vorbis corruption caused by bad metadata
2009/7/9 Adam Rosi-Kessel <adam at rosi-kessel.org>:
> Adam Rosi-Kessel wrote, on 6/30/2009 11:14 AM:
>>
>> Conrad Parker wrote, on 6/30/2009 11:05 AM:
>>>>
>>>> http://adam.rosi-kessel.org/bugs/liboggz/484/other_corruption.ogg
>>>> Yet also won't play or process properly with oggz or hogg tools. Any
>>>> ideas whether this
2009 Jul 21
1
Fixing ogg vorbis corruption caused by bad metadata
Adam Rosi-Kessel wrote:
> I finally got something like an explanation from the Mediamonkey
> developers. Here is their explanation as to why MM corrupted my files:
>
> > the problem was caused by the fact that Vorbis library uses alloca()
> > function on several places, which allocates memory on stack. We
> > changed it to alloc() and free() functions pair instead,
2009 Jun 18
2
Fixing ogg vorbis corruption caused by bad metadata
On 6/18/09, Conrad Parker <conrad at metadecks.org> wrote:
> This sounds like it needs a new tool specifically for fixing broken
> Ogg files.
I see two solutions:
1) the new vcut which I reckon will fix the problem since it has to
split and rebuild the audio in a new Ogg
2) an Hex editor, even if just to check what's wrong in the metadata section
-Ivo
2009 Jun 25
0
Fixing ogg vorbis corruption caused by bad metadata
Adam Rosi-Kessel wrote, on 6/21/2009 9:29 AM:
> Conrad Parker wrote, on 6/20/2009 10:24 PM:
>>> How about another approach -- is there a tool that will verify the page
>>> checksums? oggz-validate doesn't seem to do this. If the page checksums
>>> are okay, then doesn't that suggest the streams are also recoverable?
>> If the page checksums are bad then
2009 Jun 30
0
Fixing ogg vorbis corruption caused by bad metadata
Monty Montgomery wrote, on 6/25/2009 2:16 PM:
>> Is there any way to understand exactly how it is invalid? I can replicate
>> this corruption simply by adding large album art to any ogg file with the
>> latest release of MediaMonkey.
> The second page is corrupt. The basic structure looks correct, first
> guess would be bad checksum. I'll look more closely in just a
2009 Jun 25
0
Fixing ogg vorbis corruption caused by bad metadata
2009/6/26 Adam Rosi-Kessel <adam at rosi-kessel.org>:
> Can I fix the checksum with a hex editor?
I just realized that the hogg tools will fix the CRC issues (by design
accident: hogg ignores the CRC on reading but sets it correctly on
writing). "hogg rip" rewrites the pages (fixing the CRC), and "hogg
reconstruct" also rewrites the
I've uploaded the outputs of