That's done in AmigaStuff.c where all libraries are opened and closed, so its not a bug.
IMHO using IAHI = IExec->GetInterface(...) in ao_ahi_dev.c but IExec->DropInterface(IAHI) in some other source file instead is a bug.
In case AmigaStuff.c gets the IAHI interface as well it's definitely a bug: Obtained twice (in AmigaStuff.c and in ao_ahi_dev.c) but only released once (in AmigaStuff.c).
If it makes a difference I can move it, and call it by asm using macro, not function.
Since it's used for every 2 or 4 bytes of audio data it should make a difference for the AO speed if the audio data you get from FFmpeg is in little endian format and has to be converted. Simply move your functions from AmigaStuff.c to AmigaStuff.h as static inline uint32 SWAPLONG( uint32 i ) {...} and static inline uint16 SWAPWORD( uint16 i ) {...}.
Additionally your assembler code is quite bad, IIRC lwarx is extremely slow on some CPUs, but in any case your code requires writing the data from a register to memory and reading it back from memory into a register (even if it's in L1 cache most of the time it will get flushed to memory sometimes), the usual (((i & 0xFF000000) >> 24) | ((i & 0xFF0000) >> 8) | ((i & 0xFF00) << 8) | ((i & 0xFF) << 24)) can work directly on the data in registers instead and should be faster.
@LiveForIt 720HD videos are working very well on my X1000,playing is smooth Windowmode works gooooooood Maybe i will create a video of it and upload it to youtube Watch this space
Don't know who’s idea it was, in cgx_common.c there was some code for MorphOS, but it was incomplete. I guess FAB was going to do it, or it was removed at some point, don't know.
Quote:
Using "cgx_wpa" driver the title window is incorrect, it still say;
"MPlayer xxxxx for MorphOS"
I have not looked a lot that cgx_wpa, its kind of redundant, when you have vo_comp at least if you have composition.
Quote:
Maybe like the afxgroup release you can use the same title (+ the name of the file in playing) for all drivers
Maybe.
(NutsAboutAmiga)
Basilisk II for AmigaOS4 AmigaInputAnywhere Excalibur and other tools and apps.
Don't know who’s idea it was, in cgx_common.c there was some code for MorphOS, but it was incomplete.
Ah interesting, didn't know that
Quote:
I have not looked a lot that cgx_wpa, its kind of redundant, when you have vo_comp at least if you have composition
Well on my Sam440 this driver it's faster than compositing, so i use it as first alternative of p96
Quote:
Yes 2.1 OK, then its broken and need fixing. p96_pip has to be cleaned up anyway.
Yes not so important aniway, all can be solved later with a proper collaboration, pratically all things from all side are mostly done so just need to create a single version with the best feature of all the current 3 separated binaries
liveforit, I was excited today to download your latest version with ARexx support enabled. I tested it with VideoClipper, and it works great when controlled by that program. The composition mode allows me to play 720p videos on my X1000, and now with VideoClipper I can use your mplayer version to preview the clips before cutting. Appreciate the effort made in this project! I did notice that turning on the OSD gets me a play "triangle" but not a counter, which would be handy in making cut decisions when editing.
But.... I know this is a work in progress, so I'll be patient. :)
My playback results are same: I can play 1280x720 H264 files that are 24fps without problems. 30fps versions in H264 do not allow the audio and video to be in sync and audio finishes first.
If I transcode clips to MJPEG codec, I can play 30fps in sync at 720p without problem.