• Stars
    star
    412
  • Rank 105,024 (Top 3 %)
  • Language
    Perl
  • Created over 14 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Lightweight RTSP/RTP streaming media server

RTSP-Server

This module is designed to accept a number of sources to connect and transmit audio and video streams. Clients can connect and send RTSP commands to receive RTP data.

This was designed to make rebroadcasting audio and video data over a network simple.

INSTALLATION

To install this module type the following:

   perl Makefile.PL
   make
   make test
   make install

LINUX

To install debian jessie dependences:

   sudo apt-get install libmoose-perl liburi-perl libmoosex-getopt-perl libsocket6-perl libanyevent-perl
   sudo cpan AnyEvent::MPRPC::Client

Clone from git
   git clone https://github.com/revmischa/rtsp-server

Then make, test and install
   perl Makefile.PL
   make
   make test
   make install

MAC OS X

cpanm Moose
cpanm Socket6
cpanm MooseX::Getopt
cpanm URI
cpanm AnyEvent

sudo cpan AnyEvent::MPRPC::Client

Clone from git
   git clone https://github.com/revmischa/rtsp-server

Then make, test and install
   perl Makefile.PL
   make
   make test
   make install

Use ffmpeg to stream your local camera

You can view available cameras with: ffmpeg -f avfoundation -list_devices true -i ""

If you are using a Macbook Pro, then use the below commands:

brew install ffmpeg jack

ffmpeg -re -f avfoundation -video_size 320x240 -framerate 30 -pixel_format bgr0
-i "FaceTime HD Camera" -f rtsp -muxdelay 0.1 rtsp://127.0.0.1:5545/a_video_stream

RUNNING

Simply fire up the included rtsp-server.pl application and it will listen for clients on port 554 (standard RTSP port), and source streams on port 5545.

To begin sending video, you can use any client which supports the ANNOUNCE and RECORD RTSP methods, such as FFmpeg:

ffmpeg -re -i /input.avi -f rtsp -muxdelay 0.1 rtsp://12.34.56.78:5545/abc

You should then be able to play that stream with any decent media player. Just point it at rtsp://12.34.56.78/abc

If you don't want to run it as root, you may specify non-priviliged ports with --clientport/-c and --sourceport/-s

DEPENDENCIES

This module requires these other modules and libraries:

Moose, AnyEvent::Socket, AnyEvent::Handle

COPYRIGHT AND LICENCE

ABRMS

Maintainership

Want to take over maintaining this project? Feel free.

More Repositories

1

cloudcam

IP camera surveillance management system using AWS IoT with support for Axis cameras.
Python
73
star
2

udo

Project: Unemployed DevOps - AWS orchestration tools centered around AutoScaling groups.
Python
62
star
3

crypto-trader

Automating crypto trading with python in a jupyter notebook
Jupyter Notebook
35
star
4

learn-software-engineering

A collection of resources for people interested in learning more about programming
Assembly
29
star
5

leapmidi

Gesture-based MIDI controller using Leap Motion
C++
21
star
6

leapmidix

Virtual MIDI controller source using Leap Motion hardware for Mac OS X
C
17
star
7

pgnotify-demos

Small demonstrations of the usefulness and power of PostgreSQL asynchronous message queueing (LISTEN/NOTIFY)
C
12
star
8

qanda

Ask a question. Answer a question.
Python
12
star
9

foaas-slack

Fuck Off As A Service - Slack outgoing webhook interface to FOaaS (http://www.foaas.com/)
Python
11
star
10

sublime-awslambda

Sublime Text 3 plugin for editing AWS Lambda function sources easily
Python
11
star
11

av-streamer

Perl bindings for libav/ffmpeg
Perl
10
star
12

cursed-webring

Webring of cursed sites
TypeScript
7
star
13

puppet-psgi

Puppet module for deploying PSGI applications with nginx and Starman
Puppet
7
star
14

rtsp-proxy

Perl RTSP/RTP proxy
Perl
7
star
15

dancar

DanH summoning service
JavaScript
6
star
16

grids

Extensible network-based application framework
C
5
star
17

socketio_pg

WebSocket server using PostgreSQL, Flask, Eventlet, socket.io
Python
5
star
18

e-id

Useful commands for e-ID smartcards such as an Estonian e-Resident ID card
5
star
19

HackTel

Open Hackerspace Telephone Exchange
4
star
20

slspy

AWS Lambda Python 3.7 Serverless Starter Kit
Python
4
star
21

openai-stream-mini

OpenAI client with no dependencies that supports streaming responses
TypeScript
4
star
22

leapmouse

Control your computer's cursor by pointing at the screen
C++
4
star
23

flask-serverless

Flask extension to integrate nicely with AWS Lambda and API Gateway
Python
3
star
24

TI83p

Assorted useless hacks for the TI-83+ and TI-84+ graphing calculators
Assembly
3
star
25

web-hippie-pubsub

AnyMQ/Web::Hippie pubsub comet server
Perl
3
star
26

slack-urbandictionary

Look up urbandictionary definitions of words in Slack
Python
3
star
27

anymq-zeromq

ZeroMQ trait for AnyMQ
Perl
3
star
28

Impersonator

IRC bot for impersonating chatters
Perl
3
star
29

moosex-storage-dbic

Serialization for DBIx::Class rows with MooseX::Storage
Perl
3
star
30

gdpr_check

Python module to check if an IP address is covered by GDPR
Python
3
star
31

rtsp-client

Perl client library for speaking to an RTSP server
Perl
2
star
32

test-bot

Continuous integration bot for perl
Perl
2
star
33

asteryst

Asterisk FastAGI application framework. Supports speech API and method dispatch based on FastAGI requests.
Perl
2
star
34

moosex-callbacks

Moose role to add callbacks to instances of a class
Perl
2
star
35

anyevent-pg

Fork of AnyEvent::Pg event-driven module for the PostgreSQL client library
Perl
2
star
36

psycopg2-lambda-layer

AWS Lambda layer for psycopg2
Shell
2
star
37

algorithm-ngram

Perl module for analyzing and generating generating n-grams
2
star
38

serverless_talk

Slides from talk about serverless application architecture and AWS
2
star
39

net-sms-cdyne

Perl API client for CDYNE SMS REST API
Perl
2
star
40

Crypt-OTR

Perl bindings for libotr, the off-the-record encryption library
C
2
star
41

AIM-Login-Crack-Library

Library for doing a dictionary attack against an OSCAR chal/response sequence
C
2
star
42

AIM-Insulter

AIM bot designed to insult a large number of users
Perl
2
star
43

tri

Simple PySDL2 triangle drawer
Python
2
star
44

ice3

Internet radio station-in-a-box. Includes a script that auto-plays audio files from S3 bucket and streams audio to an icecast2 server. All containerized.
XSLT
2
star
45

camrelay

Tiny application to relay a mjpeg stream from an axis IP camera
Perl
2
star
46

hippiechat

Simple jQuery-based UI for chatting via hippie/comet/websockets
JavaScript
1
star
47

slack-ascii

Slack slash-command for ASCII Art Farts (via AWS Lambda + python)
Python
1
star
48

irc-remotecontrol

Powerful framework for developing IRC-related interactive and automated clients
Perl
1
star
49

pd

Puredata patches for live sound performances, including 3d visualization and leapmotion control
Pure Data
1
star
50

amplify-ssr-next-middleware-repro

Next 12 middleware with amplify SSR breakage
TypeScript
1
star
51

panoptic

Go
1
star
52

sls-flask-pre

Serverless flask starter kit (pre-release testing)
Python
1
star
53

panoptic-perl

Network Video DVR
JavaScript
1
star
54

zeromq-pubsub

ZeroMQ publish/subscribe event server
Perl
1
star
55

newsfeed

RSS aggregator
Perl
1
star
56

gohone

Library for parsing process network activity on Linux
Go
1
star
57

as3-hippie

Web::Hippie long-poll client for ActionScript3
ActionScript
1
star
58

hone-collector

Aggregates process and network trace events and visualizes them with HTML5
Perl
1
star
59

imginary-planet

Album released in 2020
1
star
60

simplestream

Handy bundle of live video streaming pieces
JavaScript
1
star
61

anymq-pg

Use PostgreSQL as a message queueing backend
Perl
1
star
62

gorapid

Go
1
star
63

ios-amt-unlocker

iOS app to unlock the door at Ace Monster Toys
Objective-C
1
star
64

chirper

Perl driver for iDEN modems (and boost mobile chirpers)
Perl
1
star
65

heroku-emacs

Heroku command plugin: run emacs in a heroku shell
Ruby
1
star
66

learn-c

Simple introductory C programs
C
1
star
67

NetSound-AU

Mac OS X AudioUnit plugin to read audio data from the network
C
1
star
68

CrunkServ

Simple IRC chan-op bot with web interface
Perl
1
star
69

heroku-buildpack-alembic-migrate

Auto-run flask alembic DB migration
Shell
1
star
70

librapid

C library for message passing with a Rapid API server
Shell
1
star
71

lazyaws_talk

Project Unemployed DevOps: Lazy AWS talk slides, example code, configs.
Shell
1
star
72

revmischa

My dynamic GitHub profile
JavaScript
1
star
73

leap-windowflinger

Interact with your desktop with the Leap Motion. Move around windows with your fingers.
C++
1
star
74

anymq-rawsocket

Message queueing adaptor using just a socket and JSON
Perl
1
star
75

keil-panoptic-client

Keil RTOS for ARM TCP client that speaks JSON
C
1
star
76

iot_talk

A talk given at http://unit.city on IoT security and a demo of using AWSIoT
1
star