[FFmpeg-trac] #3851(avformat:open): Problem With Memory On Larger M4b to mp3 conversions

FFmpeg trac at avcodec.org
Thu Aug 14 02:15:44 CEST 2014

#3851: Problem With Memory On Larger M4b to mp3 conversions
             Reporter:  michael1t   |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  mp3         |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  1           |
Changes (by jamal):

 * status:  new => open
 * reproduced:  0 => 1
 * component:  undetermined => avformat
 * keywords:   => mp3
 * version:  unspecified => git-master
 * analyzed:  0 => 1


 With -vn you made ffmpeg skip the cover art from the source file.

 Currently, the mp3 muxer buffers every audio packet in memory until it
 receives the cover art if there's any, point when it dumps all the
 buffered audio to the file.
 In your sample the cover art must be at the very end, so ffmpeg ran out of
 memory before it got to it.

 For now yes, that's the best workaround.

Ticket URL: <https://trac.ffmpeg.org/ticket/3851#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list