Hi all,

I'm trying to use a MediaRecorder to do something useful... like record
video, send it up to a server and the redisplay it back on, oh say, my
Android N1. Or G1. Or any old Android.

You'd *think* that shouldn't be hard, but I haven't managed to get an
intersection between the video encoder, output format, and what to
send back down to the Android. The latest iteration I tried is:

recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
recorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT);
recorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263);

for which I create:

<object type="video/3gpp" height="240" width="320" data="img.php?imgid=2943" alt="2010-05-25 18.00.19.3gp"><param name="src" value="img.php?imgid=2943"><embed height="240" width="320" src="img.php?imgid=2943" type="video/3gpp" alt="2010-05-25 18.00.19.3gp"></object>

which duly does... nothing. ffmeg and mplayer seem to know what it is, so it's
not screwed up on the recording end. I've tried many other combinations of
encoders and containers but haven't managed to get anything to work.

Has anybody managed to find a single intersection that actually works?

Mike, video is a huge mess, yes I know

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to