====== xjinfo - extract an A/V file information ====== ''xjinfo'' is a small command-line utility that comes with [[xjadeo]]. Its purpose it to retrieve information about audio/video files in a standard way: either CSV, XML or simplified human readable text. A DTD for the XML is available from the [[http://xjadeo.svn.sourceforge.net/viewvc/xjadeo/trunk/src/xjadeo/avinfo.dtd?revision=112|repository]]. ''xjinfo'' uses ffmpeg's libavformat to determine the information. Basically it can read any format ffmpeg supports (''ffmpeg -formats''). usage: xjinfo [Options] Options: -h display this help and exit -V print version information and exit -x print XML (default). -t print duration of file in seconds. -v dump human readable video stream information. -c dump comma separated video stream information. one line for each video stream: file-duration,file-fps,stream-fps,width,height,codec,colorspace Units: file-len: sec; fps: 1/sec; w&h: pixels; codec+fmt: text ===== Example Output: ===== * "Human readable": 00:04:37.4 - fps:25.00 w:352 h:264 #mpeg1video,yuv420p * Comma separated value: 277,90000.00,25.00,352,264,1:1,mpeg1video,yuv420p * "duration only" (in seconds): 277 * XML: 0.2 /home/rgareus/tmp/spwide.mpg 277 277440000 1000000 1275452 44232696 185044 0 2 mpeg1video 24969600 1 90000 90000.00 999600 0x1e0 352 264 1 1 25.00 yuv420p mp2 24937273 1 90000 90000.00 224000 0x1c0 2 44100 {{tag>floss video audio}}