Code Monkey home page Code Monkey logo

ffserver's Introduction

standalone ffserver source code

This project contains separated ffserver code which is used for RTSP server only.

To compile code run:

./buildFFServer.sh

Above command will generate a.out file.

To run RTSP server, put /etc/ffserver.conf, and it's content would be as below:

cat /etc/ffserver.conf RTSPPort 8554 <--------- Can be modified <------ session name Format rtp File big_buck_bunny.mp4 <------ This file will be streamed, put this file in current directory

Now run below command, to start RTSP server:

./a.out

Now you can start client using this url: rtsp://127.0.0.1:8554/test.h264

for example:

ffplay rtsp://127.0.0.1:8554/test.h264

which plays mp4 file.

ffserver's People

Contributors

harshil1991 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ffserver's Issues

License and copyright

The content of ffserver.c looks similar to the last version of ffserver.c in FFmpeg but you removed the copyright header and you changed the license, please undo this.

Build Instructions Fails To Build

jlpoole@taurus /usr/local/src $ git clone https://github.com/harshil1991/ffserver.git
Cloning into 'ffserver'...
remote: Enumerating objects: 48, done.
remote: Total 48 (delta 0), reused 0 (delta 0), pack-reused 48
Receiving objects: 100% (48/48), 6.45 MiB | 6.27 MiB/s, done.
Resolving deltas: 100% (20/20), done.
jlpoole@taurus /usr/local/src $ cd ffserver/
jlpoole@taurus /usr/local/src/ffserver $ ls
README.md buildFFServer.sh ffserver ffserver.c ffserver.conf ffserver.h
jlpoole@taurus /usr/local/src/ffserver $ ./buildFFServer.sh
In file included from ffserver.c:20:
ffserver.h:35:10: fatal error: libavformat/url.h: No such file or directory
#include <libavformat/url.h>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
Done
jlpoole@taurus /usr/local/src/ffserver $

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.