Gst-typefind

Revision as of 17:10, 17 November 2023 by Registered User
Applicable for STM32MP13x lines, STM32MP15x lines, STM32MP25x lines

1. Overview[edit source]

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[edit source]

gst-typefind accepts the following options:

 gst-typefind-1.0 --help
gst-typefind-1.0 --help
Usage:
  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.

Info white.png Information
Don't have rose-flower-blossom-bloom-39517.jpeg ? Follow instructions in this article.
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"

Note: Above tips may not be necessary on Yocto Project® versions greater than or equal to 4.2 ("Mickledore").