Diff of /java/help/ffmpeg_2 [000000] .. [65b66c]  Maximize  Restore

  Switch to unified view

a b/java/help/ffmpeg_2
1
3.3 Video Options
2
3
`-b bitrate'
4
    Set the video bitrate in bit/s (default = 200 kb/s). 
5
`-vframes number'
6
    Set the number of video frames to record. 
7
`-r fps'
8
    Set frame rate (Hz value, fraction or abbreviation), 
9
    (default = 25). 
10
`-s size'
11
    Set frame size. The format is `wxh' (ffserver 
12
    default = 160x128, ffmpeg default = same as source). 
13
    The following abbreviations are recognized:
14
15
    `sqcif'
16
        128x96 
17
    `qcif'
18
        176x144 
19
    `cif'
20
        352x288 
21
    `4cif'
22
        704x576 
23
    `qqvga'
24
        160x120 
25
    `qvga'
26
        320x240 
27
    `vga'
28
        640x480 
29
    `svga'
30
        800x600 
31
    `xga'
32
        1024x768 
33
    `uxga'
34
        1600x1200 
35
    `qxga'
36
        2048x1536 
37
    `sxga'
38
        1280x1024 
39
    `qsxga'
40
        2560x2048 
41
    `hsxga'
42
        5120x4096 
43
    `wvga'
44
        852x480 
45
    `wxga'
46
        1366x768 
47
    `wsxga'
48
        1600x1024 
49
    `wuxga'
50
        1920x1200 
51
    `woxga'
52
        2560x1600 
53
    `wqsxga'
54
        3200x2048 
55
    `wquxga'
56
        3840x2400 
57
    `whsxga'
58
        6400x4096 
59
    `whuxga'
60
        7680x4800 
61
    `cga'
62
        320x200 
63
    `ega'
64
        640x350 
65
    `hd480'
66
        852x480 
67
    `hd720'
68
        1280x720 
69
    `hd1080'
70
        1920x1080 
71
72
`-aspect aspect'
73
    Set aspect ratio (4:3, 16:9 or 1.3333, 1.7777). 
74
`-croptop size'
75
    Set top crop band size (in pixels). 
76
`-cropbottom size'
77
    Set bottom crop band size (in pixels). 
78
`-cropleft size'
79
    Set left crop band size (in pixels). 
80
`-cropright size'
81
    Set right crop band size (in pixels). 
82
`-padtop size'
83
    Set top pad band size (in pixels). 
84
`-padbottom size'
85
    Set bottom pad band size (in pixels). 
86
`-padleft size'
87
    Set left pad band size (in pixels). 
88
`-padright size'
89
    Set right pad band size (in pixels). 
90
`-padcolor (hex color)'
91
    Set color of padded bands. The value for padcolor 
92
    is expressed as a six digit hexadecimal number where 
93
    the first two digits represent red, the middle two 
94
    digits green and last two digits blue 
95
    (default = 000000 (black)). 
96
`-vn'
97
    Disable video recording. 
98
`-bt tolerance'
99
    Set video bitrate tolerance (in bit/s). 
100
`-maxrate bitrate'
101
    Set max video bitrate (in bit/s). 
102
`-minrate bitrate'
103
    Set min video bitrate (in bit/s). 
104
`-bufsize size'
105
    Set video buffer verifier buffer size (in bits). 
106
`-vcodec codec'
107
    Force video codec to codec. Use the copy special 
108
    value to tell that the raw codec data must be 
109
    copied as is. 
110
`-sameq'
111
    Use same video quality as source (implies VBR). 
112
`-pass n'
113
    Select the pass number (1 or 2). It is useful to 
114
    do two pass encoding. The statistics of the video 
115
    are recorded in the first pass and the video is 
116
    generated at the exact requested bitrate in the 
117
    second pass. 
118
`-passlogfile file'
119
    Set two pass logfile name to file. 
120
`-newvideo'
121
    Add a new video stream to the current output stream. 
122
123
3.4 Advanced Video Options
124
125
`-pix_fmt format'
126
    Set pixel format. Use 'list' as parameter to show 
127
    all the supported pixel formats. 
128
`-sws_flags flags'
129
    Set SwScaler flags (only available when compiled 
130
    with SwScaler support). 
131
`-g gop_size'
132
    Set the group of pictures size. 
133
`-intra'
134
    Use only intra frames. 
135
`-vdt n'
136
    Discard threshold. 
137
`-qscale q'
138
    Use fixed video quantizer scale (VBR). 
139
`-qmin q'
140
    minimum video quantizer scale (VBR) 
141
`-qmax q'
142
    maximum video quantizer scale (VBR) 
143
`-qdiff q'
144
    maximum difference between the quantizer scales (VBR) 
145
`-qblur blur'
146
    video quantizer scale blur (VBR) 
147
`-qcomp compression'
148
    video quantizer scale compression (VBR) 
149
`-lmin lambda'
150
    minimum video lagrange factor (VBR) 
151
`-lmax lambda'
152
    max video lagrange factor (VBR) 
153
`-mblmin lambda'
154
    minimum macroblock quantizer scale (VBR) 
155
`-mblmax lambda'
156
    maximum macroblock quantizer scale (VBR) These four 
157
    options (lmin, lmax, mblmin, mblmax) use 'lambda' 
158
    units, but you may use the QP2LAMBDA constant to 
159
    easily convert from 'q' units:
160
161
ffmpeg -i src.ext -lmax 21*QP2LAMBDA dst.ext
162
163
`-rc_init_cplx complexity'
164
    initial complexity for single pass encoding 
165
`-b_qfactor factor'
166
    qp factor between P- and B-frames 
167
`-i_qfactor factor'
168
    qp factor between P- and I-frames 
169
`-b_qoffset offset'
170
    qp offset between P- and B-frames 
171
`-i_qoffset offset'
172
    qp offset between P- and I-frames 
173
`-rc_eq equation'
174
    Set rate control equation (see section 3.10 
175
    FFmpeg formula evaluator) (default = tex^qComp). 
176
`-rc_override override'
177
    rate control override for specific intervals 
178
`-me_method method'
179
    Set motion estimation method to method. Available 
180
    methods are (from lowest to best quality):
181
182
    `zero'
183
        Try just the (0, 0) vector. 
184
    `phods'
185
    `log'
186
    `x1'
187
    `hex'
188
    `umh'
189
    `epzs'
190
        (default method) 
191
    `full'
192
        exhaustive search (slow and marginally 
193
        better than epzs) 
194
195
`-dct_algo algo'
196
    Set DCT algorithm to algo. Available values are:
197
198
    `0'
199
        FF_DCT_AUTO (default) 
200
    `1'
201
        FF_DCT_FASTINT 
202
    `2'
203
        FF_DCT_INT 
204
    `3'
205
        FF_DCT_MMX 
206
    `4'
207
        FF_DCT_MLIB 
208
    `5'
209
        FF_DCT_ALTIVEC 
210
211
`-idct_algo algo'
212
    Set IDCT algorithm to algo. Available values are:
213
214
    `0'
215
        FF_IDCT_AUTO (default) 
216
    `1'
217
        FF_IDCT_INT 
218
    `2'
219
        FF_IDCT_SIMPLE 
220
    `3'
221
        FF_IDCT_SIMPLEMMX 
222
    `4'
223
        FF_IDCT_LIBMPEG2MMX 
224
    `5'
225
        FF_IDCT_PS2 
226
    `6'
227
        FF_IDCT_MLIB 
228
    `7'
229
        FF_IDCT_ARM 
230
    `8'
231
        FF_IDCT_ALTIVEC 
232
    `9'
233
        FF_IDCT_SH4 
234
    `10'
235
        FF_IDCT_SIMPLEARM 
236
237
`-er n'
238
    Set error resilience to n.
239
240
    `1'
241
        FF_ER_CAREFUL (default) 
242
    `2'
243
        FF_ER_COMPLIANT 
244
    `3'
245
        FF_ER_AGGRESSIVE 
246
    `4'
247
        FF_ER_VERY_AGGRESSIVE 
248
249
`-ec bit_mask'
250
    Set error concealment to bit_mask. bit_mask is a 
251
    bit mask of the following values:
252
253
    `1'
254
        FF_EC_GUESS_MVS (default = enabled) 
255
    `2'
256
        FF_EC_DEBLOCK (default = enabled) 
257
258
`-bf frames'
259
    Use 'frames' B-frames (supported for MPEG-1, 
260
    MPEG-2 and MPEG-4). 
261
`-mbd mode'
262
    macroblock decision
263
264
    `0'
265
        FF_MB_DECISION_SIMPLE: Use mb_cmp (cannot 
266
        change it yet in FFmpeg). 
267
    `1'
268
        FF_MB_DECISION_BITS: Choose the one which 
269
        needs the fewest bits. 
270
    `2'
271
        FF_MB_DECISION_RD: rate distortion 
272
273
`-4mv'
274
    Use four motion vector by macroblock (MPEG-4 only). 
275
`-part'
276
    Use data partitioning (MPEG-4 only). 
277
`-bug param'
278
    Work around encoder bugs that are not auto-detected. 
279
`-strict strictness'
280
    How strictly to follow the standards. 
281
`-aic'
282
    Enable Advanced intra coding (h263+). 
283
`-umv'
284
    Enable Unlimited Motion Vector (h263+) 
285
`-deinterlace'
286
    Deinterlace pictures. 
287
`-ilme'
288
    Force interlacing support in encoder (MPEG-2 and 
289
    MPEG-4 only). Use this option if your input file is 
290
    interlaced and you want to keep the interlaced 
291
    format for minimum losses. The alternative is to 
292
    deinterlace the input stream with `-deinterlace', 
293
    but deinterlacing introduces losses. 
294
`-psnr'
295
    Calculate PSNR of compressed frames. 
296
`-vstats'
297
    Dump video coding statistics to `vstats_HHMMSS.log'. 
298
`-vstats_file file'
299
    Dump video coding statistics to file. 
300
`-vhook module'
301
    Insert video processing module. module contains the 
302
    module name and its parameters separated by spaces. 
303
`-top n'
304
    top=1/bottom=0/auto=-1 field first 
305
`-dc precision'
306
    Intra_dc_precision. 
307
`-vtag fourcc/tag'
308
    Force video tag/fourcc. 
309
`-qphist'
310
    Show QP histogram. 
311
`-vbsf bitstream filter'
312
    Bitstream filters available are "dump_extra", 
313
    "remove_extra", "noise". 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks