Writing OFX Video Processing Plugin

20:15
Wed
01
Oct 2014

Writing OFX Video Processing Plugin

Computer graphics is a broad topic and GPU-accelerated real-time 3D rendering is just one of its parts. Another one is photo and video processing. Video editing is an art by itself, but from the technical point of view there are various interesting effects that can be applied. While not essentially real-time and often done on CPU, of course it could also be GPU-accelerated and also should be as efficient as possible. There are many video editing programs, from Windows Movie Maker to Adobe Premiere. The one of my choice is Sony Vegas Pro. Such programs come with a bundle of standard effects, but for a graphics programmer what can be more fun than writing own plugin?

Vegas Pro supports plugins in OpenFX (OFX) standard. They are written as native code compiled to DLL library with appropriate interface. I'm learning how to write such plugins. Below is a description of how you can start experimenting with this technology plus my "Hello World" example that performs simple color inversion. Maybe later I will write a tutorial with detailed description of this API. For now, here is C++ source code of my example with Visual Studio 2013 project and compiled binaries (Win32 and x64): OfxTest1.zip (21 KB). Inside Vegas Pro it looks like this:

A brief description of how to start coding such plugins:

Note that examples provided on SourceForge next to includes package are broken. When compiled in Visual Studio, they assert in Debug configuration due to usage of uninitialized variables and stack corruption! Patch for these bugs is submitted for over 2 years (#1 Basic in Examples - uninitialised variables) and the author is not fixing it. My example has all of this fixed.

Comments (1) | Tags: video openfx | Author: Adam Sawicki | Share

Comments

yll
2016-03-25 03:28:38
If you http://www.mcmbags.net/ are happy http://www.adidas-schuhe-online.de/ temperament, http://www.burberryoutlet-canada.ca/ I http://www.tomsoutletonline.net/ have http://www.nike-schuhe.com.de/ a http://www.pumashoes.in.net/ song, dance with http://www.uggs.co.nl/ your favorite http://www.pandora.com.de/ look; if http://www.michaelkors.co.nl/ you rife, I http://www.guccishoes.us.org/ will http://www.beats-headphone.com.co/ become http://www.nike.org.es/ a http://www.instylers.us.com/ cloud, http://www.timberlandshoes.net.co/ falling some http://www.vans-shoes.net/ peerless http://www.lululemonoutlet.gb.net/ situation; http://www.rayban.co.nl/ for http://www.swarovski-online-shop.de/ this http://www.rayban.com.de/ flower Dimei http://www.tommyhilfiger.net.co/ under http://www.abercrombie-fitchs.us.com/ Xu, http://www.uggsoutlet.com.co/ Xu http://www.airjordans.us/ next http://www.longchamp.com.de/ stop for this http://www.pandorajewelry.top/ cloud, http://www.christian--louboutin.in.net/ let http://www.nikeair-max.es/ that drop http://www.yoga-pants.ca/ of http://www.omegarelojes.es/ rain http://www.coach-factoryoutlet.net.co/ touched that http://www.guccioutlet-sale.in.net/ masterpiece encounter; not http://www.hollisters-canada.ca/ to http://www.oakley.org.es/ ask, in http://www.thenorth-faces.co.uk/ the http://www.tommy-hilfiger-canada.ca/ southern http://supra.shoesoutlet.us.com/ misty http://www.ralphlaurenoutletonline.in.net/ rain http://www.celine-bags.org/ ink, http://www.cheapuggboots.us.com/ or http://www.guccihandbags.net.co/ vegetation http://www.rayban-wayfarer.in.net/ desolate http://www.handbagsoutlet.net.co/ Saibei http://www.bottegaveneta-bagsoutlet.com/ only hope http://www.hollisterclothingstore.org/ that http://www.nike-schoenen.co.nl/ you http://www.coach-factoryyoutletonline.net/ read http://www.uhren-shop.com.de/ in http://www.michael-kors.net.co/ conjunction http://www.oakleys-sunglasses.us.com/ rain http://www.michael-kors-taschen.com.de/ Partly farming, http://www.oakleyoutlet-online.us.com/ leisure http://www.louisvuitton.so/ together Immersió listen to http://www.jordanrelease-dates.us.com/ the http://www.cheapoakley-sunglasses.com/ birds, http://www.ray--ban.ca/ over http://www.babyliss-pro.us.com/ the days together http://www.pulseras-pandora.com.es/ with ordinary http://www.longchampoutlet.com.co/ water http://www.michaelkorsoutlet.ar.com/ .

If grinding http://www.vans-schuhe.com.de/ moonlight, http://www.soccer-shoes.us.com/ the wind http://www.michaelkors-uk.org.uk/ pen, http://www.mizuno-running.net/ next month http://www.polo-outlets.com.co/ before http://www.thejoreseproject.com/ it flowers, pen http://www.nike-rosherun.nl/ years http://www.nikestore.us/ water http://www.burberryonlineshop.de/ volume; http://www.michaelkorsoutletonline-sale.us.com/ with http://www.canadagooses-2016.com/ traces http://www.swarovski--uk.me.uk/ breeze http://www.christianlouboutinshoesoutlet.org/ atmosphere, http://www.mcmsworldwide.com/ clouds, http://www.nikemercurial.in.net/ and http://www.beatsbydre.com.co/ in http://www.nike-air-max.us/ a http://www.uggs-onsale.net/ paper by the http://www.rolex-watch.me.uk/ recollection of old books you warm; make http://uggaustralia.misblackfriday.com/ clear http://coachoutlet.euro-us.net/ water in http://www.coachhandbags2016.us.com/ Qiannian http://www.tocoachoutlet.com/ landscape http://www.rosheruns.us/ outside, http://www.newbalance-outlet.org/ waiting for the moon http://www.cheapjerseys.us.org/ and http://www.eyeglassesonline.us.com/ new http://www.converse.com.de/ moon; quietly spend http://www.asics-outlet.us.com/ the http://www.nike-skor.com.se/ joy http://www.the-north-face.ca/ of http://www.burberry-handbagsoutlet.com.co/ silence, http://www.ralphlaurenepolo.com/ do not http://www.the-northface.net.co/ ask how http://www.abercrombie-and-fitch.us.com/ changes http://www.tommy-hilfiger.com.de/ of marshes, http://www.new-balance.ca/ how http://www.mcmhandbags.com.co/ rotary years, http://www.pumaonline-shop.de/ the http://www.lauren-ralph.co.uk/ only http://www.woolrich-clearance.com/ place http://www.yoga-pants.net.co/ in http://www.polo-ralph-lauren.de/ the http://www.rayban-sunglasses.us.org/ bridges for you http://www.converse-shoes.net/ as I ended http://www.guccishoes.in.net/ classic.

Life would http://www.ugg-boots-australia.com.au/ like http://www.nike-air-force.de/ to make http://www.louis-vuitton-taschen.com.de/ the http://airmax.shoesoutlet.us.com/ dust http://www.airmax-90.org/ of a lotus, the http://www.raybans-sunglassesoutlet.in.net/ mountain http://www.ralphslauren-outlet.co.uk/ waiting http://www.converse-shoesoutlet.com/ for http://www.outlet-burberry.net.co/ a http://www.prada.com.de/ ride a http://www.abercrombieand-fitch.ca/ water ride http://www.louisvuitton.jp.net/ with http://www.lululemoncanada.ca/ a http://www.ugg-australia.com.de/ window http://www.ralphs-lauren.co.uk/ the http://www.chiflatiron.net.co/ bright http://www.oakley--sunglasses.com.au/ window, http://www.toms--outlet.com.co/ the http://www.burberryoutlet2016.us.com/ sun http://www.uggboots.net.co/ was warm http://www.vans-shoes.co.uk/ embrace, Wan http://www.longchamp-handbags.us.com/ Wan in a new Green Mile, http://www.guccishoes.com.co/ this http://www.christianlouboutin.org.uk/ life http://www.giuseppezanotti.com.co/ filled http://www.coco-chanels.us.com/ with love; http://www.oakley.com.de/ make a http://www.coach-outletonline.net.co/ colorful http://northfaceoutlet.co-om.com/ in http://www.pandora-charms-canada.ca/ full http://www.pradahandbags.net.co/ bloom http://www.abercrombie-fitchsale.com/ throughout the http://www.adidas-superstar.nl/ spring, to meet http://www.wedding--dresses.ca/ a beautiful http://www.hollister-abercrombie.com.se/ painting http://www.ugg-boots.us.org/ on http://www.ugg-boots.ca/ the http://www.coach-purseoutlet.net/ successful!

A tea http://www.christianlouboutinshoes.jp.net/ seats bed, http://www.oakley-sunglasses-canada.ca/ a http://www.tiffanyandco.net.co/ pillow http://www.coach-factory.in.net/ Scrolls http://www.harrods-london.co.uk/ fine http://www.cheap-baseballbats.net/ ponder. http://www.hermesbags.jp.net/ This is http://www.toms-outlets.us.com/ a simple http://www.ralph-laurenoutlet.ca/ literature, http://www.nike-air-max.com.au/ this http://www.kate-spade.gb.net/ is http://www.michaelkors.so/ the http://www.rayban.org.es/ classic http://www.canada-goosesjackets.us.com/ psychic, regardless of http://www.marcjacobs.us.com/ gem http://www.swarovskijewelry.com.co/ material, http://www.newoutletonlinemall.com/ regardless http://www.maccosmetics.net.co/ of http://www.louisvuitton-outlets.us/ the http://www.christian-louboutin-shoes.ca/ net http://www.new-balance-schuhe.de/ worth of http://www.louis-vuitton-australia.com.au/ the poor, because http://www.zxcoachoutlet.com/ the http://www.toms-shoes.com.co/ share http://www.eyeglassframes.in.net/ of http://www.ferragamo.com.co/ hazy http://www.nike-air-max.ca/ love, http://www.coachblackfriday.com/ love http://www.converse.net.co/ deep http://www.mk-outlet.us.com/ into http://www.abercrombie-hollister.nl/ the http://www.hermesbirkin-bag.net/ soul.

This http://www.nikestore.com.de/ literary http://www.tommy-hilfigeroutlet.com/ love, http://www.burberry-outlets.co.uk/ love http://www.nike-air-max.com.se/ this http://www.tiffany-jewelry.net/ millennia-old http://www.uggs.in.net/ Chinese soul of http://www.nikefree5.net/ the http://www.louisvuitton-outlet.com.co/ wind. http://www.designer-handbagsoutlet.us.com/ Or vigorous, soul-stirring, like http://www.lululemon-australia.com.au/ Longyou song http://www.abercrombie-kids.us.com/ marsh, http://www.oakley-sunglasses.mex.com/ Huang http://www.retro-jordans.com/ Fei http://www.newbalance-shoes.org/ nine http://www.nike-roshe-run.com.es/ days; or single elevation http://www.thenorthface.com.de/ grid, http://www.oakley-outletstore.in.net/ noble http://www.adidas.com.se/ Aoshuang, http://www.swarovskicanada.ca/ like http://www.michaelkorsbags.us.org/ Pine http://www.longchamphandbagsoutlet.net/ Valley Health, http://www.adidas--canada.ca/ Xia http://www.horloges-rolex.nl/ Ying http://www.cheap-jordans.net/ Cheng http://www.ralphlaurenoutlet.us.com/ Tong; or http://www.cheap-michaelkors.com/ want to http://www.ferragamoshoes.in.net/ go http://www.michael-kors-australia.com.au/ think, http://www.prada-shoes.com.co/ therefore, become http://www.burberryoutlet-sale.in.net/ lazy http://www.mmoncler-outlet.com/ Ke Zhou, Shen http://www.polooutlets-store.com/ round http://www.beatsbydrdre.co.com/ like http://www.airmax-2015.org/ the http://www.toryburchsale.com.co/ moon http://www.ralphlaurenonlineshop.de/ and stars, http://www.barbour-jacketsoutlet.com/ the http://www.truereligion-outlet.us.org/ rivers into the http://www.cheapmichaelkors.us.org/ ocean; or http://www.coachoutletstore-online.com.co/ plaintive blurred, http://www.juicycoutureoutlet.net.co/ cold http://www.michaelkors.com.se/ hesitation, like http://www.michael-kors-outlet.us.org/ Su http://www.michael-kors.com.co/ Yi http://www.nikefree-run.net/ impermanence, http://www.timberlandbootsoutlet.us.com/ cold http://www.nikeshoesoutlet.org.uk/ feast http://www.gucci-outletstore.com/ next http://www.ray-ban-outlet.us.com/ month. http://www.christianlouboutinoutlet.net.co/ Let http://www.jordan-shoes.com.co/ him http://www.swarovski-australia.com.au/ how http://www.airhuarache.co.uk/ Mind, http://www.michael-kors-canada-outlet.ca/ only for http://www.weddingdressesuk.org.uk/ the http://www.michael--kors.us.com/ love affair http://www.nikeskos.dk/ Everlasting, the http://www.toms-shoesoutlet.net/ text http://nike.shoesoutlet.us.com/ from http://www.louis-vuittonblackfriday.com/ the http://www.burberry-outlet.net.co/ heart Think http://www.rolexwatchesforsale.us.com/ that http://www.toryburchoutlet-sale.us.com/ summer, a http://www.nikefree-run.org.uk/ column http://www.salomon-schuhe.com.de/ Chen http://mcmbackpack.co-om.com/ Xiang http://www.poloralphlaurenoutlet.net.co/ a cool http://www.longchamp.us.org/ pillow, which http://www.rayban-sunglassesoutlet.co.uk/ is the http://www.burberrysoutlet2016.com/ roots of http://www.cheapoakley-sunglasses.in.net/ what http://michaelkors.euro-us.net/ you http://www.longchamp-handbagsoutlet.us.com/ need http://www.thomas-sabo.com.de/ to http://www.uggboots.com.de/ make http://www.nike-free-run.de/ tea http://www.hollister-clothing.in.net/ cooking wine, http://www.tommy-hilfiger-online-shop.de/ Hongxiutianxiang http://www.asicsgels.de/ just hand poetry http://www.nike-roshe-run.de/ twos http://www.newbalance.com.es/ Bliss half http://www.burberry2016.co.uk/ a day http://www.michael-kors-handbags.us.com/ can http://www.mkoutletonline.us.com/ tolerate you http://www.pradaoutlet.com.co/ wander. Static http://www.oakleys-glasses.us.com/ water body, http://www.salvatoreferragamo.in.net/ Shen http://www.tomsoutlet-online.com/ soul http://www.beats-by-dre.com.co/ dream, it is only http://www.adidas.org.es/ a few clouds http://www.nike-shoes-canada.ca/ color http://www.oakley-sunglassoutlet.net/ country http://www.chanel-bags.com.co/ Pitt, rivers http://www.montblanc--pens.in.net/ and mountains, jade http://www.designerhandbagsoutlet.net.co/ group. http://www.cheap-oakleyglasses.us.com/ Do http://www.cheap-nike-shoes.net/ not ask http://www.bottega-veneta.us.com/ bustling http://www.rolex-watches.us.com/ past, http://www.adidasshoes.top/ gone; http://www.soft-ballbats.com/ do not http://www.supra-shoes.org/ ask flowery http://www.hermes-outlet.com.co/ Meijuan, http://www.ghd-hairstraightener.net/ Homecoming, http://www.levisjeans.com.co/ heart http://www.guccishoes-uk.co.uk/ like http://www.christian-louboutinshoes.com.co/ hanging http://www.michael-kors-outlet-online.us.org/ a http://www.burberry-outletonlinesale.in.net/ mirror, http://www.michaelkors-outlet-online.com.co/ according http://www.burberrybags-outlet.com/ to http://www.ralphlaurenoutletonline.us.org/ Italian http://www.maccosmetics.gr.com/ Bodhi station.

Three http://www.jordanretro.org/ thousand http://www.air-max.com.de/ Red http://www.michael-kors.com.es/ ink, as http://www.coachoutletstore.net.co/ are http://www.rolexwatches-canada.ca/ cold-blooded http://www.reebok.com.de/ bustling http://www.replica-handbags.in.net/ paper, http://www.tiffany-und-co.de/ into http://www.hollisteronlineshop.com.de/ a http://www.burberry-handbags2016.in.net/ word http://www.hogan.com.de/ discretion. http://www.barbour-factory.com/ Five http://www.louis-vuittonoutletcanada.ca/ thousand http://www.insanity-workout.us.com/ years of http://www.pandorajewellery.com.au/ calligraphy http://www.adidas-superstar.de/ love this, love http://www.tiffanyandco-canada.ca/ flames http://www.gucci-taschen-outlet.de/ smoke http://www.burberry-outletstore.net/ sand http://www.fashionclothes.us.com/ which http://www.replica-watches.com.co/ contained http://www.truereligionjeans.net.co/ five http://www.iphone-cases.net.co/ thousand http://www.hollister.us.org/ years. http://www.bcbg-dresses.com/ Regardless http://www.air-huarache.co.uk/ of http://www.nikerosherun.us/ the http://www.bebeclothing.in.net/ time, http://www.jimmy-chooshoes.com/ and http://www.nike-air-max.com.de/ regardless of http://www.michaeljordan.com.de/ age just enthusiastic, http://www.coco-chanel.com.de/ you http://www.truereligion-outlet.com.co/ can http://www.toryburch-sandals.in.net/ play http://airmax.misblackfriday.com/ the most http://www.swarovski-crystal.us.com/ beautiful http://www.edhardy.us.org/ music http://www.calvin-kleins.us.com/ in http://www.thomas-sabos.org.uk/ the http://www.toms-shoes.net.co/ soul. http://www.oakleysunglasses-cheap.in.net/ Born http://www.nikefactory.org/ This http://www.nike-huarache.nl/ paper declared http://www.ralphlaurenpolos.in.net/ the http://www.louboutin.jp.net/ era http://www.michael-korshandbags.org.uk/ of http://www.tnf-jackets.us.com/ thick http://www.raybans.us.org/ ink, it http://www.bcbg-max-azria.ca/ is http://www.nike-shoesoutlet.us.com/ really http://www.tommyhilfigeroutlet.in.net/ Qing Sansei lucky, http://www.mcm-bags.in.net/ I http://www.cheapjerseys.com.co/ have http://www.jimmy-choos.com/ the edge. http://www.ralph-lauren.com.au/ Not http://www.kate-spade.in.net/ to think http://www.cheaprayban.com.co/ about what flat http://www.michaelkorsoutlet-online.ar.com/ Zeze, do not http://www.thenorthfacejackets.net.co/ repair what suppression suppression triumphantly, play http://coach.euro-us.net/ with my http://airhuarache.shoesoutlet.us.com/ ink, http://www.tomsshoes-outlet.us.com/ paper and http://www.basketballshoes.com.co/ ink, ink http://www.juicycouture.com.co/ into http://www.chi-flatiron.us.com/ song. Wenbujiadian, http://www.ralphlaurenoutlet-online.us.com/ Tengjiao Qifeng. http://www.northfaceoutlet.com.co/ Three feet http://monsterbeats.co-om.com/ of http://www.the-northfacejackets.us.com/ white Xuan, http://www.ugg-uggboots.net/ lead http://www.pandora-charms.org.uk/ me http://www.coachoutlet-online.com.co/ thousand http://www.louisvuittons.com.co/ words http://www.rosherun.org.uk/ mantra; http://www.ugg-bootsclearance.com/ five bucket http://www.moncler-outlet.us.org/ heavy color, any http://www.chanelhandbags.net.in/ time http://www.prada-handbags.com.co/ I http://www.omega-watches.us.com/ wanton http://www.true-religion.com.co/ chapters. http://www.giuseppe-zanotti.net/ Wenqi http://www.longchamp.com.co/ thunder, put http://www.cheapshoes.com.co/ pen http://www.the-northface.com.co/ to http://www.p90xworkout.us.com/ paper http://www.nfl-jersey.us.com/ to http://www.uggsaustralia.com.co/ stay http://www.katespadeoutlet.gb.net/ hui, was http://www.tiffany-andco.com.au/ widely http://www.tommy-hilfiger.co.nl/ bully http://michaelkors.co-om.com/ Zimei, http://www.cheap-raybans.com/ bearing http://www.louis--vuitton.org.uk/ pressure http://www.ralph-laurens.org.uk/ Bai.

http://www.tory-burchshoesoutlet.net/

Post comment

Nick *
Your name or nickname
E-mail
Your contact information (optional, will not be shown)
Text *
Content of your comment
Calculate *
(* - required field)
STAT NO AD [Stat] [Admin] [STAT NO AD] [pub] [Mirror] Copyright © 2004-2016 Adam Sawicki
Copyright © 2004-2016 Adam Sawicki