You are on page 1of 52

[000:051] [2022-03-12 06:23:55 +0000.

937320][5075] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-03-
12 06:23:55 +0000
[000:051] [2022-03-12 06:23:55 +0000.937391][5075] Disable the crash dump because
of setting.

[000:051] [2022-03-12 06:23:55 +0000.937408][5075] set AppID=123 old AppID=-1


[000:051] [2022-03-12 06:23:55 +0000.937423][5075] Init the android object with
jvm:0xb4000073bb2de550 env:0x73ab3211f0 context:0x7253128738

[000:051] [2022-03-12 06:23:55 +0000.937456][5075] SetAndroidMediaCodecObjects


time:373805224 enter.

[000:051] [2022-03-12 06:23:55 +0000.937515][5075] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:051] [2022-03-12 06:23:55 +0000.937545][5075] SetAndroidMediaCodecObjects


time:373805224 enter.

[000:051] [2022-03-12 06:23:55 +0000.937562][5075] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000073bb2de550
[000:051] [2022-03-12 06:23:55 +0000.937587][5075] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000073bb2de550 address:0x71c6b4f5a0
[000:051] [2022-03-12 06:23:55 +0000.937619][5075] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000073bb2de550
address:0x71c6b4f5a0
[000:052] [2022-03-12 06:23:55 +0000.937633][5075] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[000:052] [2022-03-12 06:23:55 +0000.937668][5075] Set the android objects with


jvm:0xb4000073bb2de550 env:0x73ab3211f0 context:0x7253128738

[000:055] [2022-03-12 06:23:55 +0000.940722][5075] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x73ab3211f0
[000:055] [2022-03-12 06:23:55 +0000.940825][5075] SystemUtil Init done
[000:056] [2022-03-12 06:23:55 +0000.941757][5075]
Java_com_xiaomi_inceptionmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJ
ni:
[000:057] [2022-03-12 06:23:55 +0000.943511][5075] MediaFilterCamera
[000:058] [2022-03-12 06:23:55 +0000.944063][5075] Error(ini.cc:191): Open the file
failed. error:2
[000:058] [2022-03-12 06:23:55 +0000.944126][5075]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:058] [2022-03-12 06:23:55 +0000.944176][5075] The device model: m2101k9ag
usingSoftwareAEC value: 0
[000:061] [2022-03-12 06:23:55 +0000.947245][5075] Error(ini.cc:191): Open the file
failed. error:2
[000:061] [2022-03-12 06:23:55 +0000.947322][5075]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:061] [2022-03-12 06:23:55 +0000.947348][5075] The device model: m2101k9ag
usingHardwareAEC value: 0
[000:061] [2022-03-12 06:23:55 +0000.947379][5075] The machine device: m2101k9ag
usingHardwareAEC value: 0
[000:061] [2022-03-12 06:23:55 +0000.947395][5075] Using Default AEC type: software
AEC
[000:062] [2022-03-12 06:23:55 +0000.948470][5075] The device model: m2101k9ag enum
value: 0
[000:063] [2022-03-12 06:23:55 +0000.949047][5075] GetMachineModel is M2101K9AG
[000:063] [2022-03-12 06:23:55 +0000.949106][5075] GetMachineInfo: M2101K9AG
[000:063] [2022-03-12 06:23:55 +0000.949136][5075] Construct BeautifyReader
begin...
[000:063] [2022-03-12 06:23:55 +0000.949159][5075] dumpStickerRgba:0
dumpStickerYuv:0
[000:063] [2022-03-12 06:23:55 +0000.949192][5075] Construct BeautifyReader done.
[000:066] [2022-03-12 06:23:55 +0000.952202][5075] Error(ini.cc:191): Open the file
failed. error:2
[000:066] [2022-03-12 06:23:55 +0000.952273][5075]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:067] [2022-03-12 06:23:55 +0000.953021][5075] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:067] [2022-03-12 06:23:55 +0000.953159][5075] AppDeviceManager telnet server
for statistics started......
[000:068] [2022-03-12 06:23:55 +0000.953757][6321] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x740b347020
[000:068] [2022-03-12 06:23:55 +0000.954179][5075] CpuOverloadDetect time:373805241
enter.

[000:068] [2022-03-12 06:23:55 +0000.954316][5075] CpuOverloadDetect leave. expire


time = 0 ms

[000:068] [2022-03-12 06:23:55 +0000.954474][6322] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x73bb34c090
[000:069] [2022-03-12 06:23:55 +0000.954908][5075] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:069] [2022-03-12 06:23:55 +0000.954949][5075] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:069] [2022-03-12 06:23:55 +0000.955229][5075] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:070] [2022-03-12 06:23:55 +0000.955667][5075] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:070] [2022-03-12 06:23:55 +0000.956541][5075] CreatePlatformSpecificObjects:
[000:070] [2022-03-12 06:23:55 +0000.956613][5075] audio device use opensle input
and opensl output
[000:071] [2022-03-12 06:23:55 +0000.956715][5075] Create OpenSLES output module
with java VM support.

[000:071] [2022-03-12 06:23:55 +0000.956950][5075] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:071] [2022-03-12 06:23:55 +0000.957178][5075] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:071] [2022-03-12 06:23:55 +0000.957459][5075] Create OpenSLES output module
with buffer num:1

[000:072] [2022-03-12 06:23:55 +0000.957653][5075] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:072] [2022-03-12 06:23:55 +0000.957904][5075] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:072] [2022-03-12 06:23:55 +0000.958167][5075] Create OpenSLES input module
with java VM support.

[000:072] [2022-03-12 06:23:55 +0000.958213][5075] Create OpenSLES input module


with buffer num:1

[000:072] [2022-03-12 06:23:55 +0000.958258][5075] Error(trace.cc:40): Init the


output and input for audio device template.
[000:072] [2022-03-12 06:23:55 +0000.958283][5075] Init the output device.
[000:072] [2022-03-12 06:23:55 +0000.958310][5075] Init the opensl input.
[000:072] [2022-03-12 06:23:55 +0000.958326][5075] AppDeviceManager get setting
samplerate: 0
[000:073] [2022-03-12 06:23:55 +0000.958674][5075] The device model: m2101k9ag enum
value: 0
[000:073] [2022-03-12 06:23:55 +0000.959140][5075] The device model: m2101k9ag enum
value: 0
[000:073] [2022-03-12 06:23:55 +0000.959171][5075] Set the sample rate to be:48000

[000:073] [2022-03-12 06:23:55 +0000.959198][5075] Enable the recording stereo:0


[000:073] [2022-03-12 06:23:55 +0000.959225][5075] Set the playout as stereo:1
[000:073] [2022-03-12 06:23:55 +0000.959249][5075] Init the microphone.
[000:074] [2022-03-12 06:23:55 +0000.959870][5075] Update the recording sample rate
to be: 48000
[000:074] [2022-03-12 06:23:55 +0000.960024][5075] Init the speaker.
[000:074] [2022-03-12 06:23:55 +0000.960122][5075] Low latency buffer size:144 low
sample rate:48000
[000:074] [2022-03-12 06:23:55 +0000.960490][5075] Using 1 x 10ms for an audio
frame.

[000:080] [2022-03-12 06:23:55 +0000.965704][5075] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:080] [2022-03-12 06:23:55 +0000.965861][5075] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:080] [2022-03-12 06:23:55 +0000.965955][5075] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:084] [2022-03-12 06:23:55 +0000.970386][5075] The device model:m2101k9ag

[000:084] [2022-03-12 06:23:55 +0000.970457][5075] speaker output factor:100


defaultFactor: 100

[000:084] [2022-03-12 06:23:55 +0000.970497][5075] headset output factor:100


defaultFactor: 100

[000:085] [2022-03-12 06:23:55 +0000.970879][5075] AppDeviceManagerStart finished.


[000:085] [2022-03-12 06:23:55 +0000.970921][5075] AppDeviceManagerStartMic::mic
status is off
[000:085] [2022-03-12 06:23:55 +0000.970978][5075] AppDeviceManagerStartMic update
aec type: 2

[000:085] [2022-03-12 06:23:55 +0000.970999][5075] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:085] [2022-03-12 06:23:55 +0000.971031][5075]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:085] [2022-03-12 06:23:55 +0000.971086][5075]
AudioDeviceDataHandler::StartMicProcess

[000:085] [2022-03-12 06:23:55 +0000.971191][5075] Try to start webrtc recording


device.

[000:085] [2022-03-12 06:23:55 +0000.971218][5075] StartRecording. threadID:20597

[000:086] [2022-03-12 06:23:55 +0000.972530][5075] The machine model:M2101K9AG

[000:087] [2022-03-12 06:23:55 +0000.972790][5075] default mode: Set the recording


mode to voice communication to enable HW AEC .
[000:087] [2022-03-12 06:23:55 +0000.972836][5075] Set the recording mode before
getSetting: 4
[000:087] [2022-03-12 06:23:55 +0000.972859][5075] Set the recording mode after
getSetting: 1
[000:088] [2022-03-12 06:23:55 +0000.974219][6323] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:088] [2022-03-12 06:23:55 +0000.974315][6323] haveEnoughProcessedData
internalAudioStream.length: 0
[000:212] [2022-03-12 06:23:56 +0000.98460][5075] StartRecording finished.

[000:212] [2022-03-12 06:23:56 +0000.98527][5075] audio: start the audio mic


checker timer.

[000:213] [2022-03-12 06:23:56 +0000.99008][5075] machine model :xiaomi


[000:213] [2022-03-12 06:23:56 +0000.99050][5075] Support this machine
model :xiaomi
[000:231] [2022-03-12 06:23:56 +0000.117030][5075] global inited! current sdk
version: 06-21-2b091f2
[000:233] [2022-03-12 06:23:56 +0000.118650][5075]
Java_com_xiaomi_inceptionmediaprocess_MediaEffectCamera_SetEncoderTypeJni:
[000:250] [2022-03-12 06:23:56 +0000.135660][6324] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:252] [2022-03-12 06:23:56 +0000.137814][6324] _deviceSampleRate:48000

[000:256] [2022-03-12 06:23:56 +0000.142457][6323] Run AGC when audioType = 0


[000:256] [2022-03-12 06:23:56 +0000.142568][6323]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:653] [2022-03-12 06:23:56 +0000.539599][539a]
Java_com_xiaomi_inceptionmediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[000:654] [2022-03-12 06:23:56 +0000.539754][539a]
Java_com_xiaomi_inceptionmediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
texture rgb: 20, textureUniform RGB: 1, ATTRIB_VERTEX: 0, ATTRIB_TEXTURE: 1,
vertex_vertices len: 32, texture_vertices len: 32
[000:654] [2022-03-12 06:23:56 +0000.540396][539a]
Java_com_xiaomi_inceptionmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:654] [2022-03-12 06:23:56 +0000.540577][631f] MediaFilterCamera, recording
file context:0x735b317de0 input texture:20
[000:655] [2022-03-12 06:23:56 +0000.540638][631f] GLESContext:
[000:655] [2022-03-12 06:23:56 +0000.540745][631f] The result of eglGetDisplay is:
0xb4000073ab31df10
[000:655] [2022-03-12 06:23:56 +0000.541583][631f] The result of creation:
0x735b3548c0
[000:656] [2022-03-12 06:23:56 +0000.541708][631f] The result of
eglCreatePbufferSurface is: 0x735b34da80
[000:656] [2022-03-12 06:23:56 +0000.541994][539a]
Java_com_xiaomi_inceptionmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x735b317de0 input_texture: 20
[001:840] [2022-03-12 06:23:57 +0000.725995][6323] haveEnoughProcessedData
internalAudioStream.length: 0
[002:234] [2022-03-12 06:23:58 +0000.120233][6323] Run AGC when audioType = 0
[003:567] [2022-03-12 06:23:59 +0000.453023][6323] haveEnoughProcessedData
internalAudioStream.length: 10
[004:218] [2022-03-12 06:24:00 +0000.103802][631a]
monitorTime:4006totalDuration:4000
[004:243] [2022-03-12 06:24:00 +0000.128690][6323] Run AGC when audioType = 0
[004:243] [2022-03-12 06:24:00 +0000.128974][6323]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:276] [2022-03-12 06:24:01 +0000.161849][6323] haveEnoughProcessedData
internalAudioStream.length: 0
[006:232] [2022-03-12 06:24:02 +0000.117720][6323] Run AGC when audioType = 0
[006:994] [2022-03-12 06:24:02 +0000.880357][6323] haveEnoughProcessedData
internalAudioStream.length: 0
[008:236] [2022-03-12 06:24:04 +0000.121719][6323] Run AGC when audioType = 0
[008:236] [2022-03-12 06:24:04 +0000.122023][6323]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:705] [2022-03-12 06:24:04 +0000.591291][6323] haveEnoughProcessedData
internalAudioStream.length: 0
[010:231] [2022-03-12 06:24:06 +0000.117024][6324] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:232] [2022-03-12 06:24:06 +0000.117653][6324] _deviceSampleRate:48000

[010:236] [2022-03-12 06:24:06 +0000.122285][6323] Run AGC when audioType = 0


[010:431] [2022-03-12 06:24:06 +0000.316961][6323] haveEnoughProcessedData
internalAudioStream.length: 20
[012:149] [2022-03-12 06:24:08 +0000.34940][6323] haveEnoughProcessedData
internalAudioStream.length: 0
[012:231] [2022-03-12 06:24:08 +0000.116996][6323] Run AGC when audioType = 0
[012:231] [2022-03-12 06:24:08 +0000.117264][6323]
AudioDeviceDataHandler::MixAndSendOutFrame
[013:868] [2022-03-12 06:24:09 +0000.754637][6323] haveEnoughProcessedData
internalAudioStream.length: 0
[014:234] [2022-03-12 06:24:10 +0000.120165][6323] Run AGC when audioType = 0
[015:589] [2022-03-12 06:24:11 +0000.474836][6323] haveEnoughProcessedData
internalAudioStream.length: 0
[016:235] [2022-03-12 06:24:12 +0000.120700][6323] Run AGC when audioType = 0
[016:235] [2022-03-12 06:24:12 +0000.121021][6323]
AudioDeviceDataHandler::MixAndSendOutFrame
[017:309] [2022-03-12 06:24:13 +0000.195358][6323] haveEnoughProcessedData
internalAudioStream.length: 0
[018:180] [2022-03-12 06:24:14 +0000.66608][5075]
Java_com_xiaomi_inceptionmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJn
i:
[018:181] [2022-03-12 06:24:14 +0000.66829][5075] ~MediaFilterCamera time:373823354
enter.

[018:181] [2022-03-12 06:24:14 +0000.66880][5075] StopPullFrameAndWriteMp4


time:373823354 enter.

[018:181] [2022-03-12 06:24:14 +0000.67328][5075] StopPullFrameAndWriteMp4 leave.


expire time = 0 ms

[018:182] [2022-03-12 06:24:14 +0000.67687][5075] DestroyPipelineAndFilters


time:373823355 enter.

[018:182] [2022-03-12 06:24:14 +0000.67740][5075] DestroyPipelineAndFilters leave.


expire time = 0 ms

[018:182] [2022-03-12 06:24:14 +0000.67766][5075] AppDeviceManagerStopMic

[018:182] [2022-03-12 06:24:14 +0000.67827][5075] AppDeviceManagerStopMic::mic


status is on
[018:182] [2022-03-12 06:24:14 +0000.67850][5075] Try to stop webrtc device.

[018:182] [2022-03-12 06:24:14 +0000.67876][5075] Set record state to


stopped.threadID:20597

[018:233] [2022-03-12 06:24:14 +0000.119514][5075] Try to destory the


recorder.threadID:20597

[018:434] [2022-03-12 06:24:14 +0000.320183][5075] DestroyAudioRecorder:


[018:434] [2022-03-12 06:24:14 +0000.320269][5075] Cleanup the buffer queue in the
recorder.
[018:434] [2022-03-12 06:24:14 +0000.320298][5075] Destroy the recorder.

[018:435] [2022-03-12 06:24:14 +0000.321624][5075] StopRecording finished.

[018:436] [2022-03-12 06:24:14 +0000.321688][5075] The stop recording success.

[018:436] [2022-03-12 06:24:14 +0000.321769][5075]


AudioDeviceDataHandler::StopMicProcess

[018:441] [2022-03-12 06:24:14 +0000.326836][5075] AppDeviceManager stop.

[018:441] [2022-03-12 06:24:14 +0000.326936][5075] Rlease the webrtc device object.

[018:441] [2022-03-12 06:24:14 +0000.327259][5075] OpenSlesInput destruct.

[018:441] [2022-03-12 06:24:14 +0000.327327][5075] OpenSlesOutput destruct.

[018:443] [2022-03-12 06:24:14 +0000.328753][5075] EventDispatchServerScope


destruct
[018:443] [2022-03-12 06:24:14 +0000.328824][5075]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[018:443] [2022-03-12 06:24:14 +0000.328866][5075] ~AudioDeviceDataHandler

[018:446] [2022-03-12 06:24:14 +0000.332265][5075] AppDeviceManagerDestruct.

[018:446] [2022-03-12 06:24:14 +0000.332369][5075] ~AppDeviceManager:


[018:446] [2022-03-12 06:24:14 +0000.332428][5075] ~CpuOverloadDetect
time:373823619 enter.

[018:447] [2022-03-12 06:24:14 +0000.333108][5075] ~CpuOverloadDetect leave.


expire time = 1 ms

[018:476] [2022-03-12 06:24:14 +0000.362144][5075] Destruct BeautifyReader begin...


[018:476] [2022-03-12 06:24:14 +0000.362222][5075] Destruct BeautifyR[000:027]
[2022-03-12 06:30:24 +0000.81199][5075] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-03-
12 06:30:24 +0000
[000:027] [2022-03-12 06:30:24 +0000.81272][5075] set AppID=50011 old AppID=-1
[000:027] [2022-03-12 06:30:24 +0000.81303][5075] Init the android object with
jvm:0xb4000073bb2de550 env:0x73ab3211f0 context:0x72531282b8

[000:027] [2022-03-12 06:30:24 +0000.81347][5075] SetAndroidMediaCodecObjects


time:374193368 enter.

[000:027] [2022-03-12 06:30:24 +0000.81375][5075] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:027] [2022-03-12 06:30:24 +0000.81398][5075] SetAndroidMediaCodecObjects


time:374193368 enter.

[000:027] [2022-03-12 06:30:24 +0000.81424][5075] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000073bb2de550
[000:027] [2022-03-12 06:30:24 +0000.81450][5075] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000073bb2de550 address:0x7193f25760
[000:027] [2022-03-12 06:30:24 +0000.81476][5075] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000073bb2de550
address:0x7193f25760
[000:027] [2022-03-12 06:30:24 +0000.81502][5075] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:027] [2022-03-12 06:30:24 +0000.81527][5075] Set the android objects with


jvm:0xb4000073bb2de550 env:0x73ab3211f0 context:0x72531282b8

[000:029] [2022-03-12 06:30:24 +0000.83407][5075] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x73ab3211f0
[000:029] [2022-03-12 06:30:24 +0000.83490][5075] SystemUtil Init done
[000:030] [2022-03-12 06:30:24 +0000.84242][5075]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:032] [2022-03-12 06:30:24 +0000.86133][5075] MediaFilterCamera
[000:032] [2022-03-12 06:30:24 +0000.86215][5075] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:032] [2022-03-12 06:30:24 +0000.86336][5075] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:032] [2022-03-12 06:30:24 +0000.86368][5075] Recording session using default
bitrate support by app:31457280
[000:032] [2022-03-12 06:30:24 +0000.86375][6a7f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x73db333c30
[000:032] [2022-03-12 06:30:24 +0000.86597][6a7f] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:033] [2022-03-12 06:30:24 +0000.86696][5075] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:033] [2022-03-12 06:30:24 +0000.87244][5075] Error(ini.cc:191): Open the file
failed. error:2
[000:033] [2022-03-12 06:30:24 +0000.87277][5075]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:033] [2022-03-12 06:30:24 +0000.87304][5075] The device model: m2101k9ag
usingSoftwareAEC value: 0
[000:036] [2022-03-12 06:30:24 +0000.90031][5075] Error(ini.cc:191): Open the file
failed. error:2
[000:036] [2022-03-12 06:30:24 +0000.90101][5075]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:036] [2022-03-12 06:30:24 +0000.90141][5075] The device model: m2101k9ag
usingHardwareAEC value: 0
[000:036] [2022-03-12 06:30:24 +0000.90163][5075] The machine device: m2101k9ag
usingHardwareAEC value: 0
[000:036] [2022-03-12 06:30:24 +0000.90187][5075] Using Default AEC type: software
AEC
[000:037] [2022-03-12 06:30:24 +0000.91277][5075] The device model: m2101k9ag enum
value: 0
[000:038] [2022-03-12 06:30:24 +0000.91786][5075] GetMachineModel is M2101K9AG
[000:038] [2022-03-12 06:30:24 +0000.91832][5075] GetMachineInfo: M2101K9AG
[000:038] [2022-03-12 06:30:24 +0000.91871][5075] Construct BeautifyReader begin...
[000:038] [2022-03-12 06:30:24 +0000.91893][5075] dumpStickerRgba:0
dumpStickerYuv:0
[000:038] [2022-03-12 06:30:24 +0000.91920][5075] Construct BeautifyReader done.
[000:041] [2022-03-12 06:30:24 +0000.95303][5075] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:041] [2022-03-12 06:30:24 +0000.95403][5075] AppDeviceManager telnet server
for statistics started......
[000:041] [2022-03-12 06:30:24 +0000.95562][6a82] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x740b3ad5a0
[000:042] [2022-03-12 06:30:24 +0000.96008][5075] CpuOverloadDetect time:374193383
enter.

[000:042] [2022-03-12 06:30:24 +0000.96142][5075] CpuOverloadDetect leave. expire


time = 0 ms

[000:042] [2022-03-12 06:30:24 +0000.96172][6a83] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x73bb3afe50
[000:043] [2022-03-12 06:30:24 +0000.96705][5075] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[000:043] [2022-03-12 06:30:24 +0000.96734][5075] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[000:043] [2022-03-12 06:30:24 +0000.96951][5075] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:043] [2022-03-12 06:30:24 +0000.97269][5075] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:043] [2022-03-12 06:30:24 +0000.97579][5075] CreatePlatformSpecificObjects:
[000:044] [2022-03-12 06:30:24 +0000.97625][5075] audio device use opensle input
and opensl output
[000:044] [2022-03-12 06:30:24 +0000.97669][5075] Create OpenSLES output module
with java VM support.

[000:044] [2022-03-12 06:30:24 +0000.97800][5075] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:044] [2022-03-12 06:30:24 +0000.97977][5075] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:044] [2022-03-12 06:30:24 +0000.98222][5075] Create OpenSLES output module
with buffer num:1

[000:044] [2022-03-12 06:30:24 +0000.98405][5075] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:044] [2022-03-12 06:30:24 +0000.98619][5075] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:045] [2022-03-12 06:30:24 +0000.98865][5075] Create OpenSLES input module with
java VM support.

[000:045] [2022-03-12 06:30:24 +0000.98909][5075] Create OpenSLES input module with


buffer num:1

[000:045] [2022-03-12 06:30:24 +0000.98960][5075] Error(trace.cc:40): Init the


output and input for audio device template.
[000:045] [2022-03-12 06:30:24 +0000.98982][5075] Init the output device.

[000:045] [2022-03-12 06:30:24 +0000.98996][5075] Init the opensl input.


[000:045] [2022-03-12 06:30:24 +0000.99018][5075] AppDeviceManager get setting
samplerate: 0
[000:045] [2022-03-12 06:30:24 +0000.99382][5075] The device model: m2101k9ag enum
value: 0
[000:046] [2022-03-12 06:30:24 +0000.99835][5075] The device model: m2101k9ag enum
value: 0
[000:046] [2022-03-12 06:30:24 +0000.99864][5075] Set the sample rate to be:48000

[000:046] [2022-03-12 06:30:24 +0000.99890][5075] Enable the recording stereo:0


[000:046] [2022-03-12 06:30:24 +0000.99917][5075] Set the playout as stereo:1
[000:046] [2022-03-12 06:30:24 +0000.99941][5075] Init the microphone.
[000:046] [2022-03-12 06:30:24 +0000.100326][5075] Update the recording sample rate
to be: 48000
[000:046] [2022-03-12 06:30:24 +0000.100387][5075] Init the speaker.
[000:046] [2022-03-12 06:30:24 +0000.100419][5075] Low latency buffer size:144 low
sample rate:48000
[000:047] [2022-03-12 06:30:24 +0000.100647][5075] Using 1 x 10ms for an audio
frame.

[000:050] [2022-03-12 06:30:24 +0000.104069][5075] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:050] [2022-03-12 06:30:24 +0000.104144][5075] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:050] [2022-03-12 06:30:24 +0000.104187][5075] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:055] [2022-03-12 06:30:24 +0000.108776][5075] The device model:m2101k9ag

[000:055] [2022-03-12 06:30:24 +0000.108821][5075] speaker output factor:100


defaultFactor: 100

[000:055] [2022-03-12 06:30:24 +0000.108845][5075] headset output factor:100


defaultFactor: 100

[000:055] [2022-03-12 06:30:24 +0000.109195][5075] AppDeviceManagerStart finished.


[000:055] [2022-03-12 06:30:24 +0000.109256][5075] AppDeviceManagerStartMic::mic
status is off
[000:055] [2022-03-12 06:30:24 +0000.109322][5075] AppDeviceManagerStartMic update
aec type: 2

[000:055] [2022-03-12 06:30:24 +0000.109344][5075] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:055] [2022-03-12 06:30:24 +0000.109372][5075]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:055] [2022-03-12 06:30:24 +0000.109411][5075]
AudioDeviceDataHandler::StartMicProcess

[000:055] [2022-03-12 06:30:24 +0000.109509][5075] Try to start webrtc recording


device.

[000:055] [2022-03-12 06:30:24 +0000.109563][5075] StartRecording. threadID:20597

[000:056] [2022-03-12 06:30:24 +0000.109701][6a84] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:056] [2022-03-12 06:30:24 +0000.109760][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[000:056] [2022-03-12 06:30:24 +0000.109875][5075] The machine model:M2101K9AG

[000:056] [2022-03-12 06:30:24 +0000.109932][5075] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:056] [2022-03-12 06:30:24 +0000.109956][5075] Set the recording mode before


getSetting: 4
[000:056] [2022-03-12 06:30:24 +0000.109988][5075] Set the recording mode after
getSetting: 1
[000:168] [2022-03-12 06:30:24 +0000.221953][5075] StartRecording finished.

[000:168] [2022-03-12 06:30:24 +0000.222058][5075] audio: start the audio mic


checker timer.

[000:168] [2022-03-12 06:30:24 +0000.222566][5075] machine model :xiaomi


[000:168] [2022-03-12 06:30:24 +0000.222612][5075] Support this machine
model :xiaomi
[000:169] [2022-03-12 06:30:24 +0000.223045][5075] global inited! current sdk
version: 07-20-936c45f
[000:206] [2022-03-12 06:30:24 +0000.260215][6a85] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:206] [2022-03-12 06:30:24 +0000.260525][6a85] _deviceSampleRate:48000

[000:211] [2022-03-12 06:30:24 +0000.264984][6a84] Run AGC when audioType = 0


[000:211] [2022-03-12 06:30:24 +0000.265098][6a84]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:528] [2022-03-12 06:30:24 +0000.582810][539a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:529] [2022-03-12 06:30:24 +0000.582982][6a80] MediaFilterCamera, recording
file context:0x735b317de0 input texture:34
[000:529] [2022-03-12 06:30:24 +0000.583021][6a80] GLESContext:
[000:529] [2022-03-12 06:30:24 +0000.583066][6a80] The result of eglGetDisplay is:
0xb4000073ab31df10
[000:530] [2022-03-12 06:30:24 +0000.583976][6a80] The result of creation:
0x735b36ee10
[000:530] [2022-03-12 06:30:24 +0000.584126][6a80] The result of
eglCreatePbufferSurface is: 0x735b390740
[000:530] [2022-03-12 06:30:24 +0000.584621][539a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x735b317de0 input_texture: 34
[001:820] [2022-03-12 06:30:25 +0000.874114][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[002:192] [2022-03-12 06:30:26 +0000.246616][6a84] Run AGC when audioType = 0
[003:536] [2022-03-12 06:30:27 +0000.590040][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[004:172] [2022-03-12 06:30:28 +0000.226444][6a7b]
monitorTime:4004totalDuration:4000
[004:191] [2022-03-12 06:30:28 +0000.245411][6a84] Run AGC when audioType = 0
[004:192] [2022-03-12 06:30:28 +0000.245714][6a84]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:249] [2022-03-12 06:30:29 +0000.302974][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[006:189] [2022-03-12 06:30:30 +0000.243619][6a84] Run AGC when audioType = 0
[006:968] [2022-03-12 06:30:31 +0000.22054][6a84] haveEnoughProcessedData
internalAudioStream.length: 20
[008:199] [2022-03-12 06:30:32 +0000.253186][6a84] Run AGC when audioType = 0
[008:199] [2022-03-12 06:30:32 +0000.253516][6a84]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:692] [2022-03-12 06:30:32 +0000.746408][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[010:203] [2022-03-12 06:30:34 +0000.257341][6a85] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:203] [2022-03-12 06:30:34 +0000.257572][6a85] _deviceSampleRate:48000

[010:205] [2022-03-12 06:30:34 +0000.258877][6a84] Run AGC when audioType = 0


[010:409] [2022-03-12 06:30:34 +0000.463476][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[012:128] [2022-03-12 06:30:36 +0000.181957][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[012:190] [2022-03-12 06:30:36 +0000.244317][6a84] Run AGC when audioType = 0
[012:191] [2022-03-12 06:30:36 +0000.244707][6a84]
AudioDeviceDataHandler::MixAndSendOutFrame
[013:311] [2022-03-12 06:30:37 +0000.365418][502f] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[013:311] [2022-03-12 06:30:37 +0000.365552][502f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[013:312] [2022-03-12 06:30:37 +0000.366225][502f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[013:312] [2022-03-12 06:30:37 +0000.366478][6a80] operator() time:374206653
enter.

[013:312] [2022-03-12 06:30:37 +0000.366598][6a80] MediaFilterCamera, recording


file context:0x735b317de0 input texture:34
[013:314] [2022-03-12 06:30:37 +0000.368326][6a80] MicSource: Mic source
created:10x73eb57a8c0
[013:315] [2022-03-12 06:30:37 +0000.369098][6a80] received external audio stream

[013:315] [2022-03-12 06:30:37 +0000.369192][6a80] alloc thread: 0x73ab32f210


name:worker0 thread id:489726024880 to Mic_source
[013:315] [2022-03-12 06:30:37 +0000.369236][6a80] audio: start the audio sender
thread.

[013:315] [2022-03-12 06:30:37 +0000.369398][6a80] construct OpenGLRenderProgram


0x73db2fab88
[013:315] [2022-03-12 06:30:37 +0000.369453][6a80] CropFilter::SetOrientation
orientation: 90
[013:315] [2022-03-12 06:30:37 +0000.369614][6a80] filter: filter pipeline
construtc this: 0x738b350df0
[013:316] [2022-03-12 06:30:37 +0000.369657][6a80] filter: filter pipeline2 update
pattern: 1
[013:316] [2022-03-12 06:30:37 +0000.369746][6a80] CameraSource::source_id_:1
[013:316] [2022-03-12 06:30:37 +0000.369786][6a80] RecordAudioSource::source_id_:2
[013:316] [2022-03-12 06:30:37 +0000.369923][6a80] BindInputFilter 0x73bb342450
this 0x73db2fadb0
[013:316] [2022-03-12 06:30:37 +0000.369971][6a80] BindInputFilter 0x73bb3b04e8
this 0x73bb3b37a0
[013:316] [2022-03-12 06:30:37 +0000.370012][6a80] BindInputFilter 0x73db2fadb0
this 0x738b350e90
[013:316] [2022-03-12 06:30:37 +0000.370068][6a80] setParamentForFilters:
speed:0.330000
[013:316] [2022-03-12 06:30:37 +0000.370098][6a80] SetParamForFilter:
AF_SpeedFilter params:, speed_ 0.33
[013:316] [2022-03-12 06:30:37 +0000.370133][6a80] SetParamForFilter time:374206657
enter.

[013:316] [2022-03-12 06:30:37 +0000.370164][6a80] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[013:316] [2022-03-12 06:30:37 +0000.370195][6a80] SetParamForFilter: Params video
index is: 0
[013:316] [2022-03-12 06:30:37 +0000.370224][6a80] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[013:316] [2022-03-12 06:30:37 +0000.370245][6a80] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[013:316] [2022-03-12 06:30:37 +0000.370266][6a80] crop filter mode tpye:
citytravelvideo index:0
[013:323] [2022-03-12 06:30:37 +0000.377573][6a84] On audio frame the broadcast
with timestamp:374206664 samples:480. (1000 frame for one log)

[013:325] [2022-03-12 06:30:37 +0000.379141][6a80]


Warning(parse_template_json.cc:45): json parament no found the parament
[013:325] [2022-03-12 06:30:37 +0000.379236][6a80]
Warning(parse_template_json.cc:45): json parament no found the parament
[013:325] [2022-03-12 06:30:37 +0000.379263][6a80]
Warning(parse_template_json.cc:45): json parament no found the parament
[013:325] [2022-03-12 06:30:37 +0000.379283][6a80]
Warning(parse_template_json.cc:45): json parament no found the parament
[013:325] [2022-03-12 06:30:37 +0000.379349][6a80]
Warning(parse_template_json.cc:45): json parament no found the parament
[013:325] [2022-03-12 06:30:37 +0000.379372][6a80]
Warning(parse_template_json.cc:45): json parament no found the parament
[013:325] [2022-03-12 06:30:37 +0000.379394][6a80]
Warning(parse_template_json.cc:45): json parament no found the parament
[013:325] [2022-03-12 06:30:37 +0000.379412][6a80]
Warning(parse_template_json.cc:81): json parament no found the parament
[013:325] [2022-03-12 06:30:37 +0000.379431][6a80]
Warning(parse_template_json.cc:81): json parament no found the parament
[013:325] [2022-03-12 06:30:37 +0000.379449][6a80]
Warning(parse_template_json.cc:67): json parament no found the parament
[013:325] [2022-03-12 06:30:37 +0000.379467][6a80]
Warning(parse_template_json.cc:93): json parament no found the duration
[013:325] [2022-03-12 06:30:37 +0000.379490][6a80] SetParamForFilter leave. expire
time = 9 ms

[013:326] [2022-03-12 06:30:37 +0000.379696][6a80] OnOutputSizeChanged width 1280


height 720
[013:326] [2022-03-12 06:30:37 +0000.379723][6a80] OpenGLFrameBuffer: width:1280
height:720
[013:326] [2022-03-12 06:30:37 +0000.379746][6a80] OpenGLFrameBuffer: width:1280
height:720
[013:326] [2022-03-12 06:30:37 +0000.379806][6a80] OpenGLFrameBuffer: width:1280
height:720
[013:326] [2022-03-12 06:30:37 +0000.379831][6a80] OpenGLFrameBuffer: width:1280
height:720
[013:326] [2022-03-12 06:30:37 +0000.379852][6a80] OpenGLFrameBuffer: width:1280
height:720
[013:326] [2022-03-12 06:30:37 +0000.379870][6a80] OpenGLFrameBuffer: width:1280
height:720
[013:326] [2022-03-12 06:30:37 +0000.379887][6a80] construct TrivalImageDrawer
0x739b34abd0
[013:326] [2022-03-12 06:30:37 +0000.379906][6a80] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x739b34abd0 context 0x732b4453d0
[013:326] [2022-03-12 06:30:37 +0000.379926][6a80] setupGLES:
[013:326] [2022-03-12 06:30:37 +0000.380237][6aa5] Get data in mic source, which
has byte length:1764micAudioStream->length():20
[013:326] [2022-03-12 06:30:37 +0000.380325][6a80] OpenGLRenderProgram::Initialize.
[013:326] [2022-03-12 06:30:37 +0000.380362][6a80] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[013:326] [2022-03-12 06:30:37 +0000.380386][6a80] 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_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc
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
[013:326] [2022-03-12 06:30:37 +0000.380477][6a80] Init open gl render:
0x73db2fab88
[013:326] [2022-03-12 06:30:37 +0000.380505][6a80] Fragement shader path:
[013:326] [2022-03-12 06:30:37 +0000.380529][6a80] Fragement shader path:
[013:326] [2022-03-12 06:30:37 +0000.380547][6a80] create opengl program object.
[013:326] [2022-03-12 06:30:37 +0000.380565][6a80] create shader: vertex
[013:327] [2022-03-12 06:30:37 +0000.380653][6aa5] The output timestamp from audio
mixer change:374206664
[013:327] [2022-03-12 06:30:37 +0000.380681][6aa5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[013:329] [2022-03-12 06:30:37 +0000.383194][6a80] create shader: fragment
[013:375] [2022-03-12 06:30:37 +0000.428983][6a80] Have not extra filter filename!
[013:375] [2022-03-12 06:30:37 +0000.429113][6a80] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[013:375] [2022-03-12 06:30:37 +0000.429149][6a80] OpenGLRenderProgram::Initialize
success.
[013:375] [2022-03-12 06:30:37 +0000.429252][6a80] Setup the OpenGL result:1
[013:376] [2022-03-12 06:30:37 +0000.429853][6a7f] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_374206716.mp4
[013:376] [2022-03-12 06:30:37 +0000.430090][6a7f] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_374206716.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[013:376] [2022-03-12 06:30:37 +0000.430175][6a7f] 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
[013:376] [2022-03-12 06:30:37 +0000.430213][6a7f] 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_374206716.mp4
fileFD: -1
[013:376] [2022-03-12 06:30:37 +0000.430622][6a7f] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_374206716.mp4
is opened successfully
[013:377] [2022-03-12 06:30:37 +0000.430665][6a7f] setupMediaProcessers:
[013:377] [2022-03-12 06:30:37 +0000.430689][6a7f]
RecordingSessionInternalSimple:setup media processers.
[013:377] [2022-03-12 06:30:37 +0000.430708][6a7f] construct AAC encoder
[013:377] [2022-03-12 06:30:37 +0000.430735][6aae] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x73cb624e98
[013:377] [2022-03-12 06:30:37 +0000.431242][6a7f] H264Encoder creating:
superfast011818
[013:377] [2022-03-12 06:30:37 +0000.431300][6a7f] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[013:378] [2022-03-12 06:30:37 +0000.431806][6a7f] H264Encode::GetMachineModel is
M2101K9AG
[013:378] [2022-03-12 06:30:37 +0000.431856][6a7f] H264Encoder machine_mode
is:M2101K9AG
[013:378] [2022-03-12 06:30:37 +0000.431893][6a7f] H264Encode::machine size :9
machine_mode:M2101K9AG
[013:378] [2022-03-12 06:30:37 +0000.431925][6a7f] H264Encode::machine array
size :22 machine_mode:M2101K9AG
[013:378] [2022-03-12 06:30:37 +0000.431959][6a7f] H264Encode::current machine
is :M2101K9AG auto check hw codec decide to use hw codec
[013:378] [2022-03-12 06:30:37 +0000.432029][6a7f] setupCompressionSession:
[013:378] [2022-03-12 06:30:37 +0000.432059][6a7f] H264Encode::creating hareware
Encoder
[013:378] [2022-03-12 06:30:37 +0000.432093][6a7f] AndroidHwAvcEncoder
time:374206719 enter.

[013:378] [2022-03-12 06:30:37 +0000.432421][6a7f] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000073bb2de550 address:0x7193f25760
[013:378] [2022-03-12 06:30:37 +0000.432564][6a7f] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[013:378] [2022-03-12 06:30:37 +0000.432606][6a7f] The video avc hw codec address
is 0x72fb319af0
[013:379] [2022-03-12 06:30:37 +0000.432897][6a7f] AndroidHwAvcEncoder leave.
expire time = 1 ms

[013:379] [2022-03-12 06:30:37 +0000.432932][6a7f] RegisterEncodeCompleteCallback


time:374206720 enter.

[013:379] [2022-03-12 06:30:37 +0000.433089][6a7f] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[013:379] [2022-03-12 06:30:37 +0000.433154][6a7f] InitEncode time:374206720


enter.

[013:379] [2022-03-12 06:30:37 +0000.433251][6a7f] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[013:379] [2022-03-12 06:30:37 +0000.433301][6a7f] Create time:374206720 enter.

[013:379] [2022-03-12 06:30:37 +0000.433340][6a7f] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[013:379] [2022-03-12 06:30:37 +0000.433369][6a7f]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x737b335190
[013:405] [2022-03-12 06:30:37 +0000.458813][6a7f] supported_type:video/avc
[013:405] [2022-03-12 06:30:37 +0000.458936][6a7f] name:OMX.qcom.video.encoder.avc
mime:video/avc
[013:405] [2022-03-12 06:30:37 +0000.459004][6a7f] hwCodecPrefix :OMX.qcom.
[013:405] [2022-03-12 06:30:37 +0000.459045][6a7f] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[013:405] [2022-03-12 06:30:37 +0000.459091][6a7f] mediacodec_createCodecByName
time:374206746 enter.

[013:405] [2022-03-12 06:30:37 +0000.459125][6a7f] WrapAndroidMediaCodec


time:374206746 enter.

[013:405] [2022-03-12 06:30:37 +0000.459302][6a7f] WrapAndroidMediaCodec leave.


expire time = 0 ms

[013:428] [2022-03-12 06:30:37 +0000.481920][6a7f] mediacodec_createCodecByName


leave. expire time = 23 ms

[013:428] [2022-03-12 06:30:37 +0000.482074][6a7f] WrapAndroidMediaFromat


time:374206769 enter.

[013:428] [2022-03-12 06:30:37 +0000.482181][6a7f] WrapAndroidMediaFromat leave.


expire time = 0 ms

[013:486] [2022-03-12 06:30:37 +0000.540340][6a7f] Destroy time:374206827 enter.

[013:486] [2022-03-12 06:30:37 +0000.540420][6a7f] WrapAndroidMediaFromat::


Destroy
[013:486] [2022-03-12 06:30:37 +0000.540450][6a7f] Destroy leave. expire time = 0
ms

[013:486] [2022-03-12 06:30:37 +0000.540500][6a7f] ~WrapAndroidMediaFromat


time:374206827 enter.

[013:486] [2022-03-12 06:30:37 +0000.540522][6a7f] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[013:486] [2022-03-12 06:30:37 +0000.540551][6a7f] Create leave. expire time = 107


ms

[013:486] [2022-03-12 06:30:37 +0000.540580][6a7f] isSemiPlanarSupport


time:374206827 enter.

[013:486] [2022-03-12 06:30:37 +0000.540600][6a7f] H264Encoder isSemiPlanarSupport


[013:487] [2022-03-12 06:30:37 +0000.540623][6a7f] isSemiPlanarSupport leave.
expire time = 1 ms

[013:487] [2022-03-12 06:30:37 +0000.540647][6a7f] creat hw H264Encoder success,


isSemiPlanar:1
[013:487] [2022-03-12 06:30:37 +0000.540778][6a7f] InitEncode leave. expire time =
108 ms

[013:487] [2022-03-12 06:30:37 +0000.540820][6a7f] H264Encode::created Encoder


[013:487] [2022-03-12 06:30:37 +0000.540850][6a7f] H264Encode:: H264 encoder
created.
[013:487] [2022-03-12 06:30:37 +0000.540878][6a7f] H264 encoder created.
[013:487] [2022-03-12 06:30:37 +0000.540899][6a7f]
RecordingSessionInternalSimple:created avc encoder avc: 0x73ab38fb90
[013:487] [2022-03-12 06:30:37 +0000.540922][6a7f] setOutput:
[013:487] [2022-03-12 06:30:37 +0000.540941][6a7f]
RecordingSessionInternalSimple:encoder set output to muxer!
[013:487] [2022-03-12 06:30:37 +0000.540970][6a7f] request a key frame
[013:487] [2022-03-12 06:30:37 +0000.541036][6a7f] H264Encode:: request a key frame
[013:487] [2022-03-12 06:30:37 +0000.541316][6a7f] setDisplayRotate :90
[013:487] [2022-03-12 06:30:37 +0000.541370][6a7f] 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
[013:487] [2022-03-12 06:30:37 +0000.541542][6a80] StartRecording:
[013:488] [2022-03-12 06:30:37 +0000.541755][6aa5] operator(): Set the recording
session in mic source. recording session: 0x73bb3b0390
[013:488] [2022-03-12 06:30:37 +0000.541982][6a80] operator() leave. expire time =
176 ms

[013:488] [2022-03-12 06:30:37 +0000.542122][6aa4] AF_SpeedFilter audio


0x73bb3b3650 PullFrame
[013:488] [2022-03-12 06:30:37 +0000.542202][6aa4]
RecordAudioSource::PullAudioFrame
[013:488] [2022-03-12 06:30:37 +0000.542225][6aa4] AF_SpeedFilter::PullFrame eof4
[013:490] [2022-03-12 06:30:37 +0000.544388][6aa4]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[013:515] [2022-03-12 06:30:37 +0000.569202][6aa4] AF_SpeedFilter audio time,
0x73bb3b3650 rcv time: 374206847
[013:515] [2022-03-12 06:30:37 +0000.569374][6aa4] AF_SpeedFilter audio time,
0x73bb3b3650 rcv time: 374206847in_nSamples:441
[013:515] [2022-03-12 06:30:37 +0000.569542][6aa4] resampled_data_size:0
[013:542] [2022-03-12 06:30:37 +0000.596090][6a80]
MediaFilterCamera::NeedProcessTexture
[013:542] [2022-03-12 06:30:37 +0000.596300][6a80] begine recode to first frame
spend time:230
[013:542] [2022-03-12 06:30:37 +0000.596365][6a80] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1280, height: 720, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x73bb342310
[013:542] [2022-03-12 06:30:37 +0000.596428][6a80] blur_distance_:0
[013:542] [2022-03-12 06:30:37 +0000.596464][6a80] blur_direction_angle_:-90
[013:542] [2022-03-12 06:30:37 +0000.596543][6a80]
GPUImageProcessing::SetOrientation orientation: 90
[013:542] [2022-03-12 06:30:37 +0000.596585][6a80] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[013:543] [2022-03-12 06:30:37 +0000.596697][6a80] GPUImageProcessing: process
video frame with resolution 1280 X 720
[013:543] [2022-03-12 06:30:37 +0000.596749][6a80] GPUImageProcessing: input frame
width1280 X 720
[013:544] [2022-03-12 06:30:37 +0000.598393][6a80] drawYUV420 render
OpenGLRenderProgram:0x73db2fab88
[013:546] [2022-03-12 06:30:37 +0000.599808][6a80] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[013:546] [2022-03-12 06:30:37 +0000.600058][6a80] CropFilter::OnVideoFrame
outputtexture :36
[013:546] [2022-03-12 06:30:37 +0000.600125][6a80] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[013:553] [2022-03-12 06:30:37 +0000.607035][6a80] The read pixel from buffer take:
7 width:1280 height:720 frameType:0
[013:575] [2022-03-12 06:30:37 +0000.628922][6a80] drawYUV420 render
OpenGLRenderProgram:0x73db2fab88
[013:579] [2022-03-12 06:30:37 +0000.633293][6a80] The convert RGB to YUV take 3
[013:580] [2022-03-12 06:30:37 +0000.633889][6a80] FilterPipeline2::OnVideoFrame
pts 33 last_video_timestamp_ 33
[013:580] [2022-03-12 06:30:37 +0000.633978][6a80]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[013:583] [2022-03-12 06:30:37 +0000.636793][6aad]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[013:583] [2022-03-12 06:30:37 +0000.636937][6aad] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:0
[013:583] [2022-03-12 06:30:37 +0000.636966][6aad] push video frame to H264
encoder. (100 frame for one log)

[013:583] [2022-03-12 06:30:37 +0000.636985][6aad] push video frame to H264


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

[013:583] [2022-03-12 06:30:37 +0000.637000][6aad] H264Encode::push video frame to


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

[013:583] [2022-03-12 06:30:37 +0000.637017][6aad] Push an pts:0 to dts queue.


[013:583] [2022-03-12 06:30:37 +0000.637034][6aad] DTS queue for
Generator:0x73cb622c08 0
[013:583] [2022-03-12 06:30:37 +0000.637086][6aad] The input pts:0 fps:30
[013:584] [2022-03-12 06:30:37 +0000.638056][6aad]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[013:612] [2022-03-12 06:30:37 +0000.666351][6a80] drawYUV420 render
OpenGLRenderProgram:0x73db2fab88
[013:648] [2022-03-12 06:30:37 +0000.702335][6aa4] AF_SpeedFilter audio time 222,
0x73bb3b3650 out time: 374206847 org time: 374206847
[013:648] [2022-03-12 06:30:37 +0000.702432][6aa4] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[013:648] [2022-03-12 06:30:37 +0000.702461][6aa4]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 374206847
[013:648] [2022-03-12 06:30:37 +0000.702479][6aa4]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[013:648] [2022-03-12 06:30:37 +0000.702498][6aa4] AF_SpeedFilter audio time
[013:648] [2022-03-12 06:30:37 +0000.702569][6aa4] AF_SpeedFilter audio time 111,
0x73bb3b3650 out time: 374206857 org time: 374206857
[013:649] [2022-03-12 06:30:37 +0000.703475][6aab]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:5
[013:651] [2022-03-12 06:30:37 +0000.706524][6aae] add aac audio track with id:1
[013:653] [2022-03-12 06:30:37 +0000.706818][6aae] audio start ts:0
[013:653] [2022-03-12 06:30:37 +0000.707049][6aae] the audio frame has been written
into MP4 file
[013:677] [2022-03-12 06:30:37 +0000.731055][6aad] h264 add frame header cdr flag
[013:677] [2022-03-12 06:30:37 +0000.731487][6aad] h264 add frame header cdr flag
[013:678] [2022-03-12 06:30:37 +0000.731889][6aad] SendFrame
encodedImage._timeStamp:0encodedImage->_length:142653
[013:678] [2022-03-12 06:30:37 +0000.731961][6aad] Received key frame:0
[013:678] [2022-03-12 06:30:37 +0000.731982][6aad] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[013:678] [2022-03-12 06:30:37 +0000.732015][6aad] H264Encode::H264SWEncoder get
callback, length:142653 type:0 nalType:7length:17
[013:678] [2022-03-12 06:30:37 +0000.732049][6aad] H264Encode:: get a sps pps
header!headerSize:29
[013:678] [2022-03-12 06:30:37 +0000.732063][6aad] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[013:678] [2022-03-12 06:30:37 +0000.732404][6aae] get the H.264 SPS parameter
[013:679] [2022-03-12 06:30:37 +0000.732694][6aae] add video track with id:2
[013:679] [2022-03-12 06:30:37 +0000.733233][6aae] get the H.264 PPS parameter
[013:680] [2022-03-12 06:30:37 +0000.733912][6aae] get the H.264 IDR frame
[013:680] [2022-03-12 06:30:37 +0000.733982][6aae] resss:true
[013:680] [2022-03-12 06:30:37 +0000.734000][6aae] video start ts:0
[013:680] [2022-03-12 06:30:37 +0000.734057][6aae] the video frame has been written
into MP4 file
[013:842] [2022-03-12 06:30:37 +0000.896416][6a84] haveEnoughProcessedData
internalAudioStream.length: 10
[014:040] [2022-03-12 06:30:38 +0000.94035][6a80] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[014:073] [2022-03-12 06:30:38 +0000.126807][6a80] The convert RGB to YUV take 2
[014:201] [2022-03-12 06:30:38 +0000.254637][6a84] Run AGC when audioType = 0
[014:326] [2022-03-12 06:30:38 +0000.380413][6aa5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[014:419] [2022-03-12 06:30:38 +0000.473215][6aad] DTS queue for
Generator:0x73cb622c08 2430 2542
[014:435] [2022-03-12 06:30:38 +0000.489471][6aab]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:12
[014:465] [2022-03-12 06:30:38 +0000.519011][6aa4] resampled_data_size:11264
[014:542] [2022-03-12 06:30:38 +0000.595959][6a80] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[014:578] [2022-03-12 06:30:38 +0000.632204][6a80] The convert RGB to YUV take 2
[014:786] [2022-03-12 06:30:38 +0000.839772][6aa4] AF_SpeedFilter audio
0x73bb3b3650 PullFrame
[014:913] [2022-03-12 06:30:38 +0000.967567][6aad] Push an pts:4048 to dts queue.
[014:955] [2022-03-12 06:30:39 +0000.9553][6aad] last dts:3939 currentPts:4048
ppsOrSPS:0 queue length:2
[015:046] [2022-03-12 06:30:39 +0000.100393][6a80] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[015:078] [2022-03-12 06:30:39 +0000.131814][6a80] The convert RGB to YUV take 3
[015:200] [2022-03-12 06:30:39 +0000.254114][6aab]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:6
[015:253] [2022-03-12 06:30:39 +0000.306859][6aad] DTS queue for
Generator:0x73cb622c08 4963 5075
[015:320] [2022-03-12 06:30:39 +0000.374281][6aa5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[015:356] [2022-03-12 06:30:39 +0000.410337][6aa4] resampled_data_size:5632
[015:405] [2022-03-12 06:30:39 +0000.459315][6aa4]
RecordAudioSource::PullAudioFrame
[015:540] [2022-03-12 06:30:39 +0000.594558][6a80] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[015:553] [2022-03-12 06:30:39 +0000.607196][6a84] haveEnoughProcessedData
internalAudioStream.length: 10
[015:577] [2022-03-12 06:30:39 +0000.631556][6a80] The convert RGB to YUV take 2
[015:611] [2022-03-12 06:30:39 +0000.665584][6a80] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[015:621] [2022-03-12 06:30:39 +0000.674833][6aad] h264 add frame header cdr flag
[015:621] [2022-03-12 06:30:39 +0000.675613][6aad] Received key frame:6063
[015:653] [2022-03-12 06:30:39 +0000.706647][6aae] get the H.264 IDR frame
[015:866] [2022-03-12 06:30:39 +0000.920517][6aa4] AF_SpeedFilter::PullFrame eof4
[015:869] [2022-03-12 06:30:39 +0000.922796][6aa4]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[015:932] [2022-03-12 06:30:39 +0000.986016][6aab]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6965queue_audio_frame_:1
[016:036] [2022-03-12 06:30:40 +0000.90609][6aa4] AF_SpeedFilter audio 0x73bb3b3650
PullFrame
[016:044] [2022-03-12 06:30:40 +0000.98369][6a80] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[016:052] [2022-03-12 06:30:40 +0000.106617][6aad] DTS queue for
Generator:0x73cb622c08 7484
[016:076] [2022-03-12 06:30:40 +0000.130229][6a80] The convert RGB to YUV take 3
[016:108] [2022-03-12 06:30:40 +0000.162045][502f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[016:108] [2022-03-12 06:30:40 +0000.162426][6a80] operator(): Stop
[016:108] [2022-03-12 06:30:40 +0000.162494][6a80] StopPullFrameAndWriteMp4
time:374209449 enter.

[016:108] [2022-03-12 06:30:40 +0000.162545][6a80] StopRecording:


[016:120] [2022-03-12 06:30:40 +0000.173638][6aa4] resampled_data_size:512
[016:120] [2022-03-12 06:30:40 +0000.173805][6aa4] AF_SpeedFilter audio time 222,
0x73bb3b3650 out time: 374214347 org time: 374214347
[016:120] [2022-03-12 06:30:40 +0000.174234][6aa4] PullAudioFrame: PullFrame audio
finished.
[016:120] [2022-03-12 06:30:40 +0000.174328][6aa4]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[016:124] [2022-03-12 06:30:40 +0000.177735][6aad]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:76
[016:125] [2022-03-12 06:30:40 +0000.179192][6a7f] stop recording
[016:125] [2022-03-12 06:30:40 +0000.179317][6a7f]
RecordingSessionInternalSimple:destroy media processers
[016:125] [2022-03-12 06:30:40 +0000.179350][6a7f] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[016:125] [2022-03-12 06:30:40 +0000.179376][6a7f] H264Encode::flushing hareware
Encoder
[016:125] [2022-03-12 06:30:40 +0000.179614][6a7f] Flush time:374209466 enter.

[016:126] [2022-03-12 06:30:40 +0000.179679][6a7f] H264Encoder encoder flush


[016:126] [2022-03-12 06:30:40 +0000.179713][6a7f] flush output queue
[016:199] [2022-03-12 06:30:40 +0000.253229][6a84] Run AGC when audioType = 0
[016:199] [2022-03-12 06:30:40 +0000.253368][6a84]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:312] [2022-03-12 06:30:40 +0000.366583][6aa5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[016:440] [2022-03-12 06:30:40 +0000.494134][6a7f] Flush leave. expire time = 315
ms

[016:440] [2022-03-12 06:30:40 +0000.494442][6a7f] ~H264EncodeWrap:


[016:440] [2022-03-12 06:30:40 +0000.494497][6a7f] ~H264Encode:
[016:440] [2022-03-12 06:30:40 +0000.494514][6a7f] teardownCompressionSession:
H264Encode::destroying Encoder
[016:440] [2022-03-12 06:30:40 +0000.494544][6a7f] Release time:374209781 enter.

[016:441] [2022-03-12 06:30:40 +0000.494673][6a7f] Release:


MediaCodecVideoEncoder::Release _inited:1
[016:441] [2022-03-12 06:30:40 +0000.494712][6a7f] Destroy time:374209782 enter.

[016:441] [2022-03-12 06:30:40 +0000.494750][6a7f] H264Encoder encoderDestroy


[016:441] [2022-03-12 06:30:40 +0000.494783][6a7f]
AndroidMediaCodecVideoEncoder::release env: 0x73ab375410
[016:441] [2022-03-12 06:30:40 +0000.494817][6a7f]
AndroidMediaCodecVideoEncoder::Destroy
[016:453] [2022-03-12 06:30:40 +0000.506810][6a7f] Destroy leave. expire time = 12
ms

[016:453] [2022-03-12 06:30:40 +0000.506979][6a7f] Release leave. expire time = 13


ms

[016:453] [2022-03-12 06:30:40 +0000.507017][6a7f] ~AndroidHwAvcEncoder


time:374209794 enter.

[016:453] [2022-03-12 06:30:40 +0000.507159][6a7f] Release time:374209794 enter.

[016:453] [2022-03-12 06:30:40 +0000.507197][6a7f] Release:


MediaCodecVideoEncoder:: has been released before, just return
[016:453] [2022-03-12 06:30:40 +0000.507230][6a7f] Release leave. expire time = 0
ms

[016:453] [2022-03-12 06:30:40 +0000.507264][6a7f] ~AndroidMediaCodecVideoEncoder


[016:453] [2022-03-12 06:30:40 +0000.507291][6a7f] ~WrapAndroidMediaCodec
time:374209794 enter.

[016:453] [2022-03-12 06:30:40 +0000.507316][6a7f] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[016:453] [2022-03-12 06:30:40 +0000.507342][6a7f] video hevc hw codec


destructor:0x72fb319af0

[016:453] [2022-03-12 06:30:40 +0000.507402][6a7f] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[016:454] [2022-03-12 06:30:40 +0000.507730][6a7f] teardownCompressionSession:


H264Encode::destroyed Encoder
[016:454] [2022-03-12 06:30:40 +0000.507766][6a7f]
RecordingSessionInternalSimple:destroy aac encoder output!
[016:454] [2022-03-12 06:30:40 +0000.507780][6a7f] AACSWEncode destructor
[016:456] [2022-03-12 06:30:40 +0000.510358][6aae] MP4 close file successfully
[016:456] [2022-03-12 06:30:40 +0000.510442][6aae] Recording session Internal:
notify recording ok
[016:456] [2022-03-12 06:30:40 +0000.510461][6aae] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_374206716.mp4,
output_video_timestamp_:7569.7 last_video_pts_:7569
[016:456] [2022-03-12 06:30:40 +0000.510512][6aae] OnRecordFinish:
[016:457] [2022-03-12 06:30:40 +0000.511262][6aae] onRecordingOk: net seek
pos:0record video duration:7602record audio duration:7592
[016:458] [2022-03-12 06:30:40 +0000.511898][6aa5] destructMicSource_w:
[016:458] [2022-03-12 06:30:40 +0000.511958][6aa5] setOutput_w:
MicSource::setOutput() 0x0
[016:458] [2022-03-12 06:30:40 +0000.511987][6aa5] close external audio stream

[016:458] [2022-03-12 06:30:40 +0000.512328][6a80] releaseThread 0x73ab32f210


[016:458] [2022-03-12 06:30:40 +0000.512365][6a80] ~MicSource: Mic source
destroyed:0x73eb57a8c0
[016:466] [2022-03-12 06:30:40 +0000.520412][6a80] StopPullFrameAndWriteMp4 leave.
expire time = 358 ms

[016:466] [2022-03-12 06:30:40 +0000.520505][6a80] DestroyPipelineAndFilters


time:374209807 enter.

[016:466] [2022-03-12 06:30:40 +0000.520535][6a80] UnbindInputFilter 0x73bb342450


this 0x73db2fadb0
[016:466] [2022-03-12 06:30:40 +0000.520556][6a80] UnbindInputFilter 0x73bb3b04e8
this 0x73bb3b37a0
[016:466] [2022-03-12 06:30:40 +0000.520579][6a80] UnbindInputFilter 0x73db2fadb0
this 0x738b350e90
[016:466] [2022-03-12 06:30:40 +0000.520593][6a80] filter: filter pipeline destroy
this: 0x738b350df0
[016:468] [2022-03-12 06:30:40 +0000.522215][6a80] ClearVideoOfSources: recodring
total frames:0
[016:468] [2022-03-12 06:30:40 +0000.522500][6a80] ClearVideoOfSources:
[016:469] [2022-03-12 06:30:40 +0000.522786][6a80] GPUImageProcessing destruct.
[016:469] [2022-03-12 06:30:40 +0000.522944][6a80] destroy TrivalImageDrawer
0x739b34abd0
[016:469] [2022-03-12 06:30:40 +0000.523142][6a80] The shader has been initialize,
clean up them.

[016:469] [2022-03-12 06:30:40 +0000.523350][6a80] ~OpenGLFrameBuffer:


[016:470] [2022-03-12 06:30:40 +0000.523873][6a80] ~OpenGLFrameBuffer:
[016:470] [2022-03-12 06:30:40 +0000.524181][6a80] ~OpenGLFrameBuffer:
[016:470] [2022-03-12 06:30:40 +0000.524475][6a80] ~OpenGLFrameBuffer:
[016:471] [2022-03-12 06:30:40 +0000.525118][6a80] ~OpenGLFrameBuffer:
[016:471] [2022-03-12 06:30:40 +0000.525386][6a80] ~OpenGLFrameBuffer:
[016:472] [2022-03-12 06:30:40 +0000.526392][6a80] GPUImageProcessing destruct
finish.
[016:472] [2022-03-12 06:30:40 +0000.526610][6a80] GPURGBAFrame destruct.
[016:474] [2022-03-12 06:30:40 +0000.527830][6a80] destroy OpenGLRenderProgram
0x73db2fab88
[016:474] [2022-03-12 06:30:40 +0000.528189][6a80] ~CameraSource time:374209815
enter.

[016:474] [2022-03-12 06:30:40 +0000.528286][6a80] ~CameraSource leave. expire


time = 0 ms

[016:474] [2022-03-12 06:30:40 +0000.528348][6a80] ~RecordAudioSource


time:374209815 enter.

[016:474] [2022-03-12 06:30:40 +0000.528387][6a80] ~RecordAudioSource leave.


expire time = 0 ms

[016:474] [2022-03-12 06:30:40 +0000.528434][6a80] DestroyPipelineAndFilters


leave. expire time = 8 ms

[016:491] [2022-03-12 06:30:40 +0000.545185][502f]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[016:492] [2022-03-12 06:30:40 +0000.545637][502f] machine model :xiaomi
[016:492] [2022-03-12 06:30:40 +0000.545693][502f] Support this machine
model :xiaomi
[016:492] [2022-03-12 06:30:40 +0000.545709][502f] global inited! current sdk
version: 07-20-936c45f
[016:492] [2022-03-12 06:30:40 +0000.545943][502f] filter: filter pipeline
construtc this: 0x73bb39c6d0
[016:492] [2022-03-12 06:30:40 +0000.545984][502f] MediaFilterGraph:
MediaFilterGraph construct
[016:492] [2022-03-12 06:30:40 +0000.546041][502f] GLESContext:
[016:492] [2022-03-12 06:30:40 +0000.546104][502f] The result of eglGetDisplay is:
0xb4000073ab31df10
[016:493] [2022-03-12 06:30:40 +0000.547630][502f] The result of creation:
0x735b392ab0
[016:494] [2022-03-12 06:30:40 +0000.547939][502f] The result of
eglCreatePbufferSurface is: 0x735b36d9d0
[016:494] [2022-03-12 06:30:40 +0000.548347][502f] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_374206716.mp4
[016:494] [2022-03-12 06:30:40 +0000.548421][502f] The source 0 speed:0.33
[016:494] [2022-03-12 06:30:40 +0000.548456][502f] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_374206716.mp4,
delay: 0
[016:494] [2022-03-12 06:30:40 +0000.548490][502f] CreateDecoderByVideoSource
time:374209835 enter.

[016:495] [2022-03-12 06:30:40 +0000.549209][502f] running_decoder_count:0max


count:2
[016:495] [2022-03-12 06:30:40 +0000.549274][502f] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_374206716.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x73eb4b7f20
[016:531] [2022-03-12 06:30:40 +0000.585545][6ab9] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x73fb390d40] Current FFmpeg version git-2021-06-16-
97cea6f

[016:624] [2022-03-12 06:30:40 +0000.677837][6ab9] OnStreamInfoFound: video


duration_: 7602
[016:625] [2022-03-12 06:30:40 +0000.679609][502f] start decoder
[016:626] [2022-03-12 06:30:40 +0000.679672][502f] CreateDecoderByVideoSource
leave. expire time = 132 ms

[016:626] [2022-03-12 06:30:40 +0000.679711][502f] BindInputFilter 0x73cb641ea0


this 0x738b35e088
[016:626] [2022-03-12 06:30:40 +0000.679739][502f] BindInputFilter 0x738b35e088
this 0x738b3520e8
[016:626] [2022-03-12 06:30:40 +0000.679768][502f] BindInputFilter 0x73cb641ea0
this 0x738b341a68
[016:626] [2022-03-12 06:30:40 +0000.679792][502f] BindInputFilter 0x738b341a68
this 0x738b324568
[016:626] [2022-03-12 06:30:40 +0000.679812][502f] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_374206716.mp4
[016:626] [2022-03-12 06:30:40 +0000.679855][502f] BindInputFilter 0x738b3520e8
this 0x738b347728
[016:626] [2022-03-12 06:30:40 +0000.679909][6abc] NO get frame from decoder
[016:626] [2022-03-12 06:30:40 +0000.679916][502f] BindInputFilter 0x738b347728
this 0x73bb39c770
[016:626] [2022-03-12 06:30:40 +0000.679993][502f] BindInputFilter 0x738b324568
this 0x738b342da8
[016:626] [2022-03-12 06:30:40 +0000.680037][502f] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_374206716.mp4
[016:626] [2022-03-12 06:30:40 +0000.680390][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[016:627] [2022-03-12 06:30:40 +0000.680834][502f] machine model :xiaomi
[016:627] [2022-03-12 06:30:40 +0000.680875][502f] Support this machine
model :xiaomi
[016:627] [2022-03-12 06:30:40 +0000.680890][502f] global inited! current sdk
version: 07-20-936c45f
[016:627] [2022-03-12 06:30:40 +0000.680943][502f] GetPipeline:
-----------------------------------------
[016:627] [2022-03-12 06:30:40 +0000.680966][502f] GetPipeline: source:
0x73cb641c80
[016:627] [2022-03-12 06:30:40 +0000.680994][502f] GetPipeline: filter: NULLFilter
[016:627] [2022-03-12 06:30:40 +0000.681011][502f] GetPipeline: filter: NULLFilter
[016:627] [2022-03-12 06:30:40 +0000.681042][502f] GetPipeline: filter: NULLFilter
[016:627] [2022-03-12 06:30:40 +0000.681055][502f] GetPipeline: audio filter:
AuidoNULLFilter
[016:627] [2022-03-12 06:30:40 +0000.681075][502f] GetPipeline: audio filter:
AuidoNULLFilter
[016:627] [2022-03-12 06:30:40 +0000.681089][502f] GetPipeline: audio filter:
AudioNUllFilter
[016:627] [2022-03-12 06:30:40 +0000.681107][502f] GetPipeline:
------------------------------------------
[016:627] [2022-03-12 06:30:40 +0000.681146][502f] filter: filter pipeline2 update
pattern: 0
[016:628] [2022-03-12 06:30:40 +0000.682171][502f] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[016:628] [2022-03-12 06:30:40 +0000.682447][502f] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[016:628] [2022-03-12 06:30:40 +0000.682593][502f] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[016:629] [2022-03-12 06:30:40 +0000.682778][502f] DeviceInit:
[016:629] [2022-03-12 06:30:40 +0000.683012][502f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[016:629] [2022-03-12 06:30:40 +0000.683291][502f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[016:630] [2022-03-12 06:30:40 +0000.683863][502f] CreatePlatformSpecificObjects:
[016:630] [2022-03-12 06:30:40 +0000.683939][502f] audio device use null audio
input and opensl output
[016:630] [2022-03-12 06:30:40 +0000.683966][502f] Create OpenSLES output module
with java VM support.

[016:630] [2022-03-12 06:30:40 +0000.684127][502f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[016:630] [2022-03-12 06:30:40 +0000.684371][502f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[016:631] [2022-03-12 06:30:40 +0000.684662][502f] Create OpenSLES output module
with buffer num:2

[016:631] [2022-03-12 06:30:40 +0000.684713][502f] Error(trace.cc:40): Init the


output and input for audio device template.
[016:631] [2022-03-12 06:30:40 +0000.684741][502f] Init the output device.

[016:631] [2022-03-12 06:30:40 +0000.684756][502f] Set the playout as stereo:1


[016:631] [2022-03-12 06:30:40 +0000.684795][502f] Set the sample rate to be:44100

[016:631] [2022-03-12 06:30:40 +0000.684824][502f] Low latency buffer size:144 low


sample rate:48000
[016:631] [2022-03-12 06:30:40 +0000.684846][502f] DeviceInit: Done
[016:631] [2022-03-12 06:30:40 +0000.684999][502f] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[016:631] [2022-03-12 06:30:40 +0000.685609][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[016:632] [2022-03-12 06:30:40 +0000.685727][502f]
MediaFilterPlayer::SetPlayerNotify 0x730b41fda0
[016:632] [2022-03-12 06:30:40 +0000.685900][502f]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[016:632] [2022-03-12 06:30:40 +0000.685977][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[016:632] [2022-03-12 06:30:40 +0000.686404][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[016:633] [2022-03-12 06:30:40 +0000.686762][502f] SetGraphLoop: SetGraphLoop 1
[016:633] [2022-03-12 06:30:40 +0000.686819][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[016:633] [2022-03-12 06:30:40 +0000.686984][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[016:633] [2022-03-12 06:30:40 +0000.687591][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[016:634] [2022-03-12 06:30:40 +0000.688257][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[016:634] [2022-03-12 06:30:40 +0000.688467][6ac6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x73fb335498
[016:634] [2022-03-12 06:30:40 +0000.688594][6ac8] Start:
[016:635] [2022-03-12 06:30:40 +0000.688694][6ac7] operator(): video render
started.
[016:635] [2022-03-12 06:30:40 +0000.688731][6ac7] DriveRender working... (1/200)
[016:635] [2022-03-12 06:30:40 +0000.688757][6ac7] Warning(video_render.cc:390): No
picture to display (1/50)
[016:636] [2022-03-12 06:30:40 +0000.690011][6abc] NO get frame from decoder
[016:638] [2022-03-12 06:30:40 +0000.691875][6abc] NO get frame from decoder
[016:639] [2022-03-12 06:30:40 +0000.693480][6abc] NO get frame from decoder
[016:644] [2022-03-12 06:30:40 +0000.698253][6abc] NO get frame from decoder
[016:635] [2022-03-12 06:30:40 +0000.688873][6ac8] Start:
[016:646] [2022-03-12 06:30:40 +0000.700580][6abc] NO get frame from decoder
[016:648] [2022-03-12 06:30:40 +0000.701957][6abc] NO get frame from decoder
[016:651] [2022-03-12 06:30:40 +0000.705116][6abc] NO get frame from decoder
[016:646] [2022-03-12 06:30:40 +0000.700472][6ac8] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[016:652] [2022-03-12 06:30:40 +0000.705762][6ac8] Reset: history total size: 98
[016:652] [2022-03-12 06:30:40 +0000.705871][6ac8] DeviceStart:
audioDevice_:0x746b4b3fa0
[016:652] [2022-03-12 06:30:40 +0000.705898][6ac8] DeviceStart: time profile
playout init before
[016:652] [2022-03-12 06:30:40 +0000.705930][6ac8] DeviceStart: time profile
playout init end
[016:652] [2022-03-12 06:30:40 +0000.705952][6ac8] OpenSlesOutput:Start playout

[016:657] [2022-03-12 06:30:40 +0000.711025][6ac8] Create the opensl output player.


streamtype before:0

[016:657] [2022-03-12 06:30:40 +0000.711082][6ac8] Create the opensl output player.


streamtype after:3

[016:736] [2022-03-12 06:30:40 +0000.789985][6ac8] Enqueue opensl buffer size:1764


[016:753] [2022-03-12 06:30:40 +0000.807014][6acb]
PlayerSimpleBufferQueueCallbackHandler function
[016:753] [2022-03-12 06:30:40 +0000.807130][6acb] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[016:753] [2022-03-12 06:30:40 +0000.807211][6acb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[016:754] [2022-03-12 06:30:40 +0000.808328][6ac8] DeviceStart: time profile
playout all end
[016:754] [2022-03-12 06:30:40 +0000.808411][6ac8] operator(): Audio playback
started.
[016:754] [2022-03-12 06:30:40 +0000.808567][6aca] Error(video_source.cc:430): wait
decoder a frame: 0
[016:755] [2022-03-12 06:30:40 +0000.809417][6aca] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[016:757] [2022-03-12 06:30:40 +0000.811295][6aca] OnVideoFrameReady(1/200)
[016:759] [2022-03-12 06:30:40 +0000.813510][6ac9] audio_frame_list_ empty
[016:765] [2022-03-12 06:30:40 +0000.819451][6ac8] operator(): Started now!
[016:770] [2022-03-12 06:30:40 +0000.824171][6ac7] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[016:770] [2022-03-12 06:30:40 +0000.824263][6ac7] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:374210111
[016:783] [2022-03-12 06:30:40 +0000.836650][6ac9] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[016:783] [2022-03-12 06:30:40 +0000.836786][6ac9] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[016:783] [2022-03-12 06:30:40 +0000.836944][6ac9] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[016:783] [2022-03-12 06:30:40 +0000.836988][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:784] [2022-03-12 06:30:40 +0000.837896][6ac9] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[016:784] [2022-03-12 06:30:40 +0000.837944][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:785] [2022-03-12 06:30:40 +0000.838853][6ac9] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[016:785] [2022-03-12 06:30:40 +0000.838892][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:786] [2022-03-12 06:30:40 +0000.839806][6ac9] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[016:786] [2022-03-12 06:30:40 +0000.839850][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:787] [2022-03-12 06:30:40 +0000.840761][6ac9] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[016:787] [2022-03-12 06:30:40 +0000.840806][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:788] [2022-03-12 06:30:40 +0000.841714][6ac9] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[016:788] [2022-03-12 06:30:40 +0000.841752][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:807] [2022-03-12 06:30:40 +0000.861012][6ac8] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[016:807] [2022-03-12 06:30:40 +0000.861185][6ac8] The audio playback speed:100
(1/100)
[016:807] [2022-03-12 06:30:40 +0000.861218][6ac8] lipsync_debug: The current
played audio timestamp is:0(1/50)
[016:807] [2022-03-12 06:30:40 +0000.861236][6ac8] First audio frame rendering
[016:855] [2022-03-12 06:30:40 +0000.909385][6ac9] audio frame wait video
frame.last_video_timestamp:132 last_audio_timestamp:254.921
[016:855] [2022-03-12 06:30:40 +0000.909475][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:856] [2022-03-12 06:30:40 +0000.910376][6ac9] audio frame wait video
frame.last_video_timestamp:132 last_audio_timestamp:254.921
[016:856] [2022-03-12 06:30:40 +0000.910411][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:857] [2022-03-12 06:30:40 +0000.910835][6ac7] lipsync_debug: render a video
frame
[016:857] [2022-03-12 06:30:40 +0000.910893][6ac7] lipsync_debug: First video frame
rendering.
[016:860] [2022-03-12 06:30:40 +0000.913625][6ac9] audio frame wait video
frame.last_video_timestamp:165 last_audio_timestamp:277.914
[016:860] [2022-03-12 06:30:40 +0000.913713][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:861] [2022-03-12 06:30:40 +0000.914626][6ac9] audio frame wait video
frame.last_video_timestamp:165 last_audio_timestamp:277.914
[016:861] [2022-03-12 06:30:40 +0000.914672][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:863] [2022-03-12 06:30:40 +0000.916851][6ac9] audio frame wait video
frame.last_video_timestamp:165 last_audio_timestamp:277.914
[016:863] [2022-03-12 06:30:40 +0000.916942][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:864] [2022-03-12 06:30:40 +0000.917864][6ac9] audio frame wait video
frame.last_video_timestamp:165 last_audio_timestamp:277.914
[016:864] [2022-03-12 06:30:40 +0000.917908][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:865] [2022-03-12 06:30:40 +0000.918806][6ac9] audio frame wait video
frame.last_video_timestamp:165 last_audio_timestamp:277.914
[016:865] [2022-03-12 06:30:40 +0000.918839][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:866] [2022-03-12 06:30:40 +0000.919784][6ac9] audio frame wait video
frame.last_video_timestamp:165 last_audio_timestamp:277.914
[016:866] [2022-03-12 06:30:40 +0000.919833][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:867] [2022-03-12 06:30:40 +0000.920726][6ac9] audio frame wait video
frame.last_video_timestamp:165 last_audio_timestamp:277.914
[016:867] [2022-03-12 06:30:40 +0000.920760][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:868] [2022-03-12 06:30:40 +0000.921663][6ac9] audio frame wait video
frame.last_video_timestamp:165 last_audio_timestamp:277.914
[016:868] [2022-03-12 06:30:40 +0000.921699][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:868] [2022-03-12 06:30:40 +0000.922595][6ac9] audio frame wait video
frame.last_video_timestamp:165 last_audio_timestamp:277.914
[016:872] [2022-03-12 06:30:40 +0000.926134][6ac9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:888] [2022-03-12 06:30:40 +0000.942293][6ac7]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:23 timeDelta:118 last
video ts:900 frame->pts:2970 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[016:888] [2022-03-12 06:30:40 +0000.942395][6ac7] lipsync_debug: tsDelta -
timeDelta = -95
[016:888] [2022-03-12 06:30:40 +0000.942415][6ac7] lipsync_debug:result remaining
time:0
[016:888] [2022-03-12 06:30:40 +0000.942430][6ac7] dynamic updated lipsync delay:0
[016:922] [2022-03-12 06:30:40 +0000.976504][6ac7] lipsync_debug:remaining time:10
tsDelta - timeDelta:3
[016:922] [2022-03-12 06:30:40 +0000.976605][6ac7] lipsync_debug:result remaining
time:3
[016:989] [2022-03-12 06:30:41 +0000.43212][6aca] video frame wait audio frame:
last_video_timestamp:495 last_audio_timestamp:393.878
[016:989] [2022-03-12 06:30:41 +0000.43335][6aca]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[017:263] [2022-03-12 06:30:41 +0000.317447][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[017:420] [2022-03-12 06:30:41 +0000.474048][6ac7] lipsync_debug:displaying video
ts:59400 The current displayed video timestamp is:374210761
[017:653] [2022-03-12 06:30:41 +0000.706910][6acb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[017:765] [2022-03-12 06:30:41 +0000.819471][6ac8] do work DoLipsync!
[017:766] [2022-03-12 06:30:41 +0000.819630][6ac8] total delay:104 videoTsMS:990
audioTsMS:886 diff:104
[017:766] [2022-03-12 06:30:41 +0000.819688][6ac8] Set the lipsync delay:104
[017:804] [2022-03-12 06:30:41 +0000.858479][6aca] Error(video_source.cc:430): wait
decoder a frame: 0
[018:186] [2022-03-12 06:30:42 +0000.239637][6ac7] lipsync_debug:displaying video
ts:118800 The current displayed video timestamp is:374211526
[018:210] [2022-03-12 06:30:42 +0000.264140][6a84] Run AGC when audioType = 0
[018:431] [2022-03-12 06:30:42 +0000.485083][6ac7] DriveRender working... (1/200)
[018:537] [2022-03-12 06:30:42 +0000.591534][6ac7]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:22 last
video ts:148500 frame->pts:151470 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[018:538] [2022-03-12 06:30:42 +0000.591641][6ac7] lipsync_debug: tsDelta -
timeDelta = 11
[018:688] [2022-03-12 06:30:42 +0000.742387][6acb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[018:855] [2022-03-12 06:30:42 +0000.909008][6ac9] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 102324
[018:855] [2022-03-12 06:30:42 +0000.909137][6ac9] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[018:862] [2022-03-12 06:30:42 +0000.916558][6ac8] The audio playback speed:100
(1/100)
[018:863] [2022-03-12 06:30:42 +0000.916780][6ac8] lipsync_debug: The current
played audio timestamp is:102324(1/50)
[018:880] [2022-03-12 06:30:42 +0000.934136][6ac7] lipsync_debug:displaying video
ts:178200 The current displayed video timestamp is:374212221
[018:977] [2022-03-12 06:30:43 +0000.30916][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[019:080] [2022-03-12 06:30:43 +0000.134134][6ac7] lipsync_debug:remaining time:10
tsDelta - timeDelta:31
[019:080] [2022-03-12 06:30:43 +0000.134287][6ac7] lipsync_debug:result remaining
time:10
[019:170] [2022-03-12 06:30:43 +0000.223889][6aca] Error(video_source.cc:430): wait
decoder a frame: 0
[019:540] [2022-03-12 06:30:43 +0000.593962][6ac7] lipsync_debug:displaying video
ts:237600 The current displayed video timestamp is:374212881
[019:582] [2022-03-12 06:30:43 +0000.635746][6aca] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1992 diff: 9
[019:655] [2022-03-12 06:30:43 +0000.709430][6acb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[019:739] [2022-03-12 06:30:43 +0000.793421][6aca] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 297000pts ms:3.3e+06
[019:742] [2022-03-12 06:30:43 +0000.795963][6aca] OnVideoFrameReady(1/200)
[019:742] [2022-03-12 06:30:43 +0000.796187][6ac7] operator() frame->pts-
9223372036854775808 queue_ size: 14 (1/200)
[020:086] [2022-03-12 06:30:44 +0000.140381][6ac7] DriveRender working... (1/200)
[020:158] [2022-03-12 06:30:44 +0000.211669][6ac7] lipsync_debug:displaying video
ts:297000 The current displayed video timestamp is:374213499
[020:160] [2022-03-12 06:30:44 +0000.213842][6ac7] lipsync_debug: render a video
frame
[020:185] [2022-03-12 06:30:44 +0000.239482][6ac7] lipsync_debug:result remaining
time:0
[020:185] [2022-03-12 06:30:44 +0000.239570][6ac7] dynamic updated lipsync delay:0
[020:187] [2022-03-12 06:30:44 +0000.241336][6ac7]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:2 last video
ts:299970 frame->pts:302940 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[020:187] [2022-03-12 06:30:44 +0000.241443][6ac7] lipsync_debug: tsDelta -
timeDelta = 31
[020:199] [2022-03-12 06:30:44 +0000.253068][6a85] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:199] [2022-03-12 06:30:44 +0000.253251][6a85] _deviceSampleRate:48000

[020:200] [2022-03-12 06:30:44 +0000.253749][6a84] Run AGC when audioType = 0


[020:200] [2022-03-12 06:30:44 +0000.253899][6a84]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:535] [2022-03-12 06:30:44 +0000.589355][6aca] Error(video_source.cc:430): wait
decoder a frame: 0
[020:688] [2022-03-12 06:30:44 +0000.741659][6acb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[020:705] [2022-03-12 06:30:44 +0000.758658][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[020:844] [2022-03-12 06:30:44 +0000.897906][6ac7] lipsync_debug:displaying video
ts:356400 The current displayed video timestamp is:374214185
[021:189] [2022-03-12 06:30:45 +0000.242810][6ac9] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 204692
[021:189] [2022-03-12 06:30:45 +0000.242891][6ac9] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[021:248] [2022-03-12 06:30:45 +0000.302231][6ac7] lipsync_debug:remaining time:10
tsDelta - timeDelta:9
[021:248] [2022-03-12 06:30:45 +0000.302367][6ac7] lipsync_debug:result remaining
time:9
[021:274] [2022-03-12 06:30:45 +0000.330312][6ac8] The audio playback speed:100
(1/100)
[021:276] [2022-03-12 06:30:45 +0000.330460][6ac8] lipsync_debug: The current
played audio timestamp is:204692(1/50)
[021:341] [2022-03-12 06:30:45 +0000.394629][6ac9] FilterPipeline2::OnAudioFrame
pts 211878 last_audio_timestamp_ 4804.49
[021:521] [2022-03-12 06:30:45 +0000.575616][6ac7] lipsync_debug:displaying video
ts:415800 The current displayed video timestamp is:374214862
[021:667] [2022-03-12 06:30:45 +0000.721617][6acb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[021:700] [2022-03-12 06:30:45 +0000.753877][6ac7] DriveRender working... (1/200)
[021:798] [2022-03-12 06:30:45 +0000.852715][6ac7]
lipsync_debug:lipsync_threadhold: lipsync_delta:-2 tsDelta:31 timeDelta:12 last
video ts:442530 frame->pts:445500 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[021:799] [2022-03-12 06:30:45 +0000.852984][6ac7] lipsync_debug: tsDelta -
timeDelta = 19
[021:893] [2022-03-12 06:30:45 +0000.946669][6aca] Error(video_source.cc:430): wait
decoder a frame: 0
[021:897] [2022-03-12 06:30:45 +0000.951544][6abc] av_read_frame AVERROR_EOF
[022:147] [2022-03-12 06:30:46 +0000.200829][6ac7] lipsync_debug:displaying video
ts:475200 The current displayed video timestamp is:374215488
[022:148] [2022-03-12 06:30:46 +0000.202509][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[022:151] [2022-03-12 06:30:46 +0000.205541][6ac8] Stop:
[022:156] [2022-03-12 06:30:46 +0000.210043][6ac7] operator(): Video Render
stopped.
[022:157] [2022-03-12 06:30:46 +0000.211120][6ac8] Stop:
[022:157] [2022-03-12 06:30:46 +0000.211464][6ac8] DeviceStop:
audioDevice_:0x746b4b3fa0
[022:157] [2022-03-12 06:30:46 +0000.211553][6ac8] OpenSlesOutput:Stop playout

[022:160] [2022-03-12 06:30:46 +0000.213648][6ac8] DeviceStop: Done


[022:160] [2022-03-12 06:30:46 +0000.213884][6ac8] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[022:160] [2022-03-12 06:30:46 +0000.213942][6ac8] operator(): Stop now!
[022:160] [2022-03-12 06:30:46 +0000.214607][502f] Stop:
[022:161] [2022-03-12 06:30:46 +0000.214729][6ac8] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[022:161] [2022-03-12 06:30:46 +0000.215341][502f] DeviceRelease:
audioDevice_:0x746b4b3fa0
[022:161] [2022-03-12 06:30:46 +0000.215400][502f] OpenSlesOutput:Stop playout

[022:161] [2022-03-12 06:30:46 +0000.215436][502f] DeviceRelease: Release the


webrtc device object.
[022:162] [2022-03-12 06:30:46 +0000.216388][502f] OpenSlesOutput destruct.

[022:162] [2022-03-12 06:30:46 +0000.216502][502f] DeviceRelease: Done


[022:163] [2022-03-12 06:30:46 +0000.217197][502f] Stop:
[022:163] [2022-03-12 06:30:46 +0000.217406][6ac7] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[022:168] [2022-03-12 06:30:46 +0000.222243][502f] global uninited!
[022:168] [2022-03-12 06:30:46 +0000.222566][502f]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[022:169] [2022-03-12 06:30:46 +0000.222735][502f] ~MediaFilterGraph:
MediaFilterGraph destruct
[022:169] [2022-03-12 06:30:46 +0000.222808][502f] RemoveVideoBackGroud: hava not
add video backgroud
[022:169] [2022-03-12 06:30:46 +0000.222849][502f] UnbindInputFilter 0x738b347728
this 0x73bb39c770
[022:169] [2022-03-12 06:30:46 +0000.222880][502f] ClearAllSource: remove source
filter, sourceid: 0x73cb641c80
[022:169] [2022-03-12 06:30:46 +0000.222901][502f] DestoryDecoderByVideoSource
time:374215510 enter.

[022:169] [2022-03-12 06:30:46 +0000.222971][502f] ~VideoBindDecoder time:374215510


enter.

[022:169] [2022-03-12 06:30:46 +0000.223290][502f] CleanUp time:374215510 enter.

[022:177] [2022-03-12 06:30:46 +0000.231152][502f] CleanUp leave. expire time = 8


ms

[022:177] [2022-03-12 06:30:46 +0000.231272][502f] CleanUp time:374215518 enter.

[022:177] [2022-03-12 06:30:46 +0000.231625][502f] CleanUp leave. expire time = 1


ms

[022:178] [2022-03-12 06:30:46 +0000.232134][502f] ~VideoBindDecoder leave. expire


time = 9 ms

[022:178] [2022-03-12 06:30:46 +0000.232227][502f] DestoryDecoderByVideoSource


leave. expire time = 9 ms

[022:178] [2022-03-12 06:30:46 +0000.232275][502f] UnbindInputFilter 0x738b3520e8


this 0x738b347728
[022:178] [2022-03-12 06:30:46 +0000.232362][502f] UnbindInputFilter 0x738b35e088
this 0x738b3520e8
[022:178] [2022-03-12 06:30:46 +0000.232395][502f] UnbindInputFilter 0x73cb641ea0
this 0x738b35e088
[022:178] [2022-03-12 06:30:46 +0000.232425][502f] UnbindInputFilter 0x738b324568
this 0x738b342da8
[022:178] [2022-03-12 06:30:46 +0000.232452][502f] UnbindInputFilter 0x738b341a68
this 0x738b324568
[022:178] [2022-03-12 06:30:46 +0000.232481][502f] UnbindInputFilter 0x73cb641ea0
this 0x738b341a68
[022:191] [2022-03-12 06:30:46 +0000.245099][502f] ~GLESContext:
[022:192] [2022-03-12 06:30:46 +0000.246431][502f] GLESContext destruct finish.
[022:192] [2022-03-12 06:30:46 +0000.246567][502f] filter: filter pipeline destroy
this: 0x73bb39c6d0
[022:211] [2022-03-12 06:30:46 +0000.264935][6a84] Run AGC when audioType = 0
[022:410] [2022-03-12 06:30:46 +0000.463729][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[024:125] [2022-03-12 06:30:48 +0000.179175][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[024:193] [2022-03-12 06:30:48 +0000.246967][6a84] Run AGC when audioType = 0
[024:193] [2022-03-12 06:30:48 +0000.247404][6a84]
AudioDeviceDataHandler::MixAndSendOutFrame
[025:841] [2022-03-12 06:30:49 +0000.895505][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[026:201] [2022-03-12 06:30:50 +0000.255577][6a84] Run AGC when audioType = 0
[027:570] [2022-03-12 06:30:51 +0000.624283][6a84] haveEnoughProcessedData
internalAudioStream.length: 40
[028:191] [2022-03-12 06:30:52 +0000.245518][6a84] Run AGC when audioType = 0
[028:192] [2022-03-12 06:30:52 +0000.245814][6a84]
AudioDeviceDataHandler::MixAndSendOutFrame
[029:290] [2022-03-12 06:30:53 +0000.343795][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[029:563] [2022-03-12 06:30:53 +0000.617125][502f] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[029:563] [2022-03-12 06:30:53 +0000.617232][502f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[029:563] [2022-03-12 06:30:53 +0000.617610][502f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[029:564] [2022-03-12 06:30:53 +0000.618328][6a80] operator() time:374222905
enter.

[029:564] [2022-03-12 06:30:53 +0000.618420][6a80] MediaFilterCamera, recording


file context:0x735b317de0 input texture:34
[029:566] [2022-03-12 06:30:53 +0000.620126][6a80] MicSource: Mic source
created:10x73eb5c6490
[029:567] [2022-03-12 06:30:53 +0000.621092][6a80] alloc thread: 0x73ab32ef50
name:worker3 thread id:489202449584 to Mic_source
[029:567] [2022-03-12 06:30:53 +0000.621164][6a80] audio: start the audio sender
thread.

[029:567] [2022-03-12 06:30:53 +0000.621263][6a80] construct OpenGLRenderProgram


0x73db34bc68
[029:567] [2022-03-12 06:30:53 +0000.621295][6a80] CropFilter::SetOrientation
orientation: 90
[029:567] [2022-03-12 06:30:53 +0000.621471][6a80] filter: filter pipeline
construtc this: 0x738b366b10
[029:567] [2022-03-12 06:30:53 +0000.621511][6a80] filter: filter pipeline2 update
pattern: 1
[029:567] [2022-03-12 06:30:53 +0000.621538][6a80] CameraSource::source_id_:4
[029:567] [2022-03-12 06:30:53 +0000.621563][6a80] RecordAudioSource::source_id_:5
[029:568] [2022-03-12 06:30:53 +0000.621815][6a80] BindInputFilter 0x73bb3ca8d0
this 0x73db34be90
[029:568] [2022-03-12 06:30:53 +0000.621854][6a80] BindInputFilter 0x73bb3882a8
this 0x73bb3b20e0
[029:568] [2022-03-12 06:30:53 +0000.621885][6a80] BindInputFilter 0x73db34be90
this 0x738b366bb0
[029:568] [2022-03-12 06:30:53 +0000.622035][6a80] setParamentForFilters:
speed:0.500000
[029:568] [2022-03-12 06:30:53 +0000.622057][6a80] SetParamForFilter:
AF_SpeedFilter params:, speed_ 0.5
[029:568] [2022-03-12 06:30:53 +0000.622083][6a80] SetParamForFilter time:374222909
enter.

[029:568] [2022-03-12 06:30:53 +0000.622110][6a80] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[029:568] [2022-03-12 06:30:53 +0000.622136][6a80] SetParamForFilter: Params video
index is: 0
[029:568] [2022-03-12 06:30:53 +0000.622158][6a80] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[029:568] [2022-03-12 06:30:53 +0000.622180][6a80] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[029:568] [2022-03-12 06:30:53 +0000.622198][6a80] crop filter mode tpye:
citytravelvideo index:0
[029:576] [2022-03-12 06:30:53 +0000.630570][6a80]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:577] [2022-03-12 06:30:53 +0000.630660][6a80]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:577] [2022-03-12 06:30:53 +0000.630686][6a80]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:577] [2022-03-12 06:30:53 +0000.630749][6a80]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:577] [2022-03-12 06:30:53 +0000.630818][6a80]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:577] [2022-03-12 06:30:53 +0000.630838][6a80]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:577] [2022-03-12 06:30:53 +0000.630877][6a80]
Warning(parse_template_json.cc:45): json parament no found the parament
[029:577] [2022-03-12 06:30:53 +0000.630925][6a80]
Warning(parse_template_json.cc:81): json parament no found the parament
[029:577] [2022-03-12 06:30:53 +0000.630971][6a80]
Warning(parse_template_json.cc:81): json parament no found the parament
[029:577] [2022-03-12 06:30:53 +0000.631016][6a80]
Warning(parse_template_json.cc:67): json parament no found the parament
[029:577] [2022-03-12 06:30:53 +0000.631042][6a80]
Warning(parse_template_json.cc:93): json parament no found the duration
[029:577] [2022-03-12 06:30:53 +0000.631072][6a80] SetParamForFilter leave. expire
time = 9 ms

[029:577] [2022-03-12 06:30:53 +0000.631163][6a80] OnOutputSizeChanged width 1280


height 720
[029:577] [2022-03-12 06:30:53 +0000.631205][6a80] OpenGLFrameBuffer: width:1280
height:720
[029:577] [2022-03-12 06:30:53 +0000.631231][6a80] OpenGLFrameBuffer: width:1280
height:720
[029:577] [2022-03-12 06:30:53 +0000.631252][6a80] OpenGLFrameBuffer: width:1280
height:720
[029:577] [2022-03-12 06:30:53 +0000.631272][6a80] OpenGLFrameBuffer: width:1280
height:720
[029:577] [2022-03-12 06:30:53 +0000.631292][6a80] OpenGLFrameBuffer: width:1280
height:720
[029:577] [2022-03-12 06:30:53 +0000.631312][6a80] OpenGLFrameBuffer: width:1280
height:720
[029:577] [2022-03-12 06:30:53 +0000.631330][6a80] construct TrivalImageDrawer
0x739b34fbb0
[029:577] [2022-03-12 06:30:53 +0000.631350][6a80] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x739b34fbb0 context 0x732b4453d0
[029:577] [2022-03-12 06:30:53 +0000.631371][6a80] setupGLES:
[029:578] [2022-03-12 06:30:53 +0000.631767][6a80] OpenGLRenderProgram::Initialize.
[029:578] [2022-03-12 06:30:53 +0000.631848][6a80] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[029:578] [2022-03-12 06:30:53 +0000.631876][6a80] 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_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc
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
[029:578] [2022-03-12 06:30:53 +0000.631977][6a80] Init open gl render:
0x73db34bc68
[029:578] [2022-03-12 06:30:53 +0000.632020][6a80] Fragement shader path:
[029:578] [2022-03-12 06:30:53 +0000.632075][6a80] Fragement shader path:
[029:578] [2022-03-12 06:30:53 +0000.632097][6a80] create opengl program object.
[029:578] [2022-03-12 06:30:53 +0000.632116][6a80] create shader: vertex
[029:578] [2022-03-12 06:30:53 +0000.632369][6a80] create shader: fragment
[029:580] [2022-03-12 06:30:53 +0000.634357][6a80] Have not extra filter filename!
[029:580] [2022-03-12 06:30:53 +0000.634470][6a80] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[029:580] [2022-03-12 06:30:53 +0000.634500][6a80] OpenGLRenderProgram::Initialize
success.
[029:580] [2022-03-12 06:30:53 +0000.634559][6a80] Setup the OpenGL result:1
[029:581] [2022-03-12 06:30:53 +0000.635115][6a7f] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_374222921.mp4
[029:581] [2022-03-12 06:30:53 +0000.635382][6a7f] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_374222921.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[029:581] [2022-03-12 06:30:53 +0000.635453][6a7f] 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
[029:581] [2022-03-12 06:30:53 +0000.635541][6a7f] 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_374222921.mp4
fileFD: -1
[029:581] [2022-03-12 06:30:53 +0000.635408][6ae8] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x73cb64d868
[029:582] [2022-03-12 06:30:53 +0000.635904][6a7f] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_374222921.mp4
is opened successfully
[029:582] [2022-03-12 06:30:53 +0000.635948][6a7f] setupMediaProcessers:
[029:582] [2022-03-12 06:30:53 +0000.635968][6a7f]
RecordingSessionInternalSimple:setup media processers.
[029:582] [2022-03-12 06:30:53 +0000.635991][6a7f] construct AAC encoder
[029:582] [2022-03-12 06:30:53 +0000.636190][6a7f] H264Encoder creating:
superfast011818
[029:582] [2022-03-12 06:30:53 +0000.636239][6a7f] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[029:583] [2022-03-12 06:30:53 +0000.636783][6a7f] H264Encode::GetMachineModel is
M2101K9AG
[029:583] [2022-03-12 06:30:53 +0000.636835][6a7f] H264Encoder machine_mode
is:M2101K9AG
[029:583] [2022-03-12 06:30:53 +0000.636872][6a7f] H264Encode::machine size :9
machine_mode:M2101K9AG
[029:583] [2022-03-12 06:30:53 +0000.636901][6a7f] H264Encode::machine array
size :22 machine_mode:M2101K9AG
[029:583] [2022-03-12 06:30:53 +0000.636929][6a7f] H264Encode::current machine
is :M2101K9AG auto check hw codec decide to use hw codec
[029:583] [2022-03-12 06:30:53 +0000.636955][6a7f] setupCompressionSession:
[029:583] [2022-03-12 06:30:53 +0000.636982][6a7f] H264Encode::creating hareware
Encoder
[029:583] [2022-03-12 06:30:53 +0000.637051][6a7f] AndroidHwAvcEncoder
time:374222924 enter.

[029:583] [2022-03-12 06:30:53 +0000.637290][6a7f] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000073bb2de550 address:0x7193f25760
[029:583] [2022-03-12 06:30:53 +0000.637431][6a7f] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[029:583] [2022-03-12 06:30:53 +0000.637471][6a7f] The video avc hw codec address
is 0x72fb32f850
[029:583] [2022-03-12 06:30:53 +0000.637559][6a7f] AndroidHwAvcEncoder leave.
expire time = 0 ms

[029:583] [2022-03-12 06:30:53 +0000.637600][6a7f] RegisterEncodeCompleteCallback


time:374222924 enter.

[029:584] [2022-03-12 06:30:53 +0000.637756][6a7f] RegisterEncodeCompleteCallback


leave. expire time = 1 ms

[029:584] [2022-03-12 06:30:53 +0000.637803][6a7f] InitEncode time:374222925


enter.

[029:584] [2022-03-12 06:30:53 +0000.637892][6a7f] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[029:584] [2022-03-12 06:30:53 +0000.637935][6a7f] Create time:374222925 enter.

[029:584] [2022-03-12 06:30:53 +0000.637966][6a7f] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[029:584] [2022-03-12 06:30:53 +0000.637999][6a7f]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x737b356250
[029:584] [2022-03-12 06:30:53 +0000.638196][6a7f] supported_type:video/avc
[029:584] [2022-03-12 06:30:53 +0000.638243][6a7f] name:OMX.qcom.video.encoder.avc
mime:video/avc
[029:584] [2022-03-12 06:30:53 +0000.638308][6a7f] hwCodecPrefix :OMX.qcom.
[029:584] [2022-03-12 06:30:53 +0000.638347][6a7f] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[029:584] [2022-03-12 06:30:53 +0000.638385][6a7f] mediacodec_createCodecByName
time:374222925 enter.

[029:584] [2022-03-12 06:30:53 +0000.638420][6a7f] WrapAndroidMediaCodec


time:374222925 enter.

[029:584] [2022-03-12 06:30:53 +0000.638566][6a7f] WrapAndroidMediaCodec leave.


expire time = 0 ms

[029:606] [2022-03-12 06:30:53 +0000.660414][6a7f] mediacodec_createCodecByName


leave. expire time = 22 ms

[029:606] [2022-03-12 06:30:53 +0000.660556][6a7f] WrapAndroidMediaFromat


time:374222947 enter.

[029:607] [2022-03-12 06:30:53 +0000.660646][6a7f] WrapAndroidMediaFromat leave.


expire time = 1 ms

[029:655] [2022-03-12 06:30:53 +0000.708873][6a7f] Destroy time:374222996 enter.

[029:655] [2022-03-12 06:30:53 +0000.708985][6a7f] WrapAndroidMediaFromat::


Destroy
[029:655] [2022-03-12 06:30:53 +0000.709016][6a7f] Destroy leave. expire time = 0
ms

[029:655] [2022-03-12 06:30:53 +0000.709064][6a7f] ~WrapAndroidMediaFromat


time:374222996 enter.

[029:655] [2022-03-12 06:30:53 +0000.709103][6a7f] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[029:655] [2022-03-12 06:30:53 +0000.709141][6a7f] Create leave. expire time = 71


ms

[029:655] [2022-03-12 06:30:53 +0000.709173][6a7f] isSemiPlanarSupport


time:374222996 enter.

[029:655] [2022-03-12 06:30:53 +0000.709207][6a7f] H264Encoder isSemiPlanarSupport


[029:655] [2022-03-12 06:30:53 +0000.709245][6a7f] isSemiPlanarSupport leave.
expire time = 0 ms

[029:655] [2022-03-12 06:30:53 +0000.709280][6a7f] creat hw H264Encoder success,


isSemiPlanar:1
[029:655] [2022-03-12 06:30:53 +0000.709477][6a7f] InitEncode leave. expire time =
71 ms

[029:655] [2022-03-12 06:30:53 +0000.709526][6a7f] H264Encode::created Encoder


[029:655] [2022-03-12 06:30:53 +0000.709560][6a7f] H264Encode:: H264 encoder
created.
[029:655] [2022-03-12 06:30:53 +0000.709593][6a7f] H264 encoder created.
[029:656] [2022-03-12 06:30:53 +0000.709628][6a7f]
RecordingSessionInternalSimple:created avc encoder avc: 0x73ab384610
[029:656] [2022-03-12 06:30:53 +0000.709662][6a7f] setOutput:
[029:656] [2022-03-12 06:30:53 +0000.709698][6a7f]
RecordingSessionInternalSimple:encoder set output to muxer!
[029:656] [2022-03-12 06:30:53 +0000.709731][6a7f] request a key frame
[029:656] [2022-03-12 06:30:53 +0000.709765][6a7f] H264Encode:: request a key frame
[029:656] [2022-03-12 06:30:53 +0000.709910][6a7f] setDisplayRotate :90
[029:656] [2022-03-12 06:30:53 +0000.709994][6a7f] 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
[029:656] [2022-03-12 06:30:53 +0000.710077][6a80] StartRecording:
[029:656] [2022-03-12 06:30:53 +0000.710156][6ae4] operator(): Set the recording
session in mic source. recording session: 0x73bb388150
[029:656] [2022-03-12 06:30:53 +0000.710304][6a80] operator() leave. expire time =
92 ms

[029:706] [2022-03-12 06:30:53 +0000.759940][6a80] begine recode to first frame


spend time:142
[029:706] [2022-03-12 06:30:53 +0000.760213][6a80]
GPUImageProcessing::SetOrientation orientation: 90
[029:707] [2022-03-12 06:30:53 +0000.760740][6a80] drawYUV420 render
OpenGLRenderProgram:0x73db34bc68
[029:736] [2022-03-12 06:30:53 +0000.789954][6a80] drawYUV420 render
OpenGLRenderProgram:0x73db34bc68
[029:752] [2022-03-12 06:30:53 +0000.806087][6ae7]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[029:771] [2022-03-12 06:30:53 +0000.825272][6a80] drawYUV420 render
OpenGLRenderProgram:0x73db34bc68
[029:808] [2022-03-12 06:30:53 +0000.861848][6ae7] h264 add frame header cdr flag
[029:808] [2022-03-12 06:30:53 +0000.862257][6ae7] h264 add frame header cdr flag
[029:808] [2022-03-12 06:30:53 +0000.862520][6ae7] Received key frame:0
[029:808] [2022-03-12 06:30:53 +0000.862564][6ae7] H264Encode:: get a sps pps
header!headerSize:29
[029:809] [2022-03-12 06:30:53 +0000.862727][6ae8] get the H.264 SPS parameter
[029:809] [2022-03-12 06:30:53 +0000.862965][6ae8] add video track with id:1
[029:810] [2022-03-12 06:30:53 +0000.863965][6ae8] get the H.264 PPS parameter
[029:810] [2022-03-12 06:30:53 +0000.864270][6ae8] get the H.264 IDR frame
[029:810] [2022-03-12 06:30:53 +0000.864327][6ae8] resss:true
[029:810] [2022-03-12 06:30:53 +0000.864343][6ae8] video start ts:0
[029:810] [2022-03-12 06:30:53 +0000.864387][6ae8] the video frame has been written
into MP4 file
[029:824] [2022-03-12 06:30:53 +0000.878565][6ae8] add aac audio track with id:2
[029:825] [2022-03-12 06:30:53 +0000.878675][6ae8] audio start ts:0
[029:825] [2022-03-12 06:30:53 +0000.878704][6ae8] the audio frame has been written
into MP4 file
[029:870] [2022-03-12 06:30:53 +0000.923770][6ae7] Push an pts:264 to dts queue.
[029:882] [2022-03-12 06:30:53 +0000.936510][6adf] resampled_data_size:15360
[029:907] [2022-03-12 06:30:53 +0000.961208][6ae7] last dts:196 currentPts:264
ppsOrSPS:0 queue length:2
[030:132] [2022-03-12 06:30:54 +0000.186478][6a80] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[030:190] [2022-03-12 06:30:54 +0000.244203][6a85] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:190] [2022-03-12 06:30:54 +0000.244426][6a85] _deviceSampleRate:48000

[030:192] [2022-03-12 06:30:54 +0000.245830][6a84] Run AGC when audioType = 0


[030:200] [2022-03-12 06:30:54 +0000.254460][6a80] The convert RGB to YUV take 2
[030:445] [2022-03-12 06:30:54 +0000.499282][6ae4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[030:474] [2022-03-12 06:30:54 +0000.528551][6a80] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2984 diff: 17
[030:479] [2022-03-12 06:30:54 +0000.532731][6ae7] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1402 pts:1402
[030:510] [2022-03-12 06:30:54 +0000.564558][6a80] GPUImageProcessing: process
video frame with resolution 1280 X 720
[030:511] [2022-03-12 06:30:54 +0000.564626][6a80] GPUImageProcessing: input frame
width1280 X 720
[030:511] [2022-03-12 06:30:54 +0000.564957][6a80] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[030:511] [2022-03-12 06:30:54 +0000.565043][6a80] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[030:514] [2022-03-12 06:30:54 +0000.567678][6ae7] DTS queue for
Generator:0x73cb6283e8 1474 1550
[030:535] [2022-03-12 06:30:54 +0000.588854][6ae7]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:1592
[030:575] [2022-03-12 06:30:54 +0000.629402][6ae7] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:1668
[030:575] [2022-03-12 06:30:54 +0000.629527][6ae7] push video frame to H264
encoder. (100 frame for one log)

[030:575] [2022-03-12 06:30:54 +0000.629564][6ae7] push video frame to H264


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

[030:575] [2022-03-12 06:30:54 +0000.629593][6ae7] H264Encode::push video frame to


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

[030:576] [2022-03-12 06:30:54 +0000.629646][6ae7] The input pts:1668 fps:30


[030:578] [2022-03-12 06:30:54 +0000.632418][6ae7] SendFrame
encodedImage._timeStamp:1592encodedImage->_length:111808
[030:611] [2022-03-12 06:30:54 +0000.664734][6ae7] H264Encode::H264SWEncoder get
callback, length:166496 type:1 nalType:1length:166492
[030:641] [2022-03-12 06:30:54 +0000.695001][6a80] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[030:682] [2022-03-12 06:30:54 +0000.735828][6ae6]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 1671queue_audio_frame_:5
[030:709] [2022-03-12 06:30:54 +0000.762914][6a80] The convert RGB to YUV take 3
[030:836] [2022-03-12 06:30:54 +0000.890177][6adf]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 374225083
[030:836] [2022-03-12 06:30:54 +0000.890310][6adf]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[030:874] [2022-03-12 06:30:54 +0000.927890][6adf]
RecordAudioSource::PullAudioFrame
[030:985] [2022-03-12 06:30:55 +0000.38866][6adf] AF_SpeedFilter audio 0x73bb3b1f90
PullFrame
[031:003] [2022-03-12 06:30:55 +0000.57237][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[031:134] [2022-03-12 06:30:55 +0000.188557][6adf] resampled_data_size:11776
[031:139] [2022-03-12 06:30:55 +0000.192798][6a80] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[031:210] [2022-03-12 06:30:55 +0000.264430][6a80] The convert RGB to YUV take 2
[031:213] [2022-03-12 06:30:55 +0000.266676][6ae7] Push an pts:2944 to dts queue.
[031:245] [2022-03-12 06:30:55 +0000.299404][6ae7] last dts:2884 currentPts:2944
ppsOrSPS:0 queue length:2
[031:281] [2022-03-12 06:30:55 +0000.335494][6adf] AF_SpeedFilter audio time 111,
0x73bb3b1f90 out time: 374225973 org time: 374225973
[031:339] [2022-03-12 06:30:55 +0000.392922][6ae7] DTS queue for
Generator:0x73cb6283e8 3136 3196
[031:439] [2022-03-12 06:30:55 +0000.492936][6ae4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[031:505] [2022-03-12 06:30:55 +0000.559218][6adf] AF_SpeedFilter audio time
[031:638] [2022-03-12 06:30:55 +0000.692464][6a80] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[031:707] [2022-03-12 06:30:55 +0000.761380][6a80] The convert RGB to YUV take 2
[031:776] [2022-03-12 06:30:55 +0000.829750][6adf] AF_SpeedFilter::PullFrame eof4
[031:781] [2022-03-12 06:30:55 +0000.834882][6ae7] h264 add frame header cdr flag
[031:782] [2022-03-12 06:30:55 +0000.835998][6ae7] Received key frame:4004
[031:782] [2022-03-12 06:30:55 +0000.836565][6adf]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[031:816] [2022-03-12 06:30:55 +0000.870319][6ae8] get the H.264 IDR frame
[031:860] [2022-03-12 06:30:55 +0000.913739][6ae6]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 3993queue_audio_frame_:12
[032:138] [2022-03-12 06:30:56 +0000.192510][6a80] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[032:148] [2022-03-12 06:30:56 +0000.201786][6ae7] DTS queue for
Generator:0x73cb6283e8 4804
[032:196] [2022-03-12 06:30:56 +0000.250620][6a84] Run AGC when audioType = 0
[032:197] [2022-03-12 06:30:56 +0000.251023][6a84]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:209] [2022-03-12 06:30:56 +0000.262926][6a80] The convert RGB to YUV take 3
[032:391] [2022-03-12 06:30:56 +0000.445525][6adf] resampled_data_size:8192
[032:392] [2022-03-12 06:30:56 +0000.445909][6adf] AF_SpeedFilter audio
0x73bb3b1f90 PullFrame
[032:460] [2022-03-12 06:30:56 +0000.514539][6ae4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[032:540] [2022-03-12 06:30:56 +0000.594356][6ae7] Push an pts:5600 to dts queue.
[032:568] [2022-03-12 06:30:56 +0000.621781][6a80] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3980 diff: 21
[032:575] [2022-03-12 06:30:56 +0000.629269][6ae7] last dts:5530 currentPts:5600
ppsOrSPS:0 queue length:2
[032:637] [2022-03-12 06:30:56 +0000.691163][6a80] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[032:709] [2022-03-12 06:30:56 +0000.763041][6a80] The convert RGB to YUV take 3
[032:732] [2022-03-12 06:30:56 +0000.785917][6a84] haveEnoughProcessedData
internalAudioStream.length: 10
[032:780] [2022-03-12 06:30:56 +0000.833807][6adf]
RecordAudioSource::PullAudioFrame
[032:978] [2022-03-12 06:30:57 +0000.31836][6ae7] DTS queue for
Generator:0x73cb6283e8 6468
[032:994] [2022-03-12 06:30:57 +0000.47650][6ae6]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6315queue_audio_frame_:6
[033:004] [2022-03-12 06:30:57 +0000.57726][6a80] drawYUV420 render
OpenGLRenderProgram:0x73db34bc68
[033:135] [2022-03-12 06:30:57 +0000.189218][6a80] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[033:212] [2022-03-12 06:30:57 +0000.266209][6a80] The convert RGB to YUV take 8
[033:213] [2022-03-12 06:30:57 +0000.267362][502f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[033:214] [2022-03-12 06:30:57 +0000.267954][6a80] operator(): Stop
[033:214] [2022-03-12 06:30:57 +0000.268024][6a80] StopPullFrameAndWriteMp4
time:374226555 enter.

[033:214] [2022-03-12 06:30:57 +0000.268052][6a80] StopRecording:


[033:220] [2022-03-12 06:30:57 +0000.274092][6adf] PullAudioFrame: PullFrame audio
finished.
[033:220] [2022-03-12 06:30:57 +0000.274195][6adf]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[033:223] [2022-03-12 06:30:57 +0000.277097][6ae7]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:105
[033:225] [2022-03-12 06:30:57 +0000.279028][6a7f] stop recording
[033:225] [2022-03-12 06:30:57 +0000.279118][6a7f]
RecordingSessionInternalSimple:destroy media processers
[033:225] [2022-03-12 06:30:57 +0000.279146][6a7f] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[033:225] [2022-03-12 06:30:57 +0000.279168][6a7f] H264Encode::flushing hareware
Encoder
[033:225] [2022-03-12 06:30:57 +0000.279376][6a7f] Flush time:374226566 enter.

[033:225] [2022-03-12 06:30:57 +0000.279437][6a7f] H264Encoder encoder flush


[033:225] [2022-03-12 06:30:57 +0000.279478][6a7f] flush output queue
[033:445] [2022-03-12 06:30:57 +0000.498963][6ae4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[033:539] [2022-03-12 06:30:57 +0000.593409][6a7f] Flush leave. expire time = 314
ms

[033:539] [2022-03-12 06:30:57 +0000.593606][6a7f] ~H264EncodeWrap:


[033:540] [2022-03-12 06:30:57 +0000.593642][6a7f] ~H264Encode:
[033:540] [2022-03-12 06:30:57 +0000.593668][6a7f] teardownCompressionSession:
H264Encode::destroying Encoder
[033:540] [2022-03-12 06:30:57 +0000.593695][6a7f] Release time:374226881 enter.

[033:540] [2022-03-12 06:30:57 +0000.593840][6a7f] Release:


MediaCodecVideoEncoder::Release _inited:1
[033:540] [2022-03-12 06:30:57 +0000.593875][6a7f] Destroy time:374226881 enter.

[033:540] [2022-03-12 06:30:57 +0000.593904][6a7f] H264Encoder encoderDestroy


[033:540] [2022-03-12 06:30:57 +0000.593932][6a7f]
AndroidMediaCodecVideoEncoder::release env: 0x73ab3b7410
[033:540] [2022-03-12 06:30:57 +0000.593959][6a7f]
AndroidMediaCodecVideoEncoder::Destroy
[033:556] [2022-03-12 06:30:57 +0000.609964][6a7f] Destroy leave. expire time = 16
ms

[033:556] [2022-03-12 06:30:57 +0000.610132][6a7f] Release leave. expire time = 16


ms

[033:556] [2022-03-12 06:30:57 +0000.610168][6a7f] ~AndroidHwAvcEncoder


time:374226897 enter.

[033:556] [2022-03-12 06:30:57 +0000.610297][6a7f] Release time:374226897 enter.

[033:556] [2022-03-12 06:30:57 +0000.610361][6a7f] Release:


MediaCodecVideoEncoder:: has been released before, just return
[033:556] [2022-03-12 06:30:57 +0000.610386][6a7f] Release leave. expire time = 0
ms

[033:556] [2022-03-12 06:30:57 +0000.610418][6a7f] ~AndroidMediaCodecVideoEncoder


[033:556] [2022-03-12 06:30:57 +0000.610431][6a7f] ~WrapAndroidMediaCodec
time:374226897 enter.

[033:556] [2022-03-12 06:30:57 +0000.610456][6a7f] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[033:556] [2022-03-12 06:30:57 +0000.610495][6a7f] video hevc hw codec


destructor:0x72fb32f850

[033:556] [2022-03-12 06:30:57 +0000.610546][6a7f] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[033:557] [2022-03-12 06:30:57 +0000.610990][6a7f] teardownCompressionSession:


H264Encode::destroyed Encoder
[033:557] [2022-03-12 06:30:57 +0000.611023][6a7f]
RecordingSessionInternalSimple:destroy aac encoder output!
[033:557] [2022-03-12 06:30:57 +0000.611039][6a7f] AACSWEncode destructor
[033:561] [2022-03-12 06:30:57 +0000.615390][6ae8] MP4 close file successfully
[033:561] [2022-03-12 06:30:57 +0000.615474][6ae8] Recording session Internal:
notify recording ok
[033:561] [2022-03-12 06:30:57 +0000.615492][6ae8] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_374222921.mp4,
output_video_timestamp_:6938 last_video_pts_:6938
[033:561] [2022-03-12 06:30:57 +0000.615516][6ae8] OnRecordFinish:
[033:562] [2022-03-12 06:30:57 +0000.616014][6ae8] onRecordingOk: net seek
pos:0record video duration:6971record audio duration:6942
[033:562] [2022-03-12 06:30:57 +0000.616512][6ae4] destructMicSource_w:
[033:562] [2022-03-12 06:30:57 +0000.616562][6ae4] setOutput_w:
MicSource::setOutput() 0x0
[033:563] [2022-03-12 06:30:57 +0000.616951][6a80] releaseThread 0x73ab32ef50
[033:563] [2022-03-12 06:30:57 +0000.616987][6a80] ~MicSource: Mic source
destroyed:0x73eb5c6490
[033:564] [2022-03-12 06:30:57 +0000.617711][6a80] StopPullFrameAndWriteMp4 leave.
expire time = 350 ms

[033:564] [2022-03-12 06:30:57 +0000.617822][6a80] DestroyPipelineAndFilters


time:374226905 enter.

[033:564] [2022-03-12 06:30:57 +0000.617873][6a80] UnbindInputFilter 0x73bb3ca8d0


this 0x73db34be90
[033:564] [2022-03-12 06:30:57 +0000.617913][6a80] UnbindInputFilter 0x73bb3882a8
this 0x73bb3b20e0
[033:564] [2022-03-12 06:30:57 +0000.617952][6a80] UnbindInputFilter 0x73db34be90
this 0x738b366bb0
[033:564] [2022-03-12 06:30:57 +0000.617986][6a80] filter: filter pipeline destroy
this: 0x738b366b10
[033:564] [2022-03-12 06:30:57 +0000.618228][6a80] ClearVideoOfSources: recodring
total frames:0
[033:564] [2022-03-12 06:30:57 +0000.618280][6a80] ClearVideoOfSources:
[033:564] [2022-03-12 06:30:57 +0000.618296][6a80] GPUImageProcessing destruct.
[033:564] [2022-03-12 06:30:57 +0000.618347][6a80] destroy TrivalImageDrawer
0x739b34fbb0
[033:564] [2022-03-12 06:30:57 +0000.618372][6a80] The shader has been initialize,
clean up them.

[033:564] [2022-03-12 06:30:57 +0000.618430][6a80] ~OpenGLFrameBuffer:


[033:565] [2022-03-12 06:30:57 +0000.618654][6a80] ~OpenGLFrameBuffer:
[033:565] [2022-03-12 06:30:57 +0000.618781][6a80] ~OpenGLFrameBuffer:
[033:565] [2022-03-12 06:30:57 +0000.618862][6a80] ~OpenGLFrameBuffer:
[033:565] [2022-03-12 06:30:57 +0000.618944][6a80] ~OpenGLFrameBuffer:
[033:565] [2022-03-12 06:30:57 +0000.619163][6a80] ~OpenGLFrameBuffer:
[033:568] [2022-03-12 06:30:57 +0000.621912][6a80] GPUImageProcessing destruct
finish.
[033:568] [2022-03-12 06:30:57 +0000.621998][6a80] GPURGBAFrame destruct.
[033:568] [2022-03-12 06:30:57 +0000.622499][6a80] destroy OpenGLRenderProgram
0x73db34bc68
[033:568] [2022-03-12 06:30:57 +0000.622548][6a80] ~CameraSource time:374226909
enter.
[033:569] [2022-03-12 06:30:57 +0000.622663][6a80] ~CameraSource leave. expire
time = 1 ms

[033:569] [2022-03-12 06:30:57 +0000.622786][6a80] ~RecordAudioSource


time:374226910 enter.

[033:569] [2022-03-12 06:30:57 +0000.622802][6a80] ~RecordAudioSource leave.


expire time = 0 ms

[033:569] [2022-03-12 06:30:57 +0000.622911][6a80] DestroyPipelineAndFilters


leave. expire time = 5 ms

[033:583] [2022-03-12 06:30:57 +0000.637097][502f]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[033:583] [2022-03-12 06:30:57 +0000.637521][502f] machine model :xiaomi
[033:583] [2022-03-12 06:30:57 +0000.637567][502f] Support this machine
model :xiaomi
[033:583] [2022-03-12 06:30:57 +0000.637596][502f] global inited! current sdk
version: 07-20-936c45f
[033:584] [2022-03-12 06:30:57 +0000.637739][502f] filter: filter pipeline
construtc this: 0x73bb3bf890
[033:584] [2022-03-12 06:30:57 +0000.637767][502f] MediaFilterGraph:
MediaFilterGraph construct
[033:584] [2022-03-12 06:30:57 +0000.637793][502f] GLESContext:
[033:584] [2022-03-12 06:30:57 +0000.637835][502f] The result of eglGetDisplay is:
0xb4000073ab31df10
[033:585] [2022-03-12 06:30:57 +0000.638699][502f] The result of creation:
0x735b340160
[033:585] [2022-03-12 06:30:57 +0000.638844][502f] The result of
eglCreatePbufferSurface is: 0x735b381ef0
[033:585] [2022-03-12 06:30:57 +0000.638983][502f] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_374222921.mp4
[033:585] [2022-03-12 06:30:57 +0000.639025][502f] The source 0 speed:0.5
[033:585] [2022-03-12 06:30:57 +0000.639057][502f] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_374222921.mp4,
delay: 0
[033:585] [2022-03-12 06:30:57 +0000.639086][502f] CreateDecoderByVideoSource
time:374226926 enter.

[033:586] [2022-03-12 06:30:57 +0000.639807][502f] running_decoder_count:0max


count:2
[033:586] [2022-03-12 06:30:57 +0000.639866][502f] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_374222921.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x73eb66b820
[033:586] [2022-03-12 06:30:57 +0000.640560][6af2] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x73fb42b540] Current FFmpeg version git-2021-06-16-
97cea6f

[033:614] [2022-03-12 06:30:57 +0000.668417][6af2] OnStreamInfoFound: video


duration_: 6971
[033:616] [2022-03-12 06:30:57 +0000.670502][502f] start decoder
[033:616] [2022-03-12 06:30:57 +0000.670572][502f] CreateDecoderByVideoSource
leave. expire time = 31 ms

[033:617] [2022-03-12 06:30:57 +0000.670634][502f] BindInputFilter 0x73cb5c5e80


this 0x738b348288
[033:617] [2022-03-12 06:30:57 +0000.670659][502f] BindInputFilter 0x738b348288
this 0x738b364988
[033:617] [2022-03-12 06:30:57 +0000.670690][502f] BindInputFilter 0x73cb5c5e80
this 0x738b351668
[033:617] [2022-03-12 06:30:57 +0000.670714][502f] BindInputFilter 0x738b351668
this 0x738b33a448
[033:617] [2022-03-12 06:30:57 +0000.670733][502f] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_374222921.mp4
[033:617] [2022-03-12 06:30:57 +0000.670764][502f] BindInputFilter 0x738b364988
this 0x738b367548
[033:617] [2022-03-12 06:30:57 +0000.670789][502f] BindInputFilter 0x738b367548
this 0x73bb3bf930
[033:617] [2022-03-12 06:30:57 +0000.670815][502f] BindInputFilter 0x738b33a448
this 0x738b3520e8
[033:617] [2022-03-12 06:30:57 +0000.670840][502f] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_374222921.mp4
[033:617] [2022-03-12 06:30:57 +0000.670899][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[033:617] [2022-03-12 06:30:57 +0000.671288][502f] machine model :xiaomi
[033:617] [2022-03-12 06:30:57 +0000.671317][502f] Support this machine
model :xiaomi
[033:617] [2022-03-12 06:30:57 +0000.671343][502f] global inited! current sdk
version: 07-20-936c45f
[033:617] [2022-03-12 06:30:57 +0000.671394][502f] GetPipeline:
-----------------------------------------
[033:617] [2022-03-12 06:30:57 +0000.671414][502f] GetPipeline: source:
0x73cb5c5c60
[033:617] [2022-03-12 06:30:57 +0000.671428][502f] GetPipeline: filter: NULLFilter
[033:617] [2022-03-12 06:30:57 +0000.671447][502f] GetPipeline: filter: NULLFilter
[033:617] [2022-03-12 06:30:57 +0000.671459][502f] GetPipeline: filter: NULLFilter
[033:617] [2022-03-12 06:30:57 +0000.671505][502f] GetPipeline: audio filter:
AuidoNULLFilter
[033:617] [2022-03-12 06:30:57 +0000.671526][502f] GetPipeline: audio filter:
AuidoNULLFilter
[033:617] [2022-03-12 06:30:57 +0000.671539][502f] GetPipeline: audio filter:
AudioNUllFilter
[033:617] [2022-03-12 06:30:57 +0000.671558][502f] GetPipeline:
------------------------------------------
[033:617] [2022-03-12 06:30:57 +0000.671572][502f] filter: filter pipeline2 update
pattern: 0
[033:618] [2022-03-12 06:30:57 +0000.672481][502f] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[033:619] [2022-03-12 06:30:57 +0000.672824][502f] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[033:619] [2022-03-12 06:30:57 +0000.672924][502f] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[033:619] [2022-03-12 06:30:57 +0000.673053][502f] DeviceInit:
[033:619] [2022-03-12 06:30:57 +0000.673273][502f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[033:619] [2022-03-12 06:30:57 +0000.673600][502f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[033:620] [2022-03-12 06:30:57 +0000.673827][6af3] NO get frame from decoder
[033:621] [2022-03-12 06:30:57 +0000.674872][502f] CreatePlatformSpecificObjects:
[033:621] [2022-03-12 06:30:57 +0000.674955][502f] audio device use null audio
input and opensl output
[033:621] [2022-03-12 06:30:57 +0000.674983][502f] Create OpenSLES output module
with java VM support.
[033:621] [2022-03-12 06:30:57 +0000.675140][502f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[033:621] [2022-03-12 06:30:57 +0000.675479][502f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[033:622] [2022-03-12 06:30:57 +0000.675735][502f] Create OpenSLES output module
with buffer num:2

[033:622] [2022-03-12 06:30:57 +0000.675782][502f] Error(trace.cc:40): Init the


output and input for audio device template.
[033:622] [2022-03-12 06:30:57 +0000.675809][502f] Init the output device.

[033:622] [2022-03-12 06:30:57 +0000.675836][502f] Set the playout as stereo:1


[033:622] [2022-03-12 06:30:57 +0000.675852][502f] Set the sample rate to be:44100

[033:622] [2022-03-12 06:30:57 +0000.675885][502f] Low latency buffer size:144 low


sample rate:48000
[033:622] [2022-03-12 06:30:57 +0000.675913][502f] DeviceInit: Done
[033:622] [2022-03-12 06:30:57 +0000.676036][502f] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[033:622] [2022-03-12 06:30:57 +0000.676289][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[033:622] [2022-03-12 06:30:57 +0000.676374][502f]
MediaFilterPlayer::SetPlayerNotify 0x730b476020
[033:622] [2022-03-12 06:30:57 +0000.676423][502f]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[033:622] [2022-03-12 06:30:57 +0000.676449][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[033:622] [2022-03-12 06:30:57 +0000.676500][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[033:622] [2022-03-12 06:30:57 +0000.676577][502f] SetGraphLoop: SetGraphLoop 1
[033:622] [2022-03-12 06:30:57 +0000.676604][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[033:623] [2022-03-12 06:30:57 +0000.676624][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[033:623] [2022-03-12 06:30:57 +0000.676999][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[033:623] [2022-03-12 06:30:57 +0000.677219][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[033:623] [2022-03-12 06:30:57 +0000.677555][6afe] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x73fb49e308
[033:624] [2022-03-12 06:30:57 +0000.677670][6b00] Start:
[033:624] [2022-03-12 06:30:57 +0000.677767][6aff] operator(): video render
started.
[033:624] [2022-03-12 06:30:57 +0000.677868][6af3] NO get frame from decoder
[033:624] [2022-03-12 06:30:57 +0000.677920][6b00] Start:
[033:624] [2022-03-12 06:30:57 +0000.678152][6b00] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[033:624] [2022-03-12 06:30:57 +0000.678202][6b00] Reset: history total size: 98
[033:624] [2022-03-12 06:30:57 +0000.678230][6b00] DeviceStart:
audioDevice_:0x746b502bf0
[033:624] [2022-03-12 06:30:57 +0000.678251][6b00] DeviceStart: time profile
playout init before
[033:624] [2022-03-12 06:30:57 +0000.678278][6b00] DeviceStart: time profile
playout init end
[033:624] [2022-03-12 06:30:57 +0000.678299][6b00] OpenSlesOutput:Start playout
[033:625] [2022-03-12 06:30:57 +0000.679467][6af3] NO get frame from decoder
[033:626] [2022-03-12 06:30:57 +0000.680145][6b00] Create the opensl output player.
streamtype before:0

[033:626] [2022-03-12 06:30:57 +0000.680202][6b00] Create the opensl output player.


streamtype after:3

[033:629] [2022-03-12 06:30:57 +0000.683196][6af3] NO get frame from decoder


[033:634] [2022-03-12 06:30:57 +0000.687658][6af3] NO get frame from decoder
[033:636] [2022-03-12 06:30:57 +0000.690318][6af3] NO get frame from decoder
[033:637] [2022-03-12 06:30:57 +0000.690776][6af3] NO get frame from decoder
[033:638] [2022-03-12 06:30:57 +0000.692446][6af3] NO get frame from decoder
[033:725] [2022-03-12 06:30:57 +0000.779035][6b00] Enqueue opensl buffer size:1764
[033:743] [2022-03-12 06:30:57 +0000.797207][6b00] DeviceStart: time profile
playout all end
[033:743] [2022-03-12 06:30:57 +0000.797261][6b00] operator(): Audio playback
started.
[033:743] [2022-03-12 06:30:57 +0000.797314][6b00] operator(): Started now!
[033:743] [2022-03-12 06:30:57 +0000.797380][6b01] Pull audio failed.(wait video!)
[033:744] [2022-03-12 06:30:57 +0000.798281][6b01] Pull audio failed.(wait video!)
[033:744] [2022-03-12 06:30:57 +0000.798316][6b01]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[033:745] [2022-03-12 06:30:57 +0000.799205][6b01] Pull audio failed.(wait video!)
[033:745] [2022-03-12 06:30:57 +0000.799233][6b01]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[033:783] [2022-03-12 06:30:57 +0000.837000][6aff] lipsync_debug: First video frame
rendering.
[033:813] [2022-03-12 06:30:57 +0000.866895][6b01]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[033:813] [2022-03-12 06:30:57 +0000.867189][6b01] audio frame wait video
frame.last_video_timestamp:99 last_audio_timestamp:207.937
[033:814] [2022-03-12 06:30:57 +0000.867991][6b01]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[033:814] [2022-03-12 06:30:57 +0000.868193][6b01] audio frame wait video
frame.last_video_timestamp:99 last_audio_timestamp:207.937
[033:815] [2022-03-12 06:30:57 +0000.868945][6b01]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[033:815] [2022-03-12 06:30:57 +0000.869150][6b01] audio frame wait video
frame.last_video_timestamp:99 last_audio_timestamp:207.937
[033:816] [2022-03-12 06:30:57 +0000.869904][6b01]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[033:816] [2022-03-12 06:30:57 +0000.870102][6b01] audio frame wait video
frame.last_video_timestamp:99 last_audio_timestamp:207.937
[033:817] [2022-03-12 06:30:57 +0000.870830][6b01]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[033:817] [2022-03-12 06:30:57 +0000.871025][6b01] audio frame wait video
frame.last_video_timestamp:99 last_audio_timestamp:207.937
[033:818] [2022-03-12 06:30:57 +0000.871762][6b01]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[033:818] [2022-03-12 06:30:57 +0000.871951][6b01] audio frame wait video
frame.last_video_timestamp:99 last_audio_timestamp:207.937
[033:824] [2022-03-12 06:30:57 +0000.877872][6b00] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[033:830] [2022-03-12 06:30:57 +0000.884001][6b00] First audio frame rendering
[034:167] [2022-03-12 06:30:58 +0000.221040][6b04]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[034:193] [2022-03-12 06:30:58 +0000.247434][6a84] Run AGC when audioType = 0
[034:387] [2022-03-12 06:30:58 +0000.440680][6aff] lipsync_debug:displaying video
ts:56430 The current displayed video timestamp is:374227728
[034:408] [2022-03-12 06:30:58 +0000.461864][6b02] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 80190pts ms:891000
[034:410] [2022-03-12 06:30:58 +0000.463902][6b02] OnVideoFrameReady(1/200)
[034:410] [2022-03-12 06:30:58 +0000.464183][6aff] operator() frame->pts-
9223372036854775808 queue_ size: 8 (1/200)
[034:448] [2022-03-12 06:30:58 +0000.502595][6a84] haveEnoughProcessedData
internalAudioStream.length: 10
[034:571] [2022-03-12 06:30:58 +0000.625450][6b02] Error(video_source.cc:430): wait
decoder a frame: 0
[034:851] [2022-03-12 06:30:58 +0000.904699][6aff] DriveRender working... (1/200)
[034:969] [2022-03-12 06:30:59 +0000.23050][6b01] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 59340
[034:969] [2022-03-12 06:30:59 +0000.23204][6b01] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[035:034] [2022-03-12 06:30:59 +0000.88063][6aff] lipsync_debug:remaining time:10
tsDelta - timeDelta:26
[035:034] [2022-03-12 06:30:59 +0000.88171][6aff] lipsync_debug:result remaining
time:10
[035:074] [2022-03-12 06:30:59 +0000.128176][6aff]
lipsync_debug:lipsync_threadhold: lipsync_delta:16 tsDelta:49 timeDelta:14 last
video ts:106920 frame->pts:109890 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[035:074] [2022-03-12 06:30:59 +0000.128307][6aff] lipsync_debug: tsDelta -
timeDelta = 35
[035:116] [2022-03-12 06:30:59 +0000.170241][6b00] The audio playback speed:100
(1/100)
[035:116] [2022-03-12 06:30:59 +0000.170423][6b00] lipsync_debug: The current
played audio timestamp is:62426(1/50)
[035:130] [2022-03-12 06:30:59 +0000.184272][6b04]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[035:207] [2022-03-12 06:30:59 +0000.261593][6aff] lipsync_debug:displaying video
ts:115830 The current displayed video timestamp is:374228548
[035:211] [2022-03-12 06:30:59 +0000.265386][6aff] lipsync_debug: render a video
frame
[035:274] [2022-03-12 06:30:59 +0000.328084][6aff] lipsync_debug:result remaining
time:0
[035:274] [2022-03-12 06:30:59 +0000.328257][6aff] dynamic updated lipsync delay:0
[035:787] [2022-03-12 06:30:59 +0000.840669][6b02] video frame wait audio frame:
last_video_timestamp:2310 last_audio_timestamp:2181.32
[035:787] [2022-03-12 06:30:59 +0000.840845][6b02]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[035:887] [2022-03-12 06:30:59 +0000.941051][6aff] lipsync_debug:displaying video
ts:175230 The current displayed video timestamp is:374229228
[035:931] [2022-03-12 06:30:59 +0000.985233][6b02] Error(video_source.cc:430): wait
decoder a frame: 0
[036:156] [2022-03-12 06:31:00 +0000.210004][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[036:167] [2022-03-12 06:31:00 +0000.221425][6b04]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[036:203] [2022-03-12 06:31:00 +0000.257643][6a84] Run AGC when audioType = 0
[036:205] [2022-03-12 06:31:00 +0000.258711][6a84]
AudioDeviceDataHandler::MixAndSendOutFrame
[036:336] [2022-03-12 06:31:00 +0000.389709][6b02] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4992 diff: 9
[036:482] [2022-03-12 06:31:00 +0000.536448][6aff] DriveRender working... (1/200)
[036:547] [2022-03-12 06:31:00 +0000.601090][6aff] lipsync_debug:displaying video
ts:234630 The current displayed video timestamp is:374229888
[036:692] [2022-03-12 06:31:00 +0000.745787][6aff]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:13 last
video ts:246510 frame->pts:249480 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[036:692] [2022-03-12 06:31:00 +0000.745944][6aff] lipsync_debug: tsDelta -
timeDelta = 20
[037:135] [2022-03-12 06:31:01 +0000.188877][6b04]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[037:143] [2022-03-12 06:31:01 +0000.196947][6aff] lipsync_debug:displaying video
ts:294030 The current displayed video timestamp is:374230484
[037:148] [2022-03-12 06:31:01 +0000.202275][6aff] lipsync_debug:remaining time:10
tsDelta - timeDelta:28
[037:148] [2022-03-12 06:31:01 +0000.202414][6aff] lipsync_debug:result remaining
time:10
[037:288] [2022-03-12 06:31:01 +0000.342616][6b01] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 161708
[037:289] [2022-03-12 06:31:01 +0000.342869][6b01] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[037:289] [2022-03-12 06:31:01 +0000.343114][6b02] Error(video_source.cc:430): wait
decoder a frame: 0
[037:382] [2022-03-12 06:31:01 +0000.436476][6b00] The audio playback speed:100
(1/100)
[037:382] [2022-03-12 06:31:01 +0000.436584][6b00] lipsync_debug: The current
played audio timestamp is:164794(1/50)
[037:691] [2022-03-12 06:31:01 +0000.745479][6b02] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 377190pts ms:4.191e+06
[037:693] [2022-03-12 06:31:01 +0000.746758][6b02] OnVideoFrameReady(1/200)
[037:693] [2022-03-12 06:31:01 +0000.746944][6aff] operator() frame->pts-
9223372036854775808 queue_ size: 12 (1/200)
[037:836] [2022-03-12 06:31:01 +0000.889717][6aff] lipsync_debug:displaying video
ts:353430 The current displayed video timestamp is:374231177
[037:880] [2022-03-12 06:31:01 +0000.934453][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[038:092] [2022-03-12 06:31:02 +0000.146533][502f]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[038:096] [2022-03-12 06:31:02 +0000.150056][6b00] Stop:
[038:101] [2022-03-12 06:31:02 +0000.155302][6aff] operator(): Video Render
stopped.
[038:102] [2022-03-12 06:31:02 +0000.155649][6b00] Stop:
[038:102] [2022-03-12 06:31:02 +0000.155874][6b00] DeviceStop:
audioDevice_:0x746b502bf0
[038:102] [2022-03-12 06:31:02 +0000.155944][6b00] OpenSlesOutput:Stop playout

[038:104] [2022-03-12 06:31:02 +0000.158206][6b00] DeviceStop: Done


[038:105] [2022-03-12 06:31:02 +0000.158644][6b00] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[038:105] [2022-03-12 06:31:02 +0000.158732][6b00] operator(): Stop now!
[038:105] [2022-03-12 06:31:02 +0000.159576][502f] Stop:
[038:106] [2022-03-12 06:31:02 +0000.159696][6b00] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[038:106] [2022-03-12 06:31:02 +0000.159876][502f] DeviceRelease:
audioDevice_:0x746b502bf0
[038:106] [2022-03-12 06:31:02 +0000.159924][502f] OpenSlesOutput:Stop playout

[038:106] [2022-03-12 06:31:02 +0000.159959][502f] DeviceRelease: Release the


webrtc device object.
[038:106] [2022-03-12 06:31:02 +0000.160138][502f] OpenSlesOutput destruct.

[038:106] [2022-03-12 06:31:02 +0000.160212][502f] DeviceRelease: Done


[038:107] [2022-03-12 06:31:02 +0000.160959][502f] Stop:
[038:107] [2022-03-12 06:31:02 +0000.161131][6aff] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[038:112] [2022-03-12 06:31:02 +0000.165978][502f] global uninited!
[038:112] [2022-03-12 06:31:02 +0000.166181][502f]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[038:112] [2022-03-12 06:31:02 +0000.166326][502f] ~MediaFilterGraph:
MediaFilterGraph destruct
[038:112] [2022-03-12 06:31:02 +0000.166371][502f] RemoveVideoBackGroud: hava not
add video backgroud
[038:112] [2022-03-12 06:31:02 +0000.166423][502f] UnbindInputFilter 0x738b367548
this 0x73bb3bf930
[038:112] [2022-03-12 06:31:02 +0000.166461][502f] ClearAllSource: remove source
filter, sourceid: 0x73cb5c5c60
[038:112] [2022-03-12 06:31:02 +0000.166489][502f] DestoryDecoderByVideoSource
time:374231453 enter.

[038:112] [2022-03-12 06:31:02 +0000.166523][502f] ~VideoBindDecoder time:374231453


enter.

[038:113] [2022-03-12 06:31:02 +0000.166754][502f] CleanUp time:374231454 enter.

[038:120] [2022-03-12 06:31:02 +0000.174478][502f] CleanUp leave. expire time = 7


ms

[038:120] [2022-03-12 06:31:02 +0000.174592][502f] CleanUp time:374231461 enter.

[038:121] [2022-03-12 06:31:02 +0000.175285][502f] CleanUp leave. expire time = 1


ms

[038:122] [2022-03-12 06:31:02 +0000.175819][502f] ~VideoBindDecoder leave. expire


time = 10 ms

[038:122] [2022-03-12 06:31:02 +0000.175889][502f] DestoryDecoderByVideoSource


leave. expire time = 10 ms

[038:122] [2022-03-12 06:31:02 +0000.175940][502f] UnbindInputFilter 0x738b364988


this 0x738b367548
[038:122] [2022-03-12 06:31:02 +0000.175977][502f] UnbindInputFilter 0x738b348288
this 0x738b364988
[038:122] [2022-03-12 06:31:02 +0000.176015][502f] UnbindInputFilter 0x73cb5c5e80
this 0x738b348288
[038:122] [2022-03-12 06:31:02 +0000.176053][502f] UnbindInputFilter 0x738b33a448
this 0x738b3520e8
[038:122] [2022-03-12 06:31:02 +0000.176090][502f] UnbindInputFilter 0x738b351668
this 0x738b33a448
[038:122] [2022-03-12 06:31:02 +0000.176127][502f] UnbindInputFilter 0x73cb5c5e80
this 0x738b351668
[038:134] [2022-03-12 06:31:02 +0000.188105][502f] ~GLESContext:
[038:135] [2022-03-12 06:31:02 +0000.189375][502f] GLESContext destruct finish.
[038:135] [2022-03-12 06:31:02 +0000.189489][502f] filter: filter pipeline destroy
this: 0x73bb3bf890
[038:193] [2022-03-12 06:31:02 +0000.246808][6a84] Run AGC when audioType = 0
[039:594] [2022-03-12 06:31:03 +0000.648454][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[040:204] [2022-03-12 06:31:04 +0000.257850][6a85] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[040:204] [2022-03-12 06:31:04 +0000.258160][6a85] _deviceSampleRate:48000


[040:205] [2022-03-12 06:31:04 +0000.259249][6a84] Run AGC when audioType = 0
[040:205] [2022-03-12 06:31:04 +0000.259520][6a84]
AudioDeviceDataHandler::MixAndSendOutFrame
[041:302] [2022-03-12 06:31:05 +0000.355821][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[042:213] [2022-03-12 06:31:06 +0000.266651][6a84] Run AGC when audioType = 0
[043:014] [2022-03-12 06:31:07 +0000.68065][6a84] haveEnoughProcessedData
internalAudioStream.length: 0
[043:827] [2022-03-12 06:31:07 +0000.881172][5075]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[043:827] [2022-03-12 06:31:07 +0000.881327][5075] ~MediaFilterCamera
time:374237168 enter.

[043:827] [2022-03-12 06:31:07 +0000.881368][5075] StopPullFrameAndWriteMp4


time:374237168 enter.

[043:831] [2022-03-12 06:31:07 +0000.884708][6a7f] stop recording


[043:831] [2022-03-12 06:31:07 +0000.884799][6a7f] we have stopped recording before
[043:831] [2022-03-12 06:31:07 +0000.884894][5075] StopPullFrameAndWriteMp4 leave.
expire time = 4 ms

[043:831] [2022-03-12 06:31:07 +0000.885430][5075] DestroyPipelineAndFilters


time:374237172 enter.

[043:831] [2022-03-12 06:31:07 +0000.885529][5075] DestroyPipelineAndFilters


leave. expire time = 0 ms

[043:831] [2022-03-12 06:31:07 +0000.885564][5075] AppDeviceManagerStopMic

[043:832] [2022-03-12 06:31:07 +0000.885638][5075] AppDeviceManagerStopMic::mic


status is on
[043:832] [2022-03-12 06:31:07 +0000.885672][5075] Try to stop webrtc device.

[043:832] [2022-03-12 06:31:07 +0000.885712][5075] Set record state to


stopped.threadID:20597

[043:888] [2022-03-12 06:31:07 +0000.942040][5075] Try to destory the


recorder.threadID:20597

[044:088] [2022-03-12 06:31:08 +0000.142320][5075] DestroyAudioRecorder:


[044:088] [2022-03-12 06:31:08 +0000.142444][5075] Cleanup the buffer queue in the
recorder.
[044:088] [2022-03-12 06:31:08 +0000.142471][5075] Destroy the recorder.

[044:090] [2022-03-12 06:31:08 +0000.144537][5075] StopRecording finished.

[044:091] [2022-03-12 06:31:08 +0000.144679][5075] The stop recording success.

[044:091] [2022-03-12 06:31:08 +0000.144723][5075]


AudioDeviceDataHandler::StopMicProcess

[044:094] [2022-03-12 06:31:08 +0000.148618][5075] AppDeviceManager stop.

[044:095] [2022-03-12 06:31:08 +0000.148860][5075] Rlease the webrtc device object.

[044:096] [2022-03-12 06:31:08 +0000.150097][5075] OpenSlesInput destruct.

[044:096] [2022-03-12 06:31:08 +0000.150175][5075] OpenSlesOutput destruc[000:027]


[2022-11-05 07:05:14 +0000.792056][1838] Log to file:/storage/emulated/0/voip-
data/com.android.camera/trace.txt start time:2022-11-05 07:05:14 +0000
[000:027] [2022-11-05 07:05:14 +0000.792124][1838] Disable the crash dump because
of setting.

[000:027] [2022-11-05 07:05:14 +0000.792159][1838] set AppID=123 old AppID=-1


[000:027] [2022-11-05 07:05:14 +0000.792190][1838] Init the android object with
jvm:0xb4000078422e6540 env:0x777de45f00 context:0x76e5d6dba8

[000:027] [2022-11-05 07:05:14 +0000.792241][1838] SetAndroidMediaCodecObjects


time:104860324 enter.

[000:027] [2022-11-05 07:05:14 +0000.792267][1838] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:027] [2022-11-05 07:05:14 +0000.792296][1838] SetAndroidMediaCodecObjects


time:104860324 enter.

[000:027] [2022-11-05 07:05:14 +0000.792329][1838] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000078422e6540
[000:027] [2022-11-05 07:05:14 +0000.792356][1838] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000078422e6540 address:0x767b0d85a0
[000:027] [2022-11-05 07:05:14 +0000.792382][1838] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000078422e6540
address:0x767b0d85a0
[000:027] [2022-11-05 07:05:14 +0000.792407][1838] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:027] [2022-11-05 07:05:14 +0000.792435][1838] Set the android objects with


jvm:0xb4000078422e6540 env:0x777de45f00 context:0x76e5d6dba8

[000:029] [2022-11-05 07:05:14 +0000.794256][1838] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x777de45f00
[000:029] [2022-11-05 07:05:14 +0000.794329][1838] SystemUtil Init done
[000:030] [2022-11-05 07:05:14 +0000.795133][1838]
Java_com_xiaomi_inceptionmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJ
ni:
[000:032] [2022-11-05 07:05:14 +0000.797073][1838] MediaFilterCamera
[000:032] [2022-11-05 07:05:14 +0000.797698][1838] Error(ini.cc:191): Open the file
failed. error:2
[000:032] [2022-11-05 07:05:14 +0000.797751][1838]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:032] [2022-11-05 07:05:14 +0000.797786][1838] The device model: m2101k9ag
usingSoftwareAEC value: 0
[000:035] [2022-11-05 07:05:14 +0000.800572][1838] Error(ini.cc:191): Open the file
failed. error:2
[000:035] [2022-11-05 07:05:14 +0000.800643][1838]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:035] [2022-11-05 07:05:14 +0000.800710][1838] The device model: m2101k9ag
usingHardwareAEC value: 0
[000:035] [2022-11-05 07:05:14 +0000.800731][1838] The machine device: m2101k9ag
usingHardwareAEC value: 0
[000:035] [2022-11-05 07:05:14 +0000.800760][1838] Using Default AEC type: software
AEC
[000:036] [2022-11-05 07:05:14 +0000.801732][1838] The device model: m2101k9ag enum
value: 0
[000:037] [2022-11-05 07:05:14 +0000.802145][1838] GetMachineModel is M2101K9AG
[000:037] [2022-11-05 07:05:14 +0000.802178][1838] GetMachineInfo: M2101K9AG
[000:037] [2022-11-05 07:05:14 +0000.802202][1838] Construct BeautifyReader
begin...
[000:037] [2022-11-05 07:05:14 +0000.802222][1838] dumpStickerRgba:0
dumpStickerYuv:0
[000:037] [2022-11-05 07:05:14 +0000.802249][1838] Construct BeautifyReader done.
[000:042] [2022-11-05 07:05:14 +0000.807732][1838] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:042] [2022-11-05 07:05:14 +0000.807790][1838] AppDeviceManager telnet server
for statistics started......
[000:042] [2022-11-05 07:05:14 +0000.807763][26b1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x76ab6346a0
[000:043] [2022-11-05 07:05:14 +0000.808614][1838] CpuOverloadDetect time:104860340
enter.

[000:043] [2022-11-05 07:05:14 +0000.808745][1838] CpuOverloadDetect leave. expire


time = 0 ms

[000:043] [2022-11-05 07:05:14 +0000.808771][26b2] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x777ce9d200
[000:044] [2022-11-05 07:05:14 +0000.809230][1838] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:044] [2022-11-05 07:05:14 +0000.809295][1838] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:046] [2022-11-05 07:05:14 +0000.811041][1838] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:046] [2022-11-05 07:05:14 +0000.811402][1838] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:047] [2022-11-05 07:05:14 +0000.812017][1838] CreatePlatformSpecificObjects:
[000:047] [2022-11-05 07:05:14 +0000.812078][1838] audio device use opensle input
and opensl output
[000:047] [2022-11-05 07:05:14 +0000.812132][1838] Create OpenSLES output module
with java VM support.

[000:047] [2022-11-05 07:05:14 +0000.812286][1838] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:047] [2022-11-05 07:05:14 +0000.812479][1838] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:047] [2022-11-05 07:05:14 +0000.812679][1838] Create OpenSLES output module
with buffer num:1

[000:047] [2022-11-05 07:05:14 +0000.812852][1838] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:048] [2022-11-05 07:05:14 +0000.813011][1838] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:048] [2022-11-05 07:05:14 +0000.813197][1838] Create OpenSLES input module
with java VM support.

[000:048] [2022-11-05 07:05:14 +0000.813239][1838] Create OpenSLES input module


with buffer num:1

[000:048] [2022-11-05 07:05:14 +0000.813290][1838] Error(trace.cc:40): Init the


output and input for audio device template.
[000:048] [2022-11-05 07:05:14 +0000.813315][1838] Init the output device.

[000:048] [2022-11-05 07:05:14 +0000.813329][1838] Init the opensl input.


[000:048] [2022-11-05 07:05:14 +0000.813346][1838] AppDeviceManager get setting
samplerate: 0
[000:048] [2022-11-05 07:05:14 +0000.813638][1838] The device model: m2101k9ag enum
value: 0
[000:049] [2022-11-05 07:05:14 +0000.814050][1838] The device model: m2101k9ag enum
value: 0
[000:049] [2022-11-05 07:05:14 +0000.814081][1838] Set the sample rate to be:48000

[000:049] [2022-11-05 07:05:14 +0000.814108][1838] Enable the recording stereo:0


[000:049] [2022-11-05 07:05:14 +0000.814135][1838] Set the playout as stereo:1
[000:049] [2022-11-05 07:05:14 +0000.814159][1838] Init the microphone.
[000:049] [2022-11-05 07:05:14 +0000.814555][1838] Update the recording sample rate
to be: 48000
[000:049] [2022-11-05 07:05:14 +0000.814588][1838] Init the speaker.
[000:049] [2022-11-05 07:05:14 +0000.814617][1838] Low latency buffer size:144 low
sample rate:48000
[000:049] [2022-11-05 07:05:14 +0000.814863][1838] Using 1 x 10ms for an audio
frame.

[000:053] [2022-11-05 07:05:14 +0000.818226][1838] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:053] [2022-11-05 07:05:14 +0000.818343][1838] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:053] [2022-11-05 07:05:14 +0000.818376][1838] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:057] [2022-11-05 07:05:14 +0000.822888][1838] The device model:m2101k9ag

[000:058] [2022-11-05 07:05:14 +0000.822957][1838] speaker output factor:100


defaultFactor: 100

[000:058] [2022-11-05 07:05:14 +0000.822975][1838] headset output factor:100


defaultFactor: 100

[000:058] [2022-11-05 07:05:14 +0000.823259][1838] AppDeviceManagerStart finished.


[000:058] [2022-11-05 07:05:14 +0000.823291][1838] AppDeviceManagerStartMic::mic
status is off
[000:058] [2022-11-05 07:05:14 +0000.823352][1838] AppDeviceManagerStartMic update
aec type: 2

[000:058] [2022-11-05 07:05:14 +0000.823373][1838] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:058] [2022-11-05 07:05:14 +0000.823401][1838]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:058] [2022-11-05 07:05:14 +0000.823425][1838]
AudioDeviceDataHandler::StartMicProcess

[000:058] [2022-11-05 07:05:14 +0000.823530][1838] Try to start webrtc recording


device.

[000:058] [2022-11-05 07:05:14 +0000.823558][1838] StartRecording. threadID:6200

[000:058] [2022-11-05 07:05:14 +0000.823600][26b3] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:058] [2022-11-05 07:05:14 +0000.823676][26b3] haveEnoughProcessedData
internalAudioStream.length: 0
[000:058] [2022-11-05 07:05:14 +0000.823874][1838] The machine model:M2101K9AG

[000:059] [2022-11-05 07:05:14 +0000.823928][1838] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:059] [2022-11-05 07:05:14 +0000.823949][1838] Set the recording mode before


getSetting: 4
[000:059] [2022-11-05 07:05:14 +0000.823968][1838] Set the recording mode after
getSetting: 1
[000:169] [2022-11-05 07:05:14 +0000.934138][1838] StartRecording finished.

[000:169] [2022-11-05 07:05:14 +0000.934200][1838] audio: start the audio mic


checker timer.

[000:169] [2022-11-05 07:05:14 +0000.934669][1838] machine model :xiaomi


[000:169] [2022-11-05 07:05:14 +0000.934721][1838] Support this machine
model :xiaomi
[000:186] [2022-11-05 07:05:14 +0000.951643][1838] global inited! current sdk
version: 06-21-2b091f2
[000:187] [2022-11-05 07:05:14 +0000.952555][1838]
Java_com_xiaomi_inceptionmediaprocess_MediaEffectCamera_SetEncoderTypeJni:
[000:206] [2022-11-05 07:05:14 +0000.971471][26b4] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:206] [2022-11-05 07:05:14 +0000.971581][26b4] _deviceSampleRate:48000

[000:210] [2022-11-05 07:05:14 +0000.975432][26b3] Run AGC when audioType = 0


[000:210] [2022-11-05 07:05:14 +0000.975551][26b3]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:583] [2022-11-05 07:05:15 +0000.348364][23ee]
Java_com_xiaomi_inceptionmediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[000:583] [2022-11-05 07:05:15 +0000.348503][23ee]
Java_com_xiaomi_inceptionmediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
texture rgb: 11, textureUniform RGB: 1, ATTRIB_VERTEX: 0, ATTRIB_TEXTURE: 1,
vertex_vertices len: 32, texture_vertices len: 32
[000:584] [2022-11-05 07:05:15 +0000.349100][23ee]
Java_com_xiaomi_inceptionmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:584] [2022-11-05 07:05:15 +0000.349283][26af] MediaFilterCamera, recording
file context:0x777ceeaf00 input texture:11
[000:584] [2022-11-05 07:05:15 +0000.349352][26af] GLESContext:
[000:584] [2022-11-05 07:05:15 +0000.349398][26af] The result of eglGetDisplay is:
0xb40000778b953a00
[000:585] [2022-11-05 07:05:15 +0000.350249][26af] The result of creation:
0x76ab624980
[000:585] [2022-11-05 07:05:15 +0000.350353][26af] The result of
eglCreatePbufferSurface is: 0x76ab624b80
[000:585] [2022-11-05 07:05:15 +0000.350469][23ee]
Java_com_xiaomi_inceptionmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x777ceeaf00 input_texture: 11
[001:814] [2022-11-05 07:05:16 +0000.579523][26b3] haveEnoughProcessedData
internalAudioStream.length: 0
[002:191] [2022-11-05 07:05:16 +0000.956169][26b3] Run AGC when audioType = 0
[003:529] [2022-11-05 07:05:18 +0000.293979][26b3] haveEnoughProcessedData
internalAudioStream.length: 0
[004:173] [2022-11-05 07:05:18 +0000.938243][26ab]
monitorTime:4004totalDuration:4000
[004:189] [2022-11-05 07:05:18 +0000.954305][26b3] Run AGC when audioType = 0
[004:189] [2022-11-05 07:05:18 +0000.954610][26b3]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:720] [2022-11-05 07:05:19 +0000.485215][1838]
Java_com_xiaomi_inceptionmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJn
i:
[004:720] [2022-11-05 07:05:19 +0000.485450][1838] ~MediaFilterCamera
time:104865017 enter.
[004:720] [2022-11-05 07:05:19 +0000.485535][1838] StopPullFrameAndWriteMp4
time:104865017 enter.

[004:721] [2022-11-05 07:05:19 +0000.485946][1838] StopPullFrameAndWriteMp4 leave.


expire time = 1 ms

[004:721] [2022-11-05 07:05:19 +0000.486370][1838] DestroyPipelineAndFilters


time:104865018 enter.

[004:721] [2022-11-05 07:05:19 +0000.486422][1838] DestroyPipelineAndFilters


leave. expire time = 0 ms

[004:721] [2022-11-05 07:05:19

You might also like