<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.gideros.rocks/index.php?action=history&amp;feed=atom&amp;title=Theora.core.beginVideo</id>
	<title>Theora.core.beginVideo - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gideros.rocks/index.php?action=history&amp;feed=atom&amp;title=Theora.core.beginVideo"/>
	<link rel="alternate" type="text/html" href="https://wiki.gideros.rocks/index.php?title=Theora.core.beginVideo&amp;action=history"/>
	<updated>2026-11-17T11:52:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.gideros.rocks/index.php?title=Theora.core.beginVideo&amp;diff=25505&amp;oldid=prev</id>
		<title>MoKaLux: Created page with &quot;__NOTOC__ &#039;&#039;&#039;Available since:&#039;&#039;&#039; Gideros 2017.10&lt;br/&gt; &#039;&#039;&#039;Class:&#039;&#039;&#039; Ogg&lt;br/&gt;  === Description === Starts the video encoder of an encoding (recording) stream. &lt;syntaxhighlig...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.gideros.rocks/index.php?title=Theora.core.beginVideo&amp;diff=25505&amp;oldid=prev"/>
		<updated>2026-11-13T22:02:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ &amp;#039;&amp;#039;&amp;#039;Available since:&amp;#039;&amp;#039;&amp;#039; Gideros 2017.10&amp;lt;br/&amp;gt; &amp;#039;&amp;#039;&amp;#039;Class:&amp;#039;&amp;#039;&amp;#039; &lt;a href=&quot;/index.php/Ogg&quot; title=&quot;Ogg&quot;&gt;Ogg&lt;/a&gt;&amp;lt;br/&amp;gt;  === Description === Starts the video encoder of an encoding (recording) stream. &amp;lt;syntaxhighlig...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Available since:&amp;#039;&amp;#039;&amp;#039; Gideros 2017.10&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Class:&amp;#039;&amp;#039;&amp;#039; [[Ogg]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
Starts the video encoder of an encoding (recording) stream.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
theora.core.beginVideo(streamId,codec,frameRate,width,height,format,quality)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The video header is written into the same file as the audio stream, so beginVideo() must be called before the first audio packet is encoded.&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;streamId&amp;#039;&amp;#039;&amp;#039;: (number) stream id of the recording sound, for example mic:getStreamId()&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;codec&amp;#039;&amp;#039;&amp;#039;: (string) codec name, &amp;quot;theora&amp;quot;&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;frameRate&amp;#039;&amp;#039;&amp;#039;: (number) frames per second, for example 30&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;width&amp;#039;&amp;#039;&amp;#039;: (number) frame width, must be a multiple of 16&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;height&amp;#039;&amp;#039;&amp;#039;: (number) frame height, must be a multiple of 16&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;format&amp;#039;&amp;#039;&amp;#039;: (number) image format, 3 (YUV420) is the only supported value&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;quality&amp;#039;&amp;#039;&amp;#039;: (number) encoder quality from 0 to 1, for example 0.6&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Ogg}}&lt;/div&gt;</summary>
		<author><name>MoKaLux</name></author>
	</entry>
</feed>