To be more specific, When I captured video, it only capture left top
of screen with low quality as if it zooms top left of screen. What can
be problem?

On Sep 9, 10:07 pm, Engin Arslan <[email protected]> wrote:
> Hi, i am capturing video with the code below. But there is problem on
> videoquality, that is, when I capture video with applicaiton I wrote
> itsqualityis not as well as videoqualityof telepohnes' which is
> recorded by Camcorder.
>
> public CamcorderPreview(Context context, AttributeSet attrs) {
>         super(context, attrs);
>         holder = getHolder();
>         holder.addCallback(this);
>         holder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS);
>         recorder = new MediaRecorder();
>         recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
>         recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
>         recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
>         recorder.setMaxDuration(MAX_RECORDING_DURATION_MS);
>          recorder.setVideoSize(352,288);
>          createVideoPath();
>                  recorder.setOutputFile(mCameraVideoFilename);
>                   recorder.setVideoEncoder
> (MediaRecorder.VideoEncoder.H263);
>                   recorder.setAudioEncoder
> (MediaRecorder.AudioEncoder.AMR_NB);
>
>                  recorder.setPreviewDisplay(holder.getSurface());
>
>
>
> }- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to