ILD

ffprobe get image or video width and height
作者:Yuan Jianpeng 邮箱:yuanjp89@163.com
发布时间:2025-5-21 站点:Inside Linux Development


$ ffprobe -v quiet -select_streams v:0 -show_entries stream=width,height -of json /work/IMG_4429.JPG

{

    "programs": [


    ],

    "streams": [

        {

            "width": 899,

            "height": 1598

        }

    ]

}



Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.