[haiku-inc] Media Kit Contract Hindsights

  • From: Dario Casalinuovo <b.vitruvio@xxxxxxxxx>
  • To: haiku-inc@xxxxxxxxxxxxx
  • Date: Tue, 5 Jul 2016 00:56:43 +0200

Hello,
I would like to restore the discussion about my contract with the hope I
can get some opinions and general directions. I'm going to do that by
quoting my original proposal, this include some hindsights as well. I have
still some time left and I would like to use it in the best possible way,
on the other hand I'd like to explore the possibility to continue working
in July/August.

* Implement Streaming Support for the media_kit (#10119)

I think here we are at a good point. The main problem I see is that
MediaPlayer support is not complete and generally buggy, I'm aware of a
regression that I plan to solve in the next days. The code doesn't look
like designed to handle special situations such as network streams. I'm in
a situation where I need some time to study the whole code and take the
right decisions.

* Introduce and finalize the new MediaPlayer plugin API

So continuing from the previous point, I think we should begin to
modularize the MediaPlayer framework. Some features such as playlists and
subtitles should be moved into plugins. I think of that as a step-by-step
process. What I would like to do is to try to set up a roadmap where we can
meet different goals and make way for future development. While MediaPlayer
is a very good app I don't think as things are now we will have a lot of
chances of seeing it include more modern features.

https://github.com/Barrett17/haiku/commits/mediaplayer_plugin_api

* Reduce code duplication in the media_kit and introduce the BMediaClient
API (ex BMediaFilter)

Since there's some interest around in funding some development about
UltraDV my idea is that I can merge the efforts. The API could be developed
together with the app. At the same time it will be of help if eventually we
can reduce code duplication in the MediaPlayer nodes framework.

https://github.com/Barrett17/haiku/commits/mediaclient_api

* Subtitles support

As I already pointed out in the dev ml, I have some design plans about how
we can do that. Support in media_kit is a different matter than including
it in MediaPlayer.

So the general idea about two interchangeable roadmaps is as follow :

* Work on subititles support in media_kit
* Work on the plugin API
* Modularize MediaPlayer
* Implement plugins for the various features (playlist, subtitles, idv3,
m3u etc.)

Second roadmap

* Continue my renovation work on UltraDV
* Finish BMediaClient development
* Make UltraDV be the first example of an app using it

--
Best Regards,
Dario

Other related posts: