nextcloud / nextcloud/ios

Sharing a video to the Nextcloud app alters the resulting video file

Open
#3,485 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Steps to reproduce
  1. Record a video (e.g. 5 seconds) with iPhone camera, settings 4K (60 fps high efficiency)
  2. Check the file size in iOS Photos app -> 50 MB
  3. Upload the video to your nextcloud instance with these 3 methods and check the resulting file size:
  • Via Auto-Upload -> Result: 50 MB (unchanged)
  • Nextcloud app -> Upload video -> Result: 50 MB (unchanged)
  • iOS Photos -> Share -> Nextcloud -> Result: 18 MB (file changed)

I don´t know if this behaviour is due to iOS photos or Nextcloud or Apple being Apple. All i´m seeing is the result...

Expected behaviour

The video file should not change when using different methods, especially without any hint or message.

Actual behaviour

Sharing through iOS Photos app alters the video file. To be exact:

  • Original: 50 MB, 4K, 60 fps, H.265
  • Auto-Upload: 50 MB, 4K, 60 fps, H.265
  • Via Nextcloud App: 50 MB, 4K, 60 fps, H.265
  • Shared via Photos: 18 MB, 4K, 30 fps, H.264

Original
Image
Shared
Image

Environment data

iOS version: iOS 18.4.1

Nextcloud iOS app version: 6.6.2.2

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

No source file or test is named. First reproduce the iOS Photos Share flow and compare the resulting video with Auto-Upload and direct upload, including codec and frame rate; done means sharing preserves the original video characteristics or clearly reports any conversion.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.