File: ccextractor.cnf.sample

package info (click to toggle)
ccextractor 0.87+ds1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 10,064 kB
  • sloc: ansic: 172,772; makefile: 777; sh: 622; python: 319
file content (377 lines) | stat: -rw-r--r-- 8,987 bytes parent folder | download
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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
#######################################################
# Version 0.01
#
# To enable required option please uncomment option
#


# The Input Source tag option gives ability to user
# to take input from file, standard input or network
# This tag takes number in its input and their meanings
# are following
# 0 = file
# 1 = stdin
# 2 = network

INPUT_SOURCE=0

# The Buffer Input tag
# This tag takes number in its input.

#BUFFER_INPUT=0

# The Direct Rollup tag
# This tag takes number in its input and their meanings
# are following
# 0 = no
# 1 = yes

#DIRECT_ROLLUP=

#The No font Color Tag
# This tag takes number in its input and their meanings
# are following
# 0 = no
# 1 = yes

#NOFONT_COLOR=

#The No type Setting Tag
# This tag takes number in its input and their meanings
# are following
# 0 = no
# 1 = yes

#NOTYPE_SETTING=

# The Codec Tag takes the preference of codec
# tag CCX_CODEC_ANY is by default
# This tag takes number in its input and their meanings
# are following
# 0 = CCX_CODEC_ANY
# 1 = CCX_CODEC_TELETEXT
# 2 = CCX_CODEC_DVB

#CODEC=

# The NO Codec Tag do not use codec specified
# tag CCX_CODEC_NONE is by default
# This tag takes number in its input and their meanings
# are following
# 1 = CCX_CODEC_TELETEXT
# 2 = CCX_CODEC_DVB
# 3 = CCX_CODEC_NONE

#NOCODEC=

# OUTPUT_FORMAT tag specify format of output
# by default output format is srt
# This tag takes number in its input and their meanings
# are following
# 0 = CCX_OF_RAW
# 1 = CCX_OF_SRT (default)
# 2 = CCX_OF_SAMI
# 3 = CCX_OF_TRANSCRIPT
# 4 = CCX_OF_RCWT
# 5 = CCX_OF_NULL
# 6 = CCX_OF_SMPTETT
# 7 = CCX_OF_SPUPNG
# 8 = CCX_OF_DVDRAW

#OUTPUT_FORMAT=

# Start credit Text is shown at start
# this tag take text in input
# Please note text is limited to one line in configuration
# file

#START_CREDIT_TEXT=

# Start credit do not start before specified time in tag
# this tag only accepts SS, MM:SS or HH:MM:SS

#START_CREDIT_NOT_BEFORE=

# Start credits do not start after specified time in tag
# this tag only accepts SS, MM:SS or HH:MM:SS

#START_CREDIT_NOT_AFTER=

# Start credits run for at least time specied in tag
# this tag only accepts SS, MM:SS or HH:MM:SS

#START_CREDIT_FOR_ATLEAST=

# Start credits are displayed for atmost time specified in tag
# this tag only accepts SS, MM:SS or HH:MM:SS

#START_CREDIT_FOR_ATMOST=

# End Credit text are shown at beginning
# this tag take text in input
# Please note text is limited to one line in configuration
# file

#END_CREDITS_TEXT=

# End credits run for at least time specied in tag
# this tag only accepts SS, MM:SS or HH:MM:SS

#END_CREDITS_FOR_ATLEAST

# End credits are displayed for atmost time specified in tag
# this tag only accepts SS, MM:SS or HH:MM:SS

#END_CREDITS_FOR_ATMOST

# Is Video edited or split by tool
# By default its 1, ccextractor will process input files in
# sequence as if they were all one large file i.e
# split by a generic, non video-aware tool. If you
# are processing video hat was split with a editing
# tool, use 0 so ccextractor doesn't try to rebuild
# the original timing.
# This tag take 0 or 1 in input

#VIDEO_EDITED=1

# Use GOP for timing instead of PTS. This only applies
# to Program or Transport Streams with MPEG2 data and
# overrides the default PTS timing,GOP timing is always
# used for Elementary Streams.
#
# This tag takes number in its input and their meanings
# are following
#  0 = use pts for time (when reasonable)
#  1 = use gop for time (when reasonable)
# -1 = Never use GOP timing (use PTS), even if ccextractor
#      detects GOP timing is the reasonable choice.

#GOP_TIME=0

# Fix padding - some cards (or providers, or whatever)
# seem to send 0000 as CC padding instead of 8080. If you
# get bad timing, this might solve it.
#
# This tag take number in its input and there meaning
# are following
# 0 = no
# 1 = yes

#FIX_PADDINDG=0

# If you hate the repeated lines caused by the roll-up
# emulation, you can have ccextractor write only one
# line at a time, getting rid of these repeated lines.
#
# This tag take number in its input and their meanings
# are following
# 0 = no (default)
# 1 = yes

#NO_ROLL_UP=0

# Roll-up captions can consist of 2, 3 or 4 visible
# lines at any time (the number of lines is part of
# the transmission). If having 3 or 4 lines annoys
# you can use this tag to force the decoder to always
# use 1, 2 or 3 lines. Note that 1 line is not
# a real mode rollup mode, so CCExtractor does what
# it can.
# In value = 1 the start timestamp is actually the timestamp
# of the first character received which is possibly more
# accurate.
#
# This tag take number in its input and there meaning
# are following
# 1
# 2
# 3

#FORCED_RU

# This tag trim line
# This tag take number in its input and there meaning
# are following
# 0 = no
# 1 = yes

#TRIM=0

#
# Report progress and interesting events to stderr
# in a easy to parse format. This is intended to be
# used by other programs. See docs directory for details
# This tag take number in its input and there meaning
# are following
# 0 = no
# 1 = yes

#GUI_MODE_REPORTS=0

# Suppress the output of the progress bar
# This tag take number in its input and there meaning
# are following
# 0 = no
# 1 = yes

#NO_PROGRESS_BAR=0

# Sentence capitalization. Use if you hate
# ALL CAPS in subtitles
# This tag take number in its input and there meaning
# are following
# 0 = no
# 1 = yes

#SENTENCE_CAP=0

#this tag take Dictionary file name containing words in each line

#CAP_FILE=Dictionary.txt

# Program number(pid) to be selected from ts file
# This tag take number in its input and there meaning
# are following
# -1 = automaticaly selected
#  X = actual program pid in ts file

#PROGRAM_NUMBER=-1

# select automaticaly program from ts file
# This tag take number in its input and there meaning
# are following
# 0 = no
# 1 = yes

#AUTO_PROGRAM=0

# Stream number(pid) to be selected from file
# This tag take number in its input and there meaning
# are following
# -1 = automaticaly selected
#  X = actual stream pid in ts file

#STREAM=-1

#Write number of  screenfuls and terminate processing
#This tag take number of secreen

#SCREEN_TO_PROCESS=100

# start extraction from the time specified
# this tag only accepts SS, MM:SS or HH:MM:SS

#START_AT

# End extraction at the time specified
# this tag only accepts SS, MM:SS or HH:MM:SS

#END_AT

# If no CC packets are detected based on the PMT, try
# to find data in all packets by scanning.
# This tag take number in its input and there meaning
# are following
# 0 = no
# 1 = yes

#INVASTIGATE_PACKET=0

# If the video was recorder using a Hauppauge card, it
# might need special processing. This parameter will
# force the special treatment.

#HAUPPAUGE_MODE=0

# MP4 files the closed caption data can be embedded in
# the video track or in a dedicated CC track. If a
# dedicated track is detected it will be processed instead
# of the video track. If you need to force the video track
# to be processed instead use this option.
# This tag take number in its input and there meaning
# are following
# 0 = no
# 1 = yes

#MP4_VIDEO_TRACK

# File need to be encoding in which format
# This tag take number in its input and there meaning
# are following
# 0 = no
# 0 = CX_ENC_UNICODE
# 1 = CCX_ENC_LATIN_1
# 2 = CCX_ENC_UTF_8

#ENCODING=2

# Use the pic_order_cnt_lsb in AVC/H.264 data streams
# to order the CC information.  The default way is to
# use the PTS information.  Use this switch only when
# needed.
# This tag take number in its input and there meaning
# are following
# 0 = no
# 1 = yes

#USE_PIC_ORDER=0

# The MythTV branch is needed for analog captures where
# the closed caption data is stored in the VBI, such as
# those with bttv cards (Hauppage 250 for example). This
# is detected automatically so you don't need to worry
# about this unless autodetection doesn't work for you.
# This tag take number in its input and there meaning
# are following
# 0 = NO Myth
# 1 = Myth
# 2 = Auto

#AUTO_MYTH=2

# Read the captions from the MPEG2 video stream rather
# than the captions stream in WTV files
# This tag take number in its input and there meaning
# are following
# 0 = no
# 1 = yes

#WTV_MPEG2=0

# This tag take output file name

#OUTPUT_FILENAME=output.srt

# Don't try to find out the stream for subtitles
# use the provided pid
# Takes number as input

#DATA_PID=0x100

# Instead of selecting the stream by its PID, select it
# by its type (pick the stream that has this type in
# the PMT
# Takes number as input

#STREAM_TYPE=0x6

# Assume the data is of this type, don't autodetect. This
# parameter may be needed if DATA_PID or STREAM_TYPE tag
# is set and CCExtractor cannot determine how to process
# the stream. The value may be 2 (MPEG video) or
# 6 (MPEG private data).
#
# Tekes number in input

#TS_FORCED_STREAM_TYPE=0x6

# This tag specify the format of date
# 0 = ODF_NONE
# 1 = ODF_HHMMSS
# 2 = ODF_SECONDS
# 3 = ODF_DATE
# 4 = ODF_HHMMSSMS ( HH:MM:SS,MILIS .srt style )


#DATE_FORMAT=4