ffmpeg 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. data/.gitignore +4 -0
  2. data/LICENSE +20 -0
  3. data/README.textile +45 -0
  4. data/Rakefile +45 -0
  5. data/VERSION.yml +5 -0
  6. data/features/ffmpeg.feature +9 -0
  7. data/features/steps/ffmpeg_steps.rb +0 -0
  8. data/features/support/env.rb +11 -0
  9. data/ffmpeg.gemspec +86 -0
  10. data/lib/ffmpeg.rb +121 -0
  11. data/lib/ffmpeg/audio_options.rb +47 -0
  12. data/lib/ffmpeg/class_methods.rb +18 -0
  13. data/lib/ffmpeg/ffmpeg_command.rb +25 -0
  14. data/lib/ffmpeg/file_extensions.rb +150 -0
  15. data/lib/ffmpeg/helper_methods.rb +8 -0
  16. data/lib/ffmpeg/main_options.rb +165 -0
  17. data/lib/ffmpeg/meta_data.rb +22 -0
  18. data/lib/ffmpeg/video_advanced_options.rb +275 -0
  19. data/lib/ffmpeg/video_options.rb +197 -0
  20. data/rdoc/classes/FFMpeg.html +250 -0
  21. data/rdoc/classes/FFMpeg.src/M000005.html +27 -0
  22. data/rdoc/classes/FFMpeg.src/M000006.html +29 -0
  23. data/rdoc/classes/FFMpeg.src/M000007.html +18 -0
  24. data/rdoc/classes/FFMpeg.src/M000008.html +24 -0
  25. data/rdoc/classes/FFMpeg/AudioOptions.html +269 -0
  26. data/rdoc/classes/FFMpeg/AudioOptions.src/M000093.html +18 -0
  27. data/rdoc/classes/FFMpeg/AudioOptions.src/M000094.html +18 -0
  28. data/rdoc/classes/FFMpeg/AudioOptions.src/M000095.html +18 -0
  29. data/rdoc/classes/FFMpeg/AudioOptions.src/M000096.html +18 -0
  30. data/rdoc/classes/FFMpeg/AudioOptions.src/M000097.html +18 -0
  31. data/rdoc/classes/FFMpeg/AudioOptions.src/M000098.html +18 -0
  32. data/rdoc/classes/FFMpeg/AudioOptions.src/M000099.html +18 -0
  33. data/rdoc/classes/FFMpeg/AudioOptions.src/M000100.html +18 -0
  34. data/rdoc/classes/FFMpeg/ClassMethods.html +131 -0
  35. data/rdoc/classes/FFMpeg/ClassMethods.src/M000049.html +18 -0
  36. data/rdoc/classes/FFMpeg/HelperMethods.html +131 -0
  37. data/rdoc/classes/FFMpeg/HelperMethods.src/M000074.html +19 -0
  38. data/rdoc/classes/FFMpeg/MainOptions.html +494 -0
  39. data/rdoc/classes/FFMpeg/MainOptions.src/M000075.html +18 -0
  40. data/rdoc/classes/FFMpeg/MainOptions.src/M000076.html +18 -0
  41. data/rdoc/classes/FFMpeg/MainOptions.src/M000077.html +18 -0
  42. data/rdoc/classes/FFMpeg/MainOptions.src/M000078.html +18 -0
  43. data/rdoc/classes/FFMpeg/MainOptions.src/M000079.html +18 -0
  44. data/rdoc/classes/FFMpeg/MainOptions.src/M000080.html +18 -0
  45. data/rdoc/classes/FFMpeg/MainOptions.src/M000081.html +18 -0
  46. data/rdoc/classes/FFMpeg/MainOptions.src/M000082.html +18 -0
  47. data/rdoc/classes/FFMpeg/MainOptions.src/M000083.html +18 -0
  48. data/rdoc/classes/FFMpeg/MainOptions.src/M000084.html +18 -0
  49. data/rdoc/classes/FFMpeg/MainOptions.src/M000085.html +18 -0
  50. data/rdoc/classes/FFMpeg/MainOptions.src/M000086.html +18 -0
  51. data/rdoc/classes/FFMpeg/MainOptions.src/M000087.html +18 -0
  52. data/rdoc/classes/FFMpeg/MainOptions.src/M000088.html +18 -0
  53. data/rdoc/classes/FFMpeg/MainOptions.src/M000089.html +18 -0
  54. data/rdoc/classes/FFMpeg/MainOptions.src/M000090.html +18 -0
  55. data/rdoc/classes/FFMpeg/MainOptions.src/M000091.html +18 -0
  56. data/rdoc/classes/FFMpeg/MetaData.html +151 -0
  57. data/rdoc/classes/FFMpeg/MetaData.src/M000092.html +24 -0
  58. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.html +924 -0
  59. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000009.html +18 -0
  60. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000010.html +18 -0
  61. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000011.html +18 -0
  62. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000012.html +18 -0
  63. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000013.html +18 -0
  64. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000014.html +18 -0
  65. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000015.html +18 -0
  66. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000016.html +18 -0
  67. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000017.html +18 -0
  68. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000018.html +18 -0
  69. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000019.html +18 -0
  70. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000020.html +18 -0
  71. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000021.html +18 -0
  72. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000022.html +18 -0
  73. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000023.html +18 -0
  74. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000024.html +18 -0
  75. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000025.html +18 -0
  76. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000026.html +18 -0
  77. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000027.html +18 -0
  78. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000028.html +18 -0
  79. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000029.html +18 -0
  80. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000030.html +18 -0
  81. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000031.html +18 -0
  82. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000032.html +18 -0
  83. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000033.html +18 -0
  84. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000034.html +18 -0
  85. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000035.html +18 -0
  86. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000036.html +18 -0
  87. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000037.html +18 -0
  88. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000038.html +18 -0
  89. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000039.html +18 -0
  90. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000040.html +18 -0
  91. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000041.html +18 -0
  92. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000042.html +18 -0
  93. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000043.html +18 -0
  94. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000044.html +18 -0
  95. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000045.html +18 -0
  96. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000046.html +22 -0
  97. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000047.html +18 -0
  98. data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000048.html +18 -0
  99. data/rdoc/classes/FFMpeg/VideoOptions.html +630 -0
  100. data/rdoc/classes/FFMpeg/VideoOptions.src/M000050.html +18 -0
  101. data/rdoc/classes/FFMpeg/VideoOptions.src/M000051.html +18 -0
  102. data/rdoc/classes/FFMpeg/VideoOptions.src/M000052.html +18 -0
  103. data/rdoc/classes/FFMpeg/VideoOptions.src/M000053.html +18 -0
  104. data/rdoc/classes/FFMpeg/VideoOptions.src/M000054.html +18 -0
  105. data/rdoc/classes/FFMpeg/VideoOptions.src/M000055.html +18 -0
  106. data/rdoc/classes/FFMpeg/VideoOptions.src/M000056.html +18 -0
  107. data/rdoc/classes/FFMpeg/VideoOptions.src/M000057.html +18 -0
  108. data/rdoc/classes/FFMpeg/VideoOptions.src/M000058.html +18 -0
  109. data/rdoc/classes/FFMpeg/VideoOptions.src/M000059.html +18 -0
  110. data/rdoc/classes/FFMpeg/VideoOptions.src/M000060.html +18 -0
  111. data/rdoc/classes/FFMpeg/VideoOptions.src/M000061.html +18 -0
  112. data/rdoc/classes/FFMpeg/VideoOptions.src/M000062.html +18 -0
  113. data/rdoc/classes/FFMpeg/VideoOptions.src/M000063.html +18 -0
  114. data/rdoc/classes/FFMpeg/VideoOptions.src/M000064.html +18 -0
  115. data/rdoc/classes/FFMpeg/VideoOptions.src/M000065.html +18 -0
  116. data/rdoc/classes/FFMpeg/VideoOptions.src/M000066.html +18 -0
  117. data/rdoc/classes/FFMpeg/VideoOptions.src/M000067.html +18 -0
  118. data/rdoc/classes/FFMpeg/VideoOptions.src/M000068.html +18 -0
  119. data/rdoc/classes/FFMpeg/VideoOptions.src/M000069.html +18 -0
  120. data/rdoc/classes/FFMpeg/VideoOptions.src/M000070.html +18 -0
  121. data/rdoc/classes/FFMpeg/VideoOptions.src/M000071.html +18 -0
  122. data/rdoc/classes/FFMpeg/VideoOptions.src/M000072.html +18 -0
  123. data/rdoc/classes/FFMpeg/VideoOptions.src/M000073.html +18 -0
  124. data/rdoc/classes/FFMpegCommand.html +176 -0
  125. data/rdoc/classes/FFMpegCommand.src/M000001.html +18 -0
  126. data/rdoc/classes/FFMpegCommand.src/M000002.html +18 -0
  127. data/rdoc/classes/FFMpegCommand.src/M000003.html +18 -0
  128. data/rdoc/classes/FFMpegCommand.src/M000004.html +22 -0
  129. data/rdoc/classes/FileExtensions.html +118 -0
  130. data/rdoc/created.rid +1 -0
  131. data/rdoc/files/README_textile.html +171 -0
  132. data/rdoc/files/lib/ffmpeg/audio_options_rb.html +101 -0
  133. data/rdoc/files/lib/ffmpeg/class_methods_rb.html +101 -0
  134. data/rdoc/files/lib/ffmpeg/ffmpeg_command_rb.html +101 -0
  135. data/rdoc/files/lib/ffmpeg/file_extensions_rb.html +101 -0
  136. data/rdoc/files/lib/ffmpeg/helper_methods_rb.html +101 -0
  137. data/rdoc/files/lib/ffmpeg/main_options_rb.html +101 -0
  138. data/rdoc/files/lib/ffmpeg/meta_data_rb.html +101 -0
  139. data/rdoc/files/lib/ffmpeg/video_advanced_options_rb.html +101 -0
  140. data/rdoc/files/lib/ffmpeg/video_options_rb.html +101 -0
  141. data/rdoc/files/lib/ffmpeg_rb.html +116 -0
  142. data/rdoc/fr_class_index.html +36 -0
  143. data/rdoc/fr_file_index.html +36 -0
  144. data/rdoc/fr_method_index.html +126 -0
  145. data/rdoc/index.html +24 -0
  146. data/rdoc/rdoc-style.css +208 -0
  147. data/spec/audio_options_spec.rb +72 -0
  148. data/spec/ffmpeg_spec.rb +161 -0
  149. data/spec/files/terminal.mpg +0 -0
  150. data/spec/meta_spec.rb +15 -0
  151. data/spec/spec_helper.rb +11 -0
  152. data/spec/video_advanced_options_spec.rb +349 -0
  153. data/spec/video_options_spec.rb +200 -0
  154. metadata +213 -0
@@ -0,0 +1,24 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html>
7
+ <head>
8
+ <title>meta (FFMpeg::MetaData)</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
11
+ </head>
12
+ <body class="standalone-code">
13
+ <pre><span class="ruby-comment cmt"># File lib/ffmpeg/meta_data.rb, line 11</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">meta</span>
15
+ <span class="ruby-keyword kw">if</span> <span class="ruby-node">`which #{EXIF_UTILITY}`</span>.<span class="ruby-identifier">empty?</span>
16
+ {}
17
+ <span class="ruby-keyword kw">else</span>
18
+ <span class="ruby-ivar">@meta_data</span> <span class="ruby-operator">||=</span> <span class="ruby-node">`#{EXIF_UTILITY} #{@from_file}`</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">&quot;\n&quot;</span>).<span class="ruby-identifier">inject</span>({}) {<span class="ruby-operator">|</span><span class="ruby-identifier">hash</span>, <span class="ruby-identifier">element</span><span class="ruby-operator">|</span>
19
+ <span class="ruby-identifier">hash</span>.<span class="ruby-identifier">merge</span>(((<span class="ruby-identifier">split</span> = <span class="ruby-identifier">element</span>.<span class="ruby-identifier">split</span>(<span class="ruby-value str">':'</span>)) <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">split</span>.<span class="ruby-identifier">first</span>.<span class="ruby-identifier">strip</span>.<span class="ruby-identifier">downcase</span>.<span class="ruby-identifier">gsub</span>(<span class="ruby-regexp re">/[^a-zA-Z0-9]/</span>, <span class="ruby-value str">&quot;_&quot;</span>).<span class="ruby-identifier">to_sym</span>) =<span class="ruby-operator">&gt;</span> (<span class="ruby-identifier">split</span>.<span class="ruby-identifier">shift</span> <span class="ruby-operator">&amp;&amp;</span> <span class="ruby-identifier">split</span>).<span class="ruby-identifier">join</span>(<span class="ruby-value str">':'</span>).<span class="ruby-identifier">strip</span>)
20
+ }
21
+ <span class="ruby-keyword kw">end</span>
22
+ <span class="ruby-keyword kw">end</span></pre>
23
+ </body>
24
+ </html>
@@ -0,0 +1,924 @@
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!DOCTYPE html
3
+ PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
+
6
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7
+ <head>
8
+ <title>Module: FFMpeg::VideoAdvancedOptions</title>
9
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
10
+ <meta http-equiv="Content-Script-Type" content="text/javascript" />
11
+ <link rel="stylesheet" href="../.././rdoc-style.css" type="text/css" media="screen" />
12
+ <script type="text/javascript">
13
+ // <![CDATA[
14
+
15
+ function popupCode( url ) {
16
+ window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
17
+ }
18
+
19
+ function toggleCode( id ) {
20
+ if ( document.getElementById )
21
+ elem = document.getElementById( id );
22
+ else if ( document.all )
23
+ elem = eval( "document.all." + id );
24
+ else
25
+ return false;
26
+
27
+ elemStyle = elem.style;
28
+
29
+ if ( elemStyle.display != "block" ) {
30
+ elemStyle.display = "block"
31
+ } else {
32
+ elemStyle.display = "none"
33
+ }
34
+
35
+ return true;
36
+ }
37
+
38
+ // Make codeblocks hidden by default
39
+ document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
40
+
41
+ // ]]>
42
+ </script>
43
+
44
+ </head>
45
+ <body>
46
+
47
+
48
+
49
+ <div id="classHeader">
50
+ <table class="header-table">
51
+ <tr class="top-aligned-row">
52
+ <td><strong>Module</strong></td>
53
+ <td class="class-name-in-header">FFMpeg::VideoAdvancedOptions</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/ffmpeg/video_advanced_options_rb.html">
59
+ lib/ffmpeg/video_advanced_options.rb
60
+ </a>
61
+ <br />
62
+ </td>
63
+ </tr>
64
+
65
+ </table>
66
+ </div>
67
+ <!-- banner header -->
68
+
69
+ <div id="bodyContent">
70
+
71
+
72
+
73
+ <div id="contextContent">
74
+
75
+
76
+
77
+ </div>
78
+
79
+ <div id="method-list">
80
+ <h3 class="section-bar">Methods</h3>
81
+
82
+ <div class="name-list">
83
+ <a href="#M000025">b_frame_factor</a>&nbsp;&nbsp;
84
+ <a href="#M000027">b_frame_offset</a>&nbsp;&nbsp;
85
+ <a href="#M000036">b_frames</a>&nbsp;&nbsp;
86
+ <a href="#M000045">calculate_psnr</a>&nbsp;&nbsp;
87
+ <a href="#M000032">dct_algorithm</a>&nbsp;&nbsp;
88
+ <a href="#M000043">deinterlace</a>&nbsp;&nbsp;
89
+ <a href="#M000046">dump_video_statistics</a>&nbsp;&nbsp;
90
+ <a href="#M000041">enable_advanced_intra_coding</a>&nbsp;&nbsp;
91
+ <a href="#M000042">enable_unlimited_motion_vector</a>&nbsp;&nbsp;
92
+ <a href="#M000035">error_concealment</a>&nbsp;&nbsp;
93
+ <a href="#M000034">error_resilience</a>&nbsp;&nbsp;
94
+ <a href="#M000011">group_of_pictures_size</a>&nbsp;&nbsp;
95
+ <a href="#M000026">i_frame_factor</a>&nbsp;&nbsp;
96
+ <a href="#M000028">i_frame_offset</a>&nbsp;&nbsp;
97
+ <a href="#M000033">idct_algorithm</a>&nbsp;&nbsp;
98
+ <a href="#M000024">initial_complexity</a>&nbsp;&nbsp;
99
+ <a href="#M000044">interlacing_support</a>&nbsp;&nbsp;
100
+ <a href="#M000037">macroblock_decision_mode</a>&nbsp;&nbsp;
101
+ <a href="#M000031">motion_estimation_method</a>&nbsp;&nbsp;
102
+ <a href="#M000009">pixel_format</a>&nbsp;&nbsp;
103
+ <a href="#M000029">rate_control_equation</a>&nbsp;&nbsp;
104
+ <a href="#M000030">rate_control_override</a>&nbsp;&nbsp;
105
+ <a href="#M000047">show_qp_histogram</a>&nbsp;&nbsp;
106
+ <a href="#M000040">strictness</a>&nbsp;&nbsp;
107
+ <a href="#M000010">swscaler_flags</a>&nbsp;&nbsp;
108
+ <a href="#M000039">use_data_partitioning</a>&nbsp;&nbsp;
109
+ <a href="#M000038">use_four_motion_vector</a>&nbsp;&nbsp;
110
+ <a href="#M000012">use_only_intra_frames</a>&nbsp;&nbsp;
111
+ <a href="#M000048">video_bitstream_filter</a>&nbsp;&nbsp;
112
+ <a href="#M000013">video_discard_threshold</a>&nbsp;&nbsp;
113
+ <a href="#M000021">video_maximum_lagrange_factor</a>&nbsp;&nbsp;
114
+ <a href="#M000023">video_maximum_macroblock_scale</a>&nbsp;&nbsp;
115
+ <a href="#M000017">video_maximum_quantizer_difference</a>&nbsp;&nbsp;
116
+ <a href="#M000016">video_maximum_quantizer_scale</a>&nbsp;&nbsp;
117
+ <a href="#M000020">video_minimum_lagrange_factor</a>&nbsp;&nbsp;
118
+ <a href="#M000022">video_minimum_macroblock_scale</a>&nbsp;&nbsp;
119
+ <a href="#M000015">video_minimum_quantizer_scale</a>&nbsp;&nbsp;
120
+ <a href="#M000014">video_quantizer_scale</a>&nbsp;&nbsp;
121
+ <a href="#M000018">video_quantizer_scale_blur</a>&nbsp;&nbsp;
122
+ <a href="#M000019">video_quantizer_scale_compression</a>&nbsp;&nbsp;
123
+ </div>
124
+ </div>
125
+
126
+ </div>
127
+
128
+
129
+ <!-- if includes -->
130
+
131
+ <div id="section">
132
+
133
+
134
+
135
+
136
+
137
+
138
+
139
+
140
+ <!-- if method_list -->
141
+ <div id="methods">
142
+ <h3 class="section-bar">Public Instance methods</h3>
143
+
144
+ <div id="method-M000025" class="method-detail">
145
+ <a name="M000025"></a>
146
+
147
+ <div class="method-heading">
148
+ <a href="VideoAdvancedOptions.src/M000025.html" target="Code" class="method-signature"
149
+ onclick="popupCode('VideoAdvancedOptions.src/M000025.html');return false;">
150
+ <span class="method-name">b_frame_factor</span><span class="method-args">(factor)</span>
151
+ </a>
152
+ </div>
153
+
154
+ <div class="method-description">
155
+ <p>
156
+ Use qp factor between P- and B-frames
157
+ </p>
158
+ </div>
159
+ </div>
160
+
161
+ <div id="method-M000027" class="method-detail">
162
+ <a name="M000027"></a>
163
+
164
+ <div class="method-heading">
165
+ <a href="VideoAdvancedOptions.src/M000027.html" target="Code" class="method-signature"
166
+ onclick="popupCode('VideoAdvancedOptions.src/M000027.html');return false;">
167
+ <span class="method-name">b_frame_offset</span><span class="method-args">(offset)</span>
168
+ </a>
169
+ </div>
170
+
171
+ <div class="method-description">
172
+ <p>
173
+ Use qp offset between P- and B-frames
174
+ </p>
175
+ </div>
176
+ </div>
177
+
178
+ <div id="method-M000036" class="method-detail">
179
+ <a name="M000036"></a>
180
+
181
+ <div class="method-heading">
182
+ <a href="VideoAdvancedOptions.src/M000036.html" target="Code" class="method-signature"
183
+ onclick="popupCode('VideoAdvancedOptions.src/M000036.html');return false;">
184
+ <span class="method-name">b_frames</span><span class="method-args">(frames)</span>
185
+ </a>
186
+ </div>
187
+
188
+ <div class="method-description">
189
+ <p>
190
+ Use &#8216;frames&#8217; B-frames (supported for MPEG-1, MPEG-2 and
191
+ MPEG-4).
192
+ </p>
193
+ </div>
194
+ </div>
195
+
196
+ <div id="method-M000045" class="method-detail">
197
+ <a name="M000045"></a>
198
+
199
+ <div class="method-heading">
200
+ <a href="VideoAdvancedOptions.src/M000045.html" target="Code" class="method-signature"
201
+ onclick="popupCode('VideoAdvancedOptions.src/M000045.html');return false;">
202
+ <span class="method-name">calculate_psnr</span><span class="method-args">()</span>
203
+ </a>
204
+ </div>
205
+
206
+ <div class="method-description">
207
+ <p>
208
+ Calculate PSNR of compressed frames.
209
+ </p>
210
+ </div>
211
+ </div>
212
+
213
+ <div id="method-M000032" class="method-detail">
214
+ <a name="M000032"></a>
215
+
216
+ <div class="method-heading">
217
+ <a href="VideoAdvancedOptions.src/M000032.html" target="Code" class="method-signature"
218
+ onclick="popupCode('VideoAdvancedOptions.src/M000032.html');return false;">
219
+ <span class="method-name">dct_algorithm</span><span class="method-args">(algorithm)</span>
220
+ </a>
221
+ </div>
222
+
223
+ <div class="method-description">
224
+ <p>
225
+ Set DCT algorithm to algo. Available values are:
226
+ </p>
227
+ <pre>
228
+ `0' FF_DCT_AUTO (default)
229
+ `1' FF_DCT_FASTINT
230
+ `2' FF_DCT_INT
231
+ `3' FF_DCT_MMX
232
+ `4' FF_DCT_MLIB
233
+ `5' FF_DCT_ALTIVEC
234
+ </pre>
235
+ </div>
236
+ </div>
237
+
238
+ <div id="method-M000043" class="method-detail">
239
+ <a name="M000043"></a>
240
+
241
+ <div class="method-heading">
242
+ <a href="VideoAdvancedOptions.src/M000043.html" target="Code" class="method-signature"
243
+ onclick="popupCode('VideoAdvancedOptions.src/M000043.html');return false;">
244
+ <span class="method-name">deinterlace</span><span class="method-args">()</span>
245
+ </a>
246
+ </div>
247
+
248
+ <div class="method-description">
249
+ <p>
250
+ Deinterlace pictures.
251
+ </p>
252
+ </div>
253
+ </div>
254
+
255
+ <div id="method-M000046" class="method-detail">
256
+ <a name="M000046"></a>
257
+
258
+ <div class="method-heading">
259
+ <a href="VideoAdvancedOptions.src/M000046.html" target="Code" class="method-signature"
260
+ onclick="popupCode('VideoAdvancedOptions.src/M000046.html');return false;">
261
+ <span class="method-name">dump_video_statistics</span><span class="method-args">(file = nil)</span>
262
+ </a>
263
+ </div>
264
+
265
+ <div class="method-description">
266
+ <p>
267
+ Dump video coding statistics to `vstats_HHMMSS.log&#8217; or the supplied
268
+ file.
269
+ </p>
270
+ </div>
271
+ </div>
272
+
273
+ <div id="method-M000041" class="method-detail">
274
+ <a name="M000041"></a>
275
+
276
+ <div class="method-heading">
277
+ <a href="VideoAdvancedOptions.src/M000041.html" target="Code" class="method-signature"
278
+ onclick="popupCode('VideoAdvancedOptions.src/M000041.html');return false;">
279
+ <span class="method-name">enable_advanced_intra_coding</span><span class="method-args">()</span>
280
+ </a>
281
+ </div>
282
+
283
+ <div class="method-description">
284
+ <p>
285
+ Enable Advanced intra coding (h263+).
286
+ </p>
287
+ </div>
288
+ </div>
289
+
290
+ <div id="method-M000042" class="method-detail">
291
+ <a name="M000042"></a>
292
+
293
+ <div class="method-heading">
294
+ <a href="VideoAdvancedOptions.src/M000042.html" target="Code" class="method-signature"
295
+ onclick="popupCode('VideoAdvancedOptions.src/M000042.html');return false;">
296
+ <span class="method-name">enable_unlimited_motion_vector</span><span class="method-args">()</span>
297
+ </a>
298
+ </div>
299
+
300
+ <div class="method-description">
301
+ <p>
302
+ Enable Unlimited Motion Vector (h263+)
303
+ </p>
304
+ </div>
305
+ </div>
306
+
307
+ <div id="method-M000035" class="method-detail">
308
+ <a name="M000035"></a>
309
+
310
+ <div class="method-heading">
311
+ <a href="VideoAdvancedOptions.src/M000035.html" target="Code" class="method-signature"
312
+ onclick="popupCode('VideoAdvancedOptions.src/M000035.html');return false;">
313
+ <span class="method-name">error_concealment</span><span class="method-args">(mask)</span>
314
+ </a>
315
+ </div>
316
+
317
+ <div class="method-description">
318
+ <p>
319
+ Set error concealment to bit_mask. bit_mask is a bit mask of the following
320
+ values:
321
+ </p>
322
+ <pre>
323
+ `1' FF_EC_GUESS_MVS (default = enabled)
324
+ `2' FF_EC_DEBLOCK (default = enabled)
325
+ </pre>
326
+ </div>
327
+ </div>
328
+
329
+ <div id="method-M000034" class="method-detail">
330
+ <a name="M000034"></a>
331
+
332
+ <div class="method-heading">
333
+ <a href="VideoAdvancedOptions.src/M000034.html" target="Code" class="method-signature"
334
+ onclick="popupCode('VideoAdvancedOptions.src/M000034.html');return false;">
335
+ <span class="method-name">error_resilience</span><span class="method-args">(number)</span>
336
+ </a>
337
+ </div>
338
+
339
+ <div class="method-description">
340
+ <p>
341
+ Set error resilience to n.
342
+ </p>
343
+ <pre>
344
+ `1' FF_ER_CAREFUL (default)
345
+ `2' FF_ER_COMPLIANT
346
+ `3' FF_ER_AGGRESSIVE
347
+ `4' FF_ER_VERY_AGGRESSIVE
348
+ </pre>
349
+ </div>
350
+ </div>
351
+
352
+ <div id="method-M000011" class="method-detail">
353
+ <a name="M000011"></a>
354
+
355
+ <div class="method-heading">
356
+ <a href="VideoAdvancedOptions.src/M000011.html" target="Code" class="method-signature"
357
+ onclick="popupCode('VideoAdvancedOptions.src/M000011.html');return false;">
358
+ <span class="method-name">group_of_pictures_size</span><span class="method-args">(size)</span>
359
+ </a>
360
+ </div>
361
+
362
+ <div class="method-description">
363
+ <p>
364
+ Set the group of pictures size.
365
+ </p>
366
+ </div>
367
+ </div>
368
+
369
+ <div id="method-M000026" class="method-detail">
370
+ <a name="M000026"></a>
371
+
372
+ <div class="method-heading">
373
+ <a href="VideoAdvancedOptions.src/M000026.html" target="Code" class="method-signature"
374
+ onclick="popupCode('VideoAdvancedOptions.src/M000026.html');return false;">
375
+ <span class="method-name">i_frame_factor</span><span class="method-args">(factor)</span>
376
+ </a>
377
+ </div>
378
+
379
+ <div class="method-description">
380
+ <p>
381
+ Use qp factor between P- and I-frames
382
+ </p>
383
+ </div>
384
+ </div>
385
+
386
+ <div id="method-M000028" class="method-detail">
387
+ <a name="M000028"></a>
388
+
389
+ <div class="method-heading">
390
+ <a href="VideoAdvancedOptions.src/M000028.html" target="Code" class="method-signature"
391
+ onclick="popupCode('VideoAdvancedOptions.src/M000028.html');return false;">
392
+ <span class="method-name">i_frame_offset</span><span class="method-args">(offset)</span>
393
+ </a>
394
+ </div>
395
+
396
+ <div class="method-description">
397
+ <p>
398
+ Use qp offset between P- and I-frames
399
+ </p>
400
+ </div>
401
+ </div>
402
+
403
+ <div id="method-M000033" class="method-detail">
404
+ <a name="M000033"></a>
405
+
406
+ <div class="method-heading">
407
+ <a href="VideoAdvancedOptions.src/M000033.html" target="Code" class="method-signature"
408
+ onclick="popupCode('VideoAdvancedOptions.src/M000033.html');return false;">
409
+ <span class="method-name">idct_algorithm</span><span class="method-args">(algorithm)</span>
410
+ </a>
411
+ </div>
412
+
413
+ <div class="method-description">
414
+ <p>
415
+ Set IDCT algorithm to algo. Available values are:
416
+ </p>
417
+ <pre>
418
+ `0' FF_IDCT_AUTO (default)
419
+ `1' FF_IDCT_INT
420
+ `2' FF_IDCT_SIMPLE
421
+ `3' FF_IDCT_SIMPLEMMX
422
+ `4' FF_IDCT_LIBMPEG2MMX
423
+ `5' FF_IDCT_PS2
424
+ `6' FF_IDCT_MLIB
425
+ `7' FF_IDCT_ARM
426
+ `8' FF_IDCT_ALTIVEC
427
+ `9' FF_IDCT_SH4
428
+ `10' FF_IDCT_SIMPLEARM
429
+ </pre>
430
+ </div>
431
+ </div>
432
+
433
+ <div id="method-M000024" class="method-detail">
434
+ <a name="M000024"></a>
435
+
436
+ <div class="method-heading">
437
+ <a href="VideoAdvancedOptions.src/M000024.html" target="Code" class="method-signature"
438
+ onclick="popupCode('VideoAdvancedOptions.src/M000024.html');return false;">
439
+ <span class="method-name">initial_complexity</span><span class="method-args">(complexity)</span>
440
+ </a>
441
+ </div>
442
+
443
+ <div class="method-description">
444
+ <p>
445
+ Use initial complexity for single pass encoding
446
+ </p>
447
+ </div>
448
+ </div>
449
+
450
+ <div id="method-M000044" class="method-detail">
451
+ <a name="M000044"></a>
452
+
453
+ <div class="method-heading">
454
+ <a href="VideoAdvancedOptions.src/M000044.html" target="Code" class="method-signature"
455
+ onclick="popupCode('VideoAdvancedOptions.src/M000044.html');return false;">
456
+ <span class="method-name">interlacing_support</span><span class="method-args">()</span>
457
+ </a>
458
+ </div>
459
+
460
+ <div class="method-description">
461
+ <p>
462
+ Force interlacing support in encoder (MPEG-2 and MPEG-4 only). Use this
463
+ option if your input file is interlaced and you want to keep the interlaced
464
+ format for minimum losses. The alternative is to <a
465
+ href="VideoAdvancedOptions.html#M000043">deinterlace</a> the input stream
466
+ with `-<a href="VideoAdvancedOptions.html#M000043">deinterlace</a>&#8217;,
467
+ but deinterlacing introduces losses.
468
+ </p>
469
+ </div>
470
+ </div>
471
+
472
+ <div id="method-M000037" class="method-detail">
473
+ <a name="M000037"></a>
474
+
475
+ <div class="method-heading">
476
+ <a href="VideoAdvancedOptions.src/M000037.html" target="Code" class="method-signature"
477
+ onclick="popupCode('VideoAdvancedOptions.src/M000037.html');return false;">
478
+ <span class="method-name">macroblock_decision_mode</span><span class="method-args">(mode)</span>
479
+ </a>
480
+ </div>
481
+
482
+ <div class="method-description">
483
+ <p>
484
+ Macroblock decision mode
485
+ </p>
486
+ <pre>
487
+ `0' FF_MB_DECISION_SIMPLE: Use mb_cmp (cannot change it yet in FFmpeg).
488
+ `1' FF_MB_DECISION_BITS: Choose the one which needs the fewest bits.
489
+ `2' FF_MB_DECISION_RD: rate distortion
490
+ </pre>
491
+ </div>
492
+ </div>
493
+
494
+ <div id="method-M000031" class="method-detail">
495
+ <a name="M000031"></a>
496
+
497
+ <div class="method-heading">
498
+ <a href="VideoAdvancedOptions.src/M000031.html" target="Code" class="method-signature"
499
+ onclick="popupCode('VideoAdvancedOptions.src/M000031.html');return false;">
500
+ <span class="method-name">motion_estimation_method</span><span class="method-args">(method)</span>
501
+ </a>
502
+ </div>
503
+
504
+ <div class="method-description">
505
+ <p>
506
+ Set motion estimation method to method. Available methods are (from lowest
507
+ to best quality):
508
+ </p>
509
+ <pre>
510
+ `zero' - Try just the (0, 0) vector.
511
+ `phods'
512
+ `log'
513
+ `x1'
514
+ `hex'
515
+ `umh'
516
+ `epzs' - (default method)
517
+ `full' - exhaustive search (slow and marginally better than epzs)
518
+ </pre>
519
+ </div>
520
+ </div>
521
+
522
+ <div id="method-M000009" class="method-detail">
523
+ <a name="M000009"></a>
524
+
525
+ <div class="method-heading">
526
+ <a href="VideoAdvancedOptions.src/M000009.html" target="Code" class="method-signature"
527
+ onclick="popupCode('VideoAdvancedOptions.src/M000009.html');return false;">
528
+ <span class="method-name">pixel_format</span><span class="method-args">(format)</span>
529
+ </a>
530
+ </div>
531
+
532
+ <div class="method-description">
533
+ <p>
534
+ Set pixel format. Use &#8216;list&#8217; as parameter to show all the
535
+ supported pixel formats.
536
+ </p>
537
+ </div>
538
+ </div>
539
+
540
+ <div id="method-M000029" class="method-detail">
541
+ <a name="M000029"></a>
542
+
543
+ <div class="method-heading">
544
+ <a href="VideoAdvancedOptions.src/M000029.html" target="Code" class="method-signature"
545
+ onclick="popupCode('VideoAdvancedOptions.src/M000029.html');return false;">
546
+ <span class="method-name">rate_control_equation</span><span class="method-args">(equation)</span>
547
+ </a>
548
+ </div>
549
+
550
+ <div class="method-description">
551
+ <p>
552
+ Set rate control equation (see section 3.11 FFmpeg formula evaluator)
553
+ (default = tex^qComp).
554
+ </p>
555
+ </div>
556
+ </div>
557
+
558
+ <div id="method-M000030" class="method-detail">
559
+ <a name="M000030"></a>
560
+
561
+ <div class="method-heading">
562
+ <a href="VideoAdvancedOptions.src/M000030.html" target="Code" class="method-signature"
563
+ onclick="popupCode('VideoAdvancedOptions.src/M000030.html');return false;">
564
+ <span class="method-name">rate_control_override</span><span class="method-args">(override)</span>
565
+ </a>
566
+ </div>
567
+
568
+ <div class="method-description">
569
+ <p>
570
+ Set rate control override for specific intervals
571
+ </p>
572
+ </div>
573
+ </div>
574
+
575
+ <div id="method-M000047" class="method-detail">
576
+ <a name="M000047"></a>
577
+
578
+ <div class="method-heading">
579
+ <a href="VideoAdvancedOptions.src/M000047.html" target="Code" class="method-signature"
580
+ onclick="popupCode('VideoAdvancedOptions.src/M000047.html');return false;">
581
+ <span class="method-name">show_qp_histogram</span><span class="method-args">()</span>
582
+ </a>
583
+ </div>
584
+
585
+ <div class="method-description">
586
+ <p>
587
+ Show QP histogram.
588
+ </p>
589
+ </div>
590
+ </div>
591
+
592
+ <div id="method-M000040" class="method-detail">
593
+ <a name="M000040"></a>
594
+
595
+ <div class="method-heading">
596
+ <a href="VideoAdvancedOptions.src/M000040.html" target="Code" class="method-signature"
597
+ onclick="popupCode('VideoAdvancedOptions.src/M000040.html');return false;">
598
+ <span class="method-name">strictness</span><span class="method-args">(strictness)</span>
599
+ </a>
600
+ </div>
601
+
602
+ <div class="method-description">
603
+ <p>
604
+ How strictly to follow the standards.
605
+ </p>
606
+ </div>
607
+ </div>
608
+
609
+ <div id="method-M000010" class="method-detail">
610
+ <a name="M000010"></a>
611
+
612
+ <div class="method-heading">
613
+ <a href="VideoAdvancedOptions.src/M000010.html" target="Code" class="method-signature"
614
+ onclick="popupCode('VideoAdvancedOptions.src/M000010.html');return false;">
615
+ <span class="method-name">swscaler_flags</span><span class="method-args">(flags)</span>
616
+ </a>
617
+ </div>
618
+
619
+ <div class="method-description">
620
+ <p>
621
+ Set SwScaler flags (only available when compiled with swscale support).
622
+ </p>
623
+ </div>
624
+ </div>
625
+
626
+ <div id="method-M000039" class="method-detail">
627
+ <a name="M000039"></a>
628
+
629
+ <div class="method-heading">
630
+ <a href="VideoAdvancedOptions.src/M000039.html" target="Code" class="method-signature"
631
+ onclick="popupCode('VideoAdvancedOptions.src/M000039.html');return false;">
632
+ <span class="method-name">use_data_partitioning</span><span class="method-args">()</span>
633
+ </a>
634
+ </div>
635
+
636
+ <div class="method-description">
637
+ <p>
638
+ Use data partitioning (MPEG-4 only).
639
+ </p>
640
+ </div>
641
+ </div>
642
+
643
+ <div id="method-M000038" class="method-detail">
644
+ <a name="M000038"></a>
645
+
646
+ <div class="method-heading">
647
+ <a href="VideoAdvancedOptions.src/M000038.html" target="Code" class="method-signature"
648
+ onclick="popupCode('VideoAdvancedOptions.src/M000038.html');return false;">
649
+ <span class="method-name">use_four_motion_vector</span><span class="method-args">()</span>
650
+ </a>
651
+ </div>
652
+
653
+ <div class="method-description">
654
+ <p>
655
+ Use four motion vector by macroblock (MPEG-4 only).
656
+ </p>
657
+ </div>
658
+ </div>
659
+
660
+ <div id="method-M000012" class="method-detail">
661
+ <a name="M000012"></a>
662
+
663
+ <div class="method-heading">
664
+ <a href="VideoAdvancedOptions.src/M000012.html" target="Code" class="method-signature"
665
+ onclick="popupCode('VideoAdvancedOptions.src/M000012.html');return false;">
666
+ <span class="method-name">use_only_intra_frames</span><span class="method-args">()</span>
667
+ </a>
668
+ </div>
669
+
670
+ <div class="method-description">
671
+ <p>
672
+ Use only intra frames.
673
+ </p>
674
+ </div>
675
+ </div>
676
+
677
+ <div id="method-M000048" class="method-detail">
678
+ <a name="M000048"></a>
679
+
680
+ <div class="method-heading">
681
+ <a href="VideoAdvancedOptions.src/M000048.html" target="Code" class="method-signature"
682
+ onclick="popupCode('VideoAdvancedOptions.src/M000048.html');return false;">
683
+ <span class="method-name">video_bitstream_filter</span><span class="method-args">(filter)</span>
684
+ </a>
685
+ </div>
686
+
687
+ <div class="method-description">
688
+ <p>
689
+ Bitstream filters available are &quot;dump_extra&quot;,
690
+ &quot;remove_extra&quot;, &quot;noise&quot;, &quot;h264_mp4toannexb&quot;,
691
+ &quot;imxdump&quot; and &quot;mjpegadump&quot;.
692
+ </p>
693
+ </div>
694
+ </div>
695
+
696
+ <div id="method-M000013" class="method-detail">
697
+ <a name="M000013"></a>
698
+
699
+ <div class="method-heading">
700
+ <a href="VideoAdvancedOptions.src/M000013.html" target="Code" class="method-signature"
701
+ onclick="popupCode('VideoAdvancedOptions.src/M000013.html');return false;">
702
+ <span class="method-name">video_discard_threshold</span><span class="method-args">(number)</span>
703
+ </a>
704
+ </div>
705
+
706
+ <div class="method-description">
707
+ <p>
708
+ Discard threshold.
709
+ </p>
710
+ </div>
711
+ </div>
712
+
713
+ <div id="method-M000021" class="method-detail">
714
+ <a name="M000021"></a>
715
+
716
+ <div class="method-heading">
717
+ <a href="VideoAdvancedOptions.src/M000021.html" target="Code" class="method-signature"
718
+ onclick="popupCode('VideoAdvancedOptions.src/M000021.html');return false;">
719
+ <span class="method-name">video_maximum_lagrange_factor</span><span class="method-args">(lambda)</span>
720
+ </a>
721
+ </div>
722
+
723
+ <div class="method-description">
724
+ <p>
725
+ Use max video lagrange factor (VBR)
726
+ </p>
727
+ <p>
728
+ This option uses &#8216;lambda&#8217; units, but you may use the QP2LAMBDA
729
+ constant to easily convert from &#8216;q&#8217; units:
730
+ </p>
731
+ <pre>
732
+ ffmpeg -i src.ext -lmax 21*QP2LAMBDA dst.ext
733
+ </pre>
734
+ </div>
735
+ </div>
736
+
737
+ <div id="method-M000023" class="method-detail">
738
+ <a name="M000023"></a>
739
+
740
+ <div class="method-heading">
741
+ <a href="VideoAdvancedOptions.src/M000023.html" target="Code" class="method-signature"
742
+ onclick="popupCode('VideoAdvancedOptions.src/M000023.html');return false;">
743
+ <span class="method-name">video_maximum_macroblock_scale</span><span class="method-args">(lambda)</span>
744
+ </a>
745
+ </div>
746
+
747
+ <div class="method-description">
748
+ <p>
749
+ Use maximum macroblock quantizer scale (VBR).
750
+ </p>
751
+ <p>
752
+ This option uses &#8216;lambda&#8217; units, but you may use the QP2LAMBDA
753
+ constant to easily convert from &#8216;q&#8217; units:
754
+ </p>
755
+ <pre>
756
+ ffmpeg -i src.ext -lmax 21*QP2LAMBDA dst.ext
757
+ </pre>
758
+ </div>
759
+ </div>
760
+
761
+ <div id="method-M000017" class="method-detail">
762
+ <a name="M000017"></a>
763
+
764
+ <div class="method-heading">
765
+ <a href="VideoAdvancedOptions.src/M000017.html" target="Code" class="method-signature"
766
+ onclick="popupCode('VideoAdvancedOptions.src/M000017.html');return false;">
767
+ <span class="method-name">video_maximum_quantizer_difference</span><span class="method-args">(diff)</span>
768
+ </a>
769
+ </div>
770
+
771
+ <div class="method-description">
772
+ <p>
773
+ Use maximum difference between the quantizer scales (VBR)
774
+ </p>
775
+ </div>
776
+ </div>
777
+
778
+ <div id="method-M000016" class="method-detail">
779
+ <a name="M000016"></a>
780
+
781
+ <div class="method-heading">
782
+ <a href="VideoAdvancedOptions.src/M000016.html" target="Code" class="method-signature"
783
+ onclick="popupCode('VideoAdvancedOptions.src/M000016.html');return false;">
784
+ <span class="method-name">video_maximum_quantizer_scale</span><span class="method-args">(scale)</span>
785
+ </a>
786
+ </div>
787
+
788
+ <div class="method-description">
789
+ <p>
790
+ Use maximum video quantizer scale (VBR)
791
+ </p>
792
+ </div>
793
+ </div>
794
+
795
+ <div id="method-M000020" class="method-detail">
796
+ <a name="M000020"></a>
797
+
798
+ <div class="method-heading">
799
+ <a href="VideoAdvancedOptions.src/M000020.html" target="Code" class="method-signature"
800
+ onclick="popupCode('VideoAdvancedOptions.src/M000020.html');return false;">
801
+ <span class="method-name">video_minimum_lagrange_factor</span><span class="method-args">(lambda)</span>
802
+ </a>
803
+ </div>
804
+
805
+ <div class="method-description">
806
+ <p>
807
+ Use minimum video lagrange factor (VBR)
808
+ </p>
809
+ <p>
810
+ This option uses &#8216;lambda&#8217; units, but you may use the QP2LAMBDA
811
+ constant to easily convert from &#8216;q&#8217; units:
812
+ </p>
813
+ <pre>
814
+ ffmpeg -i src.ext -lmax 21*QP2LAMBDA dst.ext
815
+ </pre>
816
+ </div>
817
+ </div>
818
+
819
+ <div id="method-M000022" class="method-detail">
820
+ <a name="M000022"></a>
821
+
822
+ <div class="method-heading">
823
+ <a href="VideoAdvancedOptions.src/M000022.html" target="Code" class="method-signature"
824
+ onclick="popupCode('VideoAdvancedOptions.src/M000022.html');return false;">
825
+ <span class="method-name">video_minimum_macroblock_scale</span><span class="method-args">(lambda)</span>
826
+ </a>
827
+ </div>
828
+
829
+ <div class="method-description">
830
+ <p>
831
+ Use minimum macroblock quantizer scale (VBR)
832
+ </p>
833
+ <p>
834
+ This option uses &#8216;lambda&#8217; units, but you may use the QP2LAMBDA
835
+ constant to easily convert from &#8216;q&#8217; units:
836
+ </p>
837
+ <pre>
838
+ ffmpeg -i src.ext -lmax 21*QP2LAMBDA dst.ext
839
+ </pre>
840
+ </div>
841
+ </div>
842
+
843
+ <div id="method-M000015" class="method-detail">
844
+ <a name="M000015"></a>
845
+
846
+ <div class="method-heading">
847
+ <a href="VideoAdvancedOptions.src/M000015.html" target="Code" class="method-signature"
848
+ onclick="popupCode('VideoAdvancedOptions.src/M000015.html');return false;">
849
+ <span class="method-name">video_minimum_quantizer_scale</span><span class="method-args">(scale)</span>
850
+ </a>
851
+ </div>
852
+
853
+ <div class="method-description">
854
+ <p>
855
+ Use minimum video quantizer scale (VBR)
856
+ </p>
857
+ </div>
858
+ </div>
859
+
860
+ <div id="method-M000014" class="method-detail">
861
+ <a name="M000014"></a>
862
+
863
+ <div class="method-heading">
864
+ <a href="VideoAdvancedOptions.src/M000014.html" target="Code" class="method-signature"
865
+ onclick="popupCode('VideoAdvancedOptions.src/M000014.html');return false;">
866
+ <span class="method-name">video_quantizer_scale</span><span class="method-args">(scale)</span>
867
+ </a>
868
+ </div>
869
+
870
+ <div class="method-description">
871
+ <p>
872
+ Use fixed video quantizer scale (VBR).
873
+ </p>
874
+ </div>
875
+ </div>
876
+
877
+ <div id="method-M000018" class="method-detail">
878
+ <a name="M000018"></a>
879
+
880
+ <div class="method-heading">
881
+ <a href="VideoAdvancedOptions.src/M000018.html" target="Code" class="method-signature"
882
+ onclick="popupCode('VideoAdvancedOptions.src/M000018.html');return false;">
883
+ <span class="method-name">video_quantizer_scale_blur</span><span class="method-args">(blur)</span>
884
+ </a>
885
+ </div>
886
+
887
+ <div class="method-description">
888
+ <p>
889
+ Use video quantizer scale blur (VBR) (range 0.0 - 1.0)
890
+ </p>
891
+ </div>
892
+ </div>
893
+
894
+ <div id="method-M000019" class="method-detail">
895
+ <a name="M000019"></a>
896
+
897
+ <div class="method-heading">
898
+ <a href="VideoAdvancedOptions.src/M000019.html" target="Code" class="method-signature"
899
+ onclick="popupCode('VideoAdvancedOptions.src/M000019.html');return false;">
900
+ <span class="method-name">video_quantizer_scale_compression</span><span class="method-args">(compression)</span>
901
+ </a>
902
+ </div>
903
+
904
+ <div class="method-description">
905
+ <p>
906
+ Use video quantizer scale compression (VBR) (default 0.5). Constant of
907
+ ratecontrol equation. Recommended range for default rc_eq: 0.0-1.0
908
+ </p>
909
+ </div>
910
+ </div>
911
+
912
+
913
+ </div>
914
+
915
+
916
+ </div>
917
+
918
+
919
+ <div id="validator-badges">
920
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
921
+ </div>
922
+
923
+ </body>
924
+ </html>