顯示具有 mediainfo 標籤的文章。 顯示所有文章
顯示具有 mediainfo 標籤的文章。 顯示所有文章

2012-08-16

LINUX - MediaInfo 使用筆記

mediainfo --help 的內容如下
--Inform=...  Specify a template (BETA)
Usage: "MediaInfo --Inform=[xxx;]Text FileName"

xxx can be: General, Video, Audio, Text, Chapter, Image, Menu
Text can be the template text, or a filename
     Filename must be in the form file://filename

See --Info-Parameters for available parameters in the text
(Parameters must be surrounded by "%" sign)

Example: "MediaInfo --Inform=Video;%AspectRatio% FileName"

Example: "MediaInfo --Inform=Video;file://Video.txt FileName"
and Video.txt contains 
"%DisplayAspectRatio%"        for Video Aspect Ratio.

Example: "MediaInfo --Inform=file://Text.txt FileName"
and Text.txt contains
"Video;%DisplayAspectRatio%"  for Video Aspect Ratio.
"Audio;%Format%"              for Audio Format.