example :
in Virtualdub or AviSynth or other free tool
pliz, this efect:
![]()
+ Reply to Thread
Results 1 to 11 of 11
-
Last edited by dcaro; 15th Aug 2015 at 12:02.
-
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. -
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 -
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 -
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.
Last edited by Budman1; 13th Aug 2015 at 00:11.
-
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
-
WarpResized from http://avisynth.nl/index.php/SimpleResize - btw padding is something else (usually it is solid color)
https://forum.videohelp.com/threads/363684-4-3-to-16-9-avisynth?p=2314433&viewfull=1#post2314433 -
Because it does weird things to your image.
[Attachment 33143 - Click to enlarge] -
Similar Threads
-
How to remove bars at sides of video thumbnails?
By a11 in forum Newbie / General discussionsReplies: 3Last Post: 2nd Jan 2015, 14:12 -
aWarpSharp causing green on the sides of video
By killerteengohan in forum RestorationReplies: 3Last Post: 19th Jul 2014, 12:49 -
need to add black bars on all four sides
By ginahoy in forum Video ConversionReplies: 8Last Post: 30th Jun 2013, 06:29 -
Advice for cutting sides off an AVS4You video
By jackisted in forum Authoring (DVD)Replies: 4Last Post: 25th Aug 2011, 01:32 -
video clip squished/squeezed from the sides
By shaema in forum Video ConversionReplies: 4Last Post: 10th Apr 2011, 13:23