On 4/22/11 5:17 PM, Vittorio Giovara wrote:
Hello everyone,
Hi!
this is my first patch for Libav that I think is worth publishing :) I have to handle a lot of stereoscopic content and as I was using Libav decoders, I noticed a strange behavior: final resolution of videos were always different from the initial one. Jason made me notice it was because I was using "unusual" cropping values inside my videos and that Libav doesn't fully handle cropping. So my long term plan is to provide full h264 cropping feature inside Libav, but for the meantime I fixed the issue I encountered.
Thank you, I'm looking forward to get it =)
This patch makes Libav ignore the right cropping values and handle correctly the bottom ones, that is crop 8 lower lines for progressive and 4 for interlaced video, so that the output resolution is preserved for 1920x1080 content./
Seems ok.
I can provide copyleft samples to evaluate this patch if needed. I hope the community finds this useful and that the patch can be safely committed :)
Would be great, probably they could be part of fate-suite. lu _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
