-
-
Notifications
You must be signed in to change notification settings - Fork 873
Description
Describe the issue
MediaCMS correctly generates multiple encoded MP4 renditions (e.g. 144p, 256p, 1080p) under media_files/encoded/, and these files are valid and playable. However, the Download button always serves the same file, regardless of the selected resolution.
Even when multiple encoded MP4 files exist on disk with different resolutions and bitrates, the download endpoint appears to always resolve to the original file, ignoring the encoded renditions entirely.
This makes resolution-aware downloads impossible, even though the UI suggests that different qualities are available.
To Reproduce
Steps to reproduce the issue:
- Deploy MediaCMS using the official Docker image.
- Upload a video file.
- Wait until encoding finishes (Celery workers running).
- Verify that multiple encoded MP4 files exist under media_files/encoded/.
- Open the video page in the UI.
- Select different resolutions (e.g. 144p, 256p, 1080p).
- Click the Download button.
- Observe that the same file is always downloaded.
Expected behavior
One of the following behaviors would be expected:
- The Download button serves the encoded MP4 file corresponding to the selected resolution, if available
OR
- The UI clearly indicates that downloads are always the original file, regardless of resolution
Currently, the UI suggests resolution-specific downloads, but the backend does not support this behavior.
Actual behavior
- Multiple encoded MP4 files are generated and stored on disk.
- The Download button always serves the same file.
- Resolution selection has no effect on the downloaded file.
- Encoded renditions are never used for downloads.