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 12th September 2012, 16:32   #1  |  Link
mariasx
Registered User
 
Join Date: Sep 2012
Posts: 4
layer filter with 2 or more layers

is it possible to create video with more layers than one?

Here is not working code:

Code:
clip1 = AviSource("d:\Dropbox\video\bgr.avi").ConvertToYUY2
clip2 = AviSource("d:\Dropbox\video\layer.avi").ConvertToYUY2
cliplayered = layer(clip1, clip2, x=10, y=10)
layer(clip1ayered, clip2, x=50, y=50)
Thanks a lot
mariasx is offline   Reply With Quote
Old 12th September 2012, 18:09   #2  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Looks like your script ought to work.
What result do you get?
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Old 13th September 2012, 09:42   #3  |  Link
mariasx
Registered User
 
Join Date: Sep 2012
Posts: 4
Sorry, I made typo in variable cliplayered on line 4: clip1ayered

Corrected code is working perfectly.

Thanks for help anyway

Last edited by mariasx; 13th September 2012 at 09:43. Reason: adding explanation
mariasx is offline   Reply With Quote
Reply

Tags
layer, pip


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 03:24.


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