dir2ogg produces sped-up OGG output
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dir2ogg |
Fix Released
|
Low
|
Julian Andres Klode | ||
dir2ogg (Ubuntu) |
Fix Released
|
Undecided
|
Julian Andres Klode | ||
mpg123 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dir2ogg
gwern@craft:
Linux craft 2.6.27-3-generic #1 SMP Wed Sep 10 16:18:52 UTC 2008 x86_64 GNU/Linux
Description: Ubuntu intrepid (development branch)
Release: 8.10
dir2ogg:
Installed: 0.11.6-1
Candidate: 0.11.6-1
Version table:
*** 0.11.6-1 0
500 http://
100 /var/lib/
I have a particular MP3 file. It plays fine in MPlayer, so I believe it is not corrupt or anything. When I run dir2ogg on it, with or without --smart-mp3, it produces an OGG file which is roughly half the time long; that is, it is sped up approximately 2x (if I play the resulting OGG file and slow down to 0.51x, it sounds roughly right and seems to contain the full song).
This is a double bug; dir2ogg is producing incorrect output, I think, and it also isn't clearly warning about its failure. It both returns a 0 exitcode and produces no unusual warning output I haven't seen many times before. Here is an example conversion:
gwern@craft:
dir2ogg 0.11.6 (2008-07-14), converts audio files into ogg vorbis.
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
version 1.4.3; written and copyright by Michael Hipp and others
free software (LGPL/GPL) without any warranty but with best wishes
Playing MPEG stream 1 of 1: young_marble_
[wav.c:362] warning: Cannot rewind WAV file. File-format isn't fully conform now.
Title: Track 15
MPEG 2.0 layer III, 56 kbit/s, 22050 Hz joint-stereo
Opening with wav module: WAV file reader
Encoding standard input to
at quality 3.00
Encoding [ 0m02s so far] |
[1:43] Decoding of young_marble_
[wav.c:362] warning: Cannot rewind WAV file. File-format isn't fully conform now.
Encoding [ 0m02s so far] /
Done encoding file "young_
File length: 0m 51.0s
Elapsed time: 0m 02.2s
Rate: 23.7690
Average bitrate: 110.7 kb/s
/usr/lib/
to_int_be = staticmethod(lambda data: struct.pack('>i', data))
foo
The MP3 file is attached.
Changed in dir2ogg: | |
assignee: | nobody → juliank |
status: | New → Confirmed |
Thank you for reporting this bug. In order to solve your problems,
you need to use a different decoder for the file.
Use one of decoder= lame decoder= mplayer
--mp3-
--mp3-
to create a correct output file. (Use --help to see which decoders are available).
BTW, do you have any permission to distribute the MP3 file? If not, please remove it.