I tried resizing my videos to 720 x 480 with a 4:3 aspect ratio by setting SAR to 10 width and 11 height, but it makes the frame 640 x 480 with added black bars. Is this supposed to happen? Or what should I do to resize to 720 x 480 with a 4:3 aspect ratio? The original sources that I have aren't 720 x 480. Video that starts with #2 is the original video and the one I resized is one from Vdub with SAR 10/11 at 720 x 480
+ Reply to Thread
Results 1 to 23 of 23
-
-
The black bars left and right are part of the video. You have to use the crop tool and crop them out.
https://files.videohelp.com/u/152675/cropped2.mkv -
Anonymous84Guest
--
Last edited by Anonymous84; 8th May 2024 at 17:49. Reason: Deleted as no point in helping egoistic person who can't even thank you
-
-
I understand however I want the resolution to be 720 x 480 so cutting them out would make it 640 x 480 with an aspect ratio of 4:3. I flagged thea aspect ratio via Vdub as how you described via SAR width 10 and SAR height 11. It is correctly outputted as 4:3 however the actual frame itself is downscaled to 640. I had the original videos above 640 (715ish x 480) so i'm not sure why its downscaling to 640 rather than being put at 720. The way it is done is confusing
-
-
Yes I forgot to mention that, I'm actually putting them on DVD as a backup, might also watch them via that way as well and also I would want to stick with NTSC standard. Many of the threads and comments I've seen is to always have a 720 x 480 resolution over any other low resolution -
Use Shotcut for example as you have requested in your other thread. The procedure has been explained there. Simply use SD NTSC as your Viedo Mode, crop using the 'Crop:Source' filter and encode accordingly as 720x480 4:3. The standard templates are there in Shotcut. Also keep in mind that DVD is mpeg2 rather than AVC/mpeg4.
P.S. You can do similar with Vdub2 btw.Last edited by Sharc; 31st Mar 2024 at 17:17.
-
Resize settings for VDub after cropping:
[Attachment 78065 - Click to enlarge]
Encode with SAR 10:11 and it should display as 4:3 (I am assuming 10:11 is correct because it's mentioned above). -
That's what's supposed to happen. If you crop to 640x480 it's 4:3. You then stretch the width to 720, but encode with a PAR of 10:11 so it displays as 4:3 (640x480) on playback.
Using the Avisynth function in my signature, just to show you the numbers....
Here's how much you'd need to crop in order to crop the image cleanly to 4:3 (44,2,-48,-6). For 720x480 with a PAR of 10:11 it means you'd need to resize to 704x480 and add 8 pixel borders each side, as 10:11 makes the DAR slightly wider than 4:3 (1.3636 rather than 1.3333). You won't be able to crop the extra 0.5 of a pixel shown in the screenshot with VirtualDub so it'll be a pixel off, which isn't much. It'll display as 654x480.
CropResize(720,480, 44,2,-48,-6, OutDAR=15.0/11.0, Borders=true)
Cropping preview.
[Attachment 78066 - Click to enlarge]
Cropped and resized, plus borders.
[Attachment 78067 - Click to enlarge]
How it'll display on playback (resized to 652x480 for mod4 dimensions).
[Attachment 78068 - Click to enlarge]
If you don't want any borders, you'll need to crop a little extra from the height to make the DAR of the remaining picture 1.3636, or a little wider (44,8,-48,-12).
CropResize(720,480, 44,8,-48,-12, OutDAR=15.0/11.0)
Cropping preview (edit to upload the correct pic).
[Attachment 78076 - Click to enlarge]
Cropped and resized.
[Attachment 78070 - Click to enlarge]
How it'll display on playback (resized to 652x480 for mod4 dimensions).
[Attachment 78071 - Click to enlarge]
Keep in mind though, that once it's a vob file most hardware players these days will display the video as exactly 4:3, regardless of the 10:11 PAR (the player will assume the PAR is 8:9). MKVs and MP4s are different as the correct PAR can be stored.
If that's the case, you may prefer to crop the video to 4:3 and use an 8:9 PAR so you don't need to add black borders.
CropResize(720,480, 44,2,-48,-6, OutDAR=4.0/3.0)
Cropping preview.
[Attachment 78072 - Click to enlarge]
Cropped and resized.
[Attachment 78073 - Click to enlarge]
How it'll display on playback.
[Attachment 78074 - Click to enlarge]Last edited by hello_hello; 31st Mar 2024 at 23:18.
Avisynth functions Resize8 Mod - Audio Speed/Meter/Wave - FixBlend.zip - Position.zip
Avisynth/VapourSynth functions CropResize - FrostyBorders - CPreview (Cropping Preview) -
Yes. That's what Shotcut did in my post#8 using its SD NTSC DVD defaults. But frankly, in view of the OP's more prominent flaws of his clips (dropped frames, crushed and clipped whites, elevated blacks, wobbling, lack of details) I wouldn't bother too much about a few pixels more or less and the "true or speculatively correct" DAR-PAR-SAR-FAR-MAR ... jumble
.
Now assuming (!) that the original is (or was) a regular 720x480 VHS capture with small side borders (approx 2x8 pixels) I would eventually suggest to make it 704x480 4:3 mpeg2 without any borders, which is DVD spec compliant as well.Last edited by Sharc; 1st Apr 2024 at 03:05.
-
Those black bars should not be there in the first place, What is the source of these files and why they are not 720x480 without black bars or with 16 black pixels if originated from analog video tapes? Resizing 640 to 720 again worsen the video quality, Just crop to 640x480 and watch them in square pixel 4:3 ratio.
Another member here was in the same situation and we had a long discussion about it. -
This advice has been given to him in his recent thread but now the OP wants to have it NTSC DVD compliant it seems.....
FWIW here the 704x480 NTSC DVD variant (PixelAspectRatio 10:11):Last edited by Sharc; 1st Apr 2024 at 11:37.
-
-
There is nothing to resize.
Use clever FFmpeg-GUI, start it and follow the instructions.
Then load your #2 video not edited.mp4, click main, click various, click change DAR, insert 1.33 (=4:3) in the new DAR field, click change.
No recoding, just stream copy.
Done.
[Attachment 78101 - Click to enlarge] -
-
If you want use filter and reencode then set the target DAR instead of SAR.
This way the right sar is applicated automatically. -
Also on virtualdub what should my framing option be if I need.to resize?
-
I found another link that says here to choose "letterbox/crop to size" and to use relative not absolute pixels so I'm not sure which it is
https://www.digitalfaq.com/forum/video-editing/4207-how-properly-crop.html -
Yes, Lordsmurf uses a different technique. I crop then resize. I don't have/want/like black borders.
By the looks of that post, he resizes, crops, then resizes again.
Spotted the typo in it.
Edit: I think LS uses the three-step technique because that version of VDub doesn't have a Crop filter, per se. You have to activate another filter before the cropping function becomes available. In VDub 2, there is a standalone Crop filter, activated in the normal filter way.Last edited by Alwyn; 2nd Apr 2024 at 09:26. Reason: Extra info added.
-
This simple ffmpeg commandline should be good enough for producing NTSC DVD compliant 4:3 files (PAR=10:11) for any of the OP's samples.
Code:ffmpeg -i "%~1" -c:a ac3 -c:v mpeg2video -b:v 6000k -maxrate 9800k -vf "crop=640:480, scale=w=704:h=480" "%~1_DVD.vob"
Code:ffmpeg -i "%~1" -c:a ac3 -c:v mpeg2video -b:v 6000k -maxrate 9800k -vf "crop=4/3*oh:ih-12,pad=640:480:-1:-1,scale=w=704:h=480" "%~1_DVD.vob"
- Copy the commandline into notepad and save it to your desktop as pokemon.cmd.
- Now drag and drop your file onto that icon on your desktop. A new NTSC 4:3 DVD compliant .vob file with ac3 audio will be created in the folder of your source.
Could also be put in an batch to process all files one by one automatically.Last edited by Sharc; 2nd Apr 2024 at 16:53. Reason: Added: How to use
-
-
DVDStyler might be a good option for a DVD compliant solution. If you can't recapture properly as recommended you can crop and rescale in DVDStyler as needed etc. Sample attached.
Last edited by Sharc; 3rd Apr 2024 at 03:43.
Similar Threads
-
720 x 480 Aspect Ratio
By whatastory in forum Newbie / General discussionsReplies: 113Last Post: 12th Mar 2024, 07:43 -
Pixel Aspect Ratio
By biferi in forum Newbie / General discussionsReplies: 54Last Post: 3rd Feb 2024, 05:34 -
Question about resolutions for aspect ratio after cropping/resizing
By spiritgumm in forum Video ConversionReplies: 24Last Post: 19th Jan 2023, 22:28 -
640 x 480 vs. 720 x 480: The Confusion That Keeps On Giving
By Avagadro1 in forum EditingReplies: 24Last Post: 25th Aug 2020, 21:24 -
Aspect Ratio
By wks in forum Newbie / General discussionsReplies: 10Last Post: 1st May 2020, 13:57