Saturday, April 12, 2014

AmigaONE-X1000 HDReady...

AmigaONE-X1000 HDReady...

I have been thinking about writing some thing about the fastest Mplayer from me, and about latest utf8.library, I guess I should say something.

Your AmigaONE-X1000 is now HDReady, you can now play 720p video whit out problem, thanks to a changes in vo_cgx_wpa driver, and the new vo_comp, the problem whit old vo_cgx_wpa driver is that it uses RGB, and not ARGB, the Radeon HD cards needs ARGB, so the result was that graphic needed to be converted before being sent over.

The second problem was that it was using software scaling, this slow and CPU intensive, by using hardware acceleration to do the scaling we can scale windows to full screen and back, whit using all the CPU power.

And I wanted to compile a fully AltiVec enabled version of MPlayer. The vo_cgx_wpa and vo_comp is also useful for Sam460 users, it does help to reduce CPU load. How it all came about:

Back story:

well it started because I realized Ka1e needed help, whit MUI-MPlayer, he was begging Hans to emulate overlay, Hans did not want to spend time on obsolete technology. Nor did he have time for that, so this is way I did take on this challenge.

History for Mplayer for AmigaOS4.

The MPlayer project for AmigaOS4 started whit me I think, at least for AmigaOS4, the MorphOS version already existed before I tried to compile it. more importantly my attempt showed it was possible to compile it.

Click this link to read how it all started

I did not manage to compile it because some fork() stuff, but Andrea Palmate'(‎'afxgroup'), did and so it became his project, Varthall and Abalabanb started a project a project on code.google.com.

Now I'm going to tell you some thing not every one knows, or at least where few. After Andrea Palmate successful ported MPlayer to AmigaOS4, I requested the source code from him, and worked on a plugin for IBrowse 2.4, but due to complications and way I decided to do it failed, this project ended in yuv420 to ARGB routine and some stuff, that project is dead now.

http://www.amigasoft.net/pages/mplayer/mplayer.asp

While I never got MPlayer IB2.4 plugin to work as good as I hoped for the work on IB2.4 plugin did end up in plugin for Audio, this probably the route I take if where to redo it.

http://www.os4depot.net/index.php?function=showfile&file=network/browser/np_audio.lha

So I'm well familiar with MPlayer well before I started on this projected. While I was not one to implement MPlayer I was the one who initiated it on AmigaOS4, so it bit funny to see whit project coming back to me, or at least partly.

Today this is no longer needed for a IBrowse plugin whit HTML5 the web browser does no longer need a plugin to play videos, thanks to the Excellent work of Fab and Ka1e.

What is future for me and Mplayer, I have not yet decided, I have some ideas, more likely its going to be fix up mplayer-amigaos at code.google.com at least. Now that Me and Ka1e has joined the code.google.com mplayer-amigaos effort, I like to see is FAB and Andrea Palmate joining the mplayer-amigaos code.google.com effort, so this becomes team work, so whit don't end up whit different MPlayer whit bug that's already fixed in different MPlayers and so. Even if all mplayer can be based on common code base, it might be possible to have unique versions of MPlayer I believe.

https://code.google.com/p/mplayer-amigaos

Its always good to experiment.

While things does not always work out some time you learn something that can be of use latter, this is a example of this at lest for me. I can also take the Basilisk II as an Example, Basilisk was first please I used Composition for scaling window content, part of that code made into Mplayer vo_comp. I have also been using Composition in Excalibur, to do alpha blending also.

No comments:

Post a Comment