sourse is 1920x1080 but after its 1920x814 why

HandBrake for Windows support
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
Post Reply
bazza-61
Posts: 3
Joined: Fri Aug 21, 2009 2:30 pm

sourse is 1920x1080 but after its 1920x814 why

Post by bazza-61 »

sourse is 1920x1080 but afterencoding its1920x814 why, any help on this please.
and can the aspect ratio be changed or does it select same as source.
thanks.
TedJ
Veteran User
Posts: 5388
Joined: Wed Feb 20, 2008 11:25 pm

Re: sourse is 1920x1080 but after its 1920x814 why

Post by TedJ »

Because 1920x1080 equals a ratio of 1.78:1 (16:9) while the movie in question is 2.35:1 - the frame on your source is matted with black top and bottom to make up the difference. During the encode this black has been automatically cropped.
bazza-61
Posts: 3
Joined: Fri Aug 21, 2009 2:30 pm

Re: sourse is 1920x1080 but after its 1920x814 why

Post by bazza-61 »

ok thanks, but can this be changed so the outcome is the same as the sourse.
TedJ
Veteran User
Posts: 5388
Joined: Wed Feb 20, 2008 11:25 pm

Re: sourse is 1920x1080 but after its 1920x814 why

Post by TedJ »

Well, you can manually set the cropping to zero, but why would you want to? Cropping the matting won't affect the picture at all and you'll save bits by not encoding the black.
fprietog
Posts: 8
Joined: Sun Aug 23, 2009 10:12 pm

Re: sourse is 1920x1080 but after its 1920x814 why

Post by fprietog »

TedJ wrote:Well, you can manually set the cropping to zero, but why would you want to? Cropping the matting won't affect the picture at all and you'll save bits by not encoding the black.
Sometimes the auto cropping values are not correct. Reading this post I remeber that, for example, all the extras of the DVD "The Hollow Man" mixed images from the film in 16:9 and interviews in 4:3 but the auto crop values cropped to 16:9 all these extras. I don't know how the program calculates the crop values but maybe it takes the start of these extras that were few seconds of the film images (in 16:9) in order to calculate the values...

Unfortunately, using the GUI there is no way to mantain active the custom crop values to 0 because the values are always overwritten when change the source even if you changed the option to "Custom" (maybe it's a bug).

Best regards.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: sourse is 1920x1080 but after its 1920x814 why

Post by JohnAStebbins »

To calculate cropping, hb looks at a collection of preview frames distributed evenly throughout the video. The number of frames used in the 0.9.3 release is 10. In the current snapshot, the number of frames can be customized in the preferences. The amount of crop is calculated for each frame and then the crop values are sorted according to the amount of crop. The median of this sorted list of crop values is chosen as the autocrop value. The practical side effect is that short segments of the video may go outside the chosen crop boundaries. This is actually desirable as many broadcast programs will show the station logo for short periods in the area that should be cropped.

However, I've encountered the problem with too much being cropped myself. There may be some tuning possible here to improve our choice. Perhaps a value off center in the list would work better (the median being the center item in the list). But this would take a lot of testing on a variety of sources before we would consider a change.
fprietog
Posts: 8
Joined: Sun Aug 23, 2009 10:12 pm

Re: sourse is 1920x1080 but after its 1920x814 why

Post by fprietog »

JohnAStebbins wrote:The number of frames used in the 0.9.3 release is 10. In the current snapshot, the number of frames can be customized in the preferences.
JohnAStebbins, thanks for you quick answer. I'm currently using SVN2773 Snapshot and I want to test this option but I don't see the option in the GUI.

Please, can you point me how to change the number of frames used? I'm using WINDOWS XP SP3.

Thanks and best regards.
User avatar
JohnAStebbins
HandBrake Team
Posts: 5712
Joined: Sat Feb 09, 2008 7:21 pm

Re: sourse is 1920x1080 but after its 1920x814 why

Post by JohnAStebbins »

hmm, it looks like the windows version hasn't implemented this option in preferences. I hadn't realized this till I looked at the code just now. Sorry. You will have to use the query editor to add to the CLI command line option. The option is "--previews 20" if you want 20 preview frames.
fprietog
Posts: 8
Joined: Sun Aug 23, 2009 10:12 pm

Re: sourse is 1920x1080 but after its 1920x814 why

Post by fprietog »

JohnAStebbins wrote:hmm, it looks like the windows version hasn't implemented this option in preferences. I hadn't realized this till I looked at the code just now. Sorry. You will have to use the query editor to add to the CLI command line option. The option is "--previews 20" if you want 20 preview frames.
Thank you very much, I'll use it.
Post Reply