[FFmpeg-trac] #431(undetermined:open): When converting audio to an MP3 using CBR, result is reported VBR

FFmpeg trac at avcodec.org
Wed Sep 7 11:16:11 CEST 2011


#431: When converting audio to an MP3 using CBR, result is reported VBR
-------------------------------------+-------------------------------------
             Reporter:  schtorch     |                    Owner:  michael
                 Type:  defect       |                   Status:  open
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  CBR          |               Resolution:
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------

Comment (by schtorch):

 Uncommenting mp3_write_xing() seems to work, bit rate mode changes to
 constant.

 {{{
 mediainfo test_ffmpeg_cbr.mp3
 General
 Complete name                    : test_ffmpeg_cbr.mp3
 Format                           : MPEG Audio
 File size                        : 3.23 MiB
 Duration                         : 3mn 31s
 Overall bit rate                 : 128 Kbps
 Encoding settings                : Lavf53.11.0

 Audio
 Format                           : MPEG Audio
 Format version                   : Version 1
 Format profile                   : Layer 3
 Mode                             : Joint stereo
 Mode extension                   : MS Stereo
 Duration                         : 3mn 31s
 Bit rate mode                    : Constant
 Bit rate                         : 128 Kbps
 Channel(s)                       : 2 channels
 Sampling rate                    : 44.1 KHz
 Stream size                      : 3.23 MiB (100%)
 }}}


 {{{
 # ffmpeg -i test_orig.mp3 -ab 128k - >test_ffmpeg_cbr.mp3
 ...
 [NULL @ 0x632280] Unable to find a suitable output format for 'pipe:'
 pipe:: Invalid argument
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/431#comment:5>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list