[haiku-bugs] [Haiku] #15220: MediaPlayer crashes at opening mp3 with cover art

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Thu, 01 Aug 2019 21:37:09 -0000

#15220: MediaPlayer crashes at opening mp3 with cover art
--------------------------------------+------------------------------
 Reporter:  miqlas                    |        Owner:  stippi
     Type:  bug                       |       Status:  new
 Priority:  normal                    |    Milestone:  Unscheduled
Component:  Applications/MediaPlayer  |      Version:  R1/Development
 Keywords:                            |   Blocked By:
 Blocking:                            |  Has a Patch:  0
 Platform:  All                       |
--------------------------------------+------------------------------
 No other ffmpeg based media player crashes with the same file, not even
 ffplay, so this is a bug in MediaPlayer.

 Probably happens since the switch from ffmpeg 0.1x. Unlike ffmpeg 0.1, the
 current ffmpeg 4.x provides the cover art as video stream, but MediaPlayer
 can't handle it well, and mostly just crashes. After stripping the cover
 art like
 ```ffmpeg -i tagged.mp3 -vn -codec:a copy -map_metadata -1 out.mp3```
 no crash happens, so it is definetely the cover art what triggers the bug.

 I will attach a debug report about a crash happens reproduceably, 100%. If
 needed i can provide the file too.

 ffmpeg devs said the bug could be somewhere in
 _HandleNewVideoFrameAndUpdateSystemState

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15220>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: