|
hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 3:27
#1 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2009/6/1 13:11 From Germany
Posts: 619
|
Currently in Odyssey is the video output over software renderer.
It would be a modern feature to get hardware renderer in Odyssey. Shall we create a bounty at power2people for it? We can work with the Morphos side together. What requirements must have this bounty? What is the goal of this bounty? How much money should it take? Who can develop it? The first goal is to get hardware accelerated video playback for Morphos and AmigaOs.I'd like a few suggestions. |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 5:32
#2 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2013/10/5 14:07 From Italy
Posts: 496
|
@tommysammy
Tommy dont aspect miracles with Hardware accelerated video. first because html5 player is slow and need a 1.67 ghz G4 for play a 360p video smooth on MacOs X 10.5.8 For have an hight resolution there is Gnash on linuxPPC but it is run 720p max . It is not 100% compatibile i tested it on the G5 quad on debian Wheezy and was running good. On flash official player with hardware accelerated video playback an 2xG5 2.5ghz is need for run 720p smooth on Quad G5 2.5ghz i have 1080p and run good Here is the Quad G5 2.5 with Lubuntu PPC running video from you tube html5 playback https://www.youtube.com/watch?v=zp_IvG7h5_0 Max resolution is 360p (html5 player) Expect the same quality on X1000 and same will be on X5000 On Morphos the odyssey video are smooth if the video are in full screen overlay but in window it need more power for run good and in max 360p resolution (this is on my ultra boosted pegasos2) I dont know on other machine but fab had been say in past on g5 and morphos video run good in highter resolution. Edited by tlosm on 2014/6/9 8:58:49
Edited by tlosm on 2014/6/9 9:00:13 Edited by tlosm on 2014/6/9 9:01:58 Edited by tlosm on 2014/6/9 9:03:30 |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 13:01
#3 |
---|---|---|
Just popping in
![]() ![]() Joined:
2008/11/20 20:09 Posts: 202
|
@tlosm
The HTML5 player in Odyssey for MorphOS is actually about as fast as MPlayer (modulo network overhead) when running in overlay mode. So on a PBook G4, 360p eats about 30% CPU, and on a G5, 1080p can be achieved smoothly in overlay mode (and 720p is fine in window mode). |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 13:30
#4 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2013/10/5 14:07 From Italy
Posts: 496
|
@Fab
On Mos im sure, but e on MacOsX i was unable to have 480p smooth with flash player on PowerBook G4 1.67 with video acceleration enabled. I was remember your post about G5 and speed on Odyssey im sure about because on Pegasos G4 1.266mhz on full screen run great for sure on a G5 will be much better, but the html5 player from Mozilla on LinuxPPC or on WebKit Leopard and on TeenFourFox cant go up 360p i think it is a limitation of the player or in endian mode or i dont know. Only hacked FlashPlayer 10 gave me the opportunity to see video at 1080p in windowed browser too in perfect and smooth play. ![]() Better big image In any way on X1000 or on X5000 with Odyssey and Html5 video the quality im sure will be like the G5 with OsX or LinuxPPC browsers with or without acceleration. if one day someone will port Gnash plugin (but it need Open Gl/Gallium) probably we will have a good advance for 720p video playback. Or simply some one will make a plugin for use Mlplayer is like a wrapper for play video in window /fullscreen on Odyssey instead the flashplayer or html5 player. |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 14:20
#5 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2006/11/24 18:52 From Gloucestershire, UK.
Posts: 859
|
@tommysammy
Quote: Currently in Odyssey is the video output over software renderer. Until we have gallium it's pointless to even think about it. |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 14:26
#6 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2013/10/5 14:07 From Italy
Posts: 496
|
@Severin
The way is have a Mplayer plugin that made youtube and other sites think it is the official youtube player and Composition and Overlay will increase great the video performances (720 x1000/x5000 and 480p on pegasos2 , Xe and so and so) This thing is already done on Gnash and swfplayer (linuxPpc) and the same is made by swfplayer from Fab for Odyssey on Mos. |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 15:36
#7 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/11/20 16:26 From Norway
Posts: 2422
|
@tommysammy
Quote: Shall we create a bounty at power2people for it? Your asking too early. I suggest you read a bit about it. http://www.phoronix.com/scan.php?page ... =amd_opensource_uvd&num=1 Quote: We can work with the Morphos side together? No OS components are needed, first AmigaOS graphic drivers drivers need support for UVD. You can't have hardware accelerated video decoding with out it. Quote: What is the goal of this bounty? If AmigaOS ever gets support for UVD, then a bounty for VDPAU might be an idea. |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 15:38
#8 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/11/20 16:26 From Norway
Posts: 2422
|
@Severin
Quote: Until we have gallium it's pointless to even think about it. Don't confuse 3D acceleration with video acceleration. As I understand it gallium supports/depends on UVD, but UVD does not depend on gallium. Edited by LiveForIt on 2014/6/9 15:57:54
Edited by LiveForIt on 2014/6/9 16:23:41 |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 15:43
#9 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/11/20 16:26 From Norway
Posts: 2422
|
@FAB.
It turns out that using 32bit ARGB instead of 24bit RGB make big difference in mplayer, so if your using 24bit RGB internally in your OWB video player, you should change it. Anyway software scaling is always slow. Edited by LiveForIt on 2014/6/9 16:00:03
|
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 16:08
#10 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2013/10/5 14:07 From Italy
Posts: 496
|
@LiveForIt
umm ... Gnash mozilla firefox on Lubuntu/DebinaPPC there is an Opengl version probably there there is the Composition support for video acceleration? |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 16:18
#11 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/11/20 16:26 From Norway
Posts: 2422
|
@tlosm
Composition is just technology for scaling and displaying a bitmap. There are many layers of hardware acceleration. OpenGL depends on UVD, UVD is the key for hardware accelerated video decoding. If you use OpenGL or Composition to display it does not make any difference, if you have UVD support or not. |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 16:24
#12 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2013/10/5 14:07 From Italy
Posts: 496
|
@LiveForIt
okkk you are the geek :) i just report what i see and use :P |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 18:38
#13 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/11/20 16:26 From Norway
Posts: 2422
|
@tlosm
Quote: i just report what i see and use :P What you see is not what you use, what you see is only the top of the iceberg. ![]() Well maybe you don't use UVD, in your Linux on your PowerMac G5, as you need to enable it :o) http://thetechcaptain.blogspot.no/201 ... -on-linux-using-mesa.html Edited by LiveForIt on 2014/6/9 19:00:59
Edited by LiveForIt on 2014/6/9 19:01:34 Edited by LiveForIt on 2014/6/9 19:16:58 Edited by LiveForIt on 2014/6/9 19:23:40 |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 19:37
#14 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/11/20 16:26 From Norway
Posts: 2422
|
@tlosm
Quote: The way is have a Mplayer plugin that made youtube and other sites think it is the official youtube player and Composition and Overlay will increase great the video performances (720 x1000/x5000 and 480p on pegasos2 , Xe and so and so) Yes I think it will help if Composition and ARGB bitmaps was used by OWB, like I did with the vo_comp video output for mplayer, I guess that's work for Kas1e. Edited by LiveForIt on 2014/6/9 20:01:23
|
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 20:42
#15 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2013/10/5 14:07 From Italy
Posts: 496
|
@LiveForIt
yes but only problem official flash player isnt for linux ppc machines, that article is for x86 ;) :P |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 22:05
#16 |
---|---|---|
Just can't stay away
![]() ![]() Joined:
2007/1/26 21:48 From New Zealand
Posts: 1617
|
@LiveForIt
Quote: OpenGL depends on UVD, UVD is the key for hardware accelerated video decoding. I'm not sure with what you mean by "OpenGL depends on UVD," because OpenGL doesn't need UVD at all. Linux's UVD support has two components: - Low-level support in the 2D driver - The VDPAU driver, which is built using Gallium3D So, we are indeed going to need Gallium3D first. Hans |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/9 22:24
#17 |
---|---|---|
Quite a regular
![]() ![]() Joined:
2008/4/10 13:57 From Northern Ireland
Posts: 749
|
Chicken and egg time again! ![]() |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/10 1:51
#18 |
---|---|---|
Home away from home
![]() ![]() Joined:
2006/11/20 16:26 From Norway
Posts: 2422
|
@Hans
Quote: I'm not sure with what you mean by "OpenGL depends on UVD," because OpenGL doesn't need UVD at all. I have seen it being refenced by Mesa in a few article I have been reading, and Mesa is software render (clone of OpenGL) I guess Gallium3D is not a requitement, I have not accurately looked for source code for VDPAU or UVD, so I might be wrong, but anyway we need UVD before anything can use it, VDPAU with out UVD is useless. VDPAU uses UVD but I think you can use UVD whit out VDPAU, its just that VDPAU provided one single API for NVIDIA and ATI drivers, and thats what Mplayer uses, so it be lot of work to implement support for UVD in Mplayer, compared to just providing a VDPAU wrapper of some kind. Anyway as I have not looked at the source code I might be wrong. Quote: - The VDPAU driver, which is built using Gallium3D An alliterative to VDPAU is XvBA but noting importment is using XvBA from what I have read. http://www.phoronix.com/scan.php?page=news_item&px=NzM2OA |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/10 5:29
#19 |
---|---|---|
Just popping in
![]() ![]() Joined:
2011/11/29 0:54 From Norway
Posts: 198
|
@LiveForIt
what i read from Mesa's site is that Mesa just support software render for testing and experiement. For system using X Windows Xlib API. systems that don't have access to some kind of hardware acceleration can use Mesa Emulation to get Open GL functions. but this is just extra features, Mesa uses hardware acceleration and supports the OpenGL 3.1 specification http://www.mesa3d.org/faq.html |
|
|
Re: hardware accelerated video playback in Odyssey |
Posted on: 2014/6/10 6:11
#20 |
---|---|---|
Not too shy to talk
![]() ![]() Joined:
2013/10/5 14:07 From Italy
Posts: 496
|
@noXLar
yep :) @hans you are true! Gallium is needed first! Thanks of Gallium system many things will be done for have the video acceleration |
|