vieuxcarre44 / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

recorderCaptureVideo results in blank video #435

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What device(s) are you experiencing the problem on?

Samsung Captivate

What firmware version are you running on the device?

2.1

What steps will reproduce the problem?
1. use recorderCaptureVideo in a python script
2. ???
3. don't profit?

What is the expected output? What do you see instead?

The expected output was a video saved in the location I passed into the 
function.  The file shows up once recording is finished, but it has no video, 
only audio.

What version of the product are you using? On what operating system?

The latest SL4A release _r2, I believe and Python 2.6.2.  Android 2.1 is the OS.

Please provide any additional information below.

Here's the script:

import android
droid = android.Android()
droid.recorderCaptureVideo("sdcard/videos/testvid.3gp", 5, 0)

Original issue reported on code.google.com by evanbooth@gmail.com on 16 Sep 2010 at 8:15

GoogleCodeExporter commented 9 years ago
I forgot to mention that cameraCapturePicture and 
startInteractiveVideoRecording both work just fine.

Original comment by evanbooth@gmail.com on 16 Sep 2010 at 8:18

GoogleCodeExporter commented 9 years ago
On my T-Mobile Touch G2 (aka HTC Hero) startInteractiveVideoRecording ignores 
the path argument completely (it records to \100MEDIA\VIDEOnnnn.g3p), 
cameraCapturePicture honores the path, but produces a completely black 1024x768 
picture. cameraInteractiveCapturePicture works, sort of, but is fixed to a 
640x480 (i.e. low) resulution. 

(SL4A V4, Python 2.6.2)

Original comment by willison...@googlemail.com on 25 Dec 2010 at 11:23