ffmpeg 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +4 -0
- data/LICENSE +20 -0
- data/README.textile +45 -0
- data/Rakefile +45 -0
- data/VERSION.yml +5 -0
- data/features/ffmpeg.feature +9 -0
- data/features/steps/ffmpeg_steps.rb +0 -0
- data/features/support/env.rb +11 -0
- data/ffmpeg.gemspec +86 -0
- data/lib/ffmpeg.rb +121 -0
- data/lib/ffmpeg/audio_options.rb +47 -0
- data/lib/ffmpeg/class_methods.rb +18 -0
- data/lib/ffmpeg/ffmpeg_command.rb +25 -0
- data/lib/ffmpeg/file_extensions.rb +150 -0
- data/lib/ffmpeg/helper_methods.rb +8 -0
- data/lib/ffmpeg/main_options.rb +165 -0
- data/lib/ffmpeg/meta_data.rb +22 -0
- data/lib/ffmpeg/video_advanced_options.rb +275 -0
- data/lib/ffmpeg/video_options.rb +197 -0
- data/rdoc/classes/FFMpeg.html +250 -0
- data/rdoc/classes/FFMpeg.src/M000005.html +27 -0
- data/rdoc/classes/FFMpeg.src/M000006.html +29 -0
- data/rdoc/classes/FFMpeg.src/M000007.html +18 -0
- data/rdoc/classes/FFMpeg.src/M000008.html +24 -0
- data/rdoc/classes/FFMpeg/AudioOptions.html +269 -0
- data/rdoc/classes/FFMpeg/AudioOptions.src/M000093.html +18 -0
- data/rdoc/classes/FFMpeg/AudioOptions.src/M000094.html +18 -0
- data/rdoc/classes/FFMpeg/AudioOptions.src/M000095.html +18 -0
- data/rdoc/classes/FFMpeg/AudioOptions.src/M000096.html +18 -0
- data/rdoc/classes/FFMpeg/AudioOptions.src/M000097.html +18 -0
- data/rdoc/classes/FFMpeg/AudioOptions.src/M000098.html +18 -0
- data/rdoc/classes/FFMpeg/AudioOptions.src/M000099.html +18 -0
- data/rdoc/classes/FFMpeg/AudioOptions.src/M000100.html +18 -0
- data/rdoc/classes/FFMpeg/ClassMethods.html +131 -0
- data/rdoc/classes/FFMpeg/ClassMethods.src/M000049.html +18 -0
- data/rdoc/classes/FFMpeg/HelperMethods.html +131 -0
- data/rdoc/classes/FFMpeg/HelperMethods.src/M000074.html +19 -0
- data/rdoc/classes/FFMpeg/MainOptions.html +494 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000075.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000076.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000077.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000078.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000079.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000080.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000081.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000082.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000083.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000084.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000085.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000086.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000087.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000088.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000089.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000090.html +18 -0
- data/rdoc/classes/FFMpeg/MainOptions.src/M000091.html +18 -0
- data/rdoc/classes/FFMpeg/MetaData.html +151 -0
- data/rdoc/classes/FFMpeg/MetaData.src/M000092.html +24 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.html +924 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000009.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000010.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000011.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000012.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000013.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000014.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000015.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000016.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000017.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000018.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000019.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000020.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000021.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000022.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000023.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000024.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000025.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000026.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000027.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000028.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000029.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000030.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000031.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000032.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000033.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000034.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000035.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000036.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000037.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000038.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000039.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000040.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000041.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000042.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000043.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000044.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000045.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000046.html +22 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000047.html +18 -0
- data/rdoc/classes/FFMpeg/VideoAdvancedOptions.src/M000048.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.html +630 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000050.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000051.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000052.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000053.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000054.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000055.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000056.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000057.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000058.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000059.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000060.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000061.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000062.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000063.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000064.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000065.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000066.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000067.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000068.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000069.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000070.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000071.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000072.html +18 -0
- data/rdoc/classes/FFMpeg/VideoOptions.src/M000073.html +18 -0
- data/rdoc/classes/FFMpegCommand.html +176 -0
- data/rdoc/classes/FFMpegCommand.src/M000001.html +18 -0
- data/rdoc/classes/FFMpegCommand.src/M000002.html +18 -0
- data/rdoc/classes/FFMpegCommand.src/M000003.html +18 -0
- data/rdoc/classes/FFMpegCommand.src/M000004.html +22 -0
- data/rdoc/classes/FileExtensions.html +118 -0
- data/rdoc/created.rid +1 -0
- data/rdoc/files/README_textile.html +171 -0
- data/rdoc/files/lib/ffmpeg/audio_options_rb.html +101 -0
- data/rdoc/files/lib/ffmpeg/class_methods_rb.html +101 -0
- data/rdoc/files/lib/ffmpeg/ffmpeg_command_rb.html +101 -0
- data/rdoc/files/lib/ffmpeg/file_extensions_rb.html +101 -0
- data/rdoc/files/lib/ffmpeg/helper_methods_rb.html +101 -0
- data/rdoc/files/lib/ffmpeg/main_options_rb.html +101 -0
- data/rdoc/files/lib/ffmpeg/meta_data_rb.html +101 -0
- data/rdoc/files/lib/ffmpeg/video_advanced_options_rb.html +101 -0
- data/rdoc/files/lib/ffmpeg/video_options_rb.html +101 -0
- data/rdoc/files/lib/ffmpeg_rb.html +116 -0
- data/rdoc/fr_class_index.html +36 -0
- data/rdoc/fr_file_index.html +36 -0
- data/rdoc/fr_method_index.html +126 -0
- data/rdoc/index.html +24 -0
- data/rdoc/rdoc-style.css +208 -0
- data/spec/audio_options_spec.rb +72 -0
- data/spec/ffmpeg_spec.rb +161 -0
- data/spec/files/terminal.mpg +0 -0
- data/spec/meta_spec.rb +15 -0
- data/spec/spec_helper.rb +11 -0
- data/spec/video_advanced_options_spec.rb +349 -0
- data/spec/video_options_spec.rb +200 -0
- metadata +213 -0
|
@@ -0,0 +1,18 @@
|
|
|
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>dct_algorithm (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 148</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dct_algorithm</span>(<span class="ruby-identifier">algorithm</span>)
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-dct_algo #{algorithm}"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>idct_algorithm (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 165</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">idct_algorithm</span>(<span class="ruby-identifier">algorithm</span>)
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-idct_algo #{algorithm}"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>error_resilience (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 175</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">error_resilience</span>(<span class="ruby-identifier">number</span>)
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-er #{number}"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>error_concealment (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 183</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">error_concealment</span>(<span class="ruby-identifier">mask</span>)
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-ec #{mask}"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>b_frames (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 188</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">b_frames</span>(<span class="ruby-identifier">frames</span>)
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-bf #{frames}"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>macroblock_decision_mode (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 197</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">macroblock_decision_mode</span>(<span class="ruby-identifier">mode</span>)
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-mbd #{mode}"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>use_four_motion_vector (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 202</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">use_four_motion_vector</span>
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"-4mv"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>use_data_partitioning (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 207</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">use_data_partitioning</span>
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"-part"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>strictness (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 215</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">strictness</span>(<span class="ruby-identifier">strictness</span>)
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-strict #{strictness}"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>enable_advanced_intra_coding (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 220</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">enable_advanced_intra_coding</span>
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"-aic"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>enable_unlimited_motion_vector (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 225</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">enable_unlimited_motion_vector</span>
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"-umv"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>deinterlace (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 230</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">deinterlace</span>
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"-deinterlace"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>interlacing_support (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 237</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">interlacing_support</span>
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"-ilme"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>calculate_psnr (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 242</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">calculate_psnr</span>
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"-psnr"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,22 @@
|
|
|
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>dump_video_statistics (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 247</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dump_video_statistics</span>(<span class="ruby-identifier">file</span> = <span class="ruby-keyword kw">nil</span>)
|
|
15
|
+
<span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">file</span>.<span class="ruby-identifier">nil?</span>
|
|
16
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-vstats_file #{file}"</span>
|
|
17
|
+
<span class="ruby-keyword kw">else</span>
|
|
18
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"-vstats"</span>
|
|
19
|
+
<span class="ruby-keyword kw">end</span>
|
|
20
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>show_qp_histogram (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 265</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">show_qp_histogram</span>
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"-qphist"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,18 @@
|
|
|
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>video_bitstream_filter (FFMpeg::VideoAdvancedOptions)</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/video_advanced_options.rb, line 271</span>
|
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">video_bitstream_filter</span>(<span class="ruby-identifier">filter</span>)
|
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-vbsf #{filter}"</span>
|
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
|
17
|
+
</body>
|
|
18
|
+
</html>
|
|
@@ -0,0 +1,630 @@
|
|
|
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::VideoOptions</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::VideoOptions</td>
|
|
54
|
+
</tr>
|
|
55
|
+
<tr class="top-aligned-row">
|
|
56
|
+
<td><strong>In:</strong></td>
|
|
57
|
+
<td>
|
|
58
|
+
<a href="../../files/lib/ffmpeg/video_options_rb.html">
|
|
59
|
+
lib/ffmpeg/video_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="#M000054">aspect</a>
|
|
84
|
+
<a href="#M000056">crop_bottom</a>
|
|
85
|
+
<a href="#M000057">crop_left</a>
|
|
86
|
+
<a href="#M000058">crop_right</a>
|
|
87
|
+
<a href="#M000055">crop_top</a>
|
|
88
|
+
<a href="#M000064">disable_video</a>
|
|
89
|
+
<a href="#M000053">framerate</a>
|
|
90
|
+
<a href="#M000073">new_video</a>
|
|
91
|
+
<a href="#M000060">pad_bottom</a>
|
|
92
|
+
<a href="#M000063">pad_color</a>
|
|
93
|
+
<a href="#M000061">pad_left</a>
|
|
94
|
+
<a href="#M000062">pad_right</a>
|
|
95
|
+
<a href="#M000059">pad_top</a>
|
|
96
|
+
<a href="#M000050">resolution</a>
|
|
97
|
+
<a href="#M000070">same_video_quality</a>
|
|
98
|
+
<a href="#M000051">video_bitrate</a>
|
|
99
|
+
<a href="#M000065">video_bitrate_tolerance</a>
|
|
100
|
+
<a href="#M000068">video_buffer_size</a>
|
|
101
|
+
<a href="#M000069">video_codec</a>
|
|
102
|
+
<a href="#M000052">video_frames</a>
|
|
103
|
+
<a href="#M000066">video_maximum_bitrate</a>
|
|
104
|
+
<a href="#M000067">video_minimum_bitrate</a>
|
|
105
|
+
<a href="#M000071">video_pass</a>
|
|
106
|
+
<a href="#M000072">video_pass_logfile</a>
|
|
107
|
+
</div>
|
|
108
|
+
</div>
|
|
109
|
+
|
|
110
|
+
</div>
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
<!-- if includes -->
|
|
114
|
+
|
|
115
|
+
<div id="section">
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
<!-- if method_list -->
|
|
125
|
+
<div id="methods">
|
|
126
|
+
<h3 class="section-bar">Public Instance methods</h3>
|
|
127
|
+
|
|
128
|
+
<div id="method-M000054" class="method-detail">
|
|
129
|
+
<a name="M000054"></a>
|
|
130
|
+
|
|
131
|
+
<div class="method-heading">
|
|
132
|
+
<a href="VideoOptions.src/M000054.html" target="Code" class="method-signature"
|
|
133
|
+
onclick="popupCode('VideoOptions.src/M000054.html');return false;">
|
|
134
|
+
<span class="method-name">aspect</span><span class="method-args">(aspect)</span>
|
|
135
|
+
</a>
|
|
136
|
+
</div>
|
|
137
|
+
|
|
138
|
+
<div class="method-description">
|
|
139
|
+
<p>
|
|
140
|
+
Set <a href="VideoOptions.html#M000054">aspect</a> ratio (4:3, 16:9 or
|
|
141
|
+
1.3333, 1.7777).
|
|
142
|
+
</p>
|
|
143
|
+
</div>
|
|
144
|
+
</div>
|
|
145
|
+
|
|
146
|
+
<div id="method-M000056" class="method-detail">
|
|
147
|
+
<a name="M000056"></a>
|
|
148
|
+
|
|
149
|
+
<div class="method-heading">
|
|
150
|
+
<a href="VideoOptions.src/M000056.html" target="Code" class="method-signature"
|
|
151
|
+
onclick="popupCode('VideoOptions.src/M000056.html');return false;">
|
|
152
|
+
<span class="method-name">crop_bottom</span><span class="method-args">(size)</span>
|
|
153
|
+
</a>
|
|
154
|
+
</div>
|
|
155
|
+
|
|
156
|
+
<div class="method-description">
|
|
157
|
+
<p>
|
|
158
|
+
Set bottom crop band size (in pixels).
|
|
159
|
+
</p>
|
|
160
|
+
</div>
|
|
161
|
+
</div>
|
|
162
|
+
|
|
163
|
+
<div id="method-M000057" class="method-detail">
|
|
164
|
+
<a name="M000057"></a>
|
|
165
|
+
|
|
166
|
+
<div class="method-heading">
|
|
167
|
+
<a href="VideoOptions.src/M000057.html" target="Code" class="method-signature"
|
|
168
|
+
onclick="popupCode('VideoOptions.src/M000057.html');return false;">
|
|
169
|
+
<span class="method-name">crop_left</span><span class="method-args">(size)</span>
|
|
170
|
+
</a>
|
|
171
|
+
</div>
|
|
172
|
+
|
|
173
|
+
<div class="method-description">
|
|
174
|
+
<p>
|
|
175
|
+
Set left crop band size (in pixels).
|
|
176
|
+
</p>
|
|
177
|
+
</div>
|
|
178
|
+
</div>
|
|
179
|
+
|
|
180
|
+
<div id="method-M000058" class="method-detail">
|
|
181
|
+
<a name="M000058"></a>
|
|
182
|
+
|
|
183
|
+
<div class="method-heading">
|
|
184
|
+
<a href="VideoOptions.src/M000058.html" target="Code" class="method-signature"
|
|
185
|
+
onclick="popupCode('VideoOptions.src/M000058.html');return false;">
|
|
186
|
+
<span class="method-name">crop_right</span><span class="method-args">(size)</span>
|
|
187
|
+
</a>
|
|
188
|
+
</div>
|
|
189
|
+
|
|
190
|
+
<div class="method-description">
|
|
191
|
+
<p>
|
|
192
|
+
Set right crop band size (in pixels).
|
|
193
|
+
</p>
|
|
194
|
+
</div>
|
|
195
|
+
</div>
|
|
196
|
+
|
|
197
|
+
<div id="method-M000055" class="method-detail">
|
|
198
|
+
<a name="M000055"></a>
|
|
199
|
+
|
|
200
|
+
<div class="method-heading">
|
|
201
|
+
<a href="VideoOptions.src/M000055.html" target="Code" class="method-signature"
|
|
202
|
+
onclick="popupCode('VideoOptions.src/M000055.html');return false;">
|
|
203
|
+
<span class="method-name">crop_top</span><span class="method-args">(size)</span>
|
|
204
|
+
</a>
|
|
205
|
+
</div>
|
|
206
|
+
|
|
207
|
+
<div class="method-description">
|
|
208
|
+
<p>
|
|
209
|
+
Set top crop band size (in pixels).
|
|
210
|
+
</p>
|
|
211
|
+
</div>
|
|
212
|
+
</div>
|
|
213
|
+
|
|
214
|
+
<div id="method-M000064" class="method-detail">
|
|
215
|
+
<a name="M000064"></a>
|
|
216
|
+
|
|
217
|
+
<div class="method-heading">
|
|
218
|
+
<a href="VideoOptions.src/M000064.html" target="Code" class="method-signature"
|
|
219
|
+
onclick="popupCode('VideoOptions.src/M000064.html');return false;">
|
|
220
|
+
<span class="method-name">disable_video</span><span class="method-args">()</span>
|
|
221
|
+
</a>
|
|
222
|
+
</div>
|
|
223
|
+
|
|
224
|
+
<div class="method-description">
|
|
225
|
+
<p>
|
|
226
|
+
Disable video recording.
|
|
227
|
+
</p>
|
|
228
|
+
</div>
|
|
229
|
+
</div>
|
|
230
|
+
|
|
231
|
+
<div id="method-M000053" class="method-detail">
|
|
232
|
+
<a name="M000053"></a>
|
|
233
|
+
|
|
234
|
+
<div class="method-heading">
|
|
235
|
+
<a href="VideoOptions.src/M000053.html" target="Code" class="method-signature"
|
|
236
|
+
onclick="popupCode('VideoOptions.src/M000053.html');return false;">
|
|
237
|
+
<span class="method-name">framerate</span><span class="method-args">(fps)</span>
|
|
238
|
+
</a>
|
|
239
|
+
</div>
|
|
240
|
+
|
|
241
|
+
<div class="method-description">
|
|
242
|
+
<p>
|
|
243
|
+
Set frame rate (Hz value, fraction or abbreviation), (default = 25).
|
|
244
|
+
</p>
|
|
245
|
+
</div>
|
|
246
|
+
</div>
|
|
247
|
+
|
|
248
|
+
<div id="method-M000073" class="method-detail">
|
|
249
|
+
<a name="M000073"></a>
|
|
250
|
+
|
|
251
|
+
<div class="method-heading">
|
|
252
|
+
<a href="VideoOptions.src/M000073.html" target="Code" class="method-signature"
|
|
253
|
+
onclick="popupCode('VideoOptions.src/M000073.html');return false;">
|
|
254
|
+
<span class="method-name">new_video</span><span class="method-args">()</span>
|
|
255
|
+
</a>
|
|
256
|
+
</div>
|
|
257
|
+
|
|
258
|
+
<div class="method-description">
|
|
259
|
+
<p>
|
|
260
|
+
Add a new video stream to the current output stream.
|
|
261
|
+
</p>
|
|
262
|
+
</div>
|
|
263
|
+
</div>
|
|
264
|
+
|
|
265
|
+
<div id="method-M000060" class="method-detail">
|
|
266
|
+
<a name="M000060"></a>
|
|
267
|
+
|
|
268
|
+
<div class="method-heading">
|
|
269
|
+
<a href="VideoOptions.src/M000060.html" target="Code" class="method-signature"
|
|
270
|
+
onclick="popupCode('VideoOptions.src/M000060.html');return false;">
|
|
271
|
+
<span class="method-name">pad_bottom</span><span class="method-args">(size)</span>
|
|
272
|
+
</a>
|
|
273
|
+
</div>
|
|
274
|
+
|
|
275
|
+
<div class="method-description">
|
|
276
|
+
<p>
|
|
277
|
+
Set bottom pad band size (in pixels).
|
|
278
|
+
</p>
|
|
279
|
+
</div>
|
|
280
|
+
</div>
|
|
281
|
+
|
|
282
|
+
<div id="method-M000063" class="method-detail">
|
|
283
|
+
<a name="M000063"></a>
|
|
284
|
+
|
|
285
|
+
<div class="method-heading">
|
|
286
|
+
<a href="VideoOptions.src/M000063.html" target="Code" class="method-signature"
|
|
287
|
+
onclick="popupCode('VideoOptions.src/M000063.html');return false;">
|
|
288
|
+
<span class="method-name">pad_color</span><span class="method-args">(color)</span>
|
|
289
|
+
</a>
|
|
290
|
+
</div>
|
|
291
|
+
|
|
292
|
+
<div class="method-description">
|
|
293
|
+
<p>
|
|
294
|
+
Set color of padded bands. The value for padcolor is expressed as a six
|
|
295
|
+
digit hexadecimal number where the first two digits represent red, the
|
|
296
|
+
middle two digits green and last two digits blue (default = 000000
|
|
297
|
+
(black)).
|
|
298
|
+
</p>
|
|
299
|
+
</div>
|
|
300
|
+
</div>
|
|
301
|
+
|
|
302
|
+
<div id="method-M000061" class="method-detail">
|
|
303
|
+
<a name="M000061"></a>
|
|
304
|
+
|
|
305
|
+
<div class="method-heading">
|
|
306
|
+
<a href="VideoOptions.src/M000061.html" target="Code" class="method-signature"
|
|
307
|
+
onclick="popupCode('VideoOptions.src/M000061.html');return false;">
|
|
308
|
+
<span class="method-name">pad_left</span><span class="method-args">(size)</span>
|
|
309
|
+
</a>
|
|
310
|
+
</div>
|
|
311
|
+
|
|
312
|
+
<div class="method-description">
|
|
313
|
+
<p>
|
|
314
|
+
Set left pad band size (in pixels).
|
|
315
|
+
</p>
|
|
316
|
+
</div>
|
|
317
|
+
</div>
|
|
318
|
+
|
|
319
|
+
<div id="method-M000062" class="method-detail">
|
|
320
|
+
<a name="M000062"></a>
|
|
321
|
+
|
|
322
|
+
<div class="method-heading">
|
|
323
|
+
<a href="VideoOptions.src/M000062.html" target="Code" class="method-signature"
|
|
324
|
+
onclick="popupCode('VideoOptions.src/M000062.html');return false;">
|
|
325
|
+
<span class="method-name">pad_right</span><span class="method-args">(size)</span>
|
|
326
|
+
</a>
|
|
327
|
+
</div>
|
|
328
|
+
|
|
329
|
+
<div class="method-description">
|
|
330
|
+
<p>
|
|
331
|
+
Set right pad band size (in pixels).
|
|
332
|
+
</p>
|
|
333
|
+
</div>
|
|
334
|
+
</div>
|
|
335
|
+
|
|
336
|
+
<div id="method-M000059" class="method-detail">
|
|
337
|
+
<a name="M000059"></a>
|
|
338
|
+
|
|
339
|
+
<div class="method-heading">
|
|
340
|
+
<a href="VideoOptions.src/M000059.html" target="Code" class="method-signature"
|
|
341
|
+
onclick="popupCode('VideoOptions.src/M000059.html');return false;">
|
|
342
|
+
<span class="method-name">pad_top</span><span class="method-args">(size)</span>
|
|
343
|
+
</a>
|
|
344
|
+
</div>
|
|
345
|
+
|
|
346
|
+
<div class="method-description">
|
|
347
|
+
<p>
|
|
348
|
+
Set top pad band size (in pixels).
|
|
349
|
+
</p>
|
|
350
|
+
</div>
|
|
351
|
+
</div>
|
|
352
|
+
|
|
353
|
+
<div id="method-M000050" class="method-detail">
|
|
354
|
+
<a name="M000050"></a>
|
|
355
|
+
|
|
356
|
+
<div class="method-heading">
|
|
357
|
+
<a href="VideoOptions.src/M000050.html" target="Code" class="method-signature"
|
|
358
|
+
onclick="popupCode('VideoOptions.src/M000050.html');return false;">
|
|
359
|
+
<span class="method-name">resolution</span><span class="method-args">(resolution)</span>
|
|
360
|
+
</a>
|
|
361
|
+
</div>
|
|
362
|
+
|
|
363
|
+
<div class="method-description">
|
|
364
|
+
<p>
|
|
365
|
+
Set frame size. The format is `wxh’ (ffserver default = 160x128,
|
|
366
|
+
ffmpeg default = same as source). The following abbreviations are
|
|
367
|
+
recognized:
|
|
368
|
+
</p>
|
|
369
|
+
<pre>
|
|
370
|
+
'sqcif'
|
|
371
|
+
128x96
|
|
372
|
+
'qcif'
|
|
373
|
+
176x144
|
|
374
|
+
'cif'
|
|
375
|
+
352x288
|
|
376
|
+
'4cif'
|
|
377
|
+
704x576
|
|
378
|
+
'qqvga'
|
|
379
|
+
160x120
|
|
380
|
+
'qvga'
|
|
381
|
+
320x240
|
|
382
|
+
'vga'
|
|
383
|
+
640x480
|
|
384
|
+
'svga'
|
|
385
|
+
800x600
|
|
386
|
+
'xga'
|
|
387
|
+
1024x768
|
|
388
|
+
'uxga'
|
|
389
|
+
1600x1200
|
|
390
|
+
'qxga'
|
|
391
|
+
2048x1536
|
|
392
|
+
'sxga'
|
|
393
|
+
1280x1024
|
|
394
|
+
'qsxga'
|
|
395
|
+
2560x2048
|
|
396
|
+
'hsxga'
|
|
397
|
+
5120x4096
|
|
398
|
+
'wvga'
|
|
399
|
+
852x480
|
|
400
|
+
'wxga'
|
|
401
|
+
1366x768
|
|
402
|
+
'wsxga'
|
|
403
|
+
1600x1024
|
|
404
|
+
'wuxga'
|
|
405
|
+
1920x1200
|
|
406
|
+
'woxga'
|
|
407
|
+
2560x1600
|
|
408
|
+
'wqsxga'
|
|
409
|
+
3200x2048
|
|
410
|
+
'wquxga'
|
|
411
|
+
3840x2400
|
|
412
|
+
'whsxga'
|
|
413
|
+
6400x4096
|
|
414
|
+
'whuxga'
|
|
415
|
+
7680x4800
|
|
416
|
+
'cga'
|
|
417
|
+
320x200
|
|
418
|
+
'ega'
|
|
419
|
+
640x350
|
|
420
|
+
'hd480'
|
|
421
|
+
852x480
|
|
422
|
+
'hd720'
|
|
423
|
+
1280x720
|
|
424
|
+
'hd1080'
|
|
425
|
+
1920x1080
|
|
426
|
+
</pre>
|
|
427
|
+
</div>
|
|
428
|
+
</div>
|
|
429
|
+
|
|
430
|
+
<div id="method-M000070" class="method-detail">
|
|
431
|
+
<a name="M000070"></a>
|
|
432
|
+
|
|
433
|
+
<div class="method-heading">
|
|
434
|
+
<a href="VideoOptions.src/M000070.html" target="Code" class="method-signature"
|
|
435
|
+
onclick="popupCode('VideoOptions.src/M000070.html');return false;">
|
|
436
|
+
<span class="method-name">same_video_quality</span><span class="method-args">()</span>
|
|
437
|
+
</a>
|
|
438
|
+
</div>
|
|
439
|
+
|
|
440
|
+
<div class="method-description">
|
|
441
|
+
<p>
|
|
442
|
+
Use same video quality as source (implies VBR).
|
|
443
|
+
</p>
|
|
444
|
+
</div>
|
|
445
|
+
</div>
|
|
446
|
+
|
|
447
|
+
<div id="method-M000051" class="method-detail">
|
|
448
|
+
<a name="M000051"></a>
|
|
449
|
+
|
|
450
|
+
<div class="method-heading">
|
|
451
|
+
<a href="VideoOptions.src/M000051.html" target="Code" class="method-signature"
|
|
452
|
+
onclick="popupCode('VideoOptions.src/M000051.html');return false;">
|
|
453
|
+
<span class="method-name">video_bitrate</span><span class="method-args">(bitrate)</span>
|
|
454
|
+
</a>
|
|
455
|
+
</div>
|
|
456
|
+
|
|
457
|
+
<div class="method-description">
|
|
458
|
+
<p>
|
|
459
|
+
Set the video bitrate in bit/s (default = 200 kb/s or ‘200k’).
|
|
460
|
+
</p>
|
|
461
|
+
</div>
|
|
462
|
+
</div>
|
|
463
|
+
|
|
464
|
+
<div id="method-M000065" class="method-detail">
|
|
465
|
+
<a name="M000065"></a>
|
|
466
|
+
|
|
467
|
+
<div class="method-heading">
|
|
468
|
+
<a href="VideoOptions.src/M000065.html" target="Code" class="method-signature"
|
|
469
|
+
onclick="popupCode('VideoOptions.src/M000065.html');return false;">
|
|
470
|
+
<span class="method-name">video_bitrate_tolerance</span><span class="method-args">(tolerance)</span>
|
|
471
|
+
</a>
|
|
472
|
+
</div>
|
|
473
|
+
|
|
474
|
+
<div class="method-description">
|
|
475
|
+
<p>
|
|
476
|
+
Set video bitrate tolerance (in bits, default 4000k). Has a minimum value
|
|
477
|
+
of: (target_bitrate/target_framerate). In 1-pass mode, bitrate tolerance
|
|
478
|
+
specifies how far ratecontrol is willing to deviate from the target average
|
|
479
|
+
bitrate value. This is not related to min/max bitrate. Lowering tolerance
|
|
480
|
+
too much has an adverse effect on quality.
|
|
481
|
+
</p>
|
|
482
|
+
</div>
|
|
483
|
+
</div>
|
|
484
|
+
|
|
485
|
+
<div id="method-M000068" class="method-detail">
|
|
486
|
+
<a name="M000068"></a>
|
|
487
|
+
|
|
488
|
+
<div class="method-heading">
|
|
489
|
+
<a href="VideoOptions.src/M000068.html" target="Code" class="method-signature"
|
|
490
|
+
onclick="popupCode('VideoOptions.src/M000068.html');return false;">
|
|
491
|
+
<span class="method-name">video_buffer_size</span><span class="method-args">(size)</span>
|
|
492
|
+
</a>
|
|
493
|
+
</div>
|
|
494
|
+
|
|
495
|
+
<div class="method-description">
|
|
496
|
+
<p>
|
|
497
|
+
Set video buffer verifier buffer size (in bits).
|
|
498
|
+
</p>
|
|
499
|
+
</div>
|
|
500
|
+
</div>
|
|
501
|
+
|
|
502
|
+
<div id="method-M000069" class="method-detail">
|
|
503
|
+
<a name="M000069"></a>
|
|
504
|
+
|
|
505
|
+
<div class="method-heading">
|
|
506
|
+
<a href="VideoOptions.src/M000069.html" target="Code" class="method-signature"
|
|
507
|
+
onclick="popupCode('VideoOptions.src/M000069.html');return false;">
|
|
508
|
+
<span class="method-name">video_codec</span><span class="method-args">(codec)</span>
|
|
509
|
+
</a>
|
|
510
|
+
</div>
|
|
511
|
+
|
|
512
|
+
<div class="method-description">
|
|
513
|
+
<p>
|
|
514
|
+
`-vcodec codec’ Force video codec to codec. Use the copy special
|
|
515
|
+
value to tell that the raw codec data must be copied as is.
|
|
516
|
+
</p>
|
|
517
|
+
</div>
|
|
518
|
+
</div>
|
|
519
|
+
|
|
520
|
+
<div id="method-M000052" class="method-detail">
|
|
521
|
+
<a name="M000052"></a>
|
|
522
|
+
|
|
523
|
+
<div class="method-heading">
|
|
524
|
+
<a href="VideoOptions.src/M000052.html" target="Code" class="method-signature"
|
|
525
|
+
onclick="popupCode('VideoOptions.src/M000052.html');return false;">
|
|
526
|
+
<span class="method-name">video_frames</span><span class="method-args">(number)</span>
|
|
527
|
+
</a>
|
|
528
|
+
</div>
|
|
529
|
+
|
|
530
|
+
<div class="method-description">
|
|
531
|
+
<p>
|
|
532
|
+
Set the number of video frames to record.
|
|
533
|
+
</p>
|
|
534
|
+
</div>
|
|
535
|
+
</div>
|
|
536
|
+
|
|
537
|
+
<div id="method-M000066" class="method-detail">
|
|
538
|
+
<a name="M000066"></a>
|
|
539
|
+
|
|
540
|
+
<div class="method-heading">
|
|
541
|
+
<a href="VideoOptions.src/M000066.html" target="Code" class="method-signature"
|
|
542
|
+
onclick="popupCode('VideoOptions.src/M000066.html');return false;">
|
|
543
|
+
<span class="method-name">video_maximum_bitrate</span><span class="method-args">(bitrate)</span>
|
|
544
|
+
</a>
|
|
545
|
+
</div>
|
|
546
|
+
|
|
547
|
+
<div class="method-description">
|
|
548
|
+
<p>
|
|
549
|
+
Set max video bitrate (in bit/s). Requires -bufsize to be set.
|
|
550
|
+
</p>
|
|
551
|
+
</div>
|
|
552
|
+
</div>
|
|
553
|
+
|
|
554
|
+
<div id="method-M000067" class="method-detail">
|
|
555
|
+
<a name="M000067"></a>
|
|
556
|
+
|
|
557
|
+
<div class="method-heading">
|
|
558
|
+
<a href="VideoOptions.src/M000067.html" target="Code" class="method-signature"
|
|
559
|
+
onclick="popupCode('VideoOptions.src/M000067.html');return false;">
|
|
560
|
+
<span class="method-name">video_minimum_bitrate</span><span class="method-args">(bitrate)</span>
|
|
561
|
+
</a>
|
|
562
|
+
</div>
|
|
563
|
+
|
|
564
|
+
<div class="method-description">
|
|
565
|
+
<p>
|
|
566
|
+
Set min video bitrate (in bit/s). Most useful in setting up a CBR encode:
|
|
567
|
+
ffmpeg -i myfile.avi -b 4000k -minrate 4000k -maxrate 4000k -bufsize 1835k
|
|
568
|
+
out.m2v It is of little use elsewise.
|
|
569
|
+
</p>
|
|
570
|
+
</div>
|
|
571
|
+
</div>
|
|
572
|
+
|
|
573
|
+
<div id="method-M000071" class="method-detail">
|
|
574
|
+
<a name="M000071"></a>
|
|
575
|
+
|
|
576
|
+
<div class="method-heading">
|
|
577
|
+
<a href="VideoOptions.src/M000071.html" target="Code" class="method-signature"
|
|
578
|
+
onclick="popupCode('VideoOptions.src/M000071.html');return false;">
|
|
579
|
+
<span class="method-name">video_pass</span><span class="method-args">(index)</span>
|
|
580
|
+
</a>
|
|
581
|
+
</div>
|
|
582
|
+
|
|
583
|
+
<div class="method-description">
|
|
584
|
+
<p>
|
|
585
|
+
Select the pass number (1 or 2). It is used to do two-pass video encoding.
|
|
586
|
+
The statistics of the video are recorded in the first pass into a log file
|
|
587
|
+
(see also the option -passlogfile), and in the second pass that log file is
|
|
588
|
+
used to generate the video at the exact requested bitrate. On pass 1, you
|
|
589
|
+
may just deactivate audio and set output to null, examples for Windows and
|
|
590
|
+
Unix:
|
|
591
|
+
</p>
|
|
592
|
+
<p>
|
|
593
|
+
ffmpeg -i foo.mov -vcodec libxvid -pass 1 -an -f rawvideo -y NUL ffmpeg -i
|
|
594
|
+
foo.mov -vcodec libxvid -pass 1 -an -f rawvideo -y /dev/null
|
|
595
|
+
</p>
|
|
596
|
+
</div>
|
|
597
|
+
</div>
|
|
598
|
+
|
|
599
|
+
<div id="method-M000072" class="method-detail">
|
|
600
|
+
<a name="M000072"></a>
|
|
601
|
+
|
|
602
|
+
<div class="method-heading">
|
|
603
|
+
<a href="VideoOptions.src/M000072.html" target="Code" class="method-signature"
|
|
604
|
+
onclick="popupCode('VideoOptions.src/M000072.html');return false;">
|
|
605
|
+
<span class="method-name">video_pass_logfile</span><span class="method-args">(prefix)</span>
|
|
606
|
+
</a>
|
|
607
|
+
</div>
|
|
608
|
+
|
|
609
|
+
<div class="method-description">
|
|
610
|
+
<p>
|
|
611
|
+
Set two-pass log file name prefix to prefix, the default file name prefix
|
|
612
|
+
is "ffmpeg2pass". The complete file name will be
|
|
613
|
+
`PREFIX-N.log’, where N is a number specific to the output stream.
|
|
614
|
+
</p>
|
|
615
|
+
</div>
|
|
616
|
+
</div>
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
</div>
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
</div>
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
<div id="validator-badges">
|
|
626
|
+
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
627
|
+
</div>
|
|
628
|
+
|
|
629
|
+
</body>
|
|
630
|
+
</html>
|