How can I encode videos to Theora?
Have a look at ogg-theora-microhowto and transcode quicktime mov files to Theora files under Linux. You can use libogg, to wrap theora video with vorbis audio in Ogg file. A user-friendly way to convert .dv and .avi format video into Ogg Theora format is with ffmpeg2theora. It can be found at: http://www.v2v.cc/~j/ffmpeg2theora/ A way to both stream and encode theora format video is with videolan (VLC). Example for streaming the video4linux device in ogg theora/vorbis: vlc v4l:/dev/video:input=3:norm=pal:size=384×288 –sout \ ‘#transcode{vcodec=theora,vb=300,acodec=vorb,ab=96}:std{access=http,mux=ogg,url=server.example.org:8000}’ Or, replace “v4l:/dev/video:input=3:norm=pal:size=384×288” with a filename if you want to transcode. For more on the vlc syntax, see: http://videolan.org/doc/videolan-howto/en/ch09.