Hi there!
Let's say I have the following video files:
A: MP4, x264, 23.976 fps, 640x480
B: WMV, WMV1, 25 fps, 854x480
What I want to achieve is a merged video file like this:
vid1/B(0,2123)++vid2/A(2400,32000)++vid3/B(31723,34000)
The numbers in brackets are the frames of the corresponding video files.
The output file should be 640x480 in 25 fps. I usually use Spline16Resize to achieve my desired output resolution.
Can someone explain to me how I can load multiple sources and merge them like above + getting the desired framerate?
Thanks for any help!![]()
+ Reply to Thread
Results 1 to 4 of 4
-
-
Depends on exactly how you want to change the frame rate. Something like this is simplest:
Code:A = LSMASHVideoSource("vid1.mp4").ChangeFPS(25) # or AssumeFPS(25, sync_audio=true) B = LWlibavVideoSource("vid2.wmv").Spline36Resize(640,480) B.Trim(0,2123)++A.Trim(2400,32000)++B.Trim(31723,24000)
Last edited by jagabo; 27th Jul 2020 at 12:35.
-
Does B have pillar boxing ?
You might want to adjust for the aspect ratio, if A is 4:3 , and B is 16:9
Similar Threads
-
Creating AVS script in MeGui
By Manxsee in forum Video ConversionReplies: 2Last Post: 12th Jun 2018, 12:24 -
Creating AVS script in MeGui . .
By Manxsee in forum Newbie / General discussionsReplies: 1Last Post: 12th Jun 2018, 11:31 -
Importing Avs script in premiere
By Digital85 in forum Newbie / General discussionsReplies: 30Last Post: 2nd Mar 2018, 00:04 -
Merging sources
By Akai-Shuichi in forum RestorationReplies: 2Last Post: 22nd Nov 2016, 19:12 -
How to resolve some errors with avs script?
By robusco in forum Video ConversionReplies: 12Last Post: 4th Dec 2015, 12:37