[FFmpeg-user] Wrong display aspect ratio output
Gian Maria Allibrante
chanof at hotmail.com
Thu Aug 6 01:58:32 EEST 2020
Hello,by encoding different inputs with the line below, the display aspect ratio of the output is wrong when the input has not the same proportional relationship, also the logo that the command adds seems to effected by the gap between input width/height relationship and output one. How to get an output that respest the input proportion, since the "cinema scope" could change, but keep 1080*1920 output resolution?
eg: to eep the original "cinema scope" instead stretch height like now.
ffmpeg -f concat -safe 0 -y -i list.txt -loop 1 -i ../logo/logo.png -c:a copy -c:v libx264 -x264opts keyint=$GOP:min-keyint=$GOP:no-scenecut -bf 0 -r $FPSC -b:v 4800k -maxrate 9600k -bufsize 19200k -profile:v main -crf 22 -filter_complex "[0:v][1:v]overlay=main_w-overlay_w-10:10,scale=1920:1080,setsar=1" -t $TOTDUR 1080set.mp4
Please if you need any other infos just say, thank you!
More information about the ffmpeg-user