ffprobe -v quiet -show_entries stream=width -select_streams v:0 -of compact=p=0:nk=1 input.mkv
Le fichier dont on veut les dimension est input.mkv