From 9681d42a9427c8860f1a768a289de3679a9cd9e8 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 23 Jan 2015 15:59:06 +0100 Subject: command: export file format as property Repurpose demuxer->filetype for this. It used to be used to print a human readable format description; change it to a symbolic format name and export it as property. Unfortunately, libavformat has its own weird conventions, which are reflected through the new property, e.g. the .mp4 case mentioned in the manpage. Fixes #1504. --- DOCS/man/input.rst | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'DOCS/man/input.rst') diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst index 4ec29ba62d..3992ace93a 100644 --- a/DOCS/man/input.rst +++ b/DOCS/man/input.rst @@ -709,6 +709,11 @@ Property list Otherwise, return the ``filename`` property. +``file-format`` + Symbolic name of the file format. In some cases, this is a comma-separated + list of format names, e.g. mp4 is ``mov,mp4,m4a,3gp,3g2,mj2`` (the list + may grow future for any format). + ``demuxer`` Name of the current demuxer. (This is useless.) -- cgit v1.2.3