VideoWriter.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_65) on Fri Dec 18 18:19:52 MSK 2015 -->
  6. <title>VideoWriter</title>
  7. <meta name="date" content="2015-12-18">
  8. <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="VideoWriter";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
  22. var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="package-tree.html">Tree</a></li>
  44. <li><a href="../../../index-all.html">Index</a></li>
  45. <li><a href="../../../help-doc.html">Help</a></li>
  46. </ul>
  47. <div class="aboutLanguage">OpenCV 3.1.0</div>
  48. </div>
  49. <div class="subNav">
  50. <ul class="navList">
  51. <li><a href="../../../org/opencv/videoio/Videoio.html" title="class in org.opencv.videoio"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  52. <li>Next&nbsp;Class</li>
  53. </ul>
  54. <ul class="navList">
  55. <li><a href="../../../index.html?org/opencv/videoio/VideoWriter.html" target="_top">Frames</a></li>
  56. <li><a href="VideoWriter.html" target="_top">No&nbsp;Frames</a></li>
  57. </ul>
  58. <ul class="navList" id="allclasses_navbar_top">
  59. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  60. </ul>
  61. <div>
  62. <script type="text/javascript"><!--
  63. allClassesLink = document.getElementById("allclasses_navbar_top");
  64. if(window==top) {
  65. allClassesLink.style.display = "block";
  66. }
  67. else {
  68. allClassesLink.style.display = "none";
  69. }
  70. //-->
  71. </script>
  72. </div>
  73. <div>
  74. <ul class="subNavList">
  75. <li>Summary:&nbsp;</li>
  76. <li>Nested&nbsp;|&nbsp;</li>
  77. <li>Field&nbsp;|&nbsp;</li>
  78. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#method.summary">Method</a></li>
  80. </ul>
  81. <ul class="subNavList">
  82. <li>Detail:&nbsp;</li>
  83. <li>Field&nbsp;|&nbsp;</li>
  84. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  85. <li><a href="#method.detail">Method</a></li>
  86. </ul>
  87. </div>
  88. <a name="skip.navbar.top">
  89. <!-- -->
  90. </a></div>
  91. <!-- ========= END OF TOP NAVBAR ========= -->
  92. <!-- ======== START OF CLASS DATA ======== -->
  93. <div class="header">
  94. <div class="subTitle">org.opencv.videoio</div>
  95. <h2 title="Class VideoWriter" class="title">Class VideoWriter</h2>
  96. </div>
  97. <div class="contentContainer">
  98. <ul class="inheritance">
  99. <li>java.lang.Object</li>
  100. <li>
  101. <ul class="inheritance">
  102. <li>org.opencv.videoio.VideoWriter</li>
  103. </ul>
  104. </li>
  105. </ul>
  106. <div class="description">
  107. <ul class="blockList">
  108. <li class="blockList">
  109. <hr>
  110. <br>
  111. <pre>public class <span class="typeNameLabel">VideoWriter</span>
  112. extends java.lang.Object</pre>
  113. </li>
  114. </ul>
  115. </div>
  116. <div class="summary">
  117. <ul class="blockList">
  118. <li class="blockList">
  119. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  120. <ul class="blockList">
  121. <li class="blockList"><a name="constructor.summary">
  122. <!-- -->
  123. </a>
  124. <h3>Constructor Summary</h3>
  125. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  126. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  127. <tr>
  128. <th class="colOne" scope="col">Constructor and Description</th>
  129. </tr>
  130. <tr class="altColor">
  131. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/videoio/VideoWriter.html#VideoWriter--">VideoWriter</a></span>()</code>&nbsp;</td>
  132. </tr>
  133. <tr class="rowColor">
  134. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/videoio/VideoWriter.html#VideoWriter-java.lang.String-int-double-org.opencv.core.Size-">VideoWriter</a></span>(java.lang.String&nbsp;filename,
  135. int&nbsp;fourcc,
  136. double&nbsp;fps,
  137. <a href="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</a>&nbsp;frameSize)</code>&nbsp;</td>
  138. </tr>
  139. <tr class="altColor">
  140. <td class="colOne"><code><span class="memberNameLink"><a href="../../../org/opencv/videoio/VideoWriter.html#VideoWriter-java.lang.String-int-double-org.opencv.core.Size-boolean-">VideoWriter</a></span>(java.lang.String&nbsp;filename,
  141. int&nbsp;fourcc,
  142. double&nbsp;fps,
  143. <a href="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</a>&nbsp;frameSize,
  144. boolean&nbsp;isColor)</code>&nbsp;</td>
  145. </tr>
  146. </table>
  147. </li>
  148. </ul>
  149. <!-- ========== METHOD SUMMARY =========== -->
  150. <ul class="blockList">
  151. <li class="blockList"><a name="method.summary">
  152. <!-- -->
  153. </a>
  154. <h3>Method Summary</h3>
  155. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  156. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  157. <tr>
  158. <th class="colFirst" scope="col">Modifier and Type</th>
  159. <th class="colLast" scope="col">Method and Description</th>
  160. </tr>
  161. <tr id="i0" class="altColor">
  162. <td class="colFirst"><code>static int</code></td>
  163. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/videoio/VideoWriter.html#fourcc-char-char-char-char-">fourcc</a></span>(char&nbsp;c1,
  164. char&nbsp;c2,
  165. char&nbsp;c3,
  166. char&nbsp;c4)</code>&nbsp;</td>
  167. </tr>
  168. <tr id="i1" class="rowColor">
  169. <td class="colFirst"><code>double</code></td>
  170. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/videoio/VideoWriter.html#get-int-">get</a></span>(int&nbsp;propId)</code>&nbsp;</td>
  171. </tr>
  172. <tr id="i2" class="altColor">
  173. <td class="colFirst"><code>boolean</code></td>
  174. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/videoio/VideoWriter.html#isOpened--">isOpened</a></span>()</code>&nbsp;</td>
  175. </tr>
  176. <tr id="i3" class="rowColor">
  177. <td class="colFirst"><code>boolean</code></td>
  178. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/videoio/VideoWriter.html#open-java.lang.String-int-double-org.opencv.core.Size-">open</a></span>(java.lang.String&nbsp;filename,
  179. int&nbsp;fourcc,
  180. double&nbsp;fps,
  181. <a href="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</a>&nbsp;frameSize)</code>&nbsp;</td>
  182. </tr>
  183. <tr id="i4" class="altColor">
  184. <td class="colFirst"><code>boolean</code></td>
  185. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/videoio/VideoWriter.html#open-java.lang.String-int-double-org.opencv.core.Size-boolean-">open</a></span>(java.lang.String&nbsp;filename,
  186. int&nbsp;fourcc,
  187. double&nbsp;fps,
  188. <a href="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</a>&nbsp;frameSize,
  189. boolean&nbsp;isColor)</code>&nbsp;</td>
  190. </tr>
  191. <tr id="i5" class="rowColor">
  192. <td class="colFirst"><code>void</code></td>
  193. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/videoio/VideoWriter.html#release--">release</a></span>()</code>&nbsp;</td>
  194. </tr>
  195. <tr id="i6" class="altColor">
  196. <td class="colFirst"><code>boolean</code></td>
  197. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/videoio/VideoWriter.html#set-int-double-">set</a></span>(int&nbsp;propId,
  198. double&nbsp;value)</code>&nbsp;</td>
  199. </tr>
  200. <tr id="i7" class="rowColor">
  201. <td class="colFirst"><code>void</code></td>
  202. <td class="colLast"><code><span class="memberNameLink"><a href="../../../org/opencv/videoio/VideoWriter.html#write-org.opencv.core.Mat-">write</a></span>(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;image)</code>&nbsp;</td>
  203. </tr>
  204. </table>
  205. <ul class="blockList">
  206. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  207. <!-- -->
  208. </a>
  209. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  210. <code>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  211. </ul>
  212. </li>
  213. </ul>
  214. </li>
  215. </ul>
  216. </div>
  217. <div class="details">
  218. <ul class="blockList">
  219. <li class="blockList">
  220. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  221. <ul class="blockList">
  222. <li class="blockList"><a name="constructor.detail">
  223. <!-- -->
  224. </a>
  225. <h3>Constructor Detail</h3>
  226. <a name="VideoWriter--">
  227. <!-- -->
  228. </a>
  229. <ul class="blockList">
  230. <li class="blockList">
  231. <h4>VideoWriter</h4>
  232. <pre>public&nbsp;VideoWriter()</pre>
  233. </li>
  234. </ul>
  235. <a name="VideoWriter-java.lang.String-int-double-org.opencv.core.Size-">
  236. <!-- -->
  237. </a>
  238. <ul class="blockList">
  239. <li class="blockList">
  240. <h4>VideoWriter</h4>
  241. <pre>public&nbsp;VideoWriter(java.lang.String&nbsp;filename,
  242. int&nbsp;fourcc,
  243. double&nbsp;fps,
  244. <a href="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</a>&nbsp;frameSize)</pre>
  245. </li>
  246. </ul>
  247. <a name="VideoWriter-java.lang.String-int-double-org.opencv.core.Size-boolean-">
  248. <!-- -->
  249. </a>
  250. <ul class="blockListLast">
  251. <li class="blockList">
  252. <h4>VideoWriter</h4>
  253. <pre>public&nbsp;VideoWriter(java.lang.String&nbsp;filename,
  254. int&nbsp;fourcc,
  255. double&nbsp;fps,
  256. <a href="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</a>&nbsp;frameSize,
  257. boolean&nbsp;isColor)</pre>
  258. </li>
  259. </ul>
  260. </li>
  261. </ul>
  262. <!-- ============ METHOD DETAIL ========== -->
  263. <ul class="blockList">
  264. <li class="blockList"><a name="method.detail">
  265. <!-- -->
  266. </a>
  267. <h3>Method Detail</h3>
  268. <a name="fourcc-char-char-char-char-">
  269. <!-- -->
  270. </a>
  271. <ul class="blockList">
  272. <li class="blockList">
  273. <h4>fourcc</h4>
  274. <pre>public static&nbsp;int&nbsp;fourcc(char&nbsp;c1,
  275. char&nbsp;c2,
  276. char&nbsp;c3,
  277. char&nbsp;c4)</pre>
  278. </li>
  279. </ul>
  280. <a name="get-int-">
  281. <!-- -->
  282. </a>
  283. <ul class="blockList">
  284. <li class="blockList">
  285. <h4>get</h4>
  286. <pre>public&nbsp;double&nbsp;get(int&nbsp;propId)</pre>
  287. </li>
  288. </ul>
  289. <a name="isOpened--">
  290. <!-- -->
  291. </a>
  292. <ul class="blockList">
  293. <li class="blockList">
  294. <h4>isOpened</h4>
  295. <pre>public&nbsp;boolean&nbsp;isOpened()</pre>
  296. </li>
  297. </ul>
  298. <a name="open-java.lang.String-int-double-org.opencv.core.Size-">
  299. <!-- -->
  300. </a>
  301. <ul class="blockList">
  302. <li class="blockList">
  303. <h4>open</h4>
  304. <pre>public&nbsp;boolean&nbsp;open(java.lang.String&nbsp;filename,
  305. int&nbsp;fourcc,
  306. double&nbsp;fps,
  307. <a href="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</a>&nbsp;frameSize)</pre>
  308. </li>
  309. </ul>
  310. <a name="open-java.lang.String-int-double-org.opencv.core.Size-boolean-">
  311. <!-- -->
  312. </a>
  313. <ul class="blockList">
  314. <li class="blockList">
  315. <h4>open</h4>
  316. <pre>public&nbsp;boolean&nbsp;open(java.lang.String&nbsp;filename,
  317. int&nbsp;fourcc,
  318. double&nbsp;fps,
  319. <a href="../../../org/opencv/core/Size.html" title="class in org.opencv.core">Size</a>&nbsp;frameSize,
  320. boolean&nbsp;isColor)</pre>
  321. </li>
  322. </ul>
  323. <a name="release--">
  324. <!-- -->
  325. </a>
  326. <ul class="blockList">
  327. <li class="blockList">
  328. <h4>release</h4>
  329. <pre>public&nbsp;void&nbsp;release()</pre>
  330. </li>
  331. </ul>
  332. <a name="set-int-double-">
  333. <!-- -->
  334. </a>
  335. <ul class="blockList">
  336. <li class="blockList">
  337. <h4>set</h4>
  338. <pre>public&nbsp;boolean&nbsp;set(int&nbsp;propId,
  339. double&nbsp;value)</pre>
  340. </li>
  341. </ul>
  342. <a name="write-org.opencv.core.Mat-">
  343. <!-- -->
  344. </a>
  345. <ul class="blockListLast">
  346. <li class="blockList">
  347. <h4>write</h4>
  348. <pre>public&nbsp;void&nbsp;write(<a href="../../../org/opencv/core/Mat.html" title="class in org.opencv.core">Mat</a>&nbsp;image)</pre>
  349. </li>
  350. </ul>
  351. </li>
  352. </ul>
  353. </li>
  354. </ul>
  355. </div>
  356. </div>
  357. <!-- ========= END OF CLASS DATA ========= -->
  358. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  359. <div class="bottomNav"><a name="navbar.bottom">
  360. <!-- -->
  361. </a>
  362. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  363. <a name="navbar.bottom.firstrow">
  364. <!-- -->
  365. </a>
  366. <ul class="navList" title="Navigation">
  367. <li><a href="../../../overview-summary.html">Overview</a></li>
  368. <li><a href="package-summary.html">Package</a></li>
  369. <li class="navBarCell1Rev">Class</li>
  370. <li><a href="package-tree.html">Tree</a></li>
  371. <li><a href="../../../index-all.html">Index</a></li>
  372. <li><a href="../../../help-doc.html">Help</a></li>
  373. </ul>
  374. <div class="aboutLanguage"><a href="http://docs.opencv.org">OpenCV 3.1.0 Documentation</a></div>
  375. </div>
  376. <div class="subNav">
  377. <ul class="navList">
  378. <li><a href="../../../org/opencv/videoio/Videoio.html" title="class in org.opencv.videoio"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  379. <li>Next&nbsp;Class</li>
  380. </ul>
  381. <ul class="navList">
  382. <li><a href="../../../index.html?org/opencv/videoio/VideoWriter.html" target="_top">Frames</a></li>
  383. <li><a href="VideoWriter.html" target="_top">No&nbsp;Frames</a></li>
  384. </ul>
  385. <ul class="navList" id="allclasses_navbar_bottom">
  386. <li><a href="../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  387. </ul>
  388. <div>
  389. <script type="text/javascript"><!--
  390. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  391. if(window==top) {
  392. allClassesLink.style.display = "block";
  393. }
  394. else {
  395. allClassesLink.style.display = "none";
  396. }
  397. //-->
  398. </script>
  399. </div>
  400. <div>
  401. <ul class="subNavList">
  402. <li>Summary:&nbsp;</li>
  403. <li>Nested&nbsp;|&nbsp;</li>
  404. <li>Field&nbsp;|&nbsp;</li>
  405. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  406. <li><a href="#method.summary">Method</a></li>
  407. </ul>
  408. <ul class="subNavList">
  409. <li>Detail:&nbsp;</li>
  410. <li>Field&nbsp;|&nbsp;</li>
  411. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  412. <li><a href="#method.detail">Method</a></li>
  413. </ul>
  414. </div>
  415. <a name="skip.navbar.bottom">
  416. <!-- -->
  417. </a></div>
  418. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  419. </body>
  420. </html>