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

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Fri, 24 Oct 2014 17:12:35 -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
------------------------------------+----------------------------

Old description:

> I tried converting some MP4 videos to audio-only ogg vorbis or MPEG w/
> AC-3 (same as MP3?).  Every file I tried resulted in a small file (only a
> few kb) quickly created.
>
> Raw audio in a WAV container worked; however, despite "no video" in the
> video encoding section, the WAV files, when opened in MediaPlayer, show
> the original video somehow.  (I didn't even know WAV could do that.)
>
> The MP4s in question play fine in MediaPlayer, which also plays other
> OGGs just fine.
>
> hrev45413 gcc4hybrid.  AC '97 Audio, Dolby 5.1 (6-channel)

New description:

 I tried converting some MP4 videos to audio-only ogg vorbis or MPEG w/
 AC-3 (same as MP3?).  Every file I tried resulted in a small file (only a
 few kb) quickly created.

 Raw audio in a WAV container worked; however, despite "no video" in the
 video encoding section, the WAV files, when opened in MediaPlayer, show
 the original video somehow.  (I didn't even know WAV could do that.)

 The MP4s in question play fine in MediaPlayer, which also plays other OGGs
 just fine.

 hrev45413 gcc4hybrid.  AC '97 Audio, Dolby 5.1 (6-channel)

--

Comment (by pulkomandy):

 Hi,
 I noticed this issue and am currently preparing release 1.4.6 of
 haikuwebkit to fix it. I don't know if the build will be done before I
 leave for BeGeistert, however.

 There is a recipe for the latest version of ffmpeg which works with gcc4,
 but gcc2 will need to stay at 0.10 for now. I did more testing with 0.11
 and there are still problems with h263 and h264 decoding. I tried
 disabling various things (MMX, SSE, use of asm code, etc) but it still
 crashes. Later versions are even harder to get to compile with gcc2.

 There is no problem with updating the gcc4 version of ffmpeg, but the
 media add-on must be made to work with either version (or maybe we need an
 ffmpeg_legacy one for gcc2 and an ffmpeg one for gcc4). This allows the
 gcc4 world to move on but doesn't solve our issue with legacy apps.

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

Other related posts: