[FFmpeg-trac] #8947(undetermined:closed): Converting mp3 with cover art into mp4 with cover art as video fails

FFmpeg trac at avcodec.org
Wed Apr 21 03:00:31 EEST 2021


#8947: Converting mp3 with cover art into mp4 with cover art as video fails
-------------------------------------+-------------------------------------
             Reporter:  naktinis     |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  unspecified  |               Resolution:  invalid
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by mkver):

 * status:  new => closed
 * resolution:   => invalid

Comment:

 The reason for the behaviour you are observing is that the video stream's
 disposition is "attached pic" when demuxing from the mp3, but not when you
 are demuxing it from jpeg (the disposition gets lost when muxing into
 jpeg). When muxing a stream with disposition "attached pic" into mp4, only
 a few image codecs are allowed (by our muxer, wouldn't be surprised if the
 format allowed more), H.264 is not among them, leading to the error
 message.
 You can unset the disposition by adding "-disposition:v -attached_pic" to
 your commandline.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/8947#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list