[Vorbis] Fixing Ogg Vorbis files with incorrectly framed headers

Tristan Miller psychonaut at nothingisreal.com
Sun Aug 20 11:19:05 UTC 2017


Greetings.

On Thu, 27 Jul 2017 21:18:42 +0200, Tristan Miller
<psychonaut at nothingisreal.com> wrote:
> Possibly as the result of buggy tagging software, several hundred of
> my Ogg Vorbis files exhibit the following warning when examined by
> ogginfo:
> 
> WARNING: Vorbis stream 1 does not have headers correctly framed.
> Terminal header page contains additional packets or has non-zero
> granulepos
> 
> Nonetheless, most media players can play these files without any
> problem.  A notable exception is any player using the recently
> released GStreamer 1.12.1 (see
> <https://bugzilla.gnome.org/show_bug.cgi?id=784530>).  In fact, even
> though my files were corrupted several years ago, I hadn't noticed
> this until a few weeks ago when I upgraded GStreamer to the latest
> version.
> 
> Can anyone advise me how I can fix my files short of re-encoding them?

I believe I've discovered how the files can be repaired without
re-encoding them:

$ ffmpeg -i corruptfile.ogg -acodec copy fixedfile.ogg

Regards,
Tristan

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
                  Tristan Miller
Free Software developer, ferret herder, logologist
             https://logological.org/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.xiph.org/pipermail/vorbis/attachments/20170820/550fb639/attachment.sig>


More information about the Vorbis mailing list