My code is fairly simple:
Code:
ar = new AudioRecord(AudioSource.MIC,44100,AudioFormat.CHANNEL_IN_STEREO,AudioFormat.ENCODING_PCM_16BIT,16640);
Debug on my Galaxy Tab P1000 outputs:
12-10 15:07:41.331: INFO/AudioHardwareALSA(2395): AudioStreamInALSA - input - format = 1, channels = 12, rate = 44100
12-10 15:07:41.331: INFO/AudioHardwareALSA(2395): AudioStreamInALSA - default - format = 1, channels = 16, rate = 44100
12-10 15:07:41.331: INFO/AudioHardwareALSA(2395): AudioStreamInALSA - input - format = 1, channels = 16, rate = 44100
12-10 15:07:41.331: INFO/AudioHardwareALSA(2395): AudioStreamInALSA - default - format = 1, channels = 16, rate = 44100
12-10 15:07:41.331: ERROR/ALSALib(2395): external/alsa-lib/src/pcm/pcm.c:2201snd_pcm_open_noupdate) Unknown PCM AndroidRecord_Speaker
12-10 15:07:41.335: ERROR/ALSALib(2395): external/alsa-lib/src/pcm/pcm.c:2201snd_pcm_open_noupdate) Unknown PCM NULL_Device
12-10 15:07:41.335: INFO/AudioHardwareALSA(2395): Initialized ALSA CAPTURE device NULL_Device
12-10 15:07:41.335: ERROR/AudioHardwareALSA(2395): open (0,0x40000) = -2
12-10 15:07:41.335: ERROR/AudioHardwareALSA(2395): setInputDevice(0 , 0x40000) = -2
12-10 15:07:41.335: ERROR/AudioRecord(3980): Could not get audio input for record source 1
12-10 15:07:41.335: ERROR/AudioRecord-JNI(3980): Error creating AudioRecord instance: initialization check failed.
12-10 15:07:41.335: ERROR/AudioRecord-Java(3980): [ android.media.AudioRecord ] Error code -20 when initializing native AudioRecord object.
I tried various AudioSources, SampleRates, Channels, Encodings, BufferSizes, but it always stops with these errors.
It seems to me that the AudioSource is not transmitted correctly. The tab's "asound.conf" has no "AndroidRecord_Speaker" though it does have an "AndroidRecord_Microphone" which apparantly cannot be accessed by the AudioRecord constructor.
Someone knows at which point the AudioSource ENUM is mapped to the devices in asound.conf?
Or what else might be going wrong?
Related
Hi
Any ideas on how to adjust the a2dp bitpool settings. I am coming from windows mobile where this was easy to do in the registry. The stock bitpool seems to be 32 as per the logcat readout below.
W/BTLD ( 1677): ### :: codec open ::
W/BTLD ( 1677): ### mtu 512, 660 bytes/frame, bitrate 229, nbr ch 0, freq 240
W/BTLD ( 1677): ### alloc : 3, blk len 240, chmode:15, bitpool 32:2, subbands 12
the sound is ok but could be better.
Another interesting part of the logcat is:
V/A2dpAudioInterface( 136): setParameters() bt_headset_name=DRC-BT15;bt_headset_nrec=on
E/AudioHardwareQSD( 136): setParameters() bt_headset_name=DRC-BT15;bt_headset_nrec=on
I/AudioHardwareQSD( 136): Using default acoustic parameters (DRC-BT15 not in acoustic database)
(I wonder what the acoustic database is.)
Any suggestions would be welcome. I did search around and found nothing easily implemented. Also nothing on the market.
Thanks
Hay i´m work on a JelleBean Rom and i have a problem with 720p Movie playing. The Video Sound is good and the Frame is not good. the reproduction stutters. if i istall the MX Player is the self problem with stutters.
this is a logcat from Movie Playing
Code:
11:31:31.866 Debug dalvikvm 1321 GC_CONCURRENT freed 2160K, 50% free 4904K/9799K, paused 4ms+8ms, total 72ms
11:31:31.866 Info ActivityManager 325 Displayed com.android.gallery3d/.app.MovieActivity: +159ms
11:31:32.303 Verbose StateManager 1321 saveState
11:31:32.303 Verbose StateManager 1321 saveState class com.android.gallery3d.app.AlbumSetPage
11:31:32.303 Verbose StateManager 1321 saveState class com.android.gallery3d.app.AlbumPage
11:31:32.303 Verbose StateManager 1321 saveState class com.android.gallery3d.app.PhotoPage
11:31:32.412 Info SampleTable 160 There are reordered frames present.
11:31:32.521 Info OMXCodec 160 [OMX.qcom.video.decoder.avc] Non-Interlaced format detected
11:31:32.521 Info OMXCodec 160 [OMX.qcom.video.decoder.avc] AVC profile = 100 (High), level = 41
11:31:32.521 Debug QCvdec 160
11:31:32.521 Debug QCvdec 160 VDEC Open with new H 720 and W 1280
11:31:32.521 Debug QCvdec 160 portDefn->nBufferSize 1382400 m_height 720 m_width 1280
11:31:32.521 Info OMXCodec 160 [OMX.qcom.video.decoder.avc] Enable frame by frame mode
11:31:32.521 Debug QCvdec 160 portDefn->nBufferSize 1382400 m_height 720 m_width 1280
11:31:32.521 Warning QCvdec 160 get_config: unknown param 117440527
11:31:32.521 Info OMXCodec 160 [OMX.qcom.video.decoder.avc] video dimensions are 1280 x 720
11:31:32.521 Debug QCvdec 160 portDefn->nBufferSize 1382400 m_height 720 m_width 1280
11:31:32.521 Debug MediaPlayer 1321 getMetadata
11:31:32.521 Warning QCvdec 160 H264_Utils::check_header
11:31:32.521 Warning QCvdec 160 check_header: start code 28
11:31:32.521 Warning QCvdec 160 check_header: start code got fisrt NAL 4
11:31:32.521 Warning QCvdec 160 check_header: start code looking for second NAL 4
11:31:32.521 Warning QCvdec 160 Error at extract rbsp line 1548
11:31:32.521 Warning QCvdec 160 check_header: start code partial nal in one buffer 28
11:31:32.521 Warning QCvdec 160 H264_Utils::check_header
11:31:32.521 Warning QCvdec 160 check_header: start code 8
11:31:32.521 Warning QCvdec 160 check_header: start code got fisrt NAL 4
11:31:32.521 Warning QCvdec 160 check_header: start code looking for second NAL 4
11:31:32.521 Warning QCvdec 160 Error at extract rbsp line 1548
11:31:32.521 Warning QCvdec 160 check_header: start code partial nal in one buffer 8
11:31:32.521 Warning QCvdec 160 H264 profile 100, level 41
11:31:32.630 Warning QCvdec 160 vdec_open
11:31:32.630 Warning QCvdec 160 ERROR - adsp: Request cpu_dma_freq read failed
11:31:32.958 Warning QCvdec 160 FA: Setting Tail to NULL
11:31:32.958 Debug QCvdec 160 portDefn->nBufferSize 1382400 m_height 720 m_width 1280
11:31:32.958 Warning QCvdec 160 get_config: unknown param 117440527
11:31:32.958 Info OMXCodec 160 [OMX.qcom.video.decoder.avc] video dimensions are 1280 x 720
11:31:32.958 Warning QCvdec 160 OMXCORE-SM:Recieved command ENABLE (3)
11:31:32.958 Debug QCvdec 160 portDefn->nBufferSize 1382400 m_height 720 m_width 1280
11:31:32.958 Warning QCvdec 160 VideoHeap : fd 33 data 1132441600 size 27160576
11:31:32.958 Warning QCvdec 160 m_heap_ptr =704987336
11:31:33.083 Info SoftAAC2 160 Reconfiguring decoder: 48000 Hz, 2 channels
11:31:33.083 Warning AudioPolicyManager 160 getDeviceForStrategy() unknown strategy: 3
11:31:33.083 Warning AudioPolicyManager 160 getDeviceForStrategy() unknown strategy: 5
11:31:33.083 Warning AudioPolicyManager 160 getDeviceForStrategy() unknown strategy: 3
11:31:33.083 Warning AudioPolicyManager 160 getDeviceForStrategy() unknown strategy: 3
11:31:33.083 Warning AudioPolicyManager 160 getDeviceForStrategy() unknown strategy: 5
11:31:33.083 Info SoftwareRenderer 160 Buffer color format: 0x7FA30C00
11:31:33.083 Info SoftwareRenderer 160 Video params: mWidth: 1280, mHeight: 720, mCropWidth: 1280, mCropHeight: 720, mCropTop: 0, mCropLeft: 0
11:31:51.974 Warning AudioPolicyManager 160 getDeviceForStrategy() unknown strategy: 3
11:31:51.974 Warning AudioPolicyManager 160 getDeviceForStrategy() unknown strategy: 5
11:31:51.974 Warning AudioPolicyManager 160 getDeviceForStrategy() unknown strategy: 3
11:31:51.974 Warning AudioPolicyManager 160 getDeviceForStrategy() unknown strategy: 3
11:31:51.974 Warning AudioPolicyManager 160 getDeviceForStrategy() unknown strategy: 5
11:31:52.208 Warning AudioFlinger 160 session id 6 not found for pid 1321
11:31:52.208 Info GalleryEGLConfigChooser 1321 Config chosen: R5 G6 B5 A0 D24 S8 ID3 CAVEAT12344
11:31:52.208 Info GLRootView 1321 GLObject has changed from [email protected] to [email protected]
11:31:52.208 Info GLRootView 1321 onSurfaceChanged: 480x762, gl10: [email protected]
11:31:52.318 Info GLRootView 1321 onSurfaceChanged: 480x762, gl10: [email protected]
11:31:52.864 Info AudioService 325 AudioFocus abandonAudioFocus() from [email protected]
11:31:55.048 Debug AudioHardwareQSD 160 AudioHardware pcm playback is going to standby.
can help me found the problem???
many thanks
What movie is that?
Anyway, I don't know the issue. I also doubt that anyone in the Q&A section would know how to help with cooking stuff. I suggest you contact some other expert chiefs via PM and ask them.
re
Marvlesz said:
What movie is that?
Anyway, I don't know the issue. I also doubt that anyone in the Q&A section would know how to help with cooking stuff. I suggest you contact some other expert chiefs via PM and ask them.
Click to expand...
Click to collapse
the movie is a test movie from other jellybean post.
Pixelfreak
-pixelfreak- said:
the movie is a test movie from other jellybean post.
Pixelfreak
Click to expand...
Click to collapse
FYI It's Serenity - the firefly movie.
Hopefully some devs can help, might be an idea to point out what libs you're using / where you got them.
re
HypoTurtle said:
FYI It's Serenity - the firefly movie.
Hopefully some devs can help, might be an idea to point out what libs you're using / where you got them.
Click to expand...
Click to collapse
i have insert the
- 720p_Patch_for_JB
- Camera_HW-Video-Encoder_for_HD2_JellyBean_10152012_by_tytung
- OMX_libs_update
from this board
pixelfreak
TO EVERYONE HAVING THE SAME PROBLEM. I FOUND THE SOLUTION. IT HAPPENED TO BE GOOGLE NOW LISTENING SERVICE THAT WAS NOT LETTING ME RECORD ANYTHING. JUST DISABLE GOOGLE NOW LISTENING AT EVERY SCREEN.
I have a problem with Camera. Whenever I try to record a video, it says that I cannot record a video while calling, but I am not in a call. I was using XCam App, but reverting back to stock did not solve it. I patched core.jar using Lucky Patcher but again unpatching did not solve it. I had installed QuickReply and to make it work I had to copy the LGSrttingsAccessibility.apk and .odex from Cloudy Stock 2.5, before that I made a backup of the original files and restored them, but as the other times, it did not work
Finally, I've tried up botting in safe mode and it does not work either. I tried OpenCamera and it works, but I can't get the Stock camera to work.
I do not know what else to do
Anyone has anything to say?
Thank you
Edit: I made a factory reset and it worked but after installing all my apps I cannot again...
I made a logcat. Here it goes.
Code:
V/MediaRecorder(28943): init
V/StagefrightRecorder(20492): init
V/StagefrightRecorder(20492): setAudioSource: 5
V/MediaRecorderJNI(28943): process_media_recorder_call
V/MediaRecorderJNI(28943): setVideoSource(1)
V/MediaRecorder(28943): setVideoSource(1)
E/mm-camera(20493): [First_VideoAF] Video Parse Video
V/StagefrightRecorder(20492): setVideoSource: 1
V/MediaRecorderJNI(28943): process_media_recorder_call
V/MediaRecorderJNI(28943): setOutputFormat(2)
V/MediaRecorder(28943): setOutputFormat(2)
V/StagefrightRecorder(20492): setOutputFormat: 2
V/MediaRecorderJNI(28943): process_media_recorder_call
V/MediaRecorderJNI(28943): setVideoSize(1920, 1080)
V/MediaRecorder(28943): setVideoSize(1920, 1080)
V/StagefrightRecorder(20492): setVideoSize: 1920x1080
V/MediaRecorderJNI(28943): process_media_recorder_call
V/MediaProfilesEx-JNI(28943): native_has_camcorder_profile: 0 6
V/MediaProfilesEx-JNI(28943): native_get_camcorder_profile: 0 6
V/MediaProfiles(28943): getCamcorderProfileParamByName: duration for camera 0, q
uality 6
V/MediaProfiles(28943): getCamcorderProfileParamByName: file.format for camera 0
, quality 6
V/MediaProfiles(28943): getCamcorderProfileParamByName: vid.codec for camera 0,
quality 6
V/MediaProfiles(28943): getCamcorderProfileParamByName: vid.bps for camera 0, qu
ality 6
V/MediaProfiles(28943): getCamcorderProfileParamByName: vid.fps for camera 0, qu
ality 6
V/MediaProfiles(28943): getCamcorderProfileParamByName: vid.width for camera 0,
quality 6
V/MediaProfiles(28943): getCamcorderProfileParamByName: vid.height for camera 0,
quality 6
V/MediaProfiles(28943): getCamcorderProfileParamByName: aud.codec for camera 0,
quality 6
V/MediaProfiles(28943): getCamcorderProfileParamByName: aud.bps for camera 0, qu
ality 6
V/MediaProfiles(28943): getCamcorderProfileParamByName: aud.hz for camera 0, qua
lity 6
V/MediaProfiles(28943): getCamcorderProfileParamByName: aud.ch for camera 0, qua
lity 6
V/MediaRecorderJNI(28943): setVideoFrameRate(30)
V/MediaRecorder(28943): setVideoFrameRate(30)
V/StagefrightRecorder(20492): setVideoFrameRate: 30
V/MediaRecorderJNI(28943): process_media_recorder_call
V/MediaRecorderJNI(28943): setParameter()
V/MediaRecorder(28943): setParameters(video-param-encoding-bitrate=20000000)
V/StagefrightRecorder(20492): setParameters: video-param-encoding-bitrate=200000
00
V/StagefrightRecorder(20492): setParameter: key (video-param-encoding-bitrate) =
> value (20000000)
V/StagefrightRecorder(20492): setParamVideoEncodingBitRate: 20000000
V/MediaRecorderJNI(28943): process_media_recorder_call
V/MediaRecorderJNI(28943): setAudioEncoder(3)
V/MediaRecorder(28943): setAudioEncoder(3)
V/StagefrightRecorder(20492): setAudioEncoder: 3
V/MediaRecorderJNI(28943): process_media_recorder_call
V/MediaRecorderJNI(28943): setVideoEncoder(2)
V/MediaRecorder(28943): setVideoEncoder(2)
V/StagefrightRecorder(20492): setVideoEncoder: 2
V/MediaRecorderJNI(28943): process_media_recorder_call
V/MediaRecorderJNI(28943): setMaxFileSize(4294967295)
V/MediaRecorder(28943): setParameters(max-filesize=4294967295)
V/StagefrightRecorder(20492): setParameters: max-filesize=4294967295
V/StagefrightRecorder(20492): setParameter: key (max-filesize) => value (4294967
295)
V/StagefrightRecorder(20492): setParamMaxFileSizeBytes: 4294967295 bytes
V/MediaRecorderJNI(28943): process_media_recorder_call
V/MediaRecorderJNI(28943): setMaxDuration(7200000)
V/MediaRecorder(28943): setParameters(max-duration=7200000)
V/StagefrightRecorder(20492): setParameters: max-duration=7200000
V/StagefrightRecorder(20492): setParameter: key (max-duration) => value (7200000
)
V/StagefrightRecorder(20492): setParamMaxFileDurationUs: 7200000000 us
V/MediaRecorderJNI(28943): process_media_recorder_call
V/MediaRecorderJNI(28943): setParameter()
V/MediaRecorder(28943): setParameters(video-param-rotation-angle-degrees=0)
V/StagefrightRecorder(20492): setParameters: video-param-rotation-angle-degrees=
0
V/StagefrightRecorder(20492): setParameter: key (video-param-rotation-angle-degr
ees) => value (0)
V/StagefrightRecorder(20492): setParamVideoRotation: 0
V/MediaRecorderJNI(28943): process_media_recorder_call
V/MediaRecorderJNI(28943): setOutputFile
V/MediaRecorder(28943): setOutputFile(63, 0, 0)
V/StagefrightRecorder(20492): setOutputFile: 123, 0, 0
V/MediaRecorderJNI(28943): process_media_recorder_call
V/MediaRecorderJNI(28943): prepare
V/MediaRecorderJNI(28943): get_surface
I/MediaRecorderJNI(28943): prepare: surface=0x62f15578
V/MediaRecorder(28943): setPreviewSurface(0x62f15540)
V/StagefrightRecorder(20492): setPreviewSurface: 0xb72cbb40
V/MediaRecorderJNI(28943): process_media_recorder_call
V/MediaRecorder(28943): prepare
V/MediaRecorderJNI(28943): process_media_recorder_call
V/AudioFlinger(20492): isRecording() voiceActivationState 0
D/AudioFlinger(20492): getParameters audiorecording_state = on
V/MediaRecorderJNI(28943): release
V/MediaRecorder(28943): setListener
V/MediaRecorder(28943): release
V/StagefrightRecorder(20492): Destructor
V/StagefrightRecorder(20492): stop
V/MediaPlayerService(20492): Delete media recorder client
V/MediaRecorder(28943): destructor
D/CameraClient(20492): lock (pid 28943)
D/CameraClient(20492): connect E (pid 28943)
D/CameraClient(20492): connect X (pid 28943)
I/Vold ( 284): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:cpu, action
:0
I/Vold ( 284): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:cpu, action
:0
E/CameraApp(28943): [RecordingController.java:480:callStartRecording()-[Thread:U
I] Could not start media recorder
I/Vold ( 284): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:cpu, action
:0
E/mm-camera(20493): [First_VideoAF] Video Parse Video
D/CameraApp(28943): TIME CHECK : Shot to Shot [END] - setMainButtonEnable()
I/Vold ( 284): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:power_suppl
y, action:3
E/BatteryObserver( 1179): usb Uevent not necessary.
V/RenderScript(28943): Application requested CPU execution
V/RenderScript(28943): 0x60b3c040 Launching thread(s), CPUs 4
D/TangibleManager( 1595): [TangibleIO] TangibleIntentReceiver onReceive intent =
Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras)
}
D/OtgUmsTangibleController( 1595): [TangibleIO] OtgUmsTangibleController onActio
n action = android.intent.action.BATTERY_CHANGED
D/UsbTangibleController( 1595): [TangibleIO] UsbTangibleController action = andr
oid.intent.action.BATTERY_CHANGED
D/KeyguardUpdateMonitor( 1162): received broadcast android.intent.action.BATTERY
_CHANGED
W/Settings( 1045): Setting stay_on_while_plugged_in has moved from android.provi
der.Settings.System to android.provider.Settings.Global, returning read-only val
ue.
W/Settings( 1045): Setting wifi_sleep_policy has moved from android.provider.Set
tings.System to android.provider.Settings.Global, returning read-only value.
D/HeadsetTangibleController( 1595): [TangibleIO] HeadsetTangibleController onAct
ion action = android.intent.action.BATTERY_CHANGED
I/[SystemUI]LGPowerUI( 1162): [LGPowerUI.java:766:batteryThermNotification()]bat
teryThermNotification temperature : 283 plugged : true isCharging : true
D/WifiController( 1045): battery changed pluggedType: 2
I/Vold ( 284): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:power_suppl
y, action:3
I/[SystemUI]LGPowerUI( 1162): [LGPowerUI.java:775:batteryThermNotification()]Sto
pCharging degree: 500
D/KeyguardUpdateMonitor( 1162): handleBatteryUpdate (2) (89)
D/KeyguardUpdateMonitor( 1162): received broadcast android.intent.action.BATTERY
_CHANGED
I/[SystemUI]LGPowerUI( 1162): [LGPowerUI.java:766:batteryThermNotification()]bat
teryThermNotification temperature : 282 plugged : true isCharging : true
E/mm-camera(20493): [First_VideoAF] Video Parse Video
W/Settings( 1045): Setting stay_on_while_plugged_in has moved from android.provi
der.Settings.System to android.provider.Settings.Global, returning read-only val
ue.
W/Settings( 1045): Setting wifi_sleep_policy has moved from android.provider.Set
tings.System to android.provider.Settings.Global, returning read-only value.
D/TangibleManager( 1595): [TangibleIO] TangibleIntentReceiver onReceive intent =
Intent { act=android.intent.action.BATTERY_CHANGED flg=0x60000010 (has extras)
}
D/OtgUmsTangibleController( 1595): [TangibleIO] OtgUmsTangibleController onActio
n action = android.intent.action.BATTERY_CHANGED
D/UsbTangibleController( 1595): [TangibleIO] UsbTangibleController action = andr
oid.intent.action.BATTERY_CHANGED
D/HeadsetTangibleController( 1595): [TangibleIO] HeadsetTangibleController onAct
ion action = android.intent.action.BATTERY_CHANGED
I/[SystemUI]LGPowerUI( 1162): [LGPowerUI.java:775:batteryThermNotification()]Sto
pCharging degree: 500
D/KeyguardUpdateMonitor( 1162): handleBatteryUpdate (2) (89)
D/WifiController( 1045): battery changed pluggedType: 2
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
I/Vold ( 284): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:cpu, action
:0
V/AudioFlinger(20492): stop(4096), calling pid 28943
V/AudioFlinger(20492): not stopping/stopped => stopping/stopped (4096) on thread
0xb2526008
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
D/KeyguardUpdateMonitor( 1162): received broadcast android.intent.action.TIME_TI
CK
D/KeyguardUpdateMonitor( 1162): handleTimeUpdate
D/KeyguardModel( 1162): mReceiver, received action: android.intent.action.TIME_T
ICK, sendingUserId:-1
D/WeatherService( 1921): 2 : TimeTick Intent has been received, Time(hour:min:se
c) 12:53:0
D/WeatherService( 1921): 2 : TimeTick Intent And Screen On
D/WeatherService( 1921): 2 : SDK version : 19
D/WeatherQuickCover( 1921): 2 : quick cover state : opened : 0
D/Weather.Utils( 1921): 2 : Utils getTopActivity com.lge.launcher2 / false
D/Weather.Utils( 1921): 2 : Utils getTopActivity com.lge.easyhome / false
D/WeatherService( 1921): 2 : shouldTimeTickRegistered : false
D/WeatherService( 1921): 2 : TimeTick Receiver Unregister
D/WeatherService( 1921): 2 : TimeTick Intent has been processed, Time(hour:min:s
ec) 12:53:0
D/Clock ( 1162): Clock updated, drawingStartTime : 1409136780033, nextTick: 60
000, mDrawingTime: 0
D/Clock ( 1162): Clock updated, drawingStartTime : 1409136780033, nextTick: 60
000, mDrawingTime: 0
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
I/Vold ( 284): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:cpu, action
:0
E/mm-camera(20493): [First_VideoAF] Video Parse Video
I/Vold ( 284): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:cpu, action
:0
E/mm-camera(20493): [First_VideoAF] Video Parse Video
D/WifiStateMachine( 1045): handleMessage: E msg.what=131155
D/WifiStateMachine( 1045): processMsg: ConnectedState
D/WifiStateMachine( 1045): processMsg: L2ConnectedState
D/WifiNative-wlan0( 1045): doString: SIGNAL_POLL
D/wpa_supplicant(17890): RX ctrl_iface - hexdump(len=11): 53 49 47 4e 41 4c 5f 5
0 4f 4c 4c
D/wpa_supplicant(17890): wlan0: Control interface command 'SIGNAL_POLL'
E/mm-camera(20493): [First_VideoAF] Video Parse Video
D/wpa_supplicant(17890): nl80211: survey data missing!
D/WifiStateMachine( 1045): handleMessage: X
I/Vold ( 284): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:power_suppl
y, action:3
E/BatteryObserver( 1179): usb Uevent not necessary.
I/Vold ( 284): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:power_suppl
y, action:3
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
I/qcom_sensors_hal( 1045): _hal_sensors_batch: period_ns=66667000 sns_hndl: 0 ti
meout: 0 flags:0x0
I/qcom_sensors_hal( 1045): hal_acquire_resources, found active sensor handle=0,
sample_rate=15 report_rate=0 WuFF=0 batched=0
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
I/Vold ( 284): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:power_suppl
y, action:3
E/BatteryObserver( 1179): usb Uevent not necessary.
I/Vold ( 284): [LGE][VOLD][NetlinkHandler.cpp][onEvent()] subsys:power_suppl
y, action:3
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
V/WindowOrientationListener( 1045): Proposed rotation changed! : currentRotation
=0, proposedRotation=0, oldProposedRotation=-1, predictedRotation=0, timeDeltaMS
=67.13867, isAccelerating=false, isFlat=false, isSwinging=false, timeUntilSettle
dMS=0.0, timeUntilAccelerationDelayExpiredMS=0.0, timeUntilFlatDelayExpiredMS=0.
0, timeUntilSwingDelayExpiredMS=0.0
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
V/AudioFlinger(20492): Audio hardware entering standby, mixer 0xb2526008, suspen
d count 0
V/audio_hw_primary(20492): out_standby: enter: usecase(1: low-latency-playback)
E/mm-camera(20493): [First_VideoAF] Video Parse Video
V/audio_hw_primary(20492): stop_output_stream: enter: usecase(1: low-latency-pla
yback)
V/audio_hw_primary(20492): out->usecase 1, out->format = 1
V/audio_hw_primary(20492): disable_audio_route: enter: usecase(1)
V/msm8974_platform_lge(20492): platform_lge_add_backend_name: enter:
V/audio_hw_primary(20492): disable_audio_route: reset mixer path: low-latency-pl
ayback
V/audio_hw_primary(20492): disable_audio_route: exit
D/hardware_info(20492): hw_info_append_hw_type : device_name = speaker
V/audio_hw_primary(20492): disable_snd_device: snd_device(2: speaker)
V/audio_hw_primary(20492): stop_output_stream: exit: status(0)
V/audio_hw_primary(20492): out_standby: exit
V/AudioFlinger(20492): releaseWakeLock_l() AudioOut_3
V/AudioFlinger(20492): thread 0xb2526008 type 0 TID 20551 going to sleep
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
V/WindowOrientationListener( 1045): Proposed rotation changed! : currentRotation
=0, proposedRotation=0, oldProposedRotation=-1, predictedRotation=0, timeDeltaMS
=67.13867, isAccelerating=false, isFlat=false, isSwinging=false, timeUntilSettle
dMS=0.0, timeUntilAccelerationDelayExpiredMS=0.0, timeUntilFlatDelayExpiredMS=0.
0, timeUntilSwingDelayExpiredMS=0.0
E/mm-camera(20493): [First_VideoAF] Video Parse Video
E/mm-camera(20493): [First_VideoAF] Video Parse Video
^C
C:\Users\Felipe\Desktop\ADB>
I have the same problem (D802 - lollipop) I disabled google now and voice mate but still failling with OpenCV. I found the same error in other apps that use cameras, i think is a bug in lg software.
Ever since mm update the bt aptx connection skips/freezes momentarily. I haven't isolated an exact pattern, seems to happen more often in some setups than others. For instance, listening to bt aptx music via Google music play results in often freezes on my both headsets, sennheiser mm400 and telme2. Listening via poweramp however yields less skips but it happens. I am really bothered by this new issue, as I thought, after upgrading to this phone, that I have finally found the perfect bt listening device.
I'd like to know if there's other people affected by this so I can report to Sony, so if you could bother to answer this informal poll, with fw revision, app where this problem occurs and frequency.
Thanks
Sent from my E6653 using Tapatalk
Customized NOBA, 32.1.A.1.163/R10C, Google Music, very often, while screen off or on.
Sent from my E6653 using Tapatalk
Does it happen on stock music player?
gm007 said:
Does it happen on stock music player?
Click to expand...
Click to collapse
It doesn't. But it might be not fully related to bt as I had to copy the flac test file from ext sdcard as stock music player didn't like my external storage configuration. Strangely so, cause I'm almost sure it used to work before. How would you force start media scanner?
Sent from my E6653 using Tapatalk
Not sure about media scanning for music,but for pictures there is in album app a media fix that can scan for all the pictures.
Maybe clear data for music app.
It's not related to storage location, I think. I just realized gm was storing its sh1t on internal sdcard. Just changed that. So the skipping/stuttering happens mostly in google music. It also happens in poweramp and gmmp but less frequently, less skipping and less artifacts too. The Google music skipping mostly occurs when using the phone for other tasks such as navigating Tapatalk or typing here. I dunno what to think of stock music player. Don't tell me Sony won't look at this if only happens in third party apps.
Sent from my E6653 using Tapatalk
Maybe stock music has bigger buffer that's why it's not skipping.
Do power amp or google music has some setting to increase the buffer?
gm007 said:
Maybe stock music has bigger buffer that's why it's not skipping.
Do power amp or google music has some setting to increase the buffer?
Click to expand...
Click to collapse
Not specific to bt. Poweramp has a bt thread priority that haven't tried yet. However, I'm listening Google music wired, same headset as earlier but wired, no issues.
Sent from my E6653 using Tapatalk
Hey there. Thanks for creating this thread. I'm on the very same boat.
Z5 dual here, E6683. I tried 'customized RU' and 'customized HK' but both present the very same problems. I tried many things and it does seem like a CPU bound problem but it's still quite random. Sometimes I can listen to music for a while without problems, but then it will start skipping like crazy and you have to stop it. Wired headsets work fine. It's true that seems to happen more on Google Music for me too, but it's happening also but less often on Tune-in or Spotify.
It has been incredibly frustrating. I use bt audio a lot so this makes my device unusable. Sort of fed up at this moment with Sony. It's march now, 6 months after release, and my device is still not working as it should on release day. MM did fix lots of issues thought, but it sort of feels Sony is in perpetual beta with their flagship device.
Mine was doing the same, and often, reboot fixed it pretty much for me
I had the z5 connected to my car bt, listened to google music on my way home, about 30 minutes, no problem whatsoever. But the car bt is not aptx..I am going to look at logcat tomorrow. Anyways, unless more mm z5 owners come forward with this issue it's hard to convince Sony there's a problem at all. And I didn't even see one mention of this on talk.sonymobile forums.
Sent from my E6653 using Tapatalk
danw_oz said:
Mine was doing the same, and often, reboot fixed it pretty much for me
Click to expand...
Click to collapse
It didn't here. I mean between reboots I'd get smoother streaming for a while, then it's back again to freezing and noise artifacts. I am trying for a while now to find a pattern in this, maybe another app that interferes, something in our setup that causes it. I am close to factory reset and try again, I will take a look at logcat though I don't hope for too much.
Sent from my E6653 using Tapatalk
I use dayli bt audio and I don't have any issue.. (true only stock music player) (android 6.0)
This has been happening with Android for age's you can find threads on this all over the Internet. But it's hit and miss as to what devices it happens with. I'm my car I don't have any problems with bt skip but in the house from my phone to my Arcam rblink it skips and yes is bothers me too I've tried to isolate what app or what ever it may be in the phone but nothing... and like wise surcingles the Web no one seems to have a fix. Well now I'm on MM I can give up thinking a fix might come in this upgrade.... well it didn't.
S6 edge Clear View Cover fix. https://youtu.be/lA6giyj1z7U
Loz
Sent from my SM-G925F using XDA Free mobile app
It worked perfectly for me in lollipop.
Sent from my E6653 using Tapatalk
It's the issue with the 4G, 2.4G, 5G signal that we commonly encounter , they interfere with the ldac and the aptx bt transmission. Furthermore, what I found is that the freezing issue is highly related to the cpu using and the internet using. Turn your phone into flight mode and left only bt open and check again.
I've noticed a skipping/cutting behaviour when listening through bt in my car. No problem whatsoever when on lollipop but now it's terrible. It's actually in a state where I'm forced to use something else as a source.
Obviously, when the only thing that have changed is the OS version it's easy too assume some kind of bug. Worked flawlessly with my z3 and z5 lollipop.
Marshmallow has been a nightmare so far i terms of audio.
hunterfred said:
It's the issue with the 4G, 2.4G, 5G signal that we commonly encounter , they interfere with the ldac and the aptx bt transmission. Furthermore, what I found is that the freezing issue is highly related to the cpu using and the internet using. Turn your phone into flight mode and left only bt open and check again.
Click to expand...
Click to collapse
Flight mode wouldn't work for me as I do a lot of streaming music live.?
S6 edge Clear View Cover fix. https://youtu.be/lA6giyj1z7U
Loz
Sent from my SM-G925F using XDA Free mobile app
hunterfred said:
It's the issue with the 4G, 2.4G, 5G signal that we commonly encounter , they interfere with the ldac and the aptx bt transmission. Furthermore, what I found is that the freezing issue is highly related to the cpu using and the internet using. Turn your phone into flight mode and left only bt open and check again.
Click to expand...
Click to collapse
I tried the airplane mode in spite of being a bit skeptic about this: after listening for half an hour I can conclude airplane mode (with bt on) helps, I didn't experience any significant freeze with google music (in offline mode)
This is a logcat main buffer log from INFO onwards, I logged these line every time I had any kind of freeze: of course I missed some lines and especially didn't put down single 'underrun' lines (occurring only one at a time) that didn't seem to impact that much, ie no freezing/stuttering I could easily tell. More 'underrun' lines, the bigger the gap/freeze. Sometimes I tried to trigger the problem by turning the screen on, etc. As you can see, the issue happens fairly often, at least once in 5 minutes.
I intend to create an entry on talk.sonymobile later today where I will resume our collective experience and invite you all to also add your comments over there.
Code:
03-16 08:48:15.460 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 08:48:15.470 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 08:48:15.485 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
3-16 08:51:25.852 9738 10575 W bt_btif : underrun only read 192 bytes out of 240
03-16 08:51:25.862 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 08:51:25.872 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 08:51:27.803 9738 9959 W bt_hci_packet_fragmenter: reassemble_and_dispatch complete l2cap packet received:l2cap full length 5 and hci length 13.
03-16 08:57:41.825 9738 10575 W bt_btif : underrun only read 80 bytes out of 240
03-16 08:57:41.835 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 08:57:41.845 9738 10575 W bt_btif : underrun only read 0 bytes out of 224
03-16 08:57:41.856 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 08:57:41.870 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 09:01:16.880 9738 10575 W bt_btif : underrun only read 176 bytes out of 224
03-16 09:01:16.890 9738 10575 W bt_btif : underrun only read 0 bytes out of 224
03-16 09:01:16.901 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 09:01:39.080 9738 10575 W bt_btif : underrun only read 32 bytes out of 224
03-16 09:02:37.406 9738 9959 W bt_hci_packet_fragmenter: reassemble_and_dispatch complete l2cap packet received:l2cap full length 5 and hci length 13.
03-16 09:02:38.059 1812 2036 I DisplayManagerService: Display device changed state: "Built-in Screen", OFF
03-16 09:02:40.299 1812 3695 I AccountManagerService: getTypesVisibleToCaller: isPermitted? true
03-16 09:02:40.324 3258 4527 I Icing : Performing maintenance.
03-16 09:02:40.385 9738 10575 W bt_btif : underrun only read 112 bytes out of 240
03-16 09:02:40.395 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 09:02:40.445 1812 3939 E LocSvc_libulp: E/int ulp_brain_transition_all_providers(), no QUIPC/GNSS transition logic run due to both engines are OFF
03-16 09:02:40.483 4704 4704 I GCoreUlr: Starting service, intent=Intent { act=com.google.android.location.reporting.ACTION_UPDATE_ACTIVE_STATE cmp=com.google.android.gms/com.google.android.location.reporting.service.DispatchingService (has extras) }, extras=Bundle[{source=PowerModeReceiver}]
03-16 09:02:40.492 4704 5018 I GCoreUlr: Successfully inserted 1 locations
03-16 09:02:40.494 4704 5018 I GCoreUlr: Cancelling scheduled uploads
03-16 09:02:40.496 4704 5018 I GCoreUlr: Not calling LocationReporter, hasMoved: true, elapsed millis: 298539, request: Moving(600000)
03-16 09:02:40.497 4704 5018 I GCoreUlr: Scheduling next upload for 301461ms from now
03-16 09:02:40.545 4704 5018 I GCoreUlr: DispatchingService.updateActiveState+PowerModeReceiver: Ensuring that reporting is active for [account#8#]
03-16 09:02:40.565 9738 10575 W bt_btif : underrun only read 144 bytes out of 240
03-16 09:02:40.575 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 09:02:40.586 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 09:02:40.590 4704 5018 I GCoreUlr: GMS FLP location and AR updates requested: {"description":"default","newRequest":true,"samplePeriodMs":120000,"sampleReason":"default","sampleSource":"internal","timestampMs":1458133360518}
03-16 09:02:40.596 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 09:02:40.609 4704 5018 I GCoreUlr: Place inference reporting - stopped
03-16 09:02:40.610 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 09:02:40.624 4704 5018 I GCoreUlr: Cancelling scheduled uploads
03-16 09:02:40.625 9738 10575 W bt_btif : underrun only read 0 bytes out of 240
03-16 09:02:40.625 4704 5018 I GCoreUlr: Not calling LocationReporter, hasMoved: true, elapsed millis: 298669, request: Moving(600000)
03-16 09:02:40.625 4704 5018 I GCoreUlr: Scheduling next upload for 301331ms from now
When I record a video on my G6 (from T-mobile) and set the video resolution to FHD 16:9 60fps, the resulting MP4 video files have an incorrect frame rate. I see 59.51fps, instead of the expected 60.00 or 59.94. The result of this is that any video that's more than a few seconds long has audio/video getting out of sync, and the de-sync gets worse further into the video.
Here is the (trimmed) output from the ffprobe utility (from the ffmpeg project):
Code:
> ffprobe take1.mp4
ffprobe version 2.8.11-0ubuntu0.16.04.1 Copyright (c) 2007-2017 the FFmpeg developers
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'take1.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2017-10-22 01:04:08
location : [redacted]
location-eng : [redacted]
Duration: 00:02:43.91, start: 0.000000, bitrate: 24154 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709/bt709/smpte170m), 1920x1080, 23980 kb/s, SAR 1:1 DAR 16:9, 59.51 fps, 90k tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2017-10-22 01:04:08
handler_name : VideoHandle
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 155 kb/s (default)
Metadata:
creation_time : 2017-10-22 01:04:08
handler_name : SoundHandle
I was able to fix the time stamps (PTSs) using the mkvmerge utility, but that isn't the best solution. This does seem like an actual bug. Here's hoping that anyone from LG's engineering team checks this subreddit!