How to determine video codec of a file with FFmpeg

前端 未结 4 1873
无人共我
无人共我 2021-02-06 22:38

I often have problems reading AVI files with my TV\'s DVD player if they are not DivX or Xvid (e.g., DX50 is not readable).

I\'d like to make a fast script to determine

4条回答
  •  粉色の甜心
    2021-02-06 23:25

    Try MediaInfo instead.

    It lists the codec for each stream and its output is simple enough to parse - there's also an XML output option if you prefer XPath like queries.

提交回复
热议问题