[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    [haiku-bugs] Re: [Haiku] #18797: MediaPlayer - mp4 videos not playing
From:       "Haiku" <trac () haiku-os ! org>
Date:       2024-02-27 19:58:35
Message-ID: 056.4e6388d36c6f96c04870ddf25422df63 () haiku-os ! org
[Download RAW message or body]

--===============2187631865736893442==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

#18797: MediaPlayer - mp4 videos not playing
-----------------------------------+----------------------------
  Reporter:  vercu                 |      Owner:  pulkomandy
      Type:  bug                   |     Status:  assigned
  Priority:  normal                |  Milestone:  R1/beta5
 Component:  Audio & Video/Codecs  |    Version:  R1/Development
Resolution:                        |   Keywords:
Blocked By:                        |   Blocking:
  Platform:  All                   |
-----------------------------------+----------------------------
Comment (by pulkomandy):

 Thanks for checking.

 Some of these changes (to remove the setting of ticks_per_frame) maybe
 should not have been merged before the update to ffmpeg 6 (where this
 field is deprecated).

 The whole _ApplyEssentialVideoContainerPropertiesToContext function is a
 bit sketchy anyways, ideally we should finalize and merge a solution more
 like this one: https://review.haiku-os.org/c/haiku/+/666 where, instead of
 attempting to recreate a codec context ourselves, we just reuse the one
 that ffmpeg has created when parsing the file.

 Currently we are trying to separate ffmpeg into two independant things:
 parsing of the container and extraction of individual tracks, and then the
 decoding of each of those tracks. It isn't designed to work that way, and
 the information loss is the source of many problems. It is also what makes
 the encoding side of the media kit completely unusable with the ffmpeg
 plugin.

 However this change can't be merged as it is now, there are memory
 ownership problems. Help welcome if someone has more time to figure this
 out.
-- =

Ticket URL: <https://dev.haiku-os.org/ticket/18797#comment:12>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.
--===============2187631865736893442==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic