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

Bug#459292: editing OGG tags in the properties tab corrupts Vorbis files



Package: kdemultimedia-kfile-plugins
Version: 4:3.5.5-2

If I'm not mistaken, this package also provides a special tab in the 
properties dialog of Konqueror where you can see and edit the Vorbis metadata 
tags. However, after saving them, the Vorbis file is invalid. Just for the 
record (experience shows this can be important!) I'm on a big-endian machine.

#
# before:
#
> ogginfo 03.Anarchy_in_the_UK..bak.ogg 
Processing file "03.Anarchy_in_the_UK..bak.ogg"...

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

Nominal bitrate: 112.000000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
    ARTIST=Hula Punk - Dr. Lomi Lomi
    ALBUM=Hula Punk - Dr. Lomi Lomi
    TITLE=Anarchy in the UK
    TRACKNUMBER=03
    CDDB=94092e0c
Vorbis stream 1:
    Total data length: 3052330 bytes
    Playback length: 3m:20.039s
    Average bitrate: 122.068786 kb/s
Logical stream 1 ended

#
#after
#
> ogginfo 03.Anarchy_in_the_UK.ogg
Processing file "03.Anarchy_in_the_UK.ogg"...

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

Nominal bitrate: 112.000000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
    ALBUM=Dr. Lomi Lomi
    ARTIST=Hula Punk
    CDDB=94092e0c
    TITLE=Anarchy in the UK
    TRACKNUMBER=03
Negative granulepos on vorbis stream outside of headers. This file was created 
by a buggy encoder
[... line repeats ~200 times ...]
Vorbis stream 1:
    Total data length: 3058837 bytes
    Playback length: 3m:20.039s
    Average bitrate: 122.329014 kb/s
Logical stream 1 ended


Note: I'm not exactly sure how severe this bug is for two reasons:
1. The file can still be played. I can't say if its quality was affected 
though.
2. When using 'vorbiscomment -l' instead of 'ogginfo', it outputs the 
information without complaining, but that tool is also not targeted at the 
whole stream but only on the metadata tags.

Now I'm going to check how the plugin behaves when I have multiple ARTIST= 
tags, but that's for another report. ;)

cheers!

Uli



Reply to: