GithubHelp home page GithubHelp logo

callsmusic / trtmp Goto Github PK

View Code? Open in Web Editor NEW
31.0 0.0 102.0 19 KB

Go live easily and stream videos in Telegram channels.

Home Page: https://t.me/callsmusic

License: Do What The F*ck You Want To Public License

Go 94.24% Shell 5.31% Procfile 0.45%

trtmp's Introduction

TRTMP

A bot for streaming in Telegram live streams.

Get Started

Use a Cloud Platform

Heroku

Manually

Prerequisites

Install

  1. Create a new directory.
mkdir trtmp && cd $_
  1. Download a binary from the latest release. If you’re on Debian or a Debian-based Linux distribution, you can just run the following:
curl -s https://raw.githubusercontent.com/callsmusic/trtmp/main/scripts/install.debian.sh | bash

Configure

In order to configure the bot, you have to set the following environmental variables:

  • BOT_TOKEN
  • RTMP_KEY
  • RTMP_URL

Or put them in a .env in the directory.

Run

chmod +x ./your_binary # Only for Unix-like systems.
./your_binary

Commands

Note: Commands are triggered with the "/" prefix.

stream

Starts streaming the provided video or URI leading to a media.

  • You can stream from 100+ platforms. Including popular ones like YouTube, Twitter, Facebook, etc.

  • There’s no limit in the duration of the provided media, it can be one second or a live stream.

  • If streaming, the stream should be stopped with /stop before using this command.

stop

Stops the active stream.

now

Tells who is currently streaming what.

License

You just DO WHAT THE FUCK YOU WANT TO.

trtmp's People

Contributors

rojvv avatar

Stargazers

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

trtmp's Issues

Unable to stream using Heroku

All is set as per the instructions but when the /stream command is passed to the bot, it always return an error

Failed to process: signal: segmentation fault

I have tried number of YouTube links and any other provider. I had to make a fork as you can’t deploy the main repository.

okteto

Can you upgrade the repo to make it work with Okteto cloud

stream not working…

Hi, I tried to run external links, youtube link and nothing, no message appears in the console is nothing.

3E32645A-0191-4ADF-8204-0857AD115095

6DF7784B-39E7-4997-8DE6-23EE3ADDAB40
88D8F7A6-14C6-4057-B451-BDFFAE17B9F7

YouTube Links do not work anymore

Hello, i am using the latest version of youtube-dl and ffmpeg but it seems like the bot do not work anymore with youtube links only directly .mp4 or .mkv , please fix this issue !

image

Stream from twitch

Hello. Can you help me with a problem? I want to start streaming from Twitch.

If I use command /start https://www.twitch.tv/<channel> then I get error Failed to process: exit status 1
Is it possible to start broadcasting a live stream from twitch?

# youtube-dl https://www.twitch.tv/<channel>
Works and starts downloading the stream.

Maybe I'm doing something wrong, and I need to run it differently.

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.