androidandroid-mediacodecgrafika

Grafika CameraCaptureActivity not working


I'm trying to test this sample in my galaxy S3 and everything seems to work well but when i try to play the recorded file, no player can play the file. I send the video to my computer and tried with VLC, gom player, etc and always get an error like " entry format no recognized" The file has the right size. What is happening?

Edit: I tested the same sample in a moto G and works ok. Can be a galaxy S3 related issue?

Thanks


Solution

  • I'm sure that this is not the best way to overcome this. But anyway, anything is better than a infinite loop and a corrupted file so... i put a counter for EOS waiting iterations with a limit, if it is reached breaks the loop. File is playable now. No secondary problems for now. Thanks