Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
100 user(s) are online (48 user(s) are browsing Forums)

Members: 0
Guests: 100

more...

Headlines

 
  Register To Post  

« 1 ... 4 5 6 (7) 8 9 10 ... 30 »
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Just popping in
Just popping in


See User information
@samo79

yes Samo you're right, if we could have a general version LiveForIt will get more testers, i think we will not get a lot of speed improvement from composition version but better than nothing... and however we can resize the video and lose only few details, sdl mode will be slower than composition specially when you try to enlarge the window... i noted on my Sam that use of DMA improve a lot graphics performance and responsiveness

@Liveforit

do not misunderstand, we radeonHD users want composition mode, i'm looking forward to try it, thanks for your work


Edited by sofistisoftware on 2014/4/8 10:23:57
Sam 460EX, 2Gb Ram, Radeon R7 250, AmigaOS4.1 FE
A4000 PPC604@233, Mediator
A1200 PPC603@160, Mediator
uA1 G3@800, 512 Mb [sold]
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Quite a regular
Quite a regular


See User information
I have tested a little bit.
Compositing is the fastest here .
Videos until 1280x640 are working well and smooth
Videos from 1280x720 or higher begins to stutter and video/soundouput are not 100 percent synchron.

Amiga600/Vampire2/PrismaMegaMix​/32GB CF Card/2x Rys Mk2/A604n/IndivisionECS/Gotek
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Not too shy to talk
Not too shy to talk


See User information
@tommysammy
Use skiploop filter in the last MPlayer-GUI or "-lavdopts fast:skiploopfilter=all" and synchronization will be good.

Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
Hemmm.... think I fixed the last bug..

It's just aspect ratio and stuff like that is missing in full screen and its all done

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Just can't stay away
Just can't stay away


See User information
@LiveForIt

Quote:
@K-L

Yes I have noticed I'm investigating, hemm did not know it was general problem, what are you doing when its crashing, is this when you go full screen or some thing, or is this while you play a movie.


I was just reading some MP4 movies. I could easily reproduce the problem while navigating in the movie (with arrow keys).

@sofistisoftware

Quote:
@samo79

I think we will not get a lot of speed improvement from composition version but better than nothing...


I do not think it's nice from you to tell this sort of thing. LiveForIt has been the only person trying to improve things and using compositing for those without overlay (with the help of some others).

Let's wait for the final version before making assumptions.

Quote:
and however we can resize the video and lose only few details


What details are you loosing ?

Quote:
sdl mode will be slower than composition specially when you try to enlarge the window...


It is, of course. And video will be transparent if you are using composition on your WB. SDL doesn't make use of any hardware acceleration (except 2D speedups of the Radeon HD driver).

Quote:
i noted on my Sam that use of DMA improve a lot graphics performance and responsiveness


What DMA ?

DMA for hardrives is activated on :

AmigaOnes G3 and G4 with IDE and SATA drives
Pegasos II with IDE and SATA drives
Sam440 with internal SATA drives (sii3114)
Sam460 with SATA (sii3512/3112/3114) cards
AmigaONE X1000 with internal SATA drives

DMA for graphic cards is activated on :

AmigaOne G3 and G4 with either PCI or AGP Cards
Sam440ep with Radeon M9,
Sam440Flex with Radeon 92xx on PCI bus
Sam460 with Radeon 92xx on PCI Bus or RadeonHD on PCI-Express
AmigaONE X1000 with RadeonHD on PCI-Express or Radeon 92xx with PCI<->PCI E adapter.

En résumé, the only way to have no DMA on a graphic card is to use one of the internal PCI slots of an AmigaONE X1000 with a Radeon 92xx attached on it.

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@K-L

This is mixed result, for AmigaONE-X1000 users this is major speed up, the harry potter test video, was maxing out the CPU before I started working on it on the X1000.

The speed comes from combination of things.

Video decoding is done by AltiVec (FFMPEG).

Using the correct video format removed the need for conversion before sending it to graphic card.
(This only effects the AmigaONE-X1000, not AmigaONE-XE/Pegasus II)

And then you have hardware overlay that accelerate video scaling.

For now I think this is as good as it gets, whit out a video decoder chip.

https://www.broadcom.com/products/Cabl ... raphics-System-Processors

I don't know how well it will work for Sam460 users, but given that they do not have AltiVec and I'm guessing its only going to minor improvement.

AmigaONE-X1000, handles 720p videos up to 3mbps.


Edited by LiveForIt on 2014/4/7 19:22:30
Edited by LiveForIt on 2014/4/7 19:44:22
Edited by LiveForIt on 2014/4/7 19:46:14
Edited by LiveForIt on 2014/4/7 20:13:32
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Just can't stay away
Just can't stay away


See User information
@LiveForIt

Thanks for your explanations.

During Amigateries event last week-end (soon the pictures), I've made some tests with Elwood's Sam460 and diffrerent MPlayer versions (without AltiVec) and here are the results :

Sam460 RadeonHD 3450

MUI-Mplayer CGX_WPA Beta 5:

BENCHMARKs: VC: 27.541s VO: 19.036s A: 0.000s Sys: 0.380s = 46.957s
BENCHMARK%: VC: 58.6511% VO: 40.5387% A: 0.0000% Sys: 0.8102% = 100.0000%

MPlayer MickJT SDL:

BENCHMARKs: VC: 46.107s VO: 12.708s A: 0.000s Sys: 2.627s = 61.442s
BENCHMARK%: VC: 75.0418% VO: 20.6828% A: 0.0000% Sys: 4.2754% = 100.0000%

MPlayer Andrea SDL :

BENCHMARKs: VC: 51.982s VO: 13.677s A: 0.000s Sys: 2.889s = 68.548s
BENCHMARK%: VC: 75.8328% VO: 19.9531% A: 0.0000% Sys: 4.2141% = 100.0000%

It seems that on Sam460, CGX-WPA is the fastest video output.

We'll have to test with Compositing when your version of MPLayer is compiled without AltiVec or when MUI-Mplayer is compiled with compositing video output .

Anyway, thanks for this excellent work !

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Quite a regular
Quite a regular


See User information
@LiveForIt

Would be possible to have a special optimized version for the sam 440 and 460. Both processors have 24 DSP instructions that can speedup some operations (up to 50% in certain case). Documentation is available at IBM web site.

Since i read that this is an Altivec test version, maybe a version for the sam's dsp could be compiled too.


Retired
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Just can't stay away
Just can't stay away


See User information
@AmigaBlitter

As far as I know, Corto tried to use these instructions to speed up his softwares son Sam440/460 (DosBox amongst others) but did not acheived any speed improvmenents

Does LiveForIt own a Sam4x0 system by the way ?

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Quite a regular
Quite a regular


See User information

Retired
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Just can't stay away
Just can't stay away


See User information
@K-L

Some tests on each beta with Big Buck Bunny 720p MP4 from here http://www.bigbuckbunny.org/index.php/download/
Video starts windowed by default on my 6850 unless stated

-vo cgx_wpa
-ao sdl


beta1 75-94%
beta2 70-95%
beta3 20-43%
----------------------------------
-vo sdl
-ao sdl


beta1 50-59% starts fullscreen on my 9250
beta2 30-41% starts fullscreen on my 9250
beta3 34-58%
----------------------------------
-vo comp
-ao sdl


beta1 No Video
beta2 35-42%
beta3 35-41%

AmigaOne X1000.
Radeon RX550

http://www.tinylife.org.uk/
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Just can't stay away
Just can't stay away


See User information
A couple of beta3 issues with -vo comp.

The diagonal lines occur only on some videos. Dont know why.resizing window, switching to fullscreen and back to window fixes it.
Resized Image

The video image stays on top of the active window.
Resized Image

AmigaOne X1000.
Radeon RX550

http://www.tinylife.org.uk/
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Just can't stay away
Just can't stay away


See User information
@ddni

Big Buck Bunny is too big (and too long) to realize some benchmarks. I'm using one video (an FLV trailer of man Of Steel) to make my tests

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Just can't stay away
Just can't stay away


See User information
@K-L

I should have said, I only assessed the first 30 secs of the video.

AmigaOne X1000.
Radeon RX550

http://www.tinylife.org.uk/
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@K-L

Quote:
DMA for graphic cards is activated on:

AmigaOne G3 and G4 with either PCI or AGP Cards
Sam440ep with Radeon M9,
Sam440Flex with Radeon 92xx on PCI bus
Sam460 with Radeon 92xx on PCI Bus or RadeonHD on PCI-Express
AmigaONE X1000 with RadeonHD on PCI-Express or Radeon 92xx with PCI<->PCI E adapter.

En résumé, the only way to have no DMA on a graphic card is to use one of the internal PCI slots of an AmigaONE X1000 with a Radeon 92xx attached on it.


Sorry, but that is incorrect. Use of DMA to transfer to/from VRAM is currently only available on Sam4x0 machines. This should change at some point in the future.

Hans

http://hdrlab.org.nz/ - Amiga OS 4 projects, programming articles and more.
https://keasigmadelta.com/ - more of my work
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Just can't stay away
Just can't stay away


See User information
@Hans

Thanks for correcting me. Maybe I did not quite understand how DMA works for graphic cards.

I'll study a little bit more ths specific topic.

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Not too shy to talk
Not too shy to talk


See User information
Nothing too careful or scientific about my methods, I don’t guess… but here are my findings. :)

Tonight I downloaded the beta3 version of liveforit’s build and played some movie files in resolutions and formats that heretofore brought my X1000 to its knees under AmigaOS. Things are getting better!

These were all with composition selected as output.

A 1280x544 mkv file in h.264 (the movie “Peyton Place”) played back fairly smoothly with a few stutters but sound stayed in sync.

A 1280x694 mkv file in h.264 (the movie “The Paper”) played back smoothly and sound stayed even — did not gain or lose. But sync seemed to lag … lips did not QUITE match but close. It got no worse out of sync and might not have bothered someone unless he was as picky as me.

A 960x720 mkv file labeled as x264 played smoothly but the sound was terribly out of sync. This was the 1950 movie “Union Station” and so was not a widescreen aspect ratio, but source was Blu-ray rip and so it used the full 720 resolution in height. This was not at all watchable because of the audio sync.

I look forward to testing some more! I think this is showing a lot of promise. I never saw my X1000 play back high-def video as well as the first two examples here without having booted into Linux. I hope you guys don’t hit the wall too soon. :)


ADDENDUM: I played a part of another old movie, "Johnny Guitar," at 960x720 and playback was smooth and sound perfectly in sync. That made me doubt my observation about the "Union Station" playback so I retested that one -- still out of sync. Must be something about that file.


Edited by mbrantley on 2014/4/8 4:59:34
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Home away from home
Home away from home


See User information
@mbrantley

The loopfilter is rally CPU heavy, what it does is some error correction you don't need, or some thing, by turning off loopfilter the movies players better.

mplayer -lavdopts fast:skiploopfilter=all filnavn.avi

if you don't like to type it very time you can add defaults to progdir:conf/config file.

As thing basically done, I strip the exe, compile a none AltiVec version stick it in .lha file and upload it to OS4Dpoet.net tomorrow or latter today.

While people wait for that to happen, try not re-size the window, and press F, that can trigger some nasty bugs and DSI errors.

This will be version 1 from me.

Next will be:
* investigate the mystery CPU too slow message from AHI DEV.
* The aspect correction in full screen.
* Fix full screen and pause for pip.

and to get my changes into the repo, this will take time.


Edited by LiveForIt on 2014/4/8 7:22:16
Edited by LiveForIt on 2014/4/8 8:11:41
(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Just can't stay away
Just can't stay away


See User information
@LiveForIt

And did you find what causes the GrimReaper I posted on G4 ?

Another question : is it possible to avoid tearing on every video outputs ?

And a final question : will v.1 be compiled with the cache option ?

Thanks !

--
AmigaONE X1000 and Radeon RX 560
Go to top
Re: Mplayer Altivec test version for G4 and PA6T-1682M
Just can't stay away
Just can't stay away


See User information
@ live4it. Does the newly uploaded GUI have any performance impact or compatibility issues with your mplayer beta?

http://os4depot.net/?function=showfil ... ideo/misc/mplayer-gui.lha

AmigaOne X1000.
Radeon RX550

http://www.tinylife.org.uk/
Go to top

  Register To Post
« 1 ... 4 5 6 (7) 8 9 10 ... 30 »

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project