Video player speed...

Discuss any general programming issues here
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

Video player speed...

Post by Tuxedo »

As on topic a simple question....

I noticed that the VideoPlayer was really slower than mplayer liike at mimìinimum about 30% on my system(Peg2G4@1131), that was due to a non AltiVec awcodec plugin or there's something else? And it was AltiVec related, any awcodec AltiVec plugin was planned to be released?

That was a real big problem since the VideoPlayer routine wasnt intended to me for replace mplayer/DVPlayer with Hollywood apps but speeder was better than slower :)

Keep Up Good Work!
Simone"Tuxedo"Monsignori, Perugia, ITALY.
User avatar
Juan Carlos
Posts: 950
Joined: Mon Sep 06, 2010 1:02 pm

Re: Video player speed...

Post by Juan Carlos »

I think that the video player is good as example but it isn't the substitute of mplayer and Dvplayer, it is good to make intro for games or yes.... for make strip pokers with video.....
User avatar
airsoftsoftwair
Posts: 5887
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Video player speed...

Post by airsoftsoftwair »

The OS4 version of Hollywood doesn't use overlay at the moment because the OS4 API is not sufficient for Hollywood's requirements. On MorphOS, however, video playback uses hardware overlaying which should reduce CPU usage significantly.
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

Re: Video player speed...

Post by Tuxedo »

thank you!
Regarding AltiVec version? Its planned or already it works oin current implementation?

I notied that I misswrite above...

I had to wrote:

"That WASNT a real big problem..."

sorry :P
Simone"Tuxedo"Monsignori, Perugia, ITALY.
User avatar
airsoftsoftwair
Posts: 5887
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Video player speed...

Post by airsoftsoftwair »

Sorry, AltiVec won't come from me. That's waaay too much work.
User avatar
Tuxedo
Posts: 355
Joined: Sun Feb 14, 2010 12:41 pm

Re: Video player speed...

Post by Tuxedo »

OK,
no real problem :)
Hope only that the bugs related to mjpegs mov will be fixed since photoca,eras saves in that format :)
Simone"Tuxedo"Monsignori, Perugia, ITALY.
User avatar
lazi
Posts: 650
Joined: Thu Feb 24, 2011 11:08 pm

Re: Video player speed...

Post by lazi »

@Andreas:

Please tell me more about this overlay implementation! If you display two videos, only the first will use overlay or every displayed video share the same overlay?
What happens if some other software are currently using overlay?

Only OS4 has missing overlay support in hollywood?
User avatar
lazi
Posts: 650
Joined: Thu Feb 24, 2011 11:08 pm

Re: Video player speed...

Post by lazi »

And if we are already talking about overlay.

Is it possible techically to use the overlay for the whole hollywood display? Then we could scale the window/screen at no cpu cost.
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: Video player speed...

Post by djrikki »

The Overlay dilemma is a wide subject.

Hans de Ruiter has already stated that video overlay is very low a priority; instead work will commence on textured overlaying or something which should provide even better performance.

Once that is done it will be system and application-wide so Hollywood video playback should be much improved. If it isn't much better then that would be the time to pester Andreas.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5887
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: Video player speed...

Post by airsoftsoftwair »

@lazi: Hollywood on OS4 doesn't support overlay at all because Picasso96 lacks the required APIs. I have to admit though that it's been almost 2 years since I last checked the status of overlay on OS4. Back then it wasn't sufficient for my purposes. But maybe something has changed in the meantime. On MorphOS with CyberGraphX 5 overlay is supported but only for one video at a time. If more than one video is playing, overlay will only be used for the first video; the other ones will be drawn in software. That said, Hollywood on MorphOS supports the whole overlay shebang, i.e. videos are also scaled using hardware overlaying at absolutely no CPU cost. But that's only possible because CyberGraphX 5 has the APIs for it.
Is it possible techically to use the overlay for the whole hollywood display? Then we could scale the window/screen at no cpu cost.
Would be possible but only for the auto scaling engine. Layer scaling wouldn't work with overlay.
Post Reply