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.
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,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>new_audio (FFMpeg::AudioOptions)</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/audio_options.rb, line 38</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">new_audio</span>
15
+ <span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-value str">&quot;-newaudio&quot;</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>audio_language (FFMpeg::AudioOptions)</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/audio_options.rb, line 43</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">audio_language</span>(<span class="ruby-identifier">code</span>)
15
+ <span class="ruby-constant">FFMpegCommand</span> <span class="ruby-operator">&lt;&lt;</span> <span class="ruby-node">&quot;-alang #{code}&quot;</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,131 @@
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::ClassMethods</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::ClassMethods</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/ffmpeg/class_methods_rb.html">
59
+ lib/ffmpeg/class_methods.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="#M000049">check_method</a>&nbsp;&nbsp;
84
+ </div>
85
+ </div>
86
+
87
+ </div>
88
+
89
+
90
+ <!-- if includes -->
91
+
92
+ <div id="section">
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+ <!-- if method_list -->
102
+ <div id="methods">
103
+ <h3 class="section-bar">Public Instance methods</h3>
104
+
105
+ <div id="method-M000049" class="method-detail">
106
+ <a name="M000049"></a>
107
+
108
+ <div class="method-heading">
109
+ <a href="ClassMethods.src/M000049.html" target="Code" class="method-signature"
110
+ onclick="popupCode('ClassMethods.src/M000049.html');return false;">
111
+ <span class="method-name">check_method</span><span class="method-args">(name)</span>
112
+ </a>
113
+ </div>
114
+
115
+ <div class="method-description">
116
+ </div>
117
+ </div>
118
+
119
+
120
+ </div>
121
+
122
+
123
+ </div>
124
+
125
+
126
+ <div id="validator-badges">
127
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
128
+ </div>
129
+
130
+ </body>
131
+ </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>check_method (FFMpeg::ClassMethods)</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/class_methods.rb, line 3</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">check_method</span>(<span class="ruby-identifier">name</span>)
15
+ <span class="ruby-identifier">print_error_message_for</span> <span class="ruby-identifier">name</span> <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">method_defined?</span> <span class="ruby-identifier">name</span>
16
+ <span class="ruby-keyword kw">end</span></pre>
17
+ </body>
18
+ </html>
@@ -0,0 +1,131 @@
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::HelperMethods</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::HelperMethods</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/ffmpeg/helper_methods_rb.html">
59
+ lib/ffmpeg/helper_methods.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="#M000074">returning</a>&nbsp;&nbsp;
84
+ </div>
85
+ </div>
86
+
87
+ </div>
88
+
89
+
90
+ <!-- if includes -->
91
+
92
+ <div id="section">
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+ <!-- if method_list -->
102
+ <div id="methods">
103
+ <h3 class="section-bar">Public Instance methods</h3>
104
+
105
+ <div id="method-M000074" class="method-detail">
106
+ <a name="M000074"></a>
107
+
108
+ <div class="method-heading">
109
+ <a href="HelperMethods.src/M000074.html" target="Code" class="method-signature"
110
+ onclick="popupCode('HelperMethods.src/M000074.html');return false;">
111
+ <span class="method-name">returning</span><span class="method-args">(value) {|value| ...}</span>
112
+ </a>
113
+ </div>
114
+
115
+ <div class="method-description">
116
+ </div>
117
+ </div>
118
+
119
+
120
+ </div>
121
+
122
+
123
+ </div>
124
+
125
+
126
+ <div id="validator-badges">
127
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
128
+ </div>
129
+
130
+ </body>
131
+ </html>
@@ -0,0 +1,19 @@
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>returning (FFMpeg::HelperMethods)</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/helper_methods.rb, line 3</span>
14
+ <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">returning</span>(<span class="ruby-identifier">value</span>)
15
+ <span class="ruby-keyword kw">yield</span> <span class="ruby-identifier">value</span>
16
+ <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">value</span>
17
+ <span class="ruby-keyword kw">end</span></pre>
18
+ </body>
19
+ </html>
@@ -0,0 +1,494 @@
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::MainOptions</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::MainOptions</td>
54
+ </tr>
55
+ <tr class="top-aligned-row">
56
+ <td><strong>In:</strong></td>
57
+ <td>
58
+ <a href="../../files/lib/ffmpeg/main_options_rb.html">
59
+ lib/ffmpeg/main_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="#M000086">album</a>&nbsp;&nbsp;
84
+ <a href="#M000083">author</a>&nbsp;&nbsp;
85
+ <a href="#M000085">comment</a>&nbsp;&nbsp;
86
+ <a href="#M000084">copyright</a>&nbsp;&nbsp;
87
+ <a href="#M000078">duration</a>&nbsp;&nbsp;
88
+ <a href="#M000079">file_size_limit</a>&nbsp;&nbsp;
89
+ <a href="#M000090">frames_to_record</a>&nbsp;&nbsp;
90
+ <a href="#M000081">offset</a>&nbsp;&nbsp;
91
+ <a href="#M000077">overwrite_existing_file</a>&nbsp;&nbsp;
92
+ <a href="#M000080">seek</a>&nbsp;&nbsp;
93
+ <a href="#M000075">source</a>&nbsp;&nbsp;
94
+ <a href="#M000091">subtitle_codec</a>&nbsp;&nbsp;
95
+ <a href="#M000076">target</a>&nbsp;&nbsp;
96
+ <a href="#M000089">target</a>&nbsp;&nbsp;
97
+ <a href="#M000082">title</a>&nbsp;&nbsp;
98
+ <a href="#M000087">track</a>&nbsp;&nbsp;
99
+ <a href="#M000088">year</a>&nbsp;&nbsp;
100
+ </div>
101
+ </div>
102
+
103
+ </div>
104
+
105
+
106
+ <!-- if includes -->
107
+
108
+ <div id="section">
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+ <!-- if method_list -->
118
+ <div id="methods">
119
+ <h3 class="section-bar">Public Instance methods</h3>
120
+
121
+ <div id="method-M000086" class="method-detail">
122
+ <a name="M000086"></a>
123
+
124
+ <div class="method-heading">
125
+ <a href="MainOptions.src/M000086.html" target="Code" class="method-signature"
126
+ onclick="popupCode('MainOptions.src/M000086.html');return false;">
127
+ <span class="method-name">album</span><span class="method-args">(album)</span>
128
+ </a>
129
+ </div>
130
+
131
+ <div class="method-description">
132
+ <p>
133
+ Set the <a href="MainOptions.html#M000086">album</a>.
134
+ </p>
135
+ <pre>
136
+ album &quot;An awesome album&quot;
137
+ </pre>
138
+ </div>
139
+ </div>
140
+
141
+ <div id="method-M000083" class="method-detail">
142
+ <a name="M000083"></a>
143
+
144
+ <div class="method-heading">
145
+ <a href="MainOptions.src/M000083.html" target="Code" class="method-signature"
146
+ onclick="popupCode('MainOptions.src/M000083.html');return false;">
147
+ <span class="method-name">author</span><span class="method-args">(author)</span>
148
+ </a>
149
+ </div>
150
+
151
+ <div class="method-description">
152
+ <p>
153
+ Set the <a href="MainOptions.html#M000083">author</a>.
154
+ </p>
155
+ <pre>
156
+ author &quot;PMH&quot;
157
+ </pre>
158
+ </div>
159
+ </div>
160
+
161
+ <div id="method-M000085" class="method-detail">
162
+ <a name="M000085"></a>
163
+
164
+ <div class="method-heading">
165
+ <a href="MainOptions.src/M000085.html" target="Code" class="method-signature"
166
+ onclick="popupCode('MainOptions.src/M000085.html');return false;">
167
+ <span class="method-name">comment</span><span class="method-args">(comment)</span>
168
+ </a>
169
+ </div>
170
+
171
+ <div class="method-description">
172
+ <p>
173
+ Set the <a href="MainOptions.html#M000085">comment</a>.
174
+ </p>
175
+ <pre>
176
+ comment &quot;Some comment&quot;
177
+ </pre>
178
+ </div>
179
+ </div>
180
+
181
+ <div id="method-M000084" class="method-detail">
182
+ <a name="M000084"></a>
183
+
184
+ <div class="method-heading">
185
+ <a href="MainOptions.src/M000084.html" target="Code" class="method-signature"
186
+ onclick="popupCode('MainOptions.src/M000084.html');return false;">
187
+ <span class="method-name">copyright</span><span class="method-args">(copyright)</span>
188
+ </a>
189
+ </div>
190
+
191
+ <div class="method-description">
192
+ <p>
193
+ Set the <a href="MainOptions.html#M000084">copyright</a>.
194
+ </p>
195
+ <pre>
196
+ copyright &quot;(c) Patrik Hedman 2009&quot;
197
+ </pre>
198
+ </div>
199
+ </div>
200
+
201
+ <div id="method-M000078" class="method-detail">
202
+ <a name="M000078"></a>
203
+
204
+ <div class="method-heading">
205
+ <a href="MainOptions.src/M000078.html" target="Code" class="method-signature"
206
+ onclick="popupCode('MainOptions.src/M000078.html');return false;">
207
+ <span class="method-name">duration</span><span class="method-args">(duration)</span>
208
+ </a>
209
+ </div>
210
+
211
+ <div class="method-description">
212
+ <p>
213
+ Set the <a href="MainOptions.html#M000078">duration</a> specified in
214
+ seconds. hh:mm:ss[.xxx] syntax is also supported
215
+ </p>
216
+ <pre>
217
+ duration &quot;600&quot;
218
+ </pre>
219
+ <p>
220
+ or
221
+ </p>
222
+ <pre>
223
+ duration &quot;00:10:00&quot;
224
+ </pre>
225
+ </div>
226
+ </div>
227
+
228
+ <div id="method-M000079" class="method-detail">
229
+ <a name="M000079"></a>
230
+
231
+ <div class="method-heading">
232
+ <a href="MainOptions.src/M000079.html" target="Code" class="method-signature"
233
+ onclick="popupCode('MainOptions.src/M000079.html');return false;">
234
+ <span class="method-name">file_size_limit</span><span class="method-args">(limit)</span>
235
+ </a>
236
+ </div>
237
+
238
+ <div class="method-description">
239
+ <p>
240
+ Set a file size limit in bytes
241
+ </p>
242
+ <pre>
243
+ file_size_limit 104_857_600
244
+ </pre>
245
+ </div>
246
+ </div>
247
+
248
+ <div id="method-M000090" class="method-detail">
249
+ <a name="M000090"></a>
250
+
251
+ <div class="method-heading">
252
+ <a href="MainOptions.src/M000090.html" target="Code" class="method-signature"
253
+ onclick="popupCode('MainOptions.src/M000090.html');return false;">
254
+ <span class="method-name">frames_to_record</span><span class="method-args">(frames)</span>
255
+ </a>
256
+ </div>
257
+
258
+ <div class="method-description">
259
+ <p>
260
+ Set the number of frames to record.
261
+ </p>
262
+ <pre>
263
+ frames_to_record 50
264
+ </pre>
265
+ </div>
266
+ </div>
267
+
268
+ <div id="method-M000081" class="method-detail">
269
+ <a name="M000081"></a>
270
+
271
+ <div class="method-heading">
272
+ <a href="MainOptions.src/M000081.html" target="Code" class="method-signature"
273
+ onclick="popupCode('MainOptions.src/M000081.html');return false;">
274
+ <span class="method-name">offset</span><span class="method-args">(offset)</span>
275
+ </a>
276
+ </div>
277
+
278
+ <div class="method-description">
279
+ <p>
280
+ Set the input time <a href="MainOptions.html#M000081">offset</a> in
281
+ seconds.
282
+ </p>
283
+ <dl>
284
+ <dt>-]hh:mm:ss[.xxx</dt><dd>syntax is also supported.
285
+
286
+ </dd>
287
+ </dl>
288
+ <p>
289
+ This option affects all the input files that follow it. The <a
290
+ href="MainOptions.html#M000081">offset</a> is added to the timestamps of
291
+ the input files. Specifying a positive <a
292
+ href="MainOptions.html#M000081">offset</a> means that the corresponding
293
+ streams are delayed by &#8216;<a
294
+ href="MainOptions.html#M000081">offset</a>&#8217; seconds.
295
+ </p>
296
+ <pre>
297
+ offset &quot;600&quot;
298
+ </pre>
299
+ <p>
300
+ or
301
+ </p>
302
+ <pre>
303
+ offset &quot;00:10:00&quot;
304
+ </pre>
305
+ </div>
306
+ </div>
307
+
308
+ <div id="method-M000077" class="method-detail">
309
+ <a name="M000077"></a>
310
+
311
+ <div class="method-heading">
312
+ <a href="MainOptions.src/M000077.html" target="Code" class="method-signature"
313
+ onclick="popupCode('MainOptions.src/M000077.html');return false;">
314
+ <span class="method-name">overwrite_existing_file</span><span class="method-args">()</span>
315
+ </a>
316
+ </div>
317
+
318
+ <div class="method-description">
319
+ <p>
320
+ Overwrite output file if it already exists
321
+ </p>
322
+ </div>
323
+ </div>
324
+
325
+ <div id="method-M000080" class="method-detail">
326
+ <a name="M000080"></a>
327
+
328
+ <div class="method-heading">
329
+ <a href="MainOptions.src/M000080.html" target="Code" class="method-signature"
330
+ onclick="popupCode('MainOptions.src/M000080.html');return false;">
331
+ <span class="method-name">seek</span><span class="method-args">(position)</span>
332
+ </a>
333
+ </div>
334
+
335
+ <div class="method-description">
336
+ <p>
337
+ Seek to given time position in seconds. hh:mm:ss[.xxx] syntax is also
338
+ supported.
339
+ </p>
340
+ <pre>
341
+ seek &quot;600&quot;
342
+ </pre>
343
+ <p>
344
+ or
345
+ </p>
346
+ <pre>
347
+ seek &quot;00:10:00&quot;
348
+ </pre>
349
+ </div>
350
+ </div>
351
+
352
+ <div id="method-M000075" class="method-detail">
353
+ <a name="M000075"></a>
354
+
355
+ <div class="method-heading">
356
+ <a href="MainOptions.src/M000075.html" target="Code" class="method-signature"
357
+ onclick="popupCode('MainOptions.src/M000075.html');return false;">
358
+ <span class="method-name">source</span><span class="method-args">(*filename)</span>
359
+ </a>
360
+ </div>
361
+
362
+ <div class="method-description">
363
+ </div>
364
+ </div>
365
+
366
+ <div id="method-M000091" class="method-detail">
367
+ <a name="M000091"></a>
368
+
369
+ <div class="method-heading">
370
+ <a href="MainOptions.src/M000091.html" target="Code" class="method-signature"
371
+ onclick="popupCode('MainOptions.src/M000091.html');return false;">
372
+ <span class="method-name">subtitle_codec</span><span class="method-args">(codec)</span>
373
+ </a>
374
+ </div>
375
+
376
+ <div class="method-description">
377
+ <p>
378
+ Force subtitle codec (&#8216;copy&#8217; to copy stream)
379
+ </p>
380
+ </div>
381
+ </div>
382
+
383
+ <div id="method-M000076" class="method-detail">
384
+ <a name="M000076"></a>
385
+
386
+ <div class="method-heading">
387
+ <a href="MainOptions.src/M000076.html" target="Code" class="method-signature"
388
+ onclick="popupCode('MainOptions.src/M000076.html');return false;">
389
+ <span class="method-name">target</span><span class="method-args">(target)</span>
390
+ </a>
391
+ </div>
392
+
393
+ <div class="method-description">
394
+ </div>
395
+ </div>
396
+
397
+ <div id="method-M000089" class="method-detail">
398
+ <a name="M000089"></a>
399
+
400
+ <div class="method-heading">
401
+ <a href="MainOptions.src/M000089.html" target="Code" class="method-signature"
402
+ onclick="popupCode('MainOptions.src/M000089.html');return false;">
403
+ <span class="method-name">target</span><span class="method-args">(target)</span>
404
+ </a>
405
+ </div>
406
+
407
+ <div class="method-description">
408
+ <p>
409
+ Specify <a href="MainOptions.html#M000076">target</a> file type
410
+ (&quot;vcd&quot;, &quot;svcd&quot;, &quot;dvd&quot;, &quot;dv&quot;,
411
+ &quot;dv50&quot;, &quot;pal-vcd&quot;, &quot;ntsc-svcd&quot;, &#8230; ).
412
+ All the format options (bitrate, codecs, buffer sizes) are then set
413
+ automatically. Nevertheless you can specify additional options as long as
414
+ you know they do not conflict with the standard.
415
+ </p>
416
+ <pre>
417
+ target &quot;vcd&quot;
418
+ </pre>
419
+ </div>
420
+ </div>
421
+
422
+ <div id="method-M000082" class="method-detail">
423
+ <a name="M000082"></a>
424
+
425
+ <div class="method-heading">
426
+ <a href="MainOptions.src/M000082.html" target="Code" class="method-signature"
427
+ onclick="popupCode('MainOptions.src/M000082.html');return false;">
428
+ <span class="method-name">title</span><span class="method-args">(title)</span>
429
+ </a>
430
+ </div>
431
+
432
+ <div class="method-description">
433
+ <p>
434
+ Set the <a href="MainOptions.html#M000082">title</a>.
435
+ </p>
436
+ <pre>
437
+ title &quot;Some Title&quot;
438
+ </pre>
439
+ </div>
440
+ </div>
441
+
442
+ <div id="method-M000087" class="method-detail">
443
+ <a name="M000087"></a>
444
+
445
+ <div class="method-heading">
446
+ <a href="MainOptions.src/M000087.html" target="Code" class="method-signature"
447
+ onclick="popupCode('MainOptions.src/M000087.html');return false;">
448
+ <span class="method-name">track</span><span class="method-args">(track)</span>
449
+ </a>
450
+ </div>
451
+
452
+ <div class="method-description">
453
+ <p>
454
+ Set the <a href="MainOptions.html#M000087">track</a> number:
455
+ </p>
456
+ <pre>
457
+ track 1
458
+ </pre>
459
+ </div>
460
+ </div>
461
+
462
+ <div id="method-M000088" class="method-detail">
463
+ <a name="M000088"></a>
464
+
465
+ <div class="method-heading">
466
+ <a href="MainOptions.src/M000088.html" target="Code" class="method-signature"
467
+ onclick="popupCode('MainOptions.src/M000088.html');return false;">
468
+ <span class="method-name">year</span><span class="method-args">(year)</span>
469
+ </a>
470
+ </div>
471
+
472
+ <div class="method-description">
473
+ <p>
474
+ Set the <a href="MainOptions.html#M000088">year</a>.
475
+ </p>
476
+ <pre>
477
+ year 1985
478
+ </pre>
479
+ </div>
480
+ </div>
481
+
482
+
483
+ </div>
484
+
485
+
486
+ </div>
487
+
488
+
489
+ <div id="validator-badges">
490
+ <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
491
+ </div>
492
+
493
+ </body>
494
+ </html>