File: tcextract.1

package info (click to toggle)
transcode 3%3A1.1.7-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 11,644 kB
  • sloc: ansic: 116,927; sh: 11,468; xml: 2,849; makefile: 1,891; perl: 1,492; pascal: 526; php: 191; python: 144; sed: 43
file content (141 lines) | stat: -rw-r--r-- 2,941 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
.TH tcextract 1 "26th November 2002" "tcextract(1)"
.SH NAME
tcextract \- read multimedia file from medium, extract or demultiplex requested stream and print to standard output
.SH SYNOPSIS
.TP
.B tcextract
.B -i
.I name
[
.B -x
.I codec
] [
.B -t
.I magic
] [
.B -a
.I track
] [
.B -C
.I s-e
] [
.B -d
.I verbosity
] [
.B -v
]
.SH COPYRIGHT
\fBtcextract\fP is Copyright (C) by Thomas Oestreich.
.SH DESCRIPTION
.B tcextract
is part of and usually called by \fBtranscode\fP.
.br
However, it can also be used independently.
.br
\fBtcextract\fP reads source (from stdin if not explicitely defined) and
prints on the standard output.
.SH OPTIONS
.IP "\fB-i \fIname\fP"
Specify input source.  If ommited, \fIstdin\fP is assumed.
\fBtcextract\fP reads streams from file or from stdin.

.IP "\fB-C \fIs-e\fP"
extract and print out only this frame interval (video) or bytes (audio) [all]. This option is only supported if the source contains proper information to perform a selective extraction.

.IP "\fB-t \fImagic\fP"
source file magic. This option is used to identify the source file format if reading is performed from stdin or \fItcextract\fP fails to identify the source
file format. Supported formats are labeled with \fImagic\fP:

avi		RIFF AVI-file

vob		MPEG program streams

m2v		MPEG elementary video stream

vdr		MPEG digital video recording

raw		raw bitstream

wav		RIFF WAVE audio

yuv4mpeg	mjpeg-tools stream header format

.IP "\fB-x \fIcodec\fP"
source pdeudo-codec, if not detected when reading from stdin. Currently, supported parameter for \fIcodec\fP are

mp3		MPEG audio

ac3		AC3 audio

a52		A52 audio

dv		Digital Video DV

mpeg2		MPEG video

yv12		Y'CbCr YUV

rgb		RGB 24-bit

ps1		MPEG private stream (subtitles)

pcm		raw audio stream

.IP "\fB-a \fItrack\fP"
extract selected audio or video track from source.

.IP "\fB-d\fP \fIlevel\fP"
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
.IP "\fB-v\fP"
Print version information and exit.


.SH NOTES
\fBtcextract\fP is a front end for extracting various raw or encoded audio/video tracks from a source and is used in \fBtranscode\fP's import pipeline.

.SH EXAMPLES
The command
.B tcextract -i foo.avi -x mp3 -a 3
extracts MPEG audio track 3 from the AVI-file foo.avi and prints the bitstream to stdout.

.PP
.SH AUTHORS
.B tcextract
was written by Thomas Oestreich
.br
<ostreich@theorie.physik.uni-goettingen.de> with contributions from
many others.  See AUTHORS for details.
.SH SEE ALSO
.BR avifix (1),
.BR avisync (1),
.BR avimerge (1),
.BR avisplit (1),
.BR tcprobe (1),
.BR tcscan (1),
.BR tccat (1),
.BR tcdemux (1),
.BR tcextract (1),
.BR tcdecode (1),
.BR transcode (1)