Click Here
home features news forums classifieds faqs links search
6071 members 
Amiga Q&A /  Free for All /  Emulation /  Gaming / (Latest Posts)
Login

Nickname

Password

Lost Password?

Don't have an account yet?
Register now!

Support Amigaworld.net
Your support is needed and is appreciated as Amigaworld.net is primarily dependent upon the support of its users.
Donate

Menu
Main sections
» Home
» Features
» News
» Forums
» Classifieds
» Links
» Downloads
Extras
» OS4 Zone
» IRC Network
» AmigaWorld Radio
» Newsfeed
» Top Members
» Amiga Dealers
Information
» About Us
» FAQs
» Advertise
» Polls
» Terms of Service
» Search

IRC Channel
Server: irc.amigaworld.net
Ports: 1024,5555, 6665-6669
SSL port: 6697
Channel: #Amigaworld
Channel Policy and Guidelines

Who's Online
0 crawler(s) on-line.
 44 guest(s) on-line.
 0 member(s) on-line.



You are an anonymous user.
Register Now!
 Hypex:  22 mins ago
 DiscreetFX:  27 mins ago
 matthey:  1 hr 47 mins ago
 MagicSN:  2 hrs 2 mins ago
 agami:  2 hrs 36 mins ago
 AmigaMac:  4 hrs 13 mins ago
 minator:  4 hrs 33 mins ago
 davidf215:  4 hrs 56 mins ago
 Karlos:  5 hrs 32 mins ago
 zipper:  7 hrs 31 mins ago

/  Forum Index
   /  Amiga OS4 Software
      /  mui-mplayer on amigaos4 thread / progress
Register To Post

Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 Next Page )
PosterThread
Kicko 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 10:11:19
#141 ]
Elite Member
Joined: 19-Jun-2004
Posts: 5009
From: Sweden

When talking about diagonal lines. Im no tech guy but i use the afxgroup version from dopus.
If i use these lines then i get diagonal lines on some youtube clips.

MPlayer *>NIL: -mc 0 -framedrop {f}

If i use this line i dont get the diagonal lines

MPlayer *>NIL: -mc 0 -framedrop -vo sdl {f}

If its of some help

 Status: Offline
Profile     Report this post  
Thematic 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 10:24:41
#142 ]
Super Member
Joined: 28-Oct-2003
Posts: 1616
From: I'm actually flying into a bug!

@Kicko

That just means you have overlay working, and mplayer by default uses it. Video output sdl does not use it, and will be a lot slower. Unless the video is of a tiny resolution, so that it doesn't really matter.

_________________
: 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
Profile     Report this post  
kas1e 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 10:30:27
#143 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3550
From: Russia

@Kicko

Its because in second case you use sdl_driver as output for video (which do autoalignment by itself). I.e. when you do "-vo ....." it mean that you choice some driver.For example for overlay driver i use now: mplayer -vo p96_pip.

In the first case you use default driver of old mplayer, which are also p96_overlay, without fixed alignment. We loose with deniill one evening to try to fix autoalignment in the p96 driver , without too much luck (by some reassons p96 driver a bit messy:( ) so we choice to use hardcore fix from Varhall, which for end-users mean nothing, as it will just works as should, and maybe later we will fix it in the driver itself.

Now just need to make mplayer works with gui (overlay driver i mean), and make p96_pip driver as default ,and if it not present , switch back to the cgx_wpa , and then release.

Last edited by kas1e on 29-Oct-2011 at 10:30 AM.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 11:11:40
#144 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12851
From: Norway

@kas1e

As I explained many times before, the alignment bug in p96_pip comes from using the width of pixel to calculate the byte width this is wrong, there is accurately possible to read out number of bytes per row from picasso96.

Last edited by NutsAboutAmiga on 29-Oct-2011 at 11:32 AM.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
kas1e 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 11:19:24
#145 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3550
From: Russia

@NutsAboutAmiga

What about fixing the p96_pip.c driver in the mplayer then ? Source are here.

Let me know when you will finish it, i will just include it to mplayer.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 11:42:42
#146 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12851
From: Norway

@kas1e

The code is changed a lot it will take some time to look it over.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 11:46:49
#147 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12851
From: Norway

@kas1e

what???

static int draw_slice(uint8_t *image[], int stride[], int w,int h,int x,int y)
{
// to be implemented - find non-PIP equivalent of p96PIP_GetTags()
return -1;
}

your are redoing it?

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
kas1e 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 11:47:42
#148 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3550
From: Russia

@NutsAboutAmiga

There is version which we strip to make it works (all unsed gadget removed and stuff). That one will be better for understanding. Prepare that thre is a lot of code which just make no sense.

Quote:

your are redoing it?


No, its from mplayer-google-page as you can see.

ops. i notice that i point you on wrong file (vo_p96.c), what is plain p96 impelmetation on which Varthall works for now, our one are vo_p96pip.c . Anyway, just grab version which i upload

Last edited by kas1e on 29-Oct-2011 at 11:50 AM.
Last edited by kas1e on 29-Oct-2011 at 11:48 AM.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
SOFISTISOFTWARE 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 11:51:25
#149 ]
Regular Member
Joined: 25-Dec-2003
Posts: 458
From: Latina, Italy

@kas1e

Did you read what i wrote before about overlay/compositing ?

_________________
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 11:57:54
#150 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12851
From: Norway

@kas1e

line 1965

change from:

srcdata = (ULONG *) ((uint32)ri.Memory + ( ( (y * image_width) + x) * 2));

change to:

srcdata = (ULONG *) ((uint32)ri.Memory + ( ( (y * image_byte_width) + x) * 2));

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
kas1e 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 11:58:58
#151 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3550
From: Russia

@SOFISTISOFTWARE

Yes, but for now all what i want its to fix overlay alignment, fix to make it works with gui, make proper release without crashes on exit, and then will take a break. Sources will be uploaded of course, anyone can add it.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
Fab 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 12:03:32
#152 ]
Super Member
Joined: 17-Mar-2004
Posts: 1178
From: Unknown

@SOFISTISOFTWARE

MorphOS overlay supports YUV420 and triple buffering overlay since years, and apparently this p96pip driver now also does as well, reusing the original cgx blitting code.
So there's not anything more to do there.

Last edited by Fab on 29-Oct-2011 at 12:04 PM.

 Status: Offline
Profile     Report this post  
kas1e 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 12:04:38
#153 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3550
From: Russia

@NutsAboutAmiga

Quote:


change to:

srcdata = (ULONG *) ((uint32)ri.Memory + ( ( (y * image_byte_width) + x) * 2));



error: image_byte_width undeclared.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 12:04:52
#154 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12851
From: Norway

@kas1e

put this on line 1666

int image_byte_width;

put this on line 1673.

image_byte_width = p96GetBitMapAttr( bm ,P96BMA_BYTESPERROW);

Last edited by NutsAboutAmiga on 29-Oct-2011 at 12:11 PM.
Last edited by NutsAboutAmiga on 29-Oct-2011 at 12:09 PM.
Last edited by NutsAboutAmiga on 29-Oct-2011 at 12:05 PM.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
SOFISTISOFTWARE 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 12:05:02
#155 ]
Regular Member
Joined: 25-Dec-2003
Posts: 458
From: Latina, Italy

@kas1e

ok i understood, but that thing seems very intersting, isn't it? With you current release i've problem with some avi files with audio speed and if you close some videos and try to open somenthing else mplayer doesn't respond, please check, my system is a Sam460 up3

_________________
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]

 Status: Offline
Profile     Report this post  
kas1e 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 12:11:41
#156 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3550
From: Russia

@SOFISTISOFTWARE
Quote:

ok i understood, but that thing seems very intersting, isn't it? With you current release i've problem with some avi files with audio speed and if you close some videos and try to open somenthing else mplayer doesn't respond, please check, my system is a Sam460 up3


Wait next release, hope all will be well.

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
kas1e 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 12:15:28
#157 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3550
From: Russia

@NutsAboutAmiga

For p96GetBitMapAttr say no declared, for P96GetBitMapAttr says on compiling stage about "implict declaration" (while i include proto/Picasso96API.h) and on linking stage undefined reference to "P96GetBitMapAttr"

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 12:18:41
#158 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12851
From: Norway

@kas1e

OK, I see what I can find in some other src code.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
kas1e 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 12:20:29
#159 ]
Elite Member
Joined: 11-Jan-2004
Posts: 3550
From: Russia

@NutsAboutAmiga

Found it in the libraryes/picasso96.h . so for now have:

inlclude proto/picasso96api.h
include libraries/picasso96.h

compiles fine, linking fine, time to test

_________________
Join us to improve dopus5!
zerohero's mirror of os4/os3 crosscompiler suites

 Status: Offline
Profile     Report this post  
NutsAboutAmiga 
Re: mui-mplayer on amigaos4 thread / progress
Posted on 29-Oct-2011 12:23:57
#160 ]
Elite Member
Joined: 9-Jun-2004
Posts: 12851
From: Norway

x

Last edited by NutsAboutAmiga on 29-Oct-2011 at 12:24 PM.

_________________
http://lifeofliveforit.blogspot.no/
Facebook::LiveForIt Software for AmigaOS

 Status: Offline
Profile     Report this post  
Goto page ( Previous Page 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 Next Page )

[ home ][ about us ][ privacy ] [ forums ][ classifieds ] [ links ][ news archive ] [ link to us ][ user account ]
Copyright (C) 2000 - 2019 Amigaworld.net.
Amigaworld.net was originally founded by David Doyle