Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After enabling “DO_NOT_TRANSCODE_VIDEO” uploaded video’s do not play but the thumbnail works #976

Open
foeyonghai opened this issue Feb 26, 2024 · 3 comments
Assignees

Comments

@foeyonghai
Copy link

foeyonghai commented Feb 26, 2024

Describe the issue
I downloaded and created multiple instances of MediaCMS on an updated Ubuntu server and enabled the “DO_NOT_TRANSCODE_VIDEO” option that was implemented not too long ago. After uploading videos it shows a thumbnail but after clicking on the thumbnail and getting on the page of the video itself it doesn’t play and only shows a black image at the place where the player is expected.

To Reproduce
Steps to reproduce the issue:

  1. Download MediaCMS
  2. Tweak the /deploy/settings.py file and change “DO_NOT_ENCODE_VIDEO” to enabled
  3. Installing an instance of the newest MediaCMS using the regular docker-compose file, so docker-compose.yml. I did not tweak any settings except for the password of the admin account of MediaCMS itself.
  4. Upload a video, I tried .vob, .mp4 and some others (just the regular files)
  5. Try to play the video

Expected behavior
A working video

Screenshots
Will provide but I’m not at home now

Environment (please complete the following information):
Ubuntu Server, updated
Docker and docker compose

@foeyonghai
Copy link
Author

I am not at home now so some places like /deploy/cms/settings.py I need to double check, doing this relying on my memories now.

@foeyonghai
Copy link
Author

foeyonghai commented Feb 27, 2024

Okay I did some extended tests and it gets clearer

  • .vob files are not working, thumbnails DO work
  • .mkv files are not working, thumbnails DO work
  • .avi files are not working, thumbnails DO work
  • .mp4 files DO work, thumbnails DO work

The behaviour above is in 2 seperate tenants.

I am wondering at this point: which video extentions are supported and which not?

@TheFlipside
Copy link

I had a similar issue but I'm using a local installation.
I found that when i set "DO_NOT_ENCODE_VIDEO = True" in /home/mediacms.io/mediacms/cms/local_settings.py even after restarting the mediacms service I still had the system do encodings for newly uploaded media.
The setting had to be set in /home/mediacms.io/mediacms/cms/settings.py and now it works, newly uploaded media do not trigger any encoding and the only selectable quality on a media is "0-original".
It seems the setting is not taken in effect when put in the local settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants