I want to add black bars to a MP4 video file. Someone can help me...which tool i use for this...
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 10 of 10
Thread
-
-
There's a switch - someone that wants to add black bars. You might mention what it's for. For example, UncropMKV will add them back to make downloaded MKVs Blu-Ray compliant again.
And you realize adding the bars means reencoding the whole thing? So, The AviSynth AddBorders command will add back black on any and all sides, however much black you might want. But you'll need to know some AviSynth to be able to use it. There are some programs (MeGUI, for example) that use AviSynth scripts which they allow you to edit and modify.Last edited by manono; 31st Oct 2015 at 21:48.
-
.
Very simple (since "wisiwig") with "AviDemux" (freeware) — though almost everybody usually asks how to remove, them black stripes... but well...
The video has to be recoded for sure. So, choose a codec (may be / probably): Video output: "Mpeg4 AVC (x264)".
If original .aac audio, "Audio output" can be set to "Copy" (no recode). Otherwise, you may need audio recoding — to .aac (with an AVC H.264 video stream).
To add borders:
under Video output, click "Filters" button. And under "Available filters", double click "Add borders"; then set their heights (equal or not): Top: XX pixels, Bottom: XX or YY * px. (all even numbers!).
* Check original video height in pixels and, when adding borders, try to end up with a dividable by 8 total height (or total width, if you want vertical bars), or better: 16 (or, if too difficult, depending on personal requirements, by 4; by 2 works also... at least with "x264" codec / beware of any odd number, either refused or often problematic).
.Last edited by bulgom; 31st Oct 2015 at 19:00.
-
-
The program is something I wrote that does most of what people ask for instructions on. I use it to create the script without taxing my memory and verify it works. Then I post the images for people who are not familiar with FFMpeg or AVIsynth so they can match the script parts to the labeled image. It was designed to stop with the scripts or avisynths saved as files for people to check if they need to learn or change if they already know them.
Rotating for 90, 180,270 is easily done with the transpose/hflip/vflip:
-vf transpose=1 (rotate 90)
-vf transpose=2 (rotate 270)
-vf vflip,hflip (rotate 180)
Or if you want by degrees, the later ffmpegs have "rotate" added as a -vf filter. Plus degrees for clockwise and - degrees (-vf "rotate=-10*PI/180") for counterclockwise. Be sure to use CAPITAL letters for the PI/180
Last edited by Budman1; 1st Nov 2015 at 13:25.
-
You can also use avisynth and get creative:
Code:v1 = DirectShowSource("C:\Users\Bud\Desktop\untitled.rm").converttoyv12.lanczosresize(160,160).Rotate(-45) v2 = v1.TurnLeft() v3 = v1.TurnRight() v4 = v3.TurnRight() v5 = v3.TurnLeft() v6 = v3.turnRight() StackVertical(StackHorizontal(v2,v1,v3), StackHorizontal(v5,v4,v6)) Rotate(45)
Last edited by Budman1; 2nd Nov 2015 at 00:36.
Similar Threads
-
Changing the resolution of MP4 video by adding black band to top and bottom
By Crea in forum Video ConversionReplies: 10Last Post: 15th Aug 2015, 17:18 -
Adding Black Bars
By wulf109 in forum Video ConversionReplies: 2Last Post: 15th May 2015, 20:42 -
Change aspect ratio or frame size of video without adding black bars ?
By Rhlsg in forum Video ConversionReplies: 6Last Post: 20th Jun 2013, 22:09 -
How do I add black bars to a video?
By Onceler2 in forum Video ConversionReplies: 7Last Post: 20th Mar 2013, 17:53 -
need to correct Aspect Ratio by padding/adding black bars - author AVCHD
By texas1 in forum Authoring (Blu-ray)Replies: 3Last Post: 24th Nov 2011, 11:44