-
-
Notifications
You must be signed in to change notification settings - Fork 904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uploaded Videos get downscaled #3191
Comments
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? |
Signed-off-by: Marino Faggiana <marino@marinofaggiana.com>
@marinofaggiana, this wouldn't have affected autouploads, correct? Only manually uploaded videos? Thank you in advance. |
@Torqu3Wr3nch I only discovered this issue through the autouploads. |
Thank you for the reply. Here is what's weird though: I checked my videos and my 4k video is showing as 4k. Additionally, when I download the video and examine it (on my desktop), I see that it is in fact stored as HEVC/H.265. Looking at @marinofaggiana's change, that should not be the case since AVAssetExportPresetHighestQuality compresses the video to H.264. @Jogaxell, were your videos stored locally on your phone or were they only available on iCloud? As far as I know, this command could just be called on download and so the files stored on your Nextcloud server itself are fine. Would you mind downloading the files on your desktop from the Nextcloud server itself and verifying if those files are correct in terms of resolution and codec (you can use VLC Media Player to check)? I'm trying to gauge how disastrous this issue is in terms of data loss... Thanks again! |
How to use GitHub
Steps to reproduce
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:
Video downloaded from Nextcloud:
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
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
The text was updated successfully, but these errors were encountered: