Linux Commands Examples

A great documentation place for Linux commands

tccat

concatenate multimedia streams from medium and print on the standard output


see also : avifix - avimerge - avisplit - tcdecode - tcdemux - tcextract - tcprobe - tcscan - transcode

Synopsis

tccat

-i name [ -t magic ] [ -T title[,chapter[,angle]] ] [ -L ] [ -S n ] [ -P ] [ -a ] [ -d mode ] [ -v ]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0

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.


0
source
            
TRACK=1;
tccat -i /mnt/isodvd -t dvd -T 1,-1 > "$TITLE.vob";
0
source
            
echo "Getting subs"
tccat -i /dev/sr0 -T ${track},1-1000 | tcextract -x ps1 -t vob -a 0x21 >| "${subname}.raw"
subtitle2vobsub -p "${subname}.raw" -i ${mountpoint}/VIDEO_TS/VTS_0${track}_0.IFO -o "${subname}"
0
source
            
echo "Ripping $TITLE, Title $1"
tccat -i /dev/dvd -T$1,-1 > "${TITLE}T$1.vob"
shift
done
0
source
            
INFO "Kaffee, Tee, etc... "
tccat -t dvd -T ${_VTRACK},-1,1 -i ${RIP_DEV} | tcextract -a ${_ATRACK} -x ac3 -t vob | tcdecode -x ac3 | tcscan -x pcm > ${TMPFILE}.SCAN
0
source
            
subtitle2vobsub
tail
tccat
tcextract
tsMuxeR
M2VRequantiser
EOF`
for REQUIRED_TOOL in ${REQUIRED_TOOLS}
do
which ${REQUIRED_TOOL} >/dev/null
tccat -i ${DVD_DEVICE} -T ${DVD_TITLE},-1,${DVD_TITLE_ANGLE} -P | tee ${AUDIO_FIFO} ${VIDEO_FIFO} ${SUBS_FIFO} > /dev/null

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.

copyright

tccat is Copyright (C) by Thomas Oestreich.

notes

tccat is a front end for streaming various source types and is used in transcode’s import modules.


see also

avifix , avimerge , avisplit , tcdecode , tcdemux , tcextract , tcprobe , tcscan , transcode


authors

tccat was written by Thomas Oestreich
<ostreich[:at:]theorie.physik[:dot:]uni-goettingen.de> with contributions from many others. See AUTHORS for details.

How can this site be more helpful to YOU ?


give  feedback