Poster | Thread |
amipal
| |
Re: MPlayer for OS4 - Dirty Preview Posted on 29-Jan-2005 12:26:47
| | [ #201 ] |
|
|
|
Super Member |
Joined: 8-Apr-2003 Posts: 1907
From: Saltdean, East Sussex, UK | | |
|
| @afxgroup
I don't think I've congratulated you on MPlayer yet - well done! It has to be one of the must-have additions of software for the AmigaOne. Keep up the good work! _________________ After a decade away from the scene, I am back! |
|
Status: Offline |
|
|
poweramiga2002
| |
Re: MPlayer for OS4 - Dirty Preview Posted on 29-Jan-2005 12:28:51
| | [ #202 ] |
|
|
|
Super Member |
Joined: 29-Jul-2003 Posts: 1389
From: Flinders NSW Australia | | |
|
| @amipal
just cant wait till the altivec enabled mplayer is ready then we will have to bow and thank him |
|
Status: Offline |
|
|
Deniil715
| |
Re: MPlayer for OS4 - Dirty Preview Posted on 29-Jan-2005 13:21:50
| | [ #203 ] |
|
|
|
Elite Member |
Joined: 14-May-2003 Posts: 4237
From: Sweden | | |
|
| @afxgroup
I'm using this code:
if(seg=(long)IDOS->LoadSeg(mpinc?"C:MPlayer":"PROGDIR:MPlayer")) { struct TagItem cnpTags[] = {NP_CommandName,(long)"MPlayer", NP_Arguments,(long)s, NP_Seglist,seg, NP_StackSize,200000, NP_CloseOutput,FALSE, NP_Cli,TRUE, outtocon?NP_Output:NIL,IDOS->Output(), NIL}; if(outtocon) printf(""); if(IDOS->CreateNewProc(cnpTags)) {
I'm not sure this works as it has just been ported from Amiga-E/68k to C/ppc and not tested yet. but I give MPlayer 200k stack. _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes) > Amiga Classic and OS4 developer for OnyxSoft. |
|
Status: Offline |
|
|
afxgroup
| |
Re: MPlayer for OS4 - Dirty Preview Posted on 29-Jan-2005 19:12:19
| | [ #204 ] |
|
|
|
Super Member |
Joined: 8-Mar-2004 Posts: 1968
From: Taranto, Italy | | |
|
| |
Status: Offline |
|
|
Deniil715
| |
Re: MPlayer for OS4 - Dirty Preview Posted on 29-Jan-2005 20:35:05
| | [ #205 ] |
|
|
|
Elite Member |
Joined: 14-May-2003 Posts: 4237
From: Sweden | | |
|
| @afxgroup
Why? Does it really need that much stack?? Can't you change the code to not use the stack so heavily as OS4 doesn't have automatic stack-enlargement yet? A requirement of 1-2MB stack feels ridicuolus.... _________________ - Don't get fooled by my avatar, I'm not like that (anymore, mostly... maybe only sometimes) > Amiga Classic and OS4 developer for OnyxSoft. |
|
Status: Offline |
|
|
MH2
| |
Re: MPlayer for OS4 - Dirty Preview Posted on 29-Jan-2005 23:03:38
| | [ #206 ] |
|
|
|
Member |
Joined: 14-Apr-2003 Posts: 63
From: Gällivare - Sweden | | |
|
| |
Status: Offline |
|
|
Thematic
| |
Re: MPlayer for OS4 - Dirty Preview Posted on 29-Jan-2005 23:09:25
| | [ #207 ] |
|
|
|
Super Member |
Joined: 28-Oct-2003 Posts: 1616
From: I'm actually flying into a bug! | | |
|
| Curious thing... Yesterday I figured how I get the AHI output out of mplayer nice and smooth. I load AMP2 OS4 with a mpeg system stream (with sound), but with a stream that makes AMP2 hang at the end of the file. Perhaps the file doesn't have the end marker in it, I don't know. It's odd, but having AMP2 hanging there like that, I can get proper sound out of mplayer, whether it is video&audio or mere audio; apparently AMP2 has at that point, freed its audio allocation. The plugin processes are still there though.
Actually I distinctly remember that I got it working at some point without running AMP2 in this manner, but that's still a mystery. _________________ : AmigaOneXE (unmod.) 750FX/512 MB +stuff & AmigaOS 4.(0|1) : A1200/68060&96MB/SCSI/EM1200-Voodoo3 & OS 3.5 : A500/1MB : Pegasos (ff) 512 MB & MorphOS Praise seitan. |
|
Status: Offline |
|
|
afxgroup
| |
Re: MPlayer for OS4 - Dirty Preview Posted on 30-Jan-2005 12:02:06
| | [ #208 ] |
|
|
|
Super Member |
Joined: 8-Mar-2004 Posts: 1968
From: Taranto, Italy | | |
|
| @Deniil715
mplayer use much memory, really much.. it is not a problem of AHI or CGX that are really simply and they don't use much memory, but the main program yes. However it is only a test.
You can do the stack value customizable by tooltype? _________________ http://www.amigasoft.net |
|
Status: Offline |
|
|