⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fenice-howto.html

📁 linuxUNIX下跑的一套服务端程序
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<html><head>    <meta name="generator" content=    "HTML Tidy for Linux/x86 (vers 1st December 2004), see www.w3.org">    <title>Fenice HOWTO</title>    <base href="http://streaming.polito.it/"><style type="text/css">@import url(misc/print.css);</style></head><body>    <h1 id="31" name="31" class="book-h1">Fenice HOWTO</h1>    <p>In this document we want to explain how to use the main    features of Fenice, the Open Media Streaming server.</p>    <p><strong>Giampaolo Mancini</strong> &lt;<a href=    "mailo:giampaolo.mancini_at_polito.it">giampaolo.mancini_at_polito.it</a>&gt;<br>    <strong>Davide Quaglia</strong> &lt;<a href=    "mailo:davide.quaglia_at_polito.it">davide.quaglia_at_polito.it</a>&gt;<br>    <strong>Federico Ridolfo</strong> &lt;<a href=    "mailo:federico.ridolfo_at_polito.it">federico.ridolfo_at_polito.it</a>&gt;<br>    <strong>Francesco Varano</strong> &lt;<a href=    "mailo:francesco.varano_at_polito.it">francesco.varano_at_polito.it</a>&gt;</p>    <p><big><strong>This document is a work-in-progress. Please    check this pages often.</strong></big></p>    <h1 id="34" name="34" class="book-h1">1. Introduction</h1>    <div style="margin-left: 2em">        <p>This document was written to assist the reader in        setting up and configuring Fenice, the Open Media Streaming        Server.</p>    </div>    <h1 id="41" name="41" class="book-h2">1.1. Copyright    information</h1>    <div style="margin-left: 2em">        <p>Copyright 2005 - Some Righs Reserved - Giampaolo        Mancini, Francesco Varano, Federico Ridolfo, Davide        Quaglia</p>        <p>Creative Commons Attribution-ShareAlike 2.0 Italy</p>        <p>You are free:</p>        <ul>            <li>to copy, distribute, display, and perform the            work</li>            <li>to make derivative works</li>            <li>to make commercial use of the work</li>        </ul>        <p>Under the following conditions:<br></p>        <dl>            <dt><strong>BY</strong><br></dt>            <dd>Attribution. You must give the original author            credit.<br></dd>            <dt><strong>SA</strong><br></dt>            <dd>Share Alike. If you alter, transform, or build upon            this work, you may distribute the resulting work only            under a license identical to this one.<br></dd>        </dl>        <ul>            <li>For any reuse or distribution, you must make clear            to others the license terms of this work.</li>            <li>Any of these conditions can be waived if you get            permission from the copyright holder.</li>        </ul>        <p>Your fair use and other rights are in no way affected by        the above.</p>        <p>This is a human-readable summary of the <a href=        "http://creativecommons.org/licenses/by-sa/2.0/it/legalcode">        Legal Code (the full license)</a>.</p>        <p><a href=        "http://creativecommons.org/licenses/disclaimer-popup?lang=en">        Disclaimer</a></p>        <p><!-- Creative Commons License --><br>        <a rel="license" href=        "http://creativecommons.org/licenses/by-sa/2.0/it/"><img alt="Creative Commons License"        border="0" src=        "http://creativecommons.org/images/public/somerights20.gif"></a><br>        This work is licensed under a <a rel="license" href=        "http://creativecommons.org/licenses/by-sa/2.0/it/">Creative        Commons License</a>.<br>        <!-- /Creative Commons License --></p>    </div>    <h1 id="42" name="42" class="book-h2">1.2. Disclaimer</h1>    <div style="margin-left: 2em">        <p>No liability for the contents of this document can be        accepted. Use the concepts, examples and other content        entirely at your own risk. As this is a new edition, there        may be technical or other inaccuracies that may result in        the loss of irreplaceable data. In any case, proceed with        caution, and realize that although errors are highly        unlikely, the author can accept no responsibility for        them.</p>        <p>All copyrights are held by their respective owners,        unless specifically noted otherwise. Use of a term in this        document should not be regarded as affecting the validity        of any trademark or service mark.</p>        <p>Naming of particular products or brands should not be        seen as endorsements.</p>    </div>    <h1 id="43" name="43" class="book-h2">1.3. New versions</h1>    <div style="margin-left: 2em">        <p>The latest version number of this document can be found        <a href=        "https://killgates.polito.it/streaming/node/31">here</a>.</p>    </div>    <h1 id="44" name="44" class="book-h2">1.4. Credits</h1>    <div style="margin-left: 2em">        <br>    </div>    <h1 id="45" name="45" class="book-h2">1.5. Feedback</h1>    <div style="margin-left: 2em">        <p>Please send any additions or comments pertaining to this        document to one of the following email addresses:</p>        <p><strong>Giampaolo Mancini</strong> &lt;<a href=        "mailo:giampaolo.mancini_at_polito.it">giampaolo.mancini_at_polito.it</a>&gt;<br>        <strong>Federico Ridolfo</strong> &lt;<a href=        "mailo:federico.ridolfo_at_polito.it">federico.ridolfo_at_polito.it</a>&gt;<br>        <strong>Francesco Varano</strong> &lt;<a href=        "mailo:francesco.varano_at_polito.it">francesco.varano_at_polito.it</a>&gt;</p>    </div>    <h1 id="46" name="46" class="book-h2">1.6 Conventions used in    this document</h1>    <div style="margin-left: 2em">        <p>The following conventions are used in this document and        are outlined here for those who may not yet have a complete        understanding of how to access and control the underlying        operating system in Linux, which is usually via the Bash        shell.</p>        <p>First, filenames are referenced in a paragraph like so:        <tt>/path/file</tt></p>        <p>Commands in Linux are executed (or 'called') at the        command prompt, otherwise known as the 'command line.' If        you are in the non-graphical (text-based) environment, you        will usually be presented with the Bash shell prompt which        is a dollar sign:<br></p>        <div class="codeblock">            <code>$</code>        </div><br>        ... or the hash mark:<br>        <div class="codeblock">            <code>#</code>        </div><br>        ... if you have logged in as root or have otherwise        acquired root, or 'superuser' privileges. You can also        access the Bash shell in the X window system, otherwise        known as X or X11, with an xterm or similar        X-terminal-emulator. Commands to be performed at the Bash        prompt, but referenced in a paragraph of this document,        usually look like this: do this now        <p>Commands and/or the resulting output of commands may        also be outlined with screen output in their own paragraph        or heading:<br></p>        <div class="codeblock">            <code>$ date<br>            Sun Jul 27 22:37:11 CDT 2003</code>        </div><br>        When a command is written in front of the Bash prompt        (e.g., <code>$ date</code> above), it is assumed the        <tt>[Return]</tt> or <tt>[Enter]</tt> key has been pressed        after the command, possibly followed by the output on a new        line (e.g., as in the date in the above example).    </div>    <h1 id="32" name="32" class="book-h1">2. Installation</h1>    <div style="margin-left: 2em">        <p><strong>Installing from source code</strong></p>        <p>To install Fenice from source code you need to get the        last stable release from:<br>        <a href=        "http://streaming.polito.it/node/9">http://streaming.polito.it/node/9</a></p>        <p>Unpack the tarball:<br></p>        <div class="codeblock">            <code>$ tar xvfz fenice-x.x.tar.gz</code>        </div><br>        where x.x is the current stable version.        <p>Switch to the source directory:<br></p>        <div class="codeblock">            <code>$ cd fenice-x.x</code>        </div><br>        Now you are ready to compile: type        <div class="codeblock">            <code>$ ./configure &amp;&amp; make<br>            $ su -</code>        </div><br>        after you entered to password for <tt>root</tt> user, type        <div class="codeblock">            <code># make install</code>        </div><br>        The installation directory of executable is (by default)        <tt>/usr/local/bin</tt>, while default path to media        streams is <tt>/var/fenice/avroot</tt>.        <p>If you don't like default configuration file        <tt>/etc/fenice.conf</tt>, try your own configuration        creating a config-file like this:</p>        <div class="codeblock">            <code>#-----------------------------------------------------------<br>            # Define root dir where media are stored<br>            root=/path_to/media<br>            # Define RTSP port where Fenice listens for new            connections<br>            port=8554<br>            # Define max session (calculate it according to your            bandwith)<br>            max_session=10<br>            #-----------------------------------------------------------</code>        </div><br>        where <tt>root</tt> is the path to the multimedia streams        directory and <tt>port</tt> is the <em>TCP</em> port for        <em>RTSP</em> <em>incoming</em> connections        <p>Now you are ready to run Fenice:<br></p>        <div class="codeblock">            <code>$ fenice --config-file            /path/to/fenice.conf</code>        </div><br>        Please, be sure that the firewall in your network is not        blocking incoming connections on RTSP port and incoming UDP        (for RTCP Receiver Reports) packets.    </div>    <h1 id="35" name="35" class="book-h1">3. How to create

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -