datarhei / restreamer

The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.
https://docs.datarhei.com/restreamer/
Apache License 2.0
3.78k stars 438 forks source link

Error on Looping 3gb Video File. #745

Open chope1 opened 4 months ago

chope1 commented 4 months ago

Trying to loop a 3gb video file size but getting the below error -

upload_issue

How can this be resolved?

I am only interested in Live streaming pre-recorded videos.

Thanks.

ioppermann commented 4 months ago

This can be resolved by manually putting the file you want to stream onto the data directory that you mount into the docker container.

  1. Upload a video file that is smaller than the limit. As result you will see the path of the uploaded file, e.g. /channels/01464556-f816-4230-948d-71fbbe78d18d/videoloop.source.
  2. Identify which directory you are mounting into the Docker container to /core/data. This information you'll find in the command line you started the Restreamer with, e.g. docker run ... --volume /opt/core/data:/core/data ... datarhei/restreamer:latest
  3. Overwrite the file /opt/core/data/channels/01464556-f816-4230-948d-71fbbe78d18d/videoloop.source with the file you actually want to stream (the big file).
  4. Press on the Probe button and continue as usual.

We impose currently a size limit because we have to test thoroughly the implications of bigger file uploads. In the future we might provide some sort of file explorer.