[FFmpeg-trac] #1027(avformat:new): MP3 muxer should support writing Xing header for all MP3 sample rates.

FFmpeg trac at avcodec.org
Fri May 18 13:14:50 CEST 2012


#1027: MP3 muxer should support writing Xing header for all MP3 sample rates.
-------------------------------------+------------------------------------
             Reporter:  bat_guano    |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  minor        |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  libmp3       |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by bat_guano):

 Replying to [comment:4 cehoyos]:
 > Is this still reproducible?


 Hi
 No, it's not reproducible now.
 The "Unsupported sample rate" error message has gone. ;-)

 Looks like it has been fixed in git.
 Somewhere between
 ffmpeg version N-39759-ge9dc616 built on Apr 13
 and
 ffmpeg version git-2012-05-16-e556121 built on May 16

 @xubuntu:~/Desktop$ ffmpeg -i foo.flac -c:a libmp3lame -b:a 16k -ar 22050
 -ac 1 foo.mp3
 ffmpeg version git-2012-05-16-e556121 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May 16 2012 17:05:11 with gcc 4.6.3
   configuration: --enable-gpl --enable-libfaac --enable-libmp3lame
 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree
 --enable-version3 --enable-x11grab
   libavutil      51. 53.100 / 51. 53.100
   libavcodec     54. 21.101 / 54. 21.101
   libavformat    54.  5.100 / 54.  5.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 74.100 /  2. 74.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 11.100 /  0. 11.100
   libpostproc    52.  0.100 / 52.  0.100
 [flac @ 0xa81e3e0] max_analyze_duration 5000000 reached at 5015510
 Input #0, flac, from 'foo.flac':
   Metadata:
     ENCODER         : Lavf54.3.100
   Duration: 00:01:58.89, bitrate: 927 kb/s
     Stream #0:0: Audio: flac, 44100 Hz, stereo, s16
 [libmp3lame @ 0xa859200] channel_layout not specified
 Guessed Channel Layout for Output Stream #0.0 : mono
 Output #0, mp3, to 'foo.mp3':
   Metadata:
     TSSE            : Lavf54.5.100
     Stream #0:0: Audio: mp3, 22050 Hz, mono, s16, 16 kb/s
 Stream mapping:
   Stream #0:0 -> #0:0 (flac -> libmp3lame)
 Press [q] to stop, [?] for help
 size=     233kB time=00:01:58.91 bitrate=  16.0kbits/s
 video:0kB audio:232kB global headers:0kB muxing overhead 0.068930%

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


More information about the FFmpeg-trac mailing list