Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 5th December 2016, 23:57   #1  |  Link
xekon
Registered User
 
Join Date: Jul 2011
Posts: 224
Question about porting LoadVirtualdubplugin

I am needing to do some color correcting, when I was still using Avisynth I used Gradation Curves virtualdub plugin and loaded it directly in my Avisynth script so that I could pass it to x264 for encoding http://forum.doom9.org/showthread.php?t=133191

I loaded the virtualdub plugin using LoadVirtualdubplugin

so I am wondering the quickest/easiest approach to getting Gradation Curves loaded in Vapoursynth.

would it be easier to port the code for LoadVirtualdubplugin to a Vapoursynth equivalent? is that even possible?

or would it be easier to port/create a way to use Gradation Curves from scratch with a new Vapoursynth function/plugin just for Gradation Curves.

I am hoping somebody familiar with porting could point me in the right direction, I am not even sure where the source code for LoadVirtualdubplugin resides.
xekon is offline   Reply With Quote
Old 6th December 2016, 10:45   #2  |  Link
shekh
Registered User
 
Join Date: Mar 2015
Posts: 775
Gradation Curves is very simple plugin, should be less difficult to port directly to VS.
__________________
VirtualDub2
shekh is offline   Reply With Quote
Old 6th December 2016, 11:02   #3  |  Link
xekon
Registered User
 
Join Date: Jul 2011
Posts: 224
I found the code for LoadVirtualdubplugin in Avisynth source, its in plugins.cpp, at first glance looks to be about 60 lines of code.

edit: ahh ok, thank you shekh, i think the hardest part will be looking at the gradation curves source and understanding how the code works and which parts need to be converted to python.

Last edited by xekon; 6th December 2016 at 11:08.
xekon is offline   Reply With Quote
Reply

Tags
gradation, gradation curves, loadvirtualdubplugin, vapoursynth, virtualdub

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


All times are GMT +1. The time now is 12:49.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.