Hi,
Any suggestions please...
On Aug 19, 4:06 pm, greatinnovus stevej.in...@gmail.com wrote:
Hi All,
Im tryingvideocapturewith device and ( recorder.prepare();
causes error and closes my application.) Can any one suggest me where
im going wrong with this code.
public class
Hi greatinnovus.
I could not give you any suggestions because I'm still getting errors.
In fact, I supposed is the your same error as our codes are very
similar. At the moment Jason Proctor is the only one who claims to be
successful in video capturing, maybe he could help us resolve the
issue.
Hi All,
Im trying video capture with device and ( recorder.prepare();
causes error and closes my application.) Can any one suggest me where
im going wrong with this code.
public class VideoCapture1 extends Activity {
private MediaRecorder recorder;
private SurfaceHolder
Hi Jason, perhaps you could help me with my code. I was trying to
capture video for two weeks now without success :(
This is my complete code
public class VideoCapture extends Activity
implements SurfaceHolder.Callback {
private static final String TAG
Hi Jason.
What do you mean with my own MediaRecorder code?
On Jul 17, 11:50 am, Jason Proctor jason.android.li...@gmail.com
wrote:
if you're using the camera on the emulator, then you have to disable
auto orientation changes to get it to work. at least, i picked this
info off the network
does it mean there is a bug in this intent android.provider.MediaStore.*
ACTION_VIDEO_CAPTURE*
is anybody have luck?
On Mon, Jul 13, 2009 at 9:11 PM, hanged_man majd...@gmail.com wrote:
Muhammad, i tried the issue locally and it seems to be something wrong
with the camcorder itself (in the
Hi Hanged,
no it doesn't work on emulator and not even on real device. i dont see
anything except application title when i run the above intent
On Sun, Jul 12, 2009 at 12:49 AM, hanged_man majd...@gmail.com wrote:
Zeeshan, does (the intent solution) work on the emulator or not ?
On Jul 12,
Muhammad,
This is the very same problem that i used to have with the camera and
i've managed to get around it with the solution that i suggested
before. However, you might want to send me your source code (or more
like a snippet) and ill try it locally on my machine.
On Jul 13, 11:37 am,
* here is my code:
package* net.sleepy.video;
i*mport* android.app.Activity;
*
import* android.content.Intent;
*
import* android.os.Bundle;
*
public* *class* Capture *extends* Activity {
/** Called when the activity is first created. */
@Override
*public* *void* onCreate(Bundle
Muhammad, i tried the issue locally and it seems to be something wrong
with the camcorder itself (in the emulator), my previously suggested
workaround (http://groups.google.com/group/android-developers/
browse_thread/thread/60005bb7fff2e14f/eec39e24877d8b42?
@Zeeshan
Are you getting a black screen ? if yes that's probably due to a bug
in the emulator (i think starting from the latest 1.5 sdk), you might
as well have noticed that you can't run either the camera or the
camcorder from the emulator, it's not a problem in your code it's
problem in the
i am testing it on real device, i can see only the application title. my
automatic orientation is already disabled .please let me know if anybody has
tested video capture intent?
On Sat, Jul 11, 2009 at 10:58 AM, hanged_man majd...@gmail.com wrote:
@Zeeshan
Are you getting a black screen ? if
Zeeshan, does (the intent solution) work on the emulator or not ?
On Jul 12, 1:10 am, Zeeshan Muhammad genx...@gmail.com wrote:
i am testing it on real device, i can see only the application title. my
automatic orientation is already disabled .please let me know if anybody has
tested video
i tried this intent but it doesn't show anything
startActivityForResult(*new* Intent( android.provider.MediaStore.*
ACTION_VIDEO_CAPTURE*), 2);
On Thu, Jul 9, 2009 at 9:25 AM, hanged_man majd...@gmail.com wrote:
i didn't read this whole thread but i think i got a clear idea of your
problem,
Hi all,
I am also getting same error as mentioned above by coolislandsurf1981.
Can any one please help me to solve this.
Thanks,
Manoj.
On Jun 4, 5:27 am, coolislandsurf1981 nbahad...@gmail.com wrote:
Hi everyone,
I used the code above but the CameraView activity dies (see log
below).
i didn't read this whole thread but i think i got a clear idea of your
problem, why don't you people just use out-of-the-box video recorder
(using intents) instead of implementing your own and getting into lots
of troubles ?
Check out this:
OMG!!!
Good find. I have been looking for how to do this all along. I haven't
tried it out but will post when I do. On the other hand, manoj and
coolislandsurf, android doesn't support MPEG4 encoding, it only
supports H263.
On Jul 9, 11:25 am, hanged_man majd...@gmail.com wrote:
i didn't read
Hi everyone,
I used the code above but the CameraView activity dies (see log
below).
Does the emulator support video recording for sdk1.5 on Windows Vista
+ Eclipse Ganymeade?
If yes, how did you get it to work?
Note:
- I did mount an sdcard image
- I also added permission in manifest:
Hi,
I have a problem similar to zeeshan's. But it doesn't crash, it just
quits the activity during the recorder.prepare().
So, I don't even have an execption to give me a clue from where the
problem come from.
Could you help me please?
Thanks
On 22 mai, 17:19, Jason Proctor
I am trying to capture video with the same code above but it crash at
- recorder.prepare();
cant track what is the problem, does anybody come across similar
problem ; any hint?
On May 7, 11:50 pm, Jason Proctor ja...@particularplace.com wrote:
btw, since streaming movies via HTTP requires the
i am getting ERROR/MediaRecorder(1003): setVideoSource called in an
invalid state(4)
at this line
recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
can you please help me to figure out what is the problem.
i am using the same code Anders wrote above
On May 7, 11:50 pm, Jason Proctor
Hi,
Thanks, I got it to work.
I have one problem though. When I rotate the phone, using automatic
Orientation the onDestroy() method of my activity is called, which
effectively also stops capturing. When the activity is recreated, a
new capture starts. This means I will now have two files for
This is a limitation of the hardware, the preview size and encoded
size must be the same.
I'm not sure how you were able to change the preview size though. I'd
like to know the code sequence you used, because it's not supposed to
be possible.
On May 6, 11:11 am, Jason Proctor
Wait, when you say corruption, you really mean that there's a mismatch
between the metadata and the actual frame size, is that correct?
On May 7, 11:17 am, Jason Proctor ja...@particularplace.com wrote:
i don't change it, it gets changed by the Author Driver presumably
to avoid colliding with
Hi,
Jason, thank you. That really helped a lot. I no longer see onDestroy
being called all the time.
Before setting the orientation to LANDSCAPE, the preview display was
wrong. The display was rotated 90 degrees and the picture a bit
distorted After setting the orientation everything looks the
You need to call setPreviewDisplay() and pass in a SurfaceView before
you call prepare().
On May 6, 8:45 am, Anders Nilsson Plymoth lanils...@gmail.com wrote:
Hi,
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
26 matches
Mail list logo