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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 20th July 2016, 17:53   #1  |  Link
tebugg
Registered User
 
Join Date: Jul 2010
Posts: 14
Turnleft usage

hello everyone. i have a question about the turnleft avisynth command. is it possible to turnleft specific frames only in avisnyth? so that only those frames will get rotated and the rest of the video will stay the original rotation? thanks for your help.
tebugg is offline   Reply With Quote
Old 20th July 2016, 18:23   #2  |  Link
Groucho2004
 
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
That only works with square frames. Usually they're not square so you would have to add padding (with "addborders" for example) to the video to square it. Isolating the frames to be turned can be done with Trim().

Example:
Code:
v = colorbars(width = 640, height = 480, pixel_type = "yv12").killaudio()

v = v.addborders(0, 80, 0, 80)
a = v.trim(0, 9)
b = v.trim(10, 14).turnleft()
c = v.trim(15, 19)
return a++b++c
__________________
Groucho's Avisynth Stuff

Last edited by Groucho2004; 20th July 2016 at 18:32.
Groucho2004 is offline   Reply With Quote
Old 20th July 2016, 19:47   #3  |  Link
tebugg
Registered User
 
Join Date: Jul 2010
Posts: 14
Quote:
Originally Posted by Groucho2004 View Post
That only works with square frames. Usually they're not square so you would have to add padding (with "addborders" for example) to the video to square it. Isolating the frames to be turned can be done with Trim().

Example:
Code:
v = colorbars(width = 640, height = 480, pixel_type = "yv12").killaudio()

v = v.addborders(0, 80, 0, 80)
a = v.trim(0, 9)
b = v.trim(10, 14).turnleft()
c = v.trim(15, 19)
return a++b++c
awesome reply. thank you.
tebugg is offline   Reply With Quote
Reply


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


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