Public bug reported:

Binary package hint: vorbis-tools

Ubuntu 8.04
vorbis-tools 1.1.1-15ubuntu0.1

Using "--resample <freq>" with FLAC input file, a segmentation fault
appears:

[EMAIL PROTECTED]:~/Music$ oggenc --resample 32000 -o test_o.ogg test.flac
Opening with flac module: FLAC file reader
Resampling input from 44100 Hz to 32000 Hz
Encoding "test.flac" to 
         "test_o.ogg" 
at quality 3,00
        [ 99,6%] [ 0m00s remaining] \ 

Done encoding file "test_o.ogg"

        File length:  4m 35,0s
        Elapsed time: 0m 15,8s
        Rate:         17,4904
        Average bitrate: 102,8 kb/s

Falha de segmentação
-------------------------
"Falha de segmentação" is segmentation fault in portuguese ;)

Running ogginfo on the encoded file I get this:

[EMAIL PROTECTED]:~/Music$ ogginfo test_o.ogg 
Processing file "test_o.ogg"...

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

Nominal bitrate: 112,000000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
        ARTIST=Blondie
        TITLE=Heart Of Glass
        ALBUM=The Best Of Blondie
        DATE=1981
        TRACKNUMBER=01
        GENRE=Pop
        COMMENT=Track 1
Warning: EOS not set on stream 1
Vorbis stream 1:
        Total data length: 3539669 bytes
        Playback length: 4m:35.373s
        Average bitrate: 102,832337 kb/s
-------------------------
This "Warning: EOS not set on stream 1" does not appear when I encode same file 
without "--resample" option:

[EMAIL PROTECTED]:~/Music$ ogginfo test_o3.ogg 
Processing file "test_o3.ogg"...

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

Nominal bitrate: 112,000000 kb/s
Upper bitrate not set
Lower bitrate not set
User comments section follows...
        ARTIST=Blondie
        TITLE=Heart Of Glass
        ALBUM=The Best Of Blondie
        DATE=1981
        TRACKNUMBER=01
        GENRE=Pop
        COMMENT=Track 1
Vorbis stream 1:
        Total data length: 3807459 bytes
        Playback length: 4m:35.733s
        Average bitrate: 110,467863 kb/s
Logical stream 1 ended
-------------------------

I think the bitstream of output file with "--resample" is messed up by
oggenc when input is FLAC. If input is WAV, everything runs ok.

** Affects: vorbis-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
--resample causes segmentation fault with flac input
https://bugs.launchpad.net/bugs/241943
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to