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 > Video Encoding > MPEG-4 AVC / H.264
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 29th October 2015, 12:04   #1  |  Link
Floatingshed
Registered User
 
Join Date: Nov 2008
Posts: 324
An old question about SAR

I know many people have asked about SAR, I have googled a lot and found so much conflicting information that I am now more confused!

My scenario: Two sizes of video for playback on my media player:
720x576 and 720x404

My question: What should the SAR be set to when encoding with x264?

Thanks.
Floatingshed is offline   Reply With Quote
Old 29th October 2015, 12:10   #2  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565


Note that this is kind of a disputed topic and there is no clear "correct".
sneaker_ger is offline   Reply With Quote
Old 29th October 2015, 13:12   #3  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,769
How did you get 404 scanlines?
__________________
Born in the USB (not USA)
Ghitulescu is offline   Reply With Quote
Old 29th October 2015, 14:43   #4  |  Link
hello_hello
Registered User
 
Join Date: Mar 2011
Posts: 4,829
Quote:
Originally Posted by Floatingshed View Post
I know many people have asked about SAR, I have googled a lot and found so much conflicting information that I am now more confused!

My scenario: Two sizes of video for playback on my media player:
720x576 and 720x404

My question: What should the SAR be set to when encoding with x264?

Thanks.
What's your definition of SAR? It can refer to "storage aspect ratio" (resolution) but for x264 it also refers to "sample aspect ratio" which is another term for pixel aspect ratio.

There's a list of sample aspect ratios here. The ITU and MPEG-4 SARs are very similar and the MPEG-4 SARs are easier to remember. If in doubt, I go with ITU/MPEG-4 SARs for 4:3 DVDs and the generic SARs for 16:9 DVDs, but there's no hard and fast rule.

For your examples.... the 720x576 video could be encoded at 720x576 while setting the appropriate SAR so it'll display as 16:9 (or 4:3) on playback. I assume the second example is a 720x576 16:9 video resized to 16:9 dimensions (or very close to at 720x404) before it's encoded, in which case the SAR would be set to 1:1. If you resize to square pixel dimensions you could probably retain more detail by resizing to 1024x576 instead and the SAR would still be 1:1.
Which method you use might depend on your media player. If it doesn't display anamorphic encodes correctly you might need to resize to square pixels when encoding.

Last edited by hello_hello; 29th October 2015 at 14:46.
hello_hello is offline   Reply With Quote
Reply


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 06:03.


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