Old 01-28-2018, 05:12 AM   #1
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
Default "video processor" simple preset to delay video?

Hi all!

Wondering if someone knew what to enter into the video processor code wise to make a simple adjustable delay preset that will make the video "late" in playing back?

The reason being is I splashed out on some lovely speakers that have a phase accurate mode that is amazing but adds about 98ms of latency so I wanted to added a plugin on the video track and then make a custom command action (in SWS) to enable and disable this delayed video processor plugin whenever I activate the speakers phase linear mode so that the video is also as late as the audio now is.

Any ideas, ideally the delay wants to be an adjustable variable too?

Thanks!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
musicbynumbers is offline   Reply With Quote
Old 01-30-2018, 04:18 PM   #2
Meo-Ada Mespotine
Human being with feelings
 
Meo-Ada Mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig
Posts: 6,621
Default

Such a preset would be cool, but as far as I spend looking into that(not much, though) I'm not aware of such a thing.

But you can try to fiddle around with the following functions.

To get a frame/pointer to a frame, you can use these:
gfx_img_hold(handle)
gfx_img_getptr(handle)

To blit use:
gfx_blit(input[,preserve_aspect=0,x,y,w,h,srcx,srcy,srcw,srch])

I assume, that you can build a buffer with pointers and just blit an earlier one, not the current frame, the rest should be EEL/JSFX-coding.

To get a list of functions supported in the VideoProcessorPlugin, hit F1 in the IDE of the video-processor.
Meo-Ada Mespotine is offline   Reply With Quote
Old 02-05-2018, 10:59 AM   #3
musicbynumbers
Human being with feelings
 
musicbynumbers's Avatar
 
Join Date: Jun 2009
Location: South, UK
Posts: 14,214
Default

Hi Mespotine.

Thanks for replying!

I'll have a look at these. I'm not that knowledgable on JSFX etc so I'm willing to give a bit of money to anyone who can make an adjustable video delay.

If possible using the info Mespotine has given.

Thanks!
__________________
subproject FRs click here
note: don't search for my pseudonym on the web. The "musicbynumbers" you find is not me or the name I use for my own music.
musicbynumbers is offline   Reply With Quote
Reply

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


All times are GMT -7. The time now is 04:27 PM.


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