The video is a YouTube (480p flv).
Input Video has
1. Aspect ratio of 5:4
2. Resolution of 600x480 (Black Bars = 30 pixels at the top and 30 pixels at the bottom) as shown in Picture and Info below.
Which tool shall I use and what settings will be appropriate to do the following
1. Remove Black Bars
2. Change aspect ration to 16:9
3. Encode Video as MP4 .
Here is input video info
Code:General Format : Flash Video File size : 127 MiB Duration : 34mn 22s Overall bit rate : 518 Kbps Video Format : AVC Format/Info : Advanced Video Codec Format profile : Main@L3.0 Format settings, CABAC : Yes Format settings, ReFrames : 3 frames Format settings, GOP : M=1, N=60 Codec ID : 7 Duration : 34mn 22s Bit rate : 380 Kbps Width : 600 pixels Height : 480 pixels Display aspect ratio : 5:4 Frame rate mode : Constant Frame rate : 29.970 fps Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.044 Stream size : 93.5 MiB (73%)
+ Reply to Thread
Results 1 to 10 of 10
-
Last edited by t4ure4n; 17th Aug 2012 at 09:40. Reason: Added Info
-
Somthing's not right with either what you're stating or what you're wanting.
If it is truly 600x480 with 1:1 PAR, it is 5:4 DAR. But if you were to remove the black bars it would then be 600x420 (480-30-30). With the same 1:1 PAR, that leaves you with a DAR of 1.428, NOT the 16:9 (aka 1.7777) that you were suggesting.
Only way to change that would be to stretch or pad/crop.
Where did this come from, because it likely didn't start out as 600x480? That is not standard.
Scott -
The video I am trying to convert is from Youtube and encoded as FLV 480p. I think the black bars were there in the uploaded video because at some point in video there is text at the bottom.
First I tried SUPER 2012 build 52 to convert the video, little did I know that it has bundled viruses. I spent more than 2 hours remove the junk from this software.
Today I tried Handbrake, It detected the source as 600x480 (5:4). It automatically cropped the black area at the top and bottom with resulting video as 600x348 and strict anamorphic i.e 16:9. See the image below
Now I have a second question if you can answer, What tool can allow me to do the following
- Crop video (i.e top and bottom)
- Re-Mux video in different container (MP4/MKV)
- DON'T RE-ENCODE Audio & Video Streams
Although Handbrake allows me to crop and re-mux, I haven't found option to do it without re-encoding audio and video streams. -
Why not use good ol Virtualdub.
Install the flv plugin in Vdub's plugins32 folder or plugins64 folder depending on which version you're using
load the video file
under video tab open filters
use the "null transform" filter to crop
if you have the "x264vfw" encoder install you can also encode
so now you can crop (null transform filter) resize (resize filter) encode mp4 (x264vfw encoder) all in one step or individually -
5:4 is the D1 frame size ratio for PAL video. If you look closely I think you'll find that every 6th frame is a duplicate because a 25 fps PAL source was converted to 29.97 fps by duplicating every 5th frame.
Assuming it was a 16:9 video letterboxed in a 4:3 DAR PAL frame, I would crop away 64 lines at the top and bottom, 8 columns at the left and right, then resize the height to leave 584x328. That will probably be close to the original aspect ratio:
I'd also remove the duplicate frames. -
-
The cropping/resizing/duplicate frame removal can all be done at once and in a single encode. You're the one that wants to 'fix' it and get it right. As far as I know, the only way to remove one duplicate frame in six is with an AviSynth script and one of its decimating filters. Using TIVTC's filter, that part of the script goes:
TDecimate(Mode=0,Cycle=6,CycleR=1)
Similar Threads
-
How use VLC to convert Youtube flv files to other video formats?
By solarblast in forum EditingReplies: 1Last Post: 24th Jul 2011, 13:43 -
YouTube FLV to MP4 with SUPER?
By terrypin in forum Video ConversionReplies: 0Last Post: 28th Dec 2010, 06:06 -
editing mp4/flv files from youtube in virtualDub
By tolland in forum EditingReplies: 2Last Post: 16th Nov 2009, 16:50 -
Convert to flv for youtube? What software?
By vid83 in forum Video Streaming DownloadingReplies: 3Last Post: 18th Jun 2008, 07:24 -
youtube FLV video with h264 (x264) and/or aac (mp4) audio
By wiseant in forum Video ConversionReplies: 1Last Post: 26th Oct 2007, 16:49