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

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Tue, 04 Nov 2014 15:59:12 -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 ttcoder):

 @pulkomandy: a data point that should be interesting for you.. I don't see
 the 6-seconds-before-the-end truncation in my code. When I record the HDA
 Line-Input for 10 seconds, the result file is 10 seconds long.

 That's true of Wav/Pcm, and Wav/FLAC which works since yesterday with some
 code I've added to convert samples from 32-bit to 16-bit.

 So the problem ''might'' reside in MediaConverter itself.. (or in the
 Media Kit, on the ''de''coding side, but after all those years I would
 have noticed ;-).. I guess you could do a bare-bones, mono-threaded 20
 lines conversion program, confirm it works correctly (no truncation), then
 compare its behavior with MediaConverter.

 So here's hoping that will save you a bit of hunting when back to this
 ticket (no sense of urgency here, dsuden is happy with FLAC!)

 (completely off-topic: just noticed the recent posts on www.freelists.org
 and here's a +1 for a separate R1 "legacy" branch, you guys fight the good
 fight mainly with the new/elegant code, life's too short for spending it
 100% on fighting legacy gcc's and legacy ffmpegs *g*) (not to mention it
 has an impact on third-party devs who spend an inordinate amount of time
 writing tickets instead of writing elegant/new code *g*)

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

Other related posts: