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

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Tue, 21 Oct 2014 21:04:22 -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):

 Well, ffmpeg actually is built with support for this, so making it
 available through the media kit is not going to make the legal side any
 better or worse. It's just a matter of adding the format to the list
 (which is as easy as what I did for flac in http://cgit.haiku-
 os.org/haiku/commit/?id=hrev48039).

 An ffmpeg 2 based add-on for gcc4 versions is also possible. There is
 already a recipe for ffmpeg 2.x but I'm not sure if it compiles currently.
 But it should be possible to port the changes from our previous ffmpeg
 ports. Then, the media plugin on Haiku side would need to be modified to
 use the new APIs from ffmpeg 2.x (it would probably beecome an "ffmpeg2"
 plugin and live next to the existing one).

 Finally, another thing you can test:
 {{{
 pkgman install ffmpeg_x86
 ffmpeg-x86 -i 01breakin_benjamin__so_cold.mp3  -acodec vorbis
 01breakin_benjamin__so_cold.ogg
 }}}

 If that works, we will be sure our problem is compiling ffmpeg with gcc2.
 If the -x86 (gcc4) version of ffmpeg also crashes, the problem is
 elsewhere.

 If the problem is in ffmpeg, I'll see if I can get vorbis working using
 libvorbis, so we have at least one lossy encoder. And we can enable MP2 in
 ffmpeg too, if that one works.

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

Other related posts: