{"id":13469191,"url":"https://github.com/revmischa/rtsp-server","last_synced_at":"2025-04-05T19:14:04.613Z","repository":{"id":990346,"uuid":"797653","full_name":"revmischa/rtsp-server","owner":"revmischa","description":"Lightweight RTSP/RTP streaming media server","archived":false,"fork":false,"pushed_at":"2019-12-16T20:26:20.000Z","size":48,"stargazers_count":426,"open_issues_count":15,"forks_count":112,"subscribers_count":34,"default_branch":"master","last_synced_at":"2024-10-18T07:54:23.827Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://metacpan.org/release/RTSP-Server","language":"Perl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/revmischa.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-07-26T04:40:05.000Z","updated_at":"2024-09-30T04:00:41.000Z","dependencies_parsed_at":"2022-07-08T22:00:41.963Z","dependency_job_id":null,"html_url":"https://github.com/revmischa/rtsp-server","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revmischa%2Frtsp-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revmischa%2Frtsp-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revmischa%2Frtsp-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/revmischa%2Frtsp-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/revmischa","download_url":"https://codeload.github.com/revmischa/rtsp-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247386266,"owners_count":20930619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T15:01:28.762Z","updated_at":"2025-04-05T19:14:04.594Z","avatar_url":"https://github.com/revmischa.png","language":"Perl","funding_links":[],"categories":["Perl"],"sub_categories":[],"readme":"RTSP-Server\n===========\nThis module is designed to accept a number of sources to connect and\ntransmit audio and video streams.\nClients can connect and send RTSP commands to receive RTP data.\n\nThis was designed to make rebroadcasting audio and video data over a\nnetwork simple.\n\n## INSTALLATION\nTo install this module type the following:\n```\n   perl Makefile.PL\n   make\n   make test\n   make install\n```\n### LINUX\n\nTo install debian jessie dependences:\n```\n   sudo apt-get install libmoose-perl liburi-perl libmoosex-getopt-perl libsocket6-perl libanyevent-perl\n   sudo cpan AnyEvent::MPRPC::Client\n\nClone from git\n   git clone https://github.com/revmischa/rtsp-server\n\nThen make, test and install\n   perl Makefile.PL\n   make\n   make test\n   make install\n\n```\n### MAC OS X\n\n```shell\ncpanm Moose\ncpanm Socket6\ncpanm MooseX::Getopt\ncpanm URI\ncpanm AnyEvent\n\nsudo cpan AnyEvent::MPRPC::Client\n\nClone from git\n   git clone https://github.com/revmischa/rtsp-server\n\nThen make, test and install\n   perl Makefile.PL\n   make\n   make test\n   make install\n```\n\n#### Use ffmpeg to stream your local camera\n\nYou can view available cameras with: `ffmpeg -f avfoundation -list_devices true -i \"\"`\n\nIf you are using a Macbook Pro, then use the below commands:\n\n```shell\nbrew install ffmpeg jack\n\nffmpeg -re -f avfoundation -video_size 320x240 -framerate 30 -pixel_format bgr0\n-i \"FaceTime HD Camera\" -f rtsp -muxdelay 0.1 rtsp://127.0.0.1:5545/a_video_stream\n```\n\n## RUNNING\n\nSimply fire up the included rtsp-server.pl application and it will\nlisten for clients on port 554 (standard RTSP port), and source\nstreams on port 5545.\n\nTo begin sending video, you can use any client which supports the\nANNOUNCE and RECORD RTSP methods, such as [FFmpeg](https://www.ffmpeg.org/ffmpeg-protocols.html#rtsp):\n\n`ffmpeg -re -i /input.avi -f rtsp -muxdelay 0.1 rtsp://12.34.56.78:5545/abc`\n\nYou should then be able to play that stream with any decent media\nplayer. Just point it at rtsp://12.34.56.78/abc\n\nIf you don't want to run it as root, you may specify non-priviliged\nports with `--clientport/-c` and `--sourceport/-s`\n\n## DEPENDENCIES\n\nThis module requires these other modules and libraries:\n\n  Moose, AnyEvent::Socket, AnyEvent::Handle\n\n## COPYRIGHT AND LICENCE\n\nABRMS\n\n## Maintainership\n\nWant to take over maintaining this project? Feel free. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevmischa%2Frtsp-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frevmischa%2Frtsp-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frevmischa%2Frtsp-server/lists"}