The following errors i got while recording video. It crashed in libstagefright.
V/videocamera( 1303): startVideoRecording I/DEBUG ( 995): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** I/DEBUG ( 995): Build fingerprint: 'generic/generic/generic/:2.2.1/ MASTER/eng.farzan.20110321.103540:eng/test-keys' I/DEBUG ( 995): pid: 998, tid: 1044 >>> /system/bin/mediaserver <<< I/DEBUG ( 995): signal 11 (SIGSEGV), fault addr 00000000 I/DEBUG ( 995): r0 0002bc54 r1 00000000 r2 4040cce4 r3 00000001 I/DEBUG ( 995): r4 0002bc50 r5 4040cce4 r6 00077ba6 r7 4040ccec I/DEBUG ( 995): r8 00100000 r9 a811b865 10 4030d000 fp 0001e4c0 I/DEBUG ( 995): ip 0002bc48 sp 4040ccb0 lr a2f33763 pc a2f336fc cpsr 00000030 I/DEBUG ( 995): #00 pc 000336fc /system/lib/ libstagefright.so I/DEBUG ( 995): #01 pc 0003375e /system/lib/ libstagefright.so I/DEBUG ( 995): #02 pc 00018636 /system/lib/ libmediaplayerservice.so I/DEBUG ( 995): #03 pc 00018770 /system/lib/ libmediaplayerservice.so I/DEBUG ( 995): #04 pc 00010d6c /system/lib/ libmediaplayerservice.so I/DEBUG ( 995): #05 pc 00031260 /system/lib/libmedia.so I/DEBUG ( 995): #06 pc 000132dc /system/lib/libbinder.so I/DEBUG ( 995): #07 pc 0001652c /system/lib/libbinder.so I/DEBUG ( 995): #08 pc 00016700 /system/lib/libbinder.so I/DEBUG ( 995): #09 pc 0001bf08 /system/lib/libbinder.so I/DEBUG ( 995): #10 pc 0001b474 /system/lib/libutils.so I/DEBUG ( 995): #11 pc 0001b8ca /system/lib/libutils.so I/DEBUG ( 995): #12 pc 00011058 /system/lib/libc.so I/DEBUG ( 995): #13 pc 00010b3c /system/lib/libc.so I/DEBUG ( 995): I/DEBUG ( 995): code around pc: I/DEBUG ( 995): a2f336dc 1c04b510 ffdcf7ff f7ee1c20 1c20edf0 I/DEBUG ( 995): a2f336ec 46c0bd10 1c04b570 6811c002 4e121c15 I/DEBUG ( 995): a2f336fc 447e680a 47986a13 60a06828 d0032800 I/DEBUG ( 995): a2f3370c 31081c21 ec06f7ee 2200480c 61222300 I/DEBUG ( 995): a2f3371c 58336163 73252500 61e33308 f7ee2018 I/DEBUG ( 995): I/DEBUG ( 995): code around lr: I/DEBUG ( 995): a2f33740 bd701c20 00077ba6 000008dc 1c04b570 I/DEBUG ( 995): a2f33750 1c0e2030 eb7cf7ef 1c321c21 f7ff1c05 I/DEBUG ( 995): a2f33760 200cffc7 f7ef69e4 6861eb74 60846005 I/DEBUG ( 995): a2f33770 68636041 60986060 bd702000 1c04b570 I/DEBUG ( 995): a2f33780 6811c002 4e121c15 447e680a 47986a13 I/DEBUG ( 995): I/DEBUG ( 995): stack: I/DEBUG ( 995): 4040cc70 00100000 I/DEBUG ( 995): 4040cc74 a811b865 /system/lib/libutils.so I/DEBUG ( 995): 4040cc78 4030d000 I/DEBUG ( 995): 4040cc7c afd0c741 /system/lib/libc.so I/DEBUG ( 995): 4040cc80 00000001 I/DEBUG ( 995): 4040cc84 4040ccb0 I/DEBUG ( 995): 4040cc88 00000044 I/DEBUG ( 995): 4040cc8c a81247f8 /system/lib/libutils.so I/DEBUG ( 995): 4040cc90 00000000 I/DEBUG ( 995): 4040cc94 00000000 I/DEBUG ( 995): 4040cc98 00029630 [heap] I/DEBUG ( 995): 4040cc9c 0001f778 [heap] I/DEBUG ( 995): 4040cca0 0002c270 [heap] I/DEBUG ( 995): 4040cca4 4040cce4 I/DEBUG ( 995): 4040cca8 df002777 I/DEBUG ( 995): 4040ccac e3a070ad I/DEBUG ( 995): #00 4040ccb0 0001f778 [heap] I/DEBUG ( 995): 4040ccb4 0002bc50 [heap] I/DEBUG ( 995): 4040ccb8 4040cce4 I/DEBUG ( 995): 4040ccbc a2f33763 /system/lib/ libstagefright.so I/DEBUG ( 995): #01 4040ccc0 4040cce4 I/DEBUG ( 995): 4040ccc4 0002c270 [heap] I/DEBUG ( 995): 4040ccc8 a921d880 /system/lib/ libmediaplayerservice.so I/DEBUG ( 995): 4040cccc a9218639 /system/lib/ libmediaplayerservice.so [ 208.420000] binder: release 998:1044 transaction 4383 in, still active [ 208.430000] binder: send failed reply for transaction 4383 to 1303:1303 W/MediaMetadataRetriever( 1190): MediaMetadataRetriever server died! W/AudioSystem( 1052): AudioFlinger server died! W/AudioSystem( 1052): AudioPolicyService server died! W/IMediaDeathNotifier( 1052): media server died I/ServiceManager( 992): service 'media.audio_flinger' died I/ServiceManager( 992): service 'media.camera' died I/ServiceManager( 992): service 'media.audio_policy' died I/ServiceManager( 992): service 'media.player' died W/AudioSystem( 1303): AudioFlinger server died! W/Camera ( 1303): Camera server died! W/AudioSystem( 1303): AudioPolicyService server died! W/IMediaDeathNotifier( 1303): media server died W/Camera ( 1303): ICamera died E/Camera ( 1303): Error 100 V/camera ( 1303): media server died Please help in debugging. Regards, Sreenath On Mar 21, 3:19 pm, sree <[email protected]> wrote: > Hi All, > > I'm trying to use USB camera on Froyo 2.2.1 . I enabled v4l driver > support in kernel . > > I took v4l camera patches from x86 and applied on Froyo. > > Camera is working properly ( bit slow) and able to capture images > also. > > Problem is not able to record video. When i press record button in > video mode camera screen is > > getting freezed and timer thread( recording duration timer) is keep on > incrementing. > > One more problem is Camera/Video Camera preview frame rate is low. > > Following is v4l-info of my camera : > > ### v4l2 device info [/dev/video0] ### > general info > VIDIOC_QUERYCAP > driver : "uvcvideo" > card : "USB 2.0 Camera" > bus_info : "usb-0000:00:1d.7-6" > version : 0.1.0 > capabilities : 0x4000001 [VIDEO_CAPTURE,STREAMING] > > standards > > inputs > VIDIOC_ENUMINPUT(0) > index : 0 > name : "Camera 1" > type : CAMERA > audioset : 0 > tuner : 0 > std : 0x0 [] > status : 0x0 [] > > video capture > VIDIOC_ENUM_FMT(0,VIDEO_CAPTURE) > index : 0 > type : VIDEO_CAPTURE > flags : 0 > description : "YUV 4:2:2 (YUYV)" > pixelformat : 0x56595559 [YUYV] > VIDIOC_G_FMT(VIDEO_CAPTURE) > type : VIDEO_CAPTURE > fmt.pix.width : 640 > fmt.pix.height : 480 > fmt.pix.pixelformat : 0x56595559 [YUYV] > fmt.pix.field : NONE > fmt.pix.bytesperline : 1280 > fmt.pix.sizeimage : 262788743 > fmt.pix.colorspace : SRGB > fmt.pix.priv : 0 > > controls > VIDIOC_QUERYCTRL(BASE+0) > id : 9963776 > type : INTEGER > name : "Brightness" > minimum : -128 > maximum : 127 > step : 1 > default_value : 50 > flags : 0 > VIDIOC_QUERYCTRL(BASE+1) > id : 9963777 > type : INTEGER > name : "Contrast" > minimum : 0 > maximum : 100 > step : 1 > default_value : 36 > flags : 0 > VIDIOC_QUERYCTRL(BASE+2) > id : 9963778 > type : INTEGER > name : "Saturation" > minimum : 0 > maximum : 100 > step : 1 > default_value : 30 > flags : 0 > VIDIOC_QUERYCTRL(BASE+3) > id : 9963779 > type : INTEGER > name : "Hue" > minimum : -20 > maximum : 20 > step : 1 > default_value : 0 > flags : 0 > > ### video4linux device info [/dev/video0] ### > general info > VIDIOCGCAP > name : "USB 2.0 Camera" > type : 0x1 [CAPTURE] > channels : 1 > audios : 0 > maxwidth : 640 > maxheight : 480 > minwidth : 48 > minheight : 32 > > channels > VIDIOCGCHAN(0) > channel : 0 > name : "Camera 1" > tuners : 0 > flags : 0x0 [] > type : CAMERA > norm : 0 > > tuner > ioctl VIDIOCGTUNER: Invalid argument > > audio > ioctl VIDIOCGAUDIO: Invalid argument > > picture > VIDIOCGPICT > brightness : 45746 > hue : 32768 > colour : 19661 > contrast : 23593 > whiteness : 0 > depth : 16 > palette : YUYV > > buffer > ioctl VIDIOCGFBUF: Invalid argument > > window > VIDIOCGWIN > x : 0 > y : 0 > width : 640 > height : 480 > chromakey : 0 > flags : 0 > > Please help me in resolving this issue. > > Regards, > Sreenath -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting
