[haiku-bugs] Re: [Haiku] #12720: Garbled audio due to incorrect parameters on some codecs

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Mon, 18 Jul 2016 05:16:30 -0000

#12720: Garbled audio due to incorrect parameters on some codecs
-----------------------------+----------------------------
   Reporter:  anevilyak      |      Owner:  pulkomandy
       Type:  bug            |     Status:  assigned
   Priority:  normal         |  Milestone:  Unscheduled
  Component:  Add-Ons/Media  |    Version:  R1/Development
 Resolution:                 |   Keywords:  ffmpeg
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------

Comment (by pulkomandy):

 I would still use {{{av_sample_fmt_is_planar}}} to detect planar formats,
 instead of trying to guess from the input/output sizes.

 Also, the libswr is able to do other conversions (float<>int or whatever),
 which may be required by some codecs where only float output is supported.

 So, this needs careful testing with a lot of audio/video files (for
 example there are a lot at http://samples.ffmpeg.org), to make sure we
 don't need something else.

 It's a bit sad that we can't get libswr working and we have to rewrite it,
 however :/

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

Other related posts: