1

I am using this PyLivestream library to stream files to youtube. the problem is that once it finishes each video the scren goes down for a second until the next video starts. because it's simply just creating ffmpeg command and running then directly in a subprocess for each media file.

Is it possible to configure an instance of ffmpeg that will always be streaming to the destination. It could just be a blank screen or an image. And it also has an input, so I can point PyLivestream to the repeater.

This way the repeater will create one long un-interupted stream experience, but I can still use PyLivestream to stream the individual files.

David Maze
  • 130,717
  • 29
  • 175
  • 215
DigitalDisaster
  • 467
  • 3
  • 10
  • 25
  • If you don't need any extra playlist management you could just concatenate the files directly with FFmpeg: https://trac.ffmpeg.org/wiki/Concatenate#demuxer – aergistal Jan 15 '21 at 14:51
  • Do all your files have the same format, resolution and framerate? What OS are you using? – Markus Schumann Jan 19 '21 at 12:26
  • You can checkout if this thread can help: https://stackoverflow.com/questions/11647868/using-ffmpeg-to-stream-continuously-videos-files-to-a-rtmp-server – Pyizza Jan 22 '21 at 09:31
  • @Pyizza lead me to the solution but I can't mark a comment as an answer – DigitalDisaster Jan 25 '21 at 13:41

0 Answers0