[libav-bugs] [Bug 557] New: Wrong bitrate written in files.

bugzilla at libav.org bugzilla at libav.org
Thu Sep 5 15:56:59 CEST 2013


https://bugzilla.libav.org/show_bug.cgi?id=557

           Summary: Wrong bitrate written in files.
           Product: Libav
           Version: 0.8
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: general
        AssignedTo: bugzilla at libav.org
        ReportedBy: tobias.bora at gmail.com


Hello,

I found an annoying bug in avconv which make it unusable for me. I use avconv
to transcode my music, but there is a problem : the bitrate number written in
the file is wrong...

Here is an exemple :
1) Take any music, for exemple like this :
wget http://storage-new.newjamendo.com/download/track/1053422/mp32/ -O
music.mp3
2) Transcode it (here from mp3 to libmp3, but it can be from any format to any
other format) :
avconv -i music.mp3 code.mp3
3) Look at informations given by file :
file code.mp3 
code.mp3: Audio file with ID3 version 2.4.0, contains: MPEG ADTS, layer III,
v1,  32 kbps, 44.1 kHz, Stereo
4) Look at informations given by avconv :
[...]
    encoder         : Lavf53.21.1
Duration: 00:05:05.13, start: 0.000000, bitrate: 192 kb/s
  Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 192 kb/s

As you can see that bitrates are differents in both descriptions. The problem
is that lots of programs (Amarok, Dolphin...) uses bitrate to get the music
duration, and if this information is false the duration is false too.

Why does the description displayed by file (which is used by others programs
too I think) is wrong ? Is it possible to solve it ?

Thank you.

-- 
Configure bugmail: https://bugzilla.libav.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the libav-bugs mailing list