cryptomator / android

Cryptomator for Android
https://cryptomator.org
GNU General Public License v3.0
699 stars 113 forks source link

[Feature] Add ability to stream play video and audio files and image previews #193

Open kovalensky opened 4 years ago

kovalensky commented 4 years ago

It would be nice if media files that are being downloaded could play with in-built player.

Almost every cloud storage provides ability to range download, so there's not a big problem. And as I committed in another request, please add optional setting to enable creating encrypted image/video previews for media file uploads.

I suggest that every media file that is being uploaded should contain preview block (encrypted of course) in the start of content, and if possible it should be with user's predefined quality settings.

When user opens a folder containing media files for the first time, on PC or Android, Cryptomator starts to download predetermined media files, when it gets to the end part of block containing thumbnail - it stops, shows thumbnail of file, saves preview in local cache for faster user experience.

If user wants to download a media file, Cryptomator just ignores/deletes thumbnail block and saves original file.

With these abilities Cryptomator would be perfect and user-friendly. Cheers!! ❤️🏆🥇🧠

### Tasks
liqfx commented 4 years ago

I 100% back this feature request!

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

kovalensky commented 3 years ago

@SailReal Any updates on this one?

SailReal commented 3 years ago

In the long term, we will switch to cloud-access-java, which will make it possible to stream the encrypted files from the cloud. But that is all up in the air. We are currently working on vault format 8, which decouples the key derivation from vault decryption, which in turn makes something like 2FA possible. Next, we see the document provider as priority 0, which will also take up some time. So unfortunately nothing really new here, but we definitely see the need.

kovalensky commented 3 years ago

In the long term, we will switch to cloud-access-java, which will make it possible to stream the encrypted files from the cloud. But that is all up in the air. We are currently working on vault format 8, which decouples the key derivation from vault decryption, which in turn makes something like 2FA possible. Next, we see the document provider as priority 0, which will also take up some time. So unfortunately nothing really new here, but we definitely see the need.

So we won't see encrypted image previews soon. Sad :(, but thanks for quick answer.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mvjunkie commented 2 years ago

I know this hasn't had a comment in awhile, but this ability would be HUGE for people like me. I currently have about 80 TB on Google Drive and through Android TV, use it as my Personal plex server. But I don't like knowing that my media files are stored in plain text. I want to move my data to Dropbox for better speeds, but if they detect this type of activity they will close your account. Having the ability to stream from the vault....heck I would donate a couple hundred bucks towards the project if it were made possible. :-)

jpathak commented 2 years ago

+1 would back this

muhammadfredo commented 6 months ago

+1 really need this feature