Using ffprobe to check audio-only files

后端 未结 4 1626
醉梦人生
醉梦人生 2020-11-27 23:53

Is there an ffprobe command I can run to see if an mov file that I have is audio-only or contains video as well? I have various mov files, some of which are audio dubs and s

4条回答
  •  一整个雨季
    2020-11-28 00:01

    You can output stream information in JSON or XML:

    ffprobe -show_streams -print_format json input.mov

    You'll get an array of streams with a codec_type attribute with values like audio, video etc.

提交回复
热议问题