Crop HD Frames in Half
Posted: 2010-11-16T23:41:07-07:00
Hi All,
This is a really weird thing I am getting.
I have an HD frame of 1920x1080 and want to process it twice... once giving me the top 540pixels and the command '-crop 1920x540+0+0' works perfectly for this, but the minute I try to crop the top half out leaving me with the lower portion of the image using '-crop 1920x540+0+540' I simply get black frames returned.
My process doesn't end there though, I perform a -resize and then another -crop after the initial crop (above) and then place the result in the center of a larger frame using '-background black -gravity Center -extent 2048x1080'
Could the '-gravity Center' that comes 4 commands after the 540pixel crop be affecting its usage?!
Thanks,
Chris
This is a really weird thing I am getting.
I have an HD frame of 1920x1080 and want to process it twice... once giving me the top 540pixels and the command '-crop 1920x540+0+0' works perfectly for this, but the minute I try to crop the top half out leaving me with the lower portion of the image using '-crop 1920x540+0+540' I simply get black frames returned.
My process doesn't end there though, I perform a -resize and then another -crop after the initial crop (above) and then place the result in the center of a larger frame using '-background black -gravity Center -extent 2048x1080'
Could the '-gravity Center' that comes 4 commands after the 540pixel crop be affecting its usage?!
Thanks,
Chris