VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member
    Join Date
    Jul 2015
    Location
    Colombia
    Search Comp PM
    example :




    in Virtualdub or AviSynth or other free tool
    pliz, this efect:

    Click image for larger version

Name:	12-08-2015 10-24-03 a-m-.png
Views:	764
Size:	224.8 KB
ID:	33123
    Last edited by dcaro; 15th Aug 2015 at 12:02.
    Quote Quote  
  2. In AviSynth you can first Crop away the sides followed by using the AddBorders command to add back the sides as black.

    Alternatively you can turn it on its side with TurnLeft, followed by using the Letterbox command to cover up whatever you want with black, followed by TurnRight.

    http://avisynth.nl/index.php/Crop

    http://avisynth.nl/index.php/AddBorders

    http://avisynth.nl/index.php/TurnLeft

    http://avisynth.nl/index.php/Letterbox

    VDub can do similar things.
    Quote Quote  
  3. Add border is one way, but the video looks more like the original video overlaying an enlarged(perhaps blurred also) version.
    Can be done in any NLE.
    Stopping development until someone save me from poverty or get me out of Hong Kong...
    Twitter @MaverickTse
    Quote Quote  
  4. Oh, reading your post I see I may have not figured out what he wanted correctly. You think he wants to create that blurry and enlarged version of the video for the sides, and not remove it to be replaced with black bars? Yeah, you may be right about that. Thanks.

    If so, AviSynth can do it easily as well, by resizing up and then cropping down to the final size and blurring the video, followed by using the overlay command to put the original version inside the blurred version.

    I usually use MedianBlur for my blur work.

    http://avisynth.nl/index.php/MedianBlur

    http://avisynth.nl/index.php/Overlay
    Quote Quote  
  5. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    Works perfectly but I went with stackhorizontal because it was easier than overlay for me. I might have oversized the edges but I went for nice round numbers and it only took about 15 minutes with calculations. In order to make it look right the sides must be a crop from middle areas to show distance from subject.

    Image was 640x480 and left crop was x=160, y=0, w=80, h=480. This was resized and blurred to 160x960 and recropped to x=0, y=240, w=160, h=480 in the same operation as the crop. Similar calculations for right side and then Stackhorizontal

    v1=DirectShowSource(("C:\Users\Bud\Desktop\Temp\bi rthday with audio_Timed_1.flv"), Pixel_Type="yuy2").Crop(0,0,-0,-0)
    v2=DirectShowSource(("C:\Users\Bud\Desktop\Temp\bi rthday with audio_Timed_3.flv"), Pixel_Type="yuy2").Crop(0,0,-0,-0)
    v3=DirectShowSource(("C:\Users\Bud\Desktop\Temp\bi rthday with audio_Timed_5.flv"), Pixel_Type="yuy2").Crop(0,0,-0,-0)
    stackhorizontal(v2, v1, v3)

    The 'Timed' thingy is just something my program throws in by default.

    Click image for larger version

Name:	ScreenHunter_159 Aug. 12 23.54.jpg
Views:	784
Size:	57.7 KB
ID:	33132
    Last edited by Budman1; 13th Aug 2015 at 00:11.
    Quote Quote  
  6. Starting with the png image in the first post, cropping it to use just the center portion as a starting point:


    Code:
    ImageSource("attachment.png") # get the image, use an appropriate source filter for your video
    fg=Crop(176,50,-214,-82) # remove existing borders, may not be necessary for your video source
    bg=fg.BilinearResize(16,32).BicubicResize(fg.width*2,fg.height*2) # create a blurred background 2x as big
    Overlay(bg, fg, x=bg.width/4, y=bg.height/4) # overlay the image onto the background
    Crop(0, bg.height/4, -0, fg.height) # crop the top and bottom borders
    Click image for larger version

Name:	result.jpg
Views:	1802
Size:	17.1 KB
ID:	33133
    Quote Quote  
  7. I would never use a warped resize.
    Quote Quote  
  8. Originally Posted by jagabo View Post
    I would never use a warped resize.
    Why?
    Quote Quote  
  9. Originally Posted by pandy View Post
    Originally Posted by jagabo View Post
    I would never use a warped resize.
    Why?
    Because it does weird things to your image.

    Image
    [Attachment 33143 - Click to enlarge]
    Quote Quote  
  10. Originally Posted by smrpix View Post
    Originally Posted by pandy View Post
    Originally Posted by jagabo View Post
    I would never use a warped resize.
    Why?
    Because it does weird things to your image.

    Image
    [Attachment 33143 - Click to enlarge]
    I think this is exactly as it should be - nonlinear scaling - use this one as background and overlay on top unresized one...
    Quote Quote  



Similar Threads

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