Trace

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 69

[000:071] [2022-07-09 00:36:06 +0000.

530621][3f0e] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
09 00:36:06 +0000
[000:071] [2022-07-09 00:36:06 +0000.530738][3f0e] set AppID=50011 old AppID=-1
[000:071] [2022-07-09 00:36:06 +0000.530769][3f0e] Init the android object with
jvm:0xb400007daca21380 env:0x7d903c90c0 context:0x7d33e6a288

[000:071] [2022-07-09 00:36:06 +0000.530822][3f0e] SetAndroidMediaCodecObjects


time:233481520 enter.

[000:071] [2022-07-09 00:36:06 +0000.530861][3f0e] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:071] [2022-07-09 00:36:06 +0000.530890][3f0e] SetAndroidMediaCodecObjects


time:233481520 enter.

[000:071] [2022-07-09 00:36:06 +0000.530916][3f0e] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007daca21380
[000:071] [2022-07-09 00:36:06 +0000.530942][3f0e] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007daca21380 address:0x7cc6b9f760
[000:071] [2022-07-09 00:36:06 +0000.530969][3f0e] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007daca21380
address:0x7cc6b9f760
[000:071] [2022-07-09 00:36:06 +0000.531019][3f0e] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:071] [2022-07-09 00:36:06 +0000.531060][3f0e] Set the android objects with


jvm:0xb400007daca21380 env:0x7d903c90c0 context:0x7d33e6a288

[000:072] [2022-07-09 00:36:06 +0000.531111][3f0e] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7d903c90c0
[000:072] [2022-07-09 00:36:06 +0000.531159][3f0e] SystemUtil Init done
[000:077] [2022-07-09 00:36:06 +0000.536316][3f0e]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:077] [2022-07-09 00:36:06 +0000.536615][3f0e] MediaFilterCamera
[000:077] [2022-07-09 00:36:06 +0000.536694][3f0e] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:077] [2022-07-09 00:36:06 +0000.536900][3f0e] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:077] [2022-07-09 00:36:06 +0000.536966][3f0e] Recording session using default
bitrate support by app:31457280
[000:078] [2022-07-09 00:36:06 +0000.537097][4eac] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d13b2b7c0
[000:078] [2022-07-09 00:36:06 +0000.537371][4eac] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:078] [2022-07-09 00:36:06 +0000.537502][3f0e] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:079] [2022-07-09 00:36:06 +0000.538710][3f0e] Error(ini.cc:191): Open the file
failed. error:2
[000:079] [2022-07-09 00:36:06 +0000.538820][3f0e]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:079] [2022-07-09 00:36:06 +0000.538863][3f0e] The device model: 2201117tg
usingSoftwareAEC value: 0
[000:084] [2022-07-09 00:36:06 +0000.543660][3f0e] Error(ini.cc:191): Open the file
failed. error:2
[000:084] [2022-07-09 00:36:06 +0000.543764][3f0e]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:084] [2022-07-09 00:36:06 +0000.543805][3f0e] The device model: 2201117tg
usingHardwareAEC value: 0
[000:084] [2022-07-09 00:36:06 +0000.543832][3f0e] The machine device: 2201117tg
usingHardwareAEC value: 0
[000:084] [2022-07-09 00:36:06 +0000.543857][3f0e] Using Default AEC type: software
AEC
[000:085] [2022-07-09 00:36:06 +0000.544757][3f0e] The device model: 2201117tg enum
value: 0
[000:086] [2022-07-09 00:36:06 +0000.545365][3f0e] GetMachineModel is 2201117TG
[000:086] [2022-07-09 00:36:06 +0000.545434][3f0e] GetMachineInfo: 2201117TG
[000:086] [2022-07-09 00:36:06 +0000.545474][3f0e] Construct BeautifyReader
begin...
[000:086] [2022-07-09 00:36:06 +0000.545503][3f0e] dumpStickerRgba:0
dumpStickerYuv:0
[000:086] [2022-07-09 00:36:06 +0000.545559][3f0e] Construct BeautifyReader done.
[000:088] [2022-07-09 00:36:06 +0000.547994][3f0e] Error(ini.cc:191): Open the file
failed. error:2
[000:089] [2022-07-09 00:36:06 +0000.548098][3f0e]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:089] [2022-07-09 00:36:06 +0000.548252][3f0e] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:089] [2022-07-09 00:36:06 +0000.548292][3f0e] AppDeviceManager telnet server
for statistics started......
[000:089] [2022-07-09 00:36:06 +0000.548290][4eaf] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d9040ffa0
[000:089] [2022-07-09 00:36:06 +0000.548742][3f0e] CpuOverloadDetect time:233481538
enter.

[000:089] [2022-07-09 00:36:06 +0000.548845][3f0e] CpuOverloadDetect leave. expire


time = 0 ms

[000:089] [2022-07-09 00:36:06 +0000.548873][4eb0] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7d0af549c0
[000:090] [2022-07-09 00:36:06 +0000.549543][3f0e] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:090] [2022-07-09 00:36:06 +0000.549599][3f0e] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:091] [2022-07-09 00:36:06 +0000.550152][3f0e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:091] [2022-07-09 00:36:06 +0000.550576][3f0e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:092] [2022-07-09 00:36:06 +0000.551085][3f0e] CreatePlatformSpecificObjects:
[000:092] [2022-07-09 00:36:06 +0000.551165][3f0e] audio device use opensle input
and opensl output
[000:092] [2022-07-09 00:36:06 +0000.551200][3f0e] Create OpenSLES output module
with java VM support.

[000:092] [2022-07-09 00:36:06 +0000.551413][3f0e] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:092] [2022-07-09 00:36:06 +0000.551602][3f0e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:092] [2022-07-09 00:36:06 +0000.551793][3f0e] Create OpenSLES output module
with buffer num:1

[000:092] [2022-07-09 00:36:06 +0000.551956][3f0e] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:093] [2022-07-09 00:36:06 +0000.552124][3f0e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:093] [2022-07-09 00:36:06 +0000.552282][3f0e] Create OpenSLES input module
with java VM support.

[000:093] [2022-07-09 00:36:06 +0000.552326][3f0e] Create OpenSLES input module


with buffer num:1

[000:093] [2022-07-09 00:36:06 +0000.552374][3f0e] Error(trace.cc:40): Init the


output and input for audio device template.
[000:093] [2022-07-09 00:36:06 +0000.552410][3f0e] Init the output device.

[000:093] [2022-07-09 00:36:06 +0000.552435][3f0e] Init the opensl input.


[000:093] [2022-07-09 00:36:06 +0000.552466][3f0e] AppDeviceManager get setting
samplerate: 0
[000:093] [2022-07-09 00:36:06 +0000.552890][3f0e] The device model: 2201117tg enum
value: 0
[000:094] [2022-07-09 00:36:06 +0000.553460][3f0e] The device model: 2201117tg enum
value: 0
[000:094] [2022-07-09 00:36:06 +0000.553505][3f0e] Set the sample rate to be:48000

[000:094] [2022-07-09 00:36:06 +0000.553533][3f0e] Enable the recording stereo:0


[000:094] [2022-07-09 00:36:06 +0000.553560][3f0e] Set the playout as stereo:1
[000:094] [2022-07-09 00:36:06 +0000.553597][3f0e] Init the microphone.
[000:104] [2022-07-09 00:36:06 +0000.563777][3f0e] Update the recording sample rate
to be: 48000
[000:104] [2022-07-09 00:36:06 +0000.563902][3f0e] Init the speaker.
[000:104] [2022-07-09 00:36:06 +0000.563961][3f0e] Low latency buffer size:144 low
sample rate:48000
[000:105] [2022-07-09 00:36:06 +0000.564233][3f0e] Using 1 x 10ms for an audio
frame.

[000:108] [2022-07-09 00:36:06 +0000.567331][3f0e] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:108] [2022-07-09 00:36:06 +0000.567484][3f0e] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:108] [2022-07-09 00:36:06 +0000.567546][3f0e] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:113] [2022-07-09 00:36:06 +0000.572427][3f0e] The device model:2201117tg

[000:113] [2022-07-09 00:36:06 +0000.572541][3f0e] speaker output factor:100


defaultFactor: 100

[000:113] [2022-07-09 00:36:06 +0000.572572][3f0e] headset output factor:100


defaultFactor: 100

[000:113] [2022-07-09 00:36:06 +0000.572982][3f0e] AppDeviceManagerStart finished.


[000:113] [2022-07-09 00:36:06 +0000.573036][3f0e] AppDeviceManagerStartMic::mic
status is off
[000:114] [2022-07-09 00:36:06 +0000.573100][3f0e] AppDeviceManagerStartMic update
aec type: 2

[000:114] [2022-07-09 00:36:06 +0000.573126][3f0e] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:114] [2022-07-09 00:36:06 +0000.573153][3f0e]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:114] [2022-07-09 00:36:06 +0000.573210][3f0e]
AudioDeviceDataHandler::StartMicProcess

[000:114] [2022-07-09 00:36:06 +0000.573394][3f0e] Try to start webrtc recording


device.
[000:114] [2022-07-09 00:36:06 +0000.573438][3f0e] StartRecording. threadID:16142

[000:114] [2022-07-09 00:36:06 +0000.573424][4eb1] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:114] [2022-07-09 00:36:06 +0000.573532][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[000:114] [2022-07-09 00:36:06 +0000.573815][3f0e] The machine model:2201117TG

[000:114] [2022-07-09 00:36:06 +0000.573899][3f0e] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:114] [2022-07-09 00:36:06 +0000.573938][3f0e] Set the recording mode before


getSetting: 4
[000:114] [2022-07-09 00:36:06 +0000.573968][3f0e] Set the recording mode after
getSetting: 1
[000:174] [2022-07-09 00:36:06 +0000.633645][3f0e] StartRecording finished.

[000:174] [2022-07-09 00:36:06 +0000.633714][3f0e] audio: start the audio mic


checker timer.

[000:175] [2022-07-09 00:36:06 +0000.634351][3f0e] machine model :redmi


[000:175] [2022-07-09 00:36:06 +0000.634453][3f0e] Support this machine
model :redmi
[000:175] [2022-07-09 00:36:06 +0000.634590][3f0e] global inited! current sdk
version: 07-20-936c45f
[000:253] [2022-07-09 00:36:06 +0000.712655][4eb4] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:253] [2022-07-09 00:36:06 +0000.712775][4eb4] _deviceSampleRate:48000

[000:258] [2022-07-09 00:36:06 +0000.717355][4eb1] Run AGC when audioType = 0


[000:258] [2022-07-09 00:36:06 +0000.717503][4eb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:779] [2022-07-09 00:36:07 +0000.238538][4d34]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:779] [2022-07-09 00:36:07 +0000.238801][4ead] MediaFilterCamera, recording
file context:0x7d9d134f80 input texture:8
[000:779] [2022-07-09 00:36:07 +0000.238894][4ead] GLESContext:
[000:779] [2022-07-09 00:36:07 +0000.238947][4ead] The result of eglGetDisplay is:
0x1
[000:781] [2022-07-09 00:36:07 +0000.240452][4ead] The result of creation:
0x7ceecb6000
[000:781] [2022-07-09 00:36:07 +0000.240670][4ead] The result of
eglCreatePbufferSurface is: 0x7ceecb6100
[000:781] [2022-07-09 00:36:07 +0000.240851][4d34]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7d9d134f80 input_texture: 8
[001:860] [2022-07-09 00:36:08 +0000.319368][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[002:254] [2022-07-09 00:36:08 +0000.713424][4eb1] Run AGC when audioType = 0
[003:565] [2022-07-09 00:36:10 +0000.24508][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[004:178] [2022-07-09 00:36:10 +0000.638138][4ea8]
monitorTime:4004totalDuration:3930
[004:253] [2022-07-09 00:36:10 +0000.712274][4eb1] Run AGC when audioType = 0
[004:253] [2022-07-09 00:36:10 +0000.712463][4eb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:274] [2022-07-09 00:36:11 +0000.733709][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[006:256] [2022-07-09 00:36:12 +0000.715114][4eb1] Run AGC when audioType = 0
[006:992] [2022-07-09 00:36:13 +0000.451345][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[008:256] [2022-07-09 00:36:14 +0000.715139][4eb1] Run AGC when audioType = 0
[008:256] [2022-07-09 00:36:14 +0000.715321][4eb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:694] [2022-07-09 00:36:15 +0000.153372][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[010:253] [2022-07-09 00:36:16 +0000.712258][4eb4] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:253] [2022-07-09 00:36:16 +0000.712499][4eb4] _deviceSampleRate:48000

[010:254] [2022-07-09 00:36:16 +0000.713668][4eb1] Run AGC when audioType = 0


[010:420] [2022-07-09 00:36:16 +0000.879773][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[012:136] [2022-07-09 00:36:18 +0000.595361][4eb1] haveEnoughProcessedData
internalAudioStream.length: 10
[012:256] [2022-07-09 00:36:18 +0000.716123][4eb1] Run AGC when audioType = 0
[012:258] [2022-07-09 00:36:18 +0000.717330][4eb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[013:844] [2022-07-09 00:36:20 +0000.303725][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[014:256] [2022-07-09 00:36:20 +0000.715518][4eb1] Run AGC when audioType = 0
[015:562] [2022-07-09 00:36:22 +0000.21275][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[016:252] [2022-07-09 00:36:22 +0000.712041][4eb1] Run AGC when audioType = 0
[016:253] [2022-07-09 00:36:22 +0000.712180][4eb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[017:282] [2022-07-09 00:36:23 +0000.742064][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[018:255] [2022-07-09 00:36:24 +0000.714177][4eb1] Run AGC when audioType = 0
[019:000] [2022-07-09 00:36:25 +0000.459398][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[020:251] [2022-07-09 00:36:26 +0000.710962][4eb4] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:252] [2022-07-09 00:36:26 +0000.711218][4eb4] _deviceSampleRate:48000

[020:254] [2022-07-09 00:36:26 +0000.713782][4eb1] Run AGC when audioType = 0


[020:254] [2022-07-09 00:36:26 +0000.714002][4eb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:717] [2022-07-09 00:36:27 +0000.176802][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[022:256] [2022-07-09 00:36:28 +0000.715122][4eb1] Run AGC when audioType = 0
[022:446] [2022-07-09 00:36:28 +0000.905292][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[024:167] [2022-07-09 00:36:30 +0000.626721][4eb1] haveEnoughProcessedData
internalAudioStream.length: 10
[024:255] [2022-07-09 00:36:30 +0000.714841][4eb1] Run AGC when audioType = 0
[024:255] [2022-07-09 00:36:30 +0000.715018][4eb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[025:886] [2022-07-09 00:36:32 +0000.345334][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[026:252] [2022-07-09 00:36:32 +0000.711792][4eb1] Run AGC when audioType = 0
[027:603] [2022-07-09 00:36:34 +0000.62388][4eb1] haveEnoughProcessedData
internalAudioStream.length: 0
[028:257] [2022-07-09 00:36:34 +0000.717059][4eb1] Run AGC when audioType = 0
[028:258] [2022-07-09 00:36:34 +0000.717228][4eb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[029:325] [2022-07-09 00:36:35 +0000.784829][4eb1] haveEnoughProcessedData
internalAudioStream.length: 10
[030:254] [2022-07-09 00:36:36 +0000.713222][4eb4] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:254] [2022-07-09 00:36:36 +0000.713405][4eb4] _deviceSampleRate:48000

[030:257] [2022-07-09 00:36:36 +0000.716628][4eb1] Run AGC when audioType = 0


[030:728] [2022-07-09 00:36:37 +0000.187207][3f0e]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[030:728] [2022-07-09 00:36:37 +0000.187375][3f0e] ~MediaFilterCamera
time:233512177 enter.

[030:728] [2022-07-09 00:36:37 +0000.187407][3f0e] StopPullFrameAndWriteMp4


time:233512177 enter.

[030:728] [2022-07-09 00:36:37 +0000.187897][4eac] stop recording


[030:728] [2022-07-09 00:36:37 +0000.187951][4eac] we have stopped recording before
[030:728] [2022-07-09 00:36:37 +0000.188047][3f0e] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[030:729] [2022-07-09 00:36:37 +0000.188369][3f0e] DestroyPipelineAndFilters


time:233512178 enter.

[030:729] [2022-07-09 00:36:37 +0000.188407][3f0e] DestroyPipelineAndFilters


leave. expire time = 0 ms

[030:729] [2022-07-09 00:36:37 +0000.188434][3f0e] AppDeviceManagerStopMic

[030:729] [2022-07-09 00:36:37 +0000.188478][3f0e] AppDeviceManagerStopMic::mic


status is on
[030:729] [2022-07-09 00:36:37 +0000.188514][3f0e] Try to stop webrtc device.

[030:729] [2022-07-09 00:36:37 +0000.188540][3f0e] Set record state to


stopped.threadID:16142

[030:773] [2022-07-09 00:36:37 +0000.232932][3f0e] Try to destory the


recorder.threadID:16142

[030:974] [2022-07-09 00:36:37 +0000.433122][3f0e] DestroyAudioRecorder:


[030:974] [2022-07-09 00:36:37 +0000.433274][3f0e] Cleanup the buffer queue in the
recorder.
[030:974] [2022-07-09 00:36:37 +0000.433313][3f0e] Destroy the recorder.

[030:983] [2022-07-09 00:36:37 +0000.443047][3f0e] StopRecording finished.

[030:984] [2022-07-09 00:36:37 +0000.443229][3f0e] The stop recording success.

[030:984] [2022-07-09 00:36:37 +0000.443261][3f0e]


AudioDeviceDataHandler::StopMicProcess

[030:986] [2022-07-09 00:36:37 +0000.445966][3f0e] AppDeviceManager stop.


[030:987] [2022-07-09 00:36:37 +0000.446254][3f0e] Rlease the webrtc device object.

[030:987] [2022-07-09 00:36:37 +0000.446886][3f0e] OpenSlesInput destruct.

[030:987] [2022-07-09 00:36:37 +0000.446997][3f0e] OpenSlesOutput destruct.

[030:988] [2022-07-09 00:36:37 +0000.447635][3f0e] EventDispatchServerScope


destruct
[030:988] [2022-07-09 00:36:37 +0000.447706][3f0e]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[030:988] [2022-07-09 00:36:37 +0000.447782][3f0e] ~AudioDeviceDataHandler

[030:989] [2022-07-09 00:36:37 +0000.448317][3f0e] AppDeviceManagerDestruct.

[030:989] [2022-07-09 00:36:37 +0000.448391][3f0e] ~AppDeviceManager:


[030:989] [2022-07-09 00:36:37 +0000.448445][3f0e] ~CpuOverloadDetect
time:233512438 enter.

[030:989] [2022-07-09 00:36:37 +0000.448858][3f0e] ~CpuOverloadDetect leave.


expire time = 0 ms

[031:006] [2022-07-09 00:36:37 +0000.465273][3f0e] Destruct BeautifyReader begin...


[031:006] [2022-07-09 00:36:37 +0000.465362][3f0e] Destruct BeautifyReader done.
[031:006] [2022-07-09 00:36:37 +0000.465400][3f0e] ~MediaFilterCamera leave.
expire time = 278 ms

[031:006] [2022-07-09 00:36:37 +0000.465568][3f0e] ~GLESContext:


[031:007] [2022-07-09 00:36:37 +0000.466309][3f0e] GLESContext destruct finish.
[031:007] [2022-07-09 00:36:37 +0000.466387][3f0e] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[031:007] [2022-07-09 00:36:37 +0000.466923][3f0e] global uninited!
[031:007] [2022-07-09 00:36:37 +0000.467033][3f0e]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[031:008] [2022-07-09 00:36:37 +0000.467159][3f0e] MediaFilterCamera
[031:008] [2022-07-09 00:36:37 +0000.467212][3f0e] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[031:008] [2022-07-09 00:36:37 +0000.467340][3f0e] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[031:008] [2022-07-09 00:36:37 +0000.467395][3f0e] Recording session using default
bitrate support by app:31457280
[031:008] [2022-07-09 00:36:37 +0000.467385][4f6d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d13b2b7c0
[031:008] [2022-07-09 00:36:37 +0000.467473][4f6d] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[031:008] [2022-07-09 00:36:37 +0000.467556][3f0e] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[031:009] [2022-07-09 00:36:37 +0000.468487][3f0e] Error(ini.cc:191): Open the file
failed. error:2
[031:009] [2022-07-09 00:36:37 +0000.468544][3f0e]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[031:009] [2022-07-09 00:36:37 +0000.468573][3f0e] The device model: 2201117tg
usingSoftwareAEC value: 0
[031:012] [2022-07-09 00:36:37 +0000.471846][3f0e] Error(ini.cc:191): Open the file
failed. error:2
[031:012] [2022-07-09 00:36:37 +0000.471964][3f0e]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[031:012] [2022-07-09 00:36:37 +0000.472004][3f0e] The device model: 2201117tg
usingHardwareAEC value: 0
[031:012] [2022-07-09 00:36:37 +0000.472031][3f0e] The machine device: 2201117tg
usingHardwareAEC value: 0
[031:012] [2022-07-09 00:36:37 +0000.472057][3f0e] Using Default AEC type: software
AEC
[031:013] [2022-07-09 00:36:37 +0000.472865][3f0e] The device model: 2201117tg enum
value: 0
[031:014] [2022-07-09 00:36:37 +0000.473655][3f0e] GetMachineModel is 2201117TG
[031:014] [2022-07-09 00:36:37 +0000.473729][3f0e] GetMachineInfo: 2201117TG
[031:014] [2022-07-09 00:36:37 +0000.473758][3f0e] Construct BeautifyReader
begin...
[031:014] [2022-07-09 00:36:37 +0000.473788][3f0e] dumpStickerRgba:0
dumpStickerYuv:0
[031:014] [2022-07-09 00:36:37 +0000.473813][3f0e] Construct BeautifyReader done.
[031:021] [2022-07-09 00:36:37 +0000.480379][3f0e] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[031:021] [2022-07-09 00:36:37 +0000.480407][4f70] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d9040ffa0
[031:021] [2022-07-09 00:36:37 +0000.480513][3f0e] AppDeviceManager telnet server
for statistics started......
[031:022] [2022-07-09 00:36:37 +0000.481128][3f0e] CpuOverloadDetect time:233512471
enter.

[031:022] [2022-07-09 00:36:37 +0000.481273][3f0e] CpuOverloadDetect leave. expire


time = 0 ms

[031:022] [2022-07-09 00:36:37 +0000.481509][4f71] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7d90416240
[031:022] [2022-07-09 00:36:37 +0000.481970][3f0e] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[031:022] [2022-07-09 00:36:37 +0000.482016][3f0e] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[031:023] [2022-07-09 00:36:37 +0000.482424][3f0e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[031:023] [2022-07-09 00:36:37 +0000.482795][3f0e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[031:023] [2022-07-09 00:36:37 +0000.483056][3f0e] CreatePlatformSpecificObjects:
[031:024] [2022-07-09 00:36:37 +0000.483100][3f0e] audio device use opensle input
and opensl output
[031:024] [2022-07-09 00:36:37 +0000.483132][3f0e] Create OpenSLES output module
with java VM support.

[031:024] [2022-07-09 00:36:37 +0000.483287][3f0e] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[031:024] [2022-07-09 00:36:37 +0000.483426][3f0e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[031:024] [2022-07-09 00:36:37 +0000.483581][3f0e] Create OpenSLES output module
with buffer num:1

[031:024] [2022-07-09 00:36:37 +0000.483708][3f0e] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[031:024] [2022-07-09 00:36:37 +0000.483866][3f0e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[031:024] [2022-07-09 00:36:37 +0000.484035][3f0e] Create OpenSLES input module
with java VM support.

[031:025] [2022-07-09 00:36:37 +0000.484080][3f0e] Create OpenSLES input module


with buffer num:1

[031:025] [2022-07-09 00:36:37 +0000.484117][3f0e] Error(trace.cc:40): Init the


output and input for audio device template.
[031:025] [2022-07-09 00:36:37 +0000.484144][3f0e] Init the output device.

[031:025] [2022-07-09 00:36:37 +0000.484168][3f0e] Init the opensl input.


[031:025] [2022-07-09 00:36:37 +0000.484195][3f0e] AppDeviceManager get setting
samplerate: 0
[031:025] [2022-07-09 00:36:37 +0000.484582][3f0e] The device model: 2201117tg enum
value: 0
[031:026] [2022-07-09 00:36:37 +0000.485174][3f0e] The device model: 2201117tg enum
value: 0
[031:026] [2022-07-09 00:36:37 +0000.485209][3f0e] Set the sample rate to be:48000

[031:026] [2022-07-09 00:36:37 +0000.485236][3f0e] Enable the recording stereo:0


[031:026] [2022-07-09 00:36:37 +0000.485291][3f0e] Set the playout as stereo:1
[031:026] [2022-07-09 00:36:37 +0000.485318][3f0e] Init the microphone.
[031:026] [2022-07-09 00:36:37 +0000.485673][3f0e] Update the recording sample rate
to be: 48000
[031:026] [2022-07-09 00:36:37 +0000.485707][3f0e] Init the speaker.
[031:026] [2022-07-09 00:36:37 +0000.485739][3f0e] Low latency buffer size:144 low
sample rate:48000
[031:026] [2022-07-09 00:36:37 +0000.485936][3f0e] Using 1 x 10ms for an audio
frame.

[031:027] [2022-07-09 00:36:37 +0000.486844][3f0e] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[031:027] [2022-07-09 00:36:37 +0000.486904][3f0e] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[031:027] [2022-07-09 00:36:37 +0000.486946][3f0e] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[031:029] [2022-07-09 00:36:37 +0000.488701][3f0e] The device model:2201117tg

[031:029] [2022-07-09 00:36:37 +0000.488739][3f0e] speaker output factor:100


defaultFactor: 100

[031:029] [2022-07-09 00:36:37 +0000.488766][3f0e] headset output factor:100


defaultFactor: 100

[031:030] [2022-07-09 00:36:37 +0000.489095][3f0e] AppDeviceManagerStart finished.


[031:030] [2022-07-09 00:36:37 +0000.489137][3f0e] AppDeviceManagerStartMic::mic
status is off
[031:030] [2022-07-09 00:36:37 +0000.489190][3f0e] AppDeviceManagerStartMic update
aec type: 2

[031:030] [2022-07-09 00:36:37 +0000.489226][3f0e] AppDeviceManagerStartMic update


voiceChangeMode: 4

[031:030] [2022-07-09 00:36:37 +0000.489250][3f0e]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[031:030] [2022-07-09 00:36:37 +0000.489273][3f0e]
AudioDeviceDataHandler::StartMicProcess

[031:030] [2022-07-09 00:36:37 +0000.489431][3f0e] Try to start webrtc recording


device.

[031:030] [2022-07-09 00:36:37 +0000.489470][3f0e] StartRecording. threadID:16142

[031:030] [2022-07-09 00:36:37 +0000.489456][4f72] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[031:030] [2022-07-09 00:36:37 +0000.489521][3f0e] default mode: Set the recording
mode to voice communication to enable HW AEC .

[031:030] [2022-07-09 00:36:37 +0000.489556][3f0e] Set the recording mode before


getSetting: 4
[031:030] [2022-07-09 00:36:37 +0000.489585][3f0e] Set the recording mode after
getSetting: 1
[031:048] [2022-07-09 00:36:37 +0000.507833][3f0e] StartRecording finished.

[031:048] [2022-07-09 00:36:37 +0000.507941][3f0e] audio: start the audio mic


checker timer.

[031:050] [2022-07-09 00:36:37 +0000.509471][3f0e] machine model :redmi


[031:050] [2022-07-09 00:36:37 +0000.509556][3f0e] Support this machine
model :redmi
[031:050] [2022-07-09 00:36:37 +0000.509586][3f0e] global inited! current sdk
version: 07-20-936c45f
[031:189] [2022-07-09 00:36:37 +0000.648167][4f72] haveEnoughProcessedData
internalAudioStream.length: 10
[032:636] [2022-07-09 00:36:39 +0000.95961][4f72] Run AGC when audioType = 0
[032:637] [2022-07-09 00:36:39 +0000.96136][4f72]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:895] [2022-07-09 00:36:39 +0000.354482][4f72] haveEnoughProcessedData
internalAudioStream.length: 0
[034:574] [2022-07-09 00:36:41 +0000.34061][3f0e]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[034:575] [2022-07-09 00:36:41 +0000.34192][3f0e] ~MediaFilterCamera time:233516024
enter.

[034:575] [2022-07-09 00:36:41 +0000.34221][3f0e] StopPullFrameAndWriteMp4


time:233516024 enter.

[034:575] [2022-07-09 00:36:41 +0000.34520][4f6d] stop recording


[034:575] [2022-07-09 00:36:41 +0000.34553][4f6d] we have stopped recording before
[034:575] [2022-07-09 00:36:41 +0000.34613][3f0e] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[034:575] [2022-07-09 00:36:41 +0000.34901][3f0e] DestroyPipelineAndFilters


time:233516024 enter.

[034:575] [2022-07-09 00:36:41 +0000.34932][3f0e] DestroyPipelineAndFilters leave.


expire time = 0 ms

[034:575] [2022-07-09 00:36:41 +0000.34960][3f0e] AppDeviceManagerStopMic

[034:575] [2022-07-09 00:36:41 +0000.35016][3f0e] AppDeviceManagerStopMic::mic


status is on
[034:575] [2022-07-09 00:36:41 +0000.35041][3f0e] Try to stop webrtc device.

[034:575] [2022-07-09 00:36:41 +0000.35066][3f0e] Set record state to


stopped.threadID:16142

[034:608] [2022-07-09 00:36:41 +0000.67168][3f0e] Try to destory the


recorder.threadID:16142

[034:633] [2022-07-09 00:36:41 +0000.92184][4f72] haveEnoughProcessedData


internalAudioStream.length: 0
[034:808] [2022-07-09 00:36:41 +0000.267375][3f0e] DestroyAudioRecorder:
[034:808] [2022-07-09 00:36:41 +0000.267500][3f0e] Cleanup the buffer queue in the
recorder.
[034:808] [2022-07-09 00:36:41 +0000.267532][3f0e] Destroy the recorder.

[034:811] [2022-07-09 00:36:41 +0000.270567][3f0e] StopRecording finished.

[034:811] [2022-07-09 00:36:41 +0000.270787][3f0e] The stop recording success.

[034:811] [2022-07-09 00:36:41 +0000.270822][3f0e]


AudioDeviceDataHandler::StopMicProcess

[034:816] [2022-07-09 00:36:41 +0000.275246][3f0e] AppDeviceManager stop.

[034:816] [2022-07-09 00:36:41 +0000.275418][3f0e] Rlease the webrtc device object.

[034:816] [2022-07-09 00:36:41 +0000.276045][3f0e] OpenSlesInput destruct.

[034:817] [2022-07-09 00:36:41 +0000.276152][3f0e] OpenSlesOutput destruct.

[034:817] [2022-07-09 00:36:41 +0000.276910][3f0e] EventDispatchServerScope


destruct
[034:817] [2022-07-09 00:36:41 +0000.276992][3f0e]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[034:817] [2022-07-09 00:36:41 +0000.277052][3f0e] ~AudioDeviceDataHandler

[034:818] [2022-07-09 00:36:41 +0000.277567][3f0e] AppDeviceManagerDestruct.

[034:818] [2022-07-09 00:36:41 +0000.277628][3f0e] ~AppDeviceManager:


[034:818] [2022-07-09 00:36:41 +0000.277681][3f0e] ~CpuOverloadDetect
time:233516267 enter.

[034:819] [2022-07-09 00:36:41 +0000.278313][3f0e] ~CpuOverloadDetect leave.


expire time = 1 ms

[034:821] [2022-07-09 00:36:41 +0000.280150][3f0e] Destruct BeautifyReader begin...


[034:821] [2022-07-09 00:36:41 +0000.280246][3f0e] Destruct BeautifyReader done.
[034:821] [2022-07-09 00:36:41 +0000.280293][3f0e] ~MediaFilterCamera leave.
expire time = 246 ms

[034:821] [2022-07-09 00:36:41 +0000.280472][3f0e] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[034:821] [2022-07-09 00:36:41 +0000.280847][3f0e] global uninited!
[034:821] [2022-07-09 00:36:41 +0000.280927][3f0e]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[034:821] [2022-07-09 00:36:41 +0000.281045][3f0e] MediaFilterCamera
[034:822] [2022-07-09 00:36:41 +0000.281095][3f0e] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[034:822] [2022-07-09 00:36:41 +0000.281226][3f0e] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[034:822] [2022-07-09 00:36:41 +0000.281279][3f0e] Recording session using default
bitrate support by app:31457280
[034:822] [2022-07-09 00:36:41 +0000.281413][4fb7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d13b2b7c0
[034:822] [2022-07-09 00:36:41 +0000.281501][4fb7] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[034:822] [2022-07-09 00:36:41 +0000.281646][3f0e] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[034:823] [2022-07-09 00:36:41 +0000.282591][3f0e] Error(ini.cc:191): Open the file
failed. error:2
[034:823] [2022-07-09 00:36:41 +0000.282668][3f0e]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[034:823] [2022-07-09 00:36:41 +0000.282700][3f0e] The device model: 2201117tg
usingSoftwareAEC value: 0
[034:826] [2022-07-09 00:36:41 +0000.285641][3f0e] Error(ini.cc:191): Open the file
failed. error:2
[034:826] [2022-07-09 00:36:41 +0000.285739][3f0e]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[034:826] [2022-07-09 00:36:41 +0000.285774][3f0e] The device model: 2201117tg
usingHardwareAEC value: 0
[034:826] [2022-07-09 00:36:41 +0000.285822][3f0e] The machine device: 2201117tg
usingHardwareAEC value: 0
[034:826] [2022-07-09 00:36:41 +0000.285874][3f0e] Using Default AEC type: software
AEC
[034:829] [2022-07-09 00:36:41 +0000.288655][3f0e] The device model: 2201117tg enum
value: 0
[034:830] [2022-07-09 00:36:41 +0000.289404][3f0e] GetMachineModel is 2201117TG
[034:830] [2022-07-09 00:36:41 +0000.289459][3f0e] GetMachineInfo: 2201117TG
[034:830] [2022-07-09 00:36:41 +0000.289486][3f0e] Construct BeautifyReader
begin...
[034:830] [2022-07-09 00:36:41 +0000.289511][3f0e] dumpStickerRgba:0
dumpStickerYuv:0
[034:830] [2022-07-09 00:36:41 +0000.289535][3f0e] Construct BeautifyReader done.
[034:833] [2022-07-09 00:36:41 +0000.292661][3f0e] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[034:833] [2022-07-09 00:36:41 +0000.292694][4fba] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d9040ffa0
[034:833] [2022-07-09 00:36:41 +0000.292741][3f0e] AppDeviceManager telnet server
for statistics started......
[034:833] [2022-07-09 00:36:41 +0000.292983][3f0e] CpuOverloadDetect time:233516282
enter.

[034:834] [2022-07-09 00:36:41 +0000.293074][3f0e] CpuOverloadDetect leave. expire


time = 1 ms

[034:834] [2022-07-09 00:36:41 +0000.293099][4fbb] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7d44391d80
[034:834] [2022-07-09 00:36:41 +0000.293675][3f0e] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[034:834] [2022-07-09 00:36:41 +0000.293716][3f0e] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[034:834] [2022-07-09 00:36:41 +0000.293958][3f0e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[034:835] [2022-07-09 00:36:41 +0000.294226][3f0e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[034:835] [2022-07-09 00:36:41 +0000.294443][3f0e] CreatePlatformSpecificObjects:
[034:835] [2022-07-09 00:36:41 +0000.294485][3f0e] audio device use opensle input
and opensl output
[034:835] [2022-07-09 00:36:41 +0000.294513][3f0e] Create OpenSLES output module
with java VM support.

[034:835] [2022-07-09 00:36:41 +0000.294646][3f0e] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[034:835] [2022-07-09 00:36:41 +0000.294781][3f0e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[034:836] [2022-07-09 00:36:41 +0000.295080][3f0e] Create OpenSLES output module
with buffer num:1

[034:836] [2022-07-09 00:36:41 +0000.295188][3f0e] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[034:836] [2022-07-09 00:36:41 +0000.295328][3f0e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[034:836] [2022-07-09 00:36:41 +0000.295475][3f0e] Create OpenSLES input module
with java VM support.

[034:836] [2022-07-09 00:36:41 +0000.295515][3f0e] Create OpenSLES input module


with buffer num:1

[034:836] [2022-07-09 00:36:41 +0000.295547][3f0e] Error(trace.cc:40): Init the


output and input for audio device template.
[034:836] [2022-07-09 00:36:41 +0000.295581][3f0e] Init the output device.

[034:836] [2022-07-09 00:36:41 +0000.295605][3f0e] Init the opensl input.


[034:836] [2022-07-09 00:36:41 +0000.295631][3f0e] AppDeviceManager get setting
samplerate: 0
[034:836] [2022-07-09 00:36:41 +0000.295972][3f0e] The device model: 2201117tg enum
value: 0
[034:837] [2022-07-09 00:36:41 +0000.296537][3f0e] The device model: 2201117tg enum
value: 0
[034:837] [2022-07-09 00:36:41 +0000.296574][3f0e] Set the sample rate to be:48000

[034:837] [2022-07-09 00:36:41 +0000.296599][3f0e] Enable the recording stereo:0


[034:837] [2022-07-09 00:36:41 +0000.296624][3f0e] Set the playout as stereo:1
[034:837] [2022-07-09 00:36:41 +0000.296659][3f0e] Init the microphone.
[034:837] [2022-07-09 00:36:41 +0000.297001][3f0e] Update the recording sample rate
to be: 48000
[034:837] [2022-07-09 00:36:41 +0000.297043][3f0e] Init the speaker.
[034:838] [2022-07-09 00:36:41 +0000.297076][3f0e] Low latency buffer size:144 low
sample rate:48000
[034:838] [2022-07-09 00:36:41 +0000.297231][3f0e] Using 1 x 10ms for an audio
frame.

[034:841] [2022-07-09 00:36:41 +0000.300740][3f0e] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[034:841] [2022-07-09 00:36:41 +0000.300920][3f0e] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[034:841] [2022-07-09 00:36:41 +0000.300973][3f0e] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[034:846] [2022-07-09 00:36:41 +0000.305520][3f0e] The device model:2201117tg

[034:846] [2022-07-09 00:36:41 +0000.305615][3f0e] speaker output factor:100


defaultFactor: 100

[034:846] [2022-07-09 00:36:41 +0000.305645][3f0e] headset output factor:100


defaultFactor: 100

[034:846] [2022-07-09 00:36:41 +0000.305979][3f0e] AppDeviceManagerStart finished.


[034:846] [2022-07-09 00:36:41 +0000.306023][3f0e] AppDeviceManagerStartMic::mic
status is off
[034:847] [2022-07-09 00:36:41 +0000.306104][3f0e] AppDeviceManagerStartMic update
aec type: 2

[034:847] [2022-07-09 00:36:41 +0000.306131][3f0e] AppDeviceManagerStartMic update


voiceChangeMode: 4

[034:847] [2022-07-09 00:36:41 +0000.306156][3f0e]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[034:847] [2022-07-09 00:36:41 +0000.306180][3f0e]
AudioDeviceDataHandler::StartMicProcess
[034:847] [2022-07-09 00:36:41 +0000.306329][3f0e] Try to start webrtc recording
device.

[034:847] [2022-07-09 00:36:41 +0000.306368][3f0e] StartRecording. threadID:16142

[034:847] [2022-07-09 00:36:41 +0000.306358][4fbc] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[034:847] [2022-07-09 00:36:41 +0000.306424][3f0e] default mode: Set the recording
mode to voice communication to enable HW AEC .

[034:847] [2022-07-09 00:36:41 +0000.306450][3f0e] Set the recording mode before


getSetting: 4
[034:847] [2022-07-09 00:36:41 +0000.306479][3f0e] Set the recording mode after
getSetting: 1
[034:862] [2022-07-09 00:36:41 +0000.321696][3f0e] StartRecording finished.

[034:862] [2022-07-09 00:36:41 +0000.321800][3f0e] audio: start the audio mic


checker timer.

[034:863] [2022-07-09 00:36:41 +0000.322336][3f0e] machine model :redmi


[034:863] [2022-07-09 00:36:41 +0000.322407][3f0e] Support this machine
model :redmi
[034:863] [2022-07-09 00:36:41 +0000.322440][3f0e] global inited! current sdk
version: 07-20-936c45f
[034:979] [2022-07-09 00:36:41 +0000.438978][4fbc] Run AGC when audioType = 0
[036:454] [2022-07-09 00:36:42 +0000.913237][4fbc] haveEnoughProcessedData
internalAudioStream.length: 0
[036:983] [2022-07-09 00:36:43 +0000.442213][4fbc] Run AGC when audioType = 0
[036:983] [2022-07-09 00:36:43 +0000.442451][4fbc]
AudioDeviceDataHandler::MixAndSendOutFrame
[038:181] [2022-07-09 00:36:44 +0000.640449][4fbc] haveEnoughProcessedData
internalAudioStream.length: 10
[038:863] [2022-07-09 00:36:45 +0000.322965][4ea8]
monitorTime:4001totalDuration:3940
[038:982] [2022-07-09 00:36:45 +0000.441661][4fbc] Run AGC when audioType = 0
[039:287] [2022-07-09 00:36:45 +0000.746990][3f0e]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[039:288] [2022-07-09 00:36:45 +0000.747106][3f0e] ~MediaFilterCamera
time:233520737 enter.

[039:288] [2022-07-09 00:36:45 +0000.747151][3f0e] StopPullFrameAndWriteMp4


time:233520737 enter.

[039:288] [2022-07-09 00:36:45 +0000.747894][4fb7] stop recording


[039:288] [2022-07-09 00:36:45 +0000.747998][4fb7] we have stopped recording before
[039:289] [2022-07-09 00:36:45 +0000.748081][3f0e] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[039:289] [2022-07-09 00:36:45 +0000.748464][3f0e] DestroyPipelineAndFilters


time:233520738 enter.

[039:289] [2022-07-09 00:36:45 +0000.748559][3f0e] DestroyPipelineAndFilters


leave. expire time = 0 ms

[039:289] [2022-07-09 00:36:45 +0000.748590][3f0e] AppDeviceManagerStopMic

[039:289] [2022-07-09 00:36:45 +0000.748641][3f0e] AppDeviceManagerStopMic::mic


status is on
[039:289] [2022-07-09 00:36:45 +0000[000:044] [2022-07-09 01:17:08 +0000.353229]
[2522] Log to file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start
time:2022-07-09 01:17:08 +0000
[000:044] [2022-07-09 01:17:08 +0000.353312][2522] set AppID=50011 old AppID=-1
[000:044] [2022-07-09 01:17:08 +0000.353370][2522] Init the android object with
jvm:0xb400007daca21380 env:0x7d9d01b080 context:0x7d32d6c288

[000:044] [2022-07-09 01:17:08 +0000.353457][2522] SetAndroidMediaCodecObjects


time:235943343 enter.

[000:044] [2022-07-09 01:17:08 +0000.353520][2522] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:044] [2022-07-09 01:17:08 +0000.353578][2522] SetAndroidMediaCodecObjects


time:235943343 enter.

[000:044] [2022-07-09 01:17:08 +0000.353631][2522] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007daca21380
[000:044] [2022-07-09 01:17:08 +0000.353684][2522] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007daca21380 address:0x7cca928760
[000:044] [2022-07-09 01:17:08 +0000.353741][2522] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007daca21380
address:0x7cca928760
[000:044] [2022-07-09 01:17:08 +0000.353795][2522] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:044] [2022-07-09 01:17:08 +0000.353866][2522] Set the android objects with


jvm:0xb400007daca21380 env:0x7d9d01b080 context:0x7d32d6c288

[000:047] [2022-07-09 01:17:08 +0000.357043][2522] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7d9d01b080
[000:048] [2022-07-09 01:17:08 +0000.357110][2522] SystemUtil Init done
[000:052] [2022-07-09 01:17:08 +0000.361740][2522]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:056] [2022-07-09 01:17:08 +0000.365840][2522] MediaFilterCamera
[000:056] [2022-07-09 01:17:08 +0000.365971][2522] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:057] [2022-07-09 01:17:08 +0000.366214][2522] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:057] [2022-07-09 01:17:08 +0000.366295][2522] Recording session using default
bitrate support by app:31457280
[000:057] [2022-07-09 01:17:08 +0000.366288][44a6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d09c9f740
[000:057] [2022-07-09 01:17:08 +0000.366421][44a6] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:057] [2022-07-09 01:17:08 +0000.366555][2522] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:058] [2022-07-09 01:17:08 +0000.367492][2522] Error(ini.cc:191): Open the file
failed. error:2
[000:058] [2022-07-09 01:17:08 +0000.367562][2522]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:058] [2022-07-09 01:17:08 +0000.367656][2522] The device model: 2201117tg
usingSoftwareAEC value: 0
[000:062] [2022-07-09 01:17:08 +0000.371386][2522] Error(ini.cc:191): Open the file
failed. error:2
[000:062] [2022-07-09 01:17:08 +0000.371500][2522]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:062] [2022-07-09 01:17:08 +0000.371576][2522] The device model: 2201117tg
usingHardwareAEC value: 0
[000:062] [2022-07-09 01:17:08 +0000.371637][2522] The machine device: 2201117tg
usingHardwareAEC value: 0
[000:062] [2022-07-09 01:17:08 +0000.371696][2522] Using Default AEC type: software
AEC
[000:064] [2022-07-09 01:17:08 +0000.373582][2522] The device model: 2201117tg enum
value: 0
[000:065] [2022-07-09 01:17:08 +0000.375031][2522] GetMachineModel is 2201117TG
[000:066] [2022-07-09 01:17:08 +0000.375164][2522] GetMachineInfo: 2201117TG
[000:066] [2022-07-09 01:17:08 +0000.375232][2522] Construct BeautifyReader
begin...
[000:066] [2022-07-09 01:17:08 +0000.375279][2522] dumpStickerRgba:0
dumpStickerYuv:0
[000:066] [2022-07-09 01:17:08 +0000.375334][2522] Construct BeautifyReader done.
[000:077] [2022-07-09 01:17:08 +0000.387067][2522] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:078] [2022-07-09 01:17:08 +0000.387106][44a9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d09e028a0
[000:078] [2022-07-09 01:17:08 +0000.387212][2522] AppDeviceManager telnet server
for statistics started......
[000:078] [2022-07-09 01:17:08 +0000.387778][2522] CpuOverloadDetect time:235943377
enter.

[000:078] [2022-07-09 01:17:08 +0000.387943][2522] CpuOverloadDetect leave. expire


time = 0 ms

[000:078] [2022-07-09 01:17:08 +0000.387980][44aa] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7cd3cd4c40
[000:079] [2022-07-09 01:17:08 +0000.388941][2522] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:079] [2022-07-09 01:17:08 +0000.389002][2522] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:082] [2022-07-09 01:17:08 +0000.391305][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:082] [2022-07-09 01:17:08 +0000.391817][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:083] [2022-07-09 01:17:08 +0000.392561][2522] CreatePlatformSpecificObjects:
[000:083] [2022-07-09 01:17:08 +0000.392633][2522] audio device use opensle input
and opensl output
[000:083] [2022-07-09 01:17:08 +0000.392737][2522] Create OpenSLES output module
with java VM support.

[000:083] [2022-07-09 01:17:08 +0000.393018][2522] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:084] [2022-07-09 01:17:08 +0000.393231][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:084] [2022-07-09 01:17:08 +0000.393478][2522] Create OpenSLES output module
with buffer num:1

[000:084] [2022-07-09 01:17:08 +0000.393721][2522] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:084] [2022-07-09 01:17:08 +0000.393926][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:085] [2022-07-09 01:17:08 +0000.394213][2522] Create OpenSLES input module
with java VM support.

[000:085] [2022-07-09 01:17:08 +0000.394286][2522] Create OpenSLES input module


with buffer num:1
[000:085] [2022-07-09 01:17:08 +0000.394424][2522] Error(trace.cc:40): Init the
output and input for audio device template.
[000:085] [2022-07-09 01:17:08 +0000.394471][2522] Init the output device.

[000:085] [2022-07-09 01:17:08 +0000.394511][2522] Init the opensl input.


[000:085] [2022-07-09 01:17:08 +0000.394567][2522] AppDeviceManager get setting
samplerate: 0
[000:086] [2022-07-09 01:17:08 +0000.395237][2522] The device model: 2201117tg enum
value: 0
[000:087] [2022-07-09 01:17:08 +0000.396218][2522] The device model: 2201117tg enum
value: 0
[000:087] [2022-07-09 01:17:08 +0000.396292][2522] Set the sample rate to be:48000

[000:087] [2022-07-09 01:17:08 +0000.396338][2522] Enable the recording stereo:0


[000:087] [2022-07-09 01:17:08 +0000.396382][2522] Set the playout as stereo:1
[000:087] [2022-07-09 01:17:08 +0000.396453][2522] Init the microphone.
[000:093] [2022-07-09 01:17:08 +0000.402714][2522] Update the recording sample rate
to be: 48000
[000:093] [2022-07-09 01:17:08 +0000.402863][2522] Init the speaker.
[000:093] [2022-07-09 01:17:08 +0000.402941][2522] Low latency buffer size:144 low
sample rate:48000
[000:094] [2022-07-09 01:17:08 +0000.403369][2522] Using 1 x 10ms for an audio
frame.

[000:100] [2022-07-09 01:17:08 +0000.409243][2522] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:100] [2022-07-09 01:17:08 +0000.409484][2522] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:100] [2022-07-09 01:17:08 +0000.409580][2522] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:108] [2022-07-09 01:17:08 +0000.417328][2522] The device model:2201117tg

[000:108] [2022-07-09 01:17:08 +0000.417461][2522] speaker output factor:100


defaultFactor: 100

[000:108] [2022-07-09 01:17:08 +0000.417509][2522] headset output factor:100


defaultFactor: 100

[000:109] [2022-07-09 01:17:08 +0000.418256][2522] AppDeviceManagerStart finished.


[000:109] [2022-07-09 01:17:08 +0000.418338][2522] AppDeviceManagerStartMic::mic
status is off
[000:109] [2022-07-09 01:17:08 +0000.418416][2522] AppDeviceManagerStartMic update
aec type: 2

[000:109] [2022-07-09 01:17:08 +0000.418540][2522] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:109] [2022-07-09 01:17:08 +0000.418584][2522]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:109] [2022-07-09 01:17:08 +0000.418639][2522]
AudioDeviceDataHandler::StartMicProcess

[000:109] [2022-07-09 01:17:08 +0000.418863][2522] Try to start webrtc recording


device.

[000:109] [2022-07-09 01:17:08 +0000.418942][2522] StartRecording. threadID:9506

[000:110] [2022-07-09 01:17:08 +0000.419547][2522] The machine model:2201117TG


[000:110] [2022-07-09 01:17:08 +0000.419666][2522] default mode: Set the recording
mode to voice communication to enable HW AEC .

[000:110] [2022-07-09 01:17:08 +0000.419725][2522] Set the recording mode before


getSetting: 4
[000:110] [2022-07-09 01:17:08 +0000.419786][2522] Set the recording mode after
getSetting: 1
[000:111] [2022-07-09 01:17:08 +0000.420137][44ab] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:111] [2022-07-09 01:17:08 +0000.420275][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[000:165] [2022-07-09 01:17:08 +0000.474232][2522] StartRecording finished.

[000:165] [2022-07-09 01:17:08 +0000.474348][2522] audio: start the audio mic


checker timer.

[000:166] [2022-07-09 01:17:08 +0000.475213][2522] machine model :redmi


[000:166] [2022-07-09 01:17:08 +0000.475276][2522] Support this machine
model :redmi
[000:178] [2022-07-09 01:17:08 +0000.488004][2522] global inited! current sdk
version: 07-20-936c45f
[000:242] [2022-07-09 01:17:08 +0000.551454][44ac] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:242] [2022-07-09 01:17:08 +0000.551717][44ac] _deviceSampleRate:48000

[000:245] [2022-07-09 01:17:08 +0000.554172][44ab] Run AGC when audioType = 0


[000:245] [2022-07-09 01:17:08 +0000.554370][44ab]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:989] [2022-07-09 01:17:09 +0000.298802][42b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:990] [2022-07-09 01:17:09 +0000.299266][44a7] MediaFilterCamera, recording
file context:0x7d433a4e80 input texture:10
[000:990] [2022-07-09 01:17:09 +0000.299380][44a7] GLESContext:
[000:990] [2022-07-09 01:17:09 +0000.299459][44a7] The result of eglGetDisplay is:
0x1
[000:994] [2022-07-09 01:17:09 +0000.303145][44a7] The result of creation:
0x7cd3d50400
[000:994] [2022-07-09 01:17:09 +0000.303693][44a7] The result of
eglCreatePbufferSurface is: 0x7cd3d50500
[000:995] [2022-07-09 01:17:09 +0000.304124][42b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7d433a4e80 input_texture: 10
[001:873] [2022-07-09 01:17:10 +0000.182303][44ab] haveEnoughProcessedData
internalAudioStream.length: 10
[002:244] [2022-07-09 01:17:10 +0000.553877][44ab] Run AGC when audioType = 0
[003:586] [2022-07-09 01:17:11 +0000.896084][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[004:169] [2022-07-09 01:17:12 +0000.478964][44a2]
monitorTime:4004totalDuration:3930
[004:243] [2022-07-09 01:17:12 +0000.552227][44ab] Run AGC when audioType = 0
[004:243] [2022-07-09 01:17:12 +0000.552435][44ab]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:243] [2022-07-09 01:17:13 +0000.552720][24f9] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[005:243] [2022-07-09 01:17:13 +0000.552823][24f9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[005:245] [2022-07-09 01:17:13 +0000.554137][24f9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[005:245] [2022-07-09 01:17:13 +0000.554403][44a7] operator() time:235948544
enter.

[005:245] [2022-07-09 01:17:13 +0000.554499][44a7] MediaFilterCamera, recording


file context:0x7d433a4e80 input texture:10
[005:247] [2022-07-09 01:17:13 +0000.556513][44a7] MicSource: Mic source
created:10x7cf6456900
[005:248] [2022-07-09 01:17:13 +0000.557549][44a7] received external audio stream

[005:248] [2022-07-09 01:17:13 +0000.557699][44a7] alloc thread: 0x7cd3d46180


name:worker0 thread id:535686839488 to Mic_source
[005:248] [2022-07-09 01:17:13 +0000.557765][44a7] audio: start the audio sender
thread.

[005:248] [2022-07-09 01:17:13 +0000.557929][44a7] construct OpenGLRenderProgram


0x7cd3cdc298
[005:248] [2022-07-09 01:17:13 +0000.557984][44a7] CropFilter::SetOrientation
orientation: 90
[005:249] [2022-07-09 01:17:13 +0000.558317][44a7] filter: filter pipeline
construtc this: 0x7cfcbd04c0
[005:249] [2022-07-09 01:17:13 +0000.558376][44a7] filter: filter pipeline2 update
pattern: 1
[005:249] [2022-07-09 01:17:13 +0000.558492][44a7] CameraSource::source_id_:1
[005:249] [2022-07-09 01:17:13 +0000.558544][44a7] RecordAudioSource::source_id_:2
[005:249] [2022-07-09 01:17:13 +0000.558887][44a7] BindInputFilter 0x7cd3f5fac0
this 0x7cd3cdc4c0
[005:249] [2022-07-09 01:17:13 +0000.558960][44a7] BindInputFilter 0x7cd3f5fc58
this 0x7cd3f5fdd0
[005:249] [2022-07-09 01:17:13 +0000.559017][44a7] BindInputFilter 0x7cd3cdc4c0
this 0x7cfcbd0560
[005:250] [2022-07-09 01:17:13 +0000.559122][44a7] setParamentForFilters:
speed:1.000000
[005:250] [2022-07-09 01:17:13 +0000.559173][44a7] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[005:250] [2022-07-09 01:17:13 +0000.559222][44a7] SetParamForFilter time:235948549
enter.

[005:250] [2022-07-09 01:17:13 +0000.559264][44a7] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[005:250] [2022-07-09 01:17:13 +0000.559312][44a7] SetParamForFilter: Params video
index is: 0
[005:250] [2022-07-09 01:17:13 +0000.559351][44a7] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[005:250] [2022-07-09 01:17:13 +0000.559391][44a7] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[005:250] [2022-07-09 01:17:13 +0000.559431][44a7] crop filter mode tpye:
citytravelvideo index:0
[005:256] [2022-07-09 01:17:13 +0000.565402][44ab] On audio frame the broadcast
with timestamp:235948555 samples:480. (1000 frame for one log)

[005:256] [2022-07-09 01:17:13 +0000.565912][44a7]


Warning(parse_template_json.cc:45): json parament no found the parament
[005:256] [2022-07-09 01:17:13 +0000.565971][44a7]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:256] [2022-07-09 01:17:13 +0000.566012][44a7]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:256] [2022-07-09 01:17:13 +0000.566052][44a7]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:257] [2022-07-09 01:17:13 +0000.566131][44a7]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:257] [2022-07-09 01:17:13 +0000.566172][44a7]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:257] [2022-07-09 01:17:13 +0000.566211][44a7]
Warning(parse_template_json.cc:45): json parament no found the parament
[005:257] [2022-07-09 01:17:13 +0000.566252][44a7]
Warning(parse_template_json.cc:81): json parament no found the parament
[005:257] [2022-07-09 01:17:13 +0000.566292][44a7]
Warning(parse_template_json.cc:81): json parament no found the parament
[005:257] [2022-07-09 01:17:13 +0000.566331][44a7]
Warning(parse_template_json.cc:67): json parament no found the parament
[005:257] [2022-07-09 01:17:13 +0000.566371][44a7]
Warning(parse_template_json.cc:93): json parament no found the duration
[005:257] [2022-07-09 01:17:13 +0000.566419][44a7] SetParamForFilter leave. expire
time = 7 ms

[005:257] [2022-07-09 01:17:13 +0000.566711][44a7] OnOutputSizeChanged width 1280


height 720
[005:257] [2022-07-09 01:17:13 +0000.566764][44a7] OpenGLFrameBuffer: width:1280
height:720
[005:257] [2022-07-09 01:17:13 +0000.566904][44a7] OpenGLFrameBuffer: width:1280
height:720
[005:257] [2022-07-09 01:17:13 +0000.566975][44a7] OpenGLFrameBuffer: width:1280
height:720
[005:257] [2022-07-09 01:17:13 +0000.567015][44a7] OpenGLFrameBuffer: width:1280
height:720
[005:257] [2022-07-09 01:17:13 +0000.567054][44a7] OpenGLFrameBuffer: width:1280
height:720
[005:258] [2022-07-09 01:17:13 +0000.567092][44a7] OpenGLFrameBuffer: width:1280
height:720
[005:258] [2022-07-09 01:17:13 +0000.567130][44a7] construct TrivalImageDrawer
0x7cd3bcc7c0
[005:258] [2022-07-09 01:17:13 +0000.567172][44a7] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x7cd3bcc7c0 context 0x7cd3d83780
[005:258] [2022-07-09 01:17:13 +0000.567213][44a7] setupGLES:
[005:258] [2022-07-09 01:17:13 +0000.567872][44a7] OpenGLRenderProgram::Initialize.
[005:258] [2022-07-09 01:17:13 +0000.567970][44a7] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[005:258] [2022-07-09 01:17:13 +0000.568012][44a7] The extension of the OpenGL:
GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float
GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture
GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr
GL_OES_texture_npot GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D
GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test
GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override
GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader
GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks
GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp
GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation
GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5
GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch
GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading
GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering
GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box
GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query
GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16
GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview
GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker
GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture
GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params
GL_EXT_clip_cull_distance GL_EXT_protected_textures
GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated
GL_QCOM_texture_foveated_subsampled_layout
GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate
GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array
GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior
GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control
GL_OES_texture_view GL_EXT_fragment_invocation_density
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[005:259] [2022-07-09 01:17:13 +0000.568089][44a7] Init open gl render:
0x7cd3cdc298
[005:259] [2022-07-09 01:17:13 +0000.568141][44a7] Fragement shader path:
[005:259] [2022-07-09 01:17:13 +0000.568192][44a7] Fragement shader path:
[005:259] [2022-07-09 01:17:13 +0000.568233][44a7] create opengl program object.
[005:259] [2022-07-09 01:17:13 +0000.568270][44a7] create shader: vertex
[005:262] [2022-07-09 01:17:13 +0000.571500][44d8] Get data in mic source, which
has byte length:1764micAudioStream->length():10
[005:263] [2022-07-09 01:17:13 +0000.572479][44d8] The output timestamp from audio
mixer change:235948555
[005:263] [2022-07-09 01:17:13 +0000.572611][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[005:291] [2022-07-09 01:17:13 +0000.600189][44a7] create shader: fragment
[005:302] [2022-07-09 01:17:13 +0000.611601][44ab] haveEnoughProcessedData
internalAudioStream.length: 10
[005:392] [2022-07-09 01:17:13 +0000.701164][44a7] Have not extra filter filename!
[005:392] [2022-07-09 01:17:13 +0000.701281][44a7] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[005:392] [2022-07-09 01:17:13 +0000.701328][44a7] OpenGLRenderProgram::Initialize
success.
[005:392] [2022-07-09 01:17:13 +0000.701432][44a7] Setup the OpenGL result:1
[005:392] [2022-07-09 01:17:13 +0000.701959][44a6] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4
[005:393] [2022-07-09 01:17:13 +0000.702191][44a6] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[005:393] [2022-07-09 01:17:13 +0000.702229][44e0] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d9044c098
[005:393] [2022-07-09 01:17:13 +0000.702311][44a6] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[005:393] [2022-07-09 01:17:13 +0000.702377][44a6] MP4 recorder params: fps:30
width:1280 height:720 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4
fileFD: -1
[005:393] [2022-07-09 01:17:13 +0000.702978][44a6] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4
is opened successfully
[005:393] [2022-07-09 01:17:13 +0000.703039][44a6] setupMediaProcessers:
[005:394] [2022-07-09 01:17:13 +0000.703091][44a6]
RecordingSessionInternalSimple:setup media processers.
[005:394] [2022-07-09 01:17:13 +0000.703156][44a6] construct AAC encoder
[005:394] [2022-07-09 01:17:13 +0000.704071][44a6] H264Encoder creating:
superfast011818
[005:395] [2022-07-09 01:17:13 +0000.704129][44a6] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[005:395] [2022-07-09 01:17:13 +0000.704879][44a6] H264Encode::GetMachineModel is
2201117TG
[005:395] [2022-07-09 01:17:13 +0000.704951][44a6] H264Encoder machine_mode
is:2201117TG
[005:395] [2022-07-09 01:17:13 +0000.705021][44a6] H264Encode::machine size :9
machine_mode:2201117TG
[005:395] [2022-07-09 01:17:13 +0000.705063][44a6] H264Encode::machine array
size :22 machine_mode:2201117TG
[005:396] [2022-07-09 01:17:13 +0000.705105][44a6] H264Encode::current machine
is :2201117TG auto check hw codec decide to use hw codec
[005:396] [2022-07-09 01:17:13 +0000.705144][44a6] setupCompressionSession:
[005:396] [2022-07-09 01:17:13 +0000.705181][44a6] H264Encode::creating hareware
Encoder
[005:396] [2022-07-09 01:17:13 +0000.705220][44a6] AndroidHwAvcEncoder
time:235948695 enter.

[005:396] [2022-07-09 01:17:13 +0000.705498][44a6] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007daca21380 address:0x7cca928760
[005:396] [2022-07-09 01:17:13 +0000.705707][44a6] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[005:396] [2022-07-09 01:17:13 +0000.705768][44a6] The video avc hw codec address
is 0x7d432ccd48
[005:396] [2022-07-09 01:17:13 +0000.705882][44a6] AndroidHwAvcEncoder leave.
expire time = 0 ms

[005:396] [2022-07-09 01:17:13 +0000.705943][44a6] RegisterEncodeCompleteCallback


time:235948695 enter.

[005:397] [2022-07-09 01:17:13 +0000.706155][44a6] RegisterEncodeCompleteCallback


leave. expire time = 1 ms

[005:397] [2022-07-09 01:17:13 +0000.706216][44a6] InitEncode time:235948696


enter.

[005:397] [2022-07-09 01:17:13 +0000.706314][44a6] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[005:397] [2022-07-09 01:17:13 +0000.706377][44a6] Create time:235948696 enter.

[005:397] [2022-07-09 01:17:13 +0000.706454][44a6] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[005:397] [2022-07-09 01:17:13 +0000.706539][44a6]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7d9044a440
[005:418] [2022-07-09 01:17:13 +0000.727405][44a6]
supported_type:image/vnd.android.heic
[005:418] [2022-07-09 01:17:13 +0000.727551][44a6] supported_type:video/avc
[005:418] [2022-07-09 01:17:13 +0000.727598][44a6] name:OMX.qcom.video.encoder.avc
mime:video/avc
[005:418] [2022-07-09 01:17:13 +0000.727725][44a6] hwCodecPrefix :OMX.qcom.
[005:418] [2022-07-09 01:17:13 +0000.727774][44a6] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[005:418] [2022-07-09 01:17:13 +0000.727827][44a6] mediacodec_createCodecByName
time:235948717 enter.

[005:418] [2022-07-09 01:17:13 +0000.727873][44a6] WrapAndroidMediaCodec


time:235948717 enter.

[005:419] [2022-07-09 01:17:13 +0000.728132][44a6] WrapAndroidMediaCodec leave.


expire time = 1 ms

[005:438] [2022-07-09 01:17:13 +0000.747115][44a6] mediacodec_createCodecByName


leave. expire time = 20 ms

[005:438] [2022-07-09 01:17:13 +0000.747406][44a6] WrapAndroidMediaFromat


time:235948737 enter.

[005:438] [2022-07-09 01:17:13 +0000.747571][44a6] WrapAndroidMediaFromat leave.


expire time = 0 ms

[005:471] [2022-07-09 01:17:13 +0000.780308][44a6] Destroy time:235948770 enter.

[005:471] [2022-07-09 01:17:13 +0000.780425][44a6] WrapAndroidMediaFromat::


Destroy
[005:471] [2022-07-09 01:17:13 +0000.780471][44a6] Destroy leave. expire time = 0
ms

[005:471] [2022-07-09 01:17:13 +0000.780512][44a6] ~WrapAndroidMediaFromat


time:235948770 enter.

[005:471] [2022-07-09 01:17:13 +0000.780554][44a6] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[005:471] [2022-07-09 01:17:13 +0000.780598][44a6] Create leave. expire time = 74


ms

[005:471] [2022-07-09 01:17:13 +0000.780641][44a6] isSemiPlanarSupport


time:235948770 enter.

[005:471] [2022-07-09 01:17:13 +0000.780707][44a6] H264Encoder isSemiPlanarSupport


[005:471] [2022-07-09 01:17:13 +0000.780749][44a6] isSemiPlanarSupport leave.
expire time = 0 ms

[005:471] [2022-07-09 01:17:13 +0000.780803][44a6] creat hw H264Encoder success,


isSemiPlanar:1
[005:471] [2022-07-09 01:17:13 +0000.780948][44a6] InitEncode leave. expire time =
74 ms

[005:471] [2022-07-09 01:17:13 +0000.781010][44a6] H264Encode::created Encoder


[005:471] [2022-07-09 01:17:13 +0000.781051][44a6] H264Encode:: H264 encoder
created.
[005:472] [2022-07-09 01:17:13 +0000.781089][44a6] H264 encoder created.
[005:472] [2022-07-09 01:17:13 +0000.781126][44a6]
RecordingSessionInternalSimple:created avc encoder avc: 0x7d09c905c0
[005:472] [2022-07-09 01:17:13 +0000.781167][44a6] setOutput:
[005:472] [2022-07-09 01:17:13 +0000.781206][44a6]
RecordingSessionInternalSimple:encoder set output to muxer!
[005:472] [2022-07-09 01:17:13 +0000.781245][44a6] request a key frame
[005:472] [2022-07-09 01:17:13 +0000.781281][44a6] H264Encode:: request a key frame
[005:472] [2022-07-09 01:17:13 +0000.781437][44a6] setDisplayRotate :90
[005:472] [2022-07-09 01:17:13 +0000.781496][44a6] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[005:472] [2022-07-09 01:17:13 +0000.781600][44a7] StartRecording:
[005:472] [2022-07-09 01:17:13 +0000.781715][44d8] operator(): Set the recording
session in mic source. recording session: 0x7cd3f5fb00
[005:472] [2022-07-09 01:17:13 +0000.781938][44d7] AF_SpeedFilter audio
0x7cd3f5fc80 PullFrame
[005:472] [2022-07-09 01:17:13 +0000.781967][44a7] operator() leave. expire time =
227 ms

[005:472] [2022-07-09 01:17:13 +0000.782036][44d7]


RecordAudioSource::PullAudioFrame
[005:473] [2022-07-09 01:17:13 +0000.782106][44d7] AF_SpeedFilter::PullFrame eof4
[005:475] [2022-07-09 01:17:13 +0000.784243][44d7]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[005:481] [2022-07-09 01:17:13 +0000.790727][44d7] AF_SpeedFilter audio time,
0x7cd3f5fc80 rcv time: 235948772
[005:481] [2022-07-09 01:17:13 +0000.790850][44d7] AF_SpeedFilter audio time,
0x7cd3f5fc80 rcv time: 235948772in_nSamples:441
[005:481] [2022-07-09 01:17:13 +0000.791029][44d7] resampled_data_size:0
[005:525] [2022-07-09 01:17:13 +0000.834903][44a7]
MediaFilterCamera::NeedProcessTexture
[005:525] [2022-07-09 01:17:13 +0000.835041][44a7] begine recode to first frame
spend time:280
[005:526] [2022-07-09 01:17:13 +0000.835092][44a7] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1280, height: 720, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7cd3f5f980
[005:526] [2022-07-09 01:17:13 +0000.835156][44a7] blur_distance_:0
[005:526] [2022-07-09 01:17:13 +0000.835199][44a7] blur_direction_angle_:-90
[005:526] [2022-07-09 01:17:13 +0000.835250][44a7]
GPUImageProcessing::SetOrientation orientation: 90
[005:526] [2022-07-09 01:17:13 +0000.835295][44a7] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[005:526] [2022-07-09 01:17:13 +0000.835382][44a7] GPUImageProcessing: process
video frame with resolution 1280 X 720
[005:526] [2022-07-09 01:17:13 +0000.835434][44a7] GPUImageProcessing: input frame
width1280 X 720
[005:532] [2022-07-09 01:17:13 +0000.841503][44a7] drawYUV420 render
OpenGLRenderProgram:0x7cd3cdc298
[005:534] [2022-07-09 01:17:13 +0000.843440][44a7] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[005:534] [2022-07-09 01:17:13 +0000.843604][44a7] CropFilter::OnVideoFrame
outputtexture :12
[005:534] [2022-07-09 01:17:13 +0000.843665][44a7] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[005:561] [2022-07-09 01:17:13 +0000.870978][44a7] The read pixel from buffer take:
27 width:1280 height:720 frameType:0
[005:567] [2022-07-09 01:17:13 +0000.876814][44a7] drawYUV420 render
OpenGLRenderProgram:0x7cd3cdc298
[005:582] [2022-07-09 01:17:13 +0000.891786][44a7] The convert RGB to YUV take 4
[005:583] [2022-07-09 01:17:13 +0000.892117][44a7] FilterPipeline2::OnVideoFrame
pts 32 last_video_timestamp_ 32
[005:583] [2022-07-09 01:17:13 +0000.892207][44a7]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[005:583] [2022-07-09 01:17:13 +0000.892645][44df]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[005:583] [2022-07-09 01:17:13 +0000.892735][44df] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:0
[005:583] [2022-07-09 01:17:13 +0000.892790][44df] push video frame to H264
encoder. (100 frame for one log)

[005:583] [2022-07-09 01:17:13 +0000.892842][44df] push video frame to H264


encoder. (100 frame for one log) used width:1280 height:720

[005:583] [2022-07-09 01:17:13 +0000.892889][44df] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1280 height:720 pts:0(100 frame for one log)

[005:583] [2022-07-09 01:17:13 +0000.892937][44df] Push an pts:0 to dts queue.


[005:583] [2022-07-09 01:17:13 +0000.893003][44df] DTS queue for
Generator:0x7d9044c4b8 0
[005:583] [2022-07-09 01:17:13 +0000.893045][44df] The input pts:0 fps:30
[005:585] [2022-07-09 01:17:13 +0000.894275][44df]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[005:609] [2022-07-09 01:17:13 +0000.918416][44d7] AF_SpeedFilter audio time 222,
0x7cd3f5fc80 out time: 235948772 org time: 235948772
[005:609] [2022-07-09 01:17:13 +0000.918539][44d7] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[005:609] [2022-07-09 01:17:13 +0000.918599][44d7]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 235948772
[005:609] [2022-07-09 01:17:13 +0000.918788][44d7]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[005:609] [2022-07-09 01:17:13 +0000.918870][44d7] AF_SpeedFilter audio time
[005:609] [2022-07-09 01:17:13 +0000.918943][44d7] AF_SpeedFilter audio time 111,
0x7cd3f5fc80 out time: 235948782 org time: 235948782
[005:610] [2022-07-09 01:17:13 +0000.919955][44de]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[005:614] [2022-07-09 01:17:13 +0000.924146][44e0] add aac audio track with id:1
[005:615] [2022-07-09 01:17:13 +0000.924725][44a7] drawYUV420 render
OpenGLRenderProgram:0x7cd3cdc298
[005:668] [2022-07-09 01:17:13 +0000.977887][44df] h264 add frame header cdr flag
[005:669] [2022-07-09 01:17:13 +0000.978840][44df] h264 add frame header cdr flag
[005:669] [2022-07-09 01:17:13 +0000.979038][44df] SendFrame
encodedImage._timeStamp:0encodedImage->_length:10191
[005:675] [2022-07-09 01:17:13 +0000.984820][44df] Received key frame:0
[005:675] [2022-07-09 01:17:13 +0000.984938][44df] last dts:0 currentPts:0
ppsOrSPS:0 queue length:3
[005:675] [2022-07-09 01:17:13 +0000.984992][44df] H264Encode::H264SWEncoder get
callback, length:10191 type:0 nalType:7length:18
[005:675] [2022-07-09 01:17:13 +0000.985039][44df] H264Encode:: get a sps pps
header!headerSize:31
[005:676] [2022-07-09 01:17:13 +0000.985088][44df] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[005:676] [2022-07-09 01:17:13 +0000.985229][44e0] get the H.264 SPS parameter
[005:676] [2022-07-09 01:17:13 +0000.985786][44e0] add video track with id:2
[005:676] [2022-07-09 01:17:13 +0000.986067][44e0] get the H.264 PPS parameter
[005:678] [2022-07-09 01:17:13 +0000.987415][44e0] get the H.264 IDR frame
[005:678] [2022-07-09 01:17:13 +0000.987869][44e0] resss:true
[005:678] [2022-07-09 01:17:13 +0000.987968][44e0] video start ts:0
[005:678] [2022-07-09 01:17:13 +0000.988069][44e0] the video frame has been written
into MP4 file
[005:695] [2022-07-09 01:17:14 +0000.4364][44e0] audio start ts:0
[005:695] [2022-07-09 01:17:14 +0000.4636][44e0] the audio frame has been written
into MP4 file
[006:034] [2022-07-09 01:17:14 +0000.343096][44a7] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[006:060] [2022-07-09 01:17:14 +0000.369200][44a7] The convert RGB to YUV take 5
[006:243] [2022-07-09 01:17:14 +0000.552389][44ab] Run AGC when audioType = 0
[006:262] [2022-07-09 01:17:14 +0000.571314][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:390] [2022-07-09 01:17:14 +0000.699945][44df] DTS queue for
Generator:0x7d9044c4b8 788 821
[006:519] [2022-07-09 01:17:14 +0000.828238][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[006:563] [2022-07-09 01:17:14 +0000.872764][44a7] The convert RGB to YUV take 5
[006:901] [2022-07-09 01:17:15 +0000.211059][44df] Push an pts:1337 to dts queue.
[006:969] [2022-07-09 01:17:15 +0000.278156][44df] last dts:1293 currentPts:1337
ppsOrSPS:0 queue length:3
[007:010] [2022-07-09 01:17:15 +0000.319772][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[007:019] [2022-07-09 01:17:15 +0000.328406][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[007:057] [2022-07-09 01:17:15 +0000.366991][44a7] The convert RGB to YUV take 4
[007:072] [2022-07-09 01:17:15 +0000.381468][44d7] AF_SpeedFilter audio
0x7cd3f5fc80 PullFrame
[007:237] [2022-07-09 01:17:15 +0000.546698][44df] DTS queue for
Generator:0x7d9044c4b8 1631 1667
[007:259] [2022-07-09 01:17:15 +0000.568857][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[007:316] [2022-07-09 01:17:15 +0000.626145][44d7]
RecordAudioSource::PullAudioFrame
[007:526] [2022-07-09 01:17:15 +0000.835858][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[007:563] [2022-07-09 01:17:15 +0000.872631][44a7] The convert RGB to YUV take 5
[007:563] [2022-07-09 01:17:15 +0000.873047][44a7] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 981 diff: 20
[007:638] [2022-07-09 01:17:15 +0000.947568][44df] h264 add frame header cdr flag
[007:639] [2022-07-09 01:17:15 +0000.948096][44df] Received key frame:2000
[007:645] [2022-07-09 01:17:15 +0000.954722][44e0] get the H.264 IDR frame
[007:727] [2022-07-09 01:17:16 +0000.36172][44d7] AF_SpeedFilter::PullFrame eof4
[007:729] [2022-07-09 01:17:16 +0000.38642][44d7]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[007:761] [2022-07-09 01:17:16 +0000.70744][44d7] resampled_data_size:7168
[007:954] [2022-07-09 01:17:16 +0000.263559][44de]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:4
[008:014] [2022-07-09 01:17:16 +0000.323663][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[008:046] [2022-07-09 01:17:16 +0000.355402][44a7] The convert RGB to YUV take 6
[008:049] [2022-07-09 01:17:16 +0000.358462][44df] DTS queue for
Generator:0x7d9044c4b8 2429 2456 2482
[008:223] [2022-07-09 01:17:16 +0000.532660][44df] Push an pts:2660 to dts queue.
[008:242] [2022-07-09 01:17:16 +0000.551237][44ab] Run AGC when audioType = 0
[008:242] [2022-07-09 01:17:16 +0000.551501][44ab]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:259] [2022-07-09 01:17:16 +0000.568851][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[008:293] [2022-07-09 01:17:16 +0000.602991][44df] last dts:2625 currentPts:2660
ppsOrSPS:0 queue length:3
[008:520] [2022-07-09 01:17:16 +0000.829110][44a7] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[008:548] [2022-07-09 01:17:16 +0000.857714][44a7] The convert RGB to YUV take 4
[008:633] [2022-07-09 01:17:16 +0000.942775][44d7] AF_SpeedFilter audio
0x7cd3f5fc80 PullFrame
[008:721] [2022-07-09 01:17:17 +0000.30864][44ab] haveEnoughProcessedData
internalAudioStream.length: 10
[008:815] [2022-07-09 01:17:17 +0000.124143][44a7] drawYUV420 render
OpenGLRenderProgram:0x7cd3cdc298
[008:901] [2022-07-09 01:17:17 +0000.210973][44a7] GPUImageProcessing: process
video frame with resolution 1280 X 720
[008:902] [2022-07-09 01:17:17 +0000.211140][44a7] GPUImageProcessing: input frame
width1280 X 720
[008:902] [2022-07-09 01:17:17 +0000.211527][44a7] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[008:902] [2022-07-09 01:17:17 +0000.211602][44a7] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[008:907] [2022-07-09 01:17:17 +0000.216656][44df]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3344
[008:907] [2022-07-09 01:17:17 +0000.216859][44df] DTS queue for
Generator:0x7d9044c4b8 3257 3288 3344
[008:915] [2022-07-09 01:17:17 +0000.224973][44df] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3288 pts:3288
[008:932] [2022-07-09 01:17:17 +0000.241192][44df] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:3366
[008:932] [2022-07-09 01:17:17 +0000.241386][44df] push video frame to H264
encoder. (100 frame for one log)

[008:932] [2022-07-09 01:17:17 +0000.241447][44df] push video frame to H264


encoder. (100 frame for one log) used width:1280 height:720

[008:932] [2022-07-09 01:17:17 +0000.241493][44df] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1280 height:720 pts:3366(100 frame for one
log)

[008:932] [2022-07-09 01:17:17 +0000.241557][44df] The input pts:3366 fps:30


[008:970] [2022-07-09 01:17:17 +0000.279567][44df] SendFrame
encodedImage._timeStamp:3344encodedImage->_length:130864
[009:016] [2022-07-09 01:17:17 +0000.325094][44df] H264Encode::H264SWEncoder get
callback, length:64304 type:1 nalType:1length:64300
[009:048] [2022-07-09 01:17:17 +0000.357322][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[009:076] [2022-07-09 01:17:17 +0000.386067][44a7] The convert RGB to YUV take 5
[009:158] [2022-07-09 01:17:17 +0000.467512][44d7]
RecordAudioSource::PullAudioFrame
[009:265] [2022-07-09 01:17:17 +0000.574668][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[009:537] [2022-07-09 01:17:17 +0000.846691][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[009:579] [2022-07-09 01:17:17 +0000.888484][44a7] The convert RGB to YUV take 6
[009:580] [2022-07-09 01:17:17 +0000.889769][44df] Push an pts:4014 to dts queue.
[009:660] [2022-07-09 01:17:17 +0000.969453][44df] h264 add frame header cdr flag
[009:660] [2022-07-09 01:17:17 +0000.970046][44df] Received key frame:4014
[009:661] [2022-07-09 01:17:17 +0000.970341][44df] last dts:3979 currentPts:4014
ppsOrSPS:0 queue length:3
[009:663] [2022-07-09 01:17:17 +0000.972977][44e0] get the H.264 IDR frame
[009:671] [2022-07-09 01:17:17 +0000.981054][44a7] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1981 diff: 20
[009:716] [2022-07-09 01:17:18 +0000.25779][44df] DTS queue for
Generator:0x7d9044c4b8 4114 4143
[009:973] [2022-07-09 01:17:18 +0000.282499][44d7] resampled_data_size:0
[010:027] [2022-07-09 01:17:18 +0000.336729][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[010:046] [2022-07-09 01:17:18 +0000.355933][44d7] AF_SpeedFilter::PullFrame eof4
[010:049] [2022-07-09 01:17:18 +0000.358384][44d7]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[010:086] [2022-07-09 01:17:18 +0000.395917][44a7] The convert RGB to YUV take 5
[010:241] [2022-07-09 01:17:18 +0000.550820][44ac] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:241] [2022-07-09 01:17:18 +0000.551021][44ac] _deviceSampleRate:48000

[010:243] [2022-07-09 01:17:18 +0000.552746][44ab] Run AGC when audioType = 0


[010:257] [2022-07-09 01:17:18 +0000.566236][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[010:289] [2022-07-09 01:17:18 +0000.598707][44d7] AF_SpeedFilter audio
0x7cd3f5fc80 PullFrame
[010:325] [2022-07-09 01:17:18 +0000.634523][44de]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:8
[010:456] [2022-07-09 01:17:18 +0000.765215][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[010:538] [2022-07-09 01:17:18 +0000.847460][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[010:554] [2022-07-09 01:17:18 +0000.863349][44df] DTS queue for
Generator:0x7d9044c4b8 4945 4980
[010:600] [2022-07-09 01:17:18 +0000.909560][44a7] The convert RGB to YUV take 7
[010:957] [2022-07-09 01:17:19 +0000.266419][44df] Push an pts:5390 to dts queue.
[011:053] [2022-07-09 01:17:19 +0000.362914][44df] last dts:5339 currentPts:5390
ppsOrSPS:0 queue length:3
[011:091] [2022-07-09 01:17:19 +0000.400958][44d7]
RecordAudioSource::PullAudioFrame
[011:097] [2022-07-09 01:17:19 +0000.406482][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[011:142] [2022-07-09 01:17:19 +0000.451140][44a7] The convert RGB to YUV take 6
[011:261] [2022-07-09 01:17:19 +0000.571070][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[011:468] [2022-07-09 01:17:19 +0000.777430][44df] DTS queue for
Generator:0x7d9044c4b8 5853 5903
[011:634] [2022-07-09 01:17:19 +0000.943925][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[011:670] [2022-07-09 01:17:19 +0000.979517][44a7] The convert RGB to YUV take 6
[011:766] [2022-07-09 01:17:20 +0000.75499][44df] h264 add frame header cdr flag
[011:767] [2022-07-09 01:17:20 +0000.76434][44df] Received key frame:6106
[011:809] [2022-07-09 01:17:20 +0000.118659][44e0] get the H.264 IDR frame
[011:854] [2022-07-09 01:17:20 +0000.164039][44a7] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2981 diff: 20
[011:920] [2022-07-09 01:17:20 +0000.229503][44d7] AF_SpeedFilter audio
0x7cd3f5fc80 PullFrame
[012:157] [2022-07-09 01:17:20 +0000.466758][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[012:189] [2022-07-09 01:17:20 +0000.498301][44a7] The convert RGB to YUV take 5
[012:193] [2022-07-09 01:17:20 +0000.503010][44d7] resampled_data_size:10240
[012:196] [2022-07-09 01:17:20 +0000.505453][44ab] haveEnoughProcessedData
internalAudioStream.length: 10
[012:242] [2022-07-09 01:17:20 +0000.551950][44ab] Run AGC when audioType = 0
[012:243] [2022-07-09 01:17:20 +0000.552126][44ab]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:264] [2022-07-09 01:17:20 +0000.573590][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[012:288] [2022-07-09 01:17:20 +0000.597647][44a7] drawYUV420 render
OpenGLRenderProgram:0x7cd3cdc298
[012:332] [2022-07-09 01:17:20 +0000.641344][44df] DTS queue for
Generator:0x7d9044c4b8 6697 6731 6766
[012:362] [2022-07-09 01:17:20 +0000.671446][44df]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6795
[012:362] [2022-07-09 01:17:20 +0000.671568][44df] Push an pts:6795 to dts queue.
[012:394] [2022-07-09 01:17:20 +0000.703773][44a7] GPUImageProcessing: process
video frame with resolution 1280 X 720
[012:394] [2022-07-09 01:17:20 +0000.703884][44a7] GPUImageProcessing: input frame
width1280 X 720
[012:395] [2022-07-09 01:17:20 +0000.704730][44a7] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[012:395] [2022-07-09 01:17:20 +0000.704871][44a7] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[012:410] [2022-07-09 01:17:20 +0000.719433][44df] SendFrame
encodedImage._timeStamp:6795encodedImage->_length:67920
[012:410] [2022-07-09 01:17:20 +0000.719615][44df] last dts:6766 currentPts:6795
ppsOrSPS:0 queue length:2
[012:410] [2022-07-09 01:17:20 +0000.719673][44df] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6795 pts:6795
[012:411] [2022-07-09 01:17:20 +0000.720993][44d7] AF_SpeedFilter::PullFrame eof4
[012:414] [2022-07-09 01:17:20 +0000.723191][44d7]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[012:436] [2022-07-09 01:17:20 +0000.745865][44df] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:6872
[012:437] [2022-07-09 01:17:20 +0000.746177][44df] push video frame to H264
encoder. (100 frame for one log)

[012:437] [2022-07-09 01:17:20 +0000.746242][44df] push video frame to H264


encoder. (100 frame for one log) used width:1280 height:720

[012:437] [2022-07-09 01:17:20 +0000.746384][44df] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1280 height:720 pts:6872(100 frame for one
log)

[012:437] [2022-07-09 01:17:20 +0000.746463][44df] The input pts:6872 fps:30


[012:494] [2022-07-09 01:17:20 +0000.803560][44df] H264Encode::H264SWEncoder get
callback, length:91312 type:1 nalType:1length:91308
[012:571] [2022-07-09 01:17:20 +0000.881081][44de]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6965queue_audio_frame_:2
[012:644] [2022-07-09 01:17:20 +0000.953805][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[012:693] [2022-07-09 01:17:21 +0000.3085][44a7] The convert RGB to YUV take 5
[012:991] [2022-07-09 01:17:21 +0000.300598][44d7]
RecordAudioSource::PullAudioFrame
[013:147] [2022-07-09 01:17:21 +0000.456553][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[013:153] [2022-07-09 01:17:21 +0000.463022][44df] DTS queue for
Generator:0x7d9044c4b8 7529 7555 7589
[013:186] [2022-07-09 01:17:21 +0000.495525][44a7] The convert RGB to YUV take 5
[013:253] [2022-07-09 01:17:21 +0000.562819][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[013:516] [2022-07-09 01:17:21 +0000.825099][44d7] AF_SpeedFilter audio
0x7cd3f5fc80 PullFrame
[013:655] [2022-07-09 01:17:21 +0000.964682][44a7] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[013:693] [2022-07-09 01:17:22 +0000.2624][44a7] The convert RGB to YUV take 5
[013:695] [2022-07-09 01:17:22 +0000.4738][44df] Push an pts:8130 to dts queue.
[013:765] [2022-07-09 01:17:22 +0000.74226][44df] h264 add frame header cdr flag
[013:765] [2022-07-09 01:17:22 +0000.74912][44df] Received key frame:8130
[013:765] [2022-07-09 01:17:22 +0000.75027][44df] last dts:8097 currentPts:8130
ppsOrSPS:0 queue length:3
[013:768] [2022-07-09 01:17:22 +0000.77511][44e0] get the H.264 IDR frame
[013:904] [2022-07-09 01:17:22 +0000.213211][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[013:921] [2022-07-09 01:17:22 +0000.231033][44a7] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3981 diff: 20
[013:964] [2022-07-09 01:17:22 +0000.273697][44df] DTS queue for
Generator:0x7d9044c4b8 8359 8396
[014:156] [2022-07-09 01:17:22 +0000.465757][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[014:183] [2022-07-09 01:17:22 +0000.492538][44a7] The convert RGB to YUV take 4
[014:243] [2022-07-09 01:17:22 +0000.552622][44ab] Run AGC when audioType = 0
[014:255] [2022-07-09 01:17:22 +0000.564381][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[014:454] [2022-07-09 01:17:22 +0000.763983][44d7] resampled_data_size:1024
[014:645] [2022-07-09 01:17:22 +0000.954874][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[014:667] [2022-07-09 01:17:22 +0000.976873][44d7] AF_SpeedFilter::PullFrame eof4
[014:670] [2022-07-09 01:17:22 +0000.979133][44d7]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[014:687] [2022-07-09 01:17:22 +0000.996518][44a7] The convert RGB to YUV take 5
[014:796] [2022-07-09 01:17:23 +0000.105733][44df] DTS queue for
Generator:0x7d9044c4b8 9188 9230
[014:817] [2022-07-09 01:17:23 +0000.127000][44d7]
RecordAudioSource::PullAudioFrame
[014:928] [2022-07-09 01:17:23 +0000.237655][44de]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9287queue_audio_frame_:4
[015:020] [2022-07-09 01:17:23 +0000.329373][44df] Push an pts:9430 to dts queue.
[015:079] [2022-07-09 01:17:23 +0000.388536][44df] last dts:9391 currentPts:9430
ppsOrSPS:0 queue length:3
[015:104] [2022-07-09 01:17:23 +0000.413634][44d7] AF_SpeedFilter audio
0x7cd3f5fc80 PullFrame
[015:105] [2022-07-09 01:17:23 +0000.414867][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[015:133] [2022-07-09 01:17:23 +0000.442927][44a7] The convert RGB to YUV take 8
[015:226] [2022-07-09 01:17:23 +0000.535574][44d8] The output timestamp from audio
mixer change:235958520
[015:252] [2022-07-09 01:17:23 +0000.562047][44ab] On audio frame the broadcast
with timestamp:235958551 samples:480. (1000 frame for one log)

[015:257] [2022-07-09 01:17:23 +0000.566759][44d8] Get data in mic source, which


has byte length:1764micAudioStream->length():10
[015:257] [2022-07-09 01:17:23 +0000.567013][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[015:483] [2022-07-09 01:17:23 +0000.792687][44d7] AF_SpeedFilter audio time,
0x7cd3f5fc80 rcv time: 235958772
[015:483] [2022-07-09 01:17:23 +0000.792819][44d7] AF_SpeedFilter audio time,
0x7cd3f5fc80 rcv time: 235958772in_nSamples:441
[015:583] [2022-07-09 01:17:23 +0000.892538][44d7] FilterPipeline2::OnAudioFrame
pts 10010 last_audio_timestamp_ 10010
[015:583] [2022-07-09 01:17:23 +0000.892723][44d7]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 235958772
[015:583] [2022-07-09 01:17:23 +0000.892775][44d7]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[015:614] [2022-07-09 01:17:23 +0000.923214][44a7] drawYUV420 render
OpenGLRenderProgram:0x7cd3cdc298
[015:621] [2022-07-09 01:17:23 +0000.931046][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[015:624] [2022-07-09 01:17:23 +0000.933260][44df] DTS queue for
Generator:0x7d9044c4b8 10030 10056
[015:648] [2022-07-09 01:17:23 +0000.957519][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[015:682] [2022-07-09 01:17:23 +0000.991111][44a7] The convert RGB to YUV take 5
[015:688] [2022-07-09 01:17:23 +0000.997130][44df]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:10119
[015:742] [2022-07-09 01:17:24 +0000.51768][44a7] GPUImageProcessing: process video
frame with resolution 1280 X 720
[015:742] [2022-07-09 01:17:24 +0000.51894][44a7] GPUImageProcessing: input frame
width1280 X 720
[015:743] [2022-07-09 01:17:24 +0000.52579][44a7] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[015:743] [2022-07-09 01:17:24 +0000.52698][44a7] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[015:752] [2022-07-09 01:17:24 +0000.62020][44df] h264 add frame header cdr flag
[015:753] [2022-07-09 01:17:24 +0000.62700][44df] SendFrame
encodedImage._timeStamp:10119encodedImage->_length:165856
[015:753] [2022-07-09 01:17:24 +0000.62822][44df] Received key frame:10119
[015:791] [2022-07-09 01:17:24 +0000.101051][44df] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:10226
[015:792] [2022-07-09 01:17:24 +0000.101316][44df] push video frame to H264
encoder. (100 frame for one log)

[015:792] [2022-07-09 01:17:24 +0000.101370][44df] push video frame to H264


encoder. (100 frame for one log) used width:1280 height:720

[015:792] [2022-07-09 01:17:24 +0000.101419][44df] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1280 height:720 pts:10226(100 frame for one
log)

[015:792] [2022-07-09 01:17:24 +0000.101487][44df] The input pts:10226 fps:30


[015:796] [2022-07-09 01:17:24 +0000.105552][44df] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10154 pts:10154
[015:797] [2022-07-09 01:17:24 +0000.106799][44e0] get the H.264 IDR frame
[015:861] [2022-07-09 01:17:24 +0000.170726][44df] H264Encode::H264SWEncoder get
callback, length:72720 type:1 nalType:1length:72716
[015:953] [2022-07-09 01:17:24 +0000.262511][44a7] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4982 diff: 19
[016:148] [2022-07-09 01:17:24 +0000.457148][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[016:184] [2022-07-09 01:17:24 +0000.493473][44a7] The convert RGB to YUV take 4
[016:245] [2022-07-09 01:17:24 +0000.554435][44ab] Run AGC when audioType = 0
[016:245] [2022-07-09 01:17:24 +0000.554607][44ab]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:257] [2022-07-09 01:17:24 +0000.566413][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[016:354] [2022-07-09 01:17:24 +0000.663186][44df] Push an pts:10789 to dts queue.
[016:400] [2022-07-09 01:17:24 +0000.709895][44df] last dts:10757 currentPts:10789
ppsOrSPS:0 queue length:2
[016:469] [2022-07-09 01:17:24 +0000.778178][44df] DTS queue for
Generator:0x7d9044c4b8 10831 10868 10906
[016:615] [2022-07-09 01:17:24 +0000.924708][44d7] resampled_data_size:13312
[016:653] [2022-07-09 01:17:24 +0000.962313][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[016:680] [2022-07-09 01:17:24 +0000.989867][44a7] The convert RGB to YUV take 4
[016:687] [2022-07-09 01:17:24 +0000.996372][44d7]
RecordAudioSource::PullAudioFrame
[016:698] [2022-07-09 01:17:25 +0000.7283][44d7] AF_SpeedFilter audio 0x7cd3f5fc80
PullFrame
[016:710] [2022-07-09 01:17:25 +0000.19483][44d7] AF_SpeedFilter audio time
[016:710] [2022-07-09 01:17:25 +0000.19629][44d7] AF_SpeedFilter audio time 111,
0x7cd3f5fc80 out time: 235959962 org time: 235959962
[016:782] [2022-07-09 01:17:25 +0000.91700][44a7] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[016:962] [2022-07-09 01:17:25 +0000.271699][44d7] AF_SpeedFilter::PullFrame eof4
[016:964] [2022-07-09 01:17:25 +0000.274017][44d7]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[017:142] [2022-07-09 01:17:25 +0000.452055][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[017:193] [2022-07-09 01:17:25 +0000.502708][44a7] The convert RGB to YUV take 5
[017:261] [2022-07-09 01:17:25 +0000.571101][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[017:285] [2022-07-09 01:17:25 +0000.594609][44df] DTS queue for
Generator:0x7d9044c4b8 11659 11695 11721
[017:288] [2022-07-09 01:17:25 +0000.597287][44de]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 11609queue_audio_frame_:8
[017:330] [2022-07-09 01:17:25 +0000.639634][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[017:666] [2022-07-09 01:17:25 +0000.975154][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[017:696] [2022-07-09 01:17:26 +0000.6172][44a7] The convert RGB to YUV take 4
[017:698] [2022-07-09 01:17:26 +0000.7760][44df] Push an pts:12134 to dts queue.
[017:804] [2022-07-09 01:17:26 +0000.114069][44df] h264 add frame header cdr flag
[017:805] [2022-07-09 01:17:26 +0000.114809][44df] Received key frame:12134
[017:805] [2022-07-09 01:17:26 +0000.114870][44df] last dts:12108 currentPts:12134
ppsOrSPS:0 queue length:4
[017:808] [2022-07-09 01:17:26 +0000.117092][44e0] get the H.264 IDR frame
[018:054] [2022-07-09 01:17:26 +0000.364048][44a7] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5978 diff: 23
[018:083] [2022-07-09 01:17:26 +0000.392219][44df] DTS queue for
Generator:0x7d9044c4b8 12497 12519
[018:153] [2022-07-09 01:17:26 +0000.462669][44a7] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[018:188] [2022-07-09 01:17:26 +0000.498056][24f9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[018:193] [2022-07-09 01:17:26 +0000.502490][44a7] The convert RGB to YUV take 4
[018:194] [2022-07-09 01:17:26 +0000.503171][44a7] operator(): Stop
[018:194] [2022-07-09 01:17:26 +0000.503247][44a7] StopPullFrameAndWriteMp4
time:235961493 enter.

[018:194] [2022-07-09 01:17:26 +0000.503295][44a7] StopRecording:


[018:198] [2022-07-09 01:17:26 +0000.507677][44d7] resampled_data_size:512
[018:199] [2022-07-09 01:17:26 +0000.508301][44d7] AF_SpeedFilter audio time 222,
0x7cd3f5fc80 out time: 235961392 org time: 235961392
[018:199] [2022-07-09 01:17:26 +0000.508520][44d7] PullAudioFrame: PullFrame audio
finished.
[018:199] [2022-07-09 01:17:26 +0000.508596][44d7]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[018:205] [2022-07-09 01:17:26 +0000.514293][44df]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:376
[018:207] [2022-07-09 01:17:26 +0000.516505][44a6] stop recording
[018:207] [2022-07-09 01:17:26 +0000.516618][44a6]
RecordingSessionInternalSimple:destroy media processers
[018:207] [2022-07-09 01:17:26 +0000.516664][44a6] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[018:207] [2022-07-09 01:17:26 +0000.516709][44a6] H264Encode::flushing hareware
Encoder
[018:207] [2022-07-09 01:17:26 +0000.516966][44a6] Flush time:235961506 enter.

[018:208] [2022-07-09 01:17:26 +0000.517098][44a6] H264Encoder encoder flush


[018:208] [2022-07-09 01:17:26 +0000.517205][44a6] flush output queue
[018:244] [2022-07-09 01:17:26 +0000.553796][44ab] Run AGC when audioType = 0
[018:259] [2022-07-09 01:17:26 +0000.568757][44d8] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[018:526] [2022-07-09 01:17:26 +0000.835293][44a6] Flush leave. expire time = 319
ms

[018:526] [2022-07-09 01:17:26 +0000.835765][44a6] ~H264EncodeWrap:


[018:526] [2022-07-09 01:17:26 +0000.835932][44a6] ~H264Encode:
[018:526] [2022-07-09 01:17:26 +0000.836005][44a6] teardownCompressionSession:
H264Encode::destroying Encoder
[018:526] [2022-07-09 01:17:26 +0000.836067][44a6] Release time:235961825 enter.

[018:527] [2022-07-09 01:17:26 +0000.836765][44a6] Release:


MediaCodecVideoEncoder::Release _inited:1
[018:527] [2022-07-09 01:17:26 +0000.836947][44a6] Destroy time:235961826 enter.

[018:527] [2022-07-09 01:17:26 +0000.837032][44a6] H264Encoder encoderDestroy


[018:528] [2022-07-09 01:17:26 +0000.837099][44a6]
AndroidMediaCodecVideoEncoder::release env: 0x7d09c90700
[018:528] [2022-07-09 01:17:26 +0000.837155][44a6]
AndroidMediaCodecVideoEncoder::Destroy
[018:558] [2022-07-09 01:17:26 +0000.867877][44a6] Destroy leave. expire time = 31
ms

[018:559] [2022-07-09 01:17:26 +0000.868266][44a6] Release leave. expire time = 33


ms

[018:559] [2022-07-09 01:17:26 +0000.868397][44a6] ~AndroidHwAvcEncoder


time:235961858 enter.

[018:559] [2022-07-09 01:17:26 +0000.868697][44a6] Release time:235961858 enter.

[018:559] [2022-07-09 01:17:26 +0000.868807][44a6] Release:


MediaCodecVideoEncoder:: has been released before, just return
[018:559] [2022-07-09 01:17:26 +0000.869008][44a6] Release leave. expire time = 0
ms

[018:560] [2022-07-09 01:17:26 +0000.869079][44a6] ~AndroidMediaCodecVideoEncoder


[018:560] [2022-07-09 01:17:26 +0000.869131][44a6] ~WrapAndroidMediaCodec
time:235961859 enter.

[018:560] [2022-07-09 01:17:26 +0000.869190][44a6] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[018:560] [2022-07-09 01:17:26 +0000.869605][44a6] video hevc hw codec


destructor:0x7d432ccd48

[018:560] [2022-07-09 01:17:26 +0000.869809][44a6] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[018:560] [2022-07-09 01:17:26 +0000.869906][44a6] teardownCompressionSession:


H264Encode::destroyed Encoder
[018:560] [2022-07-09 01:17:26 +0000.869962][44a6]
RecordingSessionInternalSimple:destroy aac encoder output!
[018:560] [2022-07-09 01:17:26 +0000.870011][44a6] AACSWEncode destructor
[018:574] [2022-07-09 01:17:26 +0000.883234][44e0] MP4 close file successfully
[018:574] [2022-07-09 01:17:26 +0000.883425][44e0] Recording session Internal:
notify recording ok
[018:574] [2022-07-09 01:17:26 +0000.883490][44e0] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4,
output_video_timestamp_:12631 last_video_pts_:12631
[018:574] [2022-07-09 01:17:26 +0000.883561][44e0] OnRecordFinish:
[018:576] [2022-07-09 01:17:26 +0000.885168][44e0] onRecordingOk: net seek
pos:0record video duration:12664record audio duration:12608
[018:577] [2022-07-09 01:17:26 +0000.886919][44d8] destructMicSource_w:
[018:580] [2022-07-09 01:17:26 +0000.889672][44d8] setOutput_w:
MicSource::setOutput() 0x0
[018:581] [2022-07-09 01:17:26 +0000.890850][44d8] close external audio stream

[018:582] [2022-07-09 01:17:26 +0000.891343][44a7] releaseThread 0x7cd3d46180


[018:582] [2022-07-09 01:17:26 +0000.891500][44a7] ~MicSource: Mic source
destroyed:0x7cf6456900
[018:584] [2022-07-09 01:17:26 +0000.893475][44a7] StopPullFrameAndWriteMp4 leave.
expire time = 390 ms

[018:584] [2022-07-09 01:17:26 +0000.893633][44a7] DestroyPipelineAndFilters


time:235961883 enter.

[018:584] [2022-07-09 01:17:26 +0000.893723][44a7] UnbindInputFilter 0x7cd3f5fac0


this 0x7cd3cdc4c0
[018:584] [2022-07-09 01:17:26 +0000.893787][44a7] UnbindInputFilter 0x7cd3f5fc58
this 0x7cd3f5fdd0
[018:584] [2022-07-09 01:17:26 +0000.893879][44a7] UnbindInputFilter 0x7cd3cdc4c0
this 0x7cfcbd0560
[018:584] [2022-07-09 01:17:26 +0000.893943][44a7] filter: filter pipeline destroy
this: 0x7cfcbd04c0
[018:586] [2022-07-09 01:17:26 +0000.895597][44a7] ClearVideoOfSources: recodring
total frames:0
[018:586] [2022-07-09 01:17:26 +0000.895816][44a7] ClearVideoOfSources:
[018:586] [2022-07-09 01:17:26 +0000.895865][44a7] GPUImageProcessing destruct.
[018:586] [2022-07-09 01:17:26 +0000.895966][44a7] destroy TrivalImageDrawer
0x7cd3bcc7c0
[018:586] [2022-07-09 01:17:26 +0000.896016][44a7] The shader has been initialize,
clean up them.

[018:587] [2022-07-09 01:17:26 +0000.896138][44a7] ~OpenGLFrameBuffer:


[018:587] [2022-07-09 01:17:26 +0000.896345][44a7] ~OpenGLFrameBuffer:
[018:587] [2022-07-09 01:17:26 +0000.896528][44a7] ~OpenGLFrameBuffer:
[018:587] [2022-07-09 01:17:26 +0000.896715][44a7] ~OpenGLFrameBuffer:
[018:589] [2022-07-09 01:17:26 +0000.898324][44a7] ~OpenGLFrameBuffer:
[018:589] [2022-07-09 01:17:26 +0000.898574][44a7] ~OpenGLFrameBuffer:
[018:589] [2022-07-09 01:17:26 +0000.898932][44a7] GPUImageProcessing destruct
finish.
[018:589] [2022-07-09 01:17:26 +0000.899039][44a7] GPURGBAFrame destruct.
[018:590] [2022-07-09 01:17:26 +0000.899121][44a7] destroy OpenGLRenderProgram
0x7cd3cdc298
[018:590] [2022-07-09 01:17:26 +0000.899174][44a7] ~CameraSource time:235961889
enter.

[018:590] [2022-07-09 01:17:26 +0000.899216][44a7] ~CameraSource leave. expire


time = 0 ms
[018:590] [2022-07-09 01:17:26 +0000.899262][44a7] ~RecordAudioSource
time:235961889 enter.

[018:590] [2022-07-09 01:17:26 +0000.899302][44a7] ~RecordAudioSource leave.


expire time = 0 ms

[018:590] [2022-07-09 01:17:26 +0000.899346][44a7] DestroyPipelineAndFilters


leave. expire time = 6 ms

[018:632] [2022-07-09 01:17:26 +0000.941809][24f9]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[018:633] [2022-07-09 01:17:26 +0000.942902][24f9] machine model :redmi
[018:633] [2022-07-09 01:17:26 +0000.942966][24f9] Support this machine
model :redmi
[018:633] [2022-07-09 01:17:26 +0000.943045][24f9] global inited! current sdk
version: 07-20-936c45f
[018:634] [2022-07-09 01:17:26 +0000.943276][24f9] filter: filter pipeline
construtc this: 0x7d1629a200
[018:634] [2022-07-09 01:17:26 +0000.943336][24f9] MediaFilterGraph:
MediaFilterGraph construct
[018:634] [2022-07-09 01:17:26 +0000.943376][24f9] GLESContext:
[018:634] [2022-07-09 01:17:26 +0000.943439][24f9] The result of eglGetDisplay is:
0x1
[018:636] [2022-07-09 01:17:26 +0000.945849][24f9] The result of creation:
0x7d09d90c00
[018:636] [2022-07-09 01:17:26 +0000.946059][24f9] The result of
eglCreatePbufferSurface is: 0x7d09d90d00
[018:641] [2022-07-09 01:17:26 +0000.950828][24f9] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4
[018:641] [2022-07-09 01:17:26 +0000.950968][24f9] The source 0 speed:1
[018:641] [2022-07-09 01:17:26 +0000.951038][24f9] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4,
delay: 0
[018:642] [2022-07-09 01:17:26 +0000.951108][24f9] CreateDecoderByVideoSource
time:235961941 enter.

[018:642] [2022-07-09 01:17:26 +0000.951452][24f9] running_decoder_count:0max


count:2
[018:643] [2022-07-09 01:17:26 +0000.952344][24f9] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7d432e6000
[018:663] [2022-07-09 01:17:26 +0000.972843][4508] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7cee0d3600] Current FFmpeg version git-2021-06-16-
97cea6f

[018:763] [2022-07-09 01:17:27 +0000.72754][4508] OnStreamInfoFound: video


duration_: 12664
[018:766] [2022-07-09 01:17:27 +0000.75381][4509] NO get frame from decoder
[018:766] [2022-07-09 01:17:27 +0000.75399][24f9] start decoder
[018:766] [2022-07-09 01:17:27 +0000.75552][24f9] CreateDecoderByVideoSource
leave. expire time = 124 ms

[018:766] [2022-07-09 01:17:27 +0000.75641][24f9] BindInputFilter 0x7cee06d820


this 0x7d1609ca98
[018:766] [2022-07-09 01:17:27 +0000.75704][24f9] BindInputFilter 0x7d1609ca98
this 0x7d1609cb58
[018:766] [2022-07-09 01:17:27 +0000.75770][24f9] BindInputFilter 0x7cee06d820
this 0x7d1609cc18
[018:766] [2022-07-09 01:17:27 +0000.75830][24f9] BindInputFilter 0x7d1609cc18
this 0x7d1609ccd8
[018:766] [2022-07-09 01:17:27 +0000.75868][24f9] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4
[018:766] [2022-07-09 01:17:27 +0000.75934][24f9] BindInputFilter 0x7d1609cb58
this 0x7d1609cd98
[018:766] [2022-07-09 01:17:27 +0000.75993][24f9] BindInputFilter 0x7d1609cd98
this 0x7d1629a2a0
[018:766] [2022-07-09 01:17:27 +0000.76050][24f9] BindInputFilter 0x7d1609ccd8
this 0x7d160cf158
[018:767] [2022-07-09 01:17:27 +0000.76107][24f9] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4
[018:767] [2022-07-09 01:17:27 +0000.76782][4509] NO get frame from decoder
[018:768] [2022-07-09 01:17:27 +0000.77602][24f9]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[018:769] [2022-07-09 01:17:27 +0000.78380][24f9] machine model :redmi
[018:769] [2022-07-09 01:17:27 +0000.78448][24f9] Support this machine model :redmi
[018:769] [2022-07-09 01:17:27 +0000.78489][24f9] global inited! current sdk
version: 07-20-936c45f
[018:769] [2022-07-09 01:17:27 +0000.78593][24f9] GetPipeline:
-----------------------------------------
[018:769] [2022-07-09 01:17:27 +0000.78648][24f9] GetPipeline: source: 0x7cee06d600
[018:769] [2022-07-09 01:17:27 +0000.78701][24f9] GetPipeline: filter: NULLFilter
[018:769] [2022-07-09 01:17:27 +0000.78752][24f9] GetPipeline: filter: NULLFilter
[018:769] [2022-07-09 01:17:27 +0000.78801][24f9] GetPipeline: filter: NULLFilter
[018:769] [2022-07-09 01:17:27 +0000.78850][24f9] GetPipeline: audio filter:
AuidoNULLFilter
[018:769] [2022-07-09 01:17:27 +0000.78900][24f9] GetPipeline: audio filter:
AuidoNULLFilter
[018:769] [2022-07-09 01:17:27 +0000.78948][24f9] GetPipeline: audio filter:
AudioNUllFilter
[018:769] [2022-07-09 01:17:27 +0000.79027][24f9] GetPipeline:
------------------------------------------
[018:770] [2022-07-09 01:17:27 +0000.79083][24f9] filter: filter pipeline2 update
pattern: 0
[018:770] [2022-07-09 01:17:27 +0000.79556][24f9] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[018:770] [2022-07-09 01:17:27 +0000.79776][24f9] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[018:770] [2022-07-09 01:17:27 +0000.79847][24f9] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[018:771] [2022-07-09 01:17:27 +0000.80074][24f9] DeviceInit:
[018:771] [2022-07-09 01:17:27 +0000.80427][24f9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[018:772] [2022-07-09 01:17:27 +0000.82117][4509] NO get frame from decoder
[018:773] [2022-07-09 01:17:27 +0000.82357][24f9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[018:774] [2022-07-09 01:17:27 +0000.83768][4509] NO get frame from decoder
[018:774] [2022-07-09 01:17:27 +0000.84024][24f9] CreatePlatformSpecificObjects:
[018:775] [2022-07-09 01:17:27 +0000.84092][24f9] audio device use null audio
input and opensl output
[018:775] [2022-07-09 01:17:27 +0000.84144][24f9] Create OpenSLES output module
with java VM support.

[018:775] [2022-07-09 01:17:27 +0000.84503][24f9] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[018:775] [2022-07-09 01:17:27 +0000.84880][24f9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[018:776] [2022-07-09 01:17:27 +0000.85317][24f9] Create OpenSLES output module
with buffer num:2

[018:776] [2022-07-09 01:17:27 +0000.85413][24f9] Error(trace.cc:40): Init the


output and input for audio device template.
[018:776] [2022-07-09 01:17:27 +0000.85461][24f9] Init the output device.

[018:776] [2022-07-09 01:17:27 +0000.85504][24f9] Set the playout as stereo:1


[018:776] [2022-07-09 01:17:27 +0000.85549][24f9] Set the sample rate to be:44100

[018:776] [2022-07-09 01:17:27 +0000.85631][24f9] Low latency buffer size:144 low


sample rate:48000
[018:776] [2022-07-09 01:17:27 +0000.85687][24f9] DeviceInit: Done
[018:776] [2022-07-09 01:17:27 +0000.85978][4509] NO get frame from decoder
[018:776] [2022-07-09 01:17:27 +0000.85986][24f9] UpdateRate: lipsync_debug: Update
framerate from 0 to 15
[018:778] [2022-07-09 01:17:27 +0000.87303][4509] NO get frame from decoder
[018:778] [2022-07-09 01:17:27 +0000.87863][24f9]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[018:778] [2022-07-09 01:17:27 +0000.88005][24f9]
MediaFilterPlayer::SetPlayerNotify 0x7d09d4e000
[018:779] [2022-07-09 01:17:27 +0000.89045][24f9]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[018:780] [2022-07-09 01:17:27 +0000.89136][24f9]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[018:781] [2022-07-09 01:17:27 +0000.90523][24f9]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[018:782] [2022-07-09 01:17:27 +0000.91459][4509] NO get frame from decoder
[018:782] [2022-07-09 01:17:27 +0000.91548][24f9] SetGraphLoop: SetGraphLoop 1
[018:782] [2022-07-09 01:17:27 +0000.91597][24f9]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[018:783] [2022-07-09 01:17:27 +0000.92432][24f9]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[018:786] [2022-07-09 01:17:27 +0000.95417][4509] NO get frame from decoder
[018:791] [2022-07-09 01:17:27 +0000.100206][4514] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7ceddb3218
[018:810] [2022-07-09 01:17:27 +0000.119523][24f9]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[018:813] [2022-07-09 01:17:27 +0000.122538][24f9]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[018:815] [2022-07-09 01:17:27 +0000.124638][4516] Start:
[018:815] [2022-07-09 01:17:27 +0000.124879][4515] operator(): video render
started.
[018:815] [2022-07-09 01:17:27 +0000.124967][4515] DriveRender working... (1/200)
[018:815] [2022-07-09 01:17:27 +0000.125010][4515] Warning(video_render.cc:390): No
picture to display (1/50)
[018:817] [2022-07-09 01:17:27 +0000.126504][4516] Start:
[018:817] [2022-07-09 01:17:27 +0000.126778][4516] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[018:817] [2022-07-09 01:17:27 +0000.126932][4516] Reset: history total size: 98
[018:817] [2022-07-09 01:17:27 +0000.126993][4516] DeviceStart:
audioDevice_:0x7d09c28000
[018:817] [2022-07-09 01:17:27 +0000.127036][4516] DeviceStart: time profile
playout init before
[018:818] [2022-07-09 01:17:27 +0000.127083][4516] DeviceStart: time profile
playout init end
[018:818] [2022-07-09 01:17:27 +0000.127124][4516] OpenSlesOutput:Start playout

[018:825] [2022-07-09 01:17:27 +0000.134846][4516] Create the opensl output player.


streamtype before:0

[018:825] [2022-07-09 01:17:27 +0000.134948][4516] Create the opensl output player.


streamtype after:3

[018:842] [2022-07-09 01:17:27 +0000.151123][4516] Enqueue opensl buffer size:1764


[018:850] [2022-07-09 01:17:27 +0000.159592][4516] DeviceStart: time profile
playout all end
[018:850] [2022-07-09 01:17:27 +0000.159643][4519]
PlayerSimpleBufferQueueCallbackHandler function
[018:850] [2022-07-09 01:17:27 +0000.159712][4516] operator(): Audio playback
started.
[018:850] [2022-07-09 01:17:27 +0000.159799][4519] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[018:850] [2022-07-09 01:17:27 +0000.159863][4519]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[018:850] [2022-07-09 01:17:27 +0000.159975][4518] Error(video_source.cc:430): wait
decoder a frame: 0
[018:850] [2022-07-09 01:17:27 +0000.160073][4517] Pull audio failed.(wait video!)
[018:851] [2022-07-09 01:17:27 +0000.160142][4517]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[018:850] [2022-07-09 01:17:27 +0000.159861][4516] operator(): Started now!
[018:853] [2022-07-09 01:17:27 +0000.162176][4518] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[018:864] [2022-07-09 01:17:27 +0000.173261][4517] audio_frame_list_ empty
[018:883] [2022-07-09 01:17:27 +0000.192194][4518] OnVideoFrameReady(1/200)
[018:883] [2022-07-09 01:17:27 +0000.192737][4515] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[018:891] [2022-07-09 01:17:27 +0000.200647][4515] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:235962190
[018:974] [2022-07-09 01:17:27 +0000.283811][4518]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[019:038] [2022-07-09 01:17:27 +0000.347588][4515] lipsync_debug: render a video
frame
[019:038] [2022-07-09 01:17:27 +0000.347699][4515] lipsync_debug: First video frame
rendering.
[019:041] [2022-07-09 01:17:27 +0000.350364][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[019:051] [2022-07-09 01:17:27 +0000.360260][4515]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:40 timeDelta:160 last
video ts:900 frame->pts:4500 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[019:051] [2022-07-09 01:17:27 +0000.360450][4515] lipsync_debug: tsDelta -
timeDelta = -120
[019:051] [2022-07-09 01:17:27 +0000.360495][4515] lipsync_debug:result remaining
time:0
[019:051] [2022-07-09 01:17:27 +0000.360535][4515] dynamic updated lipsync delay:0
[019:099] [2022-07-09 01:17:27 +0000.408322][4517] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[019:099] [2022-07-09 01:17:27 +0000.408480][4517] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[019:099] [2022-07-09 01:17:27 +0000.409047][4516] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[019:100] [2022-07-09 01:17:27 +0000.409247][4516] The audio playback speed:100
(1/100)
[019:100] [2022-07-09 01:17:27 +0000.409321][4516] lipsync_debug: The current
played audio timestamp is:0(1/50)
[019:100] [2022-07-09 01:17:27 +0000.409453][4516] First audio frame rendering
[019:234] [2022-07-09 01:17:27 +0000.543152][4518] video frame wait audio frame:
last_video_timestamp:333 last_audio_timestamp:207.937
[019:307] [2022-07-09 01:17:27 +0000.616112][4515] lipsync_debug:remaining time:10
tsDelta - timeDelta:20
[019:307] [2022-07-09 01:17:27 +0000.616362][4515] lipsync_debug:result remaining
time:10
[019:554] [2022-07-09 01:17:27 +0000.864055][4515] lipsync_debug:displaying video
ts:60480 The current displayed video timestamp is:235962853
[019:725] [2022-07-09 01:17:28 +0000.34822][4519]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[019:850] [2022-07-09 01:17:28 +0000.159531][4516] do work DoLipsync!
[019:850] [2022-07-09 01:17:28 +0000.159630][4516] total delay:365 videoTsMS:961
audioTsMS:596 diff:365
[019:850] [2022-07-09 01:17:28 +0000.159681][4516] Set the lipsync delay:365
[020:240] [2022-07-09 01:17:28 +0000.549517][44ac] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:240] [2022-07-09 01:17:28 +0000.549740][44ac] _deviceSampleRate:48000

[020:242] [2022-07-09 01:17:28 +0000.552088][44ab] Run AGC when audioType = 0


[020:243] [2022-07-09 01:17:28 +0000.552391][44ab]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:289] [2022-07-09 01:17:28 +0000.598169][4518] Error(video_source.cc:430): wait
decoder a frame: 0
[020:404] [2022-07-09 01:17:28 +0000.713967][4515] lipsync_debug:displaying video
ts:120330 The current displayed video timestamp is:235963703
[020:682] [2022-07-09 01:17:28 +0000.992047][4519]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[020:758] [2022-07-09 01:17:29 +0000.67684][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[020:877] [2022-07-09 01:17:29 +0000.187045][4515] DriveRender working... (1/200)
[021:150] [2022-07-09 01:17:29 +0000.459402][4515]
lipsync_debug:lipsync_threadhold: lipsync_delta:16 tsDelta:49 timeDelta:14 last
video ts:164520 frame->pts:167490 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[021:150] [2022-07-09 01:17:29 +0000.459590][4515] lipsync_debug: tsDelta -
timeDelta = 35
[021:319] [2022-07-09 01:17:29 +0000.628454][24f9]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_PausePreViewJni:
[021:319] [2022-07-09 01:17:29 +0000.628671][24f9] PausePreView:
[021:320] [2022-07-09 01:17:29 +0000.629599][4516] operator():
[021:320] [2022-07-09 01:17:29 +0000.629720][4516] Warning(audio_playback.cc:748):
operator(): Audio playback paused.
[021:320] [2022-07-09 01:17:29 +0000.629791][4516] Pause:
[021:321] [2022-07-09 01:17:29 +0000.630327][4515] operator(): video render paused.
[021:321] [2022-07-09 01:17:29 +0000.630590][4516] operator(): Player paused.
[021:411] [2022-07-09 01:17:29 +0000.720192][4519] NeedMorePlayData: Scale the
volume to zero now!
[021:737] [2022-07-09 01:17:30 +0000.47058][4519]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[022:245] [2022-07-09 01:17:30 +0000.554448][44ab] Run AGC when audioType = 0
[022:476] [2022-07-09 01:17:30 +0000.785130][44ab] haveEnoughProcessedData
internalAudioStream.length: 10
[022:698] [2022-07-09 01:17:31 +0000.7338][4519]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[023:659] [2022-07-09 01:17:31 +0000.968727][4519]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[024:184] [2022-07-09 01:17:32 +0000.493989][44ab] haveEnoughProcessedData
internalAudioStream.length: 10
[024:242] [2022-07-09 01:17:32 +0000.551593][44ab] Run AGC when audioType = 0
[024:242] [2022-07-09 01:17:32 +0000.551830][44ab]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:763] [2022-07-09 01:17:33 +0000.72621][4519]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[025:722] [2022-07-09 01:17:34 +0000.31409][4519]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[025:907] [2022-07-09 01:17:34 +0000.216941][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[026:242] [2022-07-09 01:17:34 +0000.551619][44ab] Run AGC when audioType = 0
[026:690] [2022-07-09 01:17:34 +0000.999367][4519]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[027:132] [2022-07-09 01:17:35 +0000.441243][24f9]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[027:132] [2022-07-09 01:17:35 +0000.441844][4516] Stop:
[027:133] [2022-07-09 01:17:35 +0000.442263][4515] operator(): Video Render
stopped.
[027:133] [2022-07-09 01:17:35 +0000.442447][4516] Stop:
[027:133] [2022-07-09 01:17:35 +0000.442795][4516] DeviceStop:
audioDevice_:0x7d09c28000
[027:133] [2022-07-09 01:17:35 +0000.442875][4516] OpenSlesOutput:Stop playout

[027:136] [2022-07-09 01:17:35 +0000.445916][4516] DeviceStop: Done


[027:137] [2022-07-09 01:17:35 +0000.446227][4516] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[027:137] [2022-07-09 01:17:35 +0000.446301][4516] operator(): Stop now!
[027:158] [2022-07-09 01:17:35 +0000.467856][24f9]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[027:158] [2022-07-09 01:17:35 +0000.468054][24f9] StopPreView: Have Stopped,
operation cancel
[027:159] [2022-07-09 01:17:35 +0000.468109][24f9] Stop:
[027:159] [2022-07-09 01:17:35 +0000.468282][4516] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[027:159] [2022-07-09 01:17:35 +0000.468609][24f9] DeviceRelease:
audioDevice_:0x7d09c28000
[027:159] [2022-07-09 01:17:35 +0000.468673][24f9] OpenSlesOutput:Stop playout

[027:159] [2022-07-09 01:17:35 +0000.468735][24f9] DeviceRelease: Release the


webrtc device object.
[027:159] [2022-07-09 01:17:35 +0000.468979][24f9] OpenSlesOutput destruct.

[027:159] [2022-07-09 01:17:35 +0000.469068][24f9] DeviceRelease: Done


[027:160] [2022-07-09 01:17:35 +0000.469225][24f9] Stop:
[027:160] [2022-07-09 01:17:35 +0000.469342][4515] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[027:164] [2022-07-09 01:17:35 +0000.474038][24f9] global uninited!
[027:166] [2022-07-09 01:17:35 +0000.475201][24f9]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[027:166] [2022-07-09 01:17:35 +0000.475310][24f9] ~MediaFilterGraph:
MediaFilterGraph destruct
[027:166] [2022-07-09 01:17:35 +0000.475360][24f9] RemoveVideoBackGroud: hava not
add video backgroud
[027:166] [2022-07-09 01:17:35 +0000.475424][24f9] UnbindInputFilter 0x7d1609cd98
this 0x7d1629a2a0
[027:166] [2022-07-09 01:17:35 +0000.475487][24f9] ClearAllSource: remove source
filter, sourceid: 0x7cee06d600
[027:166] [2022-07-09 01:17:35 +0000.475526][24f9] DestoryDecoderByVideoSource
time:235970465 enter.

[027:166] [2022-07-09 01:17:35 +0000.475570][24f9] ~VideoBindDecoder time:235970465


enter.

[027:166] [2022-07-09 01:17:35 +0000.475769][24f9] CleanUp time:235970465 enter.

[027:173] [2022-07-09 01:17:35 +0000.482306][24f9] CleanUp leave. expire time = 7


ms

[027:173] [2022-07-09 01:17:35 +0000.482435][24f9] CleanUp time:235970472 enter.

[027:173] [2022-07-09 01:17:35 +0000.482852][24f9] CleanUp leave. expire time = 0


ms

[027:174] [2022-07-09 01:17:35 +0000.483885][24f9] ~VideoBindDecoder leave. expire


time = 8 ms

[027:174] [2022-07-09 01:17:35 +0000.483972][24f9] DestoryDecoderByVideoSource


leave. expire time = 8 ms

[027:174] [2022-07-09 01:17:35 +0000.484039][24f9] UnbindInputFilter 0x7d1609cb58


this 0x7d1609cd98
[027:175] [2022-07-09 01:17:35 +0000.484130][24f9] UnbindInputFilter 0x7d1609ca98
this 0x7d1609cb58
[027:175] [2022-07-09 01:17:35 +0000.484211][24f9] UnbindInputFilter 0x7cee06d820
this 0x7d1609ca98
[027:175] [2022-07-09 01:17:35 +0000.484288][24f9] UnbindInputFilter 0x7d1609ccd8
this 0x7d160cf158
[027:175] [2022-07-09 01:17:35 +0000.484366][24f9] UnbindInputFilter 0x7d1609cc18
this 0x7d1609ccd8
[027:175] [2022-07-09 01:17:35 +0000.484437][24f9] UnbindInputFilter 0x7cee06d820
this 0x7d1609cc18
[027:175] [2022-07-09 01:17:35 +0000.484908][24f9] ~GLESContext:
[027:176] [2022-07-09 01:17:35 +0000.485952][24f9] GLESContext destruct finish.
[027:176] [2022-07-09 01:17:35 +0000.486053][24f9] filter: filter pipeline destroy
this: 0x7d1629a200
[027:177] [2022-07-09 01:17:35 +0000.486886][24f9]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[027:178] [2022-07-09 01:17:35 +0000.487885][24f9] machine model :redmi
[027:178] [2022-07-09 01:17:35 +0000.487976][24f9] Support this machine
model :redmi
[027:178] [2022-07-09 01:17:35 +0000.488025][24f9] global inited! current sdk
version: 07-20-936c45f
[027:179] [2022-07-09 01:17:35 +0000.488242][24f9] filter: filter pipeline
construtc this: 0x7d1629a200
[027:179] [2022-07-09 01:17:35 +0000.488292][24f9] MediaFilterGraph:
MediaFilterGraph construct
[027:179] [2022-07-09 01:17:35 +0000.488332][24f9] GLESContext:
[027:179] [2022-07-09 01:17:35 +0000.488393][24f9] The result of eglGetDisplay is:
0x1
[027:183] [2022-07-09 01:17:35 +0000.492108][24f9] The result of creation:
0x7d09d90900
[027:183] [2022-07-09 01:17:35 +0000.492426][24f9] The result of
eglCreatePbufferSurface is: 0x7d09d90a00
[027:183] [2022-07-09 01:17:35 +0000.492567][24f9] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4
[027:183] [2022-07-09 01:17:35 +0000.492625][24f9] The source 0 speed:1
[027:183] [2022-07-09 01:17:35 +0000.492680][24f9] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4,
delay: 0
[027:183] [2022-07-09 01:17:35 +0000.492733][24f9] CreateDecoderByVideoSource
time:235970482 enter.

[027:183] [2022-07-09 01:17:35 +0000.493033][24f9] running_decoder_count:0max


count:2
[027:184] [2022-07-09 01:17:35 +0000.493082][24f9] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7d432e6000
[027:185] [2022-07-09 01:17:35 +0000.494541][4529] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7d9d094600] Current FFmpeg version git-2021-06-16-
97cea6f

[027:264] [2022-07-09 01:17:35 +0000.573095][4529] OnStreamInfoFound: video


duration_: 12664
[027:266] [2022-07-09 01:17:35 +0000.575401][452a] NO get frame from decoder
[027:266] [2022-07-09 01:17:35 +0000.575416][24f9] start decoder
[027:266] [2022-07-09 01:17:35 +0000.575596][24f9] CreateDecoderByVideoSource
leave. expire time = 83 ms

[027:266] [2022-07-09 01:17:35 +0000.575676][24f9] BindInputFilter 0x7cee06d820


this 0x7d1609c498
[027:266] [2022-07-09 01:17:35 +0000.575771][24f9] BindInputFilter 0x7d1609c498
this 0x7d1609c558
[027:266] [2022-07-09 01:17:35 +0000.575835][24f9] BindInputFilter 0x7cee06d820
this 0x7d1609c618
[027:266] [2022-07-09 01:17:35 +0000.575911][24f9] BindInputFilter 0x7d1609c618
this 0x7d1609c6d8
[027:266] [2022-07-09 01:17:35 +0000.575951][24f9] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4
[027:266] [2022-07-09 01:17:35 +0000.576015][24f9] BindInputFilter 0x7d1609c558
this 0x7d1609c798
[027:267] [2022-07-09 01:17:35 +0000.576074][24f9] BindInputFilter 0x7d1609c798
this 0x7d1629a2a0
[027:267] [2022-07-09 01:17:35 +0000.576130][24f9] BindInputFilter 0x7d1609c6d8
this 0x7d1609c858
[027:267] [2022-07-09 01:17:35 +0000.576187][24f9] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_235948691.mp4
[027:267] [2022-07-09 01:17:35 +0000.576261][452a] NO get frame from decoder
[027:268] [2022-07-09 01:17:35 +0000.577633][24f9]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[027:268] [2022-07-09 01:17:35 +0000.577874][24f9] MediaComposeFile time:235970567
enter.

[027:268] [2022-07-09 01:17:35 +0000.577943][24f9] RecordingSessionInternalSimple:


Create session internal:720 X 1280 fps:30
[027:269] [2022-07-09 01:17:35 +0000.578179][24f9] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[027:269] [2022-07-09 01:17:35 +0000.578258][24f9] Recording session using default
bitrate support by app:31457280
[027:269] [2022-07-09 01:17:35 +0000.578425][4535] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cbacb8940
[027:269] [2022-07-09 01:17:35 +0000.578523][4535] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[027:269] [2022-07-09 01:17:35 +0000.578693][24f9] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[027:269] [2022-07-09 01:17:35 +0000.578853][24f9] GetPipeline:
-----------------------------------------
[027:269] [2022-07-09 01:17:35 +0000.578899][24f9] GetPipeline: source:
0x7cee06d600
[027:269] [2022-07-09 01:17:35 +0000.578939][24f9] GetPipeline: filter: NULLFilter
[027:269] [2022-07-09 01:17:35 +0000.578977][24f9] GetPipeline: filter: NULLFilter
[027:269] [2022-07-09 01:17:35 +0000.579029][24f9] GetPipeline: filter: NULLFilter
[027:269] [2022-07-09 01:17:35 +0000.579066][24f9] GetPipeline: audio filter:
AuidoNULLFilter
[027:270] [2022-07-09 01:17:35 +0000.579118][24f9] GetPipeline: audio filter:
AuidoNULLFilter
[027:270] [2022-07-09 01:17:35 +0000.579170][24f9] GetPipeline: audio filter:
AudioNUllFilter
[027:270] [2022-07-09 01:17:35 +0000.579208][24f9] GetPipeline:
------------------------------------------
[027:270] [2022-07-09 01:17:35 +0000.579260][24f9] filter: filter pipeline2 update
pattern: 2
[027:270] [2022-07-09 01:17:35 +0000.579574][24f9] MediaComposeFile leave. expire
time = 2 ms

[027:271] [2022-07-09 01:17:35 +0000.580183][24f9] machine model :redmi


[027:271] [2022-07-09 01:17:35 +0000.580287][24f9] Support this machine
model :redmi
[027:271] [2022-07-09 01:17:35 +0000.580387][24f9] global inited! current sdk
version: 07-20-936c45f
[027:277] [2022-07-09 01:17:35 +0000.586462][452a] NO get frame from decoder
[027:278] [2022-07-09 01:17:35 +0000.587400][452a] NO get frame from decoder
[027:279] [2022-07-09 01:17:35 +0000.588309][452a] NO get frame from decoder
[027:283] [2022-07-09 01:17:35 +0000.592172][452a] NO get frame from decoder
[027:287] [2022-07-09 01:17:35 +0000.596381][452a] NO get frame from decoder
[027:288] [2022-07-09 01:17:35 +0000.597339][452a] NO get frame from decoder
[027:291] [2022-07-09 01:17:35 +0000.600571][24f9]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[027:291] [2022-07-09 01:17:35 +0000.600780][24f9] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 216
[027:292] [2022-07-09 01:17:35 +0000.601700][24f9]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[027:292] [2022-07-09 01:17:35 +0000.602036][24f9] BeginCompose: BeginCompose, is
composing 0
[027:293] [2022-07-09 01:17:35 +0000.602320][4535] start recording, file path:
[027:293] [2022-07-09 01:17:35 +0000.602576][4535] MP4 session params: fps:30
width:1280 height:720 file name: fileFd: 216 audio_timescale:44100
video_timescale:90000
[027:293] [2022-07-09 01:17:35 +0000.602646][4535] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[027:293] [2022-07-09 01:17:35 +0000.602721][4535] MP4 recorder params: fps:30
width:1280 height:720 audio time scale:44100 video time scale:90000 file name:
fileFD: 216
[027:293] [2022-07-09 01:17:35 +0000.602803][4535] fd_open successed
handle:0xb400007daca990b0
[027:294] [2022-07-09 01:17:35 +0000.603179][4535] create mp4 file:268
m_fileHandle: 0x7cbe148200
[027:294] [2022-07-09 01:17:35 +0000.603242][4535] MP4 file: is opened successfully
[027:294] [2022-07-09 01:17:35 +0000.603286][4535] setupMediaProcessers:
[027:294] [2022-07-09 01:17:35 +0000.603326][4535]
RecordingSessionInternalSimple:setup media processers.
[027:294] [2022-07-09 01:17:35 +0000.603367][4535] construct AAC encoder
[027:294] [2022-07-09 01:17:35 +0000.603841][4535] H264Encoder creating:
ultrafast012323
[027:294] [2022-07-09 01:17:35 +0000.603949][4535] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[027:295] [2022-07-09 01:17:35 +0000.604605][4535] H264Encode::GetMachineModel is
2201117TG
[027:295] [2022-07-09 01:17:35 +0000.604746][4535] H264Encoder machine_mode
is:2201117TG
[027:295] [2022-07-09 01:17:35 +0000.604800][4535] H264Encode::machine size :9
machine_mode:2201117TG
[027:295] [2022-07-09 01:17:35 +0000.604841][4535] H264Encode::machine array
size :22 machine_mode:2201117TG
[027:295] [2022-07-09 01:17:35 +0000.604881][4535] H264Encode::current machine
is :2201117TG auto check hw codec decide to use hw codec
[027:295] [2022-07-09 01:17:35 +0000.604920][4535] setupCompressionSession:
[027:295] [2022-07-09 01:17:35 +0000.604962][4535] H264Encode::creating hareware
Encoder
[027:295] [2022-07-09 01:17:35 +0000.605001][4535] AndroidHwAvcEncoder
time:235970594 enter.

[027:296] [2022-07-09 01:17:35 +0000.605299][4535] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007daca21380 address:0x7cca928760
[027:296] [2022-07-09 01:17:35 +0000.605476][4535] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[027:296] [2022-07-09 01:17:35 +0000.605526][4535] The video avc hw codec address
is 0x7cf19b1ad8
[027:296] [2022-07-09 01:17:35 +0000.605633][4535] AndroidHwAvcEncoder leave.
expire time = 1 ms

[027:296] [2022-07-09 01:17:35 +0000.605680][4535] RegisterEncodeCompleteCallback


time:235970595 enter.

[027:296] [2022-07-09 01:17:35 +0000.605825][4535] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[027:296] [2022-07-09 01:17:35 +0000.605880][4535] InitEncode time:235970595


enter.

[027:296] [2022-07-09 01:17:35 +0000.605983][4535] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[027:296] [2022-07-09 01:17:35 +0000.606034][4535] Create time:235970595 enter.

[027:300] [2022-07-09 01:17:35 +0000.609575][4535] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[027:300] [2022-07-09 01:17:35 +0000.609724][4535]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7d09ac0bc0
[027:300] [2022-07-09 01:17:35 +0000.610039][4535]
supported_type:image/vnd.android.heic
[027:301] [2022-07-09 01:17:35 +0000.610168][4535] supported_type:video/avc
[027:301] [2022-07-09 01:17:35 +0000.610218][4535] name:OMX.qcom.video.encoder.avc
mime:video/avc
[027:301] [2022-07-09 01:17:35 +0000.610289][4535] hwCodecPrefix :OMX.qcom.
[027:301] [2022-07-09 01:17:35 +0000.610337][4535] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[027:301] [2022-07-09 01:17:35 +0000.610389][4535] mediacodec_createCodecByName
time:235970600 enter.

[027:301] [2022-07-09 01:17:35 +0000.610438][4535] WrapAndroidMediaCodec


time:235970600 enter.

[027:301] [2022-07-09 01:17:35 +0000.610673][4535] WrapAndroidMediaCodec leave.


expire time = 0 ms

[027:302] [2022-07-09 01:17:35 +0000.611392][453a] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7cf1e9b098
[027:322] [2022-07-09 01:17:35 +0000.631621][4535] mediacodec_createCodecByName
leave. expire time = 21 ms

[027:322] [2022-07-09 01:17:35 +0000.631770][4535] WrapAndroidMediaFromat


time:235970621 enter.

[027:322] [2022-07-09 01:17:35 +0000.631884][4535] WrapAndroidMediaFromat leave.


expire time = 0 ms

[027:354] [2022-07-09 01:17:35 +0000.663220][4535] Destroy time:235970653 enter.

[027:354] [2022-07-09 01:17:35 +0000.663335][4535] WrapAndroidMediaFromat::


Destroy
[027:354] [2022-07-09 01:17:35 +0000.663379][4535] Destroy leave. expire time = 0
ms

[027:354] [2022-07-09 01:17:35 +0000.663421][4535] ~WrapAndroidMediaFromat


time:235970653 enter.

[027:354] [2022-07-09 01:17:35 +0000.663462][4535] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[027:354] [2022-07-09 01:17:35 +0000.663508][4535] Create leave. expire time = 58


ms

[027:354] [2022-07-09 01:17:35 +0000.663551][4535] isSemiPlanarSupport


time:235970653 enter.

[027:354] [2022-07-09 01:17:35 +0000.663590][4535] H264Encoder isSemiPlanarSupport


[027:354] [2022-07-09 01:17:35 +0000.663631][4535] isSemiPlanarSupport leave.
expire time = 0 ms

[027:354] [2022-07-09 01:17:35 +0000.663672][4535] creat hw H264Encoder success,


isSemiPlanar:1
[027:354] [2022-07-09 01:17:35 +0000.663842][4535] InitEncode leave. expire time =
58 ms

[027:354] [2022-07-09 01:17:35 +0000.663903][4535] H264Encode::created Encoder


[027:354] [2022-07-09 01:17:35 +0000.663985][4535] H264Encode:: H264 encoder
created.
[027:354] [2022-07-09 01:17:35 +0000.664025][4535] H264 encoder created.
[027:354] [2022-07-09 01:17:35 +0000.664062][4535]
RecordingSessionInternalSimple:created avc encoder avc: 0x7cd45ea240
[027:355] [2022-07-09 01:17:35 +0000.664103][4535] setOutput:
[027:355] [2022-07-09 01:17:35 +0000.664140][4535]
RecordingSessionInternalSimple:encoder set output to muxer!
[027:355] [2022-07-09 01:17:35 +0000.664177][4535] request a key frame
[027:355] [2022-07-09 01:17:35 +0000.664214][4535] H264Encode:: request a key frame
[027:356] [2022-07-09 01:17:35 +0000.665218][4535] setDisplayRotate :90
[027:356] [2022-07-09 01:17:35 +0000.665282][4535] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[027:358] [2022-07-09 01:17:35 +0000.667567][4536] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[027:360] [2022-07-09 01:17:35 +0000.669338][4536]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[027:456] [2022-07-09 01:17:35 +0000.765374][4536] h264 add frame header cdr flag
[027:466] [2022-07-09 01:17:35 +0000.775655][4536] h264 add frame header cdr flag
[027:468] [2022-07-09 01:17:35 +0000.777183][4536] Received key frame:10
[027:468] [2022-07-09 01:17:35 +0000.777374][4536] H264Encode:: get a sps pps
header!headerSize:31
[027:468] [2022-07-09 01:17:35 +0000.777999][453a] get the H.264 SPS parameter
[027:469] [2022-07-09 01:17:35 +0000.778525][453a] add video track with id:1
[027:469] [2022-07-09 01:17:35 +0000.779018][453a] get the H.264 PPS parameter
[027:470] [2022-07-09 01:17:35 +0000.779859][453a] get the H.264 IDR frame
[027:471] [2022-07-09 01:17:35 +0000.780085][453a] resss:true
[027:471] [2022-07-09 01:17:35 +0000.780144][453a] video start ts:10
[027:471] [2022-07-09 01:17:35 +0000.780255][453a] the video frame has been written
into MP4 file
[027:471] [2022-07-09 01:17:35 +0000.780362][4539] audio_frame_list_ empty
[027:518] [2022-07-09 01:17:35 +0000.827894][453a] add aac audio track with id:2
[027:519] [2022-07-09 01:17:35 +0000.828159][453a] audio start ts:0
[027:519] [2022-07-09 01:17:35 +0000.828229][453a] the audio frame has been written
into MP4 file
[027:520] [2022-07-09 01:17:35 +0000.829542][4538] Error(video_source.cc:430): wait
decoder a frame: 0
[027:558] [2022-07-09 01:17:35 +0000.867698][4539] audio frame wait video
frame.last_video_timestamp:476 last_audio_timestamp:695.782
[027:625] [2022-07-09 01:17:35 +0000.934286][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[027:817] [2022-07-09 01:17:36 +0000.126287][4536] DTS queue for
Generator:0x7cf1e9b2b8 637 672 690
[027:857] [2022-07-09 01:17:36 +0000.166917][4536] Push an pts:788 to dts queue.
[027:892] [2022-07-09 01:17:36 +0000.201923][4536] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:932
[027:893] [2022-07-09 01:17:36 +0000.202140][4536] push video frame to H264
encoder. (100 frame for one log)

[027:893] [2022-07-09 01:17:36 +0000.202219][4536] push video frame to H264


encoder. (100 frame for one log) used width:1280 height:720

[027:893] [2022-07-09 01:17:36 +0000.202264][4536] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1280 height:720 pts:932(100 frame for one log)

[027:893] [2022-07-09 01:17:36 +0000.202326][4536] The input pts:932 fps:30


[027:933] [2022-07-09 01:17:36 +0000.242418][4536] SendFrame
encodedImage._timeStamp:788encodedImage->_length:101968
[027:933] [2022-07-09 01:17:36 +0000.242642][4536] last dts:754 currentPts:788
ppsOrSPS:0 queue length:10
[027:933] [2022-07-09 01:17:36 +0000.242713][4536] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:788 pts:788
[027:943] [2022-07-09 01:17:36 +0000.252529][4539] audio_frame_list_ empty
[028:012] [2022-07-09 01:17:36 +0000.322132][4536] H264Encode::H264SWEncoder get
callback, length:70256 type:1 nalType:1length:70252
[028:063] [2022-07-09 01:17:36 +0000.372225][4535] setDisplayRotate :90
[028:063] [2022-07-09 01:17:36 +0000.372498][4535] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[028:082] [2022-07-09 01:17:36 +0000.392031][4538] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6982 diff: 19
[028:137] [2022-07-09 01:17:36 +0000.446333][4538] Error(video_source.cc:430): wait
decoder a frame: 0
[028:217] [2022-07-09 01:17:36 +0000.526342][4536] DTS queue for
Generator:0x7cf1e9b2b8 1438 1461 1495 1531 1560
[028:246] [2022-07-09 01:17:36 +0000.555102][44ab] Run AGC when audioType = 0
[028:246] [2022-07-09 01:17:36 +0000.555362][44ab]
AudioDeviceDataHandler::MixAndSendOutFrame
[028:405] [2022-07-09 01:17:36 +0000.714352][4539] audio_frame_list_ empty
[028:493] [2022-07-09 01:17:36 +0000.803054][4536] Push an pts:2127 to dts queue.
[028:577] [2022-07-09 01:17:36 +0000.886342][4536] h264 add frame header cdr flag
[028:578] [2022-07-09 01:17:36 +0000.887091][4536] Received key frame:2000
[028:582] [2022-07-09 01:17:36 +0000.891411][453a] get the H.264 IDR frame
[028:644] [2022-07-09 01:17:36 +0000.953809][4536] last dts:2096 currentPts:2127
ppsOrSPS:0 queue length:9
[028:646] [2022-07-09 01:17:36 +0000.955565][4536] DTS queue for
Generator:0x7cf1e9b2b8 2229 2260 2286 2323 2350 2392
[028:719] [2022-07-09 01:17:37 +0000.28438][4538] Error(video_source.cc:430): wait
decoder a frame: 0
[028:939] [2022-07-09 01:17:37 +0000.248369][4539] audio_frame_list_ empty
[029:040] [2022-07-09 01:17:37 +0000.349259][4536] DTS queue for
Generator:0x7cf1e9b2b8 3062 3094 3120 3166 3195 3229
[029:139] [2022-07-09 01:17:37 +0000.448414][4536] Push an pts:3490 to dts queue.
[029:286] [2022-07-09 01:17:37 +0000.595540][4536] last dts:3445 currentPts:3490
ppsOrSPS:0 queue length:9
[029:386] [2022-07-09 01:17:37 +0000.695172][44ab] haveEnoughProcessedData
internalAudioStream.length: 10
[029:390] [2022-07-09 01:17:37 +0000.699361][4539] audio_frame_list_ empty
[029:436] [2022-07-09 01:17:37 +0000.745134][4538] Error(video_source.cc:430): wait
decoder a frame: 0
[029:445] [2022-07-09 01:17:37 +0000.754784][4536] DTS queue for
Generator:0x7cf1e9b2b8 3893 3924 3955 3979 4014 4043 4087 4114
[029:518] [2022-07-09 01:17:37 +0000.828035][4536] h264 add frame header cdr flag
[029:519] [2022-07-09 01:17:37 +0000.828704][4536] Received key frame:4014
[029:525] [2022-07-09 01:17:37 +0000.834531][453a] get the H.264 IDR frame
[029:539] [2022-07-09 01:17:37 +0000.848731][4536] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:4307
[029:539] [2022-07-09 01:17:37 +0000.848930][4536] push video frame to H264
encoder. (100 frame for one log)

[029:539] [2022-07-09 01:17:37 +0000.849004][4536] push video frame to H264


encoder. (100 frame for one log) used width:1280 height:720

[029:539] [2022-07-09 01:17:37 +0000.849048][4536] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1280 height:720 pts:4307(100 frame for one
log)

[029:540] [2022-07-09 01:17:37 +0000.849108][4536] The input pts:4307 fps:30


[029:579] [2022-07-09 01:17:37 +0000.888535][4536] SendFrame
encodedImage._timeStamp:4143encodedImage->_length:96528
[029:592] [2022-07-09 01:17:37 +0000.901806][4536] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4182 pts:4182
[029:639] [2022-07-09 01:17:37 +0000.949069][4536] H264Encode::H264SWEncoder get
callback, length:109136 type:1 nalType:1length:109132
[029:727] [2022-07-09 01:17:38 +0000.36416][4536] Push an pts:4822 to dts queue.
[029:778] [2022-07-09 01:17:38 +0000.87556][4539] audio_frame_list_ empty
[029:799] [2022-07-09 01:17:38 +0000.108128][4536] DTS queue for
Generator:0x7cf1e9b2b8 4728 4752 4796 4822 4849 4888 4909
[029:867] [2022-07-09 01:17:38 +0000.176707][4536] last dts:4796 currentPts:4822
ppsOrSPS:0 queue length:10
[029:909] [2022-07-09 01:17:38 +0000.219029][4538] webrtc common_video plane
old ..... (1/1000) new: 8001 delete: 7942 diff: 59
[029:936] [2022-07-09 01:17:38 +0000.245564][4538] Error(video_source.cc:430): wait
decoder a frame: 0
[030:180] [2022-07-09 01:17:38 +0000.489573][4539] audio_frame_list_ empty
[030:192] [2022-07-09 01:17:38 +0000.502040][4536] DTS queue for
Generator:0x7cf1e9b2b8 5621 5645 5676 5703 5742 5775 5818
[030:242] [2022-07-09 01:17:38 +0000.551663][44ac] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:242] [2022-07-09 01:17:38 +0000.551898][44ac] _deviceSampleRate:48000

[030:244] [2022-07-09 01:17:38 +0000.553326][44ab] Run AGC when audioType = 0


[030:396] [2022-07-09 01:17:38 +0000.705674][4536] Push an pts:6265 to dts queue.
[030:461] [2022-07-09 01:17:38 +0000.770761][4536] h264 add frame header cdr flag
[030:462] [2022-07-09 01:17:38 +0000.771431][4536] Received key frame:6106
[030:466] [2022-07-09 01:17:38 +0000.775395][453a] get the H.264 IDR frame
[030:492] [2022-07-09 01:17:38 +0000.801436][4536] last dts:6230 currentPts:6265
ppsOrSPS:0 queue length:6
[030:492] [2022-07-09 01:17:38 +0000.801518][4538] Error(video_source.cc:430): wait
decoder a frame: 32
[030:559] [2022-07-09 01:17:38 +0000.868501][4536] DTS queue for
Generator:0x7cf1e9b2b8 6430 6461 6488 6528 6565 6600 6626 6668 6697 6731
[030:595] [2022-07-09 01:17:38 +0000.904253][4539] audio_frame_list_ empty
[030:930] [2022-07-09 01:17:39 +0000.239573][4536] DTS queue for
Generator:0x7cf1e9b2b8 7290 7329 7361 7392 7424 7461 7490 7529
[030:943] [2022-07-09 01:17:39 +0000.252638][4536] Push an pts:7589 to dts queue.
[031:015] [2022-07-09 01:17:39 +0000.324225][4539] audio_frame_list_ empty
[031:032] [2022-07-09 01:17:39 +0000.341600][4536] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:7804
[031:032] [2022-07-09 01:17:39 +0000.341733][4536] push video frame to H264
encoder. (100 frame for one log)

[031:032] [2022-07-09 01:17:39 +0000.341803][4536] push video frame to H264


encoder. (100 frame for one log) used width:1280 height:720

[031:032] [2022-07-09 01:17:39 +0000.341855][4536] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1280 height:720 pts:7804(100 frame for one
log)

[031:032] [2022-07-09 01:17:39 +0000.341923][4536] The input pts:7804 fps:30


[031:082] [2022-07-09 01:17:39 +0000.391749][4536] SendFrame
encodedImage._timeStamp:7589encodedImage->_length:119456
[031:082] [2022-07-09 01:17:39 +0000.391954][4536] last dts:7555 currentPts:7589
ppsOrSPS:0 queue length:9
[031:085] [2022-07-09 01:17:39 +0000.394600][4536] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:7658 pts:7658
[031:103] [2022-07-09 01:17:39 +0000.412456][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[031:172] [2022-07-09 01:17:39 +0000.481172][4536] H264Encode::H264SWEncoder get
callback, length:61808 type:1 nalType:1length:61804
[031:265] [2022-07-09 01:17:39 +0000.575071][4538] Error(video_source.cc:430): wait
decoder a frame: 0
[031:267] [2022-07-09 01:17:39 +0000.576945][4536] DTS queue for
Generator:0x7cf1e9b2b8 8097 8130 8159 8196 8225 8264 8295 8327 8359 8396
[031:289] [2022-07-09 01:17:39 +0000.598174][4536] h264 add frame header cdr flag
[031:289] [2022-07-09 01:17:39 +0000.599017][4536] Received key frame:8130
[031:297] [2022-07-09 01:17:39 +0000.606371][453a] get the H.264 IDR frame
[031:442] [2022-07-09 01:17:39 +0000.751722][4539] audio_frame_list_ empty
[031:491] [2022-07-09 01:17:39 +0000.800771][4536] Push an pts:8927 to dts queue.
[031:610] [2022-07-09 01:17:39 +0000.919450][4538] video frame wait audio frame:
last_video_timestamp:9373 last_audio_timestamp:9168.12
[031:617] [2022-07-09 01:17:39 +0000.926378][4536] DTS queue for
Generator:0x7cf1e9b2b8 8927 8952 8991 9029 9063 9087 9124 9161 9188
[031:626] [2022-07-09 01:17:39 +0000.935843][4536] last dts:8887 currentPts:8927
ppsOrSPS:0 queue length:9
[031:803] [2022-07-09 01:17:40 +0000.112819][4538] webrtc common_video plane
old ..... (1/1000) new: 9001 delete: 8953 diff: 48
[031:827] [2022-07-09 01:17:40 +0000.136567][4538] Error(video_source.cc:430): wait
decoder a frame: 0
[031:909] [2022-07-09 01:17:40 +0000.218799][4539] audio_frame_list_ empty
[032:057] [2022-07-09 01:17:40 +0000.367041][4536] DTS queue for
Generator:0x7cf1e9b2b8 9802 9863 9899 9932 9961
[032:188] [2022-07-09 01:17:40 +0000.497581][4536] Push an pts:10266 to dts queue.
[032:236] [2022-07-09 01:17:40 +0000.545636][4539] audio_frame_list_ empty
[032:243] [2022-07-09 01:17:40 +0000.552902][4536] h264 add frame header cdr flag
[032:243] [2022-07-09 01:17:40 +0000.552924][44ab] Run AGC when audioType = 0
[032:244] [2022-07-09 01:17:40 +0000.553135][44ab]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:245] [2022-07-09 01:17:40 +0000.554955][4536] Received key frame:10119
[032:251] [2022-07-09 01:17:40 +0000.560666][453a] get the H.264 IDR frame
[032:278] [2022-07-09 01:17:40 +0000.587299][4535] setDisplayRotate :90
[032:278] [2022-07-09 01:17:40 +0000.587425][4535] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[032:319] [2022-07-09 01:17:40 +0000.628575][4536] last dts:10226 currentPts:10266
ppsOrSPS:0 queue length:9
[032:470] [2022-07-09 01:17:40 +0000.779338][4536] DTS queue for
Generator:0x7cf1e9b2b8 10590 10622 10664 10696 10723 10757 10789 10831
[032:506] [2022-07-09 01:17:40 +0000.815867][4538] Error(video_source.cc:430): wait
decoder a frame: 32
[032:582] [2022-07-09 01:17:40 +0000.891786][4536] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:11160
[032:582] [2022-07-09 01:17:40 +0000.892008][4536] push video frame to H264
encoder. (100 frame for one log)

[032:583] [2022-07-09 01:17:40 +0000.892078][4536] push video frame to H264


encoder. (100 frame for one log) used width:1280 height:720

[032:583] [2022-07-09 01:17:40 +0000.892122][4536] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1280 height:720 pts:11160(100 frame for one
log)

[032:583] [2022-07-09 01:17:40 +0000.892180][4536] The input pts:11160 fps:30


[032:616] [2022-07-09 01:17:40 +0000.926135][4536] SendFrame
encodedImage._timeStamp:10933encodedImage->_length:70432
[032:645] [2022-07-09 01:17:40 +0000.954771][4536] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:11023 pts:11023
[032:679] [2022-07-09 01:17:40 +0000.988164][4539] audio_frame_list_ empty
[032:705] [2022-07-09 01:17:41 +0000.14705][4536] H264Encode::H264SWEncoder get
callback, length:94528 type:1 nalType:1length:94524
[032:775] [2022-07-09 01:17:41 +0000.84303][4535] setDisplayRotate :90
[032:775] [2022-07-09 01:17:41 +0000.84450][4535] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[032:818] [2022-07-09 01:17:41 +0000.127813][4536] Push an pts:11585 to dts queue.
[032:826] [2022-07-09 01:17:41 +0000.135525][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[032:837] [2022-07-09 01:17:41 +0000.146615][4536] DTS queue for
Generator:0x7cf1e9b2b8 11432 11461 11489 11517 11564 11585 11630 11659
[032:905] [2022-07-09 01:17:41 +0000.214600][4536] last dts:11564 currentPts:11585
ppsOrSPS:0 queue length:8
[033:048] [2022-07-09 01:17:41 +0000.357136][452a] av_read_frame AVERROR_EOF
[033:137] [2022-07-09 01:17:41 +0000.446180][452a] OnReceiveEOF:
[033:137] [2022-07-09 01:17:41 +0000.446413][452a] OnDecoderEOF time:235976436
enter.

[033:137] [2022-07-09 01:17:41 +0000.446536][452a] OnDecoderEOF leave. expire time


= 0 ms

[033:137] [2022-07-09 01:17:41 +0000.446588][452a] OnDecoderFinished:


OnDecoderFinished total decoder frames:376 this:0x7cee06d600
[033:137] [2022-07-09 01:17:41 +0000.446659][452a] NULLFilter::OnVideoSourceEOF
0x7cee06d600 this 0x7d1609c400
[033:137] [2022-07-09 01:17:41 +0000.446699][4528] CleanUp time:235976436 enter.

[033:137] [2022-07-09 01:17:41 +0000.446751][452a] NULLFilter::OnVideoSourceEOF


0x7d1609c400 this 0x7d1609c4c0
[033:137] [2022-07-09 01:17:41 +0000.446813][452a] NULLFilter::OnVideoSourceEOF
0x7d1609c4c0 this 0x7d1609c700
[033:139] [2022-07-09 01:17:41 +0000.448578][4538]
Warning(media_filter_composefile.cc:321): pull video frame failed:8
[033:139] [2022-07-09 01:17:41 +0000.448688][4538] OnVideoTimer: OnVideoTimer
return
[033:140] [2022-07-09 01:17:41 +0000.449448][4539] PullAudioFrame: PullFrame audio
finished.
[033:140] [2022-07-09 01:17:41 +0000.449585][4539]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[033:140] [2022-07-09 01:17:41 +0000.449656][4539] OnAudioTimer: OnAudioTimer
EndComposeFile
[033:140] [2022-07-09 01:17:41 +0000.449704][4539] EndComposeFile: EndComposeFile,
is composing 1
[033:146] [2022-07-09 01:17:41 +0000.455572][4528] CleanUp leave. expire time = 9
ms

[033:146] [2022-07-09 01:17:41 +0000.455753][4528] clean up


[033:146] [2022-07-09 01:17:41 +0000.455989][4528] running_decoder_count:0max
count:2
[033:183] [2022-07-09 01:17:41 +0000.492834][4536] h264 add frame header cdr flag
[033:184] [2022-07-09 01:17:41 +0000.493721][4536] Received key frame:12134
[033:187] [2022-07-09 01:17:41 +0000.496923][453a] get the H.264 IDR frame
[033:199] [2022-07-09 01:17:41 +0000.508591][4536] DTS queue for
Generator:0x7cf1e9b2b8 12237 12268 12298 12327 12357 12396 12424 12456 12497
[033:243] [2022-07-09 01:17:41 +0000.552548][4536]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:376
[033:243] [2022-07-09 01:17:41 +0000.552723][4536]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x7d09f45000
[033:246] [2022-07-09 01:17:41 +0000.555282][4537]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[033:246] [2022-07-09 01:17:41 +0000.555505][4537]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[033:247] [2022-07-09 01:17:41 +0000.556728][4535] stop recording
[033:248] [2022-07-09 01:17:41 +0000.559145][4535]
RecordingSessionInternalSimple:destroy media processers
[033:250] [2022-07-09 01:17:41 +0000.559370][4535] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[033:250] [2022-07-09 01:17:41 +0000.559424][4535] H264Encode::flushing hareware
Encoder
[033:250] [2022-07-09 01:17:41 +0000.559814][4535] Flush time:235976549 enter.

[033:250] [2022-07-09 01:17:41 +0000.559890][4535] H264Encoder encoder flush


[033:250] [2022-07-09 01:17:41 +0000.559937][4535] flush output queue
[033:593] [2022-07-09 01:17:41 +0000.902942][4535] Flush leave. expire time = 343
ms

[033:594] [2022-07-09 01:17:41 +0000.903236][4535] ~H264EncodeWrap:


[033:594] [2022-07-09 01:17:41 +0000.903309][4535] ~H264Encode:
[033:594] [2022-07-09 01:17:41 +0000.903350][4535] teardownCompressionSession:
H264Encode::destroying Encoder
[033:594] [2022-07-09 01:17:41 +0000.903394][4535] Release time:235976893 enter.

[033:594] [2022-07-09 01:17:41 +0000.903711][4535] Release:


MediaCodecVideoEncoder::Release _inited:1
[033:594] [2022-07-09 01:17:41 +0000.903773][4535] Destroy time:235976893 enter.

[033:594] [2022-07-09 01:17:41 +0000.903815][4535] H264Encoder encoderDestroy


[033:594] [2022-07-09 01:17:41 +0000.903857][4535]
AndroidMediaCodecVideoEncoder::release env: 0x7cd45ea380
[033:594] [2022-07-09 01:17:41 +0000.903899][4535]
AndroidMediaCodecVideoEncoder::Destroy
[033:624] [2022-07-09 01:17:41 +0000.933779][4535] Destroy leave. expire time = 30
ms

[033:625] [2022-07-09 01:17:41 +0000.934206][4535] Release leave. expire time = 31


ms

[033:625] [2022-07-09 01:17:41 +0000.934279][4535] ~AndroidHwAvcEncoder


time:235976924 enter.

[033:625] [2022-07-09 01:17:41 +0000.934514][4535] Release time:235976924 enter.

[033:625] [2022-07-09 01:17:41 +0000.934568][4535] Release:


MediaCodecVideoEncoder:: has been released before, just return
[033:625] [2022-07-09 01:17:41 +0000.934611][4535] Release leave. expire time = 0
ms

[033:625] [2022-07-09 01:17:41 +0000.934651][4535] ~AndroidMediaCodecVideoEncoder


[033:625] [2022-07-09 01:17:41 +0000.934742][4535] ~WrapAndroidMediaCodec
time:235976924 enter.

[033:625] [2022-07-09 01:17:41 +0000.934853][4535] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[033:625] [2022-07-09 01:17:41 +0000.934896][4535] video hevc hw codec


destructor:0x7cf19b1ad8

[033:625] [2022-07-09 01:17:41 +0000.934976][4535] ~AndroidHwAvcEncoder leave.


expire time = 0 ms
[033:625] [2022-07-09 01:17:41 +0000.935347][4535] teardownCompressionSession:
H264Encode::destroyed Encoder
[033:626] [2022-07-09 01:17:41 +0000.935413][4535]
RecordingSessionInternalSimple:destroy aac encoder output!
[033:626] [2022-07-09 01:17:41 +0000.935455][4535] AACSWEncode destructor
[033:638] [2022-07-09 01:17:41 +0000.947846][453a] fd_close successed!
[033:639] [2022-07-09 01:17:41 +0000.948380][453a] MP4 close file successfully
[033:639] [2022-07-09 01:17:41 +0000.948524][453a] Recording session Internal:
notify recording ok
[033:639] [2022-07-09 01:17:41 +0000.948587][453a] onRecordingOk: Recording Ok,
compose use time: 6346, averagefps 0
[033:639] [2022-07-09 01:17:41 +0000.948635][453a] OnReceiveEOF:
[033:642] [2022-07-09 01:17:41 +0000.951792][4539] OnAudioTimer: OnAudioTimer
return
[034:246] [2022-07-09 01:17:42 +0000.555097][44ab] Run AGC when audioType = 0
[034:549] [2022-07-09 01:17:42 +0000.859045][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[036:243] [2022-07-09 01:17:44 +0000.552262][44ab] Run AGC when audioType = 0
[036:243] [2022-07-09 01:17:44 +0000.552601][44ab]
AudioDeviceDataHandler::MixAndSendOutFrame
[036:274] [2022-07-09 01:17:44 +0000.583674][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[038:043] [2022-07-09 01:17:46 +0000.352181][44ab] haveEnoughProcessedData
internalAudioStream.length: 0
[038:244] [2022-07-09 01:17:46 +0000.553303][44ab] Run AGC when audioType = 0
[039:088] [2022-07-09 01:17:47 +0000.397905][2522]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[039:089] [2022-07-09 01:17:47 +0000.398168][2522] ~MediaFilterCamera
time:235982388 enter.

[039:089] [2022-07-09 01:17:47 +0000.398227][2522] StopPullFrameAndWriteMp4


time:235982388 enter.

[039:093] [2022-07-09 01:17:47 +0000.402562][44a6] stop recording


[039:093] [2022-07-09 01:17:47 +0000.402794][44a6] we have stopped recording before
[039:093] [2022-07-09 01:17:47 +0000.402944][2522] StopPullFrameAndWriteMp4 leave.
expire time = 4 ms

[039:096] [2022-07-09 01:17:47 +0000.405657][2522] DestroyPipelineAndFilters


time:235982395 enter.

[039:096] [2022-07-09 01:17:47 +0000.405823][2522] DestroyPipelineAndFilters


leave. expire time = 0 ms

[039:096] [2022-07-09 01:17:47 +0000.405878][2522] AppDeviceManagerStopMic

[039:097] [2022-07-09 01:17:47 +0000.406260][2522] AppDeviceManagerStopMic::mic


status is on
[039:097] [2022-07-09 01:17:47 +0000.406320][2522] Try to stop webrtc device.

[039:097] [2022-07-09 01:17:47 +0000.406362][2522] Set record state to


stopped.threadID:9506

[039:138] [2022-07-09 01:17:47 +0000.447504][2522] Try to destory the


recorder.threadID:9506

[039:338] [2022-07-09 01:17:47 +0000.647794][2522] DestroyAudioRecorder:


[039:339] [2022-07-09 01:17:47 +0000.648213][2522] Cleanup the buffer queue in the
recorder.
[039:339] [2022-07-09 01:17:47 +0000.648291][2522] Destroy the recorder.

[039:372] [2022-07-09 01:17:47 +0000.681562][2522] StopRecording finished.

[039:372] [2022-07-09 01:17:47 +0000.681781][2522] The stop recording success.

[039:372] [2022-07-09 01:17:47 +0000.681841][2522]


AudioDeviceDataHandler::StopMicProcess

[039:377] [2022-07-09 01:17:47 +0000.687070][2522] AppDeviceManager stop.

[039:378] [2022-07-09 01:17:47 +0000.687241][2522] Rlease the webrtc device object.

[039:379] [2022-07-09 01:17:47 +0000.688188][2522] OpenSlesInput destruct.

[039:379] [2022-07-09 01:17:47 +0000.688285][2522] OpenSlesOutput destruct.

[039:380] [2022-07-09 01:17:47 +0000.689220][2522] EventDispatchServerScope


destruct
[039:380] [2022-07-09 01:17:47 +0000.689313][2522]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[039:380] [2022-07-09 01:17:47 +0000.689450][2522] ~AudioDeviceDataHandler

[039:402] [2022-07-09 01:17:47 +0000.711250][2522] AppDeviceManagerDestruct.

[039:402] [2022-07-09 01:17:47 +0000.711403][2522] ~AppDeviceManager:


[039:402] [2022-07-09 01:17:47 +0000.711502][2522] ~CpuOverloadDetect
time:235982701 enter.

[039:402] [2022-07-09 01:17:47 +0000.711999][2522] ~CpuOverloadDetect leave.


expire time = 0 ms

[039:422] [2022-07-09 01:17:47 +0000.731930][2522] Destruct BeautifyReader begin...


[039:423] [2022-07-09 01:17:47 +0000.732118][2522] Destruct BeautifyReader done.
[039:424] [2022-07-09 01:17:47 +0000.733684][2522] ~MediaFilterCamera leave.
expire time = 335 ms

[039:426] [2022-07-09 01:17:47 +0000.735882][2522] ~GLESContext:


[039:436] [2022-07-09 01:17:47 +0000.745922][2522] GLESContext destruct finish.
[039:437] [2022-07-09 01:17:47 +0000.746318][2522] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[039:438] [2022-07-09 01:17:47 +0000.747601][2522] global uninited!
[047:645] [2022-07-09 01:17:55 +0000.954790][2522]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[047:646] [2022-07-09 01:17:55 +0000.955087][2522] MediaFilterCamera
[047:646] [2022-07-09 01:17:55 +0000.955172][2522] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[047:646] [2022-07-09 01:17:55 +0000.955354][2522] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[047:646] [2022-07-09 01:17:55 +0000.955454][2522] Recording session using default
bitrate support by app:31457280
[047:646] [2022-07-09 01:17:55 +0000.955595][4679] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d09c9f740
[047:646] [2022-07-09 01:17:55 +0000.955720][4679] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[047:646] [2022-07-09 01:17:55 +0000.955913][2522] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[047:649] [2022-07-09 01:17:55 +0000.958680][2522] Error(ini.cc:191): Open the file
failed. error:2
[047:649] [2022-07-09 01:17:55 +0000.958901][2522]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[047:649] [2022-07-09 01:17:55 +0000.958953][2522] The device model: 2201117tg
usingSoftwareAEC value: 0
[047:655] [2022-07-09 01:17:55 +0000.964178][2522] Error(ini.cc:191): Open the file
failed. error:2
[047:655] [2022-07-09 01:17:55 +0000.964285][2522]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[047:655] [2022-07-09 01:17:55 +0000.964339][2522] The device model: 2201117tg
usingHardwareAEC value: 0
[047:655] [2022-07-09 01:17:55 +0000.964381][2522] The machine device: 2201117tg
usingHardwareAEC value: 0
[047:655] [2022-07-09 01:17:55 +0000.964421][2522] Using Default AEC type: software
AEC
[047:657] [2022-07-09 01:17:55 +0000.966206][2522] The device model: 2201117tg enum
value: 0
[047:658] [2022-07-09 01:17:55 +0000.967236][2522] GetMachineModel is 2201117TG
[047:658] [2022-07-09 01:17:55 +0000.967361][2522] GetMachineInfo: 2201117TG
[047:658] [2022-07-09 01:17:55 +0000.967404][2522] Construct BeautifyReader
begin...
[047:658] [2022-07-09 01:17:55 +0000.967473][2522] dumpStickerRgba:0
dumpStickerYuv:0
[047:658] [2022-07-09 01:17:55 +0000.967529][2522] Construct BeautifyReader done.
[047:668] [2022-07-09 01:17:55 +0000.977129][2522] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[047:668] [2022-07-09 01:17:55 +0000.977174][467c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cfcba32a0
[047:668] [2022-07-09 01:17:55 +0000.977303][2522] AppDeviceManager telnet server
for statistics started......
[047:668] [2022-07-09 01:17:55 +0000.977880][2522] CpuOverloadDetect time:235990967
enter.

[047:668] [2022-07-09 01:17:55 +0000.978036][2522] CpuOverloadDetect leave. expire


time = 0 ms

[047:668] [2022-07-09 01:17:55 +0000.978110][467d] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7cd3cd4700
[047:670] [2022-07-09 01:17:55 +0000.979100][2522] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[047:670] [2022-07-09 01:17:55 +0000.979164][2522] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[047:670] [2022-07-09 01:17:55 +0000.979505][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[047:670] [2022-07-09 01:17:55 +0000.979865][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[047:671] [2022-07-09 01:17:55 +0000.980193][2522] CreatePlatformSpecificObjects:
[047:671] [2022-07-09 01:17:55 +0000.980259][2522] audio device use opensle input
and opensl output
[047:671] [2022-07-09 01:17:55 +0000.980353][2522] Create OpenSLES output module
with java VM support.

[047:671] [2022-07-09 01:17:55 +0000.980549][2522] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[047:671] [2022-07-09 01:17:55 +0000.980766][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[047:671] [2022-07-09 01:17:55 +0000.981026][2522] Create OpenSLES output module
with buffer num:1
[047:672] [2022-07-09 01:17:55 +0000.981214][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[047:672] [2022-07-09 01:17:55 +0000.981477][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[047:672] [2022-07-09 01:17:55 +0000.981728][2522] Create OpenSLES input module
with java VM support.

[047:672] [2022-07-09 01:17:55 +0000.981793][2522] Create OpenSLES input module


with buffer num:1

[047:672] [2022-07-09 01:17:55 +0000.981846][2522] Error(trace.cc:40): Init the


output and input for audio device template.
[047:672] [2022-07-09 01:17:55 +0000.981918][2522] Init the output device.

[047:672] [2022-07-09 01:17:55 +0000.981976][2522] Init the opensl input.


[047:672] [2022-07-09 01:17:55 +0000.982038][2522] AppDeviceManager get setting
samplerate: 0
[047:673] [2022-07-09 01:17:55 +0000.982641][2522] The device model: 2201117tg enum
value: 0
[047:674] [2022-07-09 01:17:55 +0000.983625][2522] The device model: 2201117tg enum
value: 0
[047:674] [2022-07-09 01:17:55 +0000.983694][2522] Set the sample rate to be:48000

[047:674] [2022-07-09 01:17:55 +0000.983737][2522] Enable the recording stereo:0


[047:674] [2022-07-09 01:17:55 +0000.983779][2522] Set the playout as stereo:1
[047:674] [2022-07-09 01:17:55 +0000.983845][2522] Init the microphone.
[047:675] [2022-07-09 01:17:55 +0000.984353][2522] Update the recording sample rate
to be: 48000
[047:675] [2022-07-09 01:17:55 +0000.984407][2522] Init the speaker.
[047:675] [2022-07-09 01:17:55 +0000.984463][2522] Low latency buffer size:144 low
sample rate:48000
[047:675] [2022-07-09 01:17:55 +0000.984907][2522] Using 1 x 10ms for an audio
frame.

[047:681] [2022-07-09 01:17:55 +0000.990686][2522] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[047:681] [2022-07-09 01:17:55 +0000.990941][2522] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[047:681] [2022-07-09 01:17:55 +0000.991043][2522] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[047:689] [2022-07-09 01:17:55 +0000.998955][2522] The device model:2201117tg

[047:690] [2022-07-09 01:17:55 +0000.999079][2522] speaker output factor:100


defaultFactor: 100

[047:690] [2022-07-09 01:17:55 +0000.999125][2522] headset output factor:100


defaultFactor: 100

[047:690] [2022-07-09 01:17:55 +0000.999699][2522] AppDeviceManagerStart finished.


[047:690] [2022-07-09 01:17:55 +0000.999759][2522] AppDeviceManagerStartMic::mic
status is off
[047:690] [2022-07-09 01:17:55 +0000.999847][2522] AppDeviceManagerStartMic update
aec type: 2

[047:690] [2022-07-09 01:17:55 +0000.999900][2522] AppDeviceManagerStartMic update


voiceChangeMode: 4

[047:690] [2022-07-09 01:17:55 +0000.999953][2522]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[047:690] [2022-07-09 01:17:55 +0000.999991][2522]
AudioDeviceDataHandler::StartMicProcess

[047:691] [2022-07-09 01:17:56 +0000.175][2522] Try to start webrtc recording


device.

[047:691] [2022-07-09 01:17:56 +0000.236][2522] StartRecording. threadID:9506

[047:691] [2022-07-09 01:17:56 +0000.218][467e] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[047:691] [2022-07-09 01:17:56 +0000.342][2522] default mode: Set the recording
mode to voice communication to enable HW AEC .

[047:691] [2022-07-09 01:17:56 +0000.398][2522] Set the recording mode before


getSetting: 4
[047:691] [2022-07-09 01:17:56 +0000.457][2522] Set the recording mode after
getSetting: 1
[047:718] [2022-07-09 01:17:56 +0000.27276][2522] StartRecording finished.

[047:718] [2022-07-09 01:17:56 +0000.27366][2522] audio: start the audio mic


checker timer.

[047:718] [2022-07-09 01:17:56 +0000.28046][2522] machine model :redmi


[047:719] [2022-07-09 01:17:56 +0000.28116][2522] Support this machine model :redmi
[047:719] [2022-07-09 01:17:56 +0000.28166][2522] global inited! current sdk
version: 07-20-936c45f
[048:241] [2022-07-09 01:17:56 +0000.550382][467e] haveEnoughProcessedData
internalAudioStream.length: 10
[048:388] [2022-07-09 01:17:56 +0000.697223][42b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[048:388] [2022-07-09 01:17:56 +0000.697522][467a] MediaFilterCamera, recording
file context:0x7d433a4e80 input texture:20
[048:388] [2022-07-09 01:17:56 +0000.697612][467a] GLESContext:
[048:388] [2022-07-09 01:17:56 +0000.697692][467a] The result of eglGetDisplay is:
0x1
[048:391] [2022-07-09 01:17:56 +0000.700341][467a] The result of creation:
0x7d9d1e1a00
[048:391] [2022-07-09 01:17:56 +0000.700828][467a] The result of
eglCreatePbufferSurface is: 0x7d9d1e1b00
[048:392] [2022-07-09 01:17:56 +0000.701275][42b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7d433a4e80 input_texture: 20
[048:929] [2022-07-09 01:17:57 +0000.238554][467f] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[048:929] [2022-07-09 01:17:57 +0000.238763][467f] _deviceSampleRate:48000

[048:931] [2022-07-09 01:17:57 +0000.240916][467e] Run AGC when audioType = 0


[048:932] [2022-07-09 01:17:57 +0000.241081][467e]
AudioDeviceDataHandler::MixAndSendOutFrame
[049:945] [2022-07-09 01:17:58 +0000.254975][467e] haveEnoughProcessedData
internalAudioStream.length: 0
[050:928] [2022-07-09 01:17:59 +0000.237726][467e] Run AGC when audioType = 0
[051:666] [2022-07-09 01:17:59 +0000.975983][24f9]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[051:667] [2022-07-09 01:17:59 +0000.976140][24f9] ~MediaComposeFile time:235994966
enter.
[051:667] [2022-07-09 01:17:59 +0000.976234][24f9] CancelCompose: CancelCompose,
is composing 0
[051:667] [2022-07-09 01:17:59 +0000.976241][467e] haveEnoughProcessedData
internalAudioStream.length: 0
[051:667] [2022-07-09 01:17:59 +0000.976415][4535] stop recording
[051:667] [2022-07-09 01:17:59 +0000.976493][4535] we have stopped recording before
[051:668] [2022-07-09 01:17:59 +0000.977277][24f9] ~MediaComposeFile leave. expire
time = 1 ms

[051:668] [2022-07-09 01:17:59 +0000.977438][24f9] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[051:668] [2022-07-09 01:17:59 +0000.977967][24f9] global uninited!
[051:668] [2022-07-09 01:17:59 +0000.978100][24f9]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[051:669] [2022-07-09 01:17:59 +0000.978164][24f9] ~MediaFilterGraph:
MediaFilterGraph destruct
[051:669] [2022-07-09 01:17:59 +0000.978205][24f9] RemoveVideoBackGroud: hava not
add video backgroud
[051:669] [2022-07-09 01:17:59 +0000.978269][24f9] UnbindInputFilter 0x7d1609c798
this 0x7d1629a2a0
[051:669] [2022-07-09 01:17:59 +0000.978328][24f9] ClearAllSource: remove source
filter, sourceid: 0x7cee06d600
[051:669] [2022-07-09 01:17:59 +0000.978366][24f9] DestoryDecoderByVideoSource
time:235994968 enter.

[051:669] [2022-07-09 01:17:59 +0000.978435][24f9] ~VideoBindDecoder time:235994968


enter.

[051:669] [2022-07-09 01:17:59 +0000.978595][24f9] CleanUp time:235994968 enter.

[051:669] [2022-07-09 01:17:59 +0000.978939][24f9] CleanUp leave. expire time = 0


ms

[051:669] [2022-07-09 01:17:59 +0000.979003][24f9] CleanUp time:235994968 enter.

[051:670] [2022-07-09 01:17:59 +0000.979316][24f9] CleanUp leave. expire time = 1


ms

[051:670] [2022-07-09 01:17:59 +0000.980054][24f9] ~VideoBindDecoder leave. expire


time = 1 ms

[051:671] [2022-07-09 01:17:59 +0000.980120][24f9] DestoryDecoderByVideoSource


leave. expire time = 2 ms

[051:671] [2022-07-09 01:17:59 +0000.980182][24f9] UnbindInputFilter 0x7d1609c558


this 0x7d1609c798
[051:671] [2022-07-09 01:17:59 +0000.980244][24f9] UnbindInputFilter 0x7d1609c498
this 0x7d1609c558
[051:671] [2022-07-09 01:17:59 +0000.980303][24f9] UnbindInputFilter 0x7cee06d820
this 0x7d1609c498
[051:671] [2022-07-09 01:17:59 +0000.980363][24f9] UnbindInputFilter 0x7d1609c6d8
this 0x7d1609c858
[051:671] [2022-07-09 01:17:59 +0000.980421][24f9] UnbindInputFilter 0x7d1609c618
this 0x7d1609c6d8
[051:671] [2022-07-09 01:17:59 +0000.980478][24f9] UnbindInputFilter 0x7cee06d820
this 0x7d1609c618
[051:671] [2022-07-09 01:17:59 +0000.980548][24f9] ~GLESContext:
[051:673] [2022-07-09 01:17:59 +0000.982133][24f9] GLESContext destruct finish.
[051:673] [2022-07-09 01:17:59 +0000.982188][24f9] filter: filter pipeline destroy
this: 0x7d1629a200
[051:721] [2022-07-09 01:18:00 +0000.30370][44a2]
monitorTime:4003totalDuration:3940
[052:930] [2022-07-09 01:18:01 +0000.239455][467e] Run AGC when audioType = 0
[052:930] [2022-07-09 01:18:01 +0000.239725][467e]
AudioDeviceDataHandler::MixAndSendOutFrame
[053:382] [2022-07-09 01:18:01 +0000.691474][467e] haveEnoughProcessedData
internalAudioStream.length: 10
[054:319] [2022-07-09 01:18:02 +0000.628856][2522]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[054:320] [2022-07-09 01:18:02 +0000.629108][2522] ~MediaFilterCamera
time:235997619 enter.

[054:320] [2022-07-09 01:18:02 +0000.629165][2522] StopPullFrameAndWriteMp4


time:235997619 enter.

[054:322] [2022-07-09 01:18:02 +0000.631137][4679] stop recording


[054:322] [2022-07-09 01:18:02 +0000.631285][4679] we have stopped recording before
[054:322] [2022-07-09 01:18:02 +0000.631488][2522] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[054:331] [2022-07-09 01:18:02 +0000.640214][2522] DestroyPipelineAndFilters


time:235997630 enter.

[054:331] [2022-07-09 01:18:02 +0000.640373][2522] DestroyPipelineAndFilters


leave. expire time = 0 ms

[054:331] [2022-07-09 01:18:02 +0000.640450][2522] AppDeviceManagerStopMic

[054:331] [2022-07-09 01:18:02 +0000.640591][2522] AppDeviceManagerStopMic::mic


status is on
[054:331] [2022-07-09 01:18:02 +0000.640653][2522] Try to stop webrtc device.

[054:331] [2022-07-09 01:18:02 +0000.640706][2522] Set record state to


stopped.threadID:9506

[054:400] [2022-07-09 01:18:02 +0000.709304][2522] Try to destory the


recorder.threadID:9506

[054:600] [2022-07-09 01:18:02 +0000.909512][2522] DestroyAudioRecorder:


[054:600] [2022-07-09 01:18:02 +0000.909644][2522] Cleanup the buffer queue in the
recorder.
[054:600] [2022-07-09 01:18:02 +0000.909691][2522] Destroy the recorder.

[054:606] [2022-07-09 01:18:02 +0000.915834][2522] StopRecording finished.

[054:606] [2022-07-09 01:18:02 +0000.915944][2522] The stop recording success.

[054:606] [2022-07-09 01:18:02 +0000.915987][2522]


AudioDeviceDataHandler::StopMicProcess

[054:610] [2022-07-09 01:18:02 +0000.919783][2522] AppDeviceManager stop.

[054:610] [2022-07-09 01:18:02 +0000.919926][2522] Rlease the webrtc device object.

[054:611] [2022-07-09 01:18:02 +0000.921010][2522] OpenSlesInput destruct.

[054:612] [2022-07-09 01:18:02 +0000.921339][2522] OpenSlesOutput destruct.


[054:613] [2022-07-09 01:18:02 +0000.922991][2522] EventDispatchServerScope
destruct
[054:614] [2022-07-09 01:18:02 +0000.923086][2522]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[054:614] [2022-07-09 01:18:02 +0000.923185][2522] ~AudioDeviceDataHandler

[054:615] [2022-07-09 01:18:02 +0000.924130][2522] AppDeviceManagerDestruct.

[054:615] [2022-07-09 01:18:02 +0000.924195][2522] ~AppDeviceManager:


[054:615] [2022-07-09 01:18:02 +0000.924273][2522] ~CpuOverloadDetect
time:235997914 enter.

[054:615] [2022-07-09 01:18:02 +0000.924704][2522] ~CpuOverloadDetect leave.


expire time = 0 ms

[054:618] [2022-07-09 01:18:02 +0000.927619][2522] Destruct BeautifyReader begin...


[054:618] [2022-07-09 01:18:02 +0000.927793][2522] Destruct BeautifyReader done.
[054:618] [2022-07-09 01:18:02 +0000.927912][2522] ~MediaFilterCamera leave.
expire time = 298 ms

[054:619] [2022-07-09 01:18:02 +0000.928255][2522] ~GLESContext:


[054:620] [2022-07-09 01:18:02 +0000.930004][2522] GLESContext destruct finish.
[054:621] [2022-07-09 01:18:02 +0000.930252][2522] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[054:622] [2022-07-09 01:18:02 +0000.931254][2522] global uninited!
[054:625] [2022-07-09 01:18:02 +0000.934506][2522] clear AppID 50011
[054:625] [2022-07-09 01:18:02 +0000.934650][2522] UnRegister JVM for Xplatform
util
[054:625] [2022-07-09 01:18:02 +0000.934703][2522] Dispose::unregister webrtc video
engine
[054:625] [2022-07-09 01:18:02 +0000.934748][2522] Init the android object with
jvm:0x0 env:0x0 context:0x0

[054:625] [2022-07-09 01:18:02 +0000.934808][2522] SetAndroidMediaCodecObjects


time:235997924 enter.

[054:625] [2022-07-09 01:18:02 +0000.934855][2522] ClearAndroidMediaCodecObjects


time:235997924 enter.

[054:625] [2022-07-09 01:18:02 +0000.934908][2522] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[054:625] [2022-07-09 01:18:02 +0000.934950][2522] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[054:625] [2022-07-09 01:18:02 +0000.934992][2522] SetAndroidMediaCodecObjects


time:235997924 enter.

[054:625] [2022-07-09 01:18:02 +0000.935033][2522] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[054:626] [2022-07-09 01:18:02 +0000.935096][2522] ClearAndroidMediaCodecObjects
time:235997925 enter.

[054:626] [2022-07-09 01:18:02 +0000.935138][2522] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[054:626] [2022-07-09 01:18:02 +0000.935193][2522] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[054:626] [2022-07-09 01:18:02 +0000.935251][2522] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[054:626] [2022-07-09 01:18:02 +0000.935305][2522] Dispose::unregister webrtc voice


engine
[054:626] [2022-07-09 01:18:02 +0000.935356][2522] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[054:626] [2022-07-09 01:18:02 +0000.935434][2522] SystemUtil UnInit done


[056:795] [2022-07-09 01:18:05 +0000.104809][2522] Register JVM for xplatform util
[056:817] [2022-07-09 01:18:05 +0000.126541][2522] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
09 01:18:05 +0000
[056:817] [2022-07-09 01:18:05 +0000.126630][2522] set AppID=50011 old AppID=-1
[056:817] [2022-07-09 01:18:05 +0000.126674][2522] Init the android object with
jvm:0xb400007daca21380 env:0x7d9d01b080 context:0x7d32d6c288

[056:817] [2022-07-09 01:18:05 +0000.126734][2522] SetAndroidMediaCodecObjects


time:236000116 enter.

[056:817] [2022-07-09 01:18:05 +0000.126795][2522] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[056:817] [2022-07-09 01:18:05 +0000.126851][2522] SetAndroidMediaCodecObjects


time:236000116 enter.

[056:817] [2022-07-09 01:18:05 +0000.126904][2522] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007daca21380
[056:817] [2022-07-09 01:18:05 +0000.126957][2522] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007daca21380 address:0x7cca928760
[056:817] [2022-07-09 01:18:05 +0000.127011][2522] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007daca21380
address:0x7cca928760
[056:817] [2022-07-09 01:18:05 +0000.127066][2522] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[056:818] [2022-07-09 01:18:05 +0000.127122][2522] Set the android objects with


jvm:0xb400007daca21380 env:0x7d9d01b080 context:0x7d32d6c288

[056:818] [2022-07-09 01:18:05 +0000.127176][2522] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7d9d01b080
[056:818] [2022-07-09 01:18:05 +0000.127236][2522] SystemUtil Init done
[056:818] [2022-07-09 01:18:05 +0000.127598][2522]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[056:823] [2022-07-09 01:18:05 +0000.132153][2522] MediaFilterCamera
[056:823] [2022-07-09 01:18:05 +0000.132314][2522] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[056:823] [2022-07-09 01:18:05 +0000.132494][2522] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[056:823] [2022-07-09 01:18:05 +0000.132572][2522] Recording session using default
bitrate support by app:31457280
[056:823] [2022-07-09 01:18:05 +0000.132553][474a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d09c9f740
[056:823] [2022-07-09 01:18:05 +0000.132670][474a] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[056:823] [2022-07-09 01:18:05 +0000.132909][2522] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[056:825] [2022-07-09 01:18:05 +0000.134162][2522] Error(ini.cc:191): Open the file
failed. error:2
[056:825] [2022-07-09 01:18:05 +0000.134290][2522]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[056:825] [2022-07-09 01:18:05 +0000.134337][2522] The device model: 2201117tg
usingSoftwareAEC value: 0
[056:828] [2022-07-09 01:18:05 +0000.138025][2522] Error(ini.cc:191): Open the file
failed. error:2
[056:829] [2022-07-09 01:18:05 +0000.138179][2522]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[056:829] [2022-07-09 01:18:05 +0000.138235][2522] The device model: 2201117tg
usingHardwareAEC value: 0
[056:829] [2022-07-09 01:18:05 +0000.138294][2522] The machine device: 2201117tg
usingHardwareAEC value: 0
[056:829] [2022-07-09 01:18:05 +0000.138349][2522] Using Default AEC type: software
AEC
[056:830] [2022-07-09 01:18:05 +0000.140042][2522] The device model: 2201117tg enum
value: 0
[056:831] [2022-07-09 01:18:05 +0000.141053][2522] GetMachineModel is 2201117TG
[056:832] [2022-07-09 01:18:05 +0000.141180][2522] GetMachineInfo: 2201117TG
[056:832] [2022-07-09 01:18:05 +0000.141224][2522] Construct BeautifyReader
begin...
[056:832] [2022-07-09 01:18:05 +0000.141310][2522] dumpStickerRgba:0
dumpStickerYuv:0
[056:832] [2022-07-09 01:18:05 +0000.141377][2522] Construct BeautifyReader done.
[056:839] [2022-07-09 01:18:05 +0000.148706][2522] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[056:839] [2022-07-09 01:18:05 +0000.148748][474d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d9d1cd7a0
[056:839] [2022-07-09 01:18:05 +0000.148859][2522] AppDeviceManager telnet server
for statistics started......
[056:840] [2022-07-09 01:18:05 +0000.149396][2522] CpuOverloadDetect time:236000139
enter.

[056:840] [2022-07-09 01:18:05 +0000.149559][2522] CpuOverloadDetect leave. expire


time = 0 ms

[056:840] [2022-07-09 01:18:05 +0000.149596][474e] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7d9d0fdd00
[056:841] [2022-07-09 01:18:05 +0000.150625][2522] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[056:841] [2022-07-09 01:18:05 +0000.150706][2522] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[056:841] [2022-07-09 01:18:05 +0000.151047][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[056:842] [2022-07-09 01:18:05 +0000.151395][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[056:842] [2022-07-09 01:18:05 +0000.151763][2522] CreatePlatformSpecificObjects:
[056:842] [2022-07-09 01:18:05 +0000.151839][2522] audio device use opensle input
and opensl output
[056:842] [2022-07-09 01:18:05 +0000.151891][2522] Create OpenSLES output module
with java VM support.

[056:843] [2022-07-09 01:18:05 +0000.152187][2522] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[056:843] [2022-07-09 01:18:05 +0000.152451][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[056:843] [2022-07-09 01:18:05 +0000.152747][2522] Create OpenSLES output module
with buffer num:1
[056:843] [2022-07-09 01:18:05 +0000.152988][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[056:844] [2022-07-09 01:18:05 +0000.153213][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[056:844] [2022-07-09 01:18:05 +0000.153472][2522] Create OpenSLES input module
with java VM support.

[056:844] [2022-07-09 01:18:05 +0000.153551][2522] Create OpenSLES input module


with buffer num:1

[056:844] [2022-07-09 01:18:05 +0000.153625][2522] Error(trace.cc:40): Init the


output and input for audio device template.
[056:844] [2022-07-09 01:18:05 +0000.153689][2522] Init the output device.

[056:844] [2022-07-09 01:18:05 +0000.153730][2522] Init the opensl input.


[056:844] [2022-07-09 01:18:05 +0000.153773][2522] AppDeviceManager get setting
samplerate: 0
[056:845] [2022-07-09 01:18:05 +0000.154481][2522] The device model: 2201117tg enum
value: 0
[056:846] [2022-07-09 01:18:05 +0000.155840][2522] The device model: 2201117tg enum
value: 0
[056:846] [2022-07-09 01:18:05 +0000.155945][2522] Set the sample rate to be:48000

[056:846] [2022-07-09 01:18:05 +0000.155989][2522] Enable the recording stereo:0


[056:846] [2022-07-09 01:18:05 +0000.156032][2522] Set the playout as stereo:1
[056:846] [2022-07-09 01:18:05 +0000.156071][2522] Init the microphone.
[056:847] [2022-07-09 01:18:05 +0000.156420][2522] Update the recording sample rate
to be: 48000
[056:847] [2022-07-09 01:18:05 +0000.156490][2522] Init the speaker.
[056:847] [2022-07-09 01:18:05 +0000.156543][2522] Low latency buffer size:144 low
sample rate:48000
[056:847] [2022-07-09 01:18:05 +0000.156914][2522] Using 1 x 10ms for an audio
frame.

[056:852] [2022-07-09 01:18:05 +0000.161973][2522] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[056:853] [2022-07-09 01:18:05 +0000.162195][2522] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[056:853] [2022-07-09 01:18:05 +0000.162280][2522] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[056:860] [2022-07-09 01:18:05 +0000.169619][2522] The device model:2201117tg

[056:860] [2022-07-09 01:18:05 +0000.169751][2522] speaker output factor:100


defaultFactor: 100

[056:860] [2022-07-09 01:18:05 +0000.169797][2522] headset output factor:100


defaultFactor: 100

[056:861] [2022-07-09 01:18:05 +0000.170450][2522] AppDeviceManagerStart finished.


[056:861] [2022-07-09 01:18:05 +0000.170519][2522] AppDeviceManagerStartMic::mic
status is off
[056:861] [2022-07-09 01:18:05 +0000.170589][2522] AppDeviceManagerStartMic update
aec type: 2

[056:861] [2022-07-09 01:18:05 +0000.170642][2522] AppDeviceManagerStartMic update


voiceChangeMode: 4

[056:861] [2022-07-09 01:18:05 +0000.170694][2522]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[056:861] [2022-07-09 01:18:05 +0000.170745][2522]
AudioDeviceDataHandler::StartMicProcess

[056:861] [2022-07-09 01:18:05 +0000.170933][2522] Try to start webrtc recording


device.

[056:861] [2022-07-09 01:18:05 +0000.170994][2522] StartRecording. threadID:9506

[056:861] [2022-07-09 01:18:05 +0000.170979][474f] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[056:862] [2022-07-09 01:18:05 +0000.171091][2522] default mode: Set the recording
mode to voice communication to enable HW AEC .

[056:862] [2022-07-09 01:18:05 +0000.171148][2522] Set the recording mode before


getSetting: 4
[056:862] [2022-07-09 01:18:05 +0000.171208][2522] Set the recording mode after
getSetting: 1
[056:893] [2022-07-09 01:18:05 +0000.202572][2522] StartRecording finished.

[056:893] [2022-07-09 01:18:05 +0000.202670][2522] audio: start the audio mic


checker timer.

[056:894] [2022-07-09 01:18:05 +0000.203346][2522] machine model :redmi


[056:894] [2022-07-09 01:18:05 +0000.203400][2522] Support this machine
model :redmi
[056:894] [2022-07-09 01:18:05 +0000.203445][2522] global inited! current sdk
version: 07-20-936c45f
[057:476] [2022-07-09 01:18:05 +0000.785161][474f] haveEnoughProcessedData
internalAudioStream.length: 10
[057:538] [2022-07-09 01:18:05 +0000.847260][42b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[057:538] [2022-07-09 01:18:05 +0000.847494][474b] MediaFilterCamera, recording
file context:0x7d433a4e80 input texture:24
[057:538] [2022-07-09 01:18:05 +0000.847589][474b] GLESContext:
[057:538] [2022-07-09 01:18:05 +0000.847675][474b] The result of eglGetDisplay is:
0x1
[057:541] [2022-07-09 01:18:05 +0000.850402][474b] The result of creation:
0x7d16124300
[057:541] [2022-07-09 01:18:05 +0000.850782][474b] The result of
eglCreatePbufferSurface is: 0x7d16124b00
[057:542] [2022-07-09 01:18:05 +0000.851091][42b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7d433a4e80 input_texture: 24
[057:566] [2022-07-09 01:18:05 +0000.875178][474f] Run AGC when audioType = 0
[058:356] [2022-07-09 01:18:06 +0000.665703][2522]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[058:356] [2022-07-09 01:18:06 +0000.666134][2522] ~MediaFilterCamera
time:236001655 enter.

[058:357] [2022-07-09 01:18:06 +0000.666217][2522] StopPullFrameAndWriteMp4


time:236001656 enter.

[058:361] [2022-07-09 01:18:06 +0000.671087][474a] stop recording


[058:363] [2022-07-09 01:18:06 +0000.672983][474a] we have stopped recording before
[058:364] [2022-07-09 01:18:06 +0000.673258][2522] StopPullFrameAndWriteMp4 leave.
expire time = 7 ms

[058:366] [2022-07-09 01:18:06 +0000.675630][2522] DestroyPipelineAndFilters


time:236001665 enter.
[058:366] [2022-07-09 01:18:06 +0000.675734][2522] DestroyPipelineAndFilters
leave. expire time = 0 ms

[058:366] [2022-07-09 01:18:06 +0000.675777][2522] AppDeviceManagerStopMic

[058:366] [2022-07-09 01:18:06 +0000.675855][2522] AppDeviceManagerStopMic::mic


status is on
[058:366] [2022-07-09 01:18:06 +0000.675895][2522] Try to stop webrtc device.

[058:366] [2022-07-09 01:18:06 +0000.675936][2522] Set record state to


stopped.threadID:9506

[058:412] [2022-07-09 01:18:06 +0000.721288][2522] Try to destory the


recorder.threadID:9506

[058:612] [2022-07-09 01:18:06 +0000.921541][2522] DestroyAudioRecorder:


[058:612] [2022-07-09 01:18:06 +0000.921834][2522] Cleanup the buffer queue in the
recorder.
[058:612] [2022-07-09 01:18:06 +0000.922013][2522] Destroy the recorder.

[058:622] [2022-07-09 01:18:06 +0000.931588][2522] StopRecording finished.

[058:622] [2022-07-09 01:18:06 +0000.931776][2522] The stop recording success.

[058:622] [2022-07-09 01:18:06 +0000.931822][2522]


AudioDeviceDataHandler::StopMicProcess

[058:626] [2022-07-09 01:18:06 +0000.935392][2522] AppDeviceManager stop.

[058:626] [2022-07-09 01:18:06 +0000.935692][2522] Rlease the webrtc device object.

[058:627] [2022-07-09 01:18:06 +0000.936858][2522] OpenSlesInput destruct.

[058:627] [2022-07-09 01:18:06 +0000.937038][2522] OpenSlesOutput destruct.

[058:630] [2022-07-09 01:18:06 +0000.939333][2522] EventDispatchServerScope


destruct
[058:630] [2022-07-09 01:18:06 +0000.939455][2522]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[058:630] [2022-07-09 01:18:06 +0000.939567][2522] ~AudioDeviceDataHandler

[058:633] [2022-07-09 01:18:06 +0000.942143][2522] AppDeviceManagerDestruct.

[058:633] [2022-07-09 01:18:06 +0000.942289][2522] ~AppDeviceManager:


[058:633] [2022-07-09 01:18:06 +0000.942386][2522] ~CpuOverloadDetect
time:236001932 enter.

[058:634] [2022-07-09 01:18:06 +0000.943135][2522] ~CpuOverloadDetect leave.


expire time = 1 ms

[058:635] [2022-07-09 01:18:06 +0000.944920][2522] Destruct BeautifyReader begin...


[058:636] [2022-07-09 01:18:06 +0000.945095][2522] Destruct BeautifyReader done.
[058:636] [2022-07-09 01:18:06 +0000.945162][2522] ~MediaFilterCamera leave.
expire time = 280 ms

[058:636] [2022-07-09 01:18:06 +0000.945537][2522] ~GLESContext:


[058:638] [2022-07-09 01:18:06 +0000.947237][2522] GLESContext destruct finish.
[058:638] [2022-07-09 01:18:06 +0000.947398][2522] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[058:639] [2022-07-09 01:18:06 +0000.948366][2522] global uninited!
[058:639] [2022-07-09 01:18:06 +0000.949059][2522] clear AppID 50011
[058:640] [2022-07-09 01:18:06 +0000.949168][2522] UnRegister JVM for Xplatform
util
[058:640] [2022-07-09 01:18:06 +0000.949249][2522] Dispose::unregister webrtc video
engine
[058:640] [2022-07-09 01:18:06 +0000.949321][2522] Init the android object with
jvm:0x0 env:0x0 context:0x0

[058:640] [2022-07-09 01:18:06 +0000.949407][2522] SetAndroidMediaCodecObjects


time:236001939 enter.

[058:640] [2022-07-09 01:18:06 +0000.949469][2522] ClearAndroidMediaCodecObjects


time:236001939 enter.

[058:640] [2022-07-09 01:18:06 +0000.949525][2522] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[058:640] [2022-07-09 01:18:06 +0000.949576][2522] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[058:640] [2022-07-09 01:18:06 +0000.949625][2522] SetAndroidMediaCodecObjects


time:236001939 enter.

[058:640] [2022-07-09 01:18:06 +0000.949673][2522] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[058:640] [2022-07-09 01:18:06 +0000.949722][2522] ClearAndroidMediaCodecObjects
time:236001939 enter.

[058:640] [2022-07-09 01:18:06 +0000.949769][2522] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[058:640] [2022-07-09 01:18:06 +0000.949813][2522] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[058:640] [2022-07-09 01:18:06 +0000.949857][2522] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[058:640] [2022-07-09 01:18:06 +0000.949908][2522] Dispose::unregister webrtc voice


engine
[058:640] [2022-07-09 01:18:06 +0000.949958][2522] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[058:640] [2022-07-09 01:18:06 +0000.950013][2522] SystemUtil UnInit done


[061:395] [2022-07-09 01:18:09 +0000.704467][2522] Register JVM for xplatform util
[061:403] [2022-07-09 01:18:09 +0000.712995][2522] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
09 01:18:09 +0000
[061:403] [2022-07-09 01:18:09 +0000.713067][2522] set AppID=50011 old AppID=-1
[061:404] [2022-07-09 01:18:09 +0000.713110][2522] Init the android object with
jvm:0xb400007daca21380 env:0x7d9d01b080 context:0x7d32d6c288

[061:404] [2022-07-09 01:18:09 +0000.713169][2522] SetAndroidMediaCodecObjects


time:236004703 enter.

[061:404] [2022-07-09 01:18:09 +0000.713227][2522] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[061:404] [2022-07-09 01:18:09 +0000.713283][2522] SetAndroidMediaCodecObjects


time:236004703 enter.

[061:404] [2022-07-09 01:18:09 +0000.713335][2522] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007daca21380
[061:404] [2022-07-09 01:18:09 +0000.713389][2522] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007daca21380 address:0x7cca928760
[061:404] [2022-07-09 01:18:09 +0000.713446][2522] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007daca21380
address:0x7cca928760
[061:404] [2022-07-09 01:18:09 +0000.713500][2522] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[061:404] [2022-07-09 01:18:09 +0000.713553][2522] Set the android objects with


jvm:0xb400007daca21380 env:0x7d9d01b080 context:0x7d32d6c288

[061:404] [2022-07-09 01:18:09 +0000.713608][2522] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7d9d01b080
[061:404] [2022-07-09 01:18:09 +0000.713665][2522] SystemUtil Init done
[061:404] [2022-07-09 01:18:09 +0000.714008][2522]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[061:405] [2022-07-09 01:18:09 +0000.714214][2522] MediaFilterCamera
[061:405] [2022-07-09 01:18:09 +0000.714288][2522] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[061:405] [2022-07-09 01:18:09 +0000.714444][2522] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[061:405] [2022-07-09 01:18:09 +0000.714513][2522] Recording session using default
bitrate support by app:31457280
[061:405] [2022-07-09 01:18:09 +0000.714495][47dc] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d09c9f740
[061:405] [2022-07-09 01:18:09 +0000.714701][47dc] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[061:405] [2022-07-09 01:18:09 +0000.714829][2522] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[061:406] [2022-07-09 01:18:09 +0000.715778][2522] Error(ini.cc:191): Open the file
failed. error:2
[061:406] [2022-07-09 01:18:09 +0000.715848][2522]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[061:406] [2022-07-09 01:18:09 +0000.715893][2522] The device model: 2201117tg
usingSoftwareAEC value: 0
[061:411] [2022-07-09 01:18:09 +0000.720417][2522] Error(ini.cc:191): Open the file
failed. error:2
[061:411] [2022-07-09 01:18:09 +0000.720540][2522]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[061:411] [2022-07-09 01:18:09 +0000.720593][2522] The device model: 2201117tg
usingHardwareAEC value: 0
[061:411] [2022-07-09 01:18:09 +0000.720654][2522] The machine device: 2201117tg
usingHardwareAEC value: 0
[061:411] [2022-07-09 01:18:09 +0000.720696][2522] Using Default AEC type: software
AEC
[061:412] [2022-07-09 01:18:09 +0000.721592][2522] The device model: 2201117tg enum
value: 0
[061:413] [2022-07-09 01:18:09 +0000.722678][2522] GetMachineModel is 2201117TG
[061:413] [2022-07-09 01:18:09 +0000.722793][2522] GetMachineInfo: 2201117TG
[061:413] [2022-07-09 01:18:09 +0000.722840][2522] Construct BeautifyReader
begin...
[061:413] [2022-07-09 01:18:09 +0000.722886][2522] dumpStickerRgba:0
dumpStickerYuv:0
[061:413] [2022-07-09 01:18:09 +0000.722928][2522] Construct BeautifyReader done.
[061:417] [2022-07-09 01:18:09 +0000.726783][2522] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[061:417] [2022-07-09 01:18:09 +0000.726833][47df] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d9d1cb4a0
[061:417] [2022-07-09 01:18:09 +0000.726907][2522] AppDeviceManager telnet server
for statistics started......
[061:418] [2022-07-09 01:18:09 +0000.727405][2522] CpuOverloadDetect time:236004717
enter.

[061:418] [2022-07-09 01:18:09 +0000.727544][2522] CpuOverloadDetect leave. expire


time = 0 ms

[061:418] [2022-07-09 01:18:09 +0000.727580][47e0] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7d9d0fd280
[061:419] [2022-07-09 01:18:09 +0000.728543][2522] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[061:419] [2022-07-09 01:18:09 +0000.728618][2522] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[061:419] [2022-07-09 01:18:09 +0000.728946][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[061:420] [2022-07-09 01:18:09 +0000.729335][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[061:420] [2022-07-09 01:18:09 +0000.729662][2522] CreatePlatformSpecificObjects:
[061:420] [2022-07-09 01:18:09 +0000.729730][2522] audio device use opensle input
and opensl output
[061:420] [2022-07-09 01:18:09 +0000.729807][2522] Create OpenSLES output module
with java VM support.

[061:420] [2022-07-09 01:18:09 +0000.730048][2522] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[061:421] [2022-07-09 01:18:09 +0000.730408][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[061:421] [2022-07-09 01:18:09 +0000.730713][2522] Create OpenSLES output module
with buffer num:1

[061:421] [2022-07-09 01:18:09 +0000.730947][2522] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[061:422] [2022-07-09 01:18:09 +0000.731174][2522] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[061:422] [2022-07-09 01:18:09 +0000.731446][2522] Create OpenSLES input module
with java VM support.

[061:422] [2022-07-09 01:18:09 +0000.731521][2522] Create OpenSLES input module


with buffer num:1

[061:422] [2022-07-09 01:18:09 +0000.731590][2522] Error(trace.cc:40): Init the


output and input for audio device template.
[061:422] [2022-07-09 01:18:09 +0000.731654][2522] Init the output device.

[061:422] [2022-07-09 01:18:09 +0000.731695][2522] Init the opensl input.


[061:422] [2022-07-09 01:18:09 +0000.731751][2522] AppDeviceManager get setting
samplerate: 0
[061:423] [2022-07-09 01:18:09 +0000.732349][2522] The device model: 2201117tg enum
value: 0
[061:424] [2022-07-09 01:18:09 +0000.733277][2522] The device model: 2201117tg enum
value: 0
[061:424] [2022-07-09 01:18:09 +0000.733347][2522] Set the sample rate to be:48000

[061:424] [2022-07-09 01:18:09 +0000.733389][2522] Enable the recording stereo:0


[061:424] [2022-07-09 01:18:09 +0000.733434][2522] Set the playout as stereo:1
[061:424] [2022-07-09 01:18:09 +0000.733474][2522] Init the microphone.
[061:424] [2022-07-09 01:18:09 +0000.733887][2522] Update the recording sample rate
to be: 48000
[061:424] [2022-07-09 01:18:09 +0000.733959][2522] Init the speaker.
[061:424] [2022-07-09 01:18:09 +0000.734014][2522] Low latency buffer size:144 low
sample rate:48000
[061:425] [2022-07-09 01:18:09 +0000.734354][2522] Using 1 x 10ms for an audio
frame.

[061:426] [2022-07-09 01:18:09 +0000.735411][2522] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[061:426] [2022-07-09 01:18:09 +0000.735532][2522] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[061:426] [2022-07-09 01:18:09 +0000.735598][2522] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[061:431] [2022-07-09 01:18:09 +0000.740123][2522] The device model:2201117tg

[061:431] [2022-07-09 01:18:09 +0000.740292][2522] speaker output factor:100


defaultFactor: 100

[061:431] [2022-07-09 01:18:09 +0000.740340][2522] headset output factor:100


defaultFactor: 100

[061:431] [2022-07-09 01:18:09 +0000.740964][2522] AppDeviceManagerStart finished.


[061:431] [2022-07-09 01:18:09 +0000.741035][2522] AppDeviceManagerStartMic::mic
status is off
[061:432] [2022-07-09 01:18:09 +0000.741117][2522] AppDeviceManagerStartMic update
aec type: 2

[061:432] [2022-07-09 01:18:09 +0000.741174][2522] AppDeviceManagerStartMic update


voiceChangeMode: 4

[061:432] [2022-07-09 01:18:09 +0000.741228][2522]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[061:432] [2022-07-09 01:18:09 +0000.741281][2522]
AudioDeviceDataHandler::StartMicProcess

[061:432] [2022-07-09 01:18:09 +0000.741480][2522] Try to start webrtc recording


device.

[061:432] [2022-07-09 01:18:09 +0000.741545][2522] StartRecording. threadID:9506

[061:432] [2022-07-09 01:18:09 +0000.741542][47e1] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[061:432] [2022-07-09 01:18:09 +0000.741643][2522] default mode: Set the recording
mode to voice communication to enable HW AEC .

[061:432] [2022-07-09 01:18:09 +0000.741700][2522] Set the recording mode before


getSetting: 4
[061:432] [2022-07-09 01:18:09 +0000.741760][2522] Set the recording mode after
getSetting: 1
[061:461] [2022-07-09 01:18:09 +0000.770217][2522] StartRecording finished.

[061:461] [2022-07-09 01:18:09 +0000.770308][2522] audio: start the audio mic


checker timer.

[061:461] [2022-07-09 01:18:09 +0000.770974][2522] machine model :redmi


[061:461] [2022-07-09 01:18:09 +0000.771065][2522] Support this machine
model :redmi
[061:462] [2022-07-09 01:18:09 +0000.771114][2522] global inited! current sdk
version: 07-20-936c45f
[062:125] [2022-07-09 01:18:10 +0000.434378][47e1] haveEnoughProcessedData
internalAudioStream.length: 0
[062:161] [2022-07-09 01:18:10 +0000.471059][42b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[062:163] [2022-07-09 01:18:10 +0000.472137][47dd] MediaFilterCamera, recording
file context:0x7d433a4e80 input texture:27
[062:163] [2022-07-09 01:18:10 +0000.472309][47dd] GLESContext:
[062:163] [2022-07-09 01:18:10 +0000.472416][47dd] The result of eglGetDisplay is:
0x1
[062:166] [2022-07-09 01:18:10 +0000.476033][47dd] The result of creation:
0x7d1ff1e100
[062:167] [2022-07-09 01:18:10 +0000.476465][47dd] The result of
eglCreatePbufferSurface is: 0x7d1ff1e200
[062:173] [2022-07-09 01:18:10 +0000.482646][42b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7d433a4e80 input_texture: 27
[062:724] [2022-07-09 01:18:11 +0000.33779][47e1] Run AGC when audioType = 0
[062:724] [2022-07-09 01:18:11 +0000.34001][47e1]
AudioDeviceDataHandler::MixAndSendOutFrame
[063:004] [2022-07-09 01:18:11 +0000.313713][2522]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[063:004] [2022-07-09 01:18:11 +0000.313837][2522] ~MediaFilterCamera
time:236006303 enter.

[063:004] [2022-07-09 01:18:11 +0000.313949][2522] StopPullFrameAndWriteMp4


time:236006303 enter.

[063:005] [2022-07-09 01:18:11 +0000.314458][47dc] stop recording


[063:005] [2022-07-09 01:18:11 +0000.314514][47dc] we have stopped recording before
[063:005] [2022-07-09 01:18:11 +0000.314626][2522] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[063:006] [2022-07-09 01:18:11 +0000.315271][2522] DestroyPipelineAndFilters


time:236006305 enter.

[063:006] [2022-07-09 01:18:11 +0000.315415][2522] DestroyPipelineAndFilters


leave. expire time = 0 ms

[063:006] [2022-07-09 01:18:11 +0000.315468][2522] AppDeviceManagerStopMic

[063:006] [2022-07-09 01:18:11 +0000.315542][2522] AppDeviceManagerStopMic::mic


status is on
[063:007] [2022-07-09 01:18:11 +0000.316196][2522] Try to stop webrtc device.

[063:007] [2022-07-09 01:18:11 +0000.316309][2522] Set record state to


stopped.threadID:9506

[063:055] [2022-07-09 01:18:11 +0000.364904][2522] Try to destory the


recorder.threadID:9506

[063:256] [2022-07-09 01:18:11 +0000.565215][2522] DestroyAudioRecorder:


[063:256] [2022-07-09 01:18:11 +0000.565598][2522] Cleanup the buffer queue in the
recorder.
[

You might also like