Differences between revisions 23 and 24
Revision 23 as of 2005-10-11 13:30:44
Size: 2885
Editor: anonymous
Comment:
Revision 24 as of 2005-10-11 13:32:30
Size: 2888
Editor: anonymous
Comment:
Deletions are marked like this. Additions are marked like this.
Line 54: Line 54:
== How to include in a WebSie ? == == How to include in a WebSite ? ==
Line 59: Line 59:
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"> CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,
4,7,1112">

STREAMING VIDEO WITH FREEJ

Now with [http://freej.org freej] you can stream video on internet to an [http://icecast.org icecast] server ! You just need icecast >2.2. (download it [http://www.icecast.org/download.php here] )

call it iptv, webtv, video streaming... you can send easily audio and video trought internet.

it's compatible with every [http://wiki.v2v.cc/cgi-bin/trac.cgi/wiki/OggTheoraPlayer oggtheora player]:

INSTALLING

If you want to stream just download latest version here ftp://ftp.dyne.org/freej/releases/freej-0.8.tar.gz or latest svn code with:

svn co svn://code.dyne.org/rastasoft/freej

and compile it with

./autogen.sh && make

install it with:

make install

USAGE

The command line to stream is:

freej -s <resolution> -T <theora_quality> -V <vorbis_quality> -i http://server:port/mountpoint.ogg -p password <file_to_load>

e.g.

freej -s 240x192 -T 7 -V 3 -i http://dyne.org:8000/freej.ogg -p hackme /dev/video0 stallman.avi mask.png subtitle.txt

And then press CTRL-w to stream. By default freej will record also on hardisk what you stream.

default quality is 16, but for low bandwidth I suggest to use a quality from 6 to 9.

It's variable bitrate streaming, with 7 theora quality and low resolution you'll achieve a < 30Kbps video streaming.

If you want to stream only video add -a option.

How to include in a WebSite ?

For example like that

<object ID="MediaPlayer" WIDTH="240" HEIGHT="197" CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,
4,7,1112">
<param name="autoStart" value="True">
<param name="filename" value="http://localhost/freej.ogg">
<param NAME="ShowControls" VALUE="True">
<param NAME="ShowStatusBar" VALUE="True">
<embed TYPE="application/x-mplayer2" SRC="http://localhost/freej.ogg" NAME="MediaPlayer"
WIDTH="240" HEIGHT="197" autostart="1" showcontrols="1">
</embed>
</object>

contacts

For any problems write to freej a dyne.org or directly to kysucix a dyne.org or joing #freej or #dyne on freenode irc network

Ciao :)

ps. This is a [http://en.wikipedia.org/wiki/Wiki wiki]! feel free to edit it!

[http://dyne.org/~kysucix/ kysucix]

FreejStreaming (last edited 2012-06-26 07:17:13 by 0v0x)