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. |
|
15th October 2024, 01:49 | #1 | Link |
Registered User
Join Date: Nov 2003
Posts: 416
|
Need similar to Vdub's Tweaker only part of frame
I need a function similar to VirtualDub's Tweaker, which I used to use to copy a frame over the top of subsequent frames. Some weird combination of "loop" commands could do it probably.
However, my need is narrower. Let's say my video is 9 frames long, number 0 thru 8. I need to copy frame 1 on top of frames 2, 3 and 4, BUT ONLY lines 123 thru 129 of the frame. Does anyone know of something that does this? I suppose I could settle for exactly what Tweaker does, but I really don't want to tamper with lines outside my range of 123-129. (The damage is within lines 123-129 on frames 2-4.) EDIT: I supposed I should add that the REAL problem is several lines are radically shift sideways. So really, my desire is a way to manually shift just those lines in those frames. Maybe THAT exists already. But there ARE cases where I would need to not directly fix the particular lines but copy them from the prior frame. Last edited by TCmullet; 15th October 2024 at 02:57. |
15th October 2024, 07:45 | #2 | Link |
Big Bit Savings Now !
Join Date: Feb 2007
Location: close to the wall
Posts: 1,751
|
HorizontalStripReplacer, horizontal shift not yet implemented:
Code:
LWLibavVideoSource("yourfilepathhere") replacestripsourceframe=1 replacestripstartframe=2 replacestripendframe=4 replacestripstartline=123 replacestripendline=129 source422=ConvertToYUV422() replacestrip=Crop(FreezeFrame(source422,0,framecount-1,replacestripsourceframe),0,replacestripstartline,0,1+replacestripendline-replacestripstartline) Trim(source422,0,-1)++Trim(StackVertical(Crop(source422,0,0,0,replacestripstartline-1),replacestrip,Crop(source422,0,replacestripendline,0,0)),replacestripstartframe-1,replacestripendframe)++Trim(source422,replacestripendframe+1,0)
__________________
"To bypass shortcuts and find suffering...is called QUALity" (Die toten Augen von Friedrichshain) "Data reduction ? Yep, Sir. We're that issue working on. Synce invntoin uf lingöage..." Last edited by Emulgator; 15th October 2024 at 17:48. |
Thread Tools | Search this Thread |
Display Modes | |
|
|