android-Camera2Video icon indicating copy to clipboard operation
android-Camera2Video copied to clipboard

output file is created but its empty(0.0Kb)

Open tenzinsamten opened this issue 11 years ago • 6 comments

i ran the application in my nexus 5 with android 6.0 , no crash its running fine but output file data size is 0.0kb even though i have recorded it for more than 15 sec. Please help..

tenzinsamten avatar Nov 13 '15 11:11 tenzinsamten

Same problem on my Nexus 5 device (android 6.0) - 0kb file on output.

vkislicins avatar Dec 11 '15 12:12 vkislicins

This looks like a subtle bug ... I got it working on Nexus 5 running Android 6 (5.82MB file saved and it only saved part of the recording) once ... by changing the output file path to sdcard (you have to add WRITE_EXTERNAL_STORAGE to the VIDEO_PERMISSIONS Array at top of Camera2VideoFragment.java, in order to actually get the WRITE_EXTERNAL_STORAGE permission, specifying that in manifests doesn't work in debugging.) but then it started writing empty file again ...

xyz1hang avatar Dec 12 '15 23:12 xyz1hang

Same issue on Nexus 6P (Android 6.0)- 0kb file on output.

jparrish88 avatar Dec 16 '15 07:12 jparrish88

Same issue.

gbhall avatar Dec 28 '15 11:12 gbhall

I just installed this and having the same issue on kalin linux output folder is empty?

EvilMo avatar Oct 09 '17 05:10 EvilMo

This sample has been migrated to a new location where we can accept Pull Requests (check README for more information).

As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.

If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!

codingjeremy avatar Sep 19 '19 22:09 codingjeremy