-
Notifications
You must be signed in to change notification settings - Fork 140
Video upload improvements #852
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
Conversation
Fixes slow motion video upload and other types of video relying on applying transformation data to originally shot footage
|
Michael Neuwert seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
|
I found, "Prefer original videos" is only respected when upload is initiated from inside the app. Video uploads initiated from Photos app via Share Sheet or via FileProvider always have "Preparing" phase before upload, so they get re-encoded. Add a note under the switch? |
|
@michaelstingl hm.. actually these shall be uploaded as is without any processing. It can be any binary file not just video, right? |
|
Check Settings > Media upload: “Prefer original videos” and “Prefer RAW photos” seems connected. Enabling the one, also enabled the other. Disabling results in same behavior: B6FD2EC3-ECAC-49D2-85FF-D78277CC2082.MOV |
…h "Prefer RAW photos"
This is fixed with latest commit |
| #if values[:BETA_APP_ICON] | ||
| # commit = last_git_commit | ||
| # short_hash = commit[:abbreviated_commit_hash] # short sha of commit | ||
| # sh "brew install librsvg" | ||
| # sh "sed -e \"s/\#version#/" + version + "/\" -e \"s/\#githash#/" + short_hash + "/\" badge.svg > badge_tmp.svg" | ||
| # sh "rsvg-convert badge_tmp.svg > badge.png" | ||
| # add_badge(custom: "fastlane/badge.png") | ||
| #end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be uncommented
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I commented that out because it failed and prevented Bitrise builds a few weeks ago (IIRC). When putting it back in, please check whether IPAs are still being built.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be fixed with the latest master merged inside
|
|
||
| self.add(row: preferOriginalsRow) | ||
|
|
||
| if AVCaptureDevice.rawCameraDeviceAvailable() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you remove the if clause? Raw camera support is not available on every device.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you remove the
ifclause? Raw camera support is not available on every device.
What about raw files stored on devices without the latest camera? I created the file in iPhone 12 Pro Max, but did my upload testing with the iPhone 8 test device.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, good point. I missed that option!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hosy that was exactly the intension to allow users upload RAW photos from their iCloud synced photo library shot on more capable device.
|
Checked the slo-mo videos, they are correctly uploaded and played. @michaelstingl collected all relevant encoding info above. About uploading original videos:
About encoding, i will add a report about the edited video with and without the Setting enabled. For me it's ok, but you can take a look if any parameter is more relevant
Tested with: iPhoneXR v14.2, iPadAir v13 |
|
Approved |




Description
Related Issue
#847
Motivation and Context
More flexibility for photo uploads
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: