ffmpeg 0.2.5
Sign up to get free protection for your applications and to get access to all the features.
- 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>resolution (FFMpeg::VideoOptions)</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_options.rb, line 64</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">resolution</span>(<span class="ruby-identifier">resolution</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-s #{resolution}"</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_bitrate (FFMpeg::VideoOptions)</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_options.rb, line 69</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">video_bitrate</span>(<span class="ruby-identifier">bitrate</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-vb #{bitrate}"</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_frames (FFMpeg::VideoOptions)</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_options.rb, line 74</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">video_frames</span>(<span class="ruby-identifier">number</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-vframes #{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>framerate (FFMpeg::VideoOptions)</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_options.rb, line 79</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">framerate</span>(<span class="ruby-identifier">fps</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-r #{fps}"</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>aspect (FFMpeg::VideoOptions)</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_options.rb, line 84</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">aspect</span>(<span class="ruby-identifier">aspect</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-aspect #{aspect}"</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>crop_top (FFMpeg::VideoOptions)</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_options.rb, line 89</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">crop_top</span>(<span class="ruby-identifier">size</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-croptop #{size}"</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>crop_bottom (FFMpeg::VideoOptions)</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_options.rb, line 94</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">crop_bottom</span>(<span class="ruby-identifier">size</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-cropbottom #{size}"</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>crop_left (FFMpeg::VideoOptions)</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_options.rb, line 99</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">crop_left</span>(<span class="ruby-identifier">size</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-cropleft #{size}"</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>crop_right (FFMpeg::VideoOptions)</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_options.rb, line 104</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">crop_right</span>(<span class="ruby-identifier">size</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-cropright #{size}"</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>pad_top (FFMpeg::VideoOptions)</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_options.rb, line 109</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pad_top</span>(<span class="ruby-identifier">size</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-padtop #{size}"</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>pad_bottom (FFMpeg::VideoOptions)</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_options.rb, line 114</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pad_bottom</span>(<span class="ruby-identifier">size</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-padbottom #{size}"</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>pad_left (FFMpeg::VideoOptions)</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_options.rb, line 119</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pad_left</span>(<span class="ruby-identifier">size</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-padleft #{size}"</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>pad_right (FFMpeg::VideoOptions)</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_options.rb, line 124</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pad_right</span>(<span class="ruby-identifier">size</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-padright #{size}"</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>pad_color (FFMpeg::VideoOptions)</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_options.rb, line 130</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">pad_color</span>(<span class="ruby-identifier">color</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-padcolor #{color}"</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>disable_video (FFMpeg::VideoOptions)</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_options.rb, line 135</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">disable_video</span>
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"-vn"</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_bitrate_tolerance (FFMpeg::VideoOptions)</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_options.rb, line 143</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">video_bitrate_tolerance</span>(<span class="ruby-identifier">tolerance</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-bt #{tolerance}"</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_maximum_bitrate (FFMpeg::VideoOptions)</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_options.rb, line 148</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">video_maximum_bitrate</span>(<span class="ruby-identifier">bitrate</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-maxrate #{bitrate}"</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_minimum_bitrate (FFMpeg::VideoOptions)</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_options.rb, line 155</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">video_minimum_bitrate</span>(<span class="ruby-identifier">bitrate</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-minrate #{bitrate}"</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_buffer_size (FFMpeg::VideoOptions)</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_options.rb, line 160</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">video_buffer_size</span>(<span class="ruby-identifier">size</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-bufsize #{size}"</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_codec (FFMpeg::VideoOptions)</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_options.rb, line 166</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">video_codec</span>(<span class="ruby-identifier">codec</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-vcodec #{codec}"</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>same_video_quality (FFMpeg::VideoOptions)</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_options.rb, line 171</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">same_video_quality</span>
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-value str">"-sameq"</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_pass (FFMpeg::VideoOptions)</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_options.rb, line 182</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">video_pass</span>(<span class="ruby-identifier">index</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-pass #{index}"</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_pass_logfile (FFMpeg::VideoOptions)</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_options.rb, line 188</span>
|
14
|
+
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">video_pass_logfile</span>(<span class="ruby-identifier">prefix</span>)
|
15
|
+
<span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator"><<</span> <span class="ruby-node">"-passlogfile #{prefix}"</span>
|
16
|
+
<span class="ruby-keyword kw">end</span></pre>
|
17
|
+
</body>
|
18
|
+
</html>
|