On 22-06-2018 06:13 PM, Christoph Gerstbauer wrote:


CommandLineOutput:

ffmpeg -i "F:\scaler test\_5sec.avi" -vf "crop=720:576:0:32, setfield=tff,
yadif=1:0:0, scale=-1:1080, tinterlace=interleave_top, fieldorder=tff"
-vcodec ffvhuff -an -s 1920x1080 -aspect 16:9 "F:\scaler

Since you're scaling proportionally ("-1:1080"), you need to pad out the frame to FHD.

    ffmpeg -i in -vf "crop=720:576:0:32,setfield=tff,yadif=1:0:0,
                      scale=-1:1080,pad=1920:1080:(ow-iw)/2:(oh-ih)/2,
                      tinterlace=interleave_top, fieldorder=tff,
                      setsar=1"
           -c:v ffvhuff -an -aspect 16:9   out

Additionally, since your input isn't square-pixels, the following scale may be more accurate,

    scale=oh*4/3:1080

Regards,
Gyan
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to