amiga.org
     
iconAll times are GMT -6. The time now is 09:54 AM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Amiga computer related discussion » Amiga Software Issues and Discussion » Video overlay - essential for fast video playback

Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software.

Reply
 
Thread Tools Display Modes
Old 06-29-2012, 02:31 PM   #16
klx300r
Amiga 1000+AmigaOne X1000
Points: 9,007, Level: 63 Points: 9,007, Level: 63 Points: 9,007, Level: 63
Activity: 2% Activity: 2% Activity: 2%
 
klx300r's Avatar
 
Join Date: Sep 2007
Posts: 1,613
Blog Entries: 2
Cool Re: Video overlay - essential for fast video playback

@ Piru

I respect your work on MOS;however, I'll side with Hans and Karlos's opinions on modern video driver issues.
__________________
__________________________________________________ __________________
c64-dual sids, c128, A500,-A590, A1200-030@50
Indivision AGA & Catweasel MK4+= Amazing
! My Master Miggies-Amiga 1000 & AmigaOne X1000 !
--- www.amigaos.net ---
-AspireOS.com & Amikit- Amiga for your netbook-
***X1000- I BELIEVE ***
klx300r is offline   Reply With Quote
Old 06-29-2012, 02:38 PM   #17
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: Video overlay - essential for fast video playback

Quote:
Originally Posted by klx300r View Post
@ Piru

I respect your work on MOS;however, I'll side with Hans and Karlos's opinions on modern video driver issues.
There's not really a side to take. There's no disagreement that being able to leverage hardware assisted video playback is a good thing (TM). This is all a question of implementation detail as to best to achieve it on more recent RadeonHD cards, as the existing drivers for these cards don't have a working implementation yet.

Ultimately, that decision will be down to Hans as he's the one doing the work, so other than being an interesting discussion on the relative merit of overlay vs chromakey vs video texture, it's all a bit academic.
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 06-29-2012, 06:00 PM   #18
Piru
' union select name,pwd--
Points: 30,457, Level: 100 Points: 30,457, Level: 100 Points: 30,457, Level: 100
Activity: 69% Activity: 69% Activity: 69%
 
Piru's Avatar
 
Join Date: Aug 2002
Location: Helsinki, Finland
Posts: 6,946
Default Re: Video overlay - essential for fast video playback

Quote:
Originally Posted by klx300r View Post
@ Piru

I respect your work on MOS;however, I'll side with Hans and Karlos's opinions on modern video driver issues.
And by that comment you show your complete ignorance of the matters at hand. I hope it's that, since the alternative is even worse.

Last edited by Piru; 06-29-2012 at 06:02 PM..
Piru is offline   Reply With Quote
Old 06-29-2012, 06:39 PM   #19
stevieu
VIP / Donor
Points: 5,181, Level: 46 Points: 5,181, Level: 46 Points: 5,181, Level: 46
Activity: 6% Activity: 6% Activity: 6%
 
stevieu's Avatar
 
Join Date: Sep 2007
Location: UK
Posts: 82
Default Re: Video overlay - essential for fast video playback

Anyone for tea?!
stevieu is offline   Reply With Quote
Old 06-29-2012, 07:39 PM   #20
magnetic
Defender of the Faith
Points: 14,639, Level: 78 Points: 14,639, Level: 78 Points: 14,639, Level: 78
Activity: 99% Activity: 99% Activity: 99%
 
magnetic's Avatar
 
Join Date: Feb 2002
Posts: 1,743
Blog Entries: 1
Default Re: Video overlay - essential for fast video playback

klx300r

Its not about "Sides" its about facts. Kind of funny you would take sides against guys like PIru and Itix ( man I wish Frank M posted here) I mean Piru has only been coding for amiga for 15 years, no big deal.
__________________
bPlan Pegasos2 G4@1ghz
Quad Boot:Reg. MorphOS /Amiga OS4.1 U4/Ubuntu GNU-Linux /MacOS X

Amiga Technologies A1200 HD | Blizzard 1260@66mhz | 128mb | OS 3.9 | Indivision MK2
magnetic is offline   Reply With Quote
Old 06-29-2012, 09:00 PM   #21
klx300r
Amiga 1000+AmigaOne X1000
Points: 9,007, Level: 63 Points: 9,007, Level: 63 Points: 9,007, Level: 63
Activity: 2% Activity: 2% Activity: 2%
 
klx300r's Avatar
 
Join Date: Sep 2007
Posts: 1,613
Blog Entries: 2
Default Re: Video overlay - essential for fast video playback

Quote:
Originally Posted by Piru View Post
And by that comment you show your complete ignorance of the matters at hand. I hope it's that, since the alternative is even worse.
ah pleasewhy because you think it's 'essential' and other highly skilled developers think it's 'obsolete'
__________________
__________________________________________________ __________________
c64-dual sids, c128, A500,-A590, A1200-030@50
Indivision AGA & Catweasel MK4+= Amazing
! My Master Miggies-Amiga 1000 & AmigaOne X1000 !
--- www.amigaos.net ---
-AspireOS.com & Amikit- Amiga for your netbook-
***X1000- I BELIEVE ***
klx300r is offline   Reply With Quote
Old 06-29-2012, 09:13 PM   #22
magnetic
Defender of the Faith
Points: 14,639, Level: 78 Points: 14,639, Level: 78 Points: 14,639, Level: 78
Activity: 99% Activity: 99% Activity: 99%
 
magnetic's Avatar
 
Join Date: Feb 2002
Posts: 1,743
Blog Entries: 1
Default Re: Video overlay - essential for fast video playback

kxl3oor

Whats humours is that you arent even considering the science behind it, as explained by many in all these threads. Instead you are taking fanboy sides..
__________________
bPlan Pegasos2 G4@1ghz
Quad Boot:Reg. MorphOS /Amiga OS4.1 U4/Ubuntu GNU-Linux /MacOS X

Amiga Technologies A1200 HD | Blizzard 1260@66mhz | 128mb | OS 3.9 | Indivision MK2
magnetic is offline   Reply With Quote
Old 06-29-2012, 10:11 PM   #23
takemehomegrandma
Kindred of Babble-on
Points: 16,121, Level: 81 Points: 16,121, Level: 81 Points: 16,121, Level: 81
Activity: 5% Activity: 5% Activity: 5%
 
takemehomegrandma's Avatar
 
Join Date: Oct 2002
Posts: 2,583
Default Re: Video overlay - essential for fast video playback

Quote:
Originally Posted by klx300r View Post
ah pleasewhy because you think it's 'essential' and other highly skilled developers think it's 'obsolete'
djrikki said about timberwolf: "You need to opt-in to YouTube's HTML5 programme. Videos are painfully slow though at present, but do work. Yes, cannot wait until the optimisations begin. "

Just guessing here, but he has no overlay, right?
__________________
djnick (a struggling OS4 user): "AmigaOS really needs update. Basic stuff we all used to work with like Watching movies, Youtube, Painting, Word typing, DropBox... are extremly hard to achieve on Amiga."

Well djnick, the update has been out for more than a decade. It is called MorphOS. It will solve your problems and do everything you asks for in that thread, and a lot more!

MorphOS is Amiga done right!
takemehomegrandma is offline   Reply With Quote
Old 06-30-2012, 12:23 AM   #24
spirantho
Premium Member
Points: 10,848, Level: 68 Points: 10,848, Level: 68 Points: 10,848, Level: 68
Activity: 46% Activity: 46% Activity: 46%
 
Join Date: Aug 2002
Posts: 1,100
Default Re: Video overlay - essential for fast video playback

Overlay is obsolete.
Textured video is a much better way of doing the same thing at the same speed.
RadeonHD cards had moved away from supporting true overlay, using textured video instead.

And just in case I also get accused of fanboyism, here's a forum entry by AMD saying exactly that:
devgurus.amd.com/thread/154009
__________________
--
Ian Gledhill
ian.gledhill@btinternit.com (except it should be internEt of course...!)
Check out my shop! http://www.mutant-caterpillar.co.uk/shop/ - for 8-bit (and soon 16-bit) goodness!

Last edited by spirantho; 06-30-2012 at 12:26 AM.. Reason: typo
spirantho is offline   Reply With Quote
Old 06-30-2012, 01:35 AM   #25
Tcheko
Merely Curious
Points: 1,674, Level: 23 Points: 1,674, Level: 23 Points: 1,674, Level: 23
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Feb 2011
Posts: 15
Default Re: Video overlay - essential for fast video playback

The only interesting point of overlay is offloading dumb scaling & color conversion from CPU.

Definitly not obsolete and a real usefull feature. Just have a look at any under CPU powered H264 media player. They all embbed dedicated hardware for scaling & color conversion.

Not willing to implement such defacto standart or agree its usefullness... Oh well...
Tcheko is offline   Reply With Quote
Old 06-30-2012, 01:42 AM   #26
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default

Quote:
Originally Posted by stevieu View Post
Anyone for tea?!
A nice cup of Assam, drop of milk, no sugar, would be great, thanks!
Karlos is offline   Reply With Quote
Old 06-30-2012, 01:49 AM   #27
Zac67
Kindred of Babble-on
Points: 12,421, Level: 72 Points: 12,421, Level: 72 Points: 12,421, Level: 72
Activity: 15% Activity: 15% Activity: 15%
 
Zac67's Avatar
 
Join Date: Nov 2004
Location: Erlangen, Germany
Posts: 2,851
Blog Entries: 4
Default Re: Video overlay - essential for fast video playback

Quote:
Overlay is obsolete.
This very much depends on the platform in question. While traditional overlay and 3D texturing are pretty much interchangeable from the user's POV, overlay is much more efficient.

Overlay: raw video data is written once (decompression by CPU) and then read back once during display when the overlay is used in the framebuffer.

Texturing video: raw video data is written during decompression (CPU), then read back, scaled/converted and written to the framebuffer (GPU) and finally read during display (GPU).

Obviously the latter is more work, so if power or GPU bandwidth is an issue you're better off with overlay. On a desktop computer where neither is a problem it may not be worth the trouble.

(It may be possible to read the raw video just once, process it in the GPU and shove the data directly into the display pipeline, but I don't think they're using this approach.)
Zac67 is offline   Reply With Quote
Old 06-30-2012, 03:18 AM   #28
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: Video overlay - essential for fast video playback

Quote:
Originally Posted by Zac67 View Post
This very much depends on the platform in question. While traditional overlay and 3D texturing are pretty much interchangeable from the user's POV, overlay is much more efficient.
It's only more efficient if both options exist and and takes less time than texturing. There was a time when that was a given, but these days, thanks to the 3D arms race (of which texture fill rate one of the things that got massively ramped up) it tends not to be the case. In fact, dedicated hardware has become less and less of a feature in favour of packing as many stream processors as possible onto the die.

As I said elsewhere, video texturing has a number of additional advantages too.

Quote:
Obviously the latter is more work, so if power or GPU bandwidth is an issue you're better off with overlay. On a desktop computer where neither is a problem it may not be worth the trouble.

(It may be possible to read the raw video just once, process it in the GPU and shove the data directly into the display pipeline, but I don't think they're using this approach.)
GPU <-> memory bandwidth is literally in the hundreds of GB/s these days. Even my now rather old hat G200 based card can manage ~ 105GB/s for VRAM to VRAM (read-process-write) operations and that's while it's still displaying a fully composited desktop.
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Old 06-30-2012, 03:39 AM   #29
Fab
Technoid
Points: 3,315, Level: 35 Points: 3,315, Level: 35 Points: 3,315, Level: 35
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Jun 2009
Posts: 214
Default Re: Video overlay - essential for fast video playback

@karlos

Fine, and what about the practical write speed on SAM 460 PCIe bus?

Being able to write yuv 420 data instead of plain rgb24 data is twice as fast... On machines like Macs, Pegasos or AmigaOnes it's a huge speedup.
Fab is offline   Reply With Quote
Old 06-30-2012, 04:18 AM   #30
Karlos
Sockologist
Points: 48,752, Level: 100 Points: 48,752, Level: 100 Points: 48,752, Level: 100
Activity: 8% Activity: 8% Activity: 8%
 
Karlos's Avatar
 
Join Date: Nov 2002
Location: I solve practical problems...
Posts: 16,606
Blog Entries: 18
Default Re: Video overlay - essential for fast video playback

Quote:
Originally Posted by Fab View Post
@karlos

Fine, and what about the practical write speed on SAM 460 PCIe bus?
I don't own a SAM so I can't say - there are various benchmarks out there.

Quote:
Being able to write yuv 420 data instead of plain rgb24 data is twice as fast... On machines like Macs, Pegasos or AmigaOnes it's a huge speedup.
Not disagreeing at all. Don't forget, I still use an BPPC/BVision combo and the VRAM write speed there is ~15MB/s or so, thanks to the bus.

Perhaps I didn't make it clear (though I believe I did) when I first mentioned video texturing but just in case, video texturing does not imply the transfer of already-decoded RGB data from RAM -> VRAM. The transformation from YCbCr -> RGB, along with scaling, is handled by the texture mapping hardware. Without this hardware colourspace conversion, a chip can't really be said to properly support video texturing.

Whatever bus transfer arguments you can make for traditional overlay, you can equally make for video texturing.
__________________
OCA
This isn't SCSI... This is SATA!!!
I have CDO. It's like OCD except all the letters are in ascending order. The way they should be.
Core2 Quad Q9450 2.66GHz / X48T / 4GB DDR3 / nVidia GTX275 / Linux x64, AROS, Win64
A1XE 800MHz / 512MB / Radeon 9200 / OS4.1
A1200T BPPC 240MHz / 256MB / Permedia 2 / OS 3.1 - OS3.9, OS4
A1200T Apollo 1240 28MHz / 32MB / Mediator1200 / Voodoo 3000 / OS3.9
A1200D Apollo 1240 25MHz (ejector seat ROM edition) / 32MB
Karlos is offline   Reply With Quote
Reply

Bookmarks

Tags
essential , fast , fast video , overlay , playback , scaling , video , video playback , ycbcr

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump