Differences between revisions 1 and 28 (spanning 27 versions)
Revision 1 as of 2005-07-09 14:22:20
Size: 1438
Editor: anonymous
Comment:
Revision 28 as of 2005-11-11 15:47:52
Size: 3399
Editor: kysucix
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= FREEJ STREAMING =
Now with [http://freej.org freej] you can stream video on internet!
#acl kysucix:read,write,admin,delete,revert All:read,write
= 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] )
Line 8: Line 11:
it's compatible with every theora player:
 * mplayer
 * xine
 * vlc (on macosx, window$)
 * cortado java applet
 * every window$ player installing this [http://www.illiminable.com/ogg/oggcodecs_0.69.8924.exe theora codec for windows]
it's compatible with every [http://wiki.v2v.cc/cgi-bin/trac.cgi/wiki/OggTheoraPlayer oggtheora player]:
 * [http://www.mplayerhq.hu mplayer]
 * [http://xinehq.de/ xine]
 * [http://www.videolan.org/ vlc] (on macosx, window$)
 * [http://www.scvi.net/cortado.htm cortado] java applet
 * every [http://sam.zoy.org/photos/20001128%20-%20piaule%20de%20Sam/003%20-%20marteau%20Windows%202000.jpeg window$] player installing this [http://www.illiminable.com/ogg/oggcodecs_0.69.8924.exe theora codec for windows]
Line 16: Line 19:
If you want to stream just download this package http://dyne.org/~kysucix/tmp/freej-0.7.2-rc2.tar.bz2 and
compile it with
If you want to stream just [http://freej.dyne.org/?info=download download the latest version of FreeJ] and install it:
Line 19: Line 21:
compile it from source with
Line 20: Line 23:
./autogen.sh && make ./configure && make
Line 22: Line 25:
(use ./autogen.sh --enable-sdl_image && make if you have sdl_image library and want to load also jpg images)
Line 24: Line 26:
Line 29: Line 30:
or install one of the binary packages provided.
Line 32: Line 35:
freej -s <resolution> -q <theora_quality>-a -i http://server:port/mountpoint.ogg -p password <file_to_load> freej -s <resolution> -T <theora_quality> -V <vorbis_quality> -i http://server:port/mountpoint.ogg -p password <file_to_load>
Line 36: Line 39:
freej -s 240x180 -q 10 -a -i http://dyne.org:8000/freej.ogg -p hackme /dev/video0 stallman.avi mask.png subtitle.txt freej -s 240x192 -T 7 -V 3 -i http://dyne.org:8000/freej.ogg -p hackme /dev/video0 stallman.avi mask.png subtitle.txt
Line 38: Line 41:

And then press CTRL-w to stream. By default freej will record also on hardisk what you stream.
Line 41: Line 46:
And then press CTRL-s with the focus on freej window to stream. By default freej will record also on hardirs what you stream. It's variable bitrate streaming, with 7 theora quality and low resolution you'll achieve a < 30Kbps video streaming.
Line 43: Line 48:
If you want to stream only video remove -a option. If you want to stream only video add -a option.
Line 45: Line 50:
For any problems write to freej a dyne.org or directly to kysucix a dyne.org
== How to include into 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>
}}}

or like that
{{{
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>test</title>
</head>
<body style="top:0px;left:0px;margin:0px;padding:0px;background-color:#000000;">
<table width="100%" height="100%">
<tr>
<td align="center">
<embed src="http://localhost/freej.ogg" type="video/ogg" controller="true" autoplay="true" height="256" width="320"></embed>
</td>
</tr>
</table>
</body>
</html>
}}}

== 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
Line 49: Line 93:
kysucix ps. This is a [http://en.wikipedia.org/wiki/Wiki wiki]! feel free to edit it!

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

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 [http://freej.dyne.org/?info=download download the latest version of FreeJ] and install it:

compile it from source with

./configure && make

install it with:

make install

or install one of the binary packages provided.

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 into 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>

or like that

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>test</title>
</head>
<body style="top:0px;left:0px;margin:0px;padding:0px;background-color:#000000;">
<table width="100%" height="100%">
<tr>
<td align="center">
<embed src="http://localhost/freej.ogg" type="video/ogg" controller="true" autoplay="true" height="256" width="320"></embed>
</td>
</tr>
</table>
</body>
</html>

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)