Editor Tools Programmer Project (split)

Locked
User avatar
AbsoluteDestiny
Joined: Wed Aug 15, 2001 1:56 pm
Location: Oxford, UK
Contact:
Org Profile

Post by AbsoluteDestiny » Tue Apr 06, 2004 12:58 pm

To be completely honest - I don't really care about not accepting rgb24 from avisynth as it's completely trivial to change it to rgb32.

rgb32 is quicker anyway as with rgb24 you have all sorts of unaligned bits which slows things down (IIRC)


What I'd like to do is incorporate code from virtualdub to have a better resizer. All the internal vdub code is rgb-specific so it should be pretty useable... it's just a question of working it out and implementing it :D

(easier said than done... C makes some marginal sense to my completely untrained eye, asm is just wtf :P)

trythil
is
Joined: Tue Jul 23, 2002 5:54 am
Status: N͋̀͒̆ͣ͋ͤ̍ͮ͌ͭ̔̊͒ͧ̿
Location: N????????????????
Org Profile

Post by trythil » Tue Apr 06, 2004 1:29 pm

AbsoluteDestiny wrote: (easier said than done... C makes some marginal sense to my completely untrained eye, asm is just wtf :P)
The one big obstacle I can see right now will be adapting VirtualDub's resize code to operate on whatever the Premiere Pro SDK passes as pixel data from VDub's custom Pixel32 type. The rest of the code isn't too bad...

One nice thing about inline assembly (well, sometimes) is that it's not meant to ever be used directly :) Most of the time it's called wrapped in a C function, making understanding of its guts unnecessary.

User avatar
BogoSort
Joined: Wed Mar 14, 2001 12:10 pm
Location: Right behind you with a knife!
Contact:
Org Profile

Post by BogoSort » Tue Apr 06, 2004 1:31 pm

AbsoluteDestiny wrote:To be completely honest - I don't really care about not accepting rgb24 from avisynth as it's completely trivial to change it to rgb32.

rgb32 is quicker anyway as with rgb24 you have all sorts of unaligned bits which slows things down (IIRC)
Well it looks like a mere bug in the execution path, cause it's just running the 32bit code on the 24 bit stuff. Maybe when I get home tonight, I can try poking at it. Of course I'll need a Windows compiler, but we'll see what I can dig up.
AbsoluteDestiny wrote:What I'd like to do is incorporate code from virtualdub to have a better resizer. All the internal vdub code is rgb-specific so it should be pretty useable... it's just a question of working it out and implementing it :D
Doesn't avisynth have various different types of resizers? But I haven't really mucked aroung with at all.

trythil
is
Joined: Tue Jul 23, 2002 5:54 am
Status: N͋̀͒̆ͣ͋ͤ̍ͮ͌ͭ̔̊͒ͧ̿
Location: N????????????????
Org Profile

Post by trythil » Tue Apr 06, 2004 1:40 pm

BogoSort wrote: Doesn't avisynth have various different types of resizers? But I haven't really mucked aroung with at all.
I believe that the AVISynth PPro plugin also needs a resizer in the case that the source footage doesn't match the project's dimensions.

User avatar
AbsoluteDestiny
Joined: Wed Aug 15, 2001 1:56 pm
Location: Oxford, UK
Contact:
Org Profile

Post by AbsoluteDestiny » Tue Apr 06, 2004 1:49 pm

BogoSort wrote:Doesn't avisynth have various different types of resizers? But I haven't really mucked aroung with at all.
Yes, avisynth has lots of resizers, but this is resizing for diplay on the premiere timeline and video monitor.

We could use avisynth code but it looks much less easy to rip out than the virtualdub code and as we are dealing with RGB in premiere just like vdub it should be simpler at least.

As for the YUV capabilities of Premiere Pro I have no idea... I've yet to find evidence that premiere pro can import and export a YUV format without a colourspace conversion :(

User avatar
Kalium
Sir Bugsalot
Joined: Fri Oct 03, 2003 11:17 pm
Location: Plymouth, Michigan
Org Profile

Post by Kalium » Tue Apr 06, 2004 3:15 pm

AbsoluteDestiny wrote:As for the YUV capabilities of Premiere Pro I have no idea... I've yet to find evidence that premiere pro can import and export a YUV format without a colourspace conversion :(
Some Googlage says yes:
Some of the major changes are that Adobe Premiere Pro now supports:

* Multiple nested timelines
* YUV Processing
* Three point colour correction
* Sample-level audio editing
* ASIO hardware for multichannel output
* Surround sound mixing
Source.

User avatar
AbsoluteDestiny
Joined: Wed Aug 15, 2001 1:56 pm
Location: Oxford, UK
Contact:
Org Profile

Post by AbsoluteDestiny » Tue Apr 06, 2004 4:13 pm

That's the theory... in practice:

http://forum.doom9.org/showthread.php?s=&threadid=70615

Like I say, I haven't seen anyone get it to work yet. I don't have XP so can't test for myself.

trythil
is
Joined: Tue Jul 23, 2002 5:54 am
Status: N͋̀͒̆ͣ͋ͤ̍ͮ͌ͭ̔̊͒ͧ̿
Location: N????????????????
Org Profile

Post by trythil » Wed Apr 07, 2004 2:33 am

Quick update:

Anime2Envy's Premiere Pro AVISynth import plugin has finally been imported into the PremiereAVSPlugin module. I'm still in the process of setting up a Windows development environment so I can't verify if it actually imported correctly, but all indications say it did.

Locked

Return to “Site Help & Feedback”