nextcloud / nextcloud/talk-android

Add selectable media compression quality presets (540p / 720p / 1080p / Original)

Open
#6,507 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

discussion enhancement
Dominant language
Kotlin
Stars
739
Forks
321
Avg merge
14h 59m
Merged PRs (30d)
151

Description

The new media compression introduced with #6429 is a fantastic and very important improvement. Thank you for implementing it!

I would like to suggest adding selectable compression quality presets.

The current reduced-quality settings of approximately 540p for video and 768 px for images are very useful as a data-saving mode, but quite low for normal everyday sharing of family photos and videos.

Ideally, users could choose between presets such as:

Video
  • Data saver: 540p
  • Standard: 720p
  • High quality: 1080p
  • Original: no compression
Photos

A similar approach could be used for images. For normal compressed photo sharing, I think the short side should be at least 1080 px, while retaining the existing option to send the original.

For example:

  • Data saver: current reduced resolution
  • Standard: short side 1080 px
  • High quality: higher resolution / e.g. 1440 px or 2048 px
  • Original

The selected preset could be remembered in Settings → Sent media quality.

Why this would be useful

The new compression feature makes Talk much more practical as an everyday self-hosted messenger.

There is a large group of users who would like to share private family and friends photos/videos without relying on centrally operated messaging platforms. For these users, automatic compression is essential because original smartphone videos quickly consume huge amounts of server storage and upload bandwidth.

At the same time, 540p is a fairly strong reduction for memories and family videos that may be viewed again years later.

Providing several quality presets would offer the best of both worlds:

  • very small files when mobile data or storage is important;
  • good everyday quality with 720p;
  • high-quality sharing with 1080p;
  • original files whenever required.

It could actually give Talk more flexibility than many mainstream messengers.

Related:

  • #6422
  • #6429

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the compression work in #6429 and the related discussion in #6422, then trace Settings → Sent media quality and the current reduced-quality media flow. Done means users can select and persist video and photo presets for data saver, standard, high quality, and original sharing.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
audio-video-rtc, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.