XOtv
From Olpcaustria
|
![]() |
XOradio and XOtv projects One Laptop, One Journalist. Create your radio or your TV and share it with XO community. |
Idea
Here we want to start a new project about free media made by children using free software from the OLPC laptop.
News/Changelog
LATEST News:
- 5 February 08: new logo for XOtv and XOradio created.
- 4 February 08 - As video streaming is still not stable enough, we started XOradio, for audio streamings from the XO. Currently we are workint un the PyGTK interface, but you can text the idea from command line:
gst-launch alsasrc ! audio/x-raw-int,rate=22050,channels=1,depth=16 ! queue ! audioconvert ! vorbisenc ! oggmux ! fdsink \ ./oggfwd giss.tv 8000 [PASSWORD] /MOUNTPOINT.ogg
27/10/17: Jaume and Aaron got a prototype activity working in qemu. Stay tuned...
The streaming works quite well in the new B4! Here is The line I'm using:
gst-launch-0.10 v4l2src ! queue ! videorate ! video/x-raw-yuv,framerate=15/1 ! videoscale ! video/x-raw-yuv,width=240,height=180 ! ffmpegcolorspace ! \ theoraenc quality=8 ! queue ! oggmux name=mux alsasrc ! audio/x-raw-int,rate=22050,channels=1,depth=16 ! queue ! \ audioconvert ! vorbisenc ! queue ! mux. mux. ! fdsink | \ ./home/olpc/xotv/oggfwd giss.tv 8000 [password] /j.ogg
- 21 August 07 - (Stream from a B4) First audio video stream with the new B4 to an iccast server, using gstreamer and oggwfd
- 28 July 07 - (Stream from a file) First tests working! Using qemu and the 445 image. I streamed a video file using oggfwd.
- 10 july 07 - (Stream from a file) Planning and presenting the idea to the OLPC group (pre-community) to encourage people to join this idea.
Involved
Description
TV is not anymore something that only big media holdings can do. The idea is to supply an easy way to broadcast contents (audio and video) from a OLPC laptop and then put all the available channels together in a OLPC global channel.
OLPC laptop has a camera and a microphone
About video/audio stream
The OLPC laptop has a camera and it seems to be not too difficult to port some C applications to the laptop and start experimenting with them.
For video and audio streaming the problem used to be the servers, because the bandwidth (that limits the number of people reaching the broadcast) used to be expensive. I (jaume) come from a community called giss.tv that solves this problem. Giss.tv is a growing network of servers that share their bandwidth. Most of the servers are located at art centers or universities that collaborate with the giss project.
OLPC Technical specifications for streaming
- Audio: Analog Devices AD1888, AC97-compatible audio codec; stereo, with dual internal speakers; monophonic, with internal microphone and using the Analog Devices SSM2211 for audio amplification
- Video camera: 640x480 resolution, 30FPS, Omnivision OV7670. The camera and device driver support disabling AGC and automatic color balancing, to enable its use as a photometric sensor for educational applications.
- output format: YUV RGB Raw RGB Data
- Some camera activities: [1]
- docs on Programming the XO camera
Goals
educational
In educational terms, this project is about free speech and about a new relationship with media in the after-TV & networks age. OLPC sharing live videos could be:
- games sharing
- lectures sharing
- howtos sharing
- p2p online help
- ...
Technical
Broadcaster side (OLPCs)
Make possible an easy way to connect and stream and audio or video flow to a networks of servers from the OLPC machine.
- As a first step we will try to use the applications ffmpeg2theora and oggfwd tools, developed by Jan Gerber. We need to know more about the CPU needs of ffmpeg2theora for live encoding to OGG.
- Then we have to write a PyGTK front-ent for the application to be included in| Sugar desktop
Servers side
- Create a cluster of emissions audio and video from OLPC laptops over the world. Using a network of icecast servers. Those servers can share their bandwidth using the model applyed in GISS.tv community. GISS.tv is a free and open community created in 2003. The servers of GISS community are in Art Centers and Universities, and the network has no any lucrative interests.
- From the GISS community there is a group of scripts and web applications that we can reuse and adapt to this project (see here)
Developement
About oggfwd
Package: oggfwd State: installed Automatically installed: no Version: 0.2-2 Priority: opcional Section: universe/sound Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com> Uncompressed Size: 65,5k Depends: libc6 (>= 2.5-0ubuntu1), libogg0 (>= 1.1.3), libshout3, libspeex1, libtheora0, libvorbis0a (>= 1.1.2) Suggests: icecast2 Description: a basic icecast source client for audio and video streaming oggfwd is a simple source client to forward an ogg file to an Icecast 2 streaming server. It forwards audio or video ogg files read from stdin. Homepage: http://v2v.cc/~j/oggfwd/
This package is distributed as sorce files or binary.
About ffmpeg2theora
Package: ffmpeg2theora
State: installed
Automatically installed: no
Version: 0.16-2build1
Priority: opcional
Section: universe/graphics
Maintainer: RISKO Gergely <risko@debian.org>
Uncompressed Size: 98,3k
Depends: libavcodec0d, libavformat0d, libc6 (>= 2.4-1), libdc1394-13, libgsm1 (>= 1.0.10), libogg0 (>= 1.1.3), libraw1394-8,
libtheora0, libvorbis0a (>= 1.1.2), libvorbisenc2 (>= 1.1.2), zlib1g (>= 1:1.2.1)
Description: Theora video encoder using ffmpeg
This package provides a command-line tool to encode/recode various video formats (basically everything that ffmpeg can read)
into Theora, the free video codec.
This package is distributed as sorce files or binary.



