Project

General

Profile

Actions

Issue #873

closed

video recording doesn't work in replicant 4.2 on s3 (worked in 4.0)

Added by Simon Josefsson over 10 years ago. Updated almost 9 years ago.

Status:
Rejected
Priority:
Normal
Category:
Framework
Target version:
Start date:
03/04/2014
Due date:
% Done:

0%

Estimated time:
Resolution:
invalid
Device:
Galaxy S 3 (I9300)
Grant:
Type of work:

Description

I noticed that video recording doesn't work. It worked fine in replicant 4.0. Using logcat I get the error below when trying to record. If there is anything more I can do to help debug it, let me know.

/Simon

W/StagefrightRecorder( 1906): Target file size (10762809216 bytes) too larger than supported, clip to 4GB
I/MediaRecorderJNI(17629): prepare: surface=0x5d6f4348 (identity=1205)
D/smdk4x12_camera( 1906): smdk4x12_camera_get_parameters(0x40034488)
D/smdk4x12_camera( 1906): smdk4x12_camera_put_parameters(0x40034488)
D/smdk4x12_camera( 1906): smdk4x12_camera_set_parameters(0x40034488, antibanding=auto;antibanding-values=auto,60hz,50hz,off;auto-exposure-lock=false;auto-exposure-lock-supported=true;auto-whitebalance-lock=false;auto-whitebalance-lock-supported=true;effect=none;effect-values=none,mono,negative,sepia,solarize,posterize,washed,vintage-warm,vintage-cold,point-blue,point-red-yellow,point-green;exposure-compensation=0;exposure-compensation-step=0.5;flash-mode=off;flash-mode-values=auto,on,torch,off;focal-length=3.7;focus-areas=(0,0,0,0,0);focus-distances=0.15,1.20,Infinity;focus-mode=continuous-video;focus-mode-values=auto,infinity,macro,fixed,continuous-picture,continuous-video;horizontal-view-angle=63;image-stabilization=off;image-stabilization-values=on,off;iso=auto;iso-values=auto,ISO100,ISO200,ISO400,ISO800;jpeg-quality=90;jpeg-thumbnail-height=120;jpeg-thumbnail-quality=100;jpeg-thumbnail-size-values=160x120,160x90,144x96;jpeg-thumbnail-width=160;max-exposure-compensation=4;max-num-focus-areas=1;max-zoom=30;min-exposure-compensation
D/smdk4x12_camera( 1906): smdk4x12_camera_params_apply: Preview size: 1280x720, picture size: 3264x2448, recording size: 1280x720
D/smdk4x12_camera( 1906): smdk4x12_camera_get_parameters(0x40034488)
D/smdk4x12_camera( 1906): smdk4x12_camera_put_parameters(0x40034488)
D/smdk4x12_camera( 1906): smdk4x12_camera_store_meta_data_in_buffers(0x40034488, 0)
D/smdk4x12_camera( 1906): smdk4x12_camera_store_meta_data_in_buffers(0x40034488, 1)
W/StagefrightRecorder( 1906): Failed to create the encoder
D/CameraSource( 1906): reset: E
W/CameraClient( 1906): attempt to use a locked camera from a different process (old pid 1906, new pid 17629)
D/smdk4x12_camera( 1906): smdk4x12_camera_recording_enabled(0x40034488)
D/CameraSource( 1906): reset: X
E/MediaRecorder(17629): start failed: -2147483648
E/videocamera(17629): Could not start media recorder.
E/videocamera(17629): java.lang.RuntimeException: start failed.
E/videocamera(17629): at android.media.MediaRecorder.start(Native Method)
E/videocamera(17629): at com.android.camera.VideoCamera.startVideoRecording(VideoCamera.java:1584)
E/videocamera(17629): at com.android.camera.VideoCamera.onShutterButtonClick(VideoCamera.java:665)
E/videocamera(17629): at com.android.camera.ShutterButton.performClick(ShutterButton.java:108)
E/videocamera(17629): at android.view.View$PerformClick.run(View.java:17362)
E/videocamera(17629): at android.os.Handler.handleCallback(Handler.java:725)
E/videocamera(17629): at android.os.Handler.dispatchMessage(Handler.java:92)
E/videocamera(17629): at android.os.Looper.loop(Looper.java:137)
E/videocamera(17629): at android.app.ActivityThread.main(ActivityThread.java:5227)
E/videocamera(17629): at java.lang.reflect.Method.invokeNative(Native Method)
E/videocamera(17629): at java.lang.reflect.Method.invoke(Method.java:511)
E/videocamera(17629): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/videocamera(17629): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/videocamera(17629): at dalvik.system.NativeStart.main(Native Method)

Actions #1

Updated by Paul Kocialkowski over 10 years ago

  • Status changed from New to Rejected
  • Resolution set to invalid

I doubt it ever worked fine on 4.0. There have never been free video encoders on Replicant, or at least not usable ones.
If you mean that it worked with the blobs in the past and doesn't anymore, that may be true but this isn't a valid bug report then (even though I might want to clear things up and make it work in the future, which is planned, but not a priority currently).

Actions #2

Updated by Denis 'GNUtoo' Carikli almost 9 years ago

  • Category changed from 117 to Framework
  • Device Galaxy S 3 (I9300) added
Actions

Also available in: Atom PDF