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 Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th September 2018, 11:49   #1  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 130
Wrong angle, how to fix?

I got a movie filmed with a vhs-camera but its in an angle (sadly the original movie does not exist anymore so this is the only copy.) I don't realy know what its called when its not "straight".



Also, the camera is changing a bit, is it possible to crop the black automaticly frame per frame?

It needs to go from:
This - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - to This:

__________________
Automatic Colorization

Last edited by color; 29th September 2018 at 11:55.
color is offline   Reply With Quote
Old 29th September 2018, 13:39   #2  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 8,222
Look to
DavidHorman:- http://horman.net/avisynth/
(maybe Quad)

and

VCMohan plugins:- http://www.avisynth.nl/users/vcmohan/
(maybe one of Perspective, Reform, Reformer).

EDIT: They both have plugs that correct your prob, but not sure of names.

EDIT:
DavidHorman quad dll, using Martin53 demo avs (FlyingColorbars.avs)


and pre-rendered mp4 (~1MB):- http://www.mediafire.com/file/hyz3tl...rbars.mp4/file

EDIT:
Martin53 demo avs (FlyingColorbars.avs)
Code:
ColorBars()
Subtitle("Flying Colorbars()",text_color=$d0c000,align=5,size=40)
ScriptClip("""
    c=last
    t=0.061*current_frame
    t2=0.127*current_frame
    a=0.501+0.5*sin(t/pi)
    t1x=-0.2*cos(t2)
    t1y=0.5-0.5*cos(t2)
    t2x=1.0+0.2*cos(t2)
    t2y=0.5-0.5*cos(t2)
    t3x=1.0+0.2*cos(t2)
    t3y=0.5+0.5*cos(t2)
    t4x=-0.2*cos(t2)
    t4y=0.5+0.5*cos(t2)
    c1x=0.5+a*cos(t)
    c1y=0.5+a*sin(t)
    c2x=0.5-a*sin(t)
    c2y=0.5+a*cos(t)
    c3x=0.5-a*cos(t)
    c3y=0.5-a*sin(t)
    c4x=0.5+a*sin(t)
    c4y=0.5-a*cos(t)
    c.quad(t1x,t1y, t2x,t2y, t3x,t3y, t4x,t4y, normal=true)
    quad(c1x,c1y, c2x,c2y, c3x,c3y, c4x,c4y, normal=true)
""")
Trim(0,562).KillAudio().ConvertToYV12()
EDIT: Also see DavidHorman xyremap [maybe better for your prob] .
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 29th September 2018 at 14:17.
StainlessS is online now   Reply With Quote
Old 29th September 2018, 15:39   #3  |  Link
color
Registered User
 
color's Avatar
 
Join Date: May 2016
Posts: 130
I have tried to get it to work properly, but it was not as easy as I thought. Thank you for the links.

I ended up using:

Quote:
defish(fov=50, scaling="fitx")
Perspective(a= -0.0001, b = 0.00005, ea = 0.0005, eb = -0.0005, x=505,y=655,z =5, color =$00)
It does leave a black line on the top, but thankfully its not so mutch so it can be croped away.
__________________
Automatic Colorization
color is offline   Reply With Quote
Reply

Tags
wrong angle

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 13:07.


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