View Single Post
Old 9th October 2020, 18:23   #2  |  Link
manolito
Registered User
 
manolito's Avatar
 
Join Date: Sep 2003
Location: Berlin, Germany
Posts: 3,078
Hi,

first of all your post is in the wrong thread. You are converting to AVC (H.264), so the post belongs in the MPEG4-AVC thread. Can a mod please move it...

Not being an FFMpeg specialist I usually let an encoder GUI do all the aspect ratio math. For FFmpeg I use dmMediaConverter, and for a source like yours it created this command line:
Quote:
ffmpeg.exe -fflags +genpts -y -i "I:\My.mkv" -map 0:0 -filter:v:0 "yadif,crop=718:388:2:50,scale=718:-2" -c:v:0 libx264 -preset:v:0 medium -tune:v:0 film -profile:v:0 high -level:v:0 4.1 -crf:v:0 18 -map 0:1 -c:a:0 copy "I:\My converted.mkv"
Please note that the crop filter needs to be follwed by the scale filter, and specifying SAR/PAR/DAR parameters is not needed. Since you are converting from SD to SD the ColorMatrix filter is also not needed.
Hope it helps...

Cheers
manolito

Last edited by manolito; 9th October 2020 at 18:38.
manolito is offline   Reply With Quote