Log in

View Full Version : OpenGL using Avisynth


leonhard
21st November 2004, 19:39
I am wondering if a OpenGL Graphic Card would be of a big advantage using Avisynth scripts to view several versions of raw DV material, using several kind of trasitions, filters etc., so in explicit, unrendered Versions. So in other words, would an OpenGLGraphic board increase the chance for a realtively smooth viewing or it is not that important?

There is OpenGL mentioned here and there in the doom Avisynth Fora, but this didn't give me an answer I understand.

Olaf

Mug Funky
22nd November 2004, 14:05
hmmm... interesting question.

premiere pro has limited GPU functions. most of it is for cheezy transition effects (like ye olde page curl, or ripple), but theoretically the GPU stuff could be used for boatloads of useful stuff, like overlaying, cropping, scaling (maybe), and level-correction. i guess the code would need to be written though.

i can see something like realtime blue-screening possible with the GPU, though i'm not sure if convolution based filters could be done in GPU (maybe, but i don't know enough about them). so anything that creates masks, or makes complicated metrics would not be sped up much (though GPU accelerated maskedmerge would be awesome).

leonhard
22nd November 2004, 15:28
so lets perhaps a bit more concrete, starting with raw DV material

it has to be deinterlaced, for this I use various filter which let me usually end up with 50fps. On the other side, very often there edge effects which makes me

crop off some pixel at the edges.


okay the some standard transition, hard and smooth ones and of course some

noise filtering.


This is more or less what is used mostly.

kizuna
22nd November 2004, 18:39
The problem propably is that all code doesn't automatically use the GPU. The instruction sets of CPUs and GPUs are quite different and doing the same thing might need a total different approach. Thus GPU support has to be deliberately included. This has only happened on professional applications to some limited extent (as Mug Funky indicated) but widespread implementation is still a long way ahead.
Related Topics:
http://slashdot.org/article.pl?sid=04/09/03/158210 (Audio Processing on Your Graphics Card?)
http://developers.slashdot.org/article.pl?sid=04/05/09/039204 (Using GPUs For General-Purpose Computing)

Fizick
23rd November 2004, 19:23
I think, this topic is for Development forum. :)
http://forum.doom9.org/showthread.php?s=&threadid=76161&highlight=GPU