<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.elphel.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eplese</id>
	<title>ElphelWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.elphel.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eplese"/>
	<link rel="alternate" type="text/html" href="https://wiki.elphel.com/wiki/Special:Contributions/Eplese"/>
	<updated>2026-08-03T03:20:23Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Theora&amp;diff=2181</id>
		<title>Theora</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Theora&amp;diff=2181"/>
		<updated>2007-05-18T13:58:04Z</updated>

		<summary type="html">&lt;p&gt;Eplese: Elaborated on the causes.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The model 333 camera is able to encode and stream video in Ogg Theora in&lt;br /&gt;
realtime.  In order to encode in Theora the older 6.3.9 firmware must be&lt;br /&gt;
loaded onto the camera.  Due to space limitations in the FPGA, each firmware&lt;br /&gt;
can only support a single encoding algorithm, either MJPEG or Theora.  The&lt;br /&gt;
6.3.x series supports Theora and the 6.4.x and 6.5.x series support MJPEG.&lt;br /&gt;
&lt;br /&gt;
The 353 camera has a larger FPGA with space for both Theora and MJPEG&lt;br /&gt;
compressors.  Porting the Theora compressor to the 353 is targeted to begin&lt;br /&gt;
around September 2007.&lt;br /&gt;
&lt;br /&gt;
We plan to [[Design_Ideas#FPGA_Theora_Encoder_for_Videoconferencing | resume]] Ogg Theora project on the new 353 hardware - Axis ETRAX FS&lt;br /&gt;
is faster so it will better handle streaming (the bottleneck of the Ogg Theora&lt;br /&gt;
implementation in Model 333).&lt;br /&gt;
&lt;br /&gt;
Combining MJPEG and Theora in the same FPGA would complicate things - my plan&lt;br /&gt;
is to unify the software part and the non-compressor part of the FPGA code that&lt;br /&gt;
now are more advanced in MJPEG branch (histograms, gamma correction,&lt;br /&gt;
timestamping, support of newer sensors). It will be possible to replace&lt;br /&gt;
FPGA code at run-time or use software (lossless) Theora-&amp;gt;JPEG conversion with&lt;br /&gt;
the faster CPU. I&#039;m also counting on native support of Theora in the browsers&lt;br /&gt;
(like in Opera) so we can completely switch to Theora.--[[User:Andrey.filippov|Andrey.filippov]] 11:57, 14 May 2007 (CDT)&lt;br /&gt;
&lt;br /&gt;
== Web Interface ==&lt;br /&gt;
Once the 6.3.9 firmware is loaded and an IP address is configured, the web&lt;br /&gt;
interface on the camera is used to download short Theora clips for testing&lt;br /&gt;
and also to set the video parameters which are also used by the Theora&lt;br /&gt;
streamer.  There are quite a few settings so it can take some time to adjust&lt;br /&gt;
them properly to get a good picture.&lt;br /&gt;
&lt;br /&gt;
Instead of requesting the page through a browser, wget can be used to download&lt;br /&gt;
short Theora clips from the camera.  When processing web requests the camera&lt;br /&gt;
will first capture the entire clip to RAM and then begin to send the clip&lt;br /&gt;
over the network.  Requesting a Theora clip of only a single frame can be used&lt;br /&gt;
to quickly adjust the video parameters from a script without taking much time&lt;br /&gt;
to capture any video.&lt;br /&gt;
&lt;br /&gt;
== Theora Streamer ==&lt;br /&gt;
The Theora streamer can be acquired from the SourceForge download site&lt;br /&gt;
and the file is Theora_str_1.0.tgz.  This contains the source and compiled&lt;br /&gt;
binaries for the streamer (theora_str) and the receiver (theorartp-client).&lt;br /&gt;
&lt;br /&gt;
For the following examples it&#039;s assumed that the streamer has an IP address of&lt;br /&gt;
1.2.3.4 and the receiver has an IP address of 1.2.3.5.  The examples use&lt;br /&gt;
unicast rather than multicast for simplicity.&lt;br /&gt;
&lt;br /&gt;
=== Streamer ===&lt;br /&gt;
This method uses HTTP to transfer the executable to the camera so a webserver&lt;br /&gt;
of some sort is required.  In addition this is temporary and will be&lt;br /&gt;
completely lost when the camera is powered off.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ telnet 1.2.3.4&lt;br /&gt;
$ cd /tmp&lt;br /&gt;
$ wget http://webserver/theora_str&lt;br /&gt;
$ chmod +x theora_str&lt;br /&gt;
$ ./theora_str -a 1.2.3.5 -p 20000 -k 25&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will download and run the streamer on the camera.  The -p option is the&lt;br /&gt;
IP port and the -k is the number of interframes between intraframes&lt;br /&gt;
(keyframes) in the Theora stream.&lt;br /&gt;
&lt;br /&gt;
=== Receiver ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ theorartp-client -i 1.2.3.5 -p 20000 -f output.ogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Framerate Adjustments ===&lt;br /&gt;
By default the camera will stream as fast as possible which may not be&lt;br /&gt;
desirable.  The theora_str program has a -f/--fps option that appears to&lt;br /&gt;
allow the framerate to be adjusted but this ends up corrupting the Theora&lt;br /&gt;
stream, rendering it unusable.&lt;br /&gt;
&lt;br /&gt;
The maximum framerate is affected by the resolution of the frames, the&lt;br /&gt;
exposure time, and the sensor clock.  Of these three variables, the sensor&lt;br /&gt;
clock is the only option that can be adjusted that won&#039;t dramatically affect&lt;br /&gt;
the appearance of the frames.&lt;br /&gt;
&lt;br /&gt;
To adjust the sensor clock, add an sclk parameter to the URL with a value&lt;br /&gt;
specified in megahertz.  The default and maximum sensor clock is 48 MHz.&lt;br /&gt;
For example, to cut the framerate approximately in half, add &amp;quot;&amp;amp;sclk=24&amp;quot; to the&lt;br /&gt;
URL.&lt;br /&gt;
&lt;br /&gt;
== Outstanding Issues ==&lt;br /&gt;
These are issues that exist with the existing Theora streamer version 1.0:&lt;br /&gt;
* Frames with encoded sizes larger than around 100KB aren&#039;t transmitted.  This appears to be caused by an explicit check of the frame size at line 469 of theora_str&#039;s main.c.&lt;br /&gt;
* An integer overflow exists in theora_str which causes streaming to halt after 45 minutes (at 5 FPS).  The delta variable used in the while loop at line 454 of theora_str&#039;s main.c becomes negative and causes a very long sleep in the program.&lt;br /&gt;
* The -f/--fps option for theora_str doesn&#039;t work properly.  The framerate must be throttled with the sclk option added to the configuration URL as mentioned above.&lt;/div&gt;</summary>
		<author><name>Eplese</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Theora&amp;diff=2180</id>
		<title>Theora</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Theora&amp;diff=2180"/>
		<updated>2007-05-18T00:44:06Z</updated>

		<summary type="html">&lt;p&gt;Eplese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The model 333 camera is able to encode and stream video in Ogg Theora in&lt;br /&gt;
realtime.  In order to encode in Theora the older 6.3.9 firmware must be&lt;br /&gt;
loaded onto the camera.  Due to space limitations in the FPGA, each firmware&lt;br /&gt;
can only support a single encoding algorithm, either MJPEG or Theora.  The&lt;br /&gt;
6.3.x series supports Theora and the 6.4.x and 6.5.x series support MJPEG.&lt;br /&gt;
&lt;br /&gt;
The 353 camera has a larger FPGA with space for both Theora and MJPEG&lt;br /&gt;
compressors.  Porting the Theora compressor to the 353 is targeted to begin&lt;br /&gt;
around September 2007.&lt;br /&gt;
&lt;br /&gt;
We plan to [[Design_Ideas#FPGA_Theora_Encoder_for_Videoconferencing | resume]] Ogg Theora project on the new 353 hardware - Axis ETRAX FS&lt;br /&gt;
is faster so it will better handle streaming (the bottleneck of the Ogg Theora&lt;br /&gt;
implementation in Model 333).&lt;br /&gt;
&lt;br /&gt;
Combining MJPEG and Theora in the same FPGA would complicate things - my plan&lt;br /&gt;
is to unify the software part and the non-compressor part of the FPGA code that&lt;br /&gt;
now are more advanced in MJPEG branch (histograms, gamma correction,&lt;br /&gt;
timestamping, support of newer sensors). It will be possible to replace&lt;br /&gt;
FPGA code at run-time or use software (lossless) Theora-&amp;gt;JPEG conversion with&lt;br /&gt;
the faster CPU. I&#039;m also counting on native support of Theora in the browsers&lt;br /&gt;
(like in Opera) so we can completely switch to Theora.--[[User:Andrey.filippov|Andrey.filippov]] 11:57, 14 May 2007 (CDT)&lt;br /&gt;
&lt;br /&gt;
== Web Interface ==&lt;br /&gt;
Once the 6.3.9 firmware is loaded and an IP address is configured, the web&lt;br /&gt;
interface on the camera is used to download short Theora clips for testing&lt;br /&gt;
and also to set the video parameters which are also used by the Theora&lt;br /&gt;
streamer.  There are quite a few settings so it can take some time to adjust&lt;br /&gt;
them properly to get a good picture.&lt;br /&gt;
&lt;br /&gt;
Instead of requesting the page through a browser, wget can be used to download&lt;br /&gt;
short Theora clips from the camera.  When processing web requests the camera&lt;br /&gt;
will first capture the entire clip to RAM and then begin to send the clip&lt;br /&gt;
over the network.  Requesting a Theora clip of only a single frame can be used&lt;br /&gt;
to quickly adjust the video parameters from a script without taking much time&lt;br /&gt;
to capture any video.&lt;br /&gt;
&lt;br /&gt;
== Theora Streamer ==&lt;br /&gt;
The Theora streamer can be acquired from the SourceForge download site&lt;br /&gt;
and the file is Theora_str_1.0.tgz.  This contains the source and compiled&lt;br /&gt;
binaries for the streamer (theora_str) and the receiver (theorartp-client).&lt;br /&gt;
&lt;br /&gt;
For the following examples it&#039;s assumed that the streamer has an IP address of&lt;br /&gt;
1.2.3.4 and the receiver has an IP address of 1.2.3.5.  The examples use&lt;br /&gt;
unicast rather than multicast for simplicity.&lt;br /&gt;
&lt;br /&gt;
=== Streamer ===&lt;br /&gt;
This method uses HTTP to transfer the executable to the camera so a webserver&lt;br /&gt;
of some sort is required.  In addition this is temporary and will be&lt;br /&gt;
completely lost when the camera is powered off.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ telnet 1.2.3.4&lt;br /&gt;
$ cd /tmp&lt;br /&gt;
$ wget http://webserver/theora_str&lt;br /&gt;
$ chmod +x theora_str&lt;br /&gt;
$ ./theora_str -a 1.2.3.5 -p 20000 -k 25&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will download and run the streamer on the camera.  The -p option is the&lt;br /&gt;
IP port and the -k is the number of interframes between intraframes&lt;br /&gt;
(keyframes) in the Theora stream.&lt;br /&gt;
&lt;br /&gt;
=== Receiver ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ theorartp-client -i 1.2.3.5 -p 20000 -f output.ogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Framerate Adjustments ===&lt;br /&gt;
By default the camera will stream as fast as possible which may not be&lt;br /&gt;
desirable.  The theora_str program has a -f/--fps option that appears to&lt;br /&gt;
allow the framerate to be adjusted but this ends up corrupting the Theora&lt;br /&gt;
stream, rendering it unusable.&lt;br /&gt;
&lt;br /&gt;
The maximum framerate is affected by the resolution of the frames, the&lt;br /&gt;
exposure time, and the sensor clock.  Of these three variables, the sensor&lt;br /&gt;
clock is the only option that can be adjusted that won&#039;t dramatically affect&lt;br /&gt;
the appearance of the frames.&lt;br /&gt;
&lt;br /&gt;
To adjust the sensor clock, add an sclk parameter to the URL with a value&lt;br /&gt;
specified in megahertz.  The default and maximum sensor clock is 48 MHz.&lt;br /&gt;
For example, to cut the framerate approximately in half, add &amp;quot;&amp;amp;sclk=24&amp;quot; to the&lt;br /&gt;
URL.&lt;br /&gt;
&lt;br /&gt;
== Outstanding Issues ==&lt;br /&gt;
These are issues that exist with the existing Theora streamer version 1.0:&lt;br /&gt;
* Frames with encoded sizes larger than around 100KB aren&#039;t transmitted (or received) properly.&lt;br /&gt;
* An integer overflow exists in theora_str which causes issues streaming to be interrupted after 45 minutes (at 5 FPS).&lt;br /&gt;
* The -f/--fps option for theora_str doesn&#039;t work properly.  The framerate must be throttled with the sclk option added to the configuration URL as mentioned above.&lt;/div&gt;</summary>
		<author><name>Eplese</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Theora&amp;diff=2179</id>
		<title>Theora</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Theora&amp;diff=2179"/>
		<updated>2007-05-15T00:00:29Z</updated>

		<summary type="html">&lt;p&gt;Eplese: Framerate adjustments.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The model 333 camera is able to encode and stream video in Ogg Theora in&lt;br /&gt;
realtime.  In order to encode in Theora the older 6.3.9 firmware must be&lt;br /&gt;
loaded onto the camera.  Due to space limitations in the FPGA, each firmware&lt;br /&gt;
can only support a single encoding algorithm, either MJPEG or Theora.  The&lt;br /&gt;
6.3.x series supports Theora and the 6.4.x and 6.5.x series support MJPEG.&lt;br /&gt;
&lt;br /&gt;
The 353 camera has a larger FPGA with space for both Theora and MJPEG&lt;br /&gt;
compressors.  Porting the Theora compressor to the 353 is targeted to begin&lt;br /&gt;
around September 2007.&lt;br /&gt;
&lt;br /&gt;
We plan to [[Design_Ideas#FPGA_Theora_Encoder_for_Videoconferencing | resume]] Ogg Theora project on the new 353 hardware - Axis ETRAX FS&lt;br /&gt;
is faster so it will better handle streaming (the bottleneck of the Ogg Theora&lt;br /&gt;
implementation in Model 333).&lt;br /&gt;
&lt;br /&gt;
Combining MJPEG and Theora in the same FPGA would complicate things - my plan&lt;br /&gt;
is to unify the software part and the non-compressor part of the FPGA code that&lt;br /&gt;
now are more advanced in MJPEG branch (histograms, gamma correction,&lt;br /&gt;
timestamping, support of newer sensors). It will be possible to replace&lt;br /&gt;
FPGA code at run-time or use software (lossless) Theora-&amp;gt;JPEG conversion with&lt;br /&gt;
the faster CPU. I&#039;m also counting on native support of Theora in the browsers&lt;br /&gt;
(like in Opera) so we can completely switch to Theora.--[[User:Andrey.filippov|Andrey.filippov]] 11:57, 14 May 2007 (CDT)&lt;br /&gt;
&lt;br /&gt;
== Web Interface ==&lt;br /&gt;
Once the 6.3.9 firmware is loaded and an IP address is configured, the web&lt;br /&gt;
interface on the camera is used to download short Theora clips for testing&lt;br /&gt;
and also to set the video parameters which are also used by the Theora&lt;br /&gt;
streamer.  There are quite a few settings so it can take some time to adjust&lt;br /&gt;
them properly to get a good picture.&lt;br /&gt;
&lt;br /&gt;
Instead of requesting the page through a browser, wget can be used to download&lt;br /&gt;
short Theora clips from the camera.  When processing web requests the camera&lt;br /&gt;
will first capture the entire clip to RAM and then begin to send the clip&lt;br /&gt;
over the network.  Requesting a Theora clip of only a single frame can be used&lt;br /&gt;
to quickly adjust the video parameters from a script without taking much time&lt;br /&gt;
to capture any video.&lt;br /&gt;
&lt;br /&gt;
== Theora Streamer ==&lt;br /&gt;
The Theora streamer can be acquired from the SourceForge download site&lt;br /&gt;
and the file is Theora_str_1.0.tgz.  This contains the source and compiled&lt;br /&gt;
binaries for the streamer (theora_str) and the receiver (theorartp-client).&lt;br /&gt;
&lt;br /&gt;
For the following examples it&#039;s assumed that the streamer has an IP address of&lt;br /&gt;
1.2.3.4 and the receiver has an IP address of 1.2.3.5.  The examples use&lt;br /&gt;
unicast rather than multicast for simplicity.&lt;br /&gt;
&lt;br /&gt;
=== Streamer ===&lt;br /&gt;
This method uses HTTP to transfer the executable to the camera so a webserver&lt;br /&gt;
of some sort is required.  In addition this is temporary and will be&lt;br /&gt;
completely lost when the camera is powered off.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ telnet 1.2.3.4&lt;br /&gt;
$ cd /tmp&lt;br /&gt;
$ wget http://webserver/theora_str&lt;br /&gt;
$ chmod +x theora_str&lt;br /&gt;
$ ./theora_str -a 1.2.3.5 -p 20000 -k 25&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will download and run the streamer on the camera.  The -p option is the&lt;br /&gt;
IP port and the -k is the number of interframes between intraframes&lt;br /&gt;
(keyframes) in the Theora stream.&lt;br /&gt;
&lt;br /&gt;
=== Receiver ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ theorartp-client -i 1.2.3.5 -p 20000 -f output.ogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Framerate Adjustments ===&lt;br /&gt;
By default the camera will stream as fast as possible which may not be&lt;br /&gt;
desirable.  The theora_str program has a -f/--fps option that appears to&lt;br /&gt;
allow the framerate to be adjusted but this ends up corrupting the Theora&lt;br /&gt;
stream, rendering it unusable.&lt;br /&gt;
&lt;br /&gt;
The maximum framerate is affected by the resolution of the frames, the&lt;br /&gt;
exposure time, and the sensor clock.  Of these three variables, the sensor&lt;br /&gt;
clock is the only option that can be adjusted that won&#039;t dramatically affect&lt;br /&gt;
the appearance of the frames.&lt;br /&gt;
&lt;br /&gt;
To adjust the sensor clock, add an sclk parameter to the URL with a value&lt;br /&gt;
specified in megahertz.  The default and maximum sensor clock is 48 MHz.&lt;br /&gt;
For example, to cut the framerate approximately in half, add &amp;quot;&amp;amp;sclk=24&amp;quot; to the&lt;br /&gt;
URL.&lt;/div&gt;</summary>
		<author><name>Eplese</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Theora&amp;diff=2178</id>
		<title>Theora</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Theora&amp;diff=2178"/>
		<updated>2007-05-14T22:29:00Z</updated>

		<summary type="html">&lt;p&gt;Eplese: Mention wget.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The model 333 camera is able to encode and stream video in Ogg Theora in&lt;br /&gt;
realtime.  In order to encode in Theora the older 6.3.9 firmware must be&lt;br /&gt;
loaded onto the camera.  Due to space limitations in the FPGA, each firmware&lt;br /&gt;
can only support a single encoding algorithm, either MJPEG or Theora.  The&lt;br /&gt;
6.3.x series supports Theora and the 6.4.x and 6.5.x series support MJPEG.&lt;br /&gt;
&lt;br /&gt;
The 353 camera has a larger FPGA with space for both Theora and MJPEG&lt;br /&gt;
compressors.  Porting the Theora compressor to the 353 is targeted to begin&lt;br /&gt;
around September 2007.&lt;br /&gt;
&lt;br /&gt;
We plan to [[Design_Ideas#FPGA_Theora_Encoder_for_Videoconferencing | resume]] Ogg Theora project on the new 353 hardware - Axis ETRAX FS&lt;br /&gt;
is faster so it will better handle streaming (the bottleneck of the Ogg Theora&lt;br /&gt;
implementation in Model 333).&lt;br /&gt;
&lt;br /&gt;
Combining MJPEG and Theora in the same FPGA would complicate things - my plan&lt;br /&gt;
is to unify the software part and the non-compressor part of the FPGA code that&lt;br /&gt;
now are more advanced in MJPEG branch (histograms, gamma correction,&lt;br /&gt;
timestamping, support of newer sensors). It will be possible to replace&lt;br /&gt;
FPGA code at run-time or use software (lossless) Theora-&amp;gt;JPEG conversion with&lt;br /&gt;
the faster CPU. I&#039;m also counting on native support of Theora in the browsers&lt;br /&gt;
(like in Opera) so we can completely switch to Theora.--[[User:Andrey.filippov|Andrey.filippov]] 11:57, 14 May 2007 (CDT)&lt;br /&gt;
&lt;br /&gt;
== Web Interface ==&lt;br /&gt;
Once the 6.3.9 firmware is loaded and an IP address is configured, the web&lt;br /&gt;
interface on the camera is used to download short Theora clips for testing&lt;br /&gt;
and also to set the video parameters which are also used by the Theora&lt;br /&gt;
streamer.  There are quite a few settings so it can take some time to adjust&lt;br /&gt;
them properly to get a good picture.&lt;br /&gt;
&lt;br /&gt;
Instead of requesting the page through a browser, wget can be used to download&lt;br /&gt;
short Theora clips from the camera.  When processing web requests the camera&lt;br /&gt;
will first capture the entire clip to RAM and then begin to send the clip&lt;br /&gt;
over the network.  Requesting a Theora clip of only a single frame can be used&lt;br /&gt;
to quickly adjust the video parameters from a script without taking much time&lt;br /&gt;
to capture any video.&lt;br /&gt;
&lt;br /&gt;
== Theora Streamer ==&lt;br /&gt;
The Theora streamer can be acquired from the SourceForge download site&lt;br /&gt;
and the file is Theora_str_1.0.tgz.  This contains the source and compiled&lt;br /&gt;
binaries for the streamer (theora_str) and the receiver (theorartp-client).&lt;br /&gt;
&lt;br /&gt;
For the following examples it&#039;s assumed that the streamer has an IP address of&lt;br /&gt;
1.2.3.4 and the receiver has an IP address of 1.2.3.5.  The examples use&lt;br /&gt;
unicast rather than multicast for simplicity.&lt;br /&gt;
&lt;br /&gt;
=== Streamer ===&lt;br /&gt;
This method uses HTTP to transfer the executable to the camera so a webserver&lt;br /&gt;
of some sort is required.  In addition this is temporary and will be&lt;br /&gt;
completely lost when the camera is powered off.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ telnet 1.2.3.4&lt;br /&gt;
$ cd /tmp&lt;br /&gt;
$ wget http://webserver/theora_str&lt;br /&gt;
$ chmod +x theora_str&lt;br /&gt;
$ ./theora_str -a 1.2.3.5 -p 20000 -k 25&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will download and run the streamer on the camera.  The -p option is the&lt;br /&gt;
IP port and the -k is the number of interframes between intraframes&lt;br /&gt;
(keyframes) in the Theora stream.&lt;br /&gt;
&lt;br /&gt;
=== Receiver ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ theorartp-client -i 1.2.3.5 -p 20000 -f output.ogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eplese</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Theora&amp;diff=2174</id>
		<title>Theora</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Theora&amp;diff=2174"/>
		<updated>2007-05-14T16:09:05Z</updated>

		<summary type="html">&lt;p&gt;Eplese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The model 333 camera is able to encode and stream video in Ogg Theora in&lt;br /&gt;
realtime.  In order to encode in Theora the older 6.3.9 firmware must be&lt;br /&gt;
loaded onto the camera.  Due to space limitations in the FPGA, each firmware&lt;br /&gt;
can only support a single encoding algorithm, either MJPEG or Theora.  The&lt;br /&gt;
6.3.x series supports Theora and the 6.4.x and 6.5.x series support MJPEG.&lt;br /&gt;
&lt;br /&gt;
The 353 camera has a larger FPGA with space for both Theora and MJPEG&lt;br /&gt;
compressors.  Porting the Theora compressor to the 353 is targeted to begin&lt;br /&gt;
around September 2007.&lt;br /&gt;
&lt;br /&gt;
== Web Interface ==&lt;br /&gt;
Once the 6.3.9 firmware is loaded and an IP address is configured, the web&lt;br /&gt;
interface on the camera is used to download short Theora clips for testing&lt;br /&gt;
and also to set the video parameters which are also used by the Theora&lt;br /&gt;
streamer.  There are quite a few settings so it can take some time to adjust&lt;br /&gt;
them properly to get a good picture.&lt;br /&gt;
&lt;br /&gt;
== Theora Streamer ==&lt;br /&gt;
The Theora streamer can be acquired from the SourceForge download site&lt;br /&gt;
and the file is Theora_str_1.0.tgz.  This contains the source and compiled&lt;br /&gt;
binaries for the streamer (theora_str) and the receiver (theorartp-client).&lt;br /&gt;
&lt;br /&gt;
For the following examples it&#039;s assumed that the streamer has an IP address of&lt;br /&gt;
1.2.3.4 and the receiver has an IP address of 1.2.3.5.  The examples use&lt;br /&gt;
unicast rather than multicast for simplicity.&lt;br /&gt;
&lt;br /&gt;
=== Streamer ===&lt;br /&gt;
This method uses HTTP to transfer the executable to the camera so a webserver&lt;br /&gt;
of some sort is required.  In addition this is temporary and will be&lt;br /&gt;
completely lost when the camera is powered off.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ telnet 1.2.3.4&lt;br /&gt;
$ cd /tmp&lt;br /&gt;
$ wget http://webserver/theora_str&lt;br /&gt;
$ chmod +x theora_str&lt;br /&gt;
$ ./theora_str -a 1.2.3.5 -p 20000 -k 25&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will download and run the streamer on the camera.  The -p option is the&lt;br /&gt;
IP port and the -k is the number of interframes between intraframes&lt;br /&gt;
(keyframes) in the Theora stream.&lt;br /&gt;
&lt;br /&gt;
=== Receiver ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ theorartp-client -i 1.2.3.5 -p 20000 -f output.ogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eplese</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Theora&amp;diff=2173</id>
		<title>Theora</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Theora&amp;diff=2173"/>
		<updated>2007-05-14T15:53:41Z</updated>

		<summary type="html">&lt;p&gt;Eplese: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The model 333 camera is able to encode and stream video in Ogg Theora in&lt;br /&gt;
realtime.  In order to encode in Theora the older 6.3.9 firmware must be&lt;br /&gt;
loaded onto the camera.  Due to space limitations in the FPGA, each firmware&lt;br /&gt;
can only support a single encoding algorithm, either MJPEG or Theora.  The&lt;br /&gt;
6.3.x series supports Theora and the 6.4.x and 6.5.x series support MJPEG.&lt;br /&gt;
&lt;br /&gt;
== Web Interface ==&lt;br /&gt;
Once the 6.3.9 firmware is loaded and an IP address is configured, the web&lt;br /&gt;
interface on the camera is used to download short Theora clips for testing&lt;br /&gt;
and also to set the video parameters which are also used by the Theora&lt;br /&gt;
streamer.  There are quite a few settings so it can take some time to adjust&lt;br /&gt;
them properly to get a good picture.&lt;br /&gt;
&lt;br /&gt;
== Theora Streamer ==&lt;br /&gt;
The Theora streamer can be acquired from the SourceForge download site&lt;br /&gt;
and the file is Theora_str_1.0.tgz.  This contains the source and compiled&lt;br /&gt;
binaries for the streamer (theora_str) and the receiver (theorartp-client).&lt;br /&gt;
&lt;br /&gt;
For the following examples it&#039;s assumed that the streamer has an IP address of&lt;br /&gt;
1.2.3.4 and the receiver has an IP address of 1.2.3.5.  The examples use&lt;br /&gt;
unicast rather than multicast for simplicity.&lt;br /&gt;
&lt;br /&gt;
=== Streamer ===&lt;br /&gt;
This method uses HTTP to transfer the executable to the camera so a webserver&lt;br /&gt;
of some sort is required.  In addition this is temporary and will be&lt;br /&gt;
completely lost when the camera is powered off.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ telnet 1.2.3.4&lt;br /&gt;
$ cd /tmp&lt;br /&gt;
$ wget http://webserver/theora_str&lt;br /&gt;
$ chmod +x theora_str&lt;br /&gt;
$ ./theora_str -a 1.2.3.5 -p 20000 -k 25&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will download and run the streamer on the camera.  The -p option is the&lt;br /&gt;
IP port and the -k is the number of interframes between intraframes&lt;br /&gt;
(keyframes) in the Theora stream.&lt;br /&gt;
&lt;br /&gt;
=== Receiver ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
$ theorartp-client -i 1.2.3.5 -p 20000 -f output.ogg&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Eplese</name></author>
	</entry>
</feed>