Android :: How To Use MediaRecorder To Record Highest Quality Video

Jan 28, 2010

Is there a way to get the best quality of video recording possible using MediaRecorder? the camcorder app does a lot better in terms of quality.

Android :: how to use MediaRecorder to record highest quality video


Android :: MediaRecorder Class To Record A Video - Exception

Jun 17, 2010

I try to use the MediaRecorder class to record a video but I get an exception : failed to get Camera parameters. Prepare failed.

Here's my code :

CODE:.....................

View 1 Replies View Related

General :: Record Video Via MediaRecorder?

Apr 12, 2012

I have a question regarding the Android MediaRecorder -

My test device
HTC Desire HD
Firmware 2.3.5

I want to write an app, which records a video. This should be implementet via the MediaRecorder (not via Intents). On the Google-Developers site I found a "tutorial" [URL]

My problem:

I followed the whole tutorial. When I'm starting my application on my test device it throws an exception ("start failed") at recorder.start() if I set the quality to high (CamcorderProfile.QUALITY_HIGH). If I change the setting to QUALITY_LOW the app starts recording for 1-2 seconds. After that the screen freezes and my LogCat tracks the following errors:

media server died!
camera server died
ICamera died

I also get ERROR 100

View 2 Replies View Related

Android :: How To Use MediaRecorder To Record Video Without Causing A Segmentation Fault

Nov 30, 2009

I'm trying to use android.media.MediaRecorder to record video, and no matter what I do the android runtime segmentation faults when I call prepare().

Here's an example:

CODE:....................

View 2 Replies View Related

HTC EVO 4G :: Unable To Record Audio / Video - Low Quality Microphones

Oct 19, 2010

We have one of the crappiest microphones on any phone. I tried to record some audio/video with my camera and the freakin audio SUCKS! what gives? is there anything HTC/Sprint/we can do about this?

View 8 Replies View Related

Android :: MediaRecorder Sound Quality

Feb 11, 2009

Is anyone else experiencing poor playback quality on files recorded with MediaRecorder? Is there a way to improve this?

View 4 Replies View Related

HTC Incredible : Camera Is Not Taking Pics In Highest Quality / Setup

Sep 13, 2010

I have my settings on 8MP and Highest quality. Yet my pic sizes are only 800kb and the quality is horrible. any suggestions?

View 4 Replies View Related

Android :: Poor Audio Quality Captured From Microphone With MediaRecorder / Implement Them?

Aug 11, 2009

I've implemented "Audio Capture Setup and Start" example (http:// developer.android.com/guide/topics/media/index.html) with small modification - the output format is MPEG_4 not THREE_GPP.

The result - records with extremely poor audio quality.

Could you help me to understand where is error and how is possible to do really good audio records with Android?

I've done an experiment with Camcorder - standard Android application. Sound quality of the video is same poor. The audio signal is extremely low (quite).

Is it "by design" or may be some hardware problem (T-Mobile G1)?

I've found description similar problem here - http://osdir.com/ml/AndroidDevelopers/2009-06/msg00752.html - "Microphone audio capture with emulator is of very poor quality". In my case this problem reproduces on the real device. Unfortunately I have not found answer. I read about some "custom" encoders.. but have not found any example how implement them.

View 2 Replies View Related

Android :: Video With MediaRecorder

May 6, 2009

Does anyone know how to use the MediaRecorder to API to capture video?

I am writing an application where I want to be able to capture video. I am trying to use the MediaRecorder API in 1.5, which is supposed to support video capture. However, there are no examples in the documentation on how to use this API for video (only for audio, and that works perfect). Basically what I do is the following:

CODE:...............

This gives me the following error: E/CameraInput( 37): No surface is available for display E/MediaRecorder( 7609): prepare failed: -2147483648

OK, so I have to have a surface to preview the video? Could be useful I guess, but not something I really need.

Could I use the VideoView widget for this, or is that only for playback?

Or am I supposed to use a SurfaceView to preview the video? I saw someone use that to capture images, but they used android.hardware.Camera to open the camera and capture a frame, and did not use MediaRecorder.

HOw to capture video, or even better have some example code?

View 1 Replies View Related

Android :: How To Get The Video Stream From MediaRecorder

Jul 10, 2009

I want to get the stream and send it to server directly by using MediaRecorder.

Actually, I am able to record the video,and able to store it into sdcard. Now I want to it to stream (live stream) to server rather than storing it.

View 5 Replies View Related

Android :: MediaRecorder Buffers 1 Second Of Video

Aug 30, 2010

I'm using MediaRecorder.setOutputFile(FileDescriptor fd) over a UNIX socket, so that local code on the device can see the encoded stream in real time (for video streaming out).

What I observed is that the encoder doesn't write encoded frames continuously, when they are produced, but by "bursts", exactly one second apart. I tried both containers (THREE_GPP and MPEG_4) and all three available codecs (MPEG_4_SP, H263, H264), the behavior is always the same. This one-second period is notably unrelated to framerate or bitrate, so it is not flushing by size; rather, it seems to be flushing by time (possibly to mask SD card write overheads ? Bummer, I 'm not using the SD here !). Is it a known limitation ? Is there a known workaround ?

View 2 Replies View Related

Motorola Droid :: Highest Quality Music Droid Will Play?

Jun 4, 2010

Saw an interesting post the other day that said the Droid supposedly can only play 128 kbp/s as the higest quality of music?Can anyone confirm this?

View 17 Replies View Related

Android :: PV MediaRecorder Native Video Recording Error

Aug 7, 2010

Dear PV engineer: I have try several days for this. We want to add video conference function in PV opencore, so we need to create video capture node in native mode, I try the following code to capture video, My code is like this:

CODE:......................

View 2 Replies View Related

Android :: How To Change Video Orientation In MediaRecorder To Portrait

Oct 10, 2010

When I record video by MediaRecorder, it always records in landscape mode, regardless of real device orientation. How to force MediaRecorder/Camera use real orientation ?

View 1 Replies View Related

Android :: Android: How To Initialize MediaRecorder Without A Valid Surface For Video Preview

Aug 9, 2009

I am building a camera app, where videos are continuously being captured and saved to the SD card. The videos are short (few minutes), and their length are preset with setMaxDuration().

The whole process works fine, while the main activity is in the foreground. But, when I go to another activity (e.g. settings), the video recording works in the background only until max duration is reached. The file is saved, but a new sequence can not be started
because prepare() fails, apparently because setPreviewDisplay() doesn't like not having a proper surface to attach to.

I tried to use a dummy Surface, a dummy SurfaceHolder, lockCanvas(), and various other tricks, but nothing works. Is there a way to initialize MediaRecorder without a valid surface?

View 3 Replies View Related

Android :: Record A Video Of The Screen

May 18, 2009

I know you can use the ddms view in eclipse to take a snapshot of the screen, but can you somehow make a video like that?

View 4 Replies View Related

Android :: How To Record A Video As A Service

Sep 28, 2010

I just wanted a small piece of information. I am trying to record a video in background as a service. But, I am unable to record it. Can you tell me first of all that is it possible or not.

View 2 Replies View Related

Android :: Record Video In A Service

Oct 19, 2010

Is it possible to record video in a service, that is without setting the setPreviewDisplay? I tried it on a HTC Desire, however it is throwing this info in the log.

MediaRecorder Prepare Failed: -1

CameraInput No surface is available for display

Is there some additional properties to be set?

View 1 Replies View Related

Android : How To Record A Video Into SDCard?

Jun 23, 2010

I am trying to record a video into sdCard. But everytime I click on the Button to record, it shows "stopped unexpectedly" error.

View 1 Replies View Related

Android :: How To Record A Video Of Emulator Running

Feb 25, 2010

What's the best way to record a video showing things running on the Android Emulator? I want to record little demo videos of stuff running so I can put it on YouTube. I'm running the emulator on either Windows or a Mac.

View 6 Replies View Related

General :: Is It Possible To Screen-record Own App To Video In Android

Apr 14, 2014

any easy way to record the activities and views on my Android app to a video without root access. To be a bit more specific, I am looking for a screen-recording solution so that I can get a video of the user's interaction with the app interface. Connecting the phone to any device such as a computer to do the recording is not an option.

Here is a sample gif that I created using a Mac screen recorder to record the iOS simulator interface. It gives a rough idea of what I would like to achieve on Android, except for the fact that I would like the same to be from the actual phone (not the emulator) and without having to connect the phone to a computer or any other device.

View 2 Replies View Related

Android : How To Record Video From Front Facing Camera?

Aug 7, 2010

we got a requirement to record video from front and rear cameras simultaniously.. In the Android 2.1 SDK we only have the MediaRecorder.VideoSource.CAMERA and DEFAULT, but not FRONT_CAMERA and REAR_CAMERA. So, is there any other way to record from Front camera.. like any third party API's.

View 1 Replies View Related

Motorola Droid 2 : Android 2 Have 720p Video Record?

Jun 24, 2010

I know the droid x does, but how about the droid 2?

View 25 Replies View Related

Android :: Video Record - Upload - Transcode - Download - Play

Aug 31, 2010

I'm researching the development of an Android (2.2) app/service that will enable users to record short (I do emphasize short, < 30seconds) video on their phones and then upload that video (HTTP) to a server that will then transcode the video to other formats. That same user can download videos from other Android users and play them.

Now, I get a bit lost with everyones recommended approaches to all the issues in doing something like this because I haven't seen any ask this in a cohesive context. Ideally I would like a non commercial solution to this (as in no vendor/service being needed for the the video hosting/transcoding), but, feel free to include those as a recommendation (I've marked this as a wiki) as I know many like to use youtube and vimeo for the middle layer in all this.

The questions are

What server technologies do yo recommend for hosting and transcoding? What technology do you recommend for streaming the video (it would be nice to offer a high and low quality encoding depending on the users network connection) What video format and software do you recommend for converting the uploaded video on the server to be viewable later by other Android owners. Im assuming it's bad to do any transcoding on the phone prior to upload (battery/proc issues), but, if I'm wrong with that assumption what do you recommend?

The video will only need to render on an Android device, and in the future in a webkit html5 browser.
Bandwidth isnt cheap (even with numerous 30 second videos), so a good mix of video quality and video file size is important (streaming if needed to ensure quality vs. download). This is for android 2.2 devices with a video camera of course and medium to high density screen of 800x400 min. Open source solutions (server to receive the uploads, code to do the transcoding, server to do the streaming) are preferred, but not required. CDN's are an option, but I don't think that really figures in to the picture right now.

View 1 Replies View Related

Android : Need To Record Audio - Video Recording Files In 3gp / Mp4 Format

Jul 19, 2010

I need to record audio and video files in 3gp/mp4 format at the same file and same time.

When i run my application file is created with videofile.3gp but video does not record in sd card on the emulator.please let me clear one thing does video records on the emulator? if i run this code on android supported device do these error clear.
Please help me. I am new to this topic.please find the code and errors below.

package com.video;

* @copy Rights
* audio.java
* sample code for Eminosoft Developerworks Article
* Android development Team
* www.eminosoft.cm

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import android.app.Activity;
import android.content.ContentResolver;
import android.content.ContentValues;
import android.content.Context;
import android.content.Intent;
import android.media.MediaPlayer;
import android.media.MediaRecorder;
import android.net.Uri;
import android.os.Bundle;
import android.os.Environment;
import android.provider.MediaStore;
import android.provider.Settings;
import android.util.Log;
import android.view.View;
import android.widget.Button;

public class video extends Activity {

public MediaRecorder mrec = null;
private Button startRecording = null;
private Button stopRecording = null;
private static final String TAG = "SoundRecordingDemo";
File audiofile;
File video;
private MediaPlayer mMediaPlayer;}

View 2 Replies View Related

HTC EVO 4G :: How To Record Video With Flash On?

Jun 5, 2010

To do this, simply download "LED Desire Light" in the market, then enable the light after install. Now press the home button and bring up the camera. Set to video and voila! You've got a nice video flashlight for night capturing. Just be sure to go back to the LED Desire Light prog to disable it after use.

View 3 Replies View Related

Media :: Record Video On G1

Oct 31, 2008

Any way to record video on the G1?

View 5 Replies View Related

HTC EVO 4G :: How To Record HD Video On Your Phone

Aug 8, 2010

so the evo has HD video capabilities but how do you record such videos? In other words do you just go to camcorder and record and you record in HD or do you need some kind of program or need to do something to get actual hd quality.

View 16 Replies View Related

General :: CM9 - App To Record Video

Mar 19, 2012

Is there any app to record video cm9 dont like the cm9 one

View 1 Replies View Related

General :: How To Record Received RTSP Video Streaming On Android Client

Oct 3, 2012

How to record the received rtsp video streaming on android client.

I need record the received video by a android smartphone via rtsp streaming (DSS 6) in mp4 or yuv file format.

I can do this using a pc/linux client but i do know how to do this on android.

Also, can an i access a android device using ssh and execute vlc, mobo or mplayer on it? How?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved