element-hq / element-hq/element-android
Re-encode/downscale video before uploading to satisfy max upload size
- Dominant language
- Kotlin
- Stars
- 3.7k
- Forks
- 917
- Avg merge
- 8d 20h
- Merged PRs (30d)
- 1
Description
#### Is your feature request related to a problem? Please describe.
I have a 82mb video I want to upload. My homeserver upload limit is 50mb. Rescaling so the video meets that size would be ok for quality.
#### Describe the solution you'd like.
When I try to upload a video it uploads, having been rescaled.
Contributor guide
Research direction
Start from the Android video upload flow and inspect how video files are prepared before upload, since no file or test is named. Determine how the homeserver upload limit is exposed to the client and how oversized videos are handled. Done means an oversized video can be rescaled before upload so it fits the configured limit.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100