Last edited one year ago


Applicable for STM32MP13x lines, STM32MP15x lines

1. Overview

gst-typefind (gst-typefind-1.0) is a GStreamer command line utility.

This utility parses a file with multimedia content in order to provide the type of media.

2. Usage

gst-typefind accepts the following options:

 gst-typefind-1.0 --help
gst-typefind-1.0 --help
  gst-typefind-1.0 [OPTION?] FILES

Help Options:
  -h, --help                        Show help options
  --help-all                        Show all help options
  --help-gst                        Show GStreamer Options

Application Options:
  --version                         Print version information and exit

By default a short level of information is given such as mimetype and other key characteristics like with or height of an image file. Example:

 gst-typefind-1.0 rose-flower-blossom-bloom-39517.jpeg
rose-flower-blossom-bloom-39517.jpeg - image/jpeg, width=(int)3482, height=(int)2321, sof-marker=(int)0

See gst-typefind man page for more details and additional options.

Warning white.png Warning
If Weston is configured with a "weston" user instead of a "root" user, please use the following commands:
 su -l "weston" -c "your_weston_command"
 su -l "weston" -c "gst-typefind-1.0 --help"