I get all kinds of EXIF data (like location and camera model) easily from images, and I'm trying to replicate this for my .MOV movie files pulled from my iPhone.
I know Apple has this information somewhere because you can see the location in the Photos app, but I don't know how to programmatically access this when looking at .MOV files directly.
In order of preference for my use-case (Python-based personal photo organizer / enrichment):
Is this available ideally somewhere in the file (or another file) itself
Stored somewhere in iCloud that is queryable / scrapeable
Available when building an iOS application (thinking I could build a sync-type app)
To get created date and other properties of MOV files so far, I'm using hachoir based on this StackOverflow answer:
Getting metadata for MOV video
Related
I would like to get songs from my computer to my iPhone inside of my own app. This would be a music playing app that would have the ability to load songs into its own directory from some private source like a laptop or cloud storage.
Example: If I have 100 songs on a Google Drive and I write an iOS app that loads those files from the Google Drive into the apps directory.
iOS, iPhone, Swift.
Yes you can download files into your app's Documents directory, which will be private to your app.
Here's a SO question on downloading a file in Swift/iOS that shows some concrete code examples: How to download file in swift?
You can also find many tutorials online on saving files and making HTTP requests in Swift.
You'll need to determine specifically how to make requests to your file provider e.g. Google Drive. This might involve not only the URL itself but also authentication, SSL validation etc. which are deeper topics in themselves but fully supported in Swift/iOS.
Yes, you can definitely download songs to your phone from your computer. You just have to make a directory area in your app and have the song be fetched into that directory.
I am currently working on an iOS app where users can watch several videos (e.g. fitness videos). The videos are all captured by my team, so I don't need access to external videos.
Now my question is, does it make more sense to store the video files offline right in the app or use some kind of online server (and which one would you recommend)? I don't want to embed Youtube videos.
Thanks in advance!
It is always better to go online. Because the size of video may vary and huge video files would scrap user device's memory. SO it is recommended to use an external server to host the video files.
You can also add an option to download the files if needed.
I have an app that allows a user to either take photo or point to a photo on from their camera roll. This record must be peristed locally. A record consists of text and an image. Savings this data on a single device seems simple, as I can persist the link to the image or store the image locally in the file system if taken via camera.
Problem is how to share this record via iCloud to make record available to all instances of the app on multiple devices. I.e iPhone creates a record with an image, which is then available to view on iPad or Apple TV.
Is it efficient to store a UIImage in a Core Data record and make this available via iCloud? Many people saying not for local storage
My concern is this could potentially be some large quantities of data?
Does anyone have any thoughts on how to solve this issue?
I´m working on a similar app, for me working with http://Parse.com is a solution.
If your user have an internet connection and can wait to upload the images/text files you can save it directly using Parse (with a fancy progress Bar!) But if you want to make it network-less proof, you might work as whatsapp. I mean using Core Data to save your files locally, then try to upload the imagens whenever there is internet available.
There are some others clouds DB you can use, but I´m familiar with this one.
You can upload to iCloud using NSFileManager.
There is a complete walkthrough on how to do that.
I need to store and constantly update thousands of audio clips and for use with an iOS app. I also need to store metadata with each audio clip. Based on user inputs I need to query the database that the clips are held in and download several clips to a temporary folder in the app so they can be played.
It doesn't seem that a service like Parse can store large audio files.
What would be the best approach for something like this?
I have an application that will take care of recording video using UIImagePickerController object and videos are saved in the shared library of IOS.
I have only one problem.
If you record video from an external application to my application, unfortunately I can see both the videos recorded with my application is the video recorded by the other application.
Is there a way to make the filter of assets not recorded with my application?
Thank you,
Vincenzo
Save video to apps document folder and while using, pick it from the same location.
Refer this link to save video in documents folder.
But your other apps are unable to access those and deleting app deletes captured videos too.