View Full Version : x264CLI SAR setting problem.
Ishan
17th June 2005, 10:44
I just encoded a small clip 704x560 with a 1.83:1 ratio using "--sar 183:100" setting and the resulting clip looks more like 2.35:1 using nero decoder.
Is that a x264CLI problem or a nero decoder problem?
bond
17th June 2005, 10:58
what do you get when decoding it with ffdshow (make sure you enable overlay mixer in it)
Ishan
17th June 2005, 11:00
I don't have the latest ffdshow so it doesn't work at all with it :)
gotta check if I can update it.
akupenguin
17th June 2005, 11:01
--sar width:height Specify Sample Aspect Ratio
Ishan
17th June 2005, 11:03
I don't get it. Does that mean 183:100 is wrong?
It's the ratio of my sample, it's 1.85:1 with 8 pixels black top and bottom, roughly 1.83:1.
Ishan
17th June 2005, 11:08
well with the ffdshow version I have MPC crash instantly but it open a 1:1 AR window, even with overlay mixer enabled in ffdshow.
Edit : Got it to work with ffdshow-06/11/2005 but still a 1:1 AR with overlay mixer enabled :|
Ishan
17th June 2005, 11:27
OK, overlay wasn't completly enabled. I got the same 2.35:1 aspect as in nero decoder so it's certainly my --sar setting. Gotta search what's wrong with it, thx anyway :)
leowai
17th June 2005, 11:46
@Ishan,
Sorry, isn't 704x560 video is having an rough aspect ratio of 1.26:1 rather than 1.83:1? May be there are black area on both top and bottom in the video? The video is then called a 1.83:1 video?
Hope this helps.
regards,
leowai
stephanV
17th June 2005, 11:48
I don't get it. Does that mean 183:100 is wrong?
Yes, you are setting the aspect ratio of one sample (=pixel), not of the entire frame.
Try setting: 560*1.83/704 = 1.46 = 146 : 100 = 73 : 50
I'm not sure what the real SAR should be because of the cropping you did, but it shouldnt be too far off.
Ishan
17th June 2005, 11:51
it's anamorphic source from a DVD so it IS 1.83:1.
top and bottom black area were kept to get a modulo 16 resolution.
Ishan
17th June 2005, 11:57
Yes, you are setting the aspect ratio of one sample (=pixel), not of the entire frame.
Try setting: 560*1.83/704 = 1.46 = 146 : 100 = 73 : 50
I'm not sure what the real SAR should be because of the cropping you did, but it shouldnt be too far off.
Gotta try that thx
Ishan
17th June 2005, 12:23
Worked perfectly, Thx a lot!
Gotta have to be used to that SAR thing :rolleyes:
bond
17th June 2005, 12:26
top and bottom black area were kept to get a modulo 16 resolution.
absolutely no need for that, simply use gordianknot to get a correct 16x res with cropped borders (the black borders harm the quality)
Ishan
17th June 2005, 12:30
I was just testing x264 anamorphic encoding so I don't mind a loss of quality :)
Something strange, ffdshow gives me perfect 1.83:1 AR but nero decoder gives me 1:1 AR.
bond
17th June 2005, 12:40
i assume you are using the haali splitter together with nero?
if yes than i have to say i also cant anamorphic resize with that combination (nero parser + decoder works)
seems to be a problem in haali (encode was done with atemes encoder)
Ishan
17th June 2005, 13:02
Thx for the info, I'll stick with ffdshow for now.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.