STREAM_TYPE(1) General Commands Manual STREAM_TYPE(1)

stream-typeGuess the type of a stream file

stream-type [-err stdout] [-err stderr] [-verbose | -v] [-quiet | -q] in_file

Attempt to determine if an input stream is Transport Stream, Program Stream, or Elementary Stream, and if the latter, if it is H.262 or H.264 (i.e., MPEG-2 or MPEG-4/AVC respectively). The mechanisms used are fairly crude, assuming that:

It is quite possible that data which is not relevant will be misidentified

in_file
is the file to analyse

Write error messages to standard output (the default)
Write error messages to standard error (Unix traditional)
, -verbose
Output more detailed information about how it is making its decision
, -quiet
Only output error messages

The program exit value is:

10
if it detects Transport Stream,
11
if it detects Program Stream,
12
if it detects Elementary Stream containing H.262 (MPEG-2),
14
if it detects Elementary Stream containing H.264 (MPEG-4/AVC),
5
if it looks like it might be PES,
9
if it really cannot decide, or
0
if some error occurred

esdots(1),

October 28, 2015 Debian