Hi,
We are converting automatically batches of SD files to H264, but some of the original files do not have a correct aspect ratio and interlaced metadata, i.e. they are analyzed as 5:4, which is the pixel ratio, and progressive, whereas their actual aspect ratio is 4:3 and their interlacing mode is BFF. You can find an example of such a file at the following URL:
http://www.opsomai.com/download/5_4.mov. Since we are not supposed to "correct" original files errors, we have been using the following command for years (the real one is slightly more complex):
ffmbc -i 5_4.mov -f mp4 -vcodec libx264 -aspect 4:3 -pix_fmt yuv420p -b 1000k -vf "yadif=0:-1:1,scale=720:576,pad=768:576:24:0:black" -an -y 5_4.mp4
But it does not work anymore with 0.7.4. We get the following error message:
[libx264 @ 0x250c320] Input picture width (768) is greater than stride (736)
The same command works fine with 0.7.1. Of course, we get a non-desinterlaced MP4 file in pillarbox, which is normal, since it corresponds to the original file metadata (5:4 progressive). In order to make it works with 0.7.4, you must suppress the "yadif" filter or force it to consider the original file as a BFF file:
ffmbc -i 5_4.mov -f mp4 -vcodec libx264 -aspect 4:3 -pix_fmt yuv420p -b 1000k -vf "scale=720:576,pad=768:576:24:0:black" -an -y 5_4.mp4
ffmbc -i 5_4.mov -f mp4 -vcodec libx264 -aspect 4:3 -pix_fmt yuv420p -b 1000k -vf "yadif=0:1:0,scale=720:576,pad=768:576:24:0:black" -an -y 5_4.mp4
This is really annoying for us since our clients have numerous incorrect SD files like this one, because of not so professional video digitizing service providers.
Would it be possible to get back to the previous behavior in 0.7.5?
Thanks
David