nextcloud / ios

πŸ“± Nextcloud iOS App
https://itunes.apple.com/us/app/nextcloud/id1125420102
GNU General Public License v3.0
1.99k stars 882 forks source link

Uploaded Videos get downscaled #3191

Open Jogaxell opened 3 days ago

Jogaxell commented 3 days ago

How to use GitHub


Steps to reproduce

  1. Upload a 4k video from your photo library to your Nextcloud via the mobile app.
  2. Download the just uploaded video.
  3. Check video size.

Expected behaviour

Tell us what should happen

The video should not be downscaled/compressed.

Actual behaviour

Tell us what happens instead, if possible also add a screenshot

The video is now compressed to 1080p. Original video: Image Video downloaded from Nextcloud: Image

I think the problem lies partly on apples side. With iCloud Photos turned on I think Nextcloud only uploads the locally stored thumbnails/downscaled videos rather than the originals stored in iCloud. The Nextcloud app should therefore be first downloading the original from iCloud to the the device, then uploading them to your Nextcloud

Logs

If applicable, you can post the iOS app or server logs (removing any sensitive information).

Reasoning or why should it be changed?

To not lose quality of uploaded files.

Environment data

iOS version: iPadOS 18.0.1 Also tested on iOS 17.0

Nextcloud iOS app version: 5.5.5.0

Server operating system: Linux 6.6.32-production+truenas x86_64

Web server: Apache, nginx

Database: PostgreSQL 13.1 (Debian 13.1-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit

PHP version: 8.2.23

Nextcloud version: 29.0.5

Torqu3Wr3nch commented 3 days ago

Possibly also related to issue #2164 which highlights a more generalized issue whereby the format of the files downloaded locally to the iPhone are not preserved.

Did you check to see how the files were stored on your Nextcloud server itself? Are they stored there in the original 4k format or are they also showing 1080p?