mediacms-io / mediacms

MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
https://mediacms.io
GNU Affero General Public License v3.0
2.74k stars 507 forks source link

Allow streaming of original media files #907

Closed a20eac1d closed 10 months ago

a20eac1d commented 11 months ago

Describe the feature you'd like I would like to be able to stream the originally uploaded media files without re-encoding them first.

Additional context I am running MediaCMS on a Raspberry Pi. This device is EXTREMELY slow at video encoding, even H264 at 240p takes forever.

I am already uploading the video files in a format and resolution that can be played and streamed (H264, 1080p, 30 fps).

Unfortunately, MediaCMS forces me to use at least one re-encoding format for the videos to be playable, instead of simply using the media file that is already working perfectly.

MediaCMS would be perfect for my use case. Unfortunately, this issue is making it impossible to use on devices like the Raspberry Pi. I literally cannot upload and process a single video while this issue exists, therefore I have to stop using it until this issue is fixed.

I would really appreciate your input and maybe a fix for this issue, if you have the time! Thank you so much!

mgogoulos commented 11 months ago

This is posible through a hack, and there is a PR for it - https://github.com/mediacms-io/mediacms/pull/829 . It is old now and has conflicts, but once this is merged it should work for you!

a20eac1d commented 11 months ago

Amazing, thank you for your response! Unfortunately, that branch is quite far behind main if I understand it correctly, so I don't feel comfortable running my instance on this version. Do you have any rough estimate when the merge will happen? Can I do something to help you with this?

mgogoulos commented 10 months ago

PR is now merged, checkout the note on https://github.com/mediacms-io/mediacms/blob/main/docs/admins_docs.md