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
As promised, here are the samples, with and without cropping values:
I've uploaded them to ftp.sisvel.it (user: public pwd: Publ1c)
The videos are encoded with this line:
x264 -B 10000 --vbv-maxrate 10000 --vbv-bufsize 10000 --fps 50 --nal-hrd cbr -I 15 --ratetol .01
-o<output_file> <input_file> --input-res 1920x1080 --aud
--crop<cropping_values>
using these cropping values (left, top, right, bottom)
DesertStreet_Side-by-Side_1080p50_crop.264 - 0,0,960,0
DesertStreet_Side-by-Side_1080p50_noCrop.264 - 0,0,0,0
DesertStreet_Top-Bottom_1080p50_crop.264 - 0,0,0,540
DesertStreet_Top-Bottom_1080p50_noCrop.264 - 0,0,0,0
DesertStreet_Tile-Format_1080p50_crop.264 - 0,0,640,360
DesertStreet_Tile-Format_1080p50_noCrop.264 - 0,0,0,0
*Without* my patch, ffmpeg provides these output resolutions:
DesertStreet_Side-by-Side_1080p50_crop.264 - 1906x1080 (+ warning)
DesertStreet_Side-by-Side_1080p50_noCrop.264 - 1920x1080
DesertStreet_Top-Bottom_1080p50_crop.264 - 1920x1074 (+ warning)
DesertStreet_Top-Bottom_1080p50_noCrop.264 - 1920x1080
DesertStreet_Tile-Format_1080p50_crop.264 - 1906x1074 (+ warning)
DesertStreet_Tile-Format_1080p50_noCrop.264 - 1920x1080
*With* my patch instead, ffmpeg's output resolution is constant:
DesertStreet_Side-by-Side_1080p50_crop.264 - 1920x1080 (+ warning)
DesertStreet_Side-by-Side_1080p50_noCrop.264 - 1920x1080
DesertStreet_Top-Bottom_1080p50_crop.264 - 1920x1080 (+ warning)
DesertStreet_Top-Bottom_1080p50_noCrop.264 - 1920x1080
DesertStreet_Tile-Format_1080p50_crop.264 - 1920x1080 (+ warning)
DesertStreet_Tile-Format_1080p50_noCrop.264 - 1920x1080
The videos linked are copyleft so you can add them to FATE if you wish.
Vittorio
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel