sistason / rtmp_stream_delayer

Uses ffmpeg and nginx to delay (buffer) an incoming rtmp-stream for an amount of time.
GNU General Public License v2.0
42 stars 12 forks source link

Issue with getting Backup streams to work #6

Open rameshliyanage opened 4 years ago

rameshliyanage commented 4 years ago

Really great job with this @sistason and really appreciate the support.

Been trying to get the BACKUPSTREAM_SHORT and/or BACKUPSTREAM_LONG to work. Nothing seems to run though. Appreciate any guidance.

sistason commented 4 years ago

sorry for forgetting this íssue... I committed some debug logging, please try to run the delayer with -v and check if any of the backupstream-concerning logs show. (And pot them here :) )

Flegma commented 3 years ago

Hello, whats the correct syntax to add backupstream? Do we just put youtube link or path to a file on the server? Or we need to put some rtmp link there?

Thanks in advance!

sistason commented 3 years ago

Put anything in there which works with ffmpeg -re -i "string" (https://github.com/sistason/rtmp_stream_delayer/blob/master/rtmp_stream_delayer.py#L124).

A local filepath will work, an rtmp-location as well, other than that, please either read the ffmpeg-manpage or just try it out what works :)

Flegma commented 3 years ago

Thanks for pointing out a line in the code, ill have and take a look (also, manpage will help a lot). :) Thanks!