VideoHelp Forum




+ Reply to Thread
Results 1 to 23 of 23
  1. Hi cats

    I have a .avi file uncompressed that in virtualdub is open as this

    Image
    [Attachment 39041 - Click to enlarge]


    please can I achieve a "normal" image? thanks
    Quote Quote  
  2. Member
    Join Date
    May 2014
    Location
    Memphis TN, US
    Search PM
    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
    Quote Quote  
  3. Member
    Join Date
    Jan 2007
    Location
    United States
    Search Comp PM
    maybe an 'over under" 3D video ?
    Quote Quote  
  4. 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

    Image
    [Attachment 39054 - Click to enlarge]


    ps: I attach the .avi file uncompressed (only 10 frames) if you do some proof
    Image Attached Files
    Quote Quote  
  5. 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 ?
    Quote Quote  
  6. Yes, it's just interlaced video with the fields stacked rather than interleaved line by line.
    Quote Quote  
  7. Code:
    Oh my cat
    Image
    [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 ^^
    Image Attached Files
    Quote Quote  
  8. Originally Posted by marcorocchini View Post
    Code:
    Oh my cat
    Image
    [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.
    Then you encoded with the wrong field order. That script gives BFF output.
    Quote Quote  
  9. 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
    Quote Quote  
  10. Originally Posted by poisondeathray View Post
    To switch it, use interlave(b,t) instead


    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()
    Image
    [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
    Quote Quote  
  11. Originally Posted by marcorocchini View Post
    But I wonder: why exactly 540 lines and not another value?
    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.
    Quote Quote  
  12. 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?

    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()
    thanks
    Last edited by marcorocchini; 26th Oct 2016 at 15:23.
    Quote Quote  
  13. Originally Posted by marcorocchini View Post
    2) in avisynth can I do the same thing avoiding the use of a= in the script?

    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()
    Of course. Just use the assumed "last":

    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()
    You don't even need t and b:

    Code:
    Interleave(Crop(0,height/2,0,0,true), Crop(0,0,0,-height/2,true))
    AssumeTFF().AssumeFieldBased().Weave()
    Quote Quote  
  14. Originally Posted by marcorocchini View Post


    and... for kindness in ffmpeg how can I do this operation? thank

    -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
    Quote Quote  
  15. Thanks but only one thing:

    and in virtualdub how can I open this type of file?
    Quote Quote  
  16. Originally Posted by marcorocchini View Post
    and in virtualdub how can I open this type of file?
    Use the earlier AviSynth script.
    Quote Quote  
  17. Originally Posted by jagabo View Post
    Originally Posted by marcorocchini View Post
    and in virtualdub how can I open this type of file?
    Use the earlier AviSynth script.
    Image
    [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?
    Quote Quote  
  18. Originally Posted by marcorocchini View Post
    Thanks but only one thing:

    and in virtualdub how can I open this type of file?
    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
    Quote Quote  
  19. Originally Posted by marcorocchini View Post
    Really virtualdub cannot do this operation?
    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.

    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"
    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.
    Quote Quote  
  20. 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
    Quote Quote  
  21. 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?
    Quote Quote  
  22. It's so obvious I don't understand how you can not figure this out yourself.

    Code:
    SeparateFields()
    StackVertical(SelectEven(),SelectOdd())
    Quote Quote  
  23. because I'm a cat, but THHHANKS it work
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!