Bug 79518 - Changes in 'Meta Info' tab of the 'Properties' window of an .ogg file is not well proceeded
Summary: Changes in 'Meta Info' tab of the 'Properties' window of an .ogg file is not ...
Status: CONFIRMED
Alias: None
Product: kfile-plugins
Classification: Applications
Component: ogg (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Multimedia Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-12 23:34 UTC by Meghazi Fabien
Modified: 2021-03-09 23:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Meghazi Fabien 2004-04-12 23:34:16 UTC
Version:           3.2.1 (using KDE 3.2.2,  (testing/unstable))
Compiler:          gcc version 3.3.3 (Debian 20040401)
OS:          Linux (i686) release 2.6.4-1-k7

When opening the 'Meta Info' tab of the 'Properties' window of an .ogg file and making changes to these infos (using special chars, dunno if it is relevant) then saving the infos makes problem in the ogg container format.

Output of ogginfo on the modified ogg file gives theses warning

Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Warning: sequence number gap in stream 1. Got page 590 when expecting page 587. Indicates missing data.
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder


If I modify the meta data of the ogg file with xmms, ogginfo does not output any error message. (but I can't use accentuated chars with xmms, don't know why, I guess I have a locale problem)
Comment 1 Scott Wheeler 2004-06-17 18:40:32 UTC
Well, this tab actually uses libvorbisfile for the writing, so it seems odd that it would find this to be a buggy encoder.  ;-)

What version of libogg/libvorbis/libvorbisfile do you have installed there?
Comment 2 Meghazi Fabien 2004-06-27 16:48:07 UTC
Well, perhaps I have a locale problem or something.

> What version of libogg/libvorbis/libvorbisfile do you have installed there?

libogg0      1.1.0-1     1.1.0-1     Ogg Bitstream Library
libvorbis0a  1.0.1-1     1.0.1-1     The Vorbis General Audio Compression C
libvorbisenc2 1.0.1-1     1.0.1-1     The Vorbis General Audio Compression C
libvorbisfile3 1.0.1-1     1.0.1-1     The Vorbis General Audio Compression C
Comment 3 Scott Wheeler 2004-06-27 19:05:28 UTC
Can you try to see if you get the same behavior with other tools (other than KDE) -- i.e. vorbiscomment?
Comment 4 Meghazi Fabien 2004-06-28 13:26:47 UTC
Ok, here's the result of the tests :

I tried 4 ways to edit the comment, here's the ogginfo output of the ogg file from wich i'll make all tests :

> ogginfo 01-01.ogg
Processing file "01-01.ogg"...

New logical stream (#1, serial: 21312c95): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20030909 (1.0.1)
Channels: 2
Rate: 44100

Nominal bitrate: 160.003000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
        ALBUM=Unknown Album
        ARTIST=Unknown Artist
        DESCRIPTION=
        GENRE=Unknown
        TITLE=01
        TRACKNUMBER=1
Vorbis stream 1:
        Total data length: 3106990 bytes
        Playback length: 3m:07.479s
        Average bitrate: 132.579048 kbps
Logical stream 1 ended


During tests, I'll try to set the artist name field with "Special chars, eg:é and à" as value.

************************************************************
1) WITH KDE META DATA TAB IN FILE MANAGER

> ogginfo 01-kde.ogg
Processing file "01-kde.ogg"...

New logical stream (#1, serial: 21312c95): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20030909 (1.0.1)
Channels: 2
Rate: 44100

Nominal bitrate: 160.003000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
        ALBUM=Unknown Album
        ARTIST=Special chars, eg:? and ?
        DESCRIPTION=
        GENRE=Unknown
        TITLE=01
        TRACKNUMBER=1
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Negative granulepos on vorbis stream outside of headers. This file was created by a buggy encoder
Vorbis stream 1:
        Total data length: 3107476 bytes
        Playback length: 3m:07.479s
        Average bitrate: 132.599787 kbps
Logical stream 1 ended


*************************************************************
2) VORBISCOMMENT (file edited with kwrite, also tried vim)

> vorbiscomment -l 01-01.ogg > tag.txt
> kwrite tag.txt
> vorbiscomment -w -c tag.txt 01-01.ogg 01-vorbiscomment.ogg
> ogginfo 01-vorbiscomment.ogg
Processing file "01-vorbiscomment.ogg"...

New logical stream (#1, serial: 21312c95): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20030909 (1.0.1)
Channels: 2
Rate: 44100

Nominal bitrate: 160.003000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
        ALBUM=Unknown Album
        ARTIST=Special chars, eg:# and #
        DESCRIPTION=
        GENRE=Unknown
        TITLE=01
        TRACKNUMBER=1
Vorbis stream 1:
        Total data length: 3106990 bytes
        Playback length: 3m:07.479s
        Average bitrate: 132.579048 kbps
Logical stream 1 ended

*************************************************************
3) XMMS

> ogginfo 01-xmms.ogg
Processing file "01-xmms.ogg"...

New logical stream (#1, serial: 21312c95): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20030909 (1.0.1)
Channels: 2
Rate: 44100

Nominal bitrate: 160.003000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
        album=Special chars, eg: and
        artist=Unknown Artist
        DESCRIPTION=
        genre=Unknown
        title=01
        tracknumber=1
Vorbis stream 1:
        Total data length: 3106990 bytes
        Playback length: 3m:07.479s
        Average bitrate: 132.579048 kbps
Logical stream 1 ended

*************************************************************
4) JUK (that uses TagLib)

> ogginfo 01-Juk.ogg
Processing file "01-Juk.ogg"...

New logical stream (#1, serial: 21312c95): type vorbis
Vorbis headers parsed for stream 1, information follows...
Version: 0
Vendor: Xiph.Org libVorbis I 20030909 (1.0.1)
Channels: 2
Rate: 44100

Nominal bitrate: 160.003000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
        ALBUM=Unknown Album
        ARTIST=Special chars, eg:? and ?
        DESCRIPTION=
        GENRE=Unknown
        TITLE=01
        TRACKNUMBER=1
Vorbis stream 1:
        Total data length: 3106990 bytes
        Playback length: 3m:07.479s
        Average bitrate: 132.579048 kbps
Logical stream 1 ended

*************************************************************

NOTE: Comment are readable on X apps only if I made them using Juk.
Comment 5 Martin Koller 2006-11-25 19:25:01 UTC
Can confirm with KDE-3.5.5 on Suse 9.3 with
libvorbis-1.1.0-4.1
vorbis-tools-1.0.1-89.1
libvorbis-devel-1.1.0-4
Comment 6 Justin Zobel 2021-03-09 23:43:23 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.