<?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=Beug</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=Beug"/>
	<link rel="alternate" type="text/html" href="https://wiki.elphel.com/wiki/Special:Contributions/Beug"/>
	<updated>2026-08-01T15:45:42Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4321</id>
		<title>2008.RMLL.info recording</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4321"/>
		<updated>2008-06-24T23:54:30Z</updated>

		<summary type="html">&lt;p&gt;Beug: /* Streaming */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Prefix=&lt;br /&gt;
We had some contacts with organizers of http://2008.rmll.info/?lang=en and decided to participate recording all conferences with Elphel NC353L network cameras.&lt;br /&gt;
&lt;br /&gt;
=Goals=&lt;br /&gt;
The goal is:&lt;br /&gt;
&lt;br /&gt;
* record all the conferences in high resolution. (from 640x480 to 1920x1080p)&lt;br /&gt;
* restream few conferences in real time&lt;br /&gt;
* upload ALL conferences on RMLL site and google video and as many support as possible.&lt;br /&gt;
* keep high quality 1920x1080p MJPEG sources for all conferences what will be post processed.&lt;br /&gt;
* have at least 1 camera per conference room and 2-4 camera for a very important conferences what will be post processed.&lt;br /&gt;
* do all that with exclusively FreeSoftware&lt;br /&gt;
&lt;br /&gt;
=Hardware=&lt;br /&gt;
This section will describe used hardware.&lt;br /&gt;
&lt;br /&gt;
==Cameras==&lt;br /&gt;
We will bring 14 cameras with lenses and POE injectors.&lt;br /&gt;
&lt;br /&gt;
===POE injectors===&lt;br /&gt;
We will bring POE injectors with us.&lt;br /&gt;
&lt;br /&gt;
===Lenses===&lt;br /&gt;
We will use Computar H2Z0414C-MP Varifocal Lens, 4-8mm F1.4 Manual Iris Vari-Focal C-Mount, 3MPix. We will have 10-12 of such lense + 2 5MPix fisheyes. Maybe we will have some other good quality lenses.&lt;br /&gt;
&lt;br /&gt;
==PC==&lt;br /&gt;
&lt;br /&gt;
===Requirement===&lt;br /&gt;
&lt;br /&gt;
If we do not want to stream or transcode in live a X40 IBM thinkpad or equivalent is OK.&lt;br /&gt;
&lt;br /&gt;
If we do want to mux, transcode and stream in realtime a core2duo or quadro 2.4 Ghz and with 2GB RAM minimum is more welcome.&lt;br /&gt;
&lt;br /&gt;
=Microphones=&lt;br /&gt;
&lt;br /&gt;
=Tripods=&lt;br /&gt;
&lt;br /&gt;
=Network=&lt;br /&gt;
&lt;br /&gt;
=Software=&lt;br /&gt;
&lt;br /&gt;
==FreeSoftware==&lt;br /&gt;
&lt;br /&gt;
List of freesoftware needed to record video/audio, mux and stream.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Of course standard GNU/Linux&lt;br /&gt;
&lt;br /&gt;
mencoder to record video&lt;br /&gt;
&lt;br /&gt;
gstreamer-0.10 to record audio&lt;br /&gt;
&lt;br /&gt;
ogmmerge from ogmtools to mux ogg vorbis sound produce by gstreamer and mjpeg video from mencoder&lt;br /&gt;
&lt;br /&gt;
ffmpeg2theora to encode on theora ( minimum version is 0.19 )&lt;br /&gt;
&lt;br /&gt;
oggfwd to send video and icecast server&lt;br /&gt;
&lt;br /&gt;
icecast2 for streaming the ogg/theora file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On standard ubuntu 7.10 i&#039;ve got all this software with apt-get.&lt;br /&gt;
&lt;br /&gt;
==Ubuntu Desktop==&lt;br /&gt;
&lt;br /&gt;
==Special scripts for recording==&lt;br /&gt;
&lt;br /&gt;
===Pure-Data patch===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there is a simple patch for pure data to record, mux sound and stream on icecast server.&lt;br /&gt;
You can download this patch here :&lt;br /&gt;
&lt;br /&gt;
http://community.elphel.com/files/elencode.pd&lt;br /&gt;
&lt;br /&gt;
Change the path of your need and launch this with pd name_you_choose.pd&lt;br /&gt;
&lt;br /&gt;
===Recording audio===&lt;br /&gt;
&lt;br /&gt;
To record audio there is new elphel cam with USB where you can plug USB microphone ( recommended SAMSON USB MIC ) BUT&lt;br /&gt;
she is not avaivable for this events :( so we need to find solution to record audio.&lt;br /&gt;
&lt;br /&gt;
The solution is a computer ... :(&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this we need standard computer with soundcard alsa compatible and gstreamer-0.10 software.&lt;br /&gt;
To record audio i use this scripts made by luxigo.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
 # audio settings&lt;br /&gt;
 AUDIO_DEVICE=&amp;quot;hw:0,0&amp;quot;&lt;br /&gt;
 AUDIO_BITRATE=48000&lt;br /&gt;
&lt;br /&gt;
 # output file name&lt;br /&gt;
 OUTFILE=&amp;quot;out.ogg&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 DEBUG=&amp;quot;-v -m&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 gst-launch-0.10 $DEBUG \&lt;br /&gt;
 \&lt;br /&gt;
	oggmux name=mux \&lt;br /&gt;
	! filesink location=&amp;quot;$OUTFILE&amp;quot; \&lt;br /&gt;
 \&lt;br /&gt;
	fdsrc fd=0 \&lt;br /&gt;
	! queue \&lt;br /&gt;
	! oggparse \&lt;br /&gt;
	! oggdemux \&lt;br /&gt;
	! ogmvideoparse \&lt;br /&gt;
	! mux. \&lt;br /&gt;
 \&lt;br /&gt;
	alsasrc \&lt;br /&gt;
		device=&amp;quot;$AUDIO_DEVICE&amp;quot; \&lt;br /&gt;
	! queue \&lt;br /&gt;
	! audioconvert \&lt;br /&gt;
	! vorbisenc bitrate=$AUDIO_BITRATE \&lt;br /&gt;
	! mux.&lt;br /&gt;
&lt;br /&gt;
 # Description of the gst-launch command above:&lt;br /&gt;
&lt;br /&gt;
 # - the muxed stream (the output from the oggmux element) will be&lt;br /&gt;
 #   stored in a file (filesink)&lt;br /&gt;
&lt;br /&gt;
 # - The video comes from ElphelOgm through stdin (fdsrc fd=0).&lt;br /&gt;
 # - The ogg stream is parsed for security (optional?) and demuxed.&lt;br /&gt;
 # - The ogmvideo stream is also parsed for security (optional?).&lt;br /&gt;
 # - The resulting mjpeg stream is sent to the ogg muxer through the&lt;br /&gt;
 #    &amp;quot;mux.&amp;quot; element (defined with &amp;quot;oggmux name=mux&amp;quot;). &lt;br /&gt;
 #   (This syntax could also be used for oggdemux but here there&#039;s only&lt;br /&gt;
 #   a single stream in the incoming ogg container so we dont need to&lt;br /&gt;
 #   complicate things here) &lt;br /&gt;
&lt;br /&gt;
 # - The sound comes from an alsa device through alsasrc,&lt;br /&gt;
 # - The sound is converted in a suitable format then encoded in vorbis,&lt;br /&gt;
 #   before being muxed with the video stream&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Recording video===&lt;br /&gt;
&lt;br /&gt;
We&#039;ve got different way to record video from elphel camera. The newest way to record is camogm/cam2ogm but we need nfs server or hard drive directly connected to the camera but we don&#039;t have camera with harddrive and nfs server is not what i prefer..  We can also use ElphelOgm but we are some artefact with this so i choose to use classic mencoder way to record video like this :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mencoder rtsp://ipcamera:554 -ovc copy -fps 24.99 -frames 250000 -o outputv.avi &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the option frames 250000 produce approximatively 2 hours of video on 1920x1088 format.&lt;br /&gt;
&lt;br /&gt;
===Muxing audio with video===&lt;br /&gt;
&lt;br /&gt;
To mux of audio and video we use ogmmerge from ogmtools like this :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ogmmerge -o sync.ogg out.ogg outputv.avi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is an option -sync if you need an audio track synchronized.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $ ogmmerge -o goodsync.ogm -A source.avi -s 200 outofsync.ogg&lt;br /&gt;
&lt;br /&gt;
       This would add 200ms of silence at the beginning of  the  audio  tracks&lt;br /&gt;
       taken  from outofsync.ogg. And -s always applies to all audio tracks in&lt;br /&gt;
       a source file. If you want to apply -s only to a  specific  track  then&lt;br /&gt;
       take the same source file more than once and add -a and -s accordingly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
from man ogmmerge&lt;br /&gt;
&lt;br /&gt;
===Transcoding to Theora/Vorbis===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the the transcoding we use ffmpeg2theora ( minimum version 0.19 ) to encode the mjpeg and oggvorbis on the ogg/theora file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat sync.ogg | ffmpeg2theora -p preview -o final.ogg - &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Streaming===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Finally to stream for the world we use icecast2 server.&lt;br /&gt;
&lt;br /&gt;
Send the ogg/theora files with oggfwd like this.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat final.ogg | oggfwd ip_of_icecast_server port password /stream.ogg &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Of course you need to configure icecast2 server before.&lt;/div&gt;</summary>
		<author><name>Beug</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4320</id>
		<title>2008.RMLL.info recording</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4320"/>
		<updated>2008-06-24T23:51:35Z</updated>

		<summary type="html">&lt;p&gt;Beug: /* Transcoding to Theora/Vorbis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Prefix=&lt;br /&gt;
We had some contacts with organizers of http://2008.rmll.info/?lang=en and decided to participate recording all conferences with Elphel NC353L network cameras.&lt;br /&gt;
&lt;br /&gt;
=Goals=&lt;br /&gt;
The goal is:&lt;br /&gt;
&lt;br /&gt;
* record all the conferences in high resolution. (from 640x480 to 1920x1080p)&lt;br /&gt;
* restream few conferences in real time&lt;br /&gt;
* upload ALL conferences on RMLL site and google video and as many support as possible.&lt;br /&gt;
* keep high quality 1920x1080p MJPEG sources for all conferences what will be post processed.&lt;br /&gt;
* have at least 1 camera per conference room and 2-4 camera for a very important conferences what will be post processed.&lt;br /&gt;
* do all that with exclusively FreeSoftware&lt;br /&gt;
&lt;br /&gt;
=Hardware=&lt;br /&gt;
This section will describe used hardware.&lt;br /&gt;
&lt;br /&gt;
==Cameras==&lt;br /&gt;
We will bring 14 cameras with lenses and POE injectors.&lt;br /&gt;
&lt;br /&gt;
===POE injectors===&lt;br /&gt;
We will bring POE injectors with us.&lt;br /&gt;
&lt;br /&gt;
===Lenses===&lt;br /&gt;
We will use Computar H2Z0414C-MP Varifocal Lens, 4-8mm F1.4 Manual Iris Vari-Focal C-Mount, 3MPix. We will have 10-12 of such lense + 2 5MPix fisheyes. Maybe we will have some other good quality lenses.&lt;br /&gt;
&lt;br /&gt;
==PC==&lt;br /&gt;
&lt;br /&gt;
===Requirement===&lt;br /&gt;
&lt;br /&gt;
If we do not want to stream or transcode in live a X40 IBM thinkpad or equivalent is OK.&lt;br /&gt;
&lt;br /&gt;
If we do want to mux, transcode and stream in realtime a core2duo or quadro 2.4 Ghz and with 2GB RAM minimum is more welcome.&lt;br /&gt;
&lt;br /&gt;
=Microphones=&lt;br /&gt;
&lt;br /&gt;
=Tripods=&lt;br /&gt;
&lt;br /&gt;
=Network=&lt;br /&gt;
&lt;br /&gt;
=Software=&lt;br /&gt;
&lt;br /&gt;
==FreeSoftware==&lt;br /&gt;
&lt;br /&gt;
List of freesoftware needed to record video/audio, mux and stream.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Of course standard GNU/Linux&lt;br /&gt;
&lt;br /&gt;
mencoder to record video&lt;br /&gt;
&lt;br /&gt;
gstreamer-0.10 to record audio&lt;br /&gt;
&lt;br /&gt;
ogmmerge from ogmtools to mux ogg vorbis sound produce by gstreamer and mjpeg video from mencoder&lt;br /&gt;
&lt;br /&gt;
ffmpeg2theora to encode on theora ( minimum version is 0.19 )&lt;br /&gt;
&lt;br /&gt;
oggfwd to send video and icecast server&lt;br /&gt;
&lt;br /&gt;
icecast2 for streaming the ogg/theora file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On standard ubuntu 7.10 i&#039;ve got all this software with apt-get.&lt;br /&gt;
&lt;br /&gt;
==Ubuntu Desktop==&lt;br /&gt;
&lt;br /&gt;
==Special scripts for recording==&lt;br /&gt;
&lt;br /&gt;
===Pure-Data patch===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there is a simple patch for pure data to record, mux sound and stream on icecast server.&lt;br /&gt;
You can download this patch here :&lt;br /&gt;
&lt;br /&gt;
http://community.elphel.com/files/elencode.pd&lt;br /&gt;
&lt;br /&gt;
Change the path of your need and launch this with pd name_you_choose.pd&lt;br /&gt;
&lt;br /&gt;
===Recording audio===&lt;br /&gt;
&lt;br /&gt;
To record audio there is new elphel cam with USB where you can plug USB microphone ( recommended SAMSON USB MIC ) BUT&lt;br /&gt;
she is not avaivable for this events :( so we need to find solution to record audio.&lt;br /&gt;
&lt;br /&gt;
The solution is a computer ... :(&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this we need standard computer with soundcard alsa compatible and gstreamer-0.10 software.&lt;br /&gt;
To record audio i use this scripts made by luxigo.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
 # audio settings&lt;br /&gt;
 AUDIO_DEVICE=&amp;quot;hw:0,0&amp;quot;&lt;br /&gt;
 AUDIO_BITRATE=48000&lt;br /&gt;
&lt;br /&gt;
 # output file name&lt;br /&gt;
 OUTFILE=&amp;quot;out.ogg&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 DEBUG=&amp;quot;-v -m&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 gst-launch-0.10 $DEBUG \&lt;br /&gt;
 \&lt;br /&gt;
	oggmux name=mux \&lt;br /&gt;
	! filesink location=&amp;quot;$OUTFILE&amp;quot; \&lt;br /&gt;
 \&lt;br /&gt;
	fdsrc fd=0 \&lt;br /&gt;
	! queue \&lt;br /&gt;
	! oggparse \&lt;br /&gt;
	! oggdemux \&lt;br /&gt;
	! ogmvideoparse \&lt;br /&gt;
	! mux. \&lt;br /&gt;
 \&lt;br /&gt;
	alsasrc \&lt;br /&gt;
		device=&amp;quot;$AUDIO_DEVICE&amp;quot; \&lt;br /&gt;
	! queue \&lt;br /&gt;
	! audioconvert \&lt;br /&gt;
	! vorbisenc bitrate=$AUDIO_BITRATE \&lt;br /&gt;
	! mux.&lt;br /&gt;
&lt;br /&gt;
 # Description of the gst-launch command above:&lt;br /&gt;
&lt;br /&gt;
 # - the muxed stream (the output from the oggmux element) will be&lt;br /&gt;
 #   stored in a file (filesink)&lt;br /&gt;
&lt;br /&gt;
 # - The video comes from ElphelOgm through stdin (fdsrc fd=0).&lt;br /&gt;
 # - The ogg stream is parsed for security (optional?) and demuxed.&lt;br /&gt;
 # - The ogmvideo stream is also parsed for security (optional?).&lt;br /&gt;
 # - The resulting mjpeg stream is sent to the ogg muxer through the&lt;br /&gt;
 #    &amp;quot;mux.&amp;quot; element (defined with &amp;quot;oggmux name=mux&amp;quot;). &lt;br /&gt;
 #   (This syntax could also be used for oggdemux but here there&#039;s only&lt;br /&gt;
 #   a single stream in the incoming ogg container so we dont need to&lt;br /&gt;
 #   complicate things here) &lt;br /&gt;
&lt;br /&gt;
 # - The sound comes from an alsa device through alsasrc,&lt;br /&gt;
 # - The sound is converted in a suitable format then encoded in vorbis,&lt;br /&gt;
 #   before being muxed with the video stream&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Recording video===&lt;br /&gt;
&lt;br /&gt;
We&#039;ve got different way to record video from elphel camera. The newest way to record is camogm/cam2ogm but we need nfs server or hard drive directly connected to the camera but we don&#039;t have camera with harddrive and nfs server is not what i prefer..  We can also use ElphelOgm but we are some artefact with this so i choose to use classic mencoder way to record video like this :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mencoder rtsp://ipcamera:554 -ovc copy -fps 24.99 -frames 250000 -o outputv.avi &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the option frames 250000 produce approximatively 2 hours of video on 1920x1088 format.&lt;br /&gt;
&lt;br /&gt;
===Muxing audio with video===&lt;br /&gt;
&lt;br /&gt;
To mux of audio and video we use ogmmerge from ogmtools like this :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ogmmerge -o sync.ogg out.ogg outputv.avi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is an option -sync if you need an audio track synchronized.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $ ogmmerge -o goodsync.ogm -A source.avi -s 200 outofsync.ogg&lt;br /&gt;
&lt;br /&gt;
       This would add 200ms of silence at the beginning of  the  audio  tracks&lt;br /&gt;
       taken  from outofsync.ogg. And -s always applies to all audio tracks in&lt;br /&gt;
       a source file. If you want to apply -s only to a  specific  track  then&lt;br /&gt;
       take the same source file more than once and add -a and -s accordingly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
from man ogmmerge&lt;br /&gt;
&lt;br /&gt;
===Transcoding to Theora/Vorbis===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the the transcoding we use ffmpeg2theora ( minimum version 0.19 ) to encode the mjpeg and oggvorbis on the ogg/theora file.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat sync.ogg | ffmpeg2theora -p preview -o final.ogg - &lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Streaming===&lt;/div&gt;</summary>
		<author><name>Beug</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4319</id>
		<title>2008.RMLL.info recording</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4319"/>
		<updated>2008-06-24T23:49:23Z</updated>

		<summary type="html">&lt;p&gt;Beug: /* Muxing audio with video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Prefix=&lt;br /&gt;
We had some contacts with organizers of http://2008.rmll.info/?lang=en and decided to participate recording all conferences with Elphel NC353L network cameras.&lt;br /&gt;
&lt;br /&gt;
=Goals=&lt;br /&gt;
The goal is:&lt;br /&gt;
&lt;br /&gt;
* record all the conferences in high resolution. (from 640x480 to 1920x1080p)&lt;br /&gt;
* restream few conferences in real time&lt;br /&gt;
* upload ALL conferences on RMLL site and google video and as many support as possible.&lt;br /&gt;
* keep high quality 1920x1080p MJPEG sources for all conferences what will be post processed.&lt;br /&gt;
* have at least 1 camera per conference room and 2-4 camera for a very important conferences what will be post processed.&lt;br /&gt;
* do all that with exclusively FreeSoftware&lt;br /&gt;
&lt;br /&gt;
=Hardware=&lt;br /&gt;
This section will describe used hardware.&lt;br /&gt;
&lt;br /&gt;
==Cameras==&lt;br /&gt;
We will bring 14 cameras with lenses and POE injectors.&lt;br /&gt;
&lt;br /&gt;
===POE injectors===&lt;br /&gt;
We will bring POE injectors with us.&lt;br /&gt;
&lt;br /&gt;
===Lenses===&lt;br /&gt;
We will use Computar H2Z0414C-MP Varifocal Lens, 4-8mm F1.4 Manual Iris Vari-Focal C-Mount, 3MPix. We will have 10-12 of such lense + 2 5MPix fisheyes. Maybe we will have some other good quality lenses.&lt;br /&gt;
&lt;br /&gt;
==PC==&lt;br /&gt;
&lt;br /&gt;
===Requirement===&lt;br /&gt;
&lt;br /&gt;
If we do not want to stream or transcode in live a X40 IBM thinkpad or equivalent is OK.&lt;br /&gt;
&lt;br /&gt;
If we do want to mux, transcode and stream in realtime a core2duo or quadro 2.4 Ghz and with 2GB RAM minimum is more welcome.&lt;br /&gt;
&lt;br /&gt;
=Microphones=&lt;br /&gt;
&lt;br /&gt;
=Tripods=&lt;br /&gt;
&lt;br /&gt;
=Network=&lt;br /&gt;
&lt;br /&gt;
=Software=&lt;br /&gt;
&lt;br /&gt;
==FreeSoftware==&lt;br /&gt;
&lt;br /&gt;
List of freesoftware needed to record video/audio, mux and stream.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Of course standard GNU/Linux&lt;br /&gt;
&lt;br /&gt;
mencoder to record video&lt;br /&gt;
&lt;br /&gt;
gstreamer-0.10 to record audio&lt;br /&gt;
&lt;br /&gt;
ogmmerge from ogmtools to mux ogg vorbis sound produce by gstreamer and mjpeg video from mencoder&lt;br /&gt;
&lt;br /&gt;
ffmpeg2theora to encode on theora ( minimum version is 0.19 )&lt;br /&gt;
&lt;br /&gt;
oggfwd to send video and icecast server&lt;br /&gt;
&lt;br /&gt;
icecast2 for streaming the ogg/theora file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On standard ubuntu 7.10 i&#039;ve got all this software with apt-get.&lt;br /&gt;
&lt;br /&gt;
==Ubuntu Desktop==&lt;br /&gt;
&lt;br /&gt;
==Special scripts for recording==&lt;br /&gt;
&lt;br /&gt;
===Pure-Data patch===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there is a simple patch for pure data to record, mux sound and stream on icecast server.&lt;br /&gt;
You can download this patch here :&lt;br /&gt;
&lt;br /&gt;
http://community.elphel.com/files/elencode.pd&lt;br /&gt;
&lt;br /&gt;
Change the path of your need and launch this with pd name_you_choose.pd&lt;br /&gt;
&lt;br /&gt;
===Recording audio===&lt;br /&gt;
&lt;br /&gt;
To record audio there is new elphel cam with USB where you can plug USB microphone ( recommended SAMSON USB MIC ) BUT&lt;br /&gt;
she is not avaivable for this events :( so we need to find solution to record audio.&lt;br /&gt;
&lt;br /&gt;
The solution is a computer ... :(&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this we need standard computer with soundcard alsa compatible and gstreamer-0.10 software.&lt;br /&gt;
To record audio i use this scripts made by luxigo.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
 # audio settings&lt;br /&gt;
 AUDIO_DEVICE=&amp;quot;hw:0,0&amp;quot;&lt;br /&gt;
 AUDIO_BITRATE=48000&lt;br /&gt;
&lt;br /&gt;
 # output file name&lt;br /&gt;
 OUTFILE=&amp;quot;out.ogg&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 DEBUG=&amp;quot;-v -m&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 gst-launch-0.10 $DEBUG \&lt;br /&gt;
 \&lt;br /&gt;
	oggmux name=mux \&lt;br /&gt;
	! filesink location=&amp;quot;$OUTFILE&amp;quot; \&lt;br /&gt;
 \&lt;br /&gt;
	fdsrc fd=0 \&lt;br /&gt;
	! queue \&lt;br /&gt;
	! oggparse \&lt;br /&gt;
	! oggdemux \&lt;br /&gt;
	! ogmvideoparse \&lt;br /&gt;
	! mux. \&lt;br /&gt;
 \&lt;br /&gt;
	alsasrc \&lt;br /&gt;
		device=&amp;quot;$AUDIO_DEVICE&amp;quot; \&lt;br /&gt;
	! queue \&lt;br /&gt;
	! audioconvert \&lt;br /&gt;
	! vorbisenc bitrate=$AUDIO_BITRATE \&lt;br /&gt;
	! mux.&lt;br /&gt;
&lt;br /&gt;
 # Description of the gst-launch command above:&lt;br /&gt;
&lt;br /&gt;
 # - the muxed stream (the output from the oggmux element) will be&lt;br /&gt;
 #   stored in a file (filesink)&lt;br /&gt;
&lt;br /&gt;
 # - The video comes from ElphelOgm through stdin (fdsrc fd=0).&lt;br /&gt;
 # - The ogg stream is parsed for security (optional?) and demuxed.&lt;br /&gt;
 # - The ogmvideo stream is also parsed for security (optional?).&lt;br /&gt;
 # - The resulting mjpeg stream is sent to the ogg muxer through the&lt;br /&gt;
 #    &amp;quot;mux.&amp;quot; element (defined with &amp;quot;oggmux name=mux&amp;quot;). &lt;br /&gt;
 #   (This syntax could also be used for oggdemux but here there&#039;s only&lt;br /&gt;
 #   a single stream in the incoming ogg container so we dont need to&lt;br /&gt;
 #   complicate things here) &lt;br /&gt;
&lt;br /&gt;
 # - The sound comes from an alsa device through alsasrc,&lt;br /&gt;
 # - The sound is converted in a suitable format then encoded in vorbis,&lt;br /&gt;
 #   before being muxed with the video stream&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Recording video===&lt;br /&gt;
&lt;br /&gt;
We&#039;ve got different way to record video from elphel camera. The newest way to record is camogm/cam2ogm but we need nfs server or hard drive directly connected to the camera but we don&#039;t have camera with harddrive and nfs server is not what i prefer..  We can also use ElphelOgm but we are some artefact with this so i choose to use classic mencoder way to record video like this :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mencoder rtsp://ipcamera:554 -ovc copy -fps 24.99 -frames 250000 -o outputv.avi &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the option frames 250000 produce approximatively 2 hours of video on 1920x1088 format.&lt;br /&gt;
&lt;br /&gt;
===Muxing audio with video===&lt;br /&gt;
&lt;br /&gt;
To mux of audio and video we use ogmmerge from ogmtools like this :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ogmmerge -o sync.ogg out.ogg outputv.avi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is an option -sync if you need an audio track synchronized.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 $ ogmmerge -o goodsync.ogm -A source.avi -s 200 outofsync.ogg&lt;br /&gt;
&lt;br /&gt;
       This would add 200ms of silence at the beginning of  the  audio  tracks&lt;br /&gt;
       taken  from outofsync.ogg. And -s always applies to all audio tracks in&lt;br /&gt;
       a source file. If you want to apply -s only to a  specific  track  then&lt;br /&gt;
       take the same source file more than once and add -a and -s accordingly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
from man ogmmerge&lt;br /&gt;
&lt;br /&gt;
===Transcoding to Theora/Vorbis===&lt;br /&gt;
&lt;br /&gt;
===Streaming===&lt;/div&gt;</summary>
		<author><name>Beug</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4318</id>
		<title>2008.RMLL.info recording</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4318"/>
		<updated>2008-06-24T23:43:32Z</updated>

		<summary type="html">&lt;p&gt;Beug: /* Recording video */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Prefix=&lt;br /&gt;
We had some contacts with organizers of http://2008.rmll.info/?lang=en and decided to participate recording all conferences with Elphel NC353L network cameras.&lt;br /&gt;
&lt;br /&gt;
=Goals=&lt;br /&gt;
The goal is:&lt;br /&gt;
&lt;br /&gt;
* record all the conferences in high resolution. (from 640x480 to 1920x1080p)&lt;br /&gt;
* restream few conferences in real time&lt;br /&gt;
* upload ALL conferences on RMLL site and google video and as many support as possible.&lt;br /&gt;
* keep high quality 1920x1080p MJPEG sources for all conferences what will be post processed.&lt;br /&gt;
* have at least 1 camera per conference room and 2-4 camera for a very important conferences what will be post processed.&lt;br /&gt;
* do all that with exclusively FreeSoftware&lt;br /&gt;
&lt;br /&gt;
=Hardware=&lt;br /&gt;
This section will describe used hardware.&lt;br /&gt;
&lt;br /&gt;
==Cameras==&lt;br /&gt;
We will bring 14 cameras with lenses and POE injectors.&lt;br /&gt;
&lt;br /&gt;
===POE injectors===&lt;br /&gt;
We will bring POE injectors with us.&lt;br /&gt;
&lt;br /&gt;
===Lenses===&lt;br /&gt;
We will use Computar H2Z0414C-MP Varifocal Lens, 4-8mm F1.4 Manual Iris Vari-Focal C-Mount, 3MPix. We will have 10-12 of such lense + 2 5MPix fisheyes. Maybe we will have some other good quality lenses.&lt;br /&gt;
&lt;br /&gt;
==PC==&lt;br /&gt;
&lt;br /&gt;
===Requirement===&lt;br /&gt;
&lt;br /&gt;
If we do not want to stream or transcode in live a X40 IBM thinkpad or equivalent is OK.&lt;br /&gt;
&lt;br /&gt;
If we do want to mux, transcode and stream in realtime a core2duo or quadro 2.4 Ghz and with 2GB RAM minimum is more welcome.&lt;br /&gt;
&lt;br /&gt;
=Microphones=&lt;br /&gt;
&lt;br /&gt;
=Tripods=&lt;br /&gt;
&lt;br /&gt;
=Network=&lt;br /&gt;
&lt;br /&gt;
=Software=&lt;br /&gt;
&lt;br /&gt;
==FreeSoftware==&lt;br /&gt;
&lt;br /&gt;
List of freesoftware needed to record video/audio, mux and stream.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Of course standard GNU/Linux&lt;br /&gt;
&lt;br /&gt;
mencoder to record video&lt;br /&gt;
&lt;br /&gt;
gstreamer-0.10 to record audio&lt;br /&gt;
&lt;br /&gt;
ogmmerge from ogmtools to mux ogg vorbis sound produce by gstreamer and mjpeg video from mencoder&lt;br /&gt;
&lt;br /&gt;
ffmpeg2theora to encode on theora ( minimum version is 0.19 )&lt;br /&gt;
&lt;br /&gt;
oggfwd to send video and icecast server&lt;br /&gt;
&lt;br /&gt;
icecast2 for streaming the ogg/theora file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On standard ubuntu 7.10 i&#039;ve got all this software with apt-get.&lt;br /&gt;
&lt;br /&gt;
==Ubuntu Desktop==&lt;br /&gt;
&lt;br /&gt;
==Special scripts for recording==&lt;br /&gt;
&lt;br /&gt;
===Pure-Data patch===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there is a simple patch for pure data to record, mux sound and stream on icecast server.&lt;br /&gt;
You can download this patch here :&lt;br /&gt;
&lt;br /&gt;
http://community.elphel.com/files/elencode.pd&lt;br /&gt;
&lt;br /&gt;
Change the path of your need and launch this with pd name_you_choose.pd&lt;br /&gt;
&lt;br /&gt;
===Recording audio===&lt;br /&gt;
&lt;br /&gt;
To record audio there is new elphel cam with USB where you can plug USB microphone ( recommended SAMSON USB MIC ) BUT&lt;br /&gt;
she is not avaivable for this events :( so we need to find solution to record audio.&lt;br /&gt;
&lt;br /&gt;
The solution is a computer ... :(&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this we need standard computer with soundcard alsa compatible and gstreamer-0.10 software.&lt;br /&gt;
To record audio i use this scripts made by luxigo.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
 # audio settings&lt;br /&gt;
 AUDIO_DEVICE=&amp;quot;hw:0,0&amp;quot;&lt;br /&gt;
 AUDIO_BITRATE=48000&lt;br /&gt;
&lt;br /&gt;
 # output file name&lt;br /&gt;
 OUTFILE=&amp;quot;out.ogg&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 DEBUG=&amp;quot;-v -m&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 gst-launch-0.10 $DEBUG \&lt;br /&gt;
 \&lt;br /&gt;
	oggmux name=mux \&lt;br /&gt;
	! filesink location=&amp;quot;$OUTFILE&amp;quot; \&lt;br /&gt;
 \&lt;br /&gt;
	fdsrc fd=0 \&lt;br /&gt;
	! queue \&lt;br /&gt;
	! oggparse \&lt;br /&gt;
	! oggdemux \&lt;br /&gt;
	! ogmvideoparse \&lt;br /&gt;
	! mux. \&lt;br /&gt;
 \&lt;br /&gt;
	alsasrc \&lt;br /&gt;
		device=&amp;quot;$AUDIO_DEVICE&amp;quot; \&lt;br /&gt;
	! queue \&lt;br /&gt;
	! audioconvert \&lt;br /&gt;
	! vorbisenc bitrate=$AUDIO_BITRATE \&lt;br /&gt;
	! mux.&lt;br /&gt;
&lt;br /&gt;
 # Description of the gst-launch command above:&lt;br /&gt;
&lt;br /&gt;
 # - the muxed stream (the output from the oggmux element) will be&lt;br /&gt;
 #   stored in a file (filesink)&lt;br /&gt;
&lt;br /&gt;
 # - The video comes from ElphelOgm through stdin (fdsrc fd=0).&lt;br /&gt;
 # - The ogg stream is parsed for security (optional?) and demuxed.&lt;br /&gt;
 # - The ogmvideo stream is also parsed for security (optional?).&lt;br /&gt;
 # - The resulting mjpeg stream is sent to the ogg muxer through the&lt;br /&gt;
 #    &amp;quot;mux.&amp;quot; element (defined with &amp;quot;oggmux name=mux&amp;quot;). &lt;br /&gt;
 #   (This syntax could also be used for oggdemux but here there&#039;s only&lt;br /&gt;
 #   a single stream in the incoming ogg container so we dont need to&lt;br /&gt;
 #   complicate things here) &lt;br /&gt;
&lt;br /&gt;
 # - The sound comes from an alsa device through alsasrc,&lt;br /&gt;
 # - The sound is converted in a suitable format then encoded in vorbis,&lt;br /&gt;
 #   before being muxed with the video stream&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Recording video===&lt;br /&gt;
&lt;br /&gt;
We&#039;ve got different way to record video from elphel camera. The newest way to record is camogm/cam2ogm but we need nfs server or hard drive directly connected to the camera but we don&#039;t have camera with harddrive and nfs server is not what i prefer..  We can also use ElphelOgm but we are some artefact with this so i choose to use classic mencoder way to record video like this :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mencoder rtsp://ipcamera:554 -ovc copy -fps 24.99 -frames 250000 -o outputv.avi &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the option frames 250000 produce approximatively 2 hours of video on 1920x1088 format.&lt;br /&gt;
&lt;br /&gt;
===Muxing audio with video===&lt;br /&gt;
&lt;br /&gt;
===Transcoding to Theora/Vorbis===&lt;br /&gt;
&lt;br /&gt;
===Streaming===&lt;/div&gt;</summary>
		<author><name>Beug</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4317</id>
		<title>2008.RMLL.info recording</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4317"/>
		<updated>2008-06-24T23:35:18Z</updated>

		<summary type="html">&lt;p&gt;Beug: /* Recording audio */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Prefix=&lt;br /&gt;
We had some contacts with organizers of http://2008.rmll.info/?lang=en and decided to participate recording all conferences with Elphel NC353L network cameras.&lt;br /&gt;
&lt;br /&gt;
=Goals=&lt;br /&gt;
The goal is:&lt;br /&gt;
&lt;br /&gt;
* record all the conferences in high resolution. (from 640x480 to 1920x1080p)&lt;br /&gt;
* restream few conferences in real time&lt;br /&gt;
* upload ALL conferences on RMLL site and google video and as many support as possible.&lt;br /&gt;
* keep high quality 1920x1080p MJPEG sources for all conferences what will be post processed.&lt;br /&gt;
* have at least 1 camera per conference room and 2-4 camera for a very important conferences what will be post processed.&lt;br /&gt;
* do all that with exclusively FreeSoftware&lt;br /&gt;
&lt;br /&gt;
=Hardware=&lt;br /&gt;
This section will describe used hardware.&lt;br /&gt;
&lt;br /&gt;
==Cameras==&lt;br /&gt;
We will bring 14 cameras with lenses and POE injectors.&lt;br /&gt;
&lt;br /&gt;
===POE injectors===&lt;br /&gt;
We will bring POE injectors with us.&lt;br /&gt;
&lt;br /&gt;
===Lenses===&lt;br /&gt;
We will use Computar H2Z0414C-MP Varifocal Lens, 4-8mm F1.4 Manual Iris Vari-Focal C-Mount, 3MPix. We will have 10-12 of such lense + 2 5MPix fisheyes. Maybe we will have some other good quality lenses.&lt;br /&gt;
&lt;br /&gt;
==PC==&lt;br /&gt;
&lt;br /&gt;
===Requirement===&lt;br /&gt;
&lt;br /&gt;
If we do not want to stream or transcode in live a X40 IBM thinkpad or equivalent is OK.&lt;br /&gt;
&lt;br /&gt;
If we do want to mux, transcode and stream in realtime a core2duo or quadro 2.4 Ghz and with 2GB RAM minimum is more welcome.&lt;br /&gt;
&lt;br /&gt;
=Microphones=&lt;br /&gt;
&lt;br /&gt;
=Tripods=&lt;br /&gt;
&lt;br /&gt;
=Network=&lt;br /&gt;
&lt;br /&gt;
=Software=&lt;br /&gt;
&lt;br /&gt;
==FreeSoftware==&lt;br /&gt;
&lt;br /&gt;
List of freesoftware needed to record video/audio, mux and stream.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Of course standard GNU/Linux&lt;br /&gt;
&lt;br /&gt;
mencoder to record video&lt;br /&gt;
&lt;br /&gt;
gstreamer-0.10 to record audio&lt;br /&gt;
&lt;br /&gt;
ogmmerge from ogmtools to mux ogg vorbis sound produce by gstreamer and mjpeg video from mencoder&lt;br /&gt;
&lt;br /&gt;
ffmpeg2theora to encode on theora ( minimum version is 0.19 )&lt;br /&gt;
&lt;br /&gt;
oggfwd to send video and icecast server&lt;br /&gt;
&lt;br /&gt;
icecast2 for streaming the ogg/theora file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On standard ubuntu 7.10 i&#039;ve got all this software with apt-get.&lt;br /&gt;
&lt;br /&gt;
==Ubuntu Desktop==&lt;br /&gt;
&lt;br /&gt;
==Special scripts for recording==&lt;br /&gt;
&lt;br /&gt;
===Pure-Data patch===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there is a simple patch for pure data to record, mux sound and stream on icecast server.&lt;br /&gt;
You can download this patch here :&lt;br /&gt;
&lt;br /&gt;
http://community.elphel.com/files/elencode.pd&lt;br /&gt;
&lt;br /&gt;
Change the path of your need and launch this with pd name_you_choose.pd&lt;br /&gt;
&lt;br /&gt;
===Recording audio===&lt;br /&gt;
&lt;br /&gt;
To record audio there is new elphel cam with USB where you can plug USB microphone ( recommended SAMSON USB MIC ) BUT&lt;br /&gt;
she is not avaivable for this events :( so we need to find solution to record audio.&lt;br /&gt;
&lt;br /&gt;
The solution is a computer ... :(&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this we need standard computer with soundcard alsa compatible and gstreamer-0.10 software.&lt;br /&gt;
To record audio i use this scripts made by luxigo.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
 # audio settings&lt;br /&gt;
 AUDIO_DEVICE=&amp;quot;hw:0,0&amp;quot;&lt;br /&gt;
 AUDIO_BITRATE=48000&lt;br /&gt;
&lt;br /&gt;
 # output file name&lt;br /&gt;
 OUTFILE=&amp;quot;out.ogg&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 DEBUG=&amp;quot;-v -m&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 gst-launch-0.10 $DEBUG \&lt;br /&gt;
 \&lt;br /&gt;
	oggmux name=mux \&lt;br /&gt;
	! filesink location=&amp;quot;$OUTFILE&amp;quot; \&lt;br /&gt;
 \&lt;br /&gt;
	fdsrc fd=0 \&lt;br /&gt;
	! queue \&lt;br /&gt;
	! oggparse \&lt;br /&gt;
	! oggdemux \&lt;br /&gt;
	! ogmvideoparse \&lt;br /&gt;
	! mux. \&lt;br /&gt;
 \&lt;br /&gt;
	alsasrc \&lt;br /&gt;
		device=&amp;quot;$AUDIO_DEVICE&amp;quot; \&lt;br /&gt;
	! queue \&lt;br /&gt;
	! audioconvert \&lt;br /&gt;
	! vorbisenc bitrate=$AUDIO_BITRATE \&lt;br /&gt;
	! mux.&lt;br /&gt;
&lt;br /&gt;
 # Description of the gst-launch command above:&lt;br /&gt;
&lt;br /&gt;
 # - the muxed stream (the output from the oggmux element) will be&lt;br /&gt;
 #   stored in a file (filesink)&lt;br /&gt;
&lt;br /&gt;
 # - The video comes from ElphelOgm through stdin (fdsrc fd=0).&lt;br /&gt;
 # - The ogg stream is parsed for security (optional?) and demuxed.&lt;br /&gt;
 # - The ogmvideo stream is also parsed for security (optional?).&lt;br /&gt;
 # - The resulting mjpeg stream is sent to the ogg muxer through the&lt;br /&gt;
 #    &amp;quot;mux.&amp;quot; element (defined with &amp;quot;oggmux name=mux&amp;quot;). &lt;br /&gt;
 #   (This syntax could also be used for oggdemux but here there&#039;s only&lt;br /&gt;
 #   a single stream in the incoming ogg container so we dont need to&lt;br /&gt;
 #   complicate things here) &lt;br /&gt;
&lt;br /&gt;
 # - The sound comes from an alsa device through alsasrc,&lt;br /&gt;
 # - The sound is converted in a suitable format then encoded in vorbis,&lt;br /&gt;
 #   before being muxed with the video stream&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Recording video===&lt;br /&gt;
&lt;br /&gt;
===Muxing audio with video===&lt;br /&gt;
&lt;br /&gt;
===Transcoding to Theora/Vorbis===&lt;br /&gt;
&lt;br /&gt;
===Streaming===&lt;/div&gt;</summary>
		<author><name>Beug</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4316</id>
		<title>2008.RMLL.info recording</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4316"/>
		<updated>2008-06-24T23:23:40Z</updated>

		<summary type="html">&lt;p&gt;Beug: /* FreeSoftware */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Prefix=&lt;br /&gt;
We had some contacts with organizers of http://2008.rmll.info/?lang=en and decided to participate recording all conferences with Elphel NC353L network cameras.&lt;br /&gt;
&lt;br /&gt;
=Goals=&lt;br /&gt;
The goal is:&lt;br /&gt;
&lt;br /&gt;
* record all the conferences in high resolution. (from 640x480 to 1920x1080p)&lt;br /&gt;
* restream few conferences in real time&lt;br /&gt;
* upload ALL conferences on RMLL site and google video and as many support as possible.&lt;br /&gt;
* keep high quality 1920x1080p MJPEG sources for all conferences what will be post processed.&lt;br /&gt;
* have at least 1 camera per conference room and 2-4 camera for a very important conferences what will be post processed.&lt;br /&gt;
* do all that with exclusively FreeSoftware&lt;br /&gt;
&lt;br /&gt;
=Hardware=&lt;br /&gt;
This section will describe used hardware.&lt;br /&gt;
&lt;br /&gt;
==Cameras==&lt;br /&gt;
We will bring 14 cameras with lenses and POE injectors.&lt;br /&gt;
&lt;br /&gt;
===POE injectors===&lt;br /&gt;
We will bring POE injectors with us.&lt;br /&gt;
&lt;br /&gt;
===Lenses===&lt;br /&gt;
We will use Computar H2Z0414C-MP Varifocal Lens, 4-8mm F1.4 Manual Iris Vari-Focal C-Mount, 3MPix. We will have 10-12 of such lense + 2 5MPix fisheyes. Maybe we will have some other good quality lenses.&lt;br /&gt;
&lt;br /&gt;
==PC==&lt;br /&gt;
&lt;br /&gt;
===Requirement===&lt;br /&gt;
&lt;br /&gt;
If we do not want to stream or transcode in live a X40 IBM thinkpad or equivalent is OK.&lt;br /&gt;
&lt;br /&gt;
If we do want to mux, transcode and stream in realtime a core2duo or quadro 2.4 Ghz and with 2GB RAM minimum is more welcome.&lt;br /&gt;
&lt;br /&gt;
=Microphones=&lt;br /&gt;
&lt;br /&gt;
=Tripods=&lt;br /&gt;
&lt;br /&gt;
=Network=&lt;br /&gt;
&lt;br /&gt;
=Software=&lt;br /&gt;
&lt;br /&gt;
==FreeSoftware==&lt;br /&gt;
&lt;br /&gt;
List of freesoftware needed to record video/audio, mux and stream.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Of course standard GNU/Linux&lt;br /&gt;
&lt;br /&gt;
mencoder to record video&lt;br /&gt;
&lt;br /&gt;
gstreamer-0.10 to record audio&lt;br /&gt;
&lt;br /&gt;
ogmmerge from ogmtools to mux ogg vorbis sound produce by gstreamer and mjpeg video from mencoder&lt;br /&gt;
&lt;br /&gt;
ffmpeg2theora to encode on theora ( minimum version is 0.19 )&lt;br /&gt;
&lt;br /&gt;
oggfwd to send video and icecast server&lt;br /&gt;
&lt;br /&gt;
icecast2 for streaming the ogg/theora file&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
On standard ubuntu 7.10 i&#039;ve got all this software with apt-get.&lt;br /&gt;
&lt;br /&gt;
==Ubuntu Desktop==&lt;br /&gt;
&lt;br /&gt;
==Special scripts for recording==&lt;br /&gt;
&lt;br /&gt;
===Pure-Data patch===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there is a simple patch for pure data to record, mux sound and stream on icecast server.&lt;br /&gt;
You can download this patch here :&lt;br /&gt;
&lt;br /&gt;
http://community.elphel.com/files/elencode.pd&lt;br /&gt;
&lt;br /&gt;
Change the path of your need and launch this with pd name_you_choose.pd&lt;br /&gt;
&lt;br /&gt;
===Recording audio===&lt;br /&gt;
&lt;br /&gt;
===Recording video===&lt;br /&gt;
&lt;br /&gt;
===Muxing audio with video===&lt;br /&gt;
&lt;br /&gt;
===Transcoding to Theora/Vorbis===&lt;br /&gt;
&lt;br /&gt;
===Streaming===&lt;/div&gt;</summary>
		<author><name>Beug</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4315</id>
		<title>2008.RMLL.info recording</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=2008.RMLL.info_recording&amp;diff=4315"/>
		<updated>2008-06-24T23:06:42Z</updated>

		<summary type="html">&lt;p&gt;Beug: /* Pure-Data patch */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;=Prefix=&lt;br /&gt;
We had some contacts with organizers of http://2008.rmll.info/?lang=en and decided to participate recording all conferences with Elphel NC353L network cameras.&lt;br /&gt;
&lt;br /&gt;
=Goals=&lt;br /&gt;
The goal is:&lt;br /&gt;
&lt;br /&gt;
* record all the conferences in high resolution. (from 640x480 to 1920x1080p)&lt;br /&gt;
* restream few conferences in real time&lt;br /&gt;
* upload ALL conferences on RMLL site and google video and as many support as possible.&lt;br /&gt;
* keep high quality 1920x1080p MJPEG sources for all conferences what will be post processed.&lt;br /&gt;
* have at least 1 camera per conference room and 2-4 camera for a very important conferences what will be post processed.&lt;br /&gt;
* do all that with exclusively FreeSoftware&lt;br /&gt;
&lt;br /&gt;
=Hardware=&lt;br /&gt;
This section will describe used hardware.&lt;br /&gt;
&lt;br /&gt;
==Cameras==&lt;br /&gt;
We will bring 14 cameras with lenses and POE injectors.&lt;br /&gt;
&lt;br /&gt;
===POE injectors===&lt;br /&gt;
We will bring POE injectors with us.&lt;br /&gt;
&lt;br /&gt;
===Lenses===&lt;br /&gt;
We will use Computar H2Z0414C-MP Varifocal Lens, 4-8mm F1.4 Manual Iris Vari-Focal C-Mount, 3MPix. We will have 10-12 of such lense + 2 5MPix fisheyes. Maybe we will have some other good quality lenses.&lt;br /&gt;
&lt;br /&gt;
==PC==&lt;br /&gt;
&lt;br /&gt;
===Requirement===&lt;br /&gt;
&lt;br /&gt;
If we do not want to stream or transcode in live a X40 IBM thinkpad or equivalent is OK.&lt;br /&gt;
&lt;br /&gt;
If we do want to mux, transcode and stream in realtime a core2duo or quadro 2.4 Ghz and with 2GB RAM minimum is more welcome.&lt;br /&gt;
&lt;br /&gt;
=Microphones=&lt;br /&gt;
&lt;br /&gt;
=Tripods=&lt;br /&gt;
&lt;br /&gt;
=Network=&lt;br /&gt;
&lt;br /&gt;
=Software=&lt;br /&gt;
&lt;br /&gt;
==FreeSoftware==&lt;br /&gt;
&lt;br /&gt;
==Ubuntu Desktop==&lt;br /&gt;
&lt;br /&gt;
==Special scripts for recording==&lt;br /&gt;
&lt;br /&gt;
===Pure-Data patch===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here there is a simple patch for pure data to record, mux sound and stream on icecast server.&lt;br /&gt;
You can download this patch here :&lt;br /&gt;
&lt;br /&gt;
http://community.elphel.com/files/elencode.pd&lt;br /&gt;
&lt;br /&gt;
Change the path of your need and launch this with pd name_you_choose.pd&lt;br /&gt;
&lt;br /&gt;
===Recording audio===&lt;br /&gt;
&lt;br /&gt;
===Recording video===&lt;br /&gt;
&lt;br /&gt;
===Muxing audio with video===&lt;br /&gt;
&lt;br /&gt;
===Transcoding to Theora/Vorbis===&lt;br /&gt;
&lt;br /&gt;
===Streaming===&lt;/div&gt;</summary>
		<author><name>Beug</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=Linuxdevices.com_Articles_Discussion&amp;diff=1619</id>
		<title>Linuxdevices.com Articles Discussion</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=Linuxdevices.com_Articles_Discussion&amp;diff=1619"/>
		<updated>2008-03-06T22:34:09Z</updated>

		<summary type="html">&lt;p&gt;Beug: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[AJAX, LAMP, and liveDVD for a Linux-based camera, Andrey Filippov (Mar. 27, 2006)]]&lt;/div&gt;</summary>
		<author><name>Beug</name></author>
	</entry>
	<entry>
		<id>https://wiki.elphel.com/index.php?title=TODO&amp;diff=979</id>
		<title>TODO</title>
		<link rel="alternate" type="text/html" href="https://wiki.elphel.com/index.php?title=TODO&amp;diff=979"/>
		<updated>2007-09-01T19:10:04Z</updated>

		<summary type="html">&lt;p&gt;Beug: /* Ethernet LEDs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;br /&gt;
Some project ideas&lt;br /&gt;
&lt;br /&gt;
= Add support for wifi and bluetooth =&lt;br /&gt;
&lt;br /&gt;
Add support for most used USB wifi and bluetooth USB keys.&lt;br /&gt;
&lt;br /&gt;
= Bluetooth remote control =&lt;br /&gt;
&lt;br /&gt;
Add a remote control via bluetooth and wifi.&lt;br /&gt;
&lt;br /&gt;
= Make more human-readable flash.log =&lt;br /&gt;
&lt;br /&gt;
The flash.log in the nfs share more human-readable. Maybe add some more info inside.&lt;br /&gt;
&lt;br /&gt;
= PHP interface for reflashing camera(s) =&lt;br /&gt;
&lt;br /&gt;
PHP web interface to reflash one or multiple cameras with ktest (show camera status), control options, browse log files. It would be useful to add memory, FPGA and other hardware and show results -- i.e. get JPEG image and check if the image is &amp;quot;normal&amp;quot;. The interface should allow to configure all ktest parameters (and probably much more) individually per camera.&lt;br /&gt;
&lt;br /&gt;
For production flashing include PoE switch control to reboot the camera.&lt;br /&gt;
&lt;br /&gt;
= The streamer =&lt;br /&gt;
&lt;br /&gt;
== Audio ==&lt;br /&gt;
&lt;br /&gt;
Implement audio from alsa source synced with video.&lt;br /&gt;
&lt;br /&gt;
== Subtitles ==&lt;br /&gt;
&lt;br /&gt;
Implement subtitles what might be optionally read by the client. Subtitles should be able to handle info from EXIF and any user defined data.&lt;br /&gt;
&lt;br /&gt;
== Write to disk ==&lt;br /&gt;
&lt;br /&gt;
Implement an option to stream to the network and/or to the hard drive / CF.&lt;br /&gt;
&lt;br /&gt;
= Exif =&lt;br /&gt;
&lt;br /&gt;
Add fields for geo-location (GPS), orientation of the camera and some user defined data. The camera model should also include sensor type and model.&lt;br /&gt;
&lt;br /&gt;
= Make a block diagram of the boot process =&lt;br /&gt;
&lt;br /&gt;
It is needed for new devs and to be able to have an overview of the process and be able to enhance it.&lt;br /&gt;
&lt;br /&gt;
= Better usage of busybox =&lt;br /&gt;
&lt;br /&gt;
Enable cool and useful staff from busybox such as passwd, cfdisk, minicom, ...&lt;br /&gt;
(Please post a list to this section for discussion before doing what)&lt;br /&gt;
&lt;br /&gt;
= Hardware Test Software =&lt;br /&gt;
&lt;br /&gt;
Hmm... will be described later.&lt;br /&gt;
&lt;br /&gt;
= Do some magic to be able to pass params to the kernel over reboot =&lt;br /&gt;
&lt;br /&gt;
Implement (or just improve - something is already done) passing parameters to the next booted kernel. This can be done in different ways:&lt;br /&gt;
&lt;br /&gt;
* passing kernel params truth RAM&lt;br /&gt;
* using KEXEC kernel function&lt;br /&gt;
* simulate the green button pressure at boot time (to boot in flashing mode)&lt;br /&gt;
* destroy signature magic after usage - even powered down SDRAM can hold data for many seconds&lt;br /&gt;
&lt;br /&gt;
= Green button =&lt;br /&gt;
&lt;br /&gt;
The green button on the back of the camera can be used in different ways:&lt;br /&gt;
&lt;br /&gt;
* at power up to put the CPU in flashing mode&lt;br /&gt;
* 1-2 seconds after power up and hold for ~8 seconds to boot the camera with squashfs and tmpfs instead of jffs. When a special script can be used to relink safe files from sqauashfs to jffs. (cf [http://wiki.elphel.com/index.php?title=TODO&amp;amp;action=submit#Change_the_structure_of_the_boot_process]) &lt;br /&gt;
* something else user configurable after init 5&lt;br /&gt;
&lt;br /&gt;
= Init levels =&lt;br /&gt;
&lt;br /&gt;
Implement init levels, init 3 should have only GNU/Linux with telnetd, everything camera specific should run from init 5. The default level will be 5, but ktest should be able to pass init=3 to the kernel.&lt;br /&gt;
&lt;br /&gt;
= Ktest =&lt;br /&gt;
&lt;br /&gt;
== Rename ktest ==&lt;br /&gt;
Ktest should be renamed to something else resuming it&#039;s function.&lt;br /&gt;
&lt;br /&gt;
== Better output ==&lt;br /&gt;
Some more output should be added to ktest to make it more verbose and user-friendly.&lt;br /&gt;
&lt;br /&gt;
== New function ==&lt;br /&gt;
Add new function and param to read &amp;amp; copy partitions from the flash to NFS for debuging.&lt;br /&gt;
&lt;br /&gt;
= Ethernet LEDs =&lt;br /&gt;
&lt;br /&gt;
Hack in to the ethernet driver to make a better usage of leds. For example during flash with pressed button boot with orange led ON, blink orange while booting the kernel, blink with the green led while copying from NFS to flash and green ON when completely flashed and ready to be rebooted. While normal operation leds can be used in a more nice way when now.&lt;br /&gt;
&lt;br /&gt;
= Idea:Change the structure of the boot process =&lt;br /&gt;
&lt;br /&gt;
I like how partitions are organized in OpenWRT. The root partition should be read only squashfs. The same root partition should be used to boot from flash or from ktest. Then a read/write flash or tmpfs partition can be mounted, squashfs remounted to a new directory. And files from / linked to the /squashfs directory.&lt;br /&gt;
&lt;br /&gt;
During the flash process files from squashfs will be symlinked to the tmpfs and to the flash r/w partition.&lt;br /&gt;
&lt;br /&gt;
Like what we always have a clean squashfs, links from the r/w jffs partition can be removed and replaced by real files with different content. We can also implement a function for the green button to erase the files from the r/w partition and relink them to /squashfs. It&#039;s a simple way to get back to a known point without reflashing the camera.&lt;br /&gt;
&lt;br /&gt;
= Genres =&lt;br /&gt;
&lt;br /&gt;
Enhance Genres plugin to get rid of multiple languages and dependences and rewrite all using only one programming language. Make it more stable.&lt;br /&gt;
&lt;br /&gt;
= camvc =&lt;br /&gt;
&lt;br /&gt;
Repair broken/buggy AJAX code, port CGIs to PHP and move to lighthttpd instead of boa. (keep them both at least at the beginning to compare te speed and stability)&lt;br /&gt;
&lt;br /&gt;
= Security =&lt;br /&gt;
&lt;br /&gt;
== Lighthttpd ==&lt;br /&gt;
&lt;br /&gt;
Add https to lighthttpd and add .htaccess protected directories.&lt;br /&gt;
&lt;br /&gt;
== Add SSH ==&lt;br /&gt;
&lt;br /&gt;
== Separate user privileges ==&lt;br /&gt;
&lt;br /&gt;
Add passwd command, implement users and groups with separated privileges. Make groups for FPGA and other hardware (as HD) access and make Lighthttpd/PHP run as user.&lt;br /&gt;
&lt;br /&gt;
== Netfilter firewall ==&lt;br /&gt;
&lt;br /&gt;
Port the latest netfilter to be able to setup a firewall on the camera.&lt;/div&gt;</summary>
		<author><name>Beug</name></author>
	</entry>
</feed>