VirtualDub top menu.
"View" --> disable "Arrange video panes vertically".
Then right-click anywhere on the image and in the right-hand side of the resulting menu, click on "16:9" at the bottom of the window.
Hi cats
I have a .avi file uncompressed that in virtualdub is open as this
[Attachment 39041 - Click to enlarge]
please can I achieve a "normal" image? thanks
VirtualDub top menu.
"View" --> disable "Arrange video panes vertically".
Then right-click anywhere on the image and in the right-hand side of the resulting menu, click on "16:9" at the bottom of the window.
Last edited by LMotlow; 25th Oct 2016 at 13:37.
- My sister Ann's brother
maybe an 'over under" 3D video ?
mm I think the problem is another. I see this type of uncompressed file is shown "doubled" in virtualdub. Also avisynth read it bad. I wonder if is there a way to "merge" the 2 images so that I can see the full frame as right
[Attachment 39054 - Click to enlarge]
ps: I attach the .avi file uncompressed (only 10 frames) if you do some proof
Maybe something like this ?
Code:a=AVISource(u3.AVI") t=a.Crop(0,0,0,-540,true) b=a.Crop(0,540,0,0,true) Interleave(t,b) AssumeTFF().AssumeFieldBased() Weave()
Where is video from ? Did your cat mess it up ?
Yes, it's just interlaced video with the fields stacked rather than interleaved line by line.
Code:Oh my cat
[Attachment 39056 - Click to enlarge]
a=AVISource(u3.AVI")
t=a.Crop(0,0,0,-540,true)
b=a.Crop(0,540,0,0,true)
Interleave(t,b)
AssumeTFF().AssumeFieldBased()
Weave()
Seems work a little but in hardware playback is jerky.
Possibly it should have something like this uncompressed (in a different "normal" mode) like this u3ok.avi attached ^^
To switch it, use interlave(b,t) instead
If you want progressive, then bob deinterlace after
(Next time, don't let your cat near computer)
Please don't uncompressed video without archiving it (e.g. zip, 7zip etc...) , or lossless compression
Code:LoadPlugin("v:\automazioneclip\avisynth\plugins\LSMASHSource.dll") a=LWLibavVideoSource("C:\stackedToInterleave.AVI") t=a.Crop(0,0,0,-540,true) b=a.Crop(0,540,0,0,true) Interleave(b,t) AssumeTFF().AssumeFieldBased().Weave()
[Attachment 39058 - Click to enlarge]
But I wonder: why exactly 540 lines and not another value?
for example if I have a clip SD 720x576 is this script applyable?
and... for kindness in ffmpeg how can I do this operation? thank![]()
Because it's a 1080p frame. If it was a 576p frame half would be 288. Generalized for any frame size:
Code:LoadPlugin("v:\automazioneclip\avisynth\plugins\LSMASHSource.dll") a=LWLibavVideoSource("C:\stackedToInterleave.AVI") t=a.Crop(0,0,0,-a.height/2,true) b=a.Crop(0,a.height/2,0,0,true) Interleave(b,t) AssumeTFF().AssumeFieldBased().Weave()
Last edited by jagabo; 26th Oct 2016 at 11:32.
Ahn thanks, but please my cat have only 2 question:
1) is possible to do it with ffmpeg?
2) in avisynth can I do the same thing avoiding the use of a= in the script?
thanksCode:LoadPlugin("v:\automazioneclip\avisynth\plugins\LSMASHSource.dll") a=LWLibavVideoSource("C:\stackedToInterleave.AVI") t=a.Crop(0,0,0,-a.height/2,true) b=a.Crop(0,a.height/2,0,0,true) Interleave(b,t) AssumeTFF().AssumeFieldBased().Weave()
Last edited by marcorocchini; 26th Oct 2016 at 15:23.
Of course. Just use the assumed "last":
You don't even need t and b:Code:LWLibavVideoSource("C:\stackedToInterleave.AVI") t=Crop(0,0,0,-height/2,true) b=Crop(0,height/2,0,0,true) Interleave(b,t) AssumeTFF().AssumeFieldBased().Weave()
Code:Interleave(Crop(0,height/2,0,0,true), Crop(0,0,0,-height/2,true)) AssumeTFF().AssumeFieldBased().Weave()
-vf il=l=i:c=i
eg using utvideo
Code:ffmpeg -i u3.avi -vf il=l=i:c=i -c:v utvideo -an output_utvideo.avi
Thanksbut only one thing:
and in virtualdub how can I open this type of file?![]()
Use the earlier AviSynth script.
[Attachment 39073 - Click to enlarge]
ahn I understand, avisynth is magic but in certain situation I have some file of 500-600 GB considering that i manage fullHD uncompressed and avisynth have to do the ffindex/lwi ... avisynth need dozen of minutes to calculate they ffindex/lwi also if avisynt is indispensable or perhaps the only to work.
Really virtualdub cannot do this operation?![]()
![]()
for the ffmpeg output, install ut video codec or use another compression with ffmpeg
eg. if you wanted to use uncompressed 8bit 422 "UYVY"
Code:ffmpeg -i u3.avi -vf il=l=i:c=i -pix_fmt uyvy422 -vcodec rawvideo -an -vtag "UYVY" output_UYVY.avi
I'm not aware of any VirtualDub filter (or combination of filters) that can do this. You could write your own filter to do it.
Just make yourself a batch file that builds the AviSynth script and runs VirtualDub with that script.
Modify the batch file to suit your source type and location of VirtualDub. Drag and drop an AVI file onto that batch file. Or put it into your SendTo folder, right click on an AVI file and select Send To ->batchfilename.Code:echo AviSource("%~dpnx1") > "%~1.avs" echo Interleave(Crop(0,height/2,0,0,true),Crop(0,0,0,-height/2,true)) >> "%~1.avs" echo AssumeTFF().AssumeFieldBased().Weave() >> "%~1.avs" "G:\Program Files\VirtualDub\VirtualDub" "%~1.avs"
deinterlace filter has "unfold side by side" option, but not "above under".
try searching some 3d manipulation plugin, like this http://www.stereoscopie.fr/tech/vdubfilters.php?l=EN
Code:Interleave(Crop(0,height/2,0,0,true), Crop(0,0,0,-height/2,true)) AssumeTFF().AssumeFieldBased().Weave()
please help a cat: I need to do the inverse operation
from interleave to stacked, with avisynth
from "normal" image --> to the first one "doubled"
How I can do?
It's so obvious I don't understand how you can not figure this out yourself.
Code:SeparateFields() StackVertical(SelectEven(),SelectOdd())
because I'm a cat, but THHHANKS it work![]()
now I need to modify the .avi "stacked" to tell to program that opens it that .avi is stacked.
If I don't mistake is necessary modify some bytes on VPRP section of the header of file stacked: someone have idea of how to do this?
The standard .avi container/file format has no provision to signal this, AFAIK.
https://cdn.hackaday.io/files/274271173436768/avi.pdf
Why are you stacking the 2 fields of your interlaced source? Maybe I misunderstand your request, but are you possibly mixing up interleave (packed) vs planar to satisfy your program that opens it? Which program?
http://avisynth.nl/index.php/ConvertToYUY2
https://avisynthplus.readthedocs.io/en/latest/avisynthdoc/corefilters/convert.html
Code:v=LWLibavVideoSource("your source") a=v.converttoYUY2(interlaced=true) #for interleaved YUY2 output b=v.converttoYV16(interlaced=true) #for planar YV16 output return a #or b
Last edited by Sharc; 5th Aug 2025 at 04:04.
no simply cat experiment
I wonder if is there a way to write, using virualdub, a .avi file uncompressed that mediainfo see as "interlaced" like my
[Attachment 88148 - Click to enlarge]
Do you mean something like this:
Last edited by Sharc; 5th Aug 2025 at 16:57.