You can use Youtube's HTML5 player, but since there are still many videos not available as HTML5, you'd better rely on youtube.js / youtube_fullscreen_fix.js ( youtube_center userscript available at userscripts.org is also nice). All videos will play then. Just read the documentation at youtube section, it's explained in details.
Besides, the video playback is faster when using builtin HTML5 player rather than Youtube's HTML5 player (less rescaling and js involved).
About the HTML5 player implementation, it's not a separate executable. It's a player i wrote from scratch, embedded in Odyssey, relying on ffmpeg libraries to decode the video/audio files.
And anyway, the bottleneck is not the player itself, but the slowness of the cairo backend (displaying 25 frames per second using cairo image surface is rather suboptimal, which is why i implemented a direct overlay mode, which is unfortunately not available in the OS4 version yet, due to the limited p96pip API).
which is why i implemented a direct overlay mode, which is unfortunately not available in the OS4 version yet, due to the limited p96pip API).
There are no such limits in the PIP API, the reason it doesn't work is just the same as for all other non-working parts in the AmigaOS 4.1 builds (according to another thread for example loading the catalogs is still broken as well, although I told him at least twice how he has to do it): Roman refuses to port Odyssey to AmigaOS, simply builds your MorphOS sources with -D__MORPHOS__ -D__USE_UINLINE__ instead and of course your MorphOS code can't work on AmigaOS.
I agree with liveforit. The 2D compositing engine on RadeonHD cards is very powerful yet hugely under utilised. I hope that someone is looking into a way of getting more from it.
Roman refuses to port Odyssey to AmigaOS, simply builds your MorphOS sources with -D__MORPHOS__ -D__USE_UINLINE__ instead and of course your MorphOS code can't work on AmigaOS.
There not matter if i use __MORPHOS__ or __USE_INLINE__, as its about mediaplayer, which done for CGX5. Pure parts which not use CGX5 extensions of course works on aos4 as we have cgx emulation (and it of course was taking in account when we worry with it). But (and of course, and very expected), cgx5 code can't works on aos4, it is wellknown and i say it many times: need somehow who will write p96 replacement. But taking again in account how made a p96 overlay code be works not just in fullscreen, but attached buttons for mediaplayer control on it : that question to p96 proffesionals who should rewrite cgx5 version of mediplauyer to p96 , so i can just add it to odyssey port.
Maybe you ?
@ddni
To be clear : we need 2 different kind of code: one, if for p96 with overlay support (So older cards will have overlay), and another case its for radeonHD.
Who will write it ? Anyone who have time, interest, and will not fallback after few days of work feel free to write me mail
Is there any other way to display pip then as pip window?
Yes, but it's not required for full screen PIP (simply use a borderless PIP window).
Quote:
Is there any point in investing time on pip96 API, when the newer graphic cards do not have it.
Clearly the way forward should be Composition or some other type of 3D accelerated video output scaling.
Ideally it should support both methods, AFAIK at least in the public versions of the Radeon and Raqdeon HD drivers YUV compositing isn't supported yet, but the Radeon driver supports PIP, and there are old graphics cards like Voodoo and IIRC Permedia2 which support PIP but will never get compositing support.
Check morphos screenshots of overlay video in odyssey : it is possible to do same with p96 ? (i.e. still odyssey window, with attached buttons of mediaplayer right on the overlay window) ?
@all You know where source code it, feel free to start invistigate mediplayer parts (Can point out on exactly files).
Of course I could do it, but why should I work on software I'll never use myself? I don't even have MUI installed any more, I had to remove it because some beta versions of it required installing an incompatible bz2.library which broke more important software here.
For example using my p96 code from MPlayer should work.
Of course I could do it, but why should I work on software I'll never use myself? I don't even have MUI installed any more, I had to remove it because some beta versions of it required installing an incompatible bz2.library which broke more important software here.
Maybe BZ to MUI then ?
Quote:
For example using my p96 code from MPlayer should work.
Nope, its too simple , and its pure fullscreen without attaching of button on it. I.e. that about what Fab says when says p96 limitation api : you can't easy (as with cgx5), just have overlay window with all fancy gui button on it at the same time.
Of course I could do it, but why should I work on software I'll never use myself? I don't even have MUI installed any more, I had to remove it because some beta versions of it required installing an incompatible bz2.library which broke more important software here.
You can hex edit your important software and force it to open a library whit a different name XX2.library or some thing.
Then change the name of the bz2.library and recompile it, I gess you have access to the source code.
I was impressed that even embedded YouTube videos work - well done! Playback speed pretty good on X1000 as long as don't try to use 720p(!), although CPU is 100% on anything above 240p (so I guess it skips frames at 480p).
I found that spoofing as Firefox 25 works best (in general - maybe a few videos need IPad spoofing, but then you get a wierd UI & resolution).
The Youtube HTML5 *script* seemed to actually reduce compatibility for me (if anything). The Youtube EZ Downloader does allow downloading though (unlike Odyssey v1.16).