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 > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 2nd December 2012, 14:20   #1  |  Link
doggyjumper
Registered User
 
Join Date: Aug 2008
Posts: 9
Slit scan (fotofinish)

Based on http://forum.doom9.org/showthread.php?t=140622 I played with making a kind of photofinishshot. Works great.

wanted to add some timemarkers (lines) every x frames in the end result, tried various way (like cropping and adding border on individual frames etc) but got lost (not able to ) . Any suggestions ?

Quote:
Video=AviSource("C:\file.avi")

Video=SeparateFields(Video)
Video=Bob(Video)

Video=ConvertToYV12(Video).MSU_FRC(20, "fast")
Video=ConvertToRGB(Video) # avoid cropping restrictions

DeMorse(Video,1,1)
Subtitle("FotoFinish",align=7)
ImageWriter("C:\finishtest\finishx", 0, 0, "jpg")

function DeMorse(clip c, int p, int f)
{
DeMorse2(Crop(c, 0, 0, p, 0), c.Trim(f, 0), p, f)
}

function DeMorse2(clip left, clip right, int p, int f)
{
left = StackHorizontal(left,right.Crop(250, 0, p, 0))
right.Framecount <=10 ? left : DeMorse2(left, right.Trim(f, 0), p, f)
}
doggyjumper is offline   Reply With Quote
Old 2nd December 2012, 15:41   #2  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Quote:
Originally Posted by doggyjumper View Post
wanted to add some timemarkers (lines) every x frames in the end result, tried various way (like cropping and adding border on individual frames etc) but got lost (not able to ) . Any suggestions ?
Perhaps just adding a grid of vertical lines to the final result would suffice:
http://avisynth.org/vcmohan/Grid/Grid.html
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Reply

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 06:54.


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