Re: How to fix incorrectly framed headers in Vorbis files



Greetings.

On Wed, 5 Jul 2017 11:21:53 +0200, Tristan Miller
<psychonaut nothingisreal com> wrote:
On further testing, while rewriting the tags with EasyTAG or
vorbiscomment lead to files that no longer generate warnings with
ogginfo, the files still won't play with recent versions of GStreamer:

$ gst-play-1.0 foo.ogg
Press 'k' to see a list of keyboard shortcuts.
Now playing /tmp/foo.ogg
ERROR Could not decode stream. for file:///tmp/foo.ogg
ERROR debug information: gstvorbisdec.c(352):
vorbis_handle_header_packet
(): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstVorbisDec:vorbisdec0:
couldn't read header packet (-132) Reached end of play list.

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/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Attachment: pgp4hwyIWYzRE.pgp
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]