Try this:
Code:
LoadPlugin("C:\Program Files\AviSynth\Plugins\ffms2.dll")
Import("C:\Program Files\AviSynth\Plugins\FFMS2.avsi")
FFmpegSource2("C:\Users\User1\Desktop\VIDEO0007.mp4",atrack=-1)
Trim(0,729) ++ Trim(730,1543).TurnLeft()
This outputs frames 0 to 729 unchanged, followed by frames 730 to 1543 rotated.
Ah, hang on though... You won't be able to join the clips directly like that, as they now have completely opposite aspect ratios. So, you somehow have to conform them to the same aspect ratio and *then* use the "++" to concatenate them.
Try:
Code:
LoadPlugin("C:\Program Files\AviSynth\Plugins\ffms2.dll")
Import("C:\Program Files\AviSynth\Plugins\FFMS2.avsi")
FFmpegSource2("C:\Users\User1\Desktop\VIDEO0007.mp4",atrack=-1)
# This assumes the source clip is wider than it is tall:
W = width()
H = height()
Border = BlankClip(Last,height = (W-H)/2)
StackVertical(Border,Last,Border)
# We should now have a square clip, where width and height are both equal to W
Trim(0,729) ++ Trim(730,1543).TurnLeft()
If the source clip is actually taller than it is wide, then just change:
Code:
Border = BlankClip(Last,height = (W-H)/2)
StackVertical(Border,Last,Border)
To:
Code:
Border = BlankClip(Last,width = (H-W)/2)
StackHorizontal(Border,Last,Border)