[haiku-bugs] Re: [Haiku] #9616: MediaConverter doesn't convert to OGG or MP3 and converts to WAV with video

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Thu, 23 Oct 2014 19:17:28 -0000

#9616: MediaConverter doesn't convert to OGG or MP3 and converts to WAV with 
video
------------------------------------+----------------------------
   Reporter:  Kev                   |      Owner:  nobody
       Type:  enhancement           |     Status:  new
   Priority:  normal                |  Milestone:  R1/alpha5
  Component:  Audio & Video/Codecs  |    Version:  R1/Development
 Resolution:                        |   Keywords:
 Blocked By:                        |   Blocking:  10722
Has a Patch:  0                     |   Platform:  All
------------------------------------+----------------------------

Comment (by pulkomandy):

 So, I got ffmpeg 0.11.5 to compile and run after a number of hacks. There
 are some good news: it seems it doesn't break video and audio decoding. So
 we could actually update to it (#8856 somehow isn't a problem anymore).
 But there are also some bad news: the vorbis encoding still fails.

 However, the error is more obvious this time. What happens is the
 libvorbis encoder in ffmpeg only can accept floating-point format as an
 input. I guess most ffmpeg encoders are designed the same. But our media
 plug-in doesn't propagate this information, and MediaConvert tries to feed
 integers to the encoder instead. ffmpeg added an explicit check for this
 in version 0.11, so they error cleanly, but the error isn't handled
 properly by our plugin and in the end MediaConvert crashes.

--
Ticket URL: <https://dev.haiku-os.org/ticket/9616#comment:21>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: