Beta05 working great on my X5000 apart from no sound. The soundcard I've got says Crystal on it and uses the cs4281.audio driver and works for playing music etc just not in Odyssey. Think I'll have to try another card if I can find one. Thanks kas1e and everybody involved.
@eroom There somethin wrong with AHI code in odyssey's mediaplayer, that for sure. For example, for my CMI8738 based card, i have sound, all fine, but once i move time slider, i loose sound. But on other cards other ppls didn't have that. So it can be of course driver issue, but still.
Also, you can't use with odyssey's mediplayer ahi code at the same time many audio apps by default, and to made it works , you need to do some special setting in prefs:ahi (choice "music unit", and for that one choice only Unit 0: 16 bit blblabl, but exactly on "music unit" tab).
By all of this i think it worth to wait when someone (is Capehill still have interst in ?:) ) will rewrite that AHI part to be the same as it in all other apps.
-- fixed memory leak in ac_free_video_decoder done by Piru on "acinerella" (FFmpeg wrapper simplifying work with FFmpeg: https://github.com/astoeckel/acinerella/) -- for time being use back static libavformat.a instead of shared version till proper changes will have a place (that to avoid crashes in ffurl*) -- debugging: added cross-platform D(bug("...")) define (see Base/debug.h), thus on OS4 always use DebugPrintF() instead of kprintf() and get rid of Clib2's libdebug.a -- get rid of libaos4deps.a, which contain sttcpy() and DoSuperNew() realisations, those functions now in separate object. -- updated youtube scripts to the latest ones from Fab's page. -- get rid of CyberGraphics everywhere in favor of graphics.library (c) Capehill -- added support of compositing video in fullscreen mode. You can have as many videos in different tabs as you wish in fullscreen, not just one as with overlay (be it P96 or CGX5). Also fixing some bugs in MediaPlayer while adding compositing video (c) Ami603 with help from Hans & Capehill.
By all of this i think it worth to wait when someone (is Capehill still have interst in ?:) ) will rewrite that AHI part to be the same as it in all other apps.
Yes, it just needs some free time. Juggling some other projects here.
It uses FFMPEG, which used via acinerella wrapper (to make usage of ffmpeg more easy). And all that is used by MediaPlayer coded to use morphos/amigaos/aros internals (AHI, MUI and stuff).
When MediaPlayer shown in the window together with other HTML element, it mean that whole blitting done by Cairo, and damn Cairo is not hardware accelerated on our part, and used software based image-surface (so all blitting done by CPU). And even if FFMPEG and our CPU decode frames of video faster much, still when we in usuall window mode with all other html elements, blitting done by slow Cairo and that slow things down.
With fullscreen we bypass Cairo blitting, and do blit directly to the mui window, by compositing video techneq (on morphos they use older overlay via CGX5 in the same part).
Maybe it possible to bypass Cairo when blitting video in the window together with other html elements, but that surely harder, and it unknown if it will works at all or will it give any benefits.
Maybe it possible to bypass Cairo when blitting video in the window together with other html elements, but that surely harder, and it unknown if it will works at all or will it give any benefits.
In theory, it would be faster. However, you'd have to separate anything that gets rendered over the top of the video from what's underneath, and render it over the top (CSS allows multiple layers). That would be challenging, and may end up being slower.
@sinisrus Looks from your video you didn't have working composited video. Or you use old radeons, or if you use HD ones, you have old version of drivers.
@eroom Quote:
No just Odyssey. If I run for example amigaamp while Odyssey is running a box opens up saying it cant open AHI device.
The only way to fix that currently, its go to prefs:ahi (or prefs:sound) , and there choice at top tab "music unit" , and in the list above choice unit 0 exactly, not one with name of card. Then you will be able to run odyssey's mediaplayer + other apps.