demultiplex a program stream
see also :
avifix - avimerge - avisplit - tcdecode - tcextract - tccat - tcscan - transcode
-i name [
-t magic ] [ -x codec ] [
-S unit,[s1-s2] ] [ -a ach,[vch]
] [ -s 0xnn ] [ -M mode ] [
-f fps ] [ -W ] [ -O ] [
-P name ] [ -A n[,m[,...]] ] [
-d verbosity ] [ -v ]
add an example, a script, a trick and tips
tcprobe -i movie.vob -x mpeg2
extracts only MPEG video packets. Further processing, i.e.,
extracting the elementary video stream is done by
is part of and usually called by transcode.
However, it can also be used independently.
tcdemux reads source (from stdin if not explicitely
defined) and prints on the standard output.
Specify input source. If
ommited, stdin is assumed.
Process only packets containing
given codec as payload. Examples are
"mpeg2" for MPEG video or "ac3" for
Specify the input file type
magic. Useful for using tcdemux in pipelines.
This is normally autodetected.
Process only packets containing
given audio track ach and video track vch.
Most program stream feature multiple audio tracks but only a
single video stream. Default is "-a 0,0".
Select specific multimedia
track using the standard identifier 0xnn. This useful
to extract subtitle packets.
Specify the frame rate fps for subtitle meta
information used by external applications.
Select a program unit
unit and a selected GOP range s1-s2 for
processing. A unit is usually a set of GOPs that need
to be synchronized at the very beginning. This option can be
used to eleminate junk units at the beginning of the main
presentation or to select certain episodes of a TV series
from a DVD. A GOP is a logical unit to be properly decoded,
i.e., decoding can only start at the beginning of a GOP.
Do not skip initial sequence. Used internally by
Select packets using an
identifier for extracting only selected streams without
processing. This is useful for size reduction of your
multimedia stream. Example:
big_dvd.vob -A 0xe0,0x81,0x20 > small_dvd.vob
packets for the video stream, AC3 audio track (1) and the
first subtitle stream (0).
Select synchronization strategy
mode. This is how transcode selects the beginning of
a video and audio stream to assure both streams are
sychronized for further processing:
synchronization. Packets are printed directly to
synchronization based on PTS information found in the packet
header. Audio packets are delayed until a suitable starting
point is found. Default for PAL videos.
2 NTSC adapted
synchronization mode. Detailed information for each GOP
contained in the video stream are piped to a stdout
to be processed by the certain import modules. This enables
adjusting the frame rate or inverse telecine, if
3 more advanced
synchronization mode 1 with msec granular adjustment.
Details delegated to transcode.
4 more advanced
synchronization mode 2 with msec granular adjustment for
NTSC materail. Details delegated to transcode.
undocumented debugging modes for internal use.
Write GOP meta information to
file instead of tdout.
Print a navigation log file for a given video stream to
stdout. This is used for transcode’s "psu
mode" and "cluster mode".
With this option you can
specify a bitmask to enable different levels of verbosity
(if supported). You can combine several levels by adding the
Print version information and exit.
tcdemux is Copyright (C) by Thomas Oestreich.
tcdemux is a front end for de-multiplexing program streams
and is used in transcode’s import modules.
avimerge , avisplit , tcdecode ,
tcdemux, tcextract , tccat ,
tcscan , transcode
was written by Thomas Oestreich
contributions from many others. See AUTHORS for details.