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:
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:
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
Oh, yes, I forgot the AR difference.