Extract a single (elementary) program stream from a Transport Stream (or Program Stream).
Filesin_file
is an H.222 Transport Stream file (but see -stdin and -pes)
out_file
is a single elementary stream file (but see -stdout)
Whichstreamtoextract:-pidpid
Output data for the stream with the given pid. Use -pid 0xpid to specify a hex value
-video Output data for the (first) video stream named in the (first) PMT. This is the default.
-audio Output data for the (first) audio stream named in the (first) PMT
Switches-errstdout
Write error messages to standard output (the default)
-errstderr
Write error messages to standard error (Unix traditional)
-stdin Input from standard input, instead of a file
-v, -verbose
Output extra information about packets
-q, -quiet
Only output error messages
-maxmax_pkts, -mmax_pkts
Maximum number of TS packets to read.
-pes, -ps
Use the PES interface to read ES units from the input file. This allows PS data to be read (there
is no point in using this for TS data). Does not support -pid, -stdin or -stdout.