Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 9th October 2019, 10:09   #1  |  Link
orion44
None
 
orion44's Avatar
 
Join Date: Jul 2007
Location: The Background
Posts: 190
How to set aspect ratio in x264 encoded video?

DVD Info: 720x480, NTSC, 29.970, 4:3 aspect ratio.

x264 output resolution: Same as input (720x480).

When encoding a DVD with x264, how do I set the aspect ratio to 4:3?

Should I set it with x264 during encoding, or when muxing with MP4Box?
orion44 is offline   Reply With Quote
Old 9th October 2019, 10:19   #2  |  Link
stax76
Registered User
 
stax76's Avatar
 
Join Date: Jun 2002
Location: Germany
Posts: 5,784
It's typically set with encoding.
stax76 is offline   Reply With Quote
Old 9th October 2019, 10:52   #3  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,478
How to set: --sar 10:11
mp4box (and mkvmerge) will automatically pick the SAR from the H.264 bitstream when muxing.

Table of SARs (sample aspect ratio):
Code:
	PAL	NTSC
4:3	12:11	10:11
16:9	16:11	40:33
(There are multiple standards for aspect ratios so you may find slightly different values elsewhere.)

Last edited by sneaker_ger; 9th October 2019 at 10:54.
sneaker_ger is offline   Reply With Quote
Old 9th October 2019, 12:34   #4  |  Link
orion44
None
 
orion44's Avatar
 
Join Date: Jul 2007
Location: The Background
Posts: 190
Thanks.

A follow-up question: can I still use this value if I crop the video, but don't resize it?

Or should I then use a different value?

Last edited by orion44; 9th October 2019 at 12:38.
orion44 is offline   Reply With Quote
Old 9th October 2019, 12:37   #5  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,478
You can still use the same value even if you crop.
sneaker_ger is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:43.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.