You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When uploading some videos to a room, the "upload" screen sometimes sits with a spinning circle for minutes before finally uploading. Presumably this is when compression of the file is occurring, and if so it may be more user friendly to display some kind of progress to avoid the user believing the process has failed. Uploading a 22MB, 5 minute long video took just over 2 minutes.
After uploading, certain videos have been "compressed" to a much larger file size. This occurs in both DM and multi-user rooms.
The video in question was an .mp4 file using H.264 encoding, 25fps, AAC audio and a resolution of 720p x 720p (1:1 aspect ratio). The original file size was 22MB, but it increased to 84MB once uploaded to the room.
Testing with an .mp4 1080p video with 16:9 aspect ratio seemed to work as intended, reducing the file size from 15.4MB to 11MB. For this video, the time taken to upload it was also significantly less, spending only 20 seconds or so with the spinning upload progress indicator.
Outcome
What did you expect?
Video is compressed to a smaller size (or not at all if it's already small).
What happened instead?
Video ended up being much larger in size than the original, and took about 2 minutes to send. Expecting compression to reduce the size of the video for optimal network performance, or leave it be if no compression required.
Your phone model
Samsun S20 Ultra
Operating system version
Android 13
Application version and app store
Element X Android 0.7.6 (40007060)
Homeserver
Synapse 1.121.1
Will you send logs?
Yes
Are you willing to provide a PR?
No
The text was updated successfully, but these errors were encountered:
90vgt
added
the
T-Defect
Something isn't working: bugs, crashes, hangs and other reported problems
label
Jan 23, 2025
Steps to reproduce
When uploading some videos to a room, the "upload" screen sometimes sits with a spinning circle for minutes before finally uploading. Presumably this is when compression of the file is occurring, and if so it may be more user friendly to display some kind of progress to avoid the user believing the process has failed. Uploading a 22MB, 5 minute long video took just over 2 minutes.
After uploading, certain videos have been "compressed" to a much larger file size. This occurs in both DM and multi-user rooms.
The video in question was an .mp4 file using H.264 encoding, 25fps, AAC audio and a resolution of 720p x 720p (1:1 aspect ratio). The original file size was 22MB, but it increased to 84MB once uploaded to the room.
Testing with an .mp4 1080p video with 16:9 aspect ratio seemed to work as intended, reducing the file size from 15.4MB to 11MB. For this video, the time taken to upload it was also significantly less, spending only 20 seconds or so with the spinning upload progress indicator.
Outcome
What did you expect?
Video is compressed to a smaller size (or not at all if it's already small).
What happened instead?
Video ended up being much larger in size than the original, and took about 2 minutes to send. Expecting compression to reduce the size of the video for optimal network performance, or leave it be if no compression required.
Your phone model
Samsun S20 Ultra
Operating system version
Android 13
Application version and app store
Element X Android 0.7.6 (40007060)
Homeserver
Synapse 1.121.1
Will you send logs?
Yes
Are you willing to provide a PR?
No
The text was updated successfully, but these errors were encountered: