Trace
Trace
984732][627d] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2025-02-
03 03:29:54 +0000
[000:055] [2025-02-03 03:29:54 +0000.984810][627d] set AppID=50011 old AppID=-1
[000:055] [2025-02-03 03:29:54 +0000.984834][627d] Init the android object with
jvm:0xb4000078846c1380 env:0x77c42e4160 context:0x775eec6888
[711:054] [2025-02-10 07:35:35 +0000.303315][3323] h264 add frame header cdr flag
[711:054] [2025-02-10 07:35:35 +0000.303380][3323] Received key frame:11994
[711:054] [2025-02-10 07:35:35 +0000.303962][3327] get the H.264 IDR frame
[711:056] [2025-02-10 07:35:35 +0000.305303][3316] CleanUp leave. expire time = 2
ms
[853:827] [2025-02-10 07:37:58 +0000.77146][35b3] Get data in mic source, which has
byte length:1764micAudioStream->length():20
[853:828] [2025-02-10 07:37:58 +0000.77339][35b3] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[853:839] [2025-02-10 07:37:58 +0000.88583][2c29] webrtc common_video plane
old ..... (1/1000) new: 92001 delete: 91983 diff: 18
[853:840] [2025-02-10 07:37:58 +0000.89420][2c29] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[853:845] [2025-02-10 07:37:58 +0000.94434][35b8] DTS queue for
Generator:0x77463816b8 3141
[853:850] [2025-02-10 07:37:58 +0000.99190][2c2d] haveEnoughProcessedData
internalAudioStream.length: 0
[853:871] [2025-02-10 07:37:58 +0000.120473][35b1]
RecordAudioSource::PullAudioFrame
[853:967] [2025-02-10 07:37:58 +0000.216311][2c29] drawYUV420 render
OpenGLRenderProgram:0x773d13cb98
[853:971] [2025-02-10 07:37:58 +0000.220243][35b8] Push an pts:3268 to dts queue.
[854:011] [2025-02-10 07:37:58 +0000.260738][35b8] last dts:3236 currentPts:3268
ppsOrSPS:0 queue length:2
[854:124] [2025-02-10 07:37:58 +0000.373415][2c2d] Run AGC when audioType = 0
[854:169] [2025-02-10 07:37:58 +0000.419130][2c29] The convert RGB to YUV take 1
[854:333] [2025-02-10 07:37:58 +0000.582458][2c29] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[854:369] [2025-02-10 07:37:58 +0000.618848][35b1] AF_SpeedFilter audio
0x7770b12000 PullFrame
[854:667] [2025-02-10 07:37:58 +0000.916815][2c29] The convert RGB to YUV take 1
[854:671] [2025-02-10 07:37:58 +0000.920711][35b8] DTS queue for
Generator:0x77463816b8 3967
[854:695] [2025-02-10 07:37:58 +0000.944412][35b7]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 3900queue_audio_frame_:8
[854:741] [2025-02-10 07:37:58 +0000.990830][35b8] h264 add frame header cdr flag
[854:741] [2025-02-10 07:37:58 +0000.991116][35b8] Received key frame:4002
[854:775] [2025-02-10 07:37:59 +0000.25157][35b9] get the H.264 IDR frame
[854:830] [2025-02-10 07:37:59 +0000.79225][35b3] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[854:831] [2025-02-10 07:37:59 +0000.80294][2c29] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[855:072] [2025-02-10 07:37:59 +0000.321752][35b1] resampled_data_size:15872
[855:153] [2025-02-10 07:37:59 +0000.402958][35b1] AF_SpeedFilter::PullFrame eof4
[855:167] [2025-02-10 07:37:59 +0000.416404][2c29] The convert RGB to YUV take 3
[855:176] [2025-02-10 07:37:59 +0000.425944][35b1]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[855:203] [2025-02-10 07:37:59 +0000.452274][2c29] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[855:304] [2025-02-10 07:37:59 +0000.554144][35b8] Push an pts:4603 to dts queue.
[855:333] [2025-02-10 07:37:59 +0000.582839][2c29] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[855:340] [2025-02-10 07:37:59 +0000.589583][35b8] SendFrame
encodedImage._timeStamp:4603encodedImage->_length:27904
[855:340] [2025-02-10 07:37:59 +0000.589714][35b8] last dts:4569 currentPts:4603
ppsOrSPS:0 queue length:2
[855:399] [2025-02-10 07:37:59 +0000.648831][35b8]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:4698
[855:504] [2025-02-10 07:37:59 +0000.753923][35b8] DTS queue for
Generator:0x77463816b8 4769 4800
[855:561] [2025-02-10 07:37:59 +0000.811089][2c2d] haveEnoughProcessedData
internalAudioStream.length: 0
[855:659] [2025-02-10 07:37:59 +0000.908751][35b1]
RecordAudioSource::PullAudioFrame
[855:672] [2025-02-10 07:37:59 +0000.921468][2c29] The convert RGB to YUV take 2
[855:808] [2025-02-10 07:38:00 +0000.57521][35b8] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:5071 pts:5071
[855:824] [2025-02-10 07:38:00 +0000.73676][35b3] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[855:832] [2025-02-10 07:38:00 +0000.81826][2c29] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[855:869] [2025-02-10 07:38:00 +0000.118636][2c29] GPUImageProcessing: process
video frame with resolution 1280 X 720
[855:869] [2025-02-10 07:38:00 +0000.118756][2c29] GPUImageProcessing: input frame
width1280 X 720
[855:870] [2025-02-10 07:38:00 +0000.119194][2c29] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[855:870] [2025-02-10 07:38:00 +0000.119277][2c29] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[855:904] [2025-02-10 07:38:00 +0000.153702][2c29] webrtc common_video plane
old ..... (1/1000) new: 93001 delete: 92983 diff: 18
[855:916] [2025-02-10 07:38:00 +0000.165521][7dd2]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[855:916] [2025-02-10 07:38:00 +0000.165754][2c29] operator(): Stop
[855:916] [2025-02-10 07:38:00 +0000.165823][2c29] StopPullFrameAndWriteMp4
time:43966477 enter.
[884:957] [2025-02-10 07:38:29 +0000.206907][2c29] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[884:975] [2025-02-10 07:38:29 +0000.224623][36a9] Get data in mic source, which
has byte length:1764micAudioStream->length():10
[884:975] [2025-02-10 07:38:29 +0000.224783][36a9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[884:995] [2025-02-10 07:38:29 +0000.244573][36ae] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2502 pts:2502
[885:156] [2025-02-10 07:38:29 +0000.405695][36a7] AF_SpeedFilter audio time 222,
0x784849e380 out time: 43995571 org time: 43995571
[885:259] [2025-02-10 07:38:29 +0000.509172][36ae] Push an pts:2802 to dts queue.
[885:291] [2025-02-10 07:38:29 +0000.540804][2c29] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[885:297] [2025-02-10 07:38:29 +0000.546215][36ae] last dts:2766 currentPts:2802
ppsOrSPS:0 queue length:2
[885:355] [2025-02-10 07:38:29 +0000.605110][2c29] The convert RGB to YUV take 1
[885:427] [2025-02-10 07:38:29 +0000.676501][2c29] webrtc common_video plane
old ..... (1/1000) new: 100001 delete: 99983 diff: 18
[885:433] [2025-02-10 07:38:29 +0000.682865][36ae] DTS queue for
Generator:0x77463816b8 2969
[885:459] [2025-02-10 07:38:29 +0000.708570][2c29] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[885:640] [2025-02-10 07:38:29 +0000.889876][36a7] AF_SpeedFilter audio
0x784849e380 PullFrame
[885:721] [2025-02-10 07:38:29 +0000.970727][2c29] drawYUV420 render
OpenGLRenderProgram:0x773d13cb98
[885:858] [2025-02-10 07:38:30 +0000.108147][2c29] The convert RGB to YUV take 1
[885:886] [2025-02-10 07:38:30 +0000.135191][36a7] AF_SpeedFilter::PullFrame eof4
[885:912] [2025-02-10 07:38:30 +0000.161758][36a7]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[885:957] [2025-02-10 07:38:30 +0000.207098][2c29] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[885:973] [2025-02-10 07:38:30 +0000.222733][36a9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[886:121] [2025-02-10 07:38:30 +0000.370756][2c2d] Run AGC when audioType = 0
[886:170] [2025-02-10 07:38:30 +0000.419949][36a7] resampled_data_size:11776
[886:171] [2025-02-10 07:38:30 +0000.421150][36ad]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 3599queue_audio_frame_:9
[886:261] [2025-02-10 07:38:30 +0000.510457][36ae] DTS queue for
Generator:0x77463816b8 3801
[886:359] [2025-02-10 07:38:30 +0000.608311][2c29] The convert RGB to YUV take 2
[886:361] [2025-02-10 07:38:30 +0000.610641][36ae] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:3902
[886:361] [2025-02-10 07:38:30 +0000.610723][36ae] push video frame to H264
encoder. (100 frame for one log)
[1628:215] [2025-02-10 07:51:24 +0000.705143][49f8] h264 add frame header cdr flag
[1628:216] [2025-02-10 07:51:24 +0000.705627][49f8] Received key frame:2005
[1628:245] [2025-02-10 07:51:24 +0000.734961][49f1] Get data in mic source, which
has byte length:1764micAudioStream->length():10
[1628:245] [2025-02-10 07:51:24 +0000.735118][49f1] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1628:253] [2025-02-10 07:51:24 +0000.743431][49f9] get the H.264 IDR frame
[1628:280] [2025-02-10 07:51:24 +0000.769444][4856] The convert RGB to YUV take 1
[1628:545] [2025-02-10 07:51:25 +0000.35149][4856] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[1628:616] [2025-02-10 07:51:25 +0000.106135][49f8] DTS queue for
Generator:0x7770a614b8 2405 2439
[1628:708] [2025-02-10 07:51:25 +0000.197520][49ef]
RecordAudioSource::PullAudioFrame
[1628:710] [2025-02-10 07:51:25 +0000.199635][4856] webrtc common_video plane
old ..... (1/1000) new: 162001 delete: 161983 diff: 18
[1628:780] [2025-02-10 07:51:25 +0000.270179][4856] The convert RGB to YUV take 1
[1628:859] [2025-02-10 07:51:25 +0000.349347][49ef] resampled_data_size:11776
[1628:917] [2025-02-10 07:51:25 +0000.406480][49ef] AF_SpeedFilter::PullFrame eof4
[1628:966] [2025-02-10 07:51:25 +0000.456096][49ef]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1629:046] [2025-02-10 07:51:25 +0000.535498][4856] The read pixel from buffer
take: 0 width:1280 height:720 frameType:0
[1629:048] [2025-02-10 07:51:25 +0000.538366][49f8] Push an pts:2873 to dts queue.
[1629:086] [2025-02-10 07:51:25 +0000.575670][49f8] last dts:2839 currentPts:2873
ppsOrSPS:0 queue length:2
[1629:243] [2025-02-10 07:51:25 +0000.733723][49f1] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1629:247] [2025-02-10 07:51:25 +0000.737064][49f8] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:3071
[1629:247] [2025-02-10 07:51:25 +0000.737153][49f8] push video frame to H264
encoder. (100 frame for one log)
[169:913] [2025-02-10 09:02:20 +0000.502159][5dc5] h264 add frame header cdr flag
[169:914] [2025-02-10 09:02:20 +0000.502673][5dc5] h264 add frame header cdr flag
[169:914] [2025-02-10 09:02:20 +0000.503155][5dc5] Received key frame:0
[169:915] [2025-02-10 09:02:20 +0000.503225][5dc5] H264Encode:: get a sps pps
header!headerSize:31
[169:915] [2025-02-10 09:02:20 +0000.503323][5dc6] get the H.264 SPS parameter
[169:915] [2025-02-10 09:02:20 +0000.503559][5dc6] add video track with id:2
[169:916] [2025-02-10 09:02:20 +0000.504537][5d25] Run AGC when audioType = 0
[169:916] [2025-02-10 09:02:20 +0000.504672][5d25]
AudioDeviceDataHandler::MixAndSendOutFrame
[169:916] [2025-02-10 09:02:20 +0000.504789][5dc6] get the H.264 PPS parameter
[169:917] [2025-02-10 09:02:20 +0000.505473][5dc6] get the H.264 IDR frame
[169:917] [2025-02-10 09:02:20 +0000.505567][5dc6] resss:true
[169:917] [2025-02-10 09:02:20 +0000.505603][5dc6] video start ts:0
[169:917] [2025-02-10 09:02:20 +0000.505800][5dc6] the video frame has been written
into MP4 file
[169:941] [2025-02-10 09:02:20 +0000.529692][5dbe] resampled_data_size:0
[169:966] [2025-02-10 09:02:20 +0000.555009][5dc6] audio start ts:0
[169:966] [2025-02-10 09:02:20 +0000.555139][5dc6] the audio frame has been written
into MP4 file
[170:158] [2025-02-10 09:02:20 +0000.747039][5dc0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[170:179] [2025-02-10 09:02:20 +0000.767491][5d21] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[170:243] [2025-02-10 09:02:20 +0000.831269][5dc5] Push an pts:398 to dts queue.
[170:281] [2025-02-10 09:02:20 +0000.869863][5dc5] SendFrame
encodedImage._timeStamp:398encodedImage->_length:30352
[170:281] [2025-02-10 09:02:20 +0000.870006][5dc5] last dts:369 currentPts:398
ppsOrSPS:0 queue length:2
[170:379] [2025-02-10 09:02:20 +0000.967960][5d21] The convert RGB to YUV take 1
[170:414] [2025-02-10 09:02:21 +0000.2895][5dc5] DTS queue for
Generator:0x777e65f8b8 536 568
[170:417] [2025-02-10 09:02:21 +0000.5591][5dc5] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:536 pts:536
[170:422] [2025-02-10 09:02:21 +0000.10700][5dbe] RecordAudioSource::PullAudioFrame
[170:675] [2025-02-10 09:02:21 +0000.263873][5dbe] AF_SpeedFilter audio
0x77541c8600 PullFrame
[170:676] [2025-02-10 09:02:21 +0000.264669][5d21] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[170:695] [2025-02-10 09:02:21 +0000.283827][5d25] haveEnoughProcessedData
internalAudioStream.length: 0
[170:883] [2025-02-10 09:02:21 +0000.472100][5d21] The convert RGB to YUV take 1
[170:983] [2025-02-10 09:02:21 +0000.572050][5dc5] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:1138
[170:983] [2025-02-10 09:02:21 +0000.572160][5dc5] push video frame to H264
encoder. (100 frame for one log)