How to copy a video file to documents after recorded?

Hello,

I’ve been told that I cannot access a video file after it has been recorded and saved. I saw a post by mpappas where he was able to copy the video file to one of the document folders that corona labs can access. Has anyone tried this? It seems his example in the URL below is for Android. Does anyone know how to do this for iOS also?

Thanks,

Warren

http://forums.coronalabs.com/topic/41617-uploading-a-video-returned-from-mediacapturevideo/

I am having the same issue. I have videos stored with media.captureVideo(), which stores in the device gallery.
I want to access these with an io.open(), but I can’t access the folder the video is stored in.

So I want to copy the video stored at event.url to the system.DocumentsDirectory, where I can directly access it.
Is this possible?

No, it’s not possible with Corona SDK. You might be able to do it with Corona Enterprise or CoronaCards.

Rob

I was able to get this to work actually, using work by Corona user eja.

The link is here: https://forums.coronalabs.com/topic/43203-solved-saving-captured-video/.
 

I hope anyone else having this problem finds that work helpful!

I am having the same issue. I have videos stored with media.captureVideo(), which stores in the device gallery.
I want to access these with an io.open(), but I can’t access the folder the video is stored in.

So I want to copy the video stored at event.url to the system.DocumentsDirectory, where I can directly access it.
Is this possible?

No, it’s not possible with Corona SDK. You might be able to do it with Corona Enterprise or CoronaCards.

Rob

I was able to get this to work actually, using work by Corona user eja.

The link is here: https://forums.coronalabs.com/topic/43203-solved-saving-captured-video/.
 

I hope anyone else having this problem finds that work helpful!