i'm trying to write a probem that recordes a video and stores it into a byte array for replay later or to save the video. The problem that I have is how do I find out the format that the byte array is stored in, i.e is it mp4 or 3gp.
I want to be able to force java to record the video as mp4.
Has anyone achieved this?
I've tried setting the encoding when i start the player with
but that just fails.
One thing that i've noticed is that when I use the camera on the phone without java (normal software on phone) it appears to choose to record using mp4 or 3gp depending on the resolution that you are recording your video with. For example if you save a low resolution video is selects a 3pg file however if you save a higher resolution video it save this as a .mp4 file.
Anyhow any help on with would be appreciated