---
name: "avinfo"
section: "1"
platform: "linux"
package: "avinfo"
version: "1.0.a15+20090102-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/avinfo"
---

# avinfo(1)

Audio/Video file information automatic extractor

## NAME

AVInfo - Audio/Video file information automatic extractor

## SYNOPSIS

**avinfo** \[*FILENAME*\] \[*OPTIONS*\] \[*TEMPLATE*\] \[*OUTPUT*\]\
 **avinfo** \[*-l=FILELIST*\] \[*OPTIONS*\] \[*TEMPLATE*\] \[*OUTPUT*\]\
 **avinfo** *-l-* \[*OPTIONS*\] \[*TEMPLATE*\] \[*OUTPUT*\]\
 **avinfo** \[*--help \| --version*\]

## DESCRIPTION

Extracts information from FILENAME or files in FILELIST and generates a report.

### OPTIONS:

- **-f**=*extension*

  forces the use of module associated with extension

- **-l**=*list*

  use filelist (use **-l-** for stdin)

- **-i**=*ms*

  delay between files in filelist (in ms) (/\*TODO\*/)

- **-e**=*ext*

  exclude an extension (do not apply associated module)

- **-m**=*number*

  max line length (0 - no restriction)

- **-s**=*value*

  for advanced tuning of modules (/\*TODO\*/)

- **-v**=*name=value*

  set int. variable 'name' to 'value' (text or number)

### External TEMPLATEs:

- **-th**=*template*

  header template (string, use without value to disable)

- **-thf**=*filename*

  get header template from a file

- **-tb**=*template*

  body template (string, use without value to disable)

- **-tbf**=*filename*

  get body template from a file

- **-tf**=*template*

  footer template (string, use without value to disable)

- **-tff**=*filename*

  get footer template from a file

### Built-in TEMPLATEs:

- **--default**

  used by default

- **--description**

  for creating (updating) descrpipt.ion files

- **--list**

  for filelist (plain text) generation

- **--html-list**

  for filelist (html) generation

- **--csv-list**

  for filelist (CSV, e.g. for Excel)

- **--short**

  alt. version of **--default** template

- **--far**

  "nice" formated report (for FAR Manager) (contains MS-DOS pseudographic characters)

### OUTPUT:

- **-o**=*file*

  file to write the report to (default is stdout)

### Other OPTIONS:

- **--help**

  prints this help page

- **--version**

  prints avinfo version and copyright

You can use ':' instead of '=' in all OPTIONS or just omit it.\
 TEMPLATEs use AVInfo Simple Script (A.S.S.) syntax.

### Examples of commands:

avinfo file.ogm **--raw**\
 find . **-name** '\*.avi' **-print** \| avinfo **-l-** **--html-list** **-o**=*avilist*.html\
 avinfo **-l**:list **-thf**:header **-tbf**=*body* **-tff**=*footer* \>report

## SEE ALSO

Additional documentation for **AVInfo** can be found in the package documentation directory.

(c) George Shuklin, 2001-2004, http://shounen.ru/soft/avinfo/\
 This is free software. You are welcome to redistribute it under the terms and conditions of GNU General Public License.
