[Vorbis-dev] A granulepos repair tool (repairs seeking in broken off vorbis streams)

Gunter Königsmann gunter at peterpall.de
Sat Nov 13 06:03:39 PST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

Recently I had loads of trouble with ogg files that break the documented
seeking mechanisms because the granulepos markers of the packets are all
set to wrong values.

I did want to losslessly split them with mp3splt so re-encoding them was
no option which failed, too, for the same reason - so I wrote the little
tool that is attached to this Mail - which recalculates the granulepos
of a complete ogg vorbis stream without altering the rest of it.

Do you think it would make sense packaging it with the vorbis-tools?
Most of the code has been taken from there.

Kind regards,

   Gunter.
- -- 
What color is a chameleon on a mirror?
                -- Zen koan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJM3pq6AAoJEFyGwOQhHVuOv18P/jpC+0GDEw8usjnEEcoOPKJG
zzIAItIWqqVr2Acgq2DbUeVPQgBYmgWrw5EvH/rGTo2BK6llP7IWorsHuK+e+pYA
niWjVIPu34LhOuiEDIooF8c7kDzQjSxv6JGXznFXAIqJYkt67mEX5W8yD5OUZE+X
aXwCv1eWUYK+6ItlgdGBRk83CgjdD8mfx26girVJnWq+tHoAKAoyJf2SVKQbhiWR
zsYwFPr8TMfEuOI6RTmCBSn4mNqGs2zSPTFJXilxFHi25cuVCGZBf1LFsdlyTIWr
0qdQX5FYBUVLxjdZsPknzjivkMW4t4IwyZ+sXbIYPQ3pdYEIMHfgGumpvg2gm9ye
mZU+TZ2Xzj0GCxXQOVANos+EXs7qDzJpbrZOjfPlS3pQBV2KeNi+lFDymHSy2oz/
W2g6Gp4b5fq4FsAjQP7lRw8zJn/SgL2Zfhdm3iqLZR6k6WPudel6N7EEI21j0QP0
57Eh7Dcda1D7Naj1dxR+ELIQTIcCoY/t3xu/6pVFIusTdTLY98CHUF8kClMUybZm
grVWc2nzXxv034GPzWAVMiyBswLC2GAgZYU2jF7jrM12KEsJXV8S+o3ANoW8TAFe
YQQ72BtvOY0ln6P0lluyHzKecFtytS8P+bhrSuTU1tzqNItxPxz3a755/sd+E/tW
A7nNFh5nso+rdL2+OJMu
=KfJJ
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: oggfix.c
Type: text/x-csrc
Size: 12873 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/vorbis-dev/attachments/20101113/9bc09fd1/attachment.c 


More information about the Vorbis-dev mailing list