View Full Version : Xbox360 720p output issue
Seraphic-
3rd August 2008, 00:57
Hi,
As you can see in the below image, the Xbox360 is outputting 1278x718 (the right and bottom sides each have two pixels of back bars).
I would like to work/encode with visible pixels only and not add border etc... so would it be better to crop to 1276x716 or down to 1264x704 for mod16?
(Encoding with x264 HQ-Insane Profile with CRF 15.0 to CRF 25.0)
http://temp.seraphicgate.com/720p360.jpg
Comatose
3rd August 2008, 01:49
Well, you have several options.
You can resize back to 1280x720 and then use anamorphic resizing to get the correct AR, or crop and resize to 720p without anamorphic resizing if you don't have the option.
Or you can crop a bit more to maintain the correct AR and then resize to 720p.
Orrrrr you can do one of the things you mentioned, but I prefer sticking to 1280x720 because it's a standard resolution :3
Seraphic-
3rd August 2008, 02:14
Well, you have several options.
You can resize back to 1280x720 and then use anamorphic resizing to get the correct AR, or crop and resize to 720p without anamorphic resizing if you don't have the option.
Or you can crop a bit more to maintain the correct AR and then resize to 720p.
Orrrrr you can do one of the things you mentioned, but I prefer sticking to 1280x720 because it's a standard resolution :3
Part of the issue is that I'm going to have overlay video/images on the video, so having everything one size is a must during editing.
Resizing is an idea, but even only a few pixel resize, would inject some blur into the video.
All that really leaves is 1276x716 vs 1264x704. I would go with the mod16, just losing 8pixels on all sides makes me think twice.
Sagekilla
3rd August 2008, 02:47
Yes, if you were to crop the 2 pixels to 1278x718 and resize to 1280x720 again, you'll introduce some blur. I highly doubt anyone will be able to tell the difference since it'd be so minuscule. If you were resizing from say... 1000x720 to 1280x720, yes I'd say you have reason to believe there'd be a small amount of visible blur added.
So which would you rather have? Throw away a total of 14 usable pixels in each direction (2 are completely black on right and bottom) or stretch 1278 pixels out to 1280 pixels. I'd go with stretching it, since that's well within margin of error for AR.
Seraphic-
3rd August 2008, 03:20
Yes, if you were to crop the 2 pixels to 1278x718 and resize to 1280x720 again, you'll introduce some blur. I highly doubt anyone will be able to tell the difference since it'd be so minuscule. If you were resizing from say... 1000x720 to 1280x720, yes I'd say you have reason to believe there'd be a small amount of visible blur added.
So which would you rather have? Throw away a total of 14 usable pixels in each direction (2 are completely black on right and bottom) or stretch 1278 pixels out to 1280 pixels. I'd go with stretching it, since that's well within margin of error for AR.
Yeah, good point. Another thing though is that now that I look closer at the image, it seems one pixel on the left side has a darken overlay, so I would be wanting to crop one from the left as well.
But since you can't crop odd, it would have to be two for 1276x718 then resize to 1280x720.
Sagekilla
3rd August 2008, 03:49
Aha, but there's a way around that. If you use cropping INSIDE the resizer, it won't be an issue. I believe it goes something like this: Resize(width,height,left_crop,top_crop,right_crop,bottom_:crop) You can even crop with subpixel precision, and it won't be an issue. So, you can just do the following: Spline16Resize(1280,720,1,0,-2,0)
I have to check the avisynth documentation however, I'm not 100% sure if that's the correct syntax for cropping inside a resize.
Seraphic-
3rd August 2008, 04:52
Aha, but there's a way around that. If you use cropping INSIDE the resizer, it won't be an issue. I believe it goes something like this: Resize(width,height,left_crop,top_crop,right_crop,bottom_:crop) You can even crop with subpixel precision, and it won't be an issue. So, you can just do the following: Spline16Resize(1280,720,1,0,-2,0)
I have to check the avisynth documentation however, I'm not 100% sure if that's the correct syntax for cropping inside a resize.
I just tried that for another video and it seems to work. But maybe someone who knows for sure should reply and confirm that is the correct code. I tried:
Spline36Resize(796,448,36,15,-44,-17)
Sagekilla
3rd August 2008, 05:24
I just checked the documentation and yes, that was the correct parameters I gave you. Just remember it does crop --> resize.
Sharktooth
3rd August 2008, 16:59
LOL at CRF AND HQ-Insane (bitrate based).
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.