Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mpegcat(1) [debian man page]

MPEGCAT(1)																MPEGCAT(1)

NAME
mpegcat - Extracts structural information and PES streams from an MPEG2 video file SYNOPSIS
mpegcat { options } { file } DESCRIPTION
mpegcat dumps detailed textual information about an MPEG2 file. It also has an option for writing out a particular Packetized Elementary Stream (PES) given its id. The original purpose of mpegcat was for debugging stream parsing issues in the gopchop cuts-only MPEG2 video editor, but it has more gen- eral utility. OPTIONS
GENERAL OPTIONS -d,--debug Report debug info -D,--dvd-format Enable DVD packet extensions -h,-?,--help Help -w,--write FILE,0xID[,0xSID] Write PES with id ID (and subid SID) to FILE. Sub Picture Unit (SPU) streams such as overlays, subtitles and DVD menus extracted using this option can be displayed using the companion gtkspu utility. To find SPU streams in a .VOB ripped from a DVD: $ mpegcat -iDa VTS_01_0.VOB | grep SPU 131086: 0xBD: DVD Audio 0x20 (SPU 0): 2028 bytes (next marker @ 133120) 133134: 0xBD: DVD Audio 0x20 (SPU 0): 2028 bytes (next marker @ 135168) 137230: 0xBD: DVD Audio 0x20 (SPU 0): 190 bytes (next marker @ 137426) ... To save a given stream: $ mpegcat -iDaw dump.spu,0xBD,0x20 VTS_01_0.VOB > /dev/null (And to view the stream) $ gtkspu dump.spu 1 $ gtkspu dump.spu 2 $ gtkspu dump.spu 3 ... PROCESSING TOGGLES -V,--enter-video Process video packets (forced by -t option) GENERAL DISPLAY TOGGLES -p,--pack Toggle Pack packet start display -v,--video Toggle video ES packet start display -a,--audio Toggle audio ES packet start display -o,--other Toggle other stream display (only show video & audio) -y,--system Toggle system header display -e,--errors Toggle packet errors -i,--invert Invert all display toggles VIDEO DISPLAY TOGGLES -s,--slices Toggle slice starts (default off) -q,--sequence Toggle sequence header display -g,--GOPs Toggle GOP header display -f,--frames Toggle Picture header display SHORT CUTS -F,--just-frames Show only video frames (same as '-Vepvaoyq') FILE OFFSET OPTIONS -b,--begin=NUM Start reading at offset NUM -n,--num=NUM Stop after reading NUM bytes -t,--scan-stream Scan every byte of the stream instead of using PES offsets (this can show erroneous 'start code emulation' codes) AUTHOR
Kees Cook, <kees@outflux.net> SEE ALSO
gopchop(1), gtkspu(1) 28 October 2006 MPEGCAT(1)

Check Out this Related Man Page

tccat(1)						      General Commands Manual							  tccat(1)

NAME
tccat - concatenate multimedia streams from medium and print on the standard output SYNOPSIS
tccat -i name [ -t magic ] [ -T title[,chapter[,angle]] ] [ -L ] [ -S n ] [ -P ] [ -a ] [ -d mode ] [ -v ] COPYRIGHT
tccat is Copyright (C) by Thomas Oestreich. DESCRIPTION
tccat is part of and usually called by transcode. However, it can also be used independently. tccat reads source (from stdin if not explicitely defined) and prints on the standard output. Directory contents is concatenated, if source files have the same format. Multiple AVI-files are also supported. OPTIONS
-i name Specify input source. If ommited, stdin is assumed. You can specify a file, directory, device, mountpoint or host address as input source. tccat usually handles the different types correctly. -t magic Tell tccat about the type of input. Currently only dvd is supported - any other parameter will be ignored. -T title[,chapter[,angle]] Select DVD title and extract only a single chapter with selected viewing angle. Setting the argument chapter to -1 means to process all available chapters on the DVD. If this option is given, the input type of dvd will also be assumed (see option -t). -L This option tells tccat to loop through all chapters starting at the one given with the option -T. -S n Seek to program stream (VOB) offset nx2kB before starting output. -P Stream full DVD title specified by -T. -a Use this option to dump an AVI-file/socket audio stream. The default is to extract and concatenate AVI-file video stream. -d level With this option you can specify a bitmask to enable different levels of verbosity (if supported). You can combine several levels by adding the corresponding values: QUIET 0 INFO 1 DEBUG 2 STATS 4 WATCH 8 FLIST 16 VIDCORE 32 SYNC 64 COUNTER 128 PRIVATE 256 -v Print version information and exit. NOTES
tccat is a front end for streaming various source types and is used in transcode's import modules. EXAMPLES
The command tccat -i /dev/dvd -T 1,-1 | mplayer - reads all chapters belonging to title 1 of a DVD (assuming that /dev/dvd/ is a symbolic link to a real DVD device) and pipes a MPEG program stream into player. AUTHORS
tccat was written by Thomas Oestreich <ostreich@theorie.physik.uni-goettingen.de> with contributions from many others. See AUTHORS for details. SEE ALSO
avifix(1), avimerge(1), avisplit(1), tcdecode(1), tcdemux(1), tcextract(1), tcprobe(1), tcscan(1), transcode(1) tccat(1) 15th January 2002 tccat(1)
Man Page