To avoid spam thread where liveforit workign on compositing driver, want to bring it all in another topic.
So, today added new video output to muimplayer: sdl one. It slower than cgx_wpa one, but, at least window can be resized which is good for non-overlay systems (on some video i try, sdl output load by cpu on 55%, while cgx_wpa output load it on 45%).
Now, as i remember many pplz have problems with "it didn't fallback to any other output if overlay didn't found".
There is version for test (generic one, non altivec one, so do not compaer altivec speed and generic one) , where sdl output present (you can either use -vo sdl if run from shell, or if in gui , then choice sdl video output in preferences).
@Thematic How to reproduce ? have crashlogs ? is version from os4depot reacts the same on same video or only new one ? steps to reproduce will help a lot.
@samo pure p96 driver seems not implemented fully and looks like copy paste of overlay driver with just removed functions => no p96 driver for any versions
Ok, found a new problem aniway Using p96_pip all video will crash when you try to go back/forward (using the left/right arrows) in a video
Here the log:
Quote:
Crash log for task "mplayer" Generated by GrimReaper 53.16 Crash occured in module mplayer at address 0x6AEB2638 Type of crash: DSI (Data Storage Interrupt) exception
It also seems to crash differently (this time in appdir) if you open a video from the download window of SMTube and you press the left arrow to go back in the video progressing
Don't remember if same problem happen before, now i will retry with cgx_wpa ..
On a NON-Overlay system (x1000-HD6670) just starting MPlayer from CLI to read a movie failed. What are the arguments that you want to test ?
14/0.Work:mplayer_beta_DU140403> Work:mplayer_beta_DU140403/mplayer Medias:Videos/LeGrandSoir.avi
MPlayer UNKNOWN-4.4.3 (C) 2000-2010 MPlayer Team
160 audio & 349 video codecs
Playing Medias:Videos/LeGrandSoir.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 640x272 24bpp 24.000 fps 874.9 kbps (106.8 kbyte/s)
Clip info:
Title: LeGrandSoir
Software: Lavf52.33.0
VO: [p96_pip]
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16be, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AHI: Using 0x30002 AudioID.
AHI: Using 46080 bytes per chunk and 1440 Kb for buffer
AO: [ahi] 48000Hz 2ch s16be (2 bytes per sample)
Starting playback...
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO: [p96_pip] 640x272 => 640x272 Planar YV12
Unable to open a window
FATAL: Cannot initialize video driver.
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO: [p96_pip] 640x272 => 640x272 Planar YV12
Unable to open a window
FATAL: Cannot initialize video driver.
Exiting... (Fatal error)
EDIT : tried
-vo sdl => opens on my second GFX card (R9250) and is very slow
-vo cgx_wpa => opens on my normal Workbench (HD6670) but is not resizable and crash when I hit a key at the same offsets than Samir section 5 @ 0x41614)
Problem with keymap happens for you before because you didn't use -lauto (i use it before, so have no needs to open it manually). Now i just get rid of it to avoid conflicts with libsdl.a, and yep forget to open it now manually as well as few other libs/ifaces: now done.
@Mick Now with SDL output "C" works fine for me as well, i can switch between resolutions and no crashes.
@zzdh10 In other words:
1). Need to detect if overlay is present (morphos code there will not works, as it do that check on cgxvideo.library) 2). By some reasons when you have 2 cards, it opens not on default one ?
Anyway as i note, SDL output do open video on fullscreen by default, which imho suck, and better make window be by default (so it will opens on workbench).
As for seed of sdl otuput on your radeon9250 on x1000, i assume because of all that 33mhz problems. One tester say that for him, in my build SDL output faster on his sam + some redeonHD in compare with pure cgx_wpa. I dunno how it possible, only maybe SDL do use something which speeduped on radeonhd (that can explain why you found sdl output of afxgroup's version builede by Mick be faster on your radeonhd too).
@All New version with fixed keymap things (so buttons works):
i'm not a programmer but i think because sdl version could use WritePixelArray()/BlitBitMap() functions more than the others and in Sam machines they're very well optimized using DMA intensively and the result is less cpu usage and faster video play
you wrote:
One tester say that for him, in my build SDL output faster on his sam + some redeonHD in compare with pure cgx_wpa. I dunno how it possible, only maybe SDL do use something which speeduped on radeonhd (that can explain why you found sdl output of afxgroup's version builede by Mick be faster on your radeonhd too).
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE A4000 PPC604@233, Mediator A1200 PPC603@160, Mediator uA1 G3@800, 512 Mb [sold]
The previous beta opened its window (screen or no screen) and played any video for a short time before crashing. But the beta3? (18748139 byte size) works no worse than the release version.
Yep, mick's version works in window in sdl output by default.
Yes the SDL version by Mick will be opened in window mode by default, it seems also the better one (in his SDL form i mean)
Would be cool if it could be possible to "merge" his SDL driver into our MUI/Reaction versions
Tested beta 3 and the arrows key is now ok, however it still crash when you try to start a video directly from SMTube, the crash is reproducible with any availible drivers (pip96_pip, cgx_wpa and also in SDL)
Here the crash:
Quote:
Crash log for task "APPDIR:MPlayer" Generated by GrimReaper 53.16 Crash occured in module MPlayer at address 0x6AECCA10 Type of crash: DSI (Data Storage Interrupt) exception