You are on page 1of 1135

[000:017] [2022-06-26 22:14:27 +0000.

404150][71f9] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-06-
26 22:14:27 +0000
[000:018] [2022-06-26 22:14:27 +0000.404194][71f9] set AppID=50011 old AppID=-1
[000:018] [2022-06-26 22:14:27 +0000.404213][71f9] Init the android object with
jvm:0xb4000079a8ed5540 env:0x78f9f6cd40 context:0x7874b01338

[000:018] [2022-06-26 22:14:27 +0000.404274][71f9] SetAndroidMediaCodecObjects


time:74713953 enter.

[000:018] [2022-06-26 22:14:27 +0000.404300][71f9] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:018] [2022-06-26 22:14:27 +0000.404335][71f9] SetAndroidMediaCodecObjects


time:74713953 enter.

[000:018] [2022-06-26 22:14:27 +0000.404371][71f9] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079a8ed5540
[000:018] [2022-06-26 22:14:27 +0000.404405][71f9] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079a8ed5540 address:0x77b4ee1760
[000:018] [2022-06-26 22:14:27 +0000.404423][71f9] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079a8ed5540
address:0x77b4ee1760
[000:018] [2022-06-26 22:14:27 +0000.404456][71f9] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:018] [2022-06-26 22:14:27 +0000.404516][71f9] Set the android objects with


jvm:0xb4000079a8ed5540 env:0x78f9f6cd40 context:0x7874b01338

[000:018] [2022-06-26 22:14:27 +0000.404549][71f9] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78f9f6cd40
[000:018] [2022-06-26 22:14:27 +0000.404572][71f9] SystemUtil Init done
[000:021] [2022-06-26 22:14:27 +0000.407555][71f9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:021] [2022-06-26 22:14:27 +0000.407703][71f9] MediaFilterCamera
[000:021] [2022-06-26 22:14:27 +0000.407751][71f9] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:021] [2022-06-26 22:14:27 +0000.407881][71f9] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:021] [2022-06-26 22:14:27 +0000.407913][71f9] Recording session using default
bitrate support by app:31457280
[000:022] [2022-06-26 22:14:27 +0000.408175][3640] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77e8a552c0
[000:022] [2022-06-26 22:14:27 +0000.408226][3640] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:022] [2022-06-26 22:14:27 +0000.408301][71f9] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:022] [2022-06-26 22:14:27 +0000.408732][71f9] Error(ini.cc:191): Open the file
failed. error:2
[000:022] [2022-06-26 22:14:27 +0000.408763][71f9]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:022] [2022-06-26 22:14:27 +0000.408805][71f9] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:024] [2022-06-26 22:14:27 +0000.410913][71f9] Error(ini.cc:191): Open the file
failed. error:2
[000:024] [2022-06-26 22:14:27 +0000.410965][71f9]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:024] [2022-06-26 22:14:27 +0000.410989][71f9] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:024] [2022-06-26 22:14:27 +0000.411031][71f9] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:024] [2022-06-26 22:14:27 +0000.411069][71f9] Using Default AEC type: software
AEC
[000:025] [2022-06-26 22:14:27 +0000.411896][71f9] The device model: m2012k11ag
enum value: 0
[000:026] [2022-06-26 22:14:27 +0000.412187][71f9] GetMachineModel is M2012K11AG
[000:026] [2022-06-26 22:14:27 +0000.412217][71f9] GetMachineInfo: M2012K11AG
[000:026] [2022-06-26 22:14:27 +0000.412248][71f9] Construct BeautifyReader
begin...
[000:026] [2022-06-26 22:14:27 +0000.412269][71f9] dumpStickerRgba:0
dumpStickerYuv:0
[000:026] [2022-06-26 22:14:27 +0000.412305][71f9] Construct BeautifyReader done.
[000:029] [2022-06-26 22:14:27 +0000.416047][71f9] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:029] [2022-06-26 22:14:27 +0000.416124][71f9] AppDeviceManager telnet server
for statistics started......
[000:030] [2022-06-26 22:14:27 +0000.416203][3643] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7807f257a0
[000:030] [2022-06-26 22:14:27 +0000.416645][71f9] CpuOverloadDetect time:74713965
enter.

[000:030] [2022-06-26 22:14:27 +0000.416724][71f9] CpuOverloadDetect leave. expire


time = 0 ms

[000:030] [2022-06-26 22:14:27 +0000.416744][3644] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x781b371880
[000:030] [2022-06-26 22:14:27 +0000.417100][71f9] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:030] [2022-06-26 22:14:27 +0000.417129][71f9] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:031] [2022-06-26 22:14:27 +0000.417400][71f9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:031] [2022-06-26 22:14:27 +0000.417670][71f9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:031] [2022-06-26 22:14:27 +0000.417932][71f9] CreatePlatformSpecificObjects:
[000:031] [2022-06-26 22:14:27 +0000.417967][71f9] audio device use opensle input
and opensl output
[000:031] [2022-06-26 22:14:27 +0000.418001][71f9] Create OpenSLES output module
with java VM support.

[000:031] [2022-06-26 22:14:27 +0000.418090][71f9] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:032] [2022-06-26 22:14:27 +0000.418208][71f9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:032] [2022-06-26 22:14:27 +0000.418363][71f9] Create OpenSLES output module
with buffer num:1

[000:032] [2022-06-26 22:14:27 +0000.418502][71f9] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:032] [2022-06-26 22:14:27 +0000.418649][71f9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:032] [2022-06-26 22:14:27 +0000.418809][71f9] Create OpenSLES input module
with java VM support.

[000:032] [2022-06-26 22:14:27 +0000.418847][71f9] Create OpenSLES input module


with buffer num:1
[000:032] [2022-06-26 22:14:27 +0000.418898][71f9] Error(trace.cc:40): Init the
output and input for audio device template.
[000:032] [2022-06-26 22:14:27 +0000.418980][71f9] Init the output device.

[000:032] [2022-06-26 22:14:27 +0000.418996][71f9] Init the opensl input.


[000:032] [2022-06-26 22:14:27 +0000.419014][71f9] AppDeviceManager get setting
samplerate: 0
[000:033] [2022-06-26 22:14:27 +0000.419280][71f9] The device model: m2012k11ag
enum value: 0
[000:033] [2022-06-26 22:14:27 +0000.419616][71f9] The device model: m2012k11ag
enum value: 0
[000:033] [2022-06-26 22:14:27 +0000.419657][71f9] Set the sample rate to be:48000

[000:033] [2022-06-26 22:14:27 +0000.419672][71f9] Enable the recording stereo:0


[000:033] [2022-06-26 22:14:27 +0000.419687][71f9] Set the playout as stereo:1
[000:033] [2022-06-26 22:14:27 +0000.419735][71f9] Init the microphone.
[000:034] [2022-06-26 22:14:27 +0000.420191][71f9] Update the recording sample rate
to be: 48000
[000:034] [2022-06-26 22:14:27 +0000.420230][71f9] Init the speaker.
[000:034] [2022-06-26 22:14:27 +0000.420260][71f9] Low latency buffer size:144 low
sample rate:48000
[000:034] [2022-06-26 22:14:27 +0000.420475][71f9] Using 1 x 10ms for an audio
frame.

[000:037] [2022-06-26 22:14:27 +0000.423536][71f9] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:037] [2022-06-26 22:14:27 +0000.423641][71f9] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:037] [2022-06-26 22:14:27 +0000.423733][71f9] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:041] [2022-06-26 22:14:27 +0000.427730][71f9] The device model:m2012k11ag

[000:041] [2022-06-26 22:14:27 +0000.427787][71f9] speaker output factor:100


defaultFactor: 100

[000:041] [2022-06-26 22:14:27 +0000.427804][71f9] headset output factor:100


defaultFactor: 100

[000:041] [2022-06-26 22:14:27 +0000.428092][71f9] AppDeviceManagerStart finished.


[000:041] [2022-06-26 22:14:27 +0000.428122][71f9] AppDeviceManagerStartMic::mic
status is off
[000:041] [2022-06-26 22:14:27 +0000.428169][71f9] AppDeviceManagerStartMic update
aec type: 2

[000:042] [2022-06-26 22:14:27 +0000.428191][71f9] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:042] [2022-06-26 22:14:27 +0000.428207][71f9]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:042] [2022-06-26 22:14:27 +0000.428233][71f9]
AudioDeviceDataHandler::StartMicProcess

[000:042] [2022-06-26 22:14:27 +0000.428386][71f9] Try to start webrtc recording


device.

[000:042] [2022-06-26 22:14:27 +0000.428412][71f9] StartRecording. threadID:29177

[000:042] [2022-06-26 22:14:27 +0000.428652][71f9] The machine model:M2012K11AG


[000:042] [2022-06-26 22:14:27 +0000.428698][71f9] default mode: Set the recording
mode to voice communication to enable HW AEC .

[000:042] [2022-06-26 22:14:27 +0000.428724][71f9] Set the recording mode before


getSetting: 4
[000:042] [2022-06-26 22:14:27 +0000.428733][3648] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:042] [2022-06-26 22:14:27 +0000.428765][71f9] Set the recording mode after
getSetting: 1
[000:042] [2022-06-26 22:14:27 +0000.428815][3648] haveEnoughProcessedData
internalAudioStream.length: 0
[000:078] [2022-06-26 22:14:27 +0000.464723][71f9] StartRecording finished.

[000:078] [2022-06-26 22:14:27 +0000.464781][71f9] audio: start the audio mic


checker timer.

[000:078] [2022-06-26 22:14:27 +0000.465095][71f9] machine model :poco


[000:078] [2022-06-26 22:14:27 +0000.465121][71f9] Support this machine model :poco
[000:079] [2022-06-26 22:14:27 +0000.465220][71f9] global inited! current sdk
version: 07-20-936c45f
[000:161] [2022-06-26 22:14:27 +0000.548157][3649] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:162] [2022-06-26 22:14:27 +0000.548227][3649] _deviceSampleRate:48000

[000:166] [2022-06-26 22:14:27 +0000.552706][3648] Run AGC when audioType = 0


[000:166] [2022-06-26 22:14:27 +0000.552795][3648]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:320] [2022-06-26 22:14:27 +0000.706535][ecf]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:320] [2022-06-26 22:14:27 +0000.706810][3641] MediaFilterCamera, recording
file context:0x7871558f00 input texture:14
[000:320] [2022-06-26 22:14:27 +0000.706853][3641] GLESContext:
[000:320] [2022-06-26 22:14:27 +0000.706903][3641] The result of eglGetDisplay is:
0xb4000078f9f69c80
[000:321] [2022-06-26 22:14:27 +0000.707648][3641] The result of creation:
0x781b34f480
[000:321] [2022-06-26 22:14:27 +0000.707720][3641] The result of
eglCreatePbufferSurface is: 0x781b34fc80
[000:321] [2022-06-26 22:14:27 +0000.707798][ecf]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7871558f00 input_texture: 14
[001:310] [2022-06-26 22:14:28 +0000.696938][71f9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[001:310] [2022-06-26 22:14:28 +0000.697058][71f9] ~MediaFilterCamera time:74715245
enter.

[001:310] [2022-06-26 22:14:28 +0000.697126][71f9] StopPullFrameAndWriteMp4


time:74715245 enter.

[001:311] [2022-06-26 22:14:28 +0000.697462][3640] stop recording


[001:311] [2022-06-26 22:14:28 +0000.697522][3640] we have stopped recording before
[001:311] [2022-06-26 22:14:28 +0000.697601][71f9] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[001:312] [2022-06-26 22:14:28 +0000.698412][71f9] DestroyPipelineAndFilters


time:74715247 enter.
[001:312] [2022-06-26 22:14:28 +0000.698655][71f9] DestroyPipelineAndFilters
leave. expire time = 0 ms

[001:312] [2022-06-26 22:14:28 +0000.698751][71f9] AppDeviceManagerStopMic

[001:312] [2022-06-26 22:14:28 +0000.698892][71f9] AppDeviceManagerStopMic::mic


status is on
[001:312] [2022-06-26 22:14:28 +0000.698933][71f9] Try to stop webrtc device.

[001:312] [000:018] [2022-06-27 00:33:43 +0000.816256][4991] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-06-
27 00:33:43 +0000
[000:018] [2022-06-27 00:33:43 +0000.816280][4991] set AppID=50011 old AppID=-1
[000:018] [2022-06-27 00:33:43 +0000.816291][4991] Init the android object with
jvm:0xb4000079a8ed5540 env:0x78f9f6c840 context:0x7875d17338

[000:018] [2022-06-27 00:33:43 +0000.816325][4991] SetAndroidMediaCodecObjects


time:83070365 enter.

[000:018] [2022-06-27 00:33:43 +0000.816338][4991] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:018] [2022-06-27 00:33:43 +0000.816358][4991] SetAndroidMediaCodecObjects


time:83070365 enter.

[000:018] [2022-06-27 00:33:43 +0000.816369][4991] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079a8ed5540
[000:018] [2022-06-27 00:33:43 +0000.816389][4991] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079a8ed5540 address:0x77cc0e9760
[000:018] [2022-06-27 00:33:43 +0000.816400][4991] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079a8ed5540
address:0x77cc0e9760
[000:018] [2022-06-27 00:33:43 +0000.816411][4991] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:018] [2022-06-27 00:33:43 +0000.816432][4991] Set the android objects with


jvm:0xb4000079a8ed5540 env:0x78f9f6c840 context:0x7875d17338

[000:019] [2022-06-27 00:33:43 +0000.817407][4991] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78f9f6c840
[000:019] [2022-06-27 00:33:43 +0000.817429][4991] SystemUtil Init done
[000:020] [2022-06-27 00:33:43 +0000.818634][4991]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:021] [2022-06-27 00:33:43 +0000.819609][4991] MediaFilterCamera
[000:021] [2022-06-27 00:33:43 +0000.819643][4991] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:021] [2022-06-27 00:33:43 +0000.819729][4991] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:021] [2022-06-27 00:33:43 +0000.819750][4991] Recording session using default
bitrate support by app:31457280
[000:021] [2022-06-27 00:33:43 +0000.819769][27bc] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78e779e3c0
[000:021] [2022-06-27 00:33:43 +0000.819972][27bc] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:021] [2022-06-27 00:33:43 +0000.820028][4991] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:022] [2022-06-27 00:33:43 +0000.820382][4991] Error(ini.cc:191): Open the file
failed. error:2
[000:022] [2022-06-27 00:33:43 +0000.820403][4991]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:022] [2022-06-27 00:33:43 +0000.820429][4991] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:023] [2022-06-27 00:33:43 +0000.821667][4991] Error(ini.cc:191): Open the file
failed. error:2
[000:023] [2022-06-27 00:33:43 +0000.821693][4991]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:023] [2022-06-27 00:33:43 +0000.821728][4991] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:023] [2022-06-27 00:33:43 +0000.821739][4991] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:023] [2022-06-27 00:33:43 +0000.821758][4991] Using Default AEC type: software
AEC
[000:023] [2022-06-27 00:33:43 +0000.821996][4991] The device model: m2012k11ag
enum value: 0
[000:024] [2022-06-27 00:33:43 +0000.822209][4991] GetMachineModel is M2012K11AG
[000:024] [2022-06-27 00:33:43 +0000.822227][4991] GetMachineInfo: M2012K11AG
[000:024] [2022-06-27 00:33:43 +0000.822247][4991] Construct BeautifyReader
begin...
[000:024] [2022-06-27 00:33:43 +0000.822263][4991] dumpStickerRgba:0
dumpStickerYuv:0
[000:024] [2022-06-27 00:33:43 +0000.822274][4991] Construct BeautifyReader done.
[000:026] [2022-06-27 00:33:43 +0000.824830][4991] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:026] [2022-06-27 00:33:43 +0000.824875][4991] AppDeviceManager telnet server
for statistics started......
[000:026] [2022-06-27 00:33:43 +0000.824856][27bf] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77f9e7f3a0
[000:027] [2022-06-27 00:33:43 +0000.825270][4991] CpuOverloadDetect time:83070374
enter.

[000:027] [2022-06-27 00:33:43 +0000.825324][4991] CpuOverloadDetect leave. expire


time = 0 ms

[000:027] [2022-06-27 00:33:43 +0000.825350][27c0] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x78e7681cc0
[000:027] [2022-06-27 00:33:43 +0000.825576][4991] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:027] [2022-06-27 00:33:43 +0000.825591][4991] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:028] [2022-06-27 00:33:43 +0000.826764][4991] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:028] [2022-06-27 00:33:43 +0000.826994][4991] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:029] [2022-06-27 00:33:43 +0000.827226][4991] CreatePlatformSpecificObjects:
[000:029] [2022-06-27 00:33:43 +0000.827252][4991] audio device use opensle input
and opensl output
[000:029] [2022-06-27 00:33:43 +0000.827280][4991] Create OpenSLES output module
with java VM support.

[000:029] [2022-06-27 00:33:43 +0000.827355][4991] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:029] [2022-06-27 00:33:43 +0000.827444][4991] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:029] [2022-06-27 00:33:43 +0000.827542][4991] Create OpenSLES output module
with buffer num:1

[000:029] [2022-06-27 00:33:43 +0000.827630][4991] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:029] [2022-06-27 00:33:43 +0000.827753][4991] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:029] [2022-06-27 00:33:43 +0000.827842][4991] Create OpenSLES input module
with java VM support.

[000:029] [2022-06-27 00:33:43 +0000.827868][4991] Create OpenSLES input module


with buffer num:1

[000:029] [2022-06-27 00:33:43 +0000.827905][4991] Error(trace.cc:40): Init the


output and input for audio device template.
[000:029] [2022-06-27 00:33:43 +0000.827921][4991] Init the output device.

[000:029] [2022-06-27 00:33:43 +0000.827932][4991] Init the opensl input.


[000:029] [2022-06-27 00:33:43 +0000.827957][4991] AppDeviceManager get setting
samplerate: 0
[000:029] [2022-06-27 00:33:43 +0000.828113][4991] The device model: m2012k11ag
enum value: 0
[000:030] [2022-06-27 00:33:43 +0000.828369][4991] The device model: m2012k11ag
enum value: 0
[000:030] [2022-06-27 00:33:43 +0000.828393][4991] Set the sample rate to be:48000

[000:030] [2022-06-27 00:33:43 +0000.828425][4991] Enable the recording stereo:0


[000:030] [2022-06-27 00:33:43 +0000.828437][4991] Set the playout as stereo:1
[000:030] [2022-06-27 00:33:43 +0000.828462][4991] Init the microphone.
[000:030] [2022-06-27 00:33:43 +0000.829083][4991] Update the recording sample rate
to be: 48000
[000:030] [2022-06-27 00:33:43 +0000.829112][4991] Init the speaker.
[000:030] [2022-06-27 00:33:43 +0000.829137][4991] Low latency buffer size:144 low
sample rate:48000
[000:031] [2022-06-27 00:33:43 +0000.829308][4991] Using 1 x 10ms for an audio
frame.

[000:033] [2022-06-27 00:33:43 +0000.831976][4991] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:033] [2022-06-27 00:33:43 +0000.832044][4991] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:033] [2022-06-27 00:33:43 +0000.832084][4991] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:037] [2022-06-27 00:33:43 +0000.835256][4991] The device model:m2012k11ag

[000:037] [2022-06-27 00:33:43 +0000.835294][4991] speaker output factor:100


defaultFactor: 100

[000:037] [2022-06-27 00:33:43 +0000.835305][4991] headset output factor:100


defaultFactor: 100

[000:037] [2022-06-27 00:33:43 +0000.835509][4991] AppDeviceManagerStart finished.


[000:037] [2022-06-27 00:33:43 +0000.835527][4991] AppDeviceManagerStartMic::mic
status is off
[000:037] [2022-06-27 00:33:43 +0000.835567][4991] AppDeviceManagerStartMic update
aec type: 2

[000:037] [2022-06-27 00:33:43 +0000.835579][4991] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:037] [2022-06-27 00:33:43 +0000.835589][4991]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:037] [2022-06-27 00:33:43 +0000.835610][4991]
AudioDeviceDataHandler::StartMicProcess

[000:037] [2022-06-27 00:33:43 +0000.835690][4991] Try to start webrtc recording


device.

[000:037] [2022-06-27 00:33:43 +0000.835706][4991] StartRecording. threadID:18833

[000:037] [2022-06-27 00:33:43 +0000.835721][27c1] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:037] [2022-06-27 00:33:43 +0000.835786][27c1] haveEnoughProcessedData
internalAudioStream.length: 0
[000:037] [2022-06-27 00:33:43 +0000.835870][4991] The machine model:M2012K11AG

[000:037] [2022-06-27 00:33:43 +0000.835899][4991] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:037] [2022-06-27 00:33:43 +0000.835913][4991] Set the recording mode before


getSetting: 4
[000:037] [2022-06-27 00:33:43 +0000.835925][4991] Set the recording mode after
getSetting: 1
[000:064] [2022-06-27 00:33:43 +0000.862941][4991] StartRecording finished.

[000:064] [2022-06-27 00:33:43 +0000.862991][4991] audio: start the audio mic


checker timer.

[000:065] [2022-06-27 00:33:43 +0000.863360][4991] machine model :poco


[000:065] [2022-06-27 00:33:43 +0000.863386][4991] Support this machine model :poco
[000:067] [2022-06-27 00:33:43 +0000.865285][4991] global inited! current sdk
version: 07-20-936c45f
[000:144] [2022-06-27 00:33:43 +0000.942702][27c2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:144] [2022-06-27 00:33:43 +0000.942742][27c2] _deviceSampleRate:48000

[000:149] [2022-06-27 00:33:43 +0000.947666][27c1] Run AGC when audioType = 0


[000:149] [2022-06-27 00:33:43 +0000.947731][27c1]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:280] [2022-06-27 00:33:44 +0000.78780][6112]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:280] [2022-06-27 00:33:44 +0000.78914][27bd] MediaFilterCamera, recording file
context:0x781ffc5380 input texture:29
[000:280] [2022-06-27 00:33:44 +0000.78985][27bd] GLESContext:
[000:280] [2022-06-27 00:33:44 +0000.79104][27bd] The result of eglGetDisplay is:
0xb4000078f9f69c80
[000:281] [2022-06-27 00:33:44 +0000.80037][27bd] The result of creation:
0x7805537980
[000:281] [2022-06-27 00:33:44 +0000.80126][27bd] The result of
eglCreatePbufferSurface is: 0x7805537c80
[000:282] [2022-06-27 00:33:44 +0000.80202][6112]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x781ffc5380 input_texture: 29
[001:766] [2022-06-27 00:33:45 +0000.564511][27c1] haveEnoughProcessedData
internalAudioStream.length: 0
[002:146] [2022-06-27 00:33:45 +0000.945152][27c1] Run AGC when audioType = 0
[003:389] [2022-06-27 00:33:47 +0000.187657][4991]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[003:389] [2022-06-27 00:33:47 +0000.187726][4991] ~MediaFilterCamera time:83073736
enter.
[003:389] [2022-06-27 00:33:47 +0000.187745][4991] StopPullFrameAndWriteMp4
time:83073736 enter.

[003:389] [2022-06-27 00:33:47 +0000.187905][27bc] stop recording


[003:389] [2022-06-27 00:33:47 +0000.187941][27bc] we have stopped recording before
[003:389] [2022-06-27 00:33:47 +0000.187994][4991] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[003:389] [2022-06-27 00:33:47 +0000.188168][4991] DestroyPipelineAndFilters


time:83073736 enter.

[003:390] [2022-06-27 00:33:47 +0000.188186][4991] DestroyPipelineAndFilters


leave. expire time = 1 ms

[003:390] [2022-06-27 00:33:47 +0000.188199][4991] AppDeviceManagerStopMic

[003:390] [2022-06-27 00:33:47 +0000.188218][4991] AppDeviceManagerStopMic::mic


status is on
[003:390] [2022-06-27 00:33:47 +0000.188248][4991] Try to stop webrtc device.

[003:390] [2022-06-27 00:33:47 +0000.188265][4991] Set record state to


stopped.threadID:18833

[003:442] [2022-06-27 00:33:47 +0000.240694][4991] Try to destory the


recorder.threadID:18833

[003:519] [2022-06-27 00:33:47 +0000.317870][27c1] haveEnoughProcessedData


internalAudioStream.length: 0
[003:642] [2022-06-27 00:33:47 +0000.440858][4991] DestroyAudioRecorder:
[003:642] [2022-06-27 00:33:47 +0000.440985][4991] Cleanup the buffer queue in the
recorder.
[003:642] [2022-06-27 00:33:47 +0000.441020][4991] Destroy the recorder.

[003:645] [2022-06-27 00:33:47 +0000.443279][4991] StopRecording finished.

[003:645] [2022-06-27 00:33:47 +0000.443371][4991] The stop recording success.

[003:645] [2022-06-27 00:33:47 +0000.443391][4991]


AudioDeviceDataHandler::StopMicProcess

[003:652] [2022-06-27 00:33:47 +0000.450529][4991] AppDeviceManager stop.

[003:652] [2022-06-27 00:33:47 +0000.450721][4991] Rlease the webrtc device object.

[003:653] [2022-06-27 00:33:47 +0000.451289][4991] OpenSlesInput destruct.

[003:653] [2022-06-27 00:33:47 +0000.451355][4991] OpenSlesOutput destruct.

[003:653] [2022-06-27 00:33:47 +0000.451824][4991] EventDispatchServerScope


destruct
[003:653] [2022-06-27 00:33:47 +0000.451854][4991]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[003:654] [2022-06-27 00:33:47 +0000.452286][4991] ~AudioDeviceDataHandler

[003:654] [2022-06-27 00:33:47 +0000.452522][4991] AppDeviceManagerDestruct.

[003:654] [2022-06-27 00:33:47 +0000.452547][4991] ~AppDeviceManager:


[003:654] [2022-06-27 00:33:47 +0000.452573][4991] ~CpuOverloadDetect time:83074001
enter.

[003:654] [2022-06-27 00:33:47 +0000.452711][4991] ~CpuOverloadDetect leave.


expire time = 0 ms

[003:655] [2022-06-27 00:33:47 +0000.453456][4991] Destruct BeautifyReader begin...


[003:655] [2022-06-27 00:33:47 +0000.453485][4991] Destruct BeautifyReader done.
[003:655] [2022-06-27 00:33:47 +0000.453505][4991] ~MediaFilterCamera leave.
expire time = 266 ms

[003:655] [2022-06-27 00:33:47 +0000.453595][4991] ~GLESContext:


[003:655] [2022-06-27 00:33:47 +0000.454023][4991] GLESContext destruct finish.
[003:655] [2022-06-27 00:33:47 +0000.454060][4991] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[003:656] [2022-06-27 00:33:47 +0000.454255][4991] global uninited!
[003:656] [2022-06-27 00:33:47 +0000.454329][4991]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[003:656] [2022-06-27 00:33:47 +0000.454418][4991] MediaFilterCamera
[003:656] [2022-06-27 00:33:47 +0000.454447][4991] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[003:656] [2022-06-27 00:33:47 +0000.454658][4991] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[003:656] [2022-06-27 00:33:47 +0000.454687][4991] Recording session using default
bitrate support by app:31457280
[003:656] [2022-06-27 00:33:47 +0000.454681][27e3] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78e779e3c0
[003:656] [2022-06-27 00:33:47 +0000.454750][27e3] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[003:656] [2022-06-27 00:33:47 +0000.454799][4991] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[003:657] [2022-06-27 00:33:47 +0000.455270][4991] Error(ini.cc:191): Open the file
failed. error:2
[003:657] [2022-06-27 00:33:47 +0000.455297][4991]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[003:657] [2022-06-27 00:33:47 +0000.455340][4991] The device model: m2012k11ag
usingSoftwareAEC value: 0
[003:658] [2022-06-27 00:33:47 +0000.457167][4991] Error(ini.cc:191): Open the file
failed. error:2
[003:659] [2022-06-27 00:33:47 +0000.457204][4991]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[003:659] [2022-06-27 00:33:47 +0000.457248][4991] The device model: m2012k11ag
usingHardwareAEC value: 0
[003:659] [2022-06-27 00:33:47 +0000.457273][4991] The machine device: m2012k11ag
usingHardwareAEC value: 0
[003:659] [2022-06-27 00:33:47 +0000.457289][4991] Using Default AEC type: software
AEC
[003:660] [2022-06-27 00:33:47 +0000.458209][4991] The device model: m2012k11ag
enum value: 0
[003:660] [2022-06-27 00:33:47 +0000.458478][4991] GetMachineModel is M2012K11AG
[003:660] [2022-06-27 00:33:47 +0000.458504][4991] GetMachineInfo: M2012K11AG
[003:660] [2022-06-27 00:33:47 +0000.458519][4991] Construct BeautifyReader
begin...
[003:660] [2022-06-27 00:33:47 +0000.458539][4991] dumpStickerRgba:0
dumpStickerYuv:0
[003:660] [2022-06-27 00:33:47 +0000.458565][4991] Construct BeautifyReader done.
[003:662] [2022-06-27 00:33:47 +0000.460388][4991] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[003:662] [2022-06-27 00:33:47 +0000.460415][4991] AppDeviceManager telnet server
for statistics started......
[003:662] [2022-06-27 00:33:47 +0000.460420][27e6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77f9e7f3a0
[003:662] [2022-06-27 00:33:47 +0000.460626][4991] CpuOverloadDetect time:83074009
enter.

[003:662] [2022-06-27 00:33:47 +0000.460690][4991] CpuOverloadDetect leave. expire


time = 0 ms

[003:662] [2022-06-27 00:33:47 +0000.460718][27e7] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x78e767d500
[003:662] [2022-06-27 00:33:47 +0000.461015][4991] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[003:662] [2022-06-27 00:33:47 +0000.461035][4991] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[003:662] [2022-06-27 00:33:47 +0000.461162][4991] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[003:663] [2022-06-27 00:33:47 +0000.461322][4991] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[003:663] [2022-06-27 00:33:47 +0000.461848][4991] CreatePlatformSpecificObjects:
[003:663] [2022-06-27 00:33:47 +0000.461880][4991] audio device use opensle input
and opensl output
[003:663] [2022-06-27 00:33:47 +0000.461902][4991] Create OpenSLES output module
with java VM support.

[003:663] [2022-06-27 00:33:47 +0000.461998][4991] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[003:663] [2022-06-27 00:33:47 +0000.462137][4991] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[003:664] [2022-06-27 00:33:47 +0000.462330][4991] Create OpenSLES output module
with buffer num:1

[003:664] [2022-06-27 00:33:47 +0000.462429][4991] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[003:664] [2022-06-27 00:33:47 +0000.462574][4991] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[003:664] [2022-06-27 00:33:47 +0000.462697][4991] Create OpenSLES input module
with java VM support.

[003:664] [2022-06-27 00:33:47 +0000.462732][4991] Create OpenSLES input module


with buffer num:1

[003:664] [2022-06-27 00:33:47 +0000.462771][4991] Error(trace.cc:40): Init the


output and input for audio device template.
[003:664] [2022-06-27 00:33:47 +0000.462798][4991] Init the output device.

[003:664] [2022-06-27 00:33:47 +0000.462829][4991] Init the opensl input.


[003:664] [2022-06-27 00:33:47 +0000.462862][4991] AppDeviceManager get setting
samplerate: 0
[003:664] [2022-06-27 00:33:47 +0000.463110][4991] The device model: m2012k11ag
enum value: 0
[003:665] [2022-06-27 00:33:47 +0000.463497][4991] The device model: m2012k11ag
enum value: 0
[003:665] [2022-06-27 00:33:47 +0000.463524][4991] Set the sample rate to be:48000

[003:665] [2022-06-27 00:33:47 +0000.463541][4991] Enable the recording stereo:0


[003:665] [2022-06-27 00:33:47 +0000.463566][4991] Set the playout as stereo:1
[003:665] [2022-06-27 00:33:47 +0000.463593][4991] Init the microphone.
[003:665] [2022-06-27 00:33:47 +0000.463889][4991] Update the recording sample rate
to be: 48000
[003:665] [2022-06-27 00:33:47 +0000.463916][4991] Init the speaker.
[003:665] [2022-06-27 00:33:47 +0000.463973][4991] Low latency buffer size:144 low
sample rate:48000
[003:665] [2022-06-27 00:33:47 +0000.464110][4991] Using 1 x 10ms for an audio
frame.

[003:666] [2022-06-27 00:33:47 +0000.464396][4991] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[003:666] [2022-06-27 00:33:47 +0000.464434][4991] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[003:666] [2022-06-27 00:33:47 +0000.464464][4991] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[003:668] [2022-06-27 00:33:47 +0000.466751][4991] The device model:m2012k11ag

[003:668] [2022-06-27 00:33:47 +0000.466791][4991] speaker output factor:100


defaultFactor: 100

[003:668] [2022-06-27 00:33:47 +0000.466823][4991] headset output factor:100


defaultFactor: 100

[003:668] [2022-06-27 00:33:47 +0000.467044][4991] AppDeviceManagerStart finished.


[003:668] [2022-06-27 00:33:47 +0000.467067][4991] AppDeviceManagerStartMic::mic
status is off
[003:668] [2022-06-27 00:33:47 +0000.467125][4991] AppDeviceManagerStartMic update
aec type: 2

[003:668] [2022-06-27 00:33:47 +0000.467145][4991] AppDeviceManagerStartMic update


voiceChangeMode: 4

[003:669] [2022-06-27 00:33:47 +0000.467186][4991]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[003:669] [2022-06-27 00:33:47 +0000.467205][4991]
AudioDeviceDataHandler::StartMicProcess

[003:669] [2022-06-27 00:33:47 +0000.467318][4991] Try to start webrtc recording


device.

[003:669] [2022-06-27 00:33:47 +0000.467344][4991] StartRecording. threadID:18833

[003:669] [2022-06-27 00:33:47 +0000.467350][27e8] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[003:669] [2022-06-27 00:33:47 +0000.467379][4991] default mode: Set the recording
mode to voice communication to enable HW AEC .

[003:669] [2022-06-27 00:33:47 +0000.467436][4991] Set the recording mode before


getSetting: 4
[003:669] [2022-06-27 00:33:47 +0000.467457][4991] Set the recording mode after
getSetting: 1
[003:695] [2022-06-27 00:33:47 +0000.493276][4991] StartRecording finished.

[003:695] [2022-06-27 00:33:47 +0000.493324][4991] audio: start the audio mic


checker timer.

[003:696] [2022-06-27 00:33:47 +0000.494436][4991] machine model :poco


[003:696] [2022-06-27 00:33:47 +0000.494482][4991] Support this machine model :poco
[003:696] [2022-06-27 00:33:47 +0000.494502][4991] global inited! current sdk
version: 07-20-936c45f
[004:516] [2022-06-27 00:33:48 +0000.314352][27e8] Run AGC when audioType = 0
[004:516] [2022-06-27 00:33:48 +0000.315084][27e8]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:329] [2022-06-27 00:33:49 +0000.128144][27e8] haveEnoughProcessedData
internalAudioStream.length: 0
[005:741] [2022-06-27 00:33:49 +0000.539350][4991]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[005:741] [2022-06-27 00:33:49 +0000.539467][4991] ~MediaFilterCamera time:83076088
enter.

[005:741] [2022-06-27 00:33:49 +0000.539532][4991] StopPullFrameAndWriteMp4


time:83076088 enter.

[005:747] [2022-06-27 00:33:49 +0000.545865][27e3] stop recording


[005:748] [2022-06-27 00:33:49 +0000.546375][27e3] we have stopped recording before
[005:748] [2022-06-27 00:33:49 +0000.546451][4991] StopPullFrameAndWriteMp4 leave.
expire time = 7 ms

[005:748] [2022-06-27 00:33:49 +0000.546783][4991] DestroyPipelineAndFilters


time:83076095 enter.

[005:748] [2022-06-27 00:33:49 +0000.546817][4991] DestroyPipelineAndFilters


leave. expire time = 0 ms

[005:748] [2022-06-27 00:33:49 +0000.546838][4991] AppDeviceManagerStopMic

[005:748] [2022-06-27 00:33:49 +0000.546881][4991] AppDeviceManagerStopMic::mic


status is on
[005:748] [2022-06-27 00:33:49 +0000.546898][4991] Try to stop webrtc device.

[005:748] [2022-06-27 00:33:49 +0000.547286][4991] Set record state to


stopped.threadID:18833

[005:785] [2022-06-27 00:33:49 +0000.583947][4991] Try to destory the


recorder.threadID:18833

[005:985] [2022-06-27 00:33:49 +0000.784073][4991] DestroyAudioRecorder:


[005:986] [2022-06-27 00:33:49 +0000.784171][4991] Cleanup the buffer queue in the
recorder.
[005:986] [2022-06-27 00:33:49 +0000.784189][4991] Destroy the recorder.

[005:986] [2022-06-27 00:33:49 +0000.784893][4991] StopRecording finished.

[005:986] [2022-06-27 00:33:49 +0000.784945][4991] The stop recording success.

[005:986] [2022-06-27 00:33:49 +0000.784960][4991]


AudioDeviceDataHandler::StopMicProcess

[005:987] [2022-06-27 00:33:49 +0000.786066][4991] AppDeviceManager stop.

[005:987] [2022-06-27 00:33:49 +0000.786121][4991] Rlease the webrtc device object.

[005:988] [2022-06-27 00:33:49 +0000.786522][4991] OpenSlesInput destruct.

[005:988] [2022-06-27 00:33:49 +0000.786559][4991] OpenSlesOutput destruct.

[005:989] [2022-06-27 00:33:49 +0000.788126][4991] EventDispatchServerScope


destruct
[005:990] [2022-06-27 00:33:49 +0000.788178][4991]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[005:990] [2022-06-27 00:33:49 +0000.788216][4991] ~AudioDeviceDataHandler

[005:990] [2022-06-27 00:33:49 +0000.789056][4991] AppDeviceManagerDestruct.

[005:990] [2022-06-27 00:33:49 +0000.789087][4991] ~AppDeviceManager:


[005:990] [2022-06-27 00:33:49 +0000.789121][4991] ~CpuOverloadDetect time:83076337
enter.

[005:991] [2022-06-27 00:33:49 +0000.789320][4991] ~CpuOverloadDetect leave.


expire time = 1 ms

[005:992] [2022-06-27 00:33:49 +0000.790973][4991] Destruct BeautifyReader begin...


[005:992] [2022-06-27 00:33:49 +0000.791014][4991] Destruct BeautifyReader done.
[005:992] [2022-06-27 00:33:49 +0000.791040][4991] ~MediaFilterCamera leave.
expire time = 251 ms

[005:992] [2022-06-27 00:33:49 +0000.791161][4991] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[005:993] [2022-06-27 00:33:49 +0000.791416][4991] global uninited!
[005:994] [2022-06-27 00:33:49 +0000.792209][4991] clear AppID 50011
[005:994] [2022-06-27 00:33:49 +0000.792244][4991] UnRegister JVM for Xplatform
util
[005:994] [2022-06-27 00:33:49 +0000.792282][4991] Dispose::unregister webrtc video
engine
[005:994] [2022-06-27 00:33:49 +0000.792308][4991] Init the android object with
jvm:0x0 env:0x0 context:0x0

[005:994] [2022-06-27 00:33:49 +0000.792337][4991] SetAndroidMediaCodecObjects


time:83076341 enter.

[005:994] [2022-06-27 00:33:49 +0000.792362][4991] ClearAndroidMediaCodecObjects


time:83076341 enter.

[005:994] [2022-06-27 00:33:49 +0000.792390][4991] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[005:994] [2022-06-27 00:33:49 +0000.792414][4991] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[005:994] [2022-06-27 00:33:49 +0000.792430][4991] SetAndroidMediaCodecObjects


time:83076341 enter.

[005:994] [2022-06-27 00:33:49 +0000.792456][4991] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[005:994] [2022-06-27 00:33:49 +0000.792482][4991] ClearAndroidMediaCodecObjects
time:83076341 enter.

[005:994] [2022-06-27 00:33:49 +0000.792507][4991] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[005:994] [2022-06-27 00:33:49 +0000.792532][4991] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[005:994] [2022-06-27 00:33:49 +0000.792558][4991] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[005:994] [2022-06-27 00:33:49 +0000.792583][4991] Dispose::unregister webrtc voice


engine
[005:994] [2022-06-27 00:33:49 +0000.792610][4991] Set the android objects with
jvm:0x0 env:0x0 context:0x0
[005:994] [2022-06-27 00:33:49 +0000.792636][4991] SystemUtil UnInit done
[010:115] [2022-06-27 00:33:53 +0000.913957][4991] Register JVM for xplatform util
[010:129] [2022-06-27 00:33:53 +0000.927523][4991] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-06-
27 00:33:53 +0000
[010:129] [2022-06-27 00:33:53 +0000.927619][4991] set AppID=50011 old AppID=-1
[010:129] [2022-06-27 00:33:53 +0000.927643][4991] Init the android object with
jvm:0xb4000079a8ed5540 env:0x78f9f6c840 context:0x7875d17968

[010:129] [2022-06-27 00:33:53 +0000.927662][4991] SetAndroidMediaCodecObjects


time:83080476 enter.

[010:129] [2022-06-27 00:33:53 +0000.927680][4991] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[010:129] [2022-06-27 00:33:53 +0000.927697][4991] SetAndroidMediaCodecObjects


time:83080476 enter.

[010:129] [2022-06-27 00:33:53 +0000.927712][4991] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079a8ed5540
[010:129] [2022-06-27 00:33:53 +0000.927727][4991] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079a8ed5540 address:0x77cc0e9760
[010:129] [2022-06-27 00:33:53 +0000.927744][4991] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079a8ed5540
address:0x77cc0e9760
[010:129] [2022-06-27 00:33:53 +0000.927759][4991] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[010:129] [2022-06-27 00:33:53 +0000.927774][4991] Set the android objects with


jvm:0xb4000079a8ed5540 env:0x78f9f6c840 context:0x7875d17968

[010:129] [2022-06-27 00:33:53 +0000.927790][4991] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78f9f6c840
[010:129] [2022-06-27 00:33:53 +0000.927807][4991] SystemUtil Init done
[010:130] [2022-06-27 00:33:53 +0000.928334][4991]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[010:130] [2022-06-27 00:33:53 +0000.928613][4991] MediaFilterCamera
[010:130] [2022-06-27 00:33:53 +0000.928664][4991] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[010:130] [2022-06-27 00:33:53 +0000.928890][4991] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[010:130] [2022-06-27 00:33:53 +0000.928960][4991] Recording session using default
bitrate support by app:31457280
[010:130] [2022-06-27 00:33:53 +0000.929071][2892] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78e779e3c0
[010:130] [2022-06-27 00:33:53 +0000.929151][2892] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[010:131] [2022-06-27 00:33:53 +0000.929248][4991] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[010:132] [2022-06-27 00:33:53 +0000.930909][4991] Error(ini.cc:191): Open the file
failed. error:2
[010:132] [2022-06-27 00:33:53 +0000.930982][4991]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[010:132] [2022-06-27 00:33:53 +0000.931008][4991] The device model: m2012k11ag
usingSoftwareAEC value: 0
[010:138] [2022-06-27 00:33:53 +0000.936625][4991] Error(ini.cc:191): Open the file
failed. error:2
[010:138] [2022-06-27 00:33:53 +0000.936701][4991]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[010:138] [2022-06-27 00:33:53 +0000.936722][4991] The device model: m2012k11ag
usingHardwareAEC value: 0
[010:138] [2022-06-27 00:33:53 +0000.936736][4991] The machine device: m2012k11ag
usingHardwareAEC value: 0
[010:138] [2022-06-27 00:33:53 +0000.936751][4991] Using Default AEC type: software
AEC
[010:139] [2022-06-27 00:33:53 +0000.937620][4991] The device model: m2012k11ag
enum value: 0
[010:139] [2022-06-27 00:33:53 +0000.937919][4991] GetMachineModel is M2012K11AG
[010:139] [2022-06-27 00:33:53 +0000.937952][4991] GetMachineInfo: M2012K11AG
[010:139] [2022-06-27 00:33:53 +0000.937967][4991] Construct BeautifyReader
begin...
[010:139] [2022-06-27 00:33:53 +0000.937980][4991] dumpStickerRgba:0
dumpStickerYuv:0
[010:139] [2022-06-27 00:33:53 +0000.938005][4991] Construct BeautifyReader done.
[010:144] [2022-06-27 00:33:53 +0000.942524][4991] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[010:144] [2022-06-27 00:33:53 +0000.942606][4991] AppDeviceManager telnet server
for statistics started......
[010:144] [2022-06-27 00:33:53 +0000.942702][2895] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7825fd74a0
[010:144] [2022-06-27 00:33:53 +0000.943061][4991] CpuOverloadDetect time:83080491
enter.

[010:144] [2022-06-27 00:33:53 +0000.943150][4991] CpuOverloadDetect leave. expire


time = 0 ms

[010:144] [2022-06-27 00:33:53 +0000.943214][2896] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x78e767ea00
[010:145] [2022-06-27 00:33:53 +0000.943568][4991] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[010:145] [2022-06-27 00:33:53 +0000.943590][4991] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[010:145] [2022-06-27 00:33:53 +0000.943731][4991] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[010:145] [2022-06-27 00:33:53 +0000.944121][4991] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[010:146] [2022-06-27 00:33:53 +0000.944266][4991] CreatePlatformSpecificObjects:
[010:146] [2022-06-27 00:33:53 +0000.944296][4991] audio device use opensle input
and opensl output
[010:146] [2022-06-27 00:33:53 +0000.944339][4991] Create OpenSLES output module
with java VM support.

[010:146] [2022-06-27 00:33:53 +0000.944414][4991] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[010:146] [2022-06-27 00:33:53 +0000.944508][4991] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[010:146] [2022-06-27 00:33:53 +0000.944612][4991] Create OpenSLES output module
with buffer num:1

[010:146] [2022-06-27 00:33:53 +0000.944684][4991] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[010:146] [2022-06-27 00:33:53 +0000.944778][4991] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[010:151] [2022-06-27 00:33:53 +0000.949627][4991] Create OpenSLES input module
with java VM support.
[010:151] [2022-06-27 00:33:53 +0000.949771][4991] Create OpenSLES input module
with buffer num:1

[010:151] [2022-06-27 00:33:53 +0000.949796][4991] Error(trace.cc:40): Init the


output and input for audio device template.
[010:151] [2022-06-27 00:33:53 +0000.949809][4991] Init the output device.

[010:151] [2022-06-27 00:33:53 +0000.949823][4991] Init the opensl input.


[010:151] [2022-06-27 00:33:53 +0000.949839][4991] AppDeviceManager get setting
samplerate: 0
[010:151] [2022-06-27 00:33:53 +0000.950075][4991] The device model: m2012k11ag
enum value: 0
[010:152] [2022-06-27 00:33:53 +0000.950434][4991] The device model: m2012k11ag
enum value: 0
[010:152] [2022-06-27 00:33:53 +0000.950479][4991] Set the sample rate to be:48000

[010:152] [2022-06-27 00:33:53 +0000.950951][4991] Enable the recording stereo:0


[010:152] [2022-06-27 00:33:53 +0000.951153][4991] Set the playout as stereo:1
[010:153] [2022-06-27 00:33:53 +0000.951405][4991] Init the microphone.
[010:153] [2022-06-27 00:33:53 +0000.951881][4991] Update the recording sample rate
to be: 48000
[010:153] [2022-06-27 00:33:53 +0000.951967][4991] Init the speaker.
[010:153] [2022-06-27 00:33:53 +0000.951995][4991] Low latency buffer size:144 low
sample rate:48000
[010:154] [2022-06-27 00:33:53 +0000.952231][4991] Using 1 x 10ms for an audio
frame.

[010:157] [2022-06-27 00:33:53 +0000.955731][4991] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[010:157] [2022-06-27 00:33:53 +0000.955813][4991] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[010:157] [2022-06-27 00:33:53 +0000.955842][4991] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[010:161] [2022-06-27 00:33:53 +0000.959960][4991] The device model:m2012k11ag

[010:161] [2022-06-27 00:33:53 +0000.960020][4991] speaker output factor:100


defaultFactor: 100

[010:161] [2022-06-27 00:33:53 +0000.960040][4991] headset output factor:100


defaultFactor: 100

[010:162] [2022-06-27 00:33:53 +0000.960287][4991] AppDeviceManagerStart finished.


[010:162] [2022-06-27 00:33:53 +0000.960314][4991] AppDeviceManagerStartMic::mic
status is off
[010:162] [2022-06-27 00:33:53 +0000.960365][4991] AppDeviceManagerStartMic update
aec type: 2

[010:162] [2022-06-27 00:33:53 +0000.960384][4991] AppDeviceManagerStartMic update


voiceChangeMode: 4

[010:162] [2022-06-27 00:33:53 +0000.960400][4991]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[010:162] [2022-06-27 00:33:53 +0000.960430][4991]
AudioDeviceDataHandler::StartMicProcess

[010:162] [2022-06-27 00:33:53 +0000.960539][4991] Try to start webrtc recording


device.

[010:162] [2022-06-27 00:33:53 +0000.960561][4991] StartRecording. threadID:18833


[010:162] [2022-06-27 00:33:53 +0000.960598][4991] default mode: Set the recording
mode to voice communication to enable HW AEC .

[010:162] [2022-06-27 00:33:53 +0000.960576][2897] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[010:162] [2022-06-27 00:33:53 +0000.960616][4991] Set the recording mode before
getSetting: 4
[010:162] [2022-06-27 00:33:53 +0000.960682][4991] Set the recording mode after
getSetting: 1
[010:207] [2022-06-27 00:33:54 +0000.5630][4991] StartRecording finished.

[010:207] [2022-06-27 00:33:54 +0000.5762][4991] audio: start the audio mic checker
timer.

[010:207] [2022-06-27 00:33:54 +0000.6113][4991] machine model :poco


[010:207] [2022-06-27 00:33:54 +0000.6135][4991] Support this machine model :poco
[010:207] [2022-06-27 00:33:54 +0000.6156][4991] global inited! current sdk
version: 07-20-936c45f
[010:387] [2022-06-27 00:33:54 +0000.185793][6112]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[010:387] [2022-06-27 00:33:54 +0000.185934][2893] MediaFilterCamera, recording
file context:0x781ffc5380 input texture:31
[010:387] [2022-06-27 00:33:54 +0000.185979][2893] GLESContext:
[010:387] [2022-06-27 00:33:54 +0000.186020][2893] The result of eglGetDisplay is:
0xb4000078f9f69c80
[010:388] [2022-06-27 00:33:54 +0000.186602][2893] The result of creation:
0x7825fcce00
[010:388] [2022-06-27 00:33:54 +0000.186670][2893] The result of
eglCreatePbufferSurface is: 0x7825fccf00
[010:388] [2022-06-27 00:33:54 +0000.186731][6112]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x781ffc5380 input_texture: 31
[011:090] [2022-06-27 00:33:54 +0000.888879][2897] Run AGC when audioType = 0
[011:347] [2022-06-27 00:33:55 +0000.145770][2897] haveEnoughProcessedData
internalAudioStream.length: 20
[013:049] [2022-06-27 00:33:56 +0000.848169][2897] haveEnoughProcessedData
internalAudioStream.length: 0
[013:086] [2022-06-27 00:33:56 +0000.884467][2897] Run AGC when audioType = 0
[013:086] [2022-06-27 00:33:56 +0000.884601][2897]
AudioDeviceDataHandler::MixAndSendOutFrame
[014:209] [2022-06-27 00:33:58 +0000.7372][27b7] monitorTime:4002totalDuration:3920
[014:279] [2022-06-27 00:33:58 +0000.77831][4991]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[014:279] [2022-06-27 00:33:58 +0000.77971][4991] ~MediaFilterCamera time:83084626
enter.

[014:279] [2022-06-27 00:33:58 +0000.78015][4991] StopPullFrameAndWriteMp4


time:83084626 enter.

[014:281] [2022-06-27 00:33:58 +0000.79255][2892] stop recording


[014:281] [2022-06-27 00:33:58 +0000.79369][2892] we have stopped recording before
[014:281] [2022-06-27 00:33:58 +0000.79691][4991] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[014:285] [2022-06-27 00:33:58 +0000.83687][4991] DestroyPipelineAndFilters


time:83084632 enter.

[014:285] [2022-06-27 00:33:58 +0000.83893][4991] DestroyPipelineAndFilters leave.


expire time = 0 ms

[014:285] [2022-06-27 00:33:58 +0000.83942][4991] AppDeviceManagerStopMic

[014:285] [2022-06-27 00:33:58 +0000.84103][4991] AppDeviceManagerStopMic::mic


status is on
[014:286] [2022-06-27 00:33:58 +0000.84267][4991] Try to stop webrtc device.

[014:286] [2022-06-27 00:33:58 +0000.84383][4991] Set record state to


stopped.threadID:1[000:038] [2022-06-27 02:33:58 +0000.722226][4b45] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-06-
27 02:33:58 +0000
[000:038] [2022-06-27 02:33:58 +0000.722286][4b45] set AppID=50011 old AppID=-1
[000:038] [2022-06-27 02:33:58 +0000.722305][4b45] Init the android object with
jvm:0xb4000079a8ed5540 env:0x78f9f6cd40 context:0x78745f6338

[000:038] [2022-06-27 02:33:58 +0000.722323][4b45] SetAndroidMediaCodecObjects


time:90227026 enter.

[000:038] [2022-06-27 02:33:58 +0000.722343][4b45] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:038] [2022-06-27 02:33:58 +0000.722359][4b45] SetAndroidMediaCodecObjects


time:90227026 enter.

[000:038] [2022-06-27 02:33:58 +0000.722374][4b45] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079a8ed5540
[000:038] [2022-06-27 02:33:58 +0000.722389][4b45] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079a8ed5540 address:0x77f9f3b760
[000:038] [2022-06-27 02:33:58 +0000.722425][4b45] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079a8ed5540
address:0x77f9f3b760
[000:038] [2022-06-27 02:33:58 +0000.722442][4b45] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:038] [2022-06-27 02:33:58 +0000.722469][4b45] Set the android objects with


jvm:0xb4000079a8ed5540 env:0x78f9f6cd40 context:0x78745f6338

[000:039] [2022-06-27 02:33:58 +0000.723501][4b45] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78f9f6cd40
[000:039] [2022-06-27 02:33:58 +0000.723535][4b45] SystemUtil Init done
[000:041] [2022-06-27 02:33:58 +0000.725382][4b45]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:041] [2022-06-27 02:33:58 +0000.726069][4b45] MediaFilterCamera
[000:042] [2022-06-27 02:33:58 +0000.726099][4b45] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:042] [2022-06-27 02:33:58 +0000.726164][4b45] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:042] [2022-06-27 02:33:58 +0000.726182][4b45] Recording session using default
bitrate support by app:31457280
[000:042] [2022-06-27 02:33:58 +0000.726200][cab] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78e75da0c0
[000:045] [2022-06-27 02:33:58 +0000.729275][cab] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:045] [2022-06-27 02:33:58 +0000.729432][4b45] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:046] [2022-06-27 02:33:58 +0000.730228][4b45] Error(ini.cc:191): Open the file
failed. error:2
[000:046] [2022-06-27 02:33:58 +0000.730259][4b45]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:046] [2022-06-27 02:33:58 +0000.730288][4b45] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:047] [2022-06-27 02:33:58 +0000.732002][4b45] Error(ini.cc:191): Open the file
failed. error:2
[000:047] [2022-06-27 02:33:58 +0000.732039][4b45]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:047] [2022-06-27 02:33:58 +0000.732075][4b45] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:048] [2022-06-27 02:33:58 +0000.732106][4b45] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:048] [2022-06-27 02:33:58 +0000.732117][4b45] Using Default AEC type: software
AEC
[000:048] [2022-06-27 02:33:58 +0000.732842][4b45] The device model: m2012k11ag
enum value: 0
[000:049] [2022-06-27 02:33:58 +0000.733094][4b45] GetMachineModel is M2012K11AG
[000:049] [2022-06-27 02:33:58 +0000.733116][4b45] GetMachineInfo: M2012K11AG
[000:049] [2022-06-27 02:33:58 +0000.733137][4b45] Construct BeautifyReader
begin...
[000:049] [2022-06-27 02:33:58 +0000.733147][4b45] dumpStickerRgba:0
dumpStickerYuv:0
[000:049] [2022-06-27 02:33:58 +0000.733157][4b45] Construct BeautifyReader done.
[000:051] [2022-06-27 02:33:58 +0000.735893][4b45] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:051] [2022-06-27 02:33:58 +0000.735953][cae] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78704f73a0
[000:052] [2022-06-27 02:33:58 +0000.736146][4b45] AppDeviceManager telnet server
for statistics started......
[000:052] [2022-06-27 02:33:58 +0000.736502][4b45] CpuOverloadDetect time:90227040
enter.

[000:052] [2022-06-27 02:33:58 +0000.736577][4b45] CpuOverloadDetect leave. expire


time = 0 ms

[000:052] [2022-06-27 02:33:58 +0000.736599][caf] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x78e7681080
[000:052] [2022-06-27 02:33:58 +0000.736871][4b45] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:052] [2022-06-27 02:33:58 +0000.736885][4b45] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:052] [2022-06-27 02:33:58 +0000.737084][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:053] [2022-06-27 02:33:58 +0000.737655][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:053] [2022-06-27 02:33:58 +0000.737912][4b45] CreatePlatformSpecificObjects:
[000:053] [2022-06-27 02:33:58 +0000.737933][4b45] audio device use opensle input
and opensl output
[000:053] [2022-06-27 02:33:58 +0000.737960][4b45] Create OpenSLES output module
with java VM support.

[000:053] [2022-06-27 02:33:58 +0000.738032][4b45] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:054] [2022-06-27 02:33:58 +0000.738113][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:054] [2022-06-27 02:33:58 +0000.738191][4b45] Create OpenSLES output module
with buffer num:1

[000:054] [2022-06-27 02:33:58 +0000.738277][4b45] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:054] [2022-06-27 02:33:58 +0000.738351][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:054] [2022-06-27 02:33:58 +0000.738437][4b45] Create OpenSLES input module
with java VM support.

[000:054] [2022-06-27 02:33:58 +0000.738458][4b45] Create OpenSLES input module


with buffer num:1

[000:054] [2022-06-27 02:33:58 +0000.738512][4b45] Error(trace.cc:40): Init the


output and input for audio device template.
[000:054] [2022-06-27 02:33:58 +0000.738525][4b45] Init the output device.

[000:054] [2022-06-27 02:33:58 +0000.738535][4b45] Init the opensl input.


[000:054] [2022-06-27 02:33:58 +0000.738546][4b45] AppDeviceManager get setting
samplerate: 0
[000:054] [2022-06-27 02:33:58 +0000.738722][4b45] The device model: m2012k11ag
enum value: 0
[000:054] [2022-06-27 02:33:58 +0000.738968][4b45] The device model: m2012k11ag
enum value: 0
[000:054] [2022-06-27 02:33:58 +0000.738985][4b45] Set the sample rate to be:48000

[000:054] [2022-06-27 02:33:58 +0000.738997][4b45] Enable the recording stereo:0


[000:054] [2022-06-27 02:33:58 +0000.739009][4b45] Set the playout as stereo:1
[000:054] [2022-06-27 02:33:58 +0000.739018][4b45] Init the microphone.
[000:055] [2022-06-27 02:33:58 +0000.739382][4b45] Update the recording sample rate
to be: 48000
[000:055] [2022-06-27 02:33:58 +0000.739410][4b45] Init the speaker.
[000:055] [2022-06-27 02:33:58 +0000.739442][4b45] Low latency buffer size:144 low
sample rate:48000
[000:055] [2022-06-27 02:33:58 +0000.739783][4b45] Using 1 x 10ms for an audio
frame.

[000:058] [2022-06-27 02:33:58 +0000.742714][4b45] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:058] [2022-06-27 02:33:58 +0000.742797][4b45] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:058] [2022-06-27 02:33:58 +0000.742816][4b45] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:068] [2022-06-27 02:33:58 +0000.752358][4b45] The device model:m2012k11ag

[000:068] [2022-06-27 02:33:58 +0000.752417][4b45] speaker output factor:100


defaultFactor: 100

[000:068] [2022-06-27 02:33:58 +0000.752429][4b45] headset output factor:100


defaultFactor: 100

[000:068] [2022-06-27 02:33:58 +0000.752661][4b45] AppDeviceManagerStart finished.


[000:068] [2022-06-27 02:33:58 +0000.752688][4b45] AppDeviceManagerStartMic::mic
status is off
[000:068] [2022-06-27 02:33:58 +0000.752723][4b45] AppDeviceManagerStartMic update
aec type: 2

[000:068] [2022-06-27 02:33:58 +0000.752740][4b45] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:068] [2022-06-27 02:33:58 +0000.752751][4b45]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:068] [2022-06-27 02:33:58 +0000.752771][4b45]
AudioDeviceDataHandler::StartMicProcess

[000:068] [2022-06-27 02:33:58 +0000.752864][4b45] Try to start webrtc recording


device.

[000:068] [2022-06-27 02:33:58 +0000.752887][4b45] StartRecording. threadID:19269

[000:068] [2022-06-27 02:33:58 +0000.753058][4b45] The machine model:M2012K11AG

[000:069] [2022-06-27 02:33:58 +0000.753104][4b45] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:069] [2022-06-27 02:33:58 +0000.753117][4b45] Set the recording mode before


getSetting: 4
[000:069] [2022-06-27 02:33:58 +0000.753132][4b45] Set the recording mode after
getSetting: 1
[000:069] [2022-06-27 02:33:58 +0000.753284][cb0] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:069] [2022-06-27 02:33:58 +0000.753942][cb0] haveEnoughProcessedData
internalAudioStream.length: 0
[000:139] [2022-06-27 02:33:58 +0000.823303][4b45] StartRecording finished.

[000:139] [2022-06-27 02:33:58 +0000.823379][4b45] audio: start the audio mic


checker timer.

[000:139] [2022-06-27 02:33:58 +0000.823698][4b45] machine model :poco


[000:139] [2022-06-27 02:33:58 +0000.823715][4b45] Support this machine model :poco
[000:145] [2022-06-27 02:33:58 +0000.829252][4b45] global inited! current sdk
version: 07-20-936c45f
[000:220] [2022-06-27 02:33:58 +0000.904382][cb1] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:220] [2022-06-27 02:33:58 +0000.904871][cb1] _deviceSampleRate:48000

[000:221] [2022-06-27 02:33:58 +0000.906020][cb0] Run AGC when audioType = 0


[000:221] [2022-06-27 02:33:58 +0000.906082][cb0]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:463] [2022-06-27 02:33:59 +0000.147207][c53]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:463] [2022-06-27 02:33:59 +0000.147534][cac] MediaFilterCamera, recording file
context:0x78e77fba80 input texture:4
[000:463] [2022-06-27 02:33:59 +0000.147586][cac] GLESContext:
[000:463] [2022-06-27 02:33:59 +0000.147615][cac] The result of eglGetDisplay is:
0xb4000078f9f69c80
[000:464] [2022-06-27 02:33:59 +0000.148182][cac] The result of creation:
0x780bf0a500
[000:464] [2022-06-27 02:33:59 +0000.148257][cac] The result of
eglCreatePbufferSurface is: 0x780bf0a600
[000:464] [2022-06-27 02:33:59 +0000.148516][c53]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x78e77fba80 input_texture: 4
[001:874] [2022-06-27 02:34:00 +0000.558317][cb0] haveEnoughProcessedData
internalAudioStream.length: 0
[002:223] [2022-06-27 02:34:00 +0000.907653][cb0] Run AGC when audioType = 0
[003:582] [2022-06-27 02:34:02 +0000.266190][cb0] haveEnoughProcessedData
internalAudioStream.length: 20
[004:140] [2022-06-27 02:34:02 +0000.824260][ca5]
monitorTime:4001totalDuration:3920
[004:222] [2022-06-27 02:34:02 +0000.906771][cb0] Run AGC when audioType = 0
[004:222] [2022-06-27 02:34:02 +0000.906840][cb0]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:865] [2022-06-27 02:34:03 +0000.549396][4b45]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[004:865] [2022-06-27 02:34:03 +0000.549529][4b45] ~MediaFilterCamera time:90231853
enter.

[004:865] [2022-06-27 02:34:03 +0000.549543][4b45] StopPullFrameAndWriteMp4


time:90231853 enter.

[004:867] [2022-06-27 02:34:03 +0000.551655][cab] stop recording


[004:867] [2022-06-27 02:34:03 +0000.551716][cab] we have stopped recording before
[004:867] [2022-06-27 02:34:03 +0000.551752][4b45] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[004:869] [2022-06-27 02:34:03 +0000.554053][4b45] DestroyPipelineAndFilters


time:90231857 enter.

[004:870] [2022-06-27 02:34:03 +0000.554303][4b45] DestroyPipelineAndFilters


leave. expire time = 1 ms

[004:870] [2022-06-27 02:34:03 +0000.554362][4b45] AppDeviceManagerStopMic

[004:870] [2022-06-27 02:34:03 +0000.554462][4b45] AppDeviceManagerStopMic::mic


status is on
[004:870] [2022-06-27 02:34:03 +0000.554499][4b45] Try to stop webrtc device.

[004:870] [2022-06-27 02:34:03 +0000.554535][4b45] Set record state to


stopped.threadID:19269

[004:904] [2022-06-27 02:34:03 +0000.588258][4b45] Try to destory the


recorder.threadID:19269

[005:104] [2022-06-27 02:34:03 +0000.788390][4b45] DestroyAudioRecorder:


[005:104] [2022-06-27 02:34:03 +0000.788452][4b45] Cleanup the buffer queue in the
recorder.
[005:104] [2022-06-27 02:34:03 +0000.788470][4b45] Destroy the recorder.

[005:104] [2022-06-27 02:34:03 +0000.788866][4b45] StopRecording finished.

[005:104] [2022-06-27 02:34:03 +0000.788892][4b45] The stop recording success.

[005:104] [2022-06-27 02:34:03 +0000.788904][4b45]


AudioDeviceDataHandler::StopMicProcess

[005:107] [2022-06-27 02:34:03 +0000.791344][4b45] AppDeviceManager stop.

[005:107] [2022-06-27 02:34:03 +0000.791409][4b45] Rlease the webrtc device object.

[005:107] [2022-06-27 02:34:03 +0000.791680][4b45] OpenSlesInput destruct.

[005:107] [2022-06-27 02:34:03 +0000.791719][4b45] OpenSlesOutput destruct.

[005:108] [2022-06-27 02:34:03 +0000.792183][4b45] EventDispatchServerScope


destruct
[005:108] [2022-06-27 02:34:03 +0000.792220][4b45]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[005:108] [2022-06-27 02:34:03 +0000.792253][4b45] ~AudioDeviceDataHandler
[005:108] [2022-06-27 02:34:03 +0000.792681][4b45] AppDeviceManagerDestruct.

[005:108] [2022-06-27 02:34:03 +0000.792713][4b45] ~AppDeviceManager:


[005:108] [2022-06-27 02:34:03 +0000.792745][4b45] ~CpuOverloadDetect time:90232096
enter.

[005:108] [2022-06-27 02:34:03 +0000.792913][4b45] ~CpuOverloadDetect leave.


expire time = 0 ms

[005:109] [2022-06-27 02:34:03 +0000.793633][4b45] Destruct BeautifyReader begin...


[005:109] [2022-06-27 02:34:03 +0000.793668][4b45] Destruct BeautifyReader done.
[005:109] [2022-06-27 02:34:03 +0000.793711][4b45] ~MediaFilterCamera leave.
expire time = 244 ms

[005:109] [2022-06-27 02:34:03 +0000.793805][4b45] ~GLESContext:


[005:110] [2022-06-27 02:34:03 +0000.794166][4b45] GLESContext destruct finish.
[005:110] [2022-06-27 02:34:03 +0000.794202][4b45] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[005:110] [2022-06-27 02:34:03 +0000.794394][4b45] global uninited!
[005:112] [2022-06-27 02:34:03 +0000.797038][4b45] clear AppID 50011
[005:112] [2022-06-27 02:34:03 +0000.797084][4b45] UnRegister JVM for Xplatform
util
[005:113] [2022-06-27 02:34:03 +0000.797106][4b45] Dispose::unregister webrtc video
engine
[005:113] [2022-06-27 02:34:03 +0000.797120][4b45] Init the android object with
jvm:0x0 env:0x0 context:0x0

[005:113] [2022-06-27 02:34:03 +0000.797150][4b45] SetAndroidMediaCodecObjects


time:90232101 enter.

[005:113] [2022-06-27 02:34:03 +0000.797175][4b45] ClearAndroidMediaCodecObjects


time:90232101 enter.

[005:113] [2022-06-27 02:34:03 +0000.797193][4b45] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[005:113] [2022-06-27 02:34:03 +0000.797215][4b45] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[005:113] [2022-06-27 02:34:03 +0000.797240][4b45] SetAndroidMediaCodecObjects


time:90232101 enter.

[005:113] [2022-06-27 02:34:03 +0000.797267][4b45] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[005:113] [2022-06-27 02:34:03 +0000.797291][4b45] ClearAndroidMediaCodecObjects
time:90232101 enter.

[005:113] [2022-06-27 02:34:03 +0000.797317][4b45] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[005:113] [2022-06-27 02:34:03 +0000.797342][4b45] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[005:113] [2022-06-27 02:34:03 +0000.797368][4b45] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[005:113] [2022-06-27 02:34:03 +0000.797411][4b45] Dispose::unregister webrtc voice


engine
[005:113] [2022-06-27 02:34:03 +0000.797432][4b45] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[005:113] [2022-06-27 02:34:03 +0000.797466][4b45] SystemUtil UnInit done


[005:805] [2022-06-27 02:34:04 +0000.489108][4b45] Register JVM for xplatform util
[005:812] [2022-06-27 02:34:04 +0000.496791][4b45] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-06-
27 02:34:04 +0000
[005:812] [2022-06-27 02:34:04 +0000.496835][4b45] set AppID=50011 old AppID=-1
[005:812] [2022-06-27 02:34:04 +0000.496853][4b45] Init the android object with
jvm:0xb4000079a8ed5540 env:0x78f9f6cd40 context:0x78745f6968

[005:812] [2022-06-27 02:34:04 +0000.496895][4b45] SetAndroidMediaCodecObjects


time:90232800 enter.

[005:812] [2022-06-27 02:34:04 +0000.496931][4b45] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[005:812] [2022-06-27 02:34:04 +0000.496962][4b45] SetAndroidMediaCodecObjects


time:90232800 enter.

[005:812] [2022-06-27 02:34:04 +0000.496997][4b45] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079a8ed5540
[005:812] [2022-06-27 02:34:04 +0000.497031][4b45] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079a8ed5540 address:0x77f9f3b760
[005:812] [2022-06-27 02:34:04 +0000.497064][4b45] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079a8ed5540
address:0x77f9f3b760
[005:813] [2022-06-27 02:34:04 +0000.497098][4b45] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[005:813] [2022-06-27 02:34:04 +0000.497114][4b45] Set the android objects with


jvm:0xb4000079a8ed5540 env:0x78f9f6cd40 context:0x78745f6968

[005:813] [2022-06-27 02:34:04 +0000.497131][4b45] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78f9f6cd40
[005:813] [2022-06-27 02:34:04 +0000.497170][4b45] SystemUtil Init done
[005:813] [2022-06-27 02:34:04 +0000.497450][4b45]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[005:813] [2022-06-27 02:34:04 +0000.497530][4b45] MediaFilterCamera
[005:813] [2022-06-27 02:34:04 +0000.497560][4b45] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[005:813] [2022-06-27 02:34:04 +0000.497652][4b45] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[005:813] [2022-06-27 02:34:04 +0000.497680][4b45] Recording session using default
bitrate support by app:31457280
[005:813] [2022-06-27 02:34:04 +0000.497680][ec1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78e75da0c0
[005:813] [2022-06-27 02:34:04 +0000.497742][ec1] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[005:813] [2022-06-27 02:34:04 +0000.497810][4b45] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[005:814] [2022-06-27 02:34:04 +0000.498268][4b45] Error(ini.cc:191): Open the file
failed. error:2
[005:814] [2022-06-27 02:34:04 +0000.498287][4b45]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[005:814] [2022-06-27 02:34:04 +0000.498299][4b45] The device model: m2012k11ag
usingSoftwareAEC value: 0
[005:817] [2022-06-27 02:34:04 +0000.501142][4b45] Error(ini.cc:191): Open the file
failed. error:2
[005:817] [2022-06-27 02:34:04 +0000.501183][4b45]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[005:817] [2022-06-27 02:34:04 +0000.501201][4b45] The device model: m2012k11ag
usingHardwareAEC value: 0
[005:817] [2022-06-27 02:34:04 +0000.501256][4b45] The machine device: m2012k11ag
usingHardwareAEC value: 0
[005:817] [2022-06-27 02:34:04 +0000.501268][4b45] Using Default AEC type: software
AEC
[005:817] [2022-06-27 02:34:04 +0000.501614][4b45] The device model: m2012k11ag
enum value: 0
[005:819] [2022-06-27 02:34:04 +0000.503608][4b45] GetMachineModel is M2012K11AG
[005:819] [2022-06-27 02:34:04 +0000.503648][4b45] GetMachineInfo: M2012K11AG
[005:819] [2022-06-27 02:34:04 +0000.503660][4b45] Construct BeautifyReader
begin...
[005:819] [2022-06-27 02:34:04 +0000.503671][4b45] dumpStickerRgba:0
dumpStickerYuv:0
[005:819] [2022-06-27 02:34:04 +0000.503681][4b45] Construct BeautifyReader done.
[005:821] [2022-06-27 02:34:04 +0000.505960][4b45] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[005:821] [2022-06-27 02:34:04 +0000.505991][ec4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78704f81a0
[005:821] [2022-06-27 02:34:04 +0000.506026][4b45] AppDeviceManager telnet server
for statistics started......
[005:822] [2022-06-27 02:34:04 +0000.506415][4b45] CpuOverloadDetect time:90232810
enter.

[005:822] [2022-06-27 02:34:04 +0000.506466][4b45] CpuOverloadDetect leave. expire


time = 0 ms

[005:822] [2022-06-27 02:34:04 +0000.506494][ec5] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x78e767ea00
[005:822] [2022-06-27 02:34:04 +0000.506740][4b45] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[005:822] [2022-06-27 02:34:04 +0000.506757][4b45] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[005:822] [2022-06-27 02:34:04 +0000.506887][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[005:823] [2022-06-27 02:34:04 +0000.507782][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[005:823] [2022-06-27 02:34:04 +0000.508002][4b45] CreatePlatformSpecificObjects:
[005:825] [2022-06-27 02:34:04 +0000.509104][4b45] audio device use opensle input
and opensl output
[005:825] [2022-06-27 02:34:04 +0000.509226][4b45] Create OpenSLES output module
with java VM support.

[005:825] [2022-06-27 02:34:04 +0000.509535][4b45] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[005:826] [2022-06-27 02:34:04 +0000.510382][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[005:826] [2022-06-27 02:34:04 +0000.510558][4b45] Create OpenSLES output module
with buffer num:1

[005:826] [2022-06-27 02:34:04 +0000.510662][4b45] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[005:826] [2022-06-27 02:34:04 +0000.510769][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[005:826] [2022-06-27 02:34:04 +0000.510868][4b45] Create OpenSLES input module
with java VM support.
[005:826] [2022-06-27 02:34:04 +0000.510894][4b45] Create OpenSLES input module
with buffer num:1

[005:826] [2022-06-27 02:34:04 +0000.510913][4b45] Error(trace.cc:40): Init the


output and input for audio device template.
[005:826] [2022-06-27 02:34:04 +0000.510932][4b45] Init the output device.

[005:826] [2022-06-27 02:34:04 +0000.510943][4b45] Init the opensl input.


[005:826] [2022-06-27 02:34:04 +0000.510955][4b45] AppDeviceManager get setting
samplerate: 0
[005:827] [2022-06-27 02:34:04 +0000.511149][4b45] The device model: m2012k11ag
enum value: 0
[005:827] [2022-06-27 02:34:04 +0000.511405][4b45] The device model: m2012k11ag
enum value: 0
[005:827] [2022-06-27 02:34:04 +0000.511422][4b45] Set the sample rate to be:48000

[005:827] [2022-06-27 02:34:04 +0000.511433][4b45] Enable the recording stereo:0


[005:827] [2022-06-27 02:34:04 +0000.511464][4b45] Set the playout as stereo:1
[005:827] [2022-06-27 02:34:04 +0000.511474][4b45] Init the microphone.
[005:827] [2022-06-27 02:34:04 +0000.511708][4b45] Update the recording sample rate
to be: 48000
[005:827] [2022-06-27 02:34:04 +0000.511740][4b45] Init the speaker.
[005:827] [2022-06-27 02:34:04 +0000.511757][4b45] Low latency buffer size:144 low
sample rate:48000
[005:827] [2022-06-27 02:34:04 +0000.511948][4b45] Using 1 x 10ms for an audio
frame.

[005:830] [2022-06-27 02:34:04 +0000.514572][4b45] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[005:830] [2022-06-27 02:34:04 +0000.514642][4b45] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[005:830] [2022-06-27 02:34:04 +0000.514660][4b45] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[005:834] [2022-06-27 02:34:04 +0000.518204][4b45] The device model:m2012k11ag

[005:834] [2022-06-27 02:34:04 +0000.518254][4b45] speaker output factor:100


defaultFactor: 100

[005:834] [2022-06-27 02:34:04 +0000.518265][4b45] headset output factor:100


defaultFactor: 100

[005:834] [2022-06-27 02:34:04 +0000.518458][4b45] AppDeviceManagerStart finished.


[005:834] [2022-06-27 02:34:04 +0000.518475][4b45] AppDeviceManagerStartMic::mic
status is off
[005:834] [2022-06-27 02:34:04 +0000.518515][4b45] AppDeviceManagerStartMic update
aec type: 2

[005:834] [2022-06-27 02:34:04 +0000.518526][4b45] AppDeviceManagerStartMic update


voiceChangeMode: 4

[005:834] [2022-06-27 02:34:04 +0000.518536][4b45]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[005:834] [2022-06-27 02:34:04 +0000.518546][4b45]
AudioDeviceDataHandler::StartMicProcess

[005:834] [2022-06-27 02:34:04 +0000.518635][4b45] Try to start webrtc recording


device.
[005:834] [2022-06-27 02:34:04 +0000.518652][4b45] StartRecording. threadID:19269

[005:834] [2022-06-27 02:34:04 +0000.518686][4b45] default mode: Set the recording


mode to voice communication to enable HW AEC .

[005:834] [2022-06-27 02:34:04 +0000.518669][ec6] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[005:834] [2022-06-27 02:34:04 +0000.518705][4b45] Set the recording mode before
getSetting: 4
[005:834] [2022-06-27 02:34:04 +0000.518753][4b45] Set the recording mode after
getSetting: 1
[005:862] [2022-06-27 02:34:04 +0000.546845][4b45] StartRecording finished.

[005:862] [2022-06-27 02:34:04 +0000.546947][4b45] audio: start the audio mic


checker timer.

[005:863] [2022-06-27 02:34:04 +0000.547280][4b45] machine model :poco


[005:863] [2022-06-27 02:34:04 +0000.547311][4b45] Support this machine model :poco
[005:863] [2022-06-27 02:34:04 +0000.547333][4b45] global inited! current sdk
version: 07-20-936c45f
[006:054] [2022-06-27 02:34:04 +0000.738273][c53]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[006:055] [2022-06-27 02:34:04 +0000.739124][ec2] MediaFilterCamera, recording file
context:0x78e77fba80 input texture:6
[006:055] [2022-06-27 02:34:04 +0000.739173][ec2] GLESContext:
[006:055] [2022-06-27 02:34:04 +0000.739198][ec2] The result of eglGetDisplay is:
0xb4000078f9f69c80
[006:055] [2022-06-27 02:34:04 +0000.739725][ec2] The result of creation:
0x77e92ac280
[006:055] [2022-06-27 02:34:04 +0000.739793][ec2] The result of
eglCreatePbufferSurface is: 0x77e92ac380
[006:057] [2022-06-27 02:34:04 +0000.741476][c53]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x78e77fba80 input_texture: 6
[006:141] [2022-06-27 02:34:04 +0000.825513][ec6] haveEnoughProcessedData
internalAudioStream.length: 10
[007:284] [2022-06-27 02:34:05 +0000.968651][ec6] Run AGC when audioType = 0
[007:848] [2022-06-27 02:34:06 +0000.532576][ec6] haveEnoughProcessedData
internalAudioStream.length: 0
[009:282] [2022-06-27 02:34:07 +0000.966802][ec6] Run AGC when audioType = 0
[009:282] [2022-06-27 02:34:07 +0000.967069][ec6]
AudioDeviceDataHandler::MixAndSendOutFrame
[009:563] [2022-06-27 02:34:08 +0000.247417][ec6] haveEnoughProcessedData
internalAudioStream.length: 10
[009:864] [2022-06-27 02:34:08 +0000.548313][ca5]
monitorTime:4002totalDuration:3940
[010:772] [2022-06-27 02:34:09 +0000.456622][4b09] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[010:772] [2022-06-27 02:34:09 +0000.456722][4b09]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[010:773] [2022-06-27 02:34:09 +0000.457445][4b09]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[010:773] [2022-06-27 02:34:09 +0000.457968][ec2] operator() time:90237761 enter.

[010:773] [2022-06-27 02:34:09 +0000.458036][ec2] MediaFilterCamera, recording


file context:0x78e77fba80 input texture:6
[010:774] [2022-06-27 02:34:09 +0000.459069][ec2] MicSource: Mic source
created:10x78f9f70d80
[010:775] [2022-06-27 02:34:09 +0000.459557][ec2] received external audio stream

[010:775] [2022-06-27 02:34:09 +0000.459599][ec2] alloc thread: 0x77e721dd00


name:worker0 thread id:515445738672 to Mic_source
[010:775] [2022-06-27 02:34:09 +0000.459649][ec2] audio: start the audio sender
thread.

[010:775] [2022-06-27 02:34:09 +0000.459699][ec2] construct OpenGLRenderProgram


0x780bb7e198
[010:775] [2022-06-27 02:34:09 +0000.459759][ec2] CropFilter::SetOrientation
orientation: 90
[010:775] [2022-06-27 02:34:09 +0000.459849][ec2] filter: filter pipeline construtc
this: 0x78243bfe40
[010:775] [2022-06-27 02:34:09 +0000.459874][ec2] filter: filter pipeline2 update
pattern: 1
[010:775] [2022-06-27 02:34:09 +0000.459938][ec2] CameraSource::source_id_:1
[010:775] [2022-06-27 02:34:09 +0000.459971][ec2] RecordAudioSource::source_id_:2
[010:776] [2022-06-27 02:34:09 +0000.460213][ec2] BindInputFilter 0x77e7560240
this 0x780bb7e3c0
[010:776] [2022-06-27 02:34:09 +0000.460251][ec2] BindInputFilter 0x77e75606d8
this 0x780ccefbd0
[010:776] [2022-06-27 02:34:09 +0000.460273][ec2] BindInputFilter 0x780bb7e3c0
this 0x78243bfee0
[010:776] [2022-06-27 02:34:09 +0000.460303][ec2] setParamentForFilters:
speed:1.000000
[010:776] [2022-06-27 02:34:09 +0000.460317][ec2] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[010:776] [2022-06-27 02:34:09 +0000.460333][ec2] SetParamForFilter time:90237764
enter.

[010:776] [2022-06-27 02:34:09 +0000.460347][ec2] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[010:776] [2022-06-27 02:34:09 +0000.460364][ec2] SetParamForFilter: Params video
index is: 0
[010:776] [2022-06-27 02:34:09 +0000.460379][ec2] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[010:776] [2022-06-27 02:34:09 +0000.460394][ec2] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[010:776] [2022-06-27 02:34:09 +0000.460408][ec2] crop filter mode tpye:
citytravelvideo index:0
[010:779] [2022-06-27 02:34:09 +0000.463183][ec6] On audio frame the broadcast with
timestamp:90237767 samples:480. (1000 frame for one log)

[010:779] [2022-06-27 02:34:09 +0000.463430][ec2]


Warning(parse_template_json.cc:45): json parament no found the parament
[010:779] [2022-06-27 02:34:09 +0000.463466][ec2]
Warning(parse_template_json.cc:45): json parament no found the parament
[010:779] [2022-06-27 02:34:09 +0000.463483][ec2]
Warning(parse_template_json.cc:45): json parament no found the parament
[010:779] [2022-06-27 02:34:09 +0000.463514][ec2]
Warning(parse_template_json.cc:45): json parament no found the parament
[010:779] [2022-06-27 02:34:09 +0000.463530][ec2]
Warning(parse_template_json.cc:45): json parament no found the parament
[010:779] [2022-06-27 02:34:09 +0000.463559][ec2]
Warning(parse_template_json.cc:45): json parament no found the parament
[010:779] [2022-06-27 02:34:09 +0000.463575][ec2]
Warning(parse_template_json.cc:45): json parament no found the parament
[010:779] [2022-06-27 02:34:09 +0000.463601][ec2]
Warning(parse_template_json.cc:81): json parament no found the parament
[010:779] [2022-06-27 02:34:09 +0000.463618][ec2]
Warning(parse_template_json.cc:81): json parament no found the parament
[010:779] [2022-06-27 02:34:09 +0000.463644][ec2]
Warning(parse_template_json.cc:67): json parament no found the parament
[010:779] [2022-06-27 02:34:09 +0000.463659][ec2]
Warning(parse_template_json.cc:93): json parament no found the duration
[010:779] [2022-06-27 02:34:09 +0000.463704][ec2] SetParamForFilter leave. expire
time = 3 ms

[010:779] [2022-06-27 02:34:09 +0000.463824][ec2] OnOutputSizeChanged width 1920


height 1080
[010:779] [2022-06-27 02:34:09 +0000.463851][ec2] OpenGLFrameBuffer: width:1920
height:1080
[010:779] [2022-06-27 02:34:09 +0000.463887][ec2] OpenGLFrameBuffer: width:1920
height:1080
[010:779] [2022-06-27 02:34:09 +0000.463909][ec2] OpenGLFrameBuffer: width:1920
height:1080
[010:779] [2022-06-27 02:34:09 +0000.463925][ec2] OpenGLFrameBuffer: width:1920
height:1080
[010:779] [2022-06-27 02:34:09 +0000.463952][ec2] OpenGLFrameBuffer: width:1920
height:1080
[010:779] [2022-06-27 02:34:09 +0000.463967][ec2] OpenGLFrameBuffer: width:1920
height:1080
[010:779] [2022-06-27 02:34:09 +0000.463980][ec2] construct TrivalImageDrawer
0x780cf525c0
[010:779] [2022-06-27 02:34:09 +0000.463996][ec2] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x780cf525c0 context 0x780bad8940
[010:779] [2022-06-27 02:34:09 +0000.464065][ec2] setupGLES:
[010:780] [2022-06-27 02:34:09 +0000.464304][ec2] OpenGLRenderProgram::Initialize.
[010:780] [2022-06-27 02:34:09 +0000.464351][ec2] The version of the OpenGL: OpenGL
ES GLSL ES 3.20
[010:780] [2022-06-27 02:34:09 +0000.464390][ec2] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[010:780] [2022-06-27 02:34:09 +0000.464422][ec2] Init open gl render: 0x780bb7e198
[010:780] [2022-06-27 02:34:09 +0000.464440][ec2] Fragement shader path:
[010:780] [2022-06-27 02:34:09 +0000.464466][ec2] Fragement shader path:
[010:780] [2022-06-27 02:34:09 +0000.464480][ec2] create opengl program object.
[010:780] [2022-06-27 02:34:09 +0000.464494][ec2] create shader: vertex
[010:783] [2022-06-27 02:34:09 +0000.467629][ec2] create shader: fragment
[010:787] [2022-06-27 02:34:09 +0000.471243][f0c] Get data in mic source, which has
byte length:1764micAudioStream->length():20
[010:787] [2022-06-27 02:34:09 +0000.471514][f0c] The output timestamp from audio
mixer change:90237767
[010:787] [2022-06-27 02:34:09 +0000.471548][f0c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[010:813] [2022-06-27 02:34:09 +0000.497685][ec2] Have not extra filter filename!
[010:813] [2022-06-27 02:34:09 +0000.497735][ec2] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[010:813] [2022-06-27 02:34:09 +0000.497782][ec2] OpenGLRenderProgram::Initialize
success.
[010:813] [2022-06-27 02:34:09 +0000.497830][ec2] Setup the OpenGL result:1
[010:813] [2022-06-27 02:34:09 +0000.497984][ec1] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4
[010:814] [2022-06-27 02:34:09 +0000.498105][ec1] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[010:814] [2022-06-27 02:34:09 +0000.498123][f17] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7803dca298
[010:814] [2022-06-27 02:34:09 +0000.498142][ec1] 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
[010:814] [2022-06-27 02:34:09 +0000.498187][ec1] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4
fileFD: -1
[010:814] [2022-06-27 02:34:09 +0000.498501][ec1] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4
is opened successfully
[010:814] [2022-06-27 02:34:09 +0000.498525][ec1] setupMediaProcessers:
[010:814] [2022-06-27 02:34:09 +0000.498540][ec1]
RecordingSessionInternalSimple:setup media processers.
[010:814] [2022-06-27 02:34:09 +0000.498574][ec1] construct AAC encoder
[010:814] [2022-06-27 02:34:09 +0000.498949][ec1] H264Encoder creating:
superfast011818
[010:814] [2022-06-27 02:34:09 +0000.498978][ec1] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[010:815] [2022-06-27 02:34:09 +0000.499341][ec1] H264Encode::GetMachineModel is
M2012K11AG
[010:815] [2022-06-27 02:34:09 +0000.499369][ec1] H264Encoder machine_mode
is:M2012K11AG
[010:815] [2022-06-27 02:34:09 +0000.499384][ec1] H264Encode::machine size :9
machine_mode:M2012K11AG
[010:815] [2022-06-27 02:34:09 +0000.499417][ec1] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[010:815] [2022-06-27 02:34:09 +0000.499431][ec1] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[010:815] [2022-06-27 02:34:09 +0000.499460][ec1] setupCompressionSession:
[010:815] [2022-06-27 02:34:09 +0000.499474][ec1] H264Encode::creating hareware
Encoder
[010:815] [2022-06-27 02:34:09 +0000.499504][ec1] AndroidHwAvcEncoder time:90237803
enter.

[010:815] [2022-06-27 02:34:09 +0000.499610][ec1] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000079a8ed5540 address:0x77f9f3b760
[010:815] [2022-06-27 02:34:09 +0000.499699][ec1] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[010:815] [2022-06-27 02:34:09 +0000.499723][ec1] The video avc hw codec address is
0x78e7619bc0
[010:815] [2022-06-27 02:34:09 +0000.499764][ec1] AndroidHwAvcEncoder leave.
expire time = 0 ms

[010:815] [2022-06-27 02:34:09 +0000.499789][ec1] RegisterEncodeCompleteCallback


time:90237803 enter.

[010:815] [2022-06-27 02:34:09 +0000.499848][ec1] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[010:815] [2022-06-27 02:34:09 +0000.499880][ec1] InitEncode time:90237803 enter.

[010:815] [2022-06-27 02:34:09 +0000.499928][ec1] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[010:815] [2022-06-27 02:34:09 +0000.499956][ec1] Create time:90237803 enter.

[010:815] [2022-06-27 02:34:09 +0000.499974][ec1] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[010:815] [2022-06-27 02:34:09 +0000.500001][ec1]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7803ac5740
[010:816] [2022-06-27 02:34:09 +0000.500288][ec1]
supported_type:image/vnd.android.heic
[010:816] [2022-06-27 02:34:09 +0000.500357][ec1] supported_type:video/avc
[010:816] [2022-06-27 02:34:09 +0000.500416][ec1] name:OMX.qcom.video.encoder.avc
mime:video/avc
[010:816] [2022-06-27 02:34:09 +0000.500557][ec1] hwCodecPrefix :OMX.qcom.
[010:816] [2022-06-27 02:34:09 +0000.500694][ec1] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[010:816] [2022-06-27 02:34:09 +0000.500769][ec1] mediacodec_createCodecByName
time:90237804 enter.

[010:816] [2022-06-27 02:34:09 +0000.500837][ec1] WrapAndroidMediaCodec


time:90237804 enter.

[010:816] [2022-06-27 02:34:09 +0000.500981][ec1] WrapAndroidMediaCodec leave.


expire time = 0 ms

[010:833] [2022-06-27 02:34:09 +0000.518024][ec1] mediacodec_createCodecByName


leave. expire time = 17 ms
[010:834] [2022-06-27 02:34:09 +0000.518133][ec1] WrapAndroidMediaFromat
time:90237822 enter.

[010:834] [2022-06-27 02:34:09 +0000.518231][ec1] WrapAndroidMediaFromat leave.


expire time = 0 ms

[010:884] [2022-06-27 02:34:09 +0000.568373][ec1] Destroy time:90237872 enter.

[010:884] [2022-06-27 02:34:09 +0000.568469][ec1] WrapAndroidMediaFromat::


Destroy
[010:884] [2022-06-27 02:34:09 +0000.568529][ec1] Destroy leave. expire time = 0
ms

[010:884] [2022-06-27 02:34:09 +0000.568565][ec1] ~WrapAndroidMediaFromat


time:90237872 enter.

[010:884] [2022-06-27 02:34:09 +0000.568598][ec1] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[010:884] [2022-06-27 02:34:09 +0000.568644][ec1] Create leave. expire time = 69


ms

[010:884] [2022-06-27 02:34:09 +0000.568686][ec1] isSemiPlanarSupport time:90237872


enter.

[010:884] [2022-06-27 02:34:09 +0000.568734][ec1] H264Encoder isSemiPlanarSupport


[010:884] [2022-06-27 02:34:09 +0000.568779][ec1] isSemiPlanarSupport leave.
expire time = 0 ms

[010:884] [2022-06-27 02:34:09 +0000.568818][ec1] creat hw H264Encoder success,


isSemiPlanar:1
[010:884] [2022-06-27 02:34:09 +0000.568971][ec1] InitEncode leave. expire time =
69 ms

[010:884] [2022-06-27 02:34:09 +0000.569033][ec1] H264Encode::created Encoder


[010:884] [2022-06-27 02:34:09 +0000.569069][ec1] H264Encode:: H264 encoder
created.
[010:885] [2022-06-27 02:34:09 +0000.569102][ec1] H264 encoder created.
[010:885] [2022-06-27 02:34:09 +0000.569135][ec1]
RecordingSessionInternalSimple:created avc encoder avc: 0x77ee0fcdc0
[010:885] [2022-06-27 02:34:09 +0000.569194][ec1] setOutput:
[010:885] [2022-06-27 02:34:09 +0000.569226][ec1]
RecordingSessionInternalSimple:encoder set output to muxer!
[010:885] [2022-06-27 02:34:09 +0000.569258][ec1] request a key frame
[010:885] [2022-06-27 02:34:09 +0000.569319][ec1] H264Encode:: request a key frame
[010:885] [2022-06-27 02:34:09 +0000.569426][ec1] setDisplayRotate :90
[010:885] [2022-06-27 02:34:09 +0000.569471][ec1] 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
[010:885] [2022-06-27 02:34:09 +0000.569544][ec2] StartRecording:
[010:885] [2022-06-27 02:34:09 +0000.569613][f0c] operator(): Set the recording
session in mic source. recording session: 0x77e7560580
[010:885] [2022-06-27 02:34:09 +0000.569685][ec2] operator() leave. expire time =
112 ms

[010:885] [2022-06-27 02:34:09 +0000.569707][f0b] AF_SpeedFilter audio 0x780ccefa80


PullFrame
[010:885] [2022-06-27 02:34:09 +0000.569847][f0b] RecordAudioSource::PullAudioFrame
[010:885] [2022-06-27 02:34:09 +0000.569934][f0b] AF_SpeedFilter::PullFrame eof4
[010:888] [2022-06-27 02:34:09 +0000.572335][f0b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[010:890] [2022-06-27 02:34:09 +0000.574625][f0b] AF_SpeedFilter audio time,
0x780ccefa80 rcv time: 90237871
[010:890] [2022-06-27 02:34:09 +0000.574700][f0b] AF_SpeedFilter audio time,
0x780ccefa80 rcv time: 90237871in_nSamples:441
[010:890] [2022-06-27 02:34:09 +0000.574785][f0b] resampled_data_size:0
[010:940] [2022-06-27 02:34:09 +0000.624806][ec2]
MediaFilterCamera::NeedProcessTexture
[010:940] [2022-06-27 02:34:09 +0000.624906][ec2] begine recode to first frame
spend time:167
[010:940] [2022-06-27 02:34:09 +0000.624983][ec2] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x77e7560100
[010:941] [2022-06-27 02:34:09 +0000.625089][ec2] blur_distance_:0
[010:941] [2022-06-27 02:34:09 +0000.625155][ec2] blur_direction_angle_:-90
[010:941] [2022-06-27 02:34:09 +0000.625213][ec2]
GPUImageProcessing::SetOrientation orientation: 90
[010:941] [2022-06-27 02:34:09 +0000.625269][ec2] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[010:941] [2022-06-27 02:34:09 +0000.625363][ec2] GPUImageProcessing: process video
frame with resolution 1920 X 1080
[010:941] [2022-06-27 02:34:09 +0000.625437][ec2] GPUImageProcessing: input frame
width1920 X 1080
[010:942] [2022-06-27 02:34:09 +0000.626393][ec2] drawYUV420 render
OpenGLRenderProgram:0x780bb7e198
[010:942] [2022-06-27 02:34:09 +0000.626992][ec2] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[010:943] [2022-06-27 02:34:09 +0000.627098][ec2] CropFilter::OnVideoFrame
outputtexture :8
[010:943] [2022-06-27 02:34:09 +0000.627139][ec2] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[010:944] [2022-06-27 02:34:09 +0000.628617][ec2] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[010:973] [2022-06-27 02:34:09 +0000.657520][ec2] drawYUV420 render
OpenGLRenderProgram:0x780bb7e198
[010:977] [2022-06-27 02:34:09 +0000.661330][ec2] The convert RGB to YUV take 3
[010:977] [2022-06-27 02:34:09 +0000.661742][ec2] FilterPipeline2::OnVideoFrame pts
32 last_video_timestamp_ 32
[010:977] [2022-06-27 02:34:09 +0000.661808][ec2]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[010:978] [2022-06-27 02:34:09 +0000.662756][f16]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[010:978] [2022-06-27 02:34:09 +0000.662826][f16] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[010:978] [2022-06-27 02:34:09 +0000.662849][f16] push video frame to H264 encoder.
(100 frame for one log)

[010:978] [2022-06-27 02:34:09 +0000.662870][f16] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[010:978] [2022-06-27 02:34:09 +0000.662888][f16] H264Encode::push video frame to


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

[010:978] [2022-06-27 02:34:09 +0000.662904][f16] Push an pts:0 to dts queue.


[010:978] [2022-06-27 02:34:09 +0000.662936][f16] DTS queue for
Generator:0x77edf0c4b8 0
[010:978] [2022-06-27 02:34:09 +0000.662957][f16] The input pts:0 fps:30
[010:979] [2022-06-27 02:34:09 +0000.663910][f16]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[011:003] [2022-06-27 02:34:09 +0000.687162][ec2] drawYUV420 render
OpenGLRenderProgram:0x780bb7e198
[011:005] [2022-06-27 02:34:09 +0000.689444][f0b] AF_SpeedFilter audio time 222,
0x780ccefa80 out time: 90237871 org time: 90237871
[011:005] [2022-06-27 02:34:09 +0000.689503][f0b] FilterPipeline2::OnAudioFrame pts
10 last_audio_timestamp_ 10
[011:005] [2022-06-27 02:34:09 +0000.689528][f0b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 90237871
[011:005] [2022-06-27 02:34:09 +0000.689547][f0b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[011:005] [2022-06-27 02:34:09 +0000.689837][f0b] AF_SpeedFilter audio time
[011:005] [2022-06-27 02:34:09 +0000.690000][f0b] AF_SpeedFilter audio time 111,
0x780ccefa80 out time: 90237881 org time: 90237881
[011:009] [2022-06-27 02:34:09 +0000.693242][f14]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[011:009] [2022-06-27 02:34:09 +0000.693805][f17] add aac audio track with id:1
[011:083] [2022-06-27 02:34:09 +0000.767255][f16] h264 add frame header cdr flag
[011:083] [2022-06-27 02:34:09 +0000.767770][f16] h264 add frame header cdr flag
[011:084] [2022-06-27 02:34:09 +0000.768553][f16] SendFrame
encodedImage._timeStamp:0encodedImage->_length:593488
[011:084] [2022-06-27 02:34:09 +0000.768608][f16] Received key frame:0
[011:084] [2022-06-27 02:34:09 +0000.768631][f16] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[011:084] [2022-06-27 02:34:09 +0000.768650][f16] H264Encode::H264SWEncoder get
callback, length:593488 type:0 nalType:7length:19
[011:084] [2022-06-27 02:34:09 +0000.768712][f16] H264Encode:: get a sps pps
header!headerSize:32
[011:084] [2022-06-27 02:34:09 +0000.768732][f16] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[011:084] [2022-06-27 02:34:09 +0000.768812][f17] get the H.264 SPS parameter
[011:084] [2022-06-27 02:34:09 +0000.768992][f17] add video track with id:2
[011:087] [2022-06-27 02:34:09 +0000.771559][f17] get the H.264 PPS parameter
[011:088] [2022-06-27 02:34:09 +0000.772735][f17] get the H.264 IDR frame
[011:088] [2022-06-27 02:34:09 +0000.772778][f17] resss:true
[011:088] [2022-06-27 02:34:09 +0000.772795][f17] video start ts:0
[011:088] [2022-06-27 02:34:09 +0000.773067][f17] the video frame has been written
into MP4 file
[011:090] [2022-06-27 02:34:09 +0000.774449][f17] audio start ts:0
[011:090] [2022-06-27 02:34:09 +0000.774490][f17] the audio frame has been written
into MP4 file
[011:265] [2022-06-27 02:34:09 +0000.949877][ec6] haveEnoughProcessedData
internalAudioStream.length: 0
[011:279] [2022-06-27 02:34:09 +0000.963317][ec7] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[011:279] [2022-06-27 02:34:09 +0000.963552][ec7] _deviceSampleRate:48000

[011:281] [2022-06-27 02:34:09 +0000.965846][ec6] Run AGC when audioType = 0


[011:437] [2022-06-27 02:34:10 +0000.121925][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[011:473] [2022-06-27 02:34:10 +0000.157250][ec2] The convert RGB to YUV take 3
[011:785] [2022-06-27 02:34:10 +0000.469941][f0c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[011:819] [2022-06-27 02:34:10 +0000.503814][f16] DTS queue for
Generator:0x77edf0c4b8 803 840
[011:940] [2022-06-27 02:34:10 +0000.624983][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[011:974] [2022-06-27 02:34:10 +0000.659000][ec2] The convert RGB to YUV take 3
[012:311] [2022-06-27 02:34:10 +0000.995678][f16] Push an pts:1333 to dts queue.
[012:350] [2022-06-27 02:34:11 +0000.34855][f16] last dts:1298 currentPts:1333
ppsOrSPS:0 queue length:2
[012:439] [2022-06-27 02:34:11 +0000.123166][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[012:468] [2022-06-27 02:34:11 +0000.152236][f0b] AF_SpeedFilter audio 0x780ccefa80
PullFrame
[012:473] [2022-06-27 02:34:11 +0000.157280][ec2] The convert RGB to YUV take 3
[012:646] [2022-06-27 02:34:11 +0000.331046][f16] DTS queue for
Generator:0x77edf0c4b8 1632 1668
[012:707] [2022-06-27 02:34:11 +0000.391574][f0b] RecordAudioSource::PullAudioFrame
[012:787] [2022-06-27 02:34:11 +0000.471591][f0c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[012:939] [2022-06-27 02:34:11 +0000.623523][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[012:972] [2022-06-27 02:34:11 +0000.656628][ec2] The convert RGB to YUV take 2
[012:975] [2022-06-27 02:34:11 +0000.659728][ec6] haveEnoughProcessedData
internalAudioStream.length: 0
[013:002] [2022-06-27 02:34:11 +0000.686931][ec2] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[013:012] [2022-06-27 02:34:11 +0000.696853][f16] h264 add frame header cdr flag
[013:013] [2022-06-27 02:34:11 +0000.697194][f16] Received key frame:1997
[013:049] [2022-06-27 02:34:11 +0000.733149][f17] get the H.264 IDR frame
[013:110] [2022-06-27 02:34:11 +0000.794226][f0b] AF_SpeedFilter::PullFrame eof4
[013:112] [2022-06-27 02:34:11 +0000.796478][f0b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[013:173] [2022-06-27 02:34:11 +0000.857268][f0b] resampled_data_size:7168
[013:282] [2022-06-27 02:34:11 +0000.966723][ec6] Run AGC when audioType = 0
[013:282] [2022-06-27 02:34:11 +0000.967012][ec6]
AudioDeviceDataHandler::MixAndSendOutFrame
[013:359] [2022-06-27 02:34:12 +0000.44048][f14]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:4
[013:435] [2022-06-27 02:34:12 +0000.119181][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[013:440] [2022-06-27 02:34:12 +0000.124494][f16] DTS queue for
Generator:0x77edf0c4b8 2462
[013:470] [2022-06-27 02:34:12 +0000.154913][ec2] The convert RGB to YUV take 2
[013:645] [2022-06-27 02:34:12 +0000.329896][f16] Push an pts:2666 to dts queue.
[013:679] [2022-06-27 02:34:12 +0000.363740][f16] last dts:2632 currentPts:2666
ppsOrSPS:0 queue length:2
[013:788] [2022-06-27 02:34:12 +0000.472225][f0c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[013:937] [2022-06-27 02:34:12 +0000.621236][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[013:970] [2022-06-27 02:34:12 +0000.654884][ec2] The convert RGB to YUV take 3
[014:024] [2022-06-27 02:34:12 +0000.708418][f0b] AF_SpeedFilter audio 0x780ccefa80
PullFrame
[014:235] [2022-06-27 02:34:12 +0000.919643][ec2] drawYUV420 render
OpenGLRenderProgram:0x780bb7e198
[014:273] [2022-06-27 02:34:12 +0000.957747][f16] DTS queue for
Generator:0x77edf0c4b8 3295
[014:302] [2022-06-27 02:34:12 +0000.986899][ec2] GPUImageProcessing: process video
frame with resolution 1920 X 1080
[014:302] [2022-06-27 02:34:12 +0000.987024][ec2] GPUImageProcessing: input frame
width1920 X 1080
[014:303] [2022-06-27 02:34:12 +0000.987361][ec2] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[014:303] [2022-06-27 02:34:12 +0000.987425][ec2] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[014:308] [2022-06-27 02:34:12 +0000.992425][f16]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3329
[014:310] [2022-06-27 02:34:12 +0000.994541][f16] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3295 pts:3295
[014:344] [2022-06-27 02:34:13 +0000.28722][f16] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3365
[014:344] [2022-06-27 02:34:13 +0000.28838][f16] push video frame to H264 encoder.
(100 frame for one log)

[014:344] [2022-06-27 02:34:13 +0000.28870][f16] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[014:344] [2022-06-27 02:34:13 +0000.28896][f16] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3365(100 frame for one
log)

[014:344] [2022-06-27 02:34:13 +0000.28928][f16] The input pts:3365 fps:30


[014:348] [2022-06-27 02:34:13 +0000.32671][f16] SendFrame
encodedImage._timeStamp:3329encodedImage->_length:137296
[014:378] [2022-06-27 02:34:13 +0000.62983][f16] H264Encode::H264SWEncoder get
callback, length:126032 type:1 nalType:1length:126028
[014:435] [2022-06-27 02:34:13 +0000.119351][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[014:472] [2022-06-27 02:34:13 +0000.156640][ec2] The convert RGB to YUV take 3
[014:530] [2022-06-27 02:34:13 +0000.214163][f0b] RecordAudioSource::PullAudioFrame
[014:681] [2022-06-27 02:34:13 +0000.365315][ec6] haveEnoughProcessedData
internalAudioStream.length: 0
[014:785] [2022-06-27 02:34:13 +0000.469968][f0c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[014:936] [2022-06-27 02:34:13 +0000.620762][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[014:971] [2022-06-27 02:34:13 +0000.655798][ec2] The convert RGB to YUV take 3
[014:974] [2022-06-27 02:34:13 +0000.658719][f16] Push an pts:3996 to dts queue.
[015:012] [2022-06-27 02:34:13 +0000.696181][f16] h264 add frame header cdr flag
[015:012] [2022-06-27 02:34:13 +0000.696751][f16] Received key frame:3996
[015:012] [2022-06-27 02:34:13 +0000.696817][f16] last dts:3963 currentPts:3996
ppsOrSPS:0 queue length:2
[015:044] [2022-06-27 02:34:13 +0000.728716][f17] get the H.264 IDR frame
[015:074] [2022-06-27 02:34:13 +0000.758568][ec2] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[015:104] [2022-06-27 02:34:13 +0000.788569][f16] DTS queue for
Generator:0x77edf0c4b8 4097 4128
[015:282] [2022-06-27 02:34:13 +0000.966145][ec6] Run AGC when audioType = 0
[015:362] [2022-06-27 02:34:14 +0000.46925][f0b] AF_SpeedFilter::PullFrame eof4
[015:365] [2022-06-27 02:34:14 +0000.49270][f0b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[015:367] [2022-06-27 02:34:14 +0000.51626][f0b] resampled_data_size:0
[015:438] [2022-06-27 02:34:14 +0000.122932][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:468] [2022-06-27 02:34:14 +0000.152438][ec2] The convert RGB to YUV take 3
[015:615] [2022-06-27 02:34:14 +0000.299130][f0b] AF_SpeedFilter audio 0x780ccefa80
PullFrame
[015:717] [2022-06-27 02:34:14 +0000.401201][f14]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:8
[015:791] [2022-06-27 02:34:14 +0000.475203][f0c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[015:936] [2022-06-27 02:34:14 +0000.620350][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:940] [2022-06-27 02:34:14 +0000.624771][f16] DTS queue for
Generator:0x77edf0c4b8 4932 4963
[015:975] [2022-06-27 02:34:14 +0000.659314][ec2] The convert RGB to YUV take 5
[016:305] [2022-06-27 02:34:14 +0000.989100][f16] Push an pts:5325 to dts queue.
[016:343] [2022-06-27 02:34:15 +0000.28041][f16] last dts:5298 currentPts:5325
ppsOrSPS:0 queue length:2
[016:401] [2022-06-27 02:34:15 +0000.85896][ec6] haveEnoughProcessedData
internalAudioStream.length: 10
[016:406] [2022-06-27 02:34:15 +0000.90366][f0b] RecordAudioSource::PullAudioFrame
[016:434] [2022-06-27 02:34:15 +0000.118981][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[016:472] [2022-06-27 02:34:15 +0000.156875][ec2] The convert RGB to YUV take 4
[016:773] [2022-06-27 02:34:15 +0000.457279][f16] DTS queue for
Generator:0x77edf0c4b8 5758 5795
[016:787] [2022-06-27 02:34:15 +0000.471398][f0c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[016:934] [2022-06-27 02:34:15 +0000.618209][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[016:969] [2022-06-27 02:34:15 +0000.653486][ec2] The convert RGB to YUV take 3
[017:003] [2022-06-27 02:34:15 +0000.687318][f16] h264 add frame header cdr flag
[017:003] [2022-06-27 02:34:15 +0000.687622][f16] Received key frame:5994
[017:042] [2022-06-27 02:34:15 +0000.726340][f17] get the H.264 IDR frame
[017:164] [2022-06-27 02:34:15 +0000.848614][ec2] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[017:230] [2022-06-27 02:34:15 +0000.914661][f0b] AF_SpeedFilter audio 0x780ccefa80
PullFrame
[017:280] [2022-06-27 02:34:15 +0000.964292][ec6] Run AGC when audioType = 0
[017:280] [2022-06-27 02:34:15 +0000.964425][ec6]
AudioDeviceDataHandler::MixAndSendOutFrame
[017:428] [2022-06-27 02:34:16 +0000.113046][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[017:465] [2022-06-27 02:34:16 +0000.149530][ec2] The convert RGB to YUV take 3
[017:562] [2022-06-27 02:34:16 +0000.246428][ec2] drawYUV420 render
OpenGLRenderProgram:0x780bb7e198
[017:569] [2022-06-27 02:34:16 +0000.253844][f16] DTS queue for
Generator:0x77edf0c4b8 6590
[017:594] [2022-06-27 02:34:16 +0000.279077][f0b] resampled_data_size:10240
[017:633] [2022-06-27 02:34:16 +0000.317543][f16]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6656
[017:633] [2022-06-27 02:34:16 +0000.317677][f16] Push an pts:6656 to dts queue.
[017:664] [2022-06-27 02:34:16 +0000.348154][ec2] GPUImageProcessing: process video
frame with resolution 1920 X 1080
[017:664] [2022-06-27 02:34:16 +0000.348233][ec2] GPUImageProcessing: input frame
width1920 X 1080
[017:664] [2022-06-27 02:34:16 +0000.348488][ec2] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[017:664] [2022-06-27 02:34:16 +0000.348550][ec2] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[017:673] [2022-06-27 02:34:16 +0000.357640][f16] SendFrame
encodedImage._timeStamp:6656encodedImage->_length:148064
[017:673] [2022-06-27 02:34:16 +0000.357859][f16] last dts:6623 currentPts:6656
ppsOrSPS:0 queue length:2
[017:673] [2022-06-27 02:34:16 +0000.357929][f16] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6656 pts:6656
[017:679] [2022-06-27 02:34:16 +0000.363740][f0b] AF_SpeedFilter::PullFrame eof4
[017:681] [2022-06-27 02:34:16 +0000.365902][f0b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[017:699] [2022-06-27 02:34:16 +0000.383871][f16] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6723
[017:700] [2022-06-27 02:34:16 +0000.384378][f16] push video frame to H264 encoder.
(100 frame for one log)

[017:700] [2022-06-27 02:34:16 +0000.384424][f16] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[017:700] [2022-06-27 02:34:16 +0000.384460][f16] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6723(100 frame for one
log)

[017:700] [2022-06-27 02:34:16 +0000.384511][f16] The input pts:6723 fps:30


[017:734] [2022-06-27 02:34:16 +0000.418331][f16] H264Encode::H264SWEncoder get
callback, length:133216 type:1 nalType:1length:133212
[017:781] [2022-06-27 02:34:16 +0000.465954][f0c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[017:932] [2022-06-27 02:34:16 +0000.617021][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[017:964] [2022-06-27 02:34:16 +0000.648654][ec2] The convert RGB to YUV take 2
[017:981] [2022-06-27 02:34:16 +0000.665994][f14]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6965queue_audio_frame_:2
[018:116] [2022-06-27 02:34:16 +0000.800594][ec6] haveEnoughProcessedData
internalAudioStream.length: 0
[018:275] [2022-06-27 02:34:16 +0000.959139][f0b] RecordAudioSource::PullAudioFrame
[018:405] [2022-06-27 02:34:17 +0000.89598][f16] DTS queue for
Generator:0x77edf0c4b8 7423
[018:433] [2022-06-27 02:34:17 +0000.117536][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[018:467] [2022-06-27 02:34:17 +0000.151685][ec2] The convert RGB to YUV take 3
[018:788] [2022-06-27 02:34:17 +0000.472582][f0c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[018:835] [2022-06-27 02:34:17 +0000.519218][f0b] AF_SpeedFilter audio 0x780ccefa80
PullFrame
[018:933] [2022-06-27 02:34:17 +0000.617344][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[018:966] [2022-06-27 02:34:17 +0000.650907][ec2] The convert RGB to YUV take 2
[018:967] [2022-06-27 02:34:17 +0000.651710][f16] Push an pts:7991 to dts queue.
[019:006] [2022-06-27 02:34:17 +0000.690251][f16] h264 add frame header cdr flag
[019:006] [2022-06-27 02:34:17 +0000.690522][f16] Received key frame:7991
[019:006] [2022-06-27 02:34:17 +0000.690585][f16] last dts:7960 currentPts:7991
ppsOrSPS:0 queue length:2
[019:041] [2022-06-27 02:34:17 +0000.725490][f17] get the H.264 IDR frame
[019:234] [2022-06-27 02:34:17 +0000.918505][ec2] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3984 diff: 17
[019:237] [2022-06-27 02:34:17 +0000.921317][f16] DTS queue for
Generator:0x77edf0c4b8 8226 8258
[019:281] [2022-06-27 02:34:17 +0000.966012][ec6] Run AGC when audioType = 0
[019:428] [2022-06-27 02:34:18 +0000.112923][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[019:463] [2022-06-27 02:34:18 +0000.147486][ec2] The convert RGB to YUV take 3
[019:782] [2022-06-27 02:34:18 +0000.466406][f0c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[019:821] [2022-06-27 02:34:18 +0000.505738][ec6] haveEnoughProcessedData
internalAudioStream.length: 0
[019:848] [2022-06-27 02:34:18 +0000.532709][f0b] resampled_data_size:1024
[019:928] [2022-06-27 02:34:18 +0000.612626][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[019:962] [2022-06-27 02:34:18 +0000.646693][ec2] The convert RGB to YUV take 3
[019:972] [2022-06-27 02:34:18 +0000.656855][f0b] AF_SpeedFilter::PullFrame eof4
[019:974] [2022-06-27 02:34:18 +0000.659090][f0b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[020:069] [2022-06-27 02:34:18 +0000.753146][f16] DTS queue for
Generator:0x77edf0c4b8 9057 9089
[020:146] [2022-06-27 02:34:18 +0000.830149][f0b] RecordAudioSource::PullAudioFrame
[020:303] [2022-06-27 02:34:18 +0000.988012][f16] Push an pts:9325 to dts queue.
[020:339] [2022-06-27 02:34:19 +0000.23148][f14]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9287queue_audio_frame_:4
[020:343] [2022-06-27 02:34:19 +0000.27404][f16] last dts:9290 currentPts:9325
ppsOrSPS:0 queue length:2
[020:429] [2022-06-27 02:34:19 +0000.113523][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[020:433] [2022-06-27 02:34:19 +0000.117246][f0b] AF_SpeedFilter audio 0x780ccefa80
PullFrame
[020:466] [2022-06-27 02:34:19 +0000.150476][ec2] The convert RGB to YUV take 3
[020:746] [2022-06-27 02:34:19 +0000.430435][f0c] The output timestamp from audio
mixer change:90247732
[020:780] [2022-06-27 02:34:19 +0000.464759][ec6] On audio frame the broadcast with
timestamp:90247768 samples:480. (1000 frame for one log)

[020:787] [2022-06-27 02:34:19 +0000.471878][f0c] Get data in mic source, which has
byte length:1764micAudioStream->length():20
[020:788] [2022-06-27 02:34:19 +0000.472345][f0c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[020:882] [2022-06-27 02:34:19 +0000.566751][f0b] AF_SpeedFilter audio time,
0x780ccefa80 rcv time: 90247867
[020:882] [2022-06-27 02:34:19 +0000.566859][f0b] AF_SpeedFilter audio time,
0x780ccefa80 rcv time: 90247867in_nSamples:441
[020:899] [2022-06-27 02:34:19 +0000.583103][ec2] drawYUV420 render
OpenGLRenderProgram:0x780bb7e198
[020:907] [2022-06-27 02:34:19 +0000.591614][f16] DTS queue for
Generator:0x77edf0c4b8 9891 9925
[020:931] [2022-06-27 02:34:19 +0000.615736][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[020:962] [2022-06-27 02:34:19 +0000.647067][ec2] The convert RGB to YUV take 2
[020:965] [2022-06-27 02:34:19 +0000.649462][f16]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:9988
[020:990] [2022-06-27 02:34:19 +0000.674828][f0b] FilterPipeline2::OnAudioFrame pts
10010 last_audio_timestamp_ 10010
[020:990] [2022-06-27 02:34:19 +0000.674934][f0b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 90247871
[020:990] [2022-06-27 02:34:19 +0000.674975][f0b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[021:004] [2022-06-27 02:34:19 +0000.688441][f16] h264 add frame header cdr flag
[021:005] [2022-06-27 02:34:19 +0000.689156][f16] SendFrame
encodedImage._timeStamp:9988encodedImage->_length:294912
[021:005] [2022-06-27 02:34:19 +0000.689223][f16] Received key frame:9988
[021:031] [2022-06-27 02:34:19 +0000.715610][ec2] GPUImageProcessing: process video
frame with resolution 1920 X 1080
[021:031] [2022-06-27 02:34:19 +0000.715704][ec2] GPUImageProcessing: input frame
width1920 X 1080
[021:031] [2022-06-27 02:34:19 +0000.716044][ec2] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[021:032] [2022-06-27 02:34:19 +0000.716241][ec2] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[021:040] [2022-06-27 02:34:19 +0000.724751][f16] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10023 pts:10023
[021:041] [2022-06-27 02:34:19 +0000.725606][f17] get the H.264 IDR frame
[021:072] [2022-06-27 02:34:19 +0000.756695][f16] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:10092
[021:072] [2022-06-27 02:34:19 +0000.756802][f16] push video frame to H264 encoder.
(100 frame for one log)

[021:072] [2022-06-27 02:34:19 +0000.756836][f16] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[021:072] [2022-06-27 02:34:19 +0000.756868][f16] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:10092(100 frame for one
log)

[021:072] [2022-06-27 02:34:19 +0000.756965][f16] The input pts:10092 fps:30


[021:106] [2022-06-27 02:34:19 +0000.790107][f16] H264Encode::H264SWEncoder get
callback, length:114432 type:1 nalType:1length:114428
[021:279] [2022-06-27 02:34:19 +0000.963630][ec7] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[021:279] [2022-06-27 02:34:19 +0000.963830][ec7] _deviceSampleRate:48000

[021:282] [2022-06-27 02:34:19 +0000.966413][ec6] Run AGC when audioType = 0


[021:282] [2022-06-27 02:34:19 +0000.966522][ec6]
AudioDeviceDataHandler::MixAndSendOutFrame
[021:328] [2022-06-27 02:34:20 +0000.12588][ec2] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4980 diff: 21
[021:430] [2022-06-27 02:34:20 +0000.114277][ec2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[021:467] [2022-06-27 02:34:20 +0000.151243][ec2] The convert RGB to YUV take 4
[021:541] [2022-06-27 02:34:20 +0000.225805][ec6] haveEnoughProcessedData
internalAudioStream.length: 0
[021:550] [2022-06-27 02:34:20 +0000.234828][4b09]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[021:551] [2022-06-27 02:34:20 +0000.235134][ec2] operator(): Stop
[021:551] [2022-06-27 02:34:20 +0000.235200][ec2] StopPullFrameAndWriteMp4
time:90248539 enter.

[021:551] [2022-06-27 02:34:20 +0000.235272][ec2] StopRecording:


[021:557] [2022-06-27 02:34:20 +0000.241403][f0b] resampled_data_size:512
[021:557] [2022-06-27 02:34:20 +0000.241495][f0b] AF_SpeedFilter audio time 222,
0x780ccefa80 out time: 90248511 org time: 90248511
[021:557] [2022-06-27 02:34:20 +0000.241554][f0b] PullAudioFrame: PullFrame audio
finished.
[021:557] [2022-06-27 02:34:20 +0000.241592][f0b]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[021:562] [2022-06-27 02:34:20 +0000.246470][f16]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:318
[021:563] [2022-06-27 02:34:20 +0000.247165][ec1] stop recording
[021:563] [2022-06-27 02:34:20 +0000.247267][ec1]
RecordingSessionInternalSimple:destroy media processers
[021:563] [2022-06-27 02:34:20 +0000.247326][ec1] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[021:563] [2022-06-27 02:34:20 +0000.247366][ec1] H264Encode::flushing hareware
Encoder
[021:563] [2022-06-27 02:34:20 +0000.247524][ec1] Flush time:90248551 enter.

[021:563] [2022-06-27 02:34:20 +0000.247579][ec1] H264Encoder encoder flush


[021:563] [2022-06-27 02:34:20 +0000.247621][ec1] flush output queue
[021:787] [2022-06-27 02:34:20 +0000.471775][f0c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[021:876] [2022-06-27 02:34:20 +0000.560750][ec1] Flush leave. expire time = 313
ms

[021:876] [2022-06-27 02:34:20 +0000.561008][ec1] ~H264EncodeWrap:


[021:876] [2022-06-27 02:34:20 +0000.561076][ec1] ~H264Encode:
[021:877] [2022-06-27 02:34:20 +0000.561165][ec1] teardownCompressionSession:
H264Encode::destroying Encoder
[021:877] [2022-06-27 02:34:20 +0000.561222][ec1] Release time:90248865 enter.

[021:877] [2022-06-27 02:34:20 +0000.561424][ec1] Release:


MediaCodecVideoEncoder::Release _inited:1
[021:877] [2022-06-27 02:34:20 +0000.561489][ec1] Destroy time:90248865 enter.

[021:877] [2022-06-27 02:34:20 +0000.561540][ec1] H264Encoder encoderDestroy


[021:877] [2022-06-27 02:34:20 +0000.561590][ec1]
AndroidMediaCodecVideoEncoder::release env: 0x77ee0fcf00
[021:877] [2022-06-27 02:34:20 +0000.561641][ec1]
AndroidMediaCodecVideoEncoder::Destroy
[021:913] [2022-06-27 02:34:20 +0000.597238][ec1] Destroy leave. expire time = 36
ms

[021:913] [2022-06-27 02:34:20 +0000.597394][ec1] Release leave. expire time = 36


ms

[021:913] [2022-06-27 02:34:20 +0000.597425][ec1] ~AndroidHwAvcEncoder


time:90248901 enter.

[021:913] [2022-06-27 02:34:20 +0000.597548][ec1] Release time:90248901 enter.

[021:913] [2022-06-27 02:34:20 +0000.597577][ec1] Release: MediaCodecVideoEncoder::


has been released before, just return
[021:913] [2022-06-27 02:34:20 +0000.597645][ec1] Release leave. expire time = 0
ms

[021:913] [2022-06-27 02:34:20 +0000.597669][ec1] ~AndroidMediaCodecVideoEncoder


[021:913] [2022-06-27 02:34:20 +0000.597698][ec1] ~WrapAndroidMediaCodec
time:90248901 enter.

[021:913] [2022-06-27 02:34:20 +0000.597725][ec1] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[021:913] [2022-06-27 02:34:20 +0000.597752][ec1] video hevc hw codec


destructor:0x78e7619bc0

[021:913] [2022-06-27 02:34:20 +0000.597797][ec1] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[021:913] [2022-06-27 02:34:20 +0000.597838][ec1] teardownCompressionSession:


H264Encode::destroyed Encoder
[021:913] [2022-06-27 02:34:20 +0000.597866][ec1]
RecordingSessionInternalSimple:destroy aac encoder output!
[021:913] [2022-06-27 02:34:20 +0000.597895][ec1] AACSWEncode destructor
[021:917] [2022-06-27 02:34:20 +0000.601273][f17] MP4 close file successfully
[021:917] [2022-06-27 02:34:20 +0000.601346][f17] Recording session Internal:
notify recording ok
[021:917] [2022-06-27 02:34:20 +0000.601369][f17] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4,
output_video_timestamp_:10557 last_video_pts_:10557
[021:917] [2022-06-27 02:34:20 +0000.601400][f17] OnRecordFinish:
[021:918] [2022-06-27 02:34:20 +0000.602193][f17] onRecordingOk: net seek
pos:0record video duration:10590record audio duration:10565
[021:918] [2022-06-27 02:34:20 +0000.602558][f0c] destructMicSource_w:
[021:918] [2022-06-27 02:34:20 +0000.602593][f0c] setOutput_w:
MicSource::setOutput() 0x0
[021:918] [2022-06-27 02:34:20 +0000.602632][f0c] close external audio stream

[021:918] [2022-06-27 02:34:20 +0000.602734][ec2] releaseThread 0x77e721dd00


[021:918] [2022-06-27 02:34:20 +0000.602769][ec2] ~MicSource: Mic source
destroyed:0x78f9f70d80
[021:919] [2022-06-27 02:34:20 +0000.603160][ec2] StopPullFrameAndWriteMp4 leave.
expire time = 368 ms

[021:919] [2022-06-27 02:34:20 +0000.603197][ec2] DestroyPipelineAndFilters


time:90248907 enter.

[021:919] [2022-06-27 02:34:20 +0000.603226][ec2] UnbindInputFilter 0x77e7560240


this 0x780bb7e3c0
[021:919] [2022-06-27 02:34:20 +0000.603246][ec2] UnbindInputFilter 0x77e75606d8
this 0x780ccefbd0
[021:919] [2022-06-27 02:34:20 +0000.603270][ec2] UnbindInputFilter 0x780bb7e3c0
this 0x78243bfee0
[021:919] [2022-06-27 02:34:20 +0000.603293][ec2] filter: filter pipeline destroy
this: 0x78243bfe40
[021:919] [2022-06-27 02:34:20 +0000.603446][ec2] ClearVideoOfSources: recodring
total frames:0
[021:919] [2022-06-27 02:34:20 +0000.603472][ec2] ClearVideoOfSources:
[021:919] [2022-06-27 02:34:20 +0000.603489][ec2] GPUImageProcessing destruct.
[021:919] [2022-06-27 02:34:20 +0000.603546][ec2] destroy TrivalImageDrawer
0x780cf525c0
[021:919] [2022-06-27 02:34:20 +0000.603572][ec2] The shader has been initialize,
clean up them.

[021:919] [2022-06-27 02:34:20 +0000.603637][ec2] ~OpenGLFrameBuffer:


[021:919] [2022-06-27 02:34:20 +0000.603730][ec2] ~OpenGLFrameBuffer:
[021:919] [2022-06-27 02:34:20 +0000.603801][ec2] ~OpenGLFrameBuffer:
[021:919] [2022-06-27 02:34:20 +0000.603859][ec2] ~OpenGLFrameBuffer:
[021:920] [2022-06-27 02:34:20 +0000.604228][ec2] ~OpenGLFrameBuffer:
[021:920] [2022-06-27 02:34:20 +0000.604403][ec2] ~OpenGLFrameBuffer:
[021:920] [2022-06-27 02:34:20 +0000.604710][ec2] GPUImageProcessing destruct
finish.
[021:920] [2022-06-27 02:34:20 +0000.604752][ec2] GPURGBAFrame destruct.
[021:920] [2022-06-27 02:34:20 +0000.604790][ec2] destroy OpenGLRenderProgram
0x780bb7e198
[021:920] [2022-06-27 02:34:20 +0000.604813][ec2] ~CameraSource time:90248908
enter.

[021:920] [2022-06-27 02:34:20 +0000.604833][ec2] ~CameraSource leave. expire time


= 0 ms

[021:920] [2022-06-27 02:34:20 +0000.604859][ec2] ~RecordAudioSource time:90248908


enter.
[021:920] [2022-06-27 02:34:20 +0000.604877][ec2] ~RecordAudioSource leave. expire
time = 0 ms

[021:920] [2022-06-27 02:34:20 +0000.604898][ec2] DestroyPipelineAndFilters leave.


expire time = 1 ms

[021:939] [2022-06-27 02:34:20 +0000.623385][4b09]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[021:939] [2022-06-27 02:34:20 +0000.623987][4b09] machine model :poco
[021:939] [2022-06-27 02:34:20 +0000.624009][4b09] Support this machine model :poco
[021:939] [2022-06-27 02:34:20 +0000.624024][4b09] global inited! current sdk
version: 07-20-936c45f
[021:940] [2022-06-27 02:34:20 +0000.624156][4b09] filter: filter pipeline
construtc this: 0x780cd1d480
[021:940] [2022-06-27 02:34:20 +0000.624177][4b09] MediaFilterGraph:
MediaFilterGraph construct
[021:940] [2022-06-27 02:34:20 +0000.624192][4b09] GLESContext:
[021:940] [2022-06-27 02:34:20 +0000.624219][4b09] The result of eglGetDisplay is:
0xb4000078f9f69c80
[021:940] [2022-06-27 02:34:20 +0000.625019][4b09] The result of creation:
0x77e71a2b00
[021:941] [2022-06-27 02:34:20 +0000.625086][4b09] The result of
eglCreatePbufferSurface is: 0x77e71a2c00
[021:942] [2022-06-27 02:34:20 +0000.626755][4b09] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4
[021:942] [2022-06-27 02:34:20 +0000.626790][4b09] The source 0 speed:1
[021:942] [2022-06-27 02:34:20 +0000.626813][4b09] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4,
delay: 0
[021:942] [2022-06-27 02:34:20 +0000.626835][4b09] CreateDecoderByVideoSource
time:90248930 enter.

[021:942] [2022-06-27 02:34:20 +0000.627033][4b09] running_decoder_count:0max


count:2
[021:942] [2022-06-27 02:34:20 +0000.627063][4b09] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7871f95800
[021:947] [2022-06-27 02:34:20 +0000.631463][f4c] FFMpeg=> [mov,mp4,m4a,3gp,3g2,mj2
@ 0x78e739b200] Current FFmpeg version git-2021-06-16-97cea6f

[022:001] [2022-06-27 02:34:20 +0000.685845][f4c] OnStreamInfoFound: video


duration_: 10590
[022:002] [2022-06-27 02:34:20 +0000.686785][4b09] start decoder
[022:002] [2022-06-27 02:34:20 +0000.686857][4b09] CreateDecoderByVideoSource
leave. expire time = 60 ms

[022:002] [2022-06-27 02:34:20 +0000.686927][4b09] BindInputFilter 0x7824021e20


this 0x780c050058
[022:002] [2022-06-27 02:34:20 +0000.686982][4b09] BindInputFilter 0x780c050058
this 0x780c050118
[022:002] [2022-06-27 02:34:20 +0000.687035][4b09] BindInputFilter 0x7824021e20
this 0x780c0501d8
[022:003] [2022-06-27 02:34:20 +0000.687086][4b09] BindInputFilter 0x780c0501d8
this 0x780c050298
[022:003] [2022-06-27 02:34:20 +0000.687121][4b09] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4
[022:003] [2022-06-27 02:34:20 +0000.687176][4b09] BindInputFilter 0x780c050118
this 0x780c050358
[022:003] [2022-06-27 02:34:20 +0000.687229][4b09] BindInputFilter 0x780c050358
this 0x780cd1d520
[022:003] [2022-06-27 02:34:20 +0000.687278][4b09] BindInputFilter 0x780c050298
this 0x780c050418
[022:003] [2022-06-27 02:34:20 +0000.687328][4b09] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4
[022:004] [2022-06-27 02:34:20 +0000.688521][4b09]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[022:004] [2022-06-27 02:34:20 +0000.689065][4b09] machine model :poco
[022:005] [2022-06-27 02:34:20 +0000.689134][4b09] Support this machine model :poco
[022:005] [2022-06-27 02:34:20 +0000.689195][4b09] global inited! current sdk
version: 07-20-936c45f
[022:005] [2022-06-27 02:34:20 +0000.689297][4b09] GetPipeline:
-----------------------------------------
[022:005] [2022-06-27 02:34:20 +0000.689337][4b09] GetPipeline: source:
0x7824021c00
[022:005] [2022-06-27 02:34:20 +0000.689379][4b09] GetPipeline: filter: NULLFilter
[022:005] [2022-06-27 02:34:20 +0000.689419][4b09] GetPipeline: filter: NULLFilter
[022:005] [2022-06-27 02:34:20 +0000.689465][4b09] GetPipeline: filter: NULLFilter
[022:005] [2022-06-27 02:34:20 +0000.689506][4b09] GetPipeline: audio filter:
AuidoNULLFilter
[022:005] [2022-06-27 02:34:20 +0000.689548][4b09] GetPipeline: audio filter:
AuidoNULLFilter
[022:005] [2022-06-27 02:34:20 +0000.689652][4b09] GetPipeline: audio filter:
AudioNUllFilter
[022:005] [2022-06-27 02:34:20 +0000.689693][4b09] GetPipeline:
------------------------------------------
[022:005] [2022-06-27 02:34:20 +0000.689738][4b09] filter: filter pipeline2 update
pattern: 0
[022:005] [2022-06-27 02:34:20 +0000.690027][4b09] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[022:006] [2022-06-27 02:34:20 +0000.690175][4b09] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[022:006] [2022-06-27 02:34:20 +0000.690217][4b09] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[022:006] [2022-06-27 02:34:20 +0000.690383][4b09] DeviceInit:
[022:006] [2022-06-27 02:34:20 +0000.690599][4b09] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[022:006] [2022-06-27 02:34:20 +0000.690887][4b09] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[022:007] [2022-06-27 02:34:20 +0000.691163][4b09] CreatePlatformSpecificObjects:
[022:007] [2022-06-27 02:34:20 +0000.691237][4b09] audio device use null audio
input and opensl output
[022:007] [2022-06-27 02:34:20 +0000.691286][4b09] Create OpenSLES output module
with java VM support.

[022:007] [2022-06-27 02:34:20 +0000.691421][4b09] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[022:007] [2022-06-27 02:34:20 +0000.691643][f4d] NO get frame from decoder
[022:007] [2022-06-27 02:34:20 +0000.691883][4b09] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[022:008] [2022-06-27 02:34:20 +0000.692327][4b09] Create OpenSLES output module
with buffer num:2

[022:008] [2022-06-27 02:34:20 +0000.692487][f4d] NO get frame from decoder


[022:008] [2022-06-27 02:34:20 +0000.692522][4b09] Error(trace.cc:40): Init the
output and input for audio device template.
[022:008] [2022-06-27 02:34:20 +0000.692718][4b09] Init the output device.

[022:008] [2022-06-27 02:34:20 +0000.692822][4b09] Set the playout as stereo:1


[022:008] [2022-06-27 02:34:20 +0000.692911][4b09] Set the sample rate to be:44100

[022:008] [2022-06-27 02:34:20 +0000.693023][4b09] Low latency buffer size:144 low


sample rate:48000
[022:009] [2022-06-27 02:34:20 +0000.693121][4b09] DeviceInit: Done
[022:009] [2022-06-27 02:34:20 +0000.693436][4b09] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[022:009] [2022-06-27 02:34:20 +0000.693483][f57] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77e7476018
[022:010] [2022-06-27 02:34:20 +0000.695003][4b09]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[022:011] [2022-06-27 02:34:20 +0000.695120][4b09]
MediaFilterPlayer::SetPlayerNotify 0x77e91fef60
[022:011] [2022-06-27 02:34:20 +0000.695869][4b09]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[022:011] [2022-06-27 02:34:20 +0000.695923][4b09]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[022:011] [2022-06-27 02:34:20 +0000.695977][f4d] NO get frame from decoder
[022:012] [2022-06-27 02:34:20 +0000.696908][4b09]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[022:013] [2022-06-27 02:34:20 +0000.697695][4b09] SetGraphLoop: SetGraphLoop 1
[022:013] [2022-06-27 02:34:20 +0000.697746][4b09]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[022:014] [2022-06-27 02:34:20 +0000.698472][4b09]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[022:015] [2022-06-27 02:34:20 +0000.699567][4b09]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[022:016] [2022-06-27 02:34:20 +0000.700630][4b09]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[022:018] [2022-06-27 02:34:20 +0000.702483][f59] Start:
[022:018] [2022-06-27 02:34:20 +0000.702613][f58] operator(): video render started.
[022:018] [2022-06-27 02:34:20 +0000.702724][f58] DriveRender working... (1/200)
[022:018] [2022-06-27 02:34:20 +0000.702793][f59] Start:
[022:018] [2022-06-27 02:34:20 +0000.702911][f59] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[022:018] [2022-06-27 02:34:20 +0000.702961][f59] Reset: history total size: 98
[022:018] [2022-06-27 02:34:20 +0000.702992][f59] DeviceStart:
audioDevice_:0x780bda8000
[022:018] [2022-06-27 02:34:20 +0000.703026][f59] DeviceStart: time profile playout
init before
[022:018] [2022-06-27 02:34:20 +0000.703078][f59] DeviceStart: time profile playout
init end
[022:019] [2022-06-27 02:34:20 +0000.703118][f59] OpenSlesOutput:Start playout

[022:018] [2022-06-27 02:34:20 +0000.703206][f58] Warning(video_render.cc:390): No


picture to display (1/50)
[022:019] [2022-06-27 02:34:20 +0000.703315][f4d] NO get frame from decoder
[022:019] [2022-06-27 02:34:20 +0000.704041][f59] Create the opensl output player.
streamtype before:0

[022:020] [2022-06-27 02:34:20 +0000.704148][f59] Create the opensl output player.


streamtype after:3

[022:029] [2022-06-27 02:34:20 +0000.713535][f4d] NO get frame from decoder


[022:033] [2022-06-27 02:34:20 +0000.717530][f4d] NO get frame from decoder
[022:039] [2022-06-27 02:34:20 +0000.723436][f4d] NO get frame from decoder
[022:040] [2022-06-27 02:34:20 +0000.724405][f4d] NO get frame from decoder
[022:073] [2022-06-27 02:34:20 +0000.757791][f59] Enqueue opensl buffer size:1764
[022:098] [2022-06-27 02:34:20 +0000.782477][f59] DeviceStart: time profile playout
all end
[022:098] [2022-06-27 02:34:20 +0000.782581][f5c]
PlayerSimpleBufferQueueCallbackHandler function
[022:098] [2022-06-27 02:34:20 +0000.782678][f5c] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[022:098] [2022-06-27 02:34:20 +0000.782661][f59] operator(): Audio playback
started.
[022:098] [2022-06-27 02:34:20 +0000.782743][f5c]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[022:098] [2022-06-27 02:34:20 +0000.782799][f59] operator(): Started now!
[022:098] [2022-06-27 02:34:20 +0000.782799][f5a] Pull audio failed.(wait video!)
[022:098] [2022-06-27 02:34:20 +0000.782857][f5a]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[022:098] [2022-06-27 02:34:20 +0000.782909][f5b] Error(video_source.cc:430): wait
decoder a frame: 0
[022:099] [2022-06-27 02:34:20 +0000.783558][f5a] Pull audio failed.(wait video!)
[022:099] [2022-06-27 02:34:20 +0000.783594][f5a]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[022:099] [2022-06-27 02:34:20 +0000.783859][f5b] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[022:099] [2022-06-27 02:34:20 +0000.784011][f5a] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[022:099] [2022-06-27 02:34:20 +0000.784047][f5a] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[022:101] [2022-06-27 02:34:20 +0000.785848][f5a] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[022:103] [2022-06-27 02:34:20 +0000.787960][f5b] OnVideoFrameReady(1/200)
[022:104] [2022-06-27 02:34:20 +0000.788154][f58] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[022:104] [2022-06-27 02:34:20 +0000.788702][f5a]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[022:104] [2022-06-27 02:34:20 +0000.788990][f5a] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[022:105] [2022-06-27 02:34:20 +0000.789362][f5a]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[022:105] [2022-06-27 02:34:20 +0000.789630][f5a] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[022:105] [2022-06-27 02:34:20 +0000.789991][f5a]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[022:106] [2022-06-27 02:34:20 +0000.790256][f5a] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[022:106] [2022-06-27 02:34:20 +0000.790542][f58] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:90249094
[022:106] [2022-06-27 02:34:20 +0000.790715][f5a]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[022:106] [2022-06-27 02:34:20 +0000.790979][f5a] audio frame wait video
frame.last_video_timestamp:30 last_audio_timestamp:138.957
[022:107] [2022-06-27 02:34:20 +0000.791374][f5a]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[022:108] [2022-06-27 02:34:20 +0000.793063][f59] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[022:109] [2022-06-27 02:34:20 +0000.793307][f59] The audio playback speed:100
(1/100)
[022:109] [2022-06-27 02:34:20 +0000.793361][f59] lipsync_debug: The current played
audio timestamp is:0(1/50)
[022:109] [2022-06-27 02:34:20 +0000.793398][f59] First audio frame rendering
[022:107] [2022-06-27 02:34:20 +0000.792008][f5a] audio frame wait video
frame.last_video_timestamp:30 last_audio_timestamp:138.957
[022:127] [2022-06-27 02:34:20 +0000.811671][f58] lipsync_debug: render a video
frame
[022:127] [2022-06-27 02:34:20 +0000.811769][f58] lipsync_debug: First video frame
rendering.
[022:137] [2022-06-27 02:34:20 +0000.821948][f58] lipsync_debug:lipsync_threadhold:
lipsync_delta:0 tsDelta:20 timeDelta:31 last video ts:900 frame->pts:2700 pkt_dts:-
9223372036854775808 pkt_pts:-9223372036854775808
[022:137] [2022-06-27 02:34:20 +0000.822062][f58] lipsync_debug: tsDelta -
timeDelta = -11
[022:137] [2022-06-27 02:34:20 +0000.822085][f58] lipsync_debug:result remaining
time:0
[022:138] [2022-06-27 02:34:20 +0000.822101][f58] dynamic updated lipsync delay:0
[022:142] [2022-06-27 02:34:20 +0000.826833][f58] lipsync_debug:remaining time:10
tsDelta - timeDelta:22
[022:142] [2022-06-27 02:34:20 +0000.826901][f58] lipsync_debug:result remaining
time:10
[022:198] [2022-06-27 02:34:20 +0000.882113][f5b] video frame wait audio frame:
last_video_timestamp:303 last_audio_timestamp:184.943
[022:198] [2022-06-27 02:34:20 +0000.882246][f5b]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[022:219] [2022-06-27 02:34:20 +0000.903981][4b09]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[022:220] [2022-06-27 02:34:20 +0000.904944][f59] Stop:
[022:220] [2022-06-27 02:34:20 +0000.905084][f58] operator(): Video Render stopped.
[022:221] [2022-06-27 02:34:20 +0000.905176][f59] Stop:
[022:222] [2022-06-27 02:34:20 +0000.906834][f59] DeviceStop:
audioDevice_:0x780bda8000
[022:222] [2022-06-27 02:34:20 +0000.906908][f59] OpenSlesOutput:Stop playout

[022:228] [2022-06-27 02:34:20 +0000.912399][f59] DeviceStop: Done


[022:228] [2022-06-27 02:34:20 +0000.912507][f59] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[022:228] [2022-06-27 02:34:20 +0000.912547][f59] operator(): Stop now!
[022:259] [2022-06-27 02:34:20 +0000.943869][4b09]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[022:259] [2022-06-27 02:34:20 +0000.943974][4b09] StopPreView: Have Stopped,
operation cancel
[022:259] [2022-06-27 02:34:20 +0000.943994][4b09] Stop:
[022:260] [2022-06-27 02:34:20 +0000.944123][f59] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[022:260] [2022-06-27 02:34:20 +0000.944536][4b09] DeviceRelease:
audioDevice_:0x780bda8000
[022:260] [2022-06-27 02:34:20 +0000.944566][4b09] OpenSlesOutput:Stop playout

[022:260] [2022-06-27 02:34:20 +0000.944593][4b09] DeviceRelease: Release the


webrtc device object.
[022:261] [2022-06-27 02:34:20 +0000.945197][4b09] OpenSlesOutput destruct.

[022:261] [2022-06-27 02:34:20 +0000.945250][4b09] DeviceRelease: Done


[022:261] [2022-06-27 02:34:20 +0000.945571][4b09] Stop:
[022:261] [2022-06-27 02:34:20 +0000.945755][f58] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[022:268] [2022-06-27 02:34:20 +0000.952425][4b09] global uninited!
[022:269] [2022-06-27 02:34:20 +0000.953999][4b09]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[022:270] [2022-06-27 02:34:20 +0000.954252][4b09] ~MediaFilterGraph:
MediaFilterGraph destruct
[022:270] [2022-06-27 02:34:20 +0000.954295][4b09] RemoveVideoBackGroud: hava not
add video backgroud
[022:270] [2022-06-27 02:34:20 +0000.954354][4b09] UnbindInputFilter 0x780c050358
this 0x780cd1d520
[022:270] [2022-06-27 02:34:20 +0000.954407][4b09] ClearAllSource: remove source
filter, sourceid: 0x7824021c00
[022:270] [2022-06-27 02:34:20 +0000.954440][4b09] DestoryDecoderByVideoSource
time:90249258 enter.

[022:270] [2022-06-27 02:34:20 +0000.954479][4b09] ~VideoBindDecoder time:90249258


enter.

[022:270] [2022-06-27 02:34:20 +0000.954759][4b09] CleanUp time:90249258 enter.

[022:318] [2022-06-27 02:34:21 +0000.2214][4b09] CleanUp leave. expire time = 48


ms

[022:318] [2022-06-27 02:34:21 +0000.2281][4b09] CleanUp time:90249306 enter.

[022:318] [2022-06-27 02:34:21 +0000.2449][4b09] CleanUp leave. expire time = 0 ms

[022:318] [2022-06-27 02:34:21 +0000.2786][4b09] ~VideoBindDecoder leave. expire


time = 48 ms

[022:318] [2022-06-27 02:34:21 +0000.2820][4b09] DestoryDecoderByVideoSource


leave. expire time = 48 ms

[022:318] [2022-06-27 02:34:21 +0000.2847][4b09] UnbindInputFilter 0x780c050118


this 0x780c050358
[022:318] [2022-06-27 02:34:21 +0000.2882][4b09] UnbindInputFilter 0x780c050058
this 0x780c050118
[022:318] [2022-06-27 02:34:21 +0000.2902][4b09] UnbindInputFilter 0x7824021e20
this 0x780c050058
[022:318] [2022-06-27 02:34:21 +0000.3031][4b09] UnbindInputFilter 0x780c050298
this 0x780c050418
[022:318] [2022-06-27 02:34:21 +0000.3059][4b09] UnbindInputFilter 0x780c0501d8
this 0x780c050298
[022:318] [2022-06-27 02:34:21 +0000.3079][4b09] UnbindInputFilter 0x7824021e20
this 0x780c0501d8
[022:319] [2022-06-27 02:34:21 +0000.3158][4b09] ~GLESContext:
[022:320] [2022-06-27 02:34:21 +0000.4762][4b09] GLESContext destruct finish.
[022:320] [2022-06-27 02:34:21 +0000.4817][4b09] filter: filter pipeline destroy
this: 0x780cd1d480
[022:321] [2022-06-27 02:34:21 +0000.5247][4b09]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[022:321] [2022-06-27 02:34:21 +0000.5585][4b09] machine model :poco
[022:321] [2022-06-27 02:34:21 +0000.5612][4b09] Support this machine model :poco
[022:321] [2022-06-27 02:34:21 +0000.5631][4b09] global inited! current sdk
version: 07-20-936c45f
[022:321] [2022-06-27 02:34:21 +0000.5761][4b09] filter: filter pipeline construtc
this: 0x780cd1d480
[022:321] [2022-06-27 02:34:21 +0000.5785][4b09] MediaFilterGraph: MediaFilterGraph
construct
[022:321] [2022-06-27 02:34:21 +0000.5802][4b09] GLESContext:
[022:321] [2022-06-27 02:34:21 +0000.5850][4b09] The result of eglGetDisplay is:
0xb4000078f9f69c80
[022:322] [2022-06-27 02:34:21 +0000.6455][4b09] The result of creation:
0x78dc4dfd80
[022:322] [2022-06-27 02:34:21 +0000.6518][4b09] The result of
eglCreatePbufferSurface is: 0x780bd6d500
[022:322] [2022-06-27 02:34:21 +0000.6579][4b09] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4
[022:322] [2022-06-27 02:34:21 +0000.6602][4b09] The source 0 speed:1
[022:322] [2022-06-27 02:34:21 +0000.6646][4b09] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4,
delay: 0
[022:322] [2022-06-27 02:34:21 +0000.6669][4b09] CreateDecoderByVideoSource
time:90249310 enter.

[022:322] [2022-06-27 02:34:21 +0000.6794][4b09] running_decoder_count:0max count:2


[022:322] [2022-06-27 02:34:21 +0000.6824][4b09] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7871f95800
[022:324] [2022-06-27 02:34:21 +0000.8196][f63] FFMpeg=> [mov,mp4,m4a,3gp,3g2,mj2 @
0x780c067c00] Current FFmpeg version git-2021-06-16-97cea6f

[022:376] [2022-06-27 02:34:21 +0000.60843][f63] OnStreamInfoFound: video


duration_: 10590
[022:379] [2022-06-27 02:34:21 +0000.63855][4b09] start decoder
[022:379] [2022-06-27 02:34:21 +0000.63934][4b09] CreateDecoderByVideoSource
leave. expire time = 57 ms

[022:379] [2022-06-27 02:34:21 +0000.64051][4b09] BindInputFilter 0x7824021e20


this 0x780c04fe18
[022:380] [2022-06-27 02:34:21 +0000.64250][4b09] BindInputFilter 0x780c04fe18
this 0x780c04fed8
[022:380] [2022-06-27 02:34:21 +0000.64362][4b09] BindInputFilter 0x7824021e20
this 0x780c04ff98
[022:380] [2022-06-27 02:34:21 +0000.64465][4b09] BindInputFilter 0x780c04ff98
this 0x780c050058
[022:380] [2022-06-27 02:34:21 +0000.64541][4b09] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4
[022:380] [2022-06-27 02:34:21 +0000.64647][4b09] BindInputFilter 0x780c04fed8
this 0x780c050118
[022:380] [2022-06-27 02:34:21 +0000.64748][4b09] BindInputFilter 0x780c050118
this 0x780cd1d520
[022:380] [2022-06-27 02:34:21 +0000.64849][4b09] BindInputFilter 0x780c050058
this 0x780c050718
[022:380] [2022-06-27 02:34:21 +0000.64939][4b09] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_90237801.mp4
[022:382] [2022-06-27 02:34:21 +0000.66368][4b09]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[022:382] [2022-06-27 02:34:21 +0000.66533][4b09] MediaComposeFile time:90249370
enter.

[022:382] [2022-06-27 02:34:21 +0000.66613][4b09] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[022:382] [2022-06-27 02:34:21 +0000.66754][4b09] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[022:382] [2022-06-27 02:34:21 +0000.66825][4b09] Recording session using default
bitrate support by app:31457280
[022:382] [2022-06-27 02:34:21 +0000.66807][f6e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x780c8f2340
[022:382] [2022-06-27 02:34:21 +0000.66941][f6e] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[022:382] [2022-06-27 02:34:21 +0000.67035][f64] NO get frame from decoder
[022:383] [2022-06-27 02:34:21 +0000.67098][4b09] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[022:383] [2022-06-27 02:34:21 +0000.67358][4b09] GetPipeline:
-----------------------------------------
[022:383] [2022-06-27 02:34:21 +0000.67408][4b09] GetPipeline: source: 0x7824021c00
[022:383] [2022-06-27 02:34:21 +0000.67456][4b09] GetPipeline: filter: NULLFilter
[022:383] [2022-06-27 02:34:21 +0000.67498][4b09] GetPipeline: filter: NULLFilter
[022:383] [2022-06-27 02:34:21 +0000.67541][4b09] GetPipeline: filter: NULLFilter
[022:383] [2022-06-27 02:34:21 +0000.67581][4b09] GetPipeline: audio filter:
AuidoNULLFilter
[022:383] [2022-06-27 02:34:21 +0000.67623][4b09] GetPipeline: audio filter:
AuidoNULLFilter
[022:383] [2022-06-27 02:34:21 +0000.67666][4b09] GetPipeline: audio filter:
AudioNUllFilter
[022:383] [2022-06-27 02:34:21 +0000.67708][4b09] GetPipeline:
------------------------------------------
[022:383] [2022-06-27 02:34:21 +0000.67751][4b09] filter: filter pipeline2 update
pattern: 2
[022:383] [2022-06-27 02:34:21 +0000.68061][4b09] MediaComposeFile leave. expire
time = 1 ms

[022:384] [2022-06-27 02:34:21 +0000.68514][f64] NO get frame from decoder


[022:384] [2022-06-27 02:34:21 +0000.68852][4b09] machine model :poco
[022:384] [2022-06-27 02:34:21 +0000.68935][4b09] Support this machine model :poco
[022:384] [2022-06-27 02:34:21 +0000.69000][4b09] global inited! current sdk
version: 07-20-936c45f
[022:395] [2022-06-27 02:34:21 +0000.80053][f64] NO get frame from decoder
[022:400] [2022-06-27 02:34:21 +0000.85058][f64] NO get frame from decoder
[022:402] [2022-06-27 02:34:21 +0000.86863][f64] NO get frame from decoder
[022:403] [2022-06-27 02:34:21 +0000.87814][4b09]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[022:403] [2022-06-27 02:34:21 +0000.87912][4b09] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 274
[022:404] [2022-06-27 02:34:21 +0000.88447][4b09]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[022:404] [2022-06-27 02:34:21 +0000.88487][4b09] BeginCompose: BeginCompose, is
composing 0
[022:408] [2022-06-27 02:34:21 +0000.92156][f6e] start recording, file path:
[022:408] [2022-06-27 02:34:21 +0000.92314][f6e] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 274 audio_timescale:44100
video_timescale:90000
[022:408] [2022-06-27 02:34:21 +0000.92357][f6e] 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
[022:408] [2022-06-27 02:34:21 +0000.92383][f6e] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 274
[022:408] [2022-06-27 02:34:21 +0000.92417][f6e] fd_open successed
handle:0xb4000079a8fa50b0
[022:408] [2022-06-27 02:34:21 +0000.92554][f6e] create mp4 file:305 m_fileHandle:
0x78e77f4a00
[022:408] [2022-06-27 02:34:21 +0000.92609][f6e] MP4 file: is opened successfully
[022:408] [2022-06-27 02:34:21 +0000.92628][f6e] setupMediaProcessers:
[022:408] [2022-06-27 02:34:21 +0000.92642][f6e]
RecordingSessionInternalSimple:setup media processers.
[022:408] [2022-06-27 02:34:21 +0000.92657][f6e] construct AAC encoder
[022:408] [2022-06-27 02:34:21 +0000.92895][f6e] H264Encoder creating:
ultrafast012323
[022:408] [2022-06-27 02:34:21 +0000.92934][f6e] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[022:409] [2022-06-27 02:34:21 +0000.93291][f6e] H264Encode::GetMachineModel is
M2012K11AG
[022:409] [2022-06-27 02:34:21 +0000.93577][f6e] H264Encoder machine_mode
is:M2012K11AG
[022:409] [2022-06-27 02:34:21 +0000.93595][f6e] H264Encode::machine size :9
machine_mode:M2012K11AG
[022:409] [2022-06-27 02:34:21 +0000.93611][f6e] H264Encode::machine array size :22
machine_mode:M2012K11AG
[022:409] [2022-06-27 02:34:21 +0000.93627][f6e] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[022:409] [2022-06-27 02:34:21 +0000.93641][f6e] setupCompressionSession:
[022:409] [2022-06-27 02:34:21 +0000.93655][f6e] H264Encode::creating hareware
Encoder
[022:409] [2022-06-27 02:34:21 +0000.93670][f6e] AndroidHwAvcEncoder time:90249397
enter.

[022:409] [2022-06-27 02:34:21 +0000.93976][f6e] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000079a8ed5540 address:0x77f9f3b760
[022:410] [2022-06-27 02:34:21 +0000.94478][f64] NO get frame from decoder
[022:410] [2022-06-27 02:34:21 +0000.94676][f73] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7803ca1098
[022:410] [2022-06-27 02:34:21 +0000.94924][f64] NO get frame from decoder
[022:410] [2022-06-27 02:34:21 +0000.94987][f6e] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[022:410] [2022-06-27 02:34:21 +0000.95037][f6e] The video avc hw codec address is
0x78e7619b70
[022:411] [2022-06-27 02:34:21 +0000.95196][f6e] AndroidHwAvcEncoder leave. expire
time = 2 ms

[022:411] [2022-06-27 02:34:21 +0000.95266][f6e] RegisterEncodeCompleteCallback


time:90249399 enter.

[022:411] [2022-06-27 02:34:21 +0000.95650][f6e] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[022:411] [2022-06-27 02:34:21 +0000.95739][f6e] InitEncode time:90249399 enter.

[022:411] [2022-06-27 02:34:21 +0000.95799][f6e] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[022:411] [2022-06-27 02:34:21 +0000.95829][f6e] Create time:90249399 enter.

[022:411] [2022-06-27 02:34:21 +0000.95865][f6e] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[022:411] [2022-06-27 02:34:21 +0000.95954][f6e]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7803ac5500
[022:412] [2022-06-27 02:34:21 +0000.96163][f64] NO get frame from decoder
[022:412] [2022-06-27 02:34:21 +0000.96317][f6e]
supported_type:image/vnd.android.heic
[022:412] [2022-06-27 02:34:21 +0000.96377][f6e] supported_type:video/avc
[022:412] [2022-06-27 02:34:21 +0000.96418][f6e] name:OMX.qcom.video.encoder.avc
mime:video/avc
[022:412] [2022-06-27 02:34:21 +0000.96480][f6e] hwCodecPrefix :OMX.qcom.
[022:412] [2022-06-27 02:34:21 +0000.96547][f6e] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[022:412] [2022-06-27 02:34:21 +0000.96575][f6e] mediacodec_createCodecByName
time:90249400 enter.

[022:412] [2022-06-27 02:34:21 +0000.96607][f6e] WrapAndroidMediaCodec


time:90249400 enter.

[022:412] [2022-06-27 02:34:21 +0000.96710][f6e] WrapAndroidMediaCodec leave.


expire time = 0 ms

[022:422] [2022-06-27 02:34:21 +0000.107043][f6e] mediacodec_createCodecByName


leave. expire time = 10 ms

[022:423] [2022-06-27 02:34:21 +0000.107131][f6e] WrapAndroidMediaFromat


time:90249411 enter.

[022:423] [2022-06-27 02:34:21 +0000.107183][f6e] WrapAndroidMediaFromat leave.


expire time = 0 ms

[022:472] [2022-06-27 02:34:21 +0000.156635][f6e] Destroy time:90249460 enter.

[022:472] [2022-06-27 02:34:21 +0000.156953][f6e] WrapAndroidMediaFromat::


Destroy
[022:472] [2022-06-27 02:34:21 +0000.156997][f6e] Destroy leave. expire time = 0
ms

[022:472] [2022-06-27 02:34:21 +0000.157037][f6e] ~WrapAndroidMediaFromat


time:90249460 enter.

[022:472] [2022-06-27 02:34:21 +0000.157072][f6e] ~WrapAndroidMediaFromat leave.


expire time = 1 ms

[022:473] [2022-06-27 02:34:21 +0000.157108][f6e] Create leave. expire time = 62


ms

[022:473] [2022-06-27 02:34:21 +0000.157144][f6e] isSemiPlanarSupport time:90249461


enter.

[022:473] [2022-06-27 02:34:21 +0000.157176][f6e] H264Encoder isSemiPlanarSupport


[022:473] [2022-06-27 02:34:21 +0000.157210][f6e] isSemiPlanarSupport leave.
expire time = 0 ms

[022:473] [2022-06-27 02:34:21 +0000.157243][f6e] creat hw H264Encoder success,


isSemiPlanar:1
[022:473] [2022-06-27 02:34:21 +0000.157763][f6e] InitEncode leave. expire time =
62 ms

[022:473] [2022-06-27 02:34:21 +0000.157824][f6e] H264Encode::created Encoder


[022:473] [2022-06-27 02:34:21 +0000.157863][f6e] H264Encode:: H264 encoder
created.
[022:473] [2022-06-27 02:34:21 +0000.157895][f6e] H264 encoder created.
[022:473] [2022-06-27 02:34:21 +0000.157926][f6e]
RecordingSessionInternalSimple:created avc encoder avc: 0x77ee0fe6c0
[022:473] [2022-06-27 02:34:21 +0000.158042][f6e] setOutput:
[022:473] [2022-06-27 02:34:21 +0000.158084][f6e]
RecordingSessionInternalSimple:encoder set output to muxer!
[022:474] [2022-06-27 02:34:21 +0000.158118][f6e] request a key frame
[022:474] [2022-06-27 02:34:21 +0000.158195][f6e] H264Encode:: request a key frame
[022:477] [2022-06-27 02:34:21 +0000.161743][f6e] setDisplayRotate :90
[022:477] [2022-06-27 02:34:21 +0000.161789][f6e] 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
[022:479] [2022-06-27 02:34:21 +0000.163156][f6f] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[022:481] [2022-06-27 02:34:21 +0000.165154][f6f]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[022:481] [2022-06-27 02:34:21 +0000.165181][f73] add aac audio track with id:1
[022:481] [2022-06-27 02:34:21 +0000.165545][f73] audio start ts:0
[022:481] [2022-06-27 02:34:21 +0000.165580][f73] the audio frame has been written
into MP4 file
[022:494] [2022-06-27 02:34:21 +0000.178373][f6f] Push an pts:67 to dts queue.
[022:518] [2022-06-27 02:34:21 +0000.202143][f6e] setDisplayRotate :90
[022:518] [2022-06-27 02:34:21 +0000.202217][f6e] 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
[022:533] [2022-06-27 02:34:21 +0000.217122][f6e] setDisplayRotate :90
[022:533] [2022-06-27 02:34:21 +0000.217270][f6e] 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
[022:570] [2022-06-27 02:34:21 +0000.254245][f6f] h264 add frame header cdr flag
[022:570] [2022-06-27 02:34:21 +0000.255301][f6f] h264 add frame header cdr flag
[022:572] [2022-06-27 02:34:21 +0000.256480][f6f] Received key frame:10
[022:576] [2022-06-27 02:34:21 +0000.260223][f6f] DTS queue for
Generator:0x7803ca12b8 10 30 67 101 130 168 199 231
[022:576] [2022-06-27 02:34:21 +0000.260269][f6f] H264Encode:: get a sps pps
header!headerSize:32
[022:576] [2022-06-27 02:34:21 +0000.260393][f73] get the H.264 SPS parameter
[022:576] [2022-06-27 02:34:21 +0000.260542][f73] add video track with id:2
[022:577] [2022-06-27 02:34:21 +0000.261648][f73] get the H.264 PPS parameter
[022:578] [2022-06-27 02:34:21 +0000.262209][f6f] last dts:30 currentPts:67
ppsOrSPS:0 queue length:6
[022:578] [2022-06-27 02:34:21 +0000.262340][f73] get the H.264 IDR frame
[022:578] [2022-06-27 02:34:21 +0000.262371][f73] resss:true
[022:578] [2022-06-27 02:34:21 +0000.262382][f73] video start ts:10
[022:578] [2022-06-27 02:34:21 +0000.262465][f73] the video frame has been written
into MP4 file
[022:646] [2022-06-27 02:34:21 +0000.330397][f6e] setDisplayRotate :90
[022:646] [2022-06-27 02:34:21 +0000.330487][f6e] 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
[022:682] [2022-06-27 02:34:21 +0000.366852][f6e] setDisplayRotate :90
[022:682] [2022-06-27 02:34:21 +0000.366953][f6e] 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
[022:689] [2022-06-27 02:34:21 +0000.373761][f72] audio_frame_list_ empty
[022:713] [2022-06-27 02:34:21 +0000.397511][f6e] setDisplayRotate :90
[022:713] [2022-06-27 02:34:21 +0000.397609][f6e] 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
[022:728] [2022-06-27 02:34:21 +0000.412678][f6e] setDisplayRotate :90
[022:728] [2022-06-27 02:34:21 +0000.412730][f6e] 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
[022:749] [2022-06-27 02:34:21 +0000.433853][f71] Error(video_source.cc:430): wait
decoder a frame: 12
[022:750] [2022-06-27 02:34:21 +0000.434382][f6e] setDisplayRotate :90
[022:750] [2022-06-27 02:34:21 +0000.434426][f6e] 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
[022:753] [2022-06-27 02:34:21 +0000.437396][f6f] DTS queue for
Generator:0x7803ca12b8 902 935 968 999
[022:760] [2022-06-27 02:34:21 +0000.444726][f6e] setDisplayRotate :90
[022:760] [2022-06-27 02:34:21 +0000.444834][f6e] 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
[022:773] [2022-06-27 02:34:21 +0000.458080][f6e] setDisplayRotate :90
[022:774] [2022-06-27 02:34:21 +0000.458151][f6e] 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
[022:779] [2022-06-27 02:34:21 +0000.463878][f6e] setDisplayRotate :90
[022:779] [2022-06-27 02:34:21 +0000.463954][f6e] 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
[022:794] [2022-06-27 02:34:21 +0000.478373][f6e] setDisplayRotate :90
[022:794] [2022-06-27 02:34:21 +0000.478473][f6e] 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
[022:896] [2022-06-27 02:34:21 +0000.580359][f6e] setDisplayRotate :90
[022:896] [2022-06-27 02:34:21 +0000.580442][f6e] 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
[022:924] [2022-06-27 02:34:21 +0000.608806][f71] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[022:925] [2022-06-27 02:34:21 +0000.609348][f6f] Push an pts:1396 to dts queue.
[022:968] [2022-06-27 02:34:21 +0000.652777][f6f] last dts:1368 currentPts:1396
ppsOrSPS:0 queue length:7
[023:010] [2022-06-27 02:34:21 +0000.694416][f6f] DTS queue for
Generator:0x7803ca12b8 1668 1702 1733 1768 1800 1832 1869 1901
[023:033] [2022-06-27 02:34:21 +0000.717374][f72] audio_frame_list_ empty
[023:136] [2022-06-27 02:34:21 +0000.820834][f6e] setDisplayRotate :90
[023:136] [2022-06-27 02:34:21 +0000.820894][f6e] 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
[023:141] [2022-06-27 02:34:21 +0000.825826][f6f] h264 add frame header cdr flag
[023:142] [2022-06-27 02:34:21 +0000.826142][f6f] Received key frame:1997
[023:142] [2022-06-27 02:34:21 +0000.827043][f73] get the H.264 IDR frame
[023:144] [2022-06-27 02:34:21 +0000.828389][f71] Error(video_source.cc:430): wait
decoder a frame: 0
[023:208] [2022-06-27 02:34:21 +0000.892957][f6f] Push an pts:2734 to dts queue.
[023:208] [2022-06-27 02:34:21 +0000.893048][f6f] DTS queue for
Generator:0x7803ca12b8 2462 2495 2531 2565 2597 2632 2666 2698 2734
[023:236] [2022-06-27 02:34:21 +0000.920256][f6f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:2868
[023:236] [2022-06-27 02:34:21 +0000.920331][f6f] push video frame to H264 encoder.
(100 frame for one log)

[023:236] [2022-06-27 02:34:21 +0000.920356][f6f] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[023:236] [2022-06-27 02:34:21 +0000.920368][f6f] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:2868(100 frame for one
log)

[023:236] [2022-06-27 02:34:21 +0000.920387][f6f] The input pts:2868 fps:30


[023:259] [2022-06-27 02:34:21 +0000.943818][f6f] SendFrame
encodedImage._timeStamp:2734encodedImage->_length:54704
[023:259] [2022-06-27 02:34:21 +0000.943909][f6f] last dts:2698 currentPts:2734
ppsOrSPS:0 queue length:9
[023:259] [2022-06-27 02:34:21 +0000.943937][f6f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2734 pts:2734
[023:263] [2022-06-27 02:34:21 +0000.947959][ec6] haveEnoughProcessedData
internalAudioStream.length: 0
[023:279] [2022-06-27 02:34:21 +0000.963157][f6f] H264Encode::H264SWEncoder get
callback, length:39296 type:1 nalType:1length:39292
[023:279] [2022-06-27 02:34:21 +0000.963392][ec6] Run AGC when audioType = 0
[023:372] [2022-06-27 02:34:22 +0000.56742][f72] audio_frame_list_ empty
[023:411] [2022-06-27 02:34:22 +0000.95920][f6e] setDisplayRotate :90
[023:411] [2022-06-27 02:34:22 +0000.96020][f6e] 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
[023:414] [2022-06-27 02:34:22 +0000.98916][f71] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5986 diff: 15
[023:459] [2022-06-27 02:34:22 +0000.143785][f71] Error(video_source.cc:430): wait
decoder a frame: 0
[023:478] [2022-06-27 02:34:22 +0000.162426][f6f] DTS queue for
Generator:0x7803ca12b8 3329 3365 3399 3429 3462 3497 3528
[023:570] [2022-06-27 02:34:22 +0000.254976][f6f] Push an pts:4061 to dts queue.
[023:676] [2022-06-27 02:34:22 +0000.360942][f6e] setDisplayRotate :90
[023:676] [2022-06-27 02:34:22 +0000.361030][f6e] 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
[023:681] [2022-06-27 02:34:22 +0000.365432][f6f] h264 add frame header cdr flag
[023:681] [2022-06-27 02:34:22 +0000.365976][f6f] Received key frame:3996
[023:683] [2022-06-27 02:34:22 +0000.367399][f6f] last dts:4031 currentPts:4061
ppsOrSPS:0 queue length:9
[023:683] [2022-06-27 02:34:22 +0000.367651][f73] get the H.264 IDR frame
[023:690] [2022-06-27 02:34:22 +0000.374441][f6f] DTS queue for
Generator:0x7803ca12b8 4128 4162 4195 4230 4260 4294 4330 4359
[023:770] [2022-06-27 02:34:22 +0000.454730][f71] Error(video_source.cc:430): wait
decoder a frame: 3
[023:778] [2022-06-27 02:34:22 +0000.462176][f72] audio_frame_list_ empty
[023:835] [2022-06-27 02:34:22 +0000.519368][f6f] DTS queue for
Generator:0x7803ca12b8 4932 4963 4998 5029 5063 5100 5129 5164 5198 5230
[023:915] [2022-06-27 02:34:22 +0000.599250][f6e] setDisplayRotate :90
[023:915] [2022-06-27 02:34:22 +0000.599319][f6e] 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
[023:934] [2022-06-27 02:34:22 +0000.618730][f6f] Push an pts:5392 to dts queue.
[023:987] [2022-06-27 02:34:22 +0000.671331][f6f] last dts:5362 currentPts:5392
ppsOrSPS:0 queue length:9
[024:042] [2022-06-27 02:34:22 +0000.727032][f6f] DTS queue for
Generator:0x7803ca12b8 5758 5795 5825 5865 5896 5925 5960 5994 6025 6060
[024:073] [2022-06-27 02:34:22 +0000.757179][f6f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6223
[024:073] [2022-06-27 02:34:22 +0000.757263][f6f] push video frame to H264 encoder.
(100 frame for one log)

[024:073] [2022-06-27 02:34:22 +0000.757299][f6f] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[024:073] [2022-06-27 02:34:22 +0000.757318][f6f] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6223(100 frame for one
log)

[024:073] [2022-06-27 02:34:22 +0000.757359][f6f] The input pts:6223 fps:30


[024:116] [2022-06-27 02:34:22 +0000.800821][f72] audio_frame_list_ empty
[024:205] [2022-06-27 02:34:22 +0000.890071][f6e] setDisplayRotate :90
[024:206] [2022-06-27 02:34:22 +0000.890136][f6e] 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
[024:212] [2022-06-27 02:34:22 +0000.896547][f6f] h264 add frame header cdr flag
[024:213] [2022-06-27 02:34:22 +0000.897155][f6f] Received key frame:5994
[024:214] [2022-06-27 02:34:22 +0000.898673][f71] Error(video_source.cc:430): wait
decoder a frame: 0
[024:215] [2022-06-27 02:34:22 +0000.899722][f6f] SendFrame
encodedImage._timeStamp:6060encodedImage->_length:58992
[024:215] [2022-06-27 02:34:22 +0000.899853][f73] get the H.264 IDR frame
[024:216] [2022-06-27 02:34:22 +0000.900184][f6f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6092 pts:6092
[024:247] [2022-06-27 02:34:22 +0000.931339][f6f] H264Encode::H264SWEncoder get
callback, length:111536 type:1 nalType:1length:111532
[024:284] [2022-06-27 02:34:22 +0000.968389][f6f] Push an pts:6723 to dts queue.
[024:312] [2022-06-27 02:34:22 +0000.996341][f6f] DTS queue for
Generator:0x7803ca12b8 6590 6623 6656 6691 6723 6755 6788 6823 6863
[024:357] [2022-06-27 02:34:23 +0000.41593][f6f] last dts:6691 currentPts:6723
ppsOrSPS:0 queue length:10
[024:449] [2022-06-27 02:34:23 +0000.133597][f72] audio_frame_list_ empty
[024:481] [2022-06-27 02:34:23 +0000.165176][f6e] setDisplayRotate :90
[024:481] [2022-06-27 02:34:23 +0000.165244][f6e] 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
[024:490] [2022-06-27 02:34:23 +0000.174860][f71] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6978 diff: 23
[024:521] [2022-06-27 02:34:23 +0000.205802][f71] Error(video_source.cc:430): wait
decoder a frame: 0
[024:537] [2022-06-27 02:34:23 +0000.221665][f6f] DTS queue for
Generator:0x7803ca12b8 7423 7461 7491 7525 7558 7593 7625 7661 7690
[024:605] [2022-06-27 02:34:23 +0000.289231][f6f] Push an pts:8059 to dts queue.
[024:655] [2022-06-27 02:34:23 +0000.339531][f6f] h264 add frame header cdr flag
[024:655] [2022-06-27 02:34:23 +0000.339766][f6f] Received key frame:7991
[024:661] [2022-06-27 02:34:23 +0000.345512][f6f] last dts:8026 currentPts:8059
ppsOrSPS:0 queue length:9
[024:661] [2022-06-27 02:34:23 +0000.345595][f73] get the H.264 IDR frame
[024:724] [2022-06-27 02:34:23 +0000.408607][f6e] setDisplayRotate :90
[024:724] [2022-06-27 02:34:23 +0000.408686][f6e] 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
[024:744] [2022-06-27 02:34:23 +0000.429050][f6f] DTS queue for
Generator:0x7803ca12b8 8258 8290 8324 8357 8391 8425 8456 8488
[024:851] [2022-06-27 02:34:23 +0000.535451][f72] audio_frame_list_ empty
[024:851] [2022-06-27 02:34:23 +0000.535807][f71] Error(video_source.cc:430): wait
decoder a frame: 3
[024:911] [2022-06-27 02:34:23 +0000.595437][f6f] DTS queue for
Generator:0x7803ca12b8 9089 9124 9155 9189 9223 9258 9290 9325
[024:916] [2022-06-27 02:34:23 +0000.600399][f6e] setDisplayRotate :90
[024:916] [2022-06-27 02:34:23 +0000.600462][f6e] 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
[024:928] [2022-06-27 02:34:23 +0000.612312][f6f] Push an pts:9390 to dts queue.
[025:000] [2022-06-27 02:34:23 +0000.684467][ec6] haveEnoughProcessedData
internalAudioStream.length: 20
[025:025] [2022-06-27 02:34:23 +0000.709136][f6e] setDisplayRotate :90
[025:025] [2022-06-27 02:34:23 +0000.709192][f6e] 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
[025:035] [2022-06-27 02:34:23 +0000.720065][f6e] setDisplayRotate :90
[025:036] [2022-06-27 02:34:23 +0000.720197][f6e] 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
[025:039] [2022-06-27 02:34:23 +0000.723884][f6f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:9591
[025:039] [2022-06-27 02:34:23 +0000.723987][f6f] push video frame to H264 encoder.
(100 frame for one log)

[025:039] [2022-06-27 02:34:23 +0000.724047][f6f] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[025:039] [2022-06-27 02:34:23 +0000.724147][f6f] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:9591(100 frame for one
log)

[025:040] [2022-06-27 02:34:23 +0000.724213][f6f] The input pts:9591 fps:30


[025:061] [2022-06-27 02:34:23 +0000.745590][f6f] SendFrame
encodedImage._timeStamp:9390encodedImage->_length:65648
[025:061] [2022-06-27 02:34:23 +0000.745668][f6f] last dts:9358 currentPts:9390
ppsOrSPS:0 queue length:7
[025:086] [2022-06-27 02:34:23 +0000.770349][f6f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:9457 pts:9457
[025:117] [2022-06-27 02:34:23 +0000.801682][f6f] H264Encode::H264SWEncoder get
callback, length:61008 type:1 nalType:1length:61004
[025:123] [2022-06-27 02:34:23 +0000.807955][f64] av_read_frame AVERROR_EOF
[025:181] [2022-06-27 02:34:23 +0000.865334][f6f] DTS queue for
Generator:0x7803ca12b8 9891 9925 9958 9988 10023 10059 10092 10125 10159 10193
[025:202] [2022-06-27 02:34:23 +0000.886729][f6f] h264 add frame header cdr flag
[025:202] [2022-06-27 02:34:23 +0000.887026][f6f] Received key frame:9988
[025:204] [2022-06-27 02:34:23 +0000.889032][f73] get the H.264 IDR frame
[025:212] [2022-06-27 02:34:23 +0000.896165][f71] Error(video_source.cc:430): wait
decoder a frame: 4
[025:212] [2022-06-27 02:34:23 +0000.896825][f64] OnReceiveEOF:
[025:212] [2022-06-27 02:34:23 +0000.896872][f64] OnDecoderEOF time:90252200
enter.

[025:212] [2022-06-27 02:34:23 +0000.896908][f64] OnDecoderEOF leave. expire time


= 0 ms

[025:212] [2022-06-27 02:34:23 +0000.896933][f64] OnDecoderFinished:


OnDecoderFinished total decoder frames:318 this:0x7824021c00
[025:212] [2022-06-27 02:34:23 +0000.896985][f64] NULLFilter::OnVideoSourceEOF
0x7824021c00 this 0x780c04fd80
[025:212] [2022-06-27 02:34:23 +0000.897016][f64] NULLFilter::OnVideoSourceEOF
0x780c04fd80 this 0x780c04fe40
[025:212] [2022-06-27 02:34:23 +0000.897051][f64] NULLFilter::OnVideoSourceEOF
0x780c04fe40 this 0x780c050080
[025:212] [2022-06-27 02:34:23 +0000.896929][f62] CleanUp time:90252200 enter.

[025:213] [2022-06-27 02:34:23 +0000.897684][f71]


Warning(media_filter_composefile.cc:321): pull video frame failed:8
[025:213] [2022-06-27 02:34:23 +0000.897762][f71] OnVideoTimer: OnVideoTimer return
[025:215] [2022-06-27 02:34:23 +0000.899163][f72] PullAudioFrame: PullFrame audio
finished.
[025:215] [2022-06-27 02:34:23 +0000.899226][f72]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[025:215] [2022-06-27 02:34:23 +0000.899251][f72] OnAudioTimer: OnAudioTimer
EndComposeFile
[025:215] [2022-06-27 02:34:23 +0000.899265][f72] EndComposeFile: EndComposeFile,
is composing 1
[025:221] [2022-06-27 02:34:23 +0000.906083][f62] CleanUp leave. expire time = 10
ms

[025:222] [2022-06-27 02:34:23 +0000.906196][f62] clean up


[025:222] [2022-06-27 02:34:23 +0000.906214][f62] running_decoder_count:0max
count:2
[025:247] [2022-06-27 02:34:23 +0000.931677][f6f]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:318
[025:247] [2022-06-27 02:34:23 +0000.931963][f6f]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x77ee217800
[025:248] [2022-06-27 02:34:23 +0000.932492][f70]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[025:248] [2022-06-27 02:34:23 +0000.932537][f70]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[025:248] [2022-06-27 02:34:23 +0000.932679][f6e] stop recording
[025:248] [2022-06-27 02:34:23 +0000.932710][f6e]
RecordingSessionInternalSimple:destroy media processers
[025:248] [2022-06-27 02:34:23 +0000.932728][f6e] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[025:248] [2022-06-27 02:34:23 +0000.932775][f6e] H264Encode::flushing hareware
Encoder
[025:248] [2022-06-27 02:34:23 +0000.932864][f6e] Flush time:90252236 enter.

[025:248] [2022-06-27 02:34:23 +0000.932897][f6e] H264Encoder encoder flush


[025:248] [2022-06-27 02:34:23 +0000.932916][f6e] flush output queue
[025:280] [2022-06-27 02:34:23 +0000.964237][ec6] Run AGC when audioType = 0
[025:280] [2022-06-27 02:34:23 +0000.964353][ec6]
AudioDeviceDataHandler::MixAndSendOutFrame
[025:569] [2022-06-27 02:34:24 +0000.253885][f6e] Flush leave. expire time = 321
ms

[025:569] [2022-06-27 02:34:24 +0000.254080][f6e] ~H264EncodeWrap:


[025:570] [2022-06-27 02:34:24 +0000.254145][f6e] ~H264Encode:
[025:570] [2022-06-27 02:34:24 +0000.254192][f6e] teardownCompressionSession:
H264Encode::destroying Encoder
[025:570] [2022-06-27 02:34:24 +0000.254238][f6e] Release time:90252558 enter.

[025:570] [2022-06-27 02:34:24 +0000.254405][f6e] Release:


MediaCodecVideoEncoder::Release _inited:1
[025:570] [2022-06-27 02:34:24 +0000.254462][f6e] Destroy time:90252558 enter.

[025:570] [2022-06-27 02:34:24 +0000.254507][f6e] H264Encoder encoderDestroy


[025:570] [2022-06-27 02:34:24 +0000.254547][f6e]
AndroidMediaCodecVideoEncoder::release env: 0x77ee0fe800
[025:570] [2022-06-27 02:34:24 +0000.254590][f6e]
AndroidMediaCodecVideoEncoder::Destroy
[025:600] [2022-06-27 02:34:24 +0000.284846][f6e] Destroy leave. expire time = 30
ms

[025:600] [2022-06-27 02:34:24 +0000.284958][f6e] Release leave. expire time = 30


ms
[025:600] [2022-06-27 02:34:24 +0000.284993][f6e] ~AndroidHwAvcEncoder
time:90252588 enter.

[025:601] [2022-06-27 02:34:24 +0000.285094][f6e] Release time:90252589 enter.

[025:601] [2022-06-27 02:34:24 +0000.285127][f6e] Release: MediaCodecVideoEncoder::


has been released before, just return
[025:601] [2022-06-27 02:34:24 +0000.285142][f6e] Release leave. expire time = 0
ms

[025:601] [2022-06-27 02:34:24 +0000.285156][f6e] ~AndroidMediaCodecVideoEncoder


[025:601] [2022-06-27 02:34:24 +0000.285169][f6e] ~WrapAndroidMediaCodec
time:90252589 enter.

[025:601] [2022-06-27 02:34:24 +0000.285184][f6e] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[025:601] [2022-06-27 02:34:24 +0000.285199][f6e] video hevc hw codec


destructor:0x78e7619b70

[025:601] [2022-06-27 02:34:24 +0000.285228][f6e] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[025:601] [2022-06-27 02:34:24 +0000.285261][f6e] teardownCompressionSession:


H264Encode::destroyed Encoder
[025:601] [2022-06-27 02:34:24 +0000.285292][f6e]
RecordingSessionInternalSimple:destroy aac encoder output!
[025:601] [2022-06-27 02:34:24 +0000.285321][f6e] AACSWEncode destructor
[025:603] [2022-06-27 02:34:24 +0000.287478][f73] fd_close successed!
[025:607] [2022-06-27 02:34:24 +0000.291920][f73] MP4 close file successfully
[025:607] [2022-06-27 02:34:24 +0000.292001][f73] Recording session Internal:
notify recording ok
[025:607] [2022-06-27 02:34:24 +0000.292021][f73] onRecordingOk: Recording Ok,
compose use time: 3203, averagefps 0
[025:607] [2022-06-27 02:34:24 +0000.292039][f73] OnReceiveEOF:
[025:609] [2022-06-27 02:34:24 +0000.293290][f72] OnAudioTimer: OnAudioTimer return
[025:617] [2022-06-27 02:34:24 +0000.301874][4b09]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[025:617] [2022-06-27 02:34:24 +0000.302000][4b09] ~MediaComposeFile time:90252605
enter.

[025:617] [2022-06-27 02:34:24 +0000.302028][4b09] CancelCompose: CancelCompose,


is composing 0
[025:618] [2022-06-27 02:34:24 +0000.302156][f6e] stop recording
[025:618] [2022-06-27 02:34:24 +0000.302191][f6e] we have stopped recording before
[025:618] [2022-06-27 02:34:24 +0000.302605][4b09] ~MediaComposeFile leave. expire
time = 1 ms

[025:618] [2022-06-27 02:34:24 +0000.302731][4b09] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[025:618] [2022-06-27 02:34:24 +0000.303030][4b09] global uninited!
[025:619] [2022-06-27 02:34:24 +0000.303093][4b09]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[025:619] [2022-06-27 02:34:24 +0000.303153][4b09] ~MediaFilterGraph:
MediaFilterGraph destruct
[025:619] [2022-06-27 02:34:24 +0000.303187][4b09] RemoveVideoBackGroud: hava not
add video backgroud
[025:619] [2022-06-27 02:34:24 +0000.303223][4b09] UnbindInputFilter 0x780c050118
this 0x780cd1d520
[025:619] [2022-06-27 02:34:24 +0000.303282][4b09] ClearAllSource: remove source
filter, sourceid: 0x7824021c00
[025:619] [2022-06-27 02:34:24 +0000.303320][4b09] DestoryDecoderByVideoSource
time:90252607 enter.

[025:619] [2022-06-27 02:34:24 +0000.303357][4b09] ~VideoBindDecoder time:90252607


enter.

[025:619] [2022-06-27 02:34:24 +0000.303466][4b09] CleanUp time:90252607 enter.

[025:619] [2022-06-27 02:34:24 +0000.303648][4b09] CleanUp leave. expire time = 0


ms

[025:619] [2022-06-27 02:34:24 +0000.303682][4b09] CleanUp time:90252607 enter.

[025:619] [2022-06-27 02:34:24 +0000.303855][4b09] CleanUp leave. expire time = 0


ms

[025:620] [2022-06-27 02:34:24 +0000.304347][4b09] ~VideoBindDecoder leave. expire


time = 1 ms

[025:620] [2022-06-27 02:34:24 +0000.304385][4b09] DestoryDecoderByVideoSource


leave. expire time = 1 ms

[025:620] [2022-06-27 02:34:24 +0000.304422][4b09] UnbindInputFilter 0x780c04fed8


this 0x780c050118
[025:620] [2022-06-27 02:34:24 +0000.304451][4b09] UnbindInputFilter 0x780c04fe18
this 0x780c04fed8
[025:620] [2022-06-27 02:34:24 +0000.304521][4b09] UnbindInputFilter 0x7824021e20
this 0x780c04fe18
[025:620] [2022-06-27 02:34:24 +0000.304548][4b09] UnbindInputFilter 0x780c050058
this 0x780c050718
[025:620] [2022-06-27 02:34:24 +0000.304582][4b09] UnbindInputFilter 0x780c04ff98
this 0x780c050058
[025:620] [2022-06-27 02:34:24 +0000.304615][4b09] UnbindInputFilter 0x7824021e20
this 0x780c04ff98
[025:620] [2022-06-27 02:34:24 +0000.304665][4b09] ~GLESContext:
[025:621] [2022-06-27 02:34:24 +0000.305241][4b09] GLESContext destruct finish.
[025:621] [2022-06-27 02:34:24 +0000.305302][4b09] filter: filter pipeline destroy
this: 0x780cd1d480
[026:713] [2022-06-27 02:34:25 +0000.397451][ec6] haveEnoughProcessedData
internalAudioStream.length: 0
[027:279] [2022-06-27 02:34:25 +0000.964060][ec6] Run AGC when audioType = 0
[027:638] [2022-06-27 02:34:26 +0000.322459][4b45]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[027:638] [2022-06-27 02:34:26 +0000.323007][4b45] ~MediaFilterCamera time:90254626
enter.

[027:638] [2022-06-27 02:34:26 +0000.323081][4b45] StopPullFrameAndWriteMp4


time:90254626 enter.

[027:641] [2022-06-27 02:34:26 +0000.325338][ec1] stop recording


[027:641] [2022-06-27 02:34:26 +0000.325381][ec1] we have stopped recording before
[027:641] [2022-06-27 02:34:26 +0000.325426][4b45] StopPullFrameAndWriteMp4 leave.
expire time = 3 ms

[027:641] [2022-06-27 02:34:26 +0000.325757][4b45] DestroyPipelineAndFilters


time:90254629 enter.
[027:641] [2022-06-27 02:34:26 +0000.325783][4b45] DestroyPipelineAndFilters
leave. expire time = 0 ms

[027:641] [2022-06-27 02:34:26 +0000.325800][4b45] AppDeviceManagerStopMic

[027:641] [2022-06-27 02:34:26 +0000.325845][4b45] AppDeviceManagerStopMic::mic


status is on
[027:641] [2022-06-27 02:34:26 +0000.325901][4b45] Try to stop webrtc device.

[027:641] [2022-06-27 02:34:26 +0000.325922][4b45] Set record state to


stopped.threadID:19269

[027:691] [2022-06-27 02:34:26 +0000.375693][4b45] Try to destory the


recorder.threadID:19269

[027:891] [2022-06-27 02:34:26 +0000.575918][4b45] DestroyAudioRecorder:


[027:891] [2022-06-27 02:34:26 +0000.575986][4b45] Cleanup the buffer queue in the
recorder.
[027:893] [2022-06-27 02:34:26 +0000.577575][4b45] Destroy the recorder.

[027:895] [2022-06-27 02:34:26 +0000.579627][4b45] StopRecording finished.

[027:895] [2022-06-27 02:34:26 +0000.579680][4b45] The stop recording success.

[027:895] [2022-06-27 02:34:26 +0000.579698][4b45]


AudioDeviceDataHandler::StopMicProcess

[027:899] [2022-06-27 02:34:26 +0000.583239][4b45] AppDeviceManager stop.

[027:899] [2022-06-27 02:34:26 +0000.583463][4b45] Rlease the webrtc device object.

[027:899] [2022-06-27 02:34:26 +0000.583833][4b45] OpenSlesInput destruct.

[027:899] [2022-06-27 02:34:26 +0000.583873][4b45] OpenSlesOutput destruct.

[027:900] [2022-06-27 02:34:26 +0000.584952][4b45] EventDispatchServerScope


destruct
[027:900] [2022-06-27 02:34:26 +0000.584990][4b45]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[027:900] [2022-06-27 02:34:26 +0000.585032][4b45] ~AudioDeviceDataHandler

[027:903] [2022-06-27 02:34:26 +0000.587290][4b45] AppDeviceManagerDestruct.

[027:903] [2022-06-27 02:34:26 +0000.587351][4b45] ~AppDeviceManager:


[027:903] [2022-06-27 02:34:26 +0000.587393][4b45] ~CpuOverloadDetect time:90254891
enter.

[027:903] [2022-06-27 02:34:26 +0000.587809][4b45] ~CpuOverloadDetect leave.


expire time = 0 ms

[027:906] [2022-06-27 02:34:26 +0000.590319][4b45] Destruct BeautifyReader begin...


[027:906] [2022-06-27 02:34:26 +0000.590433][4b45] Destruct BeautifyReader done.
[027:906] [2022-06-27 02:34:26 +0000.590457][4b45] ~MediaFilterCamera leave.
expire time = 268 ms

[027:906] [2022-06-27 02:34:26 +0000.590583][4b45] ~GLESContext:


[027:909] [2022-06-27 02:34:26 +0000.593290][4b45] GLESContext destruct finish.
[027:909] [2022-06-27 02:34:26 +0000.593364][4b45] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[027:912] [2022-06-27 02:34:26 +0000.597058][4b45] global uninited!
[027:913] [2022-06-27 02:34:26 +0000.597306][4b45] clear AppID 50011
[027:913] [2022-06-27 02:34:26 +0000.597327][4b45] UnRegister JVM for Xplatform
util
[027:913] [2022-06-27 02:34:26 +0000.597342][4b45] Dispose::unregister webrtc video
engine
[027:913] [2022-06-27 02:34:26 +0000.597353][4b45] Init the android object with
jvm:0x0 env:0x0 context:0x0

[027:913] [2022-06-27 02:34:26 +0000.597388][4b45] SetAndroidMediaCodecObjects


time:90254901 enter.

[027:913] [2022-06-27 02:34:26 +0000.597399][4b45] ClearAndroidMediaCodecObjects


time:90254901 enter.

[027:913] [2022-06-27 02:34:26 +0000.597412][4b45] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[027:913] [2022-06-27 02:34:26 +0000.597423][4b45] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[027:913] [2022-06-27 02:34:26 +0000.597434][4b45] SetAndroidMediaCodecObjects


time:90254901 enter.

[027:913] [2022-06-27 02:34:26 +0000.597445][4b45] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[027:913] [2022-06-27 02:34:26 +0000.597457][4b45] ClearAndroidMediaCodecObjects
time:90254901 enter.

[027:913] [2022-06-27 02:34:26 +0000.597468][4b45] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[027:913] [2022-06-27 02:34:26 +0000.597479][4b45] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[027:913] [2022-06-27 02:34:26 +0000.597489][4b45] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[027:913] [2022-06-27 02:34:26 +0000.597500][4b45] Dispose::unregister webrtc voice


engine
[027:913] [2022-06-27 02:34:26 +0000.597511][4b45] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[027:913] [2022-06-27 02:34:26 +0000.597523][4b45] SystemUtil UnInit done


[4320:105] [2022-06-27 03:45:58 +0000.795688][4b45] Register JVM for xplatform util
[4320:146] [2022-06-27 03:45:58 +0000.830693][4b45] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-06-
27 03:45:58 +0000
[4320:146] [2022-06-27 03:45:58 +0000.830785][4b45] set AppID=50011 old AppID=-1
[4320:146] [2022-06-27 03:45:58 +0000.830809][4b45] Init the android object with
jvm:0xb4000079a8ed5540 env:0x78f9f6cd40 context:0x78745f6968

[4320:146] [2022-06-27 03:45:58 +0000.830866][4b45] SetAndroidMediaCodecObjects


time:94547134 enter.

[4320:146] [2022-06-27 03:45:58 +0000.830919][4b45] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[4320:146] [2022-06-27 03:45:58 +0000.830939][4b45] SetAndroidMediaCodecObjects


time:94547134 enter.
[4320:146] [2022-06-27 03:45:58 +0000.830956][4b45] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects:: jvm :0xb4000079a8ed5540
[4320:146] [2022-06-27 03:45:58 +0000.830974][4b45] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079a8ed5540 address:0x77f9f3b760
[4320:146] [2022-06-27 03:45:58 +0000.831003][4b45] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079a8ed5540
address:0x77f9f3b760
[4320:146] [2022-06-27 03:45:58 +0000.831020][4b45] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[4320:146] [2022-06-27 03:45:58 +0000.831046][4b45] Set the android objects with


jvm:0xb4000079a8ed5540 env:0x78f9f6cd40 context:0x78745f6968

[4320:148] [2022-06-27 03:45:58 +0000.832835][4b45] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78f9f6cd40
[4320:148] [2022-06-27 03:45:58 +0000.832959][4b45] SystemUtil Init done
[4320:151] [2022-06-27 03:45:58 +0000.835199][4b45]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[4320:154] [2022-06-27 03:45:58 +0000.838922][4b45] MediaFilterCamera
[4320:155] [2022-06-27 03:45:58 +0000.839162][4b45] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[4320:155] [2022-06-27 03:45:58 +0000.839266][4b45] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[4320:155] [2022-06-27 03:45:58 +0000.839289][4b45] Recording session using default
bitrate support by app:31457280
[4320:155] [2022-06-27 03:45:58 +0000.839306][190c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78e75da0c0
[4320:155] [2022-06-27 03:45:58 +0000.839402][190c] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[4320:155] [2022-06-27 03:45:58 +0000.839473][4b45] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[4320:159] [2022-06-27 03:45:58 +0000.843167][4b45] Error(ini.cc:191): Open the
file failed. error:2
[4320:161] [2022-06-27 03:45:58 +0000.845792][4b45]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[4320:161] [2022-06-27 03:45:58 +0000.845858][4b45] The device model: m2012k11ag
usingSoftwareAEC value: 0
[4320:164] [2022-06-27 03:45:58 +0000.848261][4b45] Error(ini.cc:191): Open the
file failed. error:2
[4320:164] [2022-06-27 03:45:58 +0000.848335][4b45]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[4320:164] [2022-06-27 03:45:58 +0000.848377][4b45] The device model: m2012k11ag
usingHardwareAEC value: 0
[4320:164] [2022-06-27 03:45:58 +0000.848395][4b45] The machine device: m2012k11ag
usingHardwareAEC value: 0
[4320:164] [2022-06-27 03:45:58 +0000.848410][4b45] Using Default AEC type:
software AEC
[4320:165] [2022-06-27 03:45:58 +0000.849795][4b45] The device model: m2012k11ag
enum value: 0
[4320:166] [2022-06-27 03:45:58 +0000.850164][4b45] GetMachineModel is M2012K11AG
[4320:166] [2022-06-27 03:45:58 +0000.850351][4b45] GetMachineInfo: M2012K11AG
[4320:166] [2022-06-27 03:45:58 +0000.850387][4b45] Construct BeautifyReader
begin...
[4320:166] [2022-06-27 03:45:58 +0000.850405][4b45] dumpStickerRgba:0
dumpStickerYuv:0
[4320:166] [2022-06-27 03:45:58 +0000.850423][4b45] Construct BeautifyReader done.
[4320:170] [2022-06-27 03:45:58 +0000.854857][4b45]
AppDeviceManagerStartCamera::The result of start thread is: 1 micOn:0
[4320:170] [2022-06-27 03:45:58 +0000.854951][4b45] AppDeviceManager telnet server
for statistics started......
[4320:170] [2022-06-27 03:45:58 +0000.855066][190f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78704f65a0
[4320:171] [2022-06-27 03:45:58 +0000.855918][4b45] CpuOverloadDetect time:94547159
enter.

[4320:171] [2022-06-27 03:45:58 +0000.856003][4b45] CpuOverloadDetect leave.


expire time = 0 ms

[4320:171] [2022-06-27 03:45:58 +0000.856038][1910] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x78e7680b40
[4320:172] [2022-06-27 03:45:58 +0000.856445][4b45] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[4320:172] [2022-06-27 03:45:58 +0000.856536][4b45] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[4320:172] [2022-06-27 03:45:58 +0000.856751][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[4320:174] [2022-06-27 03:45:58 +0000.858461][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[4320:176] [2022-06-27 03:45:58 +0000.860561][4b45] CreatePlatformSpecificObjects:
[4320:176] [2022-06-27 03:45:58 +0000.860628][4b45] audio device use opensle input
and opensl output
[4320:176] [2022-06-27 03:45:58 +0000.860664][4b45] Create OpenSLES output module
with java VM support.

[4320:176] [2022-06-27 03:45:58 +0000.860781][4b45] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[4320:177] [2022-06-27 03:45:58 +0000.861111][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[4320:177] [2022-06-27 03:45:58 +0000.861646][4b45] Create OpenSLES output module
with buffer num:1

[4320:177] [2022-06-27 03:45:58 +0000.861801][4b45] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[4320:177] [2022-06-27 03:45:58 +0000.861947][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[4320:178] [2022-06-27 03:45:58 +0000.862089][4b45] Create OpenSLES input module
with java VM support.

[4320:178] [2022-06-27 03:45:58 +0000.862118][4b45] Create OpenSLES input module


with buffer num:1

[4320:178] [2022-06-27 03:45:58 +0000.862196][4b45] Error(trace.cc:40): Init the


output and input for audio device template.
[4320:178] [2022-06-27 03:45:58 +0000.862217][4b45] Init the output device.

[4320:178] [2022-06-27 03:45:58 +0000.862231][4b45] Init the opensl input.


[4320:178] [2022-06-27 03:45:58 +0000.862249][4b45] AppDeviceManager get setting
samplerate: 0
[4320:178] [2022-06-27 03:45:58 +0000.862622][4b45] The device model: m2012k11ag
enum value: 0
[4320:178] [2022-06-27 03:45:58 +0000.862975][4b45] The device model: m2012k11ag
enum value: 0
[4320:178] [2022-06-27 03:45:58 +0000.862999][4b45] Set the sample rate to be:48000

[4320:178] [2022-06-27 03:45:58 +0000.863035][4b45] Enable the recording stereo:0


[4320:178] [2022-06-27 03:45:58 +0000.863052][4b45] Set the playout as stereo:1
[4320:178] [2022-06-27 03:45:58 +0000.863066][4b45] Init the microphone.
[4320:187] [2022-06-27 03:45:58 +0000.871858][4b45] Update the recording sample
rate to be: 48000
[4320:187] [2022-06-27 03:45:58 +0000.871931][4b45] Init the speaker.
[4320:187] [2022-06-27 03:45:58 +0000.872007][4b45] Low latency buffer size:144 low
sample rate:48000
[4320:188] [2022-06-27 03:45:58 +0000.872753][4b45] Using 1 x 10ms for an audio
frame.

[4320:194] [2022-06-27 03:45:58 +0000.879049][4b45] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[4320:195] [2022-06-27 03:45:58 +0000.880003][4b45] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[4320:195] [2022-06-27 03:45:58 +0000.880052][4b45] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[4320:201] [2022-06-27 03:45:58 +0000.885396][4b45] The device model:m2012k11ag

[4320:201] [2022-06-27 03:45:58 +0000.885470][4b45] speaker output factor:100


defaultFactor: 100

[4320:201] [2022-06-27 03:45:58 +0000.885488][4b45] headset output factor:100


defaultFactor: 100

[4320:201] [2022-06-27 03:45:58 +0000.885816][4b45] AppDeviceManagerStart finished.


[4320:201] [2022-06-27 03:45:58 +0000.885842][4b45] AppDeviceManagerStartMic::mic
status is off
[4320:201] [2022-06-27 03:45:58 +0000.885888][4b45] AppDeviceManagerStartMic update
aec type: 2

[4320:201] [2022-06-27 03:45:58 +0000.885904][4b45] AppDeviceManagerStartMic update


voiceChangeMode: 4

[4320:201] [2022-06-27 03:45:58 +0000.885919][4b45]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[4320:201] [2022-06-27 03:45:58 +0000.885934][4b45]
AudioDeviceDataHandler::StartMicProcess

[4320:201] [2022-06-27 03:45:58 +0000.886039][4b45] Try to start webrtc recording


device.

[4320:201] [2022-06-27 03:45:58 +0000.886062][4b45] StartRecording. threadID:19269

[4320:202] [2022-06-27 03:45:58 +0000.886122][4b45] default mode: Set the recording


mode to voice communication to enable HW AEC .

[4320:202] [2022-06-27 03:45:58 +0000.886144][4b45] Set the recording mode before


getSetting: 4
[4320:202] [2022-06-27 03:45:58 +0000.886163][4b45] Set the recording mode after
getSetting: 1
[4320:202] [2022-06-27 03:45:58 +0000.886323][1911] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[4320:254] [2022-06-27 03:45:58 +0000.938619][4b45] StartRecording finished.

[4320:254] [2022-06-27 03:45:58 +0000.938715][4b45] audio: start the audio mic


checker timer.

[4320:255] [2022-06-27 03:45:58 +0000.939096][4b45] machine model :poco


[4320:255] [2022-06-27 03:45:58 +0000.939119][4b45] Support this machine
model :poco
[4320:268] [2022-06-27 03:45:58 +0000.952674][4b45] global inited! current sdk
version: 07-20-936c45f
[4320:504] [2022-06-27 03:45:59 +0000.188771][c53]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[4320:505] [2022-06-27 03:45:59 +0000.189532][190d] MediaFilterCamera, recording
file context:0x78e77fba80 input texture:10
[4320:505] [2022-06-27 03:45:59 +0000.189586][190d] GLESContext:
[4320:505] [2022-06-27 03:45:59 +0000.189651][190d] The result of eglGetDisplay is:
0xb4000078f9f69c80
[4320:507] [2022-06-27 03:45:59 +0000.191407][190d] The result of creation:
0x780bb35480
[4320:507] [2022-06-27 03:45:59 +0000.191927][190d] The result of
eglCreatePbufferSurface is: 0x780bb35b00
[4320:508] [2022-06-27 03:45:59 +0000.192299][c53]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x78e77fba80 input_texture: 10
[4320:900] [2022-06-27 03:45:59 +0000.584601][1911] haveEnoughProcessedData
internalAudioStream.length: 0
[4321:972] [2022-06-27 03:46:00 +0000.656803][1911] Run AGC when audioType = 0
[4321:973] [2022-06-27 03:46:00 +0000.657208][1911]
AudioDeviceDataHandler::MixAndSendOutFrame
[4322:611] [2022-06-27 03:46:01 +0000.295416][1911] haveEnoughProcessedData
internalAudioStream.length: 0
[4323:288] [2022-06-27 03:46:01 +0000.972567][4b45]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[4323:288] [2022-06-27 03:46:01 +0000.972739][4b45] ~MediaFilterCamera
time:94550276 enter.

[4323:288] [2022-06-27 03:46:01 +0000.972771][4b45] StopPullFrameAndWriteMp4


time:94550276 enter.

[4323:289] [2022-06-27 03:46:01 +0000.973130][190c] stop recording


[4323:289] [2022-06-27 03:46:01 +0000.973187][190c] we have stopped recording
before
[4323:289] [2022-06-27 03:46:01 +0000.974035][4b45] StopPullFrameAndWriteMp4
leave. expire time = 1 ms

[4323:313] [2022-06-27 03:46:01 +0000.997610][4b45] DestroyPipelineAndFilters


time:94550301 enter.

[4323:313] [2022-06-27 03:46:01 +0000.997707][4b45] DestroyPipelineAndFilters


leave. expire time = 0 ms

[4323:313] [2022-06-27 03:46:01 +0000.997746][4b45] AppDeviceManagerStopMic

[4323:313] [2022-06-27 03:46:01 +0000.997832][4b45] AppDeviceManagerStopMic::mic


status is on
[4323:313] [2022-06-27 03:46:01 +0000.997866][4b45] Try to stop webrtc device.

[4323:313] [2022-06-27 03:46:01 +0000.997901][4b45] Set record state to


stopped.threadID:19269

[4323:375] [2022-06-27 03:46:02 +0000.59695][4b45] Try to destory the


recorder.threadID:19269

[4323:614] [2022-06-27 03:46:02 +0000.298189][4b45] DestroyAudioRecorder:


[4323:614] [2022-06-27 03:46:02 +0000.298439][4b45] Cleanup the buffer queue in the
recorder.
[4323:614] [2022-06-27 03:46:02 +0000.298486][4b45] Destroy the recorder.
[4323:616] [2022-06-27 03:46:02 +0000.300845][4b45] StopRecording finished.

[4323:617] [2022-06-27 03:46:02 +0000.301174][4b45] The stop recording success.

[4323:617] [2022-06-27 03:46:02 +0000.301262][4b45]


AudioDeviceDataHandler::StopMicProcess

[4323:622] [2022-06-27 03:46:02 +0000.307001][4b45] AppDeviceManager stop.

[4323:623] [2022-06-27 03:46:02 +0000.307182][4b45] Rlease the webrtc device


object.

[4323:626] [2022-06-27 03:46:02 +0000.310915][4b45] OpenSlesInput destruct.

[4323:627] [2022-06-27 03:46:02 +0000.311332][4b45] OpenSlesOutput destruct.

[4323:628] [2022-06-27 03:46:02 +0000.312792][4b45] EventDispatchServerScope


destruct
[4323:628] [2022-06-27 03:46:02 +0000.312888][4b45]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[4323:628] [2022-06-27 03:46:02 +0000.312984][4b45] ~AudioDeviceDataHandler

[4323:629] [2022-06-27 03:46:02 +0000.314004][4b45] AppDeviceManagerDestruct.

[4323:629] [2022-06-27 03:46:02 +0000.314087][4b45] ~AppDeviceManager:


[4323:630] [2022-06-27 03:46:02 +0000.314180][4b45] ~CpuOverloadDetect
time:94550618 enter.

[4323:631] [2022-06-27 03:46:02 +0000.315457][4b45] ~CpuOverloadDetect leave.


expire time = 1 ms

[4323:633] [2022-06-27 03:46:02 +0000.317282][4b45] Destruct BeautifyReader


begin...
[4323:633] [2022-06-27 03:46:02 +0000.317403][4b45] Destruct BeautifyReader done.
[4323:633] [2022-06-27 03:46:02 +0000.317467][4b45] ~MediaFilterCamera leave.
expire time = 345 ms

[4323:635] [2022-06-27 03:46:02 +0000.319224][4b45] ~GLESContext:


[4323:645] [2022-06-27 03:46:02 +0000.329285][4b45] GLESContext destruct finish.
[4323:645] [2022-06-27 03:46:02 +0000.329400][4b45]
~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[4323:648] [2022-06-27 03:46:02 +0000.332783][4b45] global uninited!
[4323:649] [2022-06-27 03:46:02 +0000.333278][4b45] clear AppID 50011
[4323:649] [2022-06-27 03:46:02 +0000.333344][4b45] UnRegister JVM for Xplatform
util
[4323:649] [2022-06-27 03:46:02 +0000.333385][4b45] Dispose::unregister webrtc
video engine
[4323:649] [2022-06-27 03:46:02 +0000.333419][4b45] Init the android object with
jvm:0x0 env:0x0 context:0x0

[4323:649] [2022-06-27 03:46:02 +0000.333463][4b45] SetAndroidMediaCodecObjects


time:94550637 enter.

[4323:649] [2022-06-27 03:46:02 +0000.333498][4b45] ClearAndroidMediaCodecObjects


time:94550637 enter.

[4323:649] [2022-06-27 03:46:02 +0000.333536][4b45] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[4323:649] [2022-06-27 03:46:02 +0000.333572][4b45] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[4323:649] [2022-06-27 03:46:02 +0000.333620][4b45] SetAndroidMediaCodecObjects


time:94550637 enter.

[4323:649] [2022-06-27 03:46:02 +0000.333657][4b45] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[4323:649] [2022-06-27 03:46:02 +0000.333692][4b45] ClearAndroidMediaCodecObjects
time:94550637 enter.

[4323:649] [2022-06-27 03:46:02 +0000.333725][4b45] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[4323:649] [2022-06-27 03:46:02 +0000.333759][4b45] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[4323:649] [2022-06-27 03:46:02 +0000.333792][4b45] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[4323:649] [2022-06-27 03:46:02 +0000.333826][4b45] Dispose::unregister webrtc


voice engine
[4323:649] [2022-06-27 03:46:02 +0000.333858][4b45] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[4323:650] [2022-06-27 03:46:02 +0000.334130][4b45] SystemUtil UnInit done


[8038:293] [2022-06-27 04:47:56 +0000.978350][4b45] Register JVM for xplatform util
[8038:307] [2022-06-27 04:47:56 +0000.991986][4b45] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-06-
27 04:47:56 +0000
[8038:307] [2022-06-27 04:47:56 +0000.992031][4b45] set AppID=50011 old AppID=-1
[8038:307] [2022-06-27 04:47:56 +0000.992049][4b45] Init the android object with
jvm:0xb4000079a8ed5540 env:0x78f9f6cd40 context:0x78745f6968

[8038:308] [2022-06-27 04:47:56 +0000.992148][4b45] SetAndroidMediaCodecObjects


time:98265296 enter.

[8038:308] [2022-06-27 04:47:56 +0000.992185][4b45] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[8038:308] [2022-06-27 04:47:56 +0000.992200][4b45] SetAndroidMediaCodecObjects


time:98265296 enter.

[8038:308] [2022-06-27 04:47:56 +0000.992217][4b45] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000079a8ed5540
[8038:308] [2022-06-27 04:47:56 +0000.992234][4b45] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000079a8ed5540 address:0x77f9f3b760
[8038:308] [2022-06-27 04:47:56 +0000.992259][4b45] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000079a8ed5540
address:0x77f9f3b760
[8038:308] [2022-06-27 04:47:56 +0000.992274][4b45] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[8038:308] [2022-06-27 04:47:56 +0000.992300][4b45] Set the android objects with


jvm:0xb4000079a8ed5540 env:0x78f9f6cd40 context:0x78745f6968

[8038:309] [2022-06-27 04:47:56 +0000.993342][4b45] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78f9f6cd40
[8038:309] [2022-06-27 04:47:56 +0000.993380][4b45] SystemUtil Init done
[8038:310] [2022-06-27 04:47:56 +0000.994337][4b45]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[8038:311] [2022-06-27 04:47:56 +0000.995975][4b45] MediaFilterCamera
[8038:311] [2022-06-27 04:47:56 +0000.996015][4b45] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[8038:311] [2022-06-27 04:47:56 +0000.996076][4b45] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[8038:312] [2022-06-27 04:47:56 +0000.996109][4b45] Recording session using default
bitrate support by app:31457280
[8038:312] [2022-06-27 04:47:56 +0000.996196][73bb] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78e75da0c0
[8038:312] [2022-06-27 04:47:56 +0000.996296][73bb] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[8038:312] [2022-06-27 04:47:56 +0000.996367][4b45] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[8038:313] [2022-06-27 04:47:56 +0000.997774][4b45] Error(ini.cc:191): Open the
file failed. error:2
[8038:313] [2022-06-27 04:47:56 +0000.997805][4b45]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[8038:313] [2022-06-27 04:47:56 +0000.997840][4b45] The device model: m2012k11ag
usingSoftwareAEC value: 0
[8038:315] [2022-06-27 04:47:56 +0000.999677][4b45] Error(ini.cc:191): Open the
file failed. error:2
[8038:315] [2022-06-27 04:47:56 +0000.999715][4b45]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[8038:315] [2022-06-27 04:47:56 +0000.999750][4b45] The device model: m2012k11ag
usingHardwareAEC value: 0
[8038:315] [2022-06-27 04:47:56 +0000.999767][4b45] The machine device: m2012k11ag
usingHardwareAEC value: 0
[8038:315] [2022-06-27 04:47:56 +0000.999782][4b45] Using Default AEC type:
software AEC
[8038:316] [2022-06-27 04:47:57 +0000.917][4b45] The device model: m2012k11ag enum
value: 0
[8038:317] [2022-06-27 04:47:57 +0000.1460][4b45] GetMachineModel is M2012K11AG
[8038:317] [2022-06-27 04:47:57 +0000.1537][4b45] GetMachineInfo: M2012K11AG
[8038:317] [2022-06-27 04:47:57 +0000.1575][4b45] Construct BeautifyReader begin...
[8038:317] [2022-06-27 04:47:57 +0000.1596][4b45] dumpStickerRgba:0
dumpStickerYuv:0
[8038:317] [2022-06-27 04:47:57 +0000.1615][4b45] Construct BeautifyReader done.
[8038:325] [2022-06-27 04:47:57 +0000.10033][4b45] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[8038:325] [2022-06-27 04:47:57 +0000.10054][73bf] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78721a0ba0
[8038:326] [2022-06-27 04:47:57 +0000.10113][4b45] AppDeviceManager telnet server
for statistics started......
[8038:326] [2022-06-27 04:47:57 +0000.10520][4b45] CpuOverloadDetect time:98265314
enter.

[8038:326] [2022-06-27 04:47:57 +0000.10581][4b45] CpuOverloadDetect leave. expire


time = 0 ms

[8038:326] [2022-06-27 04:47:57 +0000.10607][73c0] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x78e76807c0
[8038:326] [2022-06-27 04:47:57 +0000.10952][4b45] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[8038:326] [2022-06-27 04:47:57 +0000.10980][4b45] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[8038:327] [2022-06-27 04:47:57 +0000.11888][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[8038:328] [2022-06-27 04:47:57 +0000.12660][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[8038:328] [2022-06-27 04:47:57 +0000.12846][4b45] CreatePlatformSpecificObjects:
[8038:328] [2022-06-27 04:47:57 +0000.12878][4b45] audio device use opensle input
and opensl output
[8038:328] [2022-06-27 04:47:57 +0000.12915][4b45] Create OpenSLES output module
with java VM support.

[8038:328] [2022-06-27 04:47:57 +0000.13015][4b45] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[8038:329] [2022-06-27 04:47:57 +0000.13126][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[8038:329] [2022-06-27 04:47:57 +0000.13251][4b45] Create OpenSLES output module
with buffer num:1

[8038:329] [2022-06-27 04:47:57 +0000.13347][4b45] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[8038:329] [2022-06-27 04:47:57 +0000.13455][4b45] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[8038:329] [2022-06-27 04:47:57 +0000.13576][4b45] Create OpenSLES input module
with java VM support.

[8038:329] [2022-06-27 04:47:57 +0000.13624][4b45] Create OpenSLES input module


with buffer num:1

[8038:329] [2022-06-27 04:47:57 +0000.13726][4b45] Error(trace.cc:40): Init the


output and input for audio device template.
[8038:329] [2022-06-27 04:47:57 +0000.13751][4b45] Init the output device.

[8038:329] [2022-06-27 04:47:57 +0000.13794][4b45] Init the opensl input.


[8038:329] [2022-06-27 04:47:57 +0000.13814][4b45] AppDeviceManager get setting
samplerate: 0
[8038:330] [2022-06-27 04:47:57 +0000.14098][4b45] The device model: m2012k11ag
enum value: 0
[8038:330] [2022-06-27 04:47:57 +0000.14435][4b45] The device model: m2012k11ag
enum value: 0
[8038:330] [2022-06-27 04:47:57 +0000.14459][4b45] Set the sample rate to be:48000

[8038:330] [2022-06-27 04:47:57 +0000.14516][4b45] Enable the recording stereo:0


[8038:330] [2022-06-27 04:47:57 +0000.14532][4b45] Set the playout as stereo:1
[8038:330] [2022-06-27 04:47:57 +0000.14562][4b45] Init the microphone.
[8038:332] [2022-06-27 04:47:57 +0000.16756][4b45] Update the recording sample rate
to be: 48000
[8038:332] [2022-06-27 04:47:57 +0000.16801][4b45] Init the speaker.
[8038:332] [2022-06-27 04:47:57 +0000.16843][4b45] Low latency buffer size:144 low
sample rate:48000
[8038:333] [2022-06-27 04:47:57 +0000.17228][4b45] Using 1 x 10ms for an audio
frame.

[8038:339] [2022-06-27 04:47:57 +0000.23293][4b45] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[8038:340] [2022-06-27 04:47:57 +0000.24426][4b45] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[8038:340] [2022-06-27 04:47:57 +0000.24650][4b45] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[8038:348] [2022-06-27 04:47:57 +0000.32141][4b45] The device model:m2012k11ag
[8038:348] [2022-06-27 04:47:57 +0000.32192][4b45] speaker output factor:100
defaultFactor: 100

[8038:348] [2022-06-27 04:47:57 +0000.32208][4b45] headset output factor:100


defaultFactor: 100

[8038:348] [2022-06-27 04:47:57 +0000.32585][4b45] AppDeviceManagerStart finished.


[8038:348] [2022-06-27 04:47:57 +0000.32608][4b45] AppDeviceManagerStartMic::mic
status is off
[8038:348] [2022-06-27 04:47:57 +0000.32653][4b45] AppDeviceManagerStartMic update
aec type: 2

[8038:348] [2022-06-27 04:47:57 +0000.32668][4b45] AppDeviceManagerStartMic update


voiceChangeMode: 4

[8038:348] [2022-06-27 04:47:57 +0000.32681][4b45]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[8038:348] [2022-06-27 04:47:57 +0000.32695][4b45]
AudioDeviceDataHandler::StartMicProcess

[8038:348] [2022-06-27 04:47:57 +0000.32789][4b45] Try to start webrtc recording


device.

[8038:348] [2022-06-27 04:47:57 +0000.32811][4b45] StartRecording. threadID:19269

[8038:348] [2022-06-27 04:47:57 +0000.32915][4b45] default mode: Set the recording


mode to voice communication to enable HW AEC .

[8038:348] [2022-06-27 04:47:57 +0000.32937][4b45] Set the recording mode before


getSetting: 4
[8038:348] [2022-06-27 04:47:57 +0000.32959][4b45] Set the recording mode after
getSetting: 1
[8038:349] [2022-06-27 04:47:57 +0000.33188][73c4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[8038:398] [2022-06-27 04:47:57 +0000.82511][4b45] StartRecording finished.

[8038:398] [2022-06-27 04:47:57 +0000.82561][4b45] audio: start the audio mic


checker timer.

[8038:399] [2022-06-27 04:47:57 +0000.83278][4b45] machine model :poco


[8038:399] [2022-06-27 04:47:57 +0000.83316][4b45] Support this machine model :poco
[8038:415] [2022-06-27 04:47:57 +0000.99603][4b45] global inited! current sdk
version: 07-20-936c45f
[8038:762] [2022-06-27 04:47:57 +0000.446540][c53]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[8038:762] [2022-06-27 04:47:57 +0000.446904][73bc] MediaFilterCamera, recording
file context:0x78e77fba80 input texture:12
[8038:762] [2022-06-27 04:47:57 +0000.446945][73bc] GLESContext:
[8038:762] [2022-06-27 04:47:57 +0000.447025][73bc] The result of eglGetDisplay is:
0xb4000078f9f69c80
[8038:765] [2022-06-27 04:47:57 +0000.449169][73bc] The result of creation:
0x77ee4d5a80
[8038:765] [2022-06-27 04:47:57 +0000.449316][73bc] The result of
eglCreatePbufferSurface is: 0x77ee4d5d00
[8038:765] [2022-06-27 04:47:57 +0000.449436][c53]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x78e77fba80 input_texture: 12
[8039:109] [2022-06-27 04:47:57 +0000.794038][73c5] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[8039:110] [2022-06-27 04:47:57 +0000.794279][73c5] _deviceSampleRate:48000

[8039:111] [2022-06-27 04:47:57 +0000.795800][73c4] Run AGC when audioType = 0


[8039:219] [2022-06-27 04:47:57 +0000.903423][73c4] haveEnoughProcessedData
internalAudioStream.length: 0
[8039:440] [2022-06-27 04:47:58 +0000.124831][4b45]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[8039:441] [2022-06-27 04:47:58 +0000.125207][4b45] ~MediaFilterCamera
time:98266429 enter.

[8039:441] [2022-06-27 04:47:58 +0000.125244][4b45] StopPullFrameAndWriteMp4


time:98266429 enter.

[8039:442] [2022-06-27 04:47:58 +0000.126149][73bb] stop recording


[8039:442] [2022-06-27 04:47:58 +0000.126194][73bb] we have stopped recording
before
[8039:443] [2022-06-27 04:47:58 +0000.127248][4b45] StopPullFrameAndWriteMp4
leave. expire time = 2 ms

[8039:443] [2022-06-27 04:47:58 +0000.127883][4b45] DestroyPipelineAndFilters


time:98266431 enter.

[8039:443] [2022-06-27 04:47:58 +0000.127920][4b45] DestroyPipelineAndFilters


leave. expire time = 0 ms

[8039:444] [2022-06-27 04:47:58 +0000.128477][4b45] AppDeviceManagerStopMic

[8039:444] [2022-06-27 04:47:58 +0000.128532][4b45] AppDeviceManagerStopMic::mic


status is on
[8039:444] [2022-06-27 04:47:58 +0000.128550][4b45] Try to stop webrtc device.

[8039:444] [2022-06-27 04:47:58 +0000.128568][4b45] Set record state to


stopped.threadID:19269

[8039:479] [2022-06-27 04:47:58 +0000.16391[000:018] [2022-07-10 16:39:56


+0000.79715][31e6] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
10 16:39:56 +0000
[000:018] [2022-07-10 16:39:56 +0000.79745][31e6] set AppID=50011 old AppID=-1
[000:018] [2022-07-10 16:39:56 +0000.79769][31e6] Init the android object with
jvm:0xb400007d740e4540 env:0x7cc8e47ac0 context:0x7c3fb6d778

[000:018] [2022-07-10 16:39:56 +0000.79809][31e6] SetAndroidMediaCodecObjects


time:2197367 enter.

[000:018] [2022-07-10 16:39:56 +0000.79830][31e6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:018] [2022-07-10 16:39:56 +0000.79856][31e6] SetAndroidMediaCodecObjects


time:2197367 enter.

[000:018] [2022-07-10 16:39:56 +0000.79881][31e6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d740e4540
[000:018] [2022-07-10 16:39:56 +0000.79906][31e6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d740e4540 address:0x7b870ef760
[000:018] [2022-07-10 16:39:56 +0000.79931][31e6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d740e4540
address:0x7b870ef760
[000:018] [2022-07-10 16:39:56 +0000.79956][31e6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:018] [2022-07-10 16:39:56 +0000.79982][31e6] Set the android objects with


jvm:0xb400007d740e4540 env:0x7cc8e47ac0 context:0x7c3fb6d778

[000:019] [2022-07-10 16:39:56 +0000.80866][31e6] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7cc8e47ac0
[000:019] [2022-07-10 16:39:56 +0000.80894][31e6] SystemUtil Init done
[000:021] [2022-07-10 16:39:56 +0000.82541][31e6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:022] [2022-07-10 16:39:56 +0000.83556][31e6] MediaFilterCamera
[000:022] [2022-07-10 16:39:56 +0000.83600][31e6] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:022] [2022-07-10 16:39:56 +0000.83697][31e6] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:022] [2022-07-10 16:39:56 +0000.83726][31e6] Recording session using default
bitrate support by app:31457280
[000:022] [2022-07-10 16:39:56 +0000.83729][4ff4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bbaeaa3c0
[000:022] [2022-07-10 16:39:56 +0000.83984][4ff4] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:022] [2022-07-10 16:39:56 +0000.84039][31e6] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:023] [2022-07-10 16:39:56 +0000.84470][31e6] Error(ini.cc:191): Open the file
failed. error:2
[000:023] [2022-07-10 16:39:56 +0000.84503][31e6]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:023] [2022-07-10 16:39:56 +0000.84532][31e6] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:025] [2022-07-10 16:39:56 +0000.86546][31e6] Error(ini.cc:191): Open the file
failed. error:2
[000:025] [2022-07-10 16:39:56 +0000.86599][31e6]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:025] [2022-07-10 16:39:56 +0000.86635][31e6] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:025] [2022-07-10 16:39:56 +0000.86659][31e6] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:025] [2022-07-10 16:39:56 +0000.86688][31e6] Using Default AEC type: software
AEC
[000:025] [2022-07-10 16:39:56 +0000.87261][31e6] The device model: m2012k11ag enum
value: 0
[000:026] [2022-07-10 16:39:56 +0000.87591][31e6] GetMachineModel is M2012K11AG
[000:026] [2022-07-10 16:39:56 +0000.87627][31e6] GetMachineInfo: M2012K11AG
[000:026] [2022-07-10 16:39:56 +0000.87663][31e6] Construct BeautifyReader begin...
[000:026] [2022-07-10 16:39:56 +0000.87684][31e6] dumpStickerRgba:0
dumpStickerYuv:0
[000:026] [2022-07-10 16:39:56 +0000.87712][31e6] Construct BeautifyReader done.
[000:029] [2022-07-10 16:39:56 +0000.90993][31e6] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:029] [2022-07-10 16:39:56 +0000.91023][4ff7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c370ccca0
[000:029] [2022-07-10 16:39:56 +0000.91330][31e6] AppDeviceManager telnet server
for statistics started......
[000:030] [2022-07-10 16:39:56 +0000.91786][31e6] CpuOverloadDetect time:2197379
enter.
[000:030] [2022-07-10 16:39:56 +0000.91856][31e6] CpuOverloadDetect leave. expire
time = 0 ms

[000:030] [2022-07-10 16:39:56 +0000.91878][4ff8] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7baf2db380
[000:030] [2022-07-10 16:39:56 +0000.92224][31e6] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[000:030] [2022-07-10 16:39:56 +0000.92251][31e6] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[000:031] [2022-07-10 16:39:56 +0000.92510][31e6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:031] [2022-07-10 16:39:56 +0000.92750][31e6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:031] [2022-07-10 16:39:56 +0000.93034][31e6] CreatePlatformSpecificObjects:
[000:031] [2022-07-10 16:39:56 +0000.93066][31e6] audio device use opensle input
and opensl output
[000:031] [2022-07-10 16:39:56 +0000.93098][31e6] Create OpenSLES output module
with java VM support.

[000:031] [2022-07-10 16:39:56 +0000.93169][31e6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:031] [2022-07-10 16:39:56 +0000.93268][31e6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:032] [2022-07-10 16:39:56 +0000.93382][31e6] Create OpenSLES output module
with buffer num:1

[000:032] [2022-07-10 16:39:56 +0000.93475][31e6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:032] [2022-07-10 16:39:56 +0000.93572][31e6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:032] [2022-07-10 16:39:56 +0000.93679][31e6] Create OpenSLES input module with
java VM support.

[000:032] [2022-07-10 16:39:56 +0000.93710][31e6] Create OpenSLES input module with


buffer num:1

[000:032] [2022-07-10 16:39:56 +0000.93760][31e6] Error(trace.cc:40): Init the


output and input for audio device template.
[000:032] [2022-07-10 16:39:56 +0000.93782][31e6] Init the output device.

[000:032] [2022-07-10 16:39:56 +0000.93810][31e6] Init the opensl input.


[000:032] [2022-07-10 16:39:56 +0000.93835][31e6] AppDeviceManager get setting
samplerate: 0
[000:032] [2022-07-10 16:39:56 +0000.94033][31e6] The device model: m2012k11ag enum
value: 0
[000:032] [2022-07-10 16:39:56 +0000.94355][31e6] The device model: m2012k11ag enum
value: 0
[000:033] [2022-07-10 16:39:56 +0000.94380][31e6] Set the sample rate to be:48000

[000:033] [2022-07-10 16:39:56 +0000.94407][31e6] Enable the recording stereo:0


[000:033] [2022-07-10 16:39:56 +0000.94432][31e6] Set the playout as stereo:1
[000:033] [2022-07-10 16:39:56 +0000.94458][31e6] Init the microphone.
[000:033] [2022-07-10 16:39:56 +0000.94763][31e6] Update the recording sample rate
to be: 48000
[000:033] [2022-07-10 16:39:56 +0000.94792][31e6] Init the speaker.
[000:033] [2022-07-10 16:39:56 +0000.94817][31e6] Low latency buffer size:144 low
sample rate:48000
[000:033] [2022-07-10 16:39:56 +0000.94994][31e6] Using 1 x 10ms for an audio
frame.
[000:036] [2022-07-10 16:39:56 +0000.97793][31e6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:036] [2022-07-10 16:39:56 +0000.97864][31e6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:036] [2022-07-10 16:39:56 +0000.97900][31e6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:040] [2022-07-10 16:39:56 +0000.101561][31e6] The device model:m2012k11ag

[000:040] [2022-07-10 16:39:56 +0000.101601][31e6] speaker output factor:100


defaultFactor: 100

[000:040] [2022-07-10 16:39:56 +0000.101618][31e6] headset output factor:100


defaultFactor: 100

[000:040] [2022-07-10 16:39:56 +0000.101867][31e6] AppDeviceManagerStart finished.


[000:040] [2022-07-10 16:39:56 +0000.101920][31e6] AppDeviceManagerStartMic::mic
status is off
[000:040] [2022-07-10 16:39:56 +0000.101970][31e6] AppDeviceManagerStartMic update
aec type: 2

[000:040] [2022-07-10 16:39:56 +0000.101999][31e6] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:040] [2022-07-10 16:39:56 +0000.102021][31e6]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:040] [2022-07-10 16:39:56 +0000.102047][31e6]
AudioDeviceDataHandler::StartMicProcess

[000:040] [2022-07-10 16:39:56 +0000.102153][31e6] Try to start webrtc recording


device.

[000:040] [2022-07-10 16:39:56 +0000.102180][31e6] StartRecording. threadID:12774

[000:040] [2022-07-10 16:39:56 +0000.102184][4ff9] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:040] [2022-07-10 16:39:56 +0000.102247][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[000:041] [2022-07-10 16:39:56 +0000.102403][31e6] The machine model:M2012K11AG

[000:041] [2022-07-10 16:39:56 +0000.102447][31e6] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:041] [2022-07-10 16:39:56 +0000.102468][31e6] Set the recording mode before


getSetting: 4
[000:041] [2022-07-10 16:39:56 +0000.102488][31e6] Set the recording mode after
getSetting: 1
[000:065] [2022-07-10 16:39:56 +0000.127226][31e6] StartRecording finished.

[000:065] [2022-07-10 16:39:56 +0000.127276][31e6] audio: start the audio mic


checker timer.

[000:066] [2022-07-10 16:39:56 +0000.127598][31e6] machine model :poco


[000:066] [2022-07-10 16:39:56 +0000.127618][31e6] Support this machine model :poco
[000:068] [2022-07-10 16:39:56 +0000.129842][31e6] global inited! current sdk
version: 07-20-936c45f
[000:148] [2022-07-10 16:39:56 +0000.209524][4ffa] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#
[000:148] [2022-07-10 16:39:56 +0000.209574][4ffa] _deviceSampleRate:48000

[000:148] [2022-07-10 16:39:56 +0000.210165][4ff9] Run AGC when audioType = 0


[000:148] [2022-07-10 16:39:56 +0000.210222][4ff9]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:276] [2022-07-10 16:39:56 +0000.338198][4404]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:277] [2022-07-10 16:39:56 +0000.338412][4ff5] MediaFilterCamera, recording
file context:0x7cb89b1b00 input texture:8
[000:277] [2022-07-10 16:39:56 +0000.338500][4ff5] GLESContext:
[000:277] [2022-07-10 16:39:56 +0000.338535][4ff5] The result of eglGetDisplay is:
0xb400007cc8e44c80
[000:277] [2022-07-10 16:39:56 +0000.339244][4ff5] The result of creation:
0x7b94282c80
[000:277] [2022-07-10 16:39:56 +0000.339351][4ff5] The result of
eglCreatePbufferSurface is: 0x7b94822c80
[000:278] [2022-07-10 16:39:56 +0000.339457][4404]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7cb89b1b00 input_texture: 8
[001:771] [2022-07-10 16:39:57 +0000.832782][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[002:153] [2022-07-10 16:39:58 +0000.214669][4ff9] Run AGC when audioType = 0
[003:484] [2022-07-10 16:39:59 +0000.545908][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[004:070] [2022-07-10 16:40:00 +0000.131477][4ff0]
monitorTime:4005totalDuration:3940
[004:154] [2022-07-10 16:40:00 +0000.215638][4ff9] Run AGC when audioType = 0
[004:154] [2022-07-10 16:40:00 +0000.215929][4ff9]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:189] [2022-07-10 16:40:01 +0000.251263][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[006:151] [2022-07-10 16:40:02 +0000.212450][4ff9] Run AGC when audioType = 0
[006:906] [2022-07-10 16:40:02 +0000.967928][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[008:151] [2022-07-10 16:40:04 +0000.213279][4ff9] Run AGC when audioType = 0
[008:152] [2022-07-10 16:40:04 +0000.213553][4ff9]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:614] [2022-07-10 16:40:04 +0000.675560][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[010:148] [2022-07-10 16:40:06 +0000.210372][4ffa] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:149] [2022-07-10 16:40:06 +0000.210833][4ffa] _deviceSampleRate:48000

[010:152] [2022-07-10 16:40:06 +0000.213916][4ff9] Run AGC when audioType = 0


[010:324] [2022-07-10 16:40:06 +0000.385879][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[012:030] [2022-07-10 16:40:08 +0000.92035][4ff9] haveEnoughProcessedData
internalAudioStream.length: 10
[012:149] [2022-07-10 16:40:08 +0000.211209][4ff9] Run AGC when audioType = 0
[012:150] [2022-07-10 16:40:08 +0000.211460][4ff9]
AudioDeviceDataHandler::MixAndSendOutFrame
[013:742] [2022-07-10 16:40:09 +0000.804271][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[014:151] [2022-07-10 16:40:10 +0000.213373][4ff9] Run AGC when audioType = 0
[015:450] [2022-07-10 16:40:11 +0000.511565][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[016:154] [2022-07-10 16:40:12 +0000.215490][4ff9] Run AGC when audioType = 0
[016:154] [2022-07-10 16:40:12 +0000.215897][4ff9]
AudioDeviceDataHandler::MixAndSendOutFrame
[017:167] [2022-07-10 16:40:13 +0000.228820][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[018:151] [2022-07-10 16:40:14 +0000.212501][4ff9] Run AGC when audioType = 0
[018:873] [2022-07-10 16:40:14 +0000.935273][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[020:149] [2022-07-10 16:40:16 +0000.210676][4ffa] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:149] [2022-07-10 16:40:16 +0000.210919][4ffa] _deviceSampleRate:48000

[020:152] [2022-07-10 16:40:16 +0000.213936][4ff9] Run AGC when audioType = 0


[020:152] [2022-07-10 16:40:16 +0000.214113][4ff9]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:589] [2022-07-10 16:40:16 +0000.650440][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[022:150] [2022-07-10 16:40:18 +0000.212020][4ff9] Run AGC when audioType = 0
[022:291] [2022-07-10 16:40:18 +0000.353311][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[024:005] [2022-07-10 16:40:20 +0000.66447][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[024:149] [2022-07-10 16:40:20 +0000.211346][4ff9] Run AGC when audioType = 0
[024:150] [2022-07-10 16:40:20 +0000.211656][4ff9]
AudioDeviceDataHandler::MixAndSendOutFrame
[025:710] [2022-07-10 16:40:21 +0000.772123][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[026:149] [2022-07-10 16:40:22 +0000.211036][4ff9] Run AGC when audioType = 0
[027:421] [2022-07-10 16:40:23 +0000.483364][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[028:151] [2022-07-10 16:40:24 +0000.212609][4ff9] Run AGC when audioType = 0
[028:151] [2022-07-10 16:40:24 +0000.212908][4ff9]
AudioDeviceDataHandler::MixAndSendOutFrame
[029:133] [2022-07-10 16:40:25 +0000.194906][4ff9] haveEnoughProcessedData
internalAudioStream.length: 10
[030:149] [2022-07-10 16:40:26 +0000.210458][4ffa] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:149] [2022-07-10 16:40:26 +0000.210749][4ffa] _deviceSampleRate:48000

[030:153] [2022-07-10 16:40:26 +0000.214744][4ff9] Run AGC when audioType = 0


[030:835] [2022-07-10 16:40:26 +0000.897510][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[032:150] [2022-07-10 16:40:28 +0000.212312][4ff9] Run AGC when audioType = 0
[032:151] [2022-07-10 16:40:28 +0000.212701][4ff9]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:550] [2022-07-10 16:40:28 +0000.612133][4ff9] haveEnoughProcessedData
internalAudioStream.length: 20
[034:153] [2022-07-10 16:40:30 +0000.215298][4ff9] Run AGC when audioType = 0
[034:257] [2022-07-10 16:40:30 +0000.319170][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[035:971] [2022-07-10 16:40:32 +0000.33015][4ff9] haveEnoughProcessedData
internalAudioStream.length: 20
[036:152] [2022-07-10 16:40:32 +0000.214182][4ff9] Run AGC when audioType = 0
[036:153] [2022-07-10 16:40:32 +0000.214469][4ff9]
AudioDeviceDataHandler::MixAndSendOutFrame
[037:673] [2022-07-10 16:40:33 +0000.735137][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[038:152] [2022-07-10 16:40:34 +0000.214083][4ff9] Run AGC when audioType = 0
[039:382] [2022-07-10 16:40:35 +0000.443794][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[040:149] [2022-07-10 16:40:36 +0000.210423][4ffa] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[040:149] [2022-07-10 16:40:36 +0000.210631][4ffa] _deviceSampleRate:48000

[040:152] [2022-07-10 16:40:36 +0000.213751][4ff9] Run AGC when audioType = 0


[040:152] [2022-07-10 16:40:36 +0000.213935][4ff9]
AudioDeviceDataHandler::MixAndSendOutFrame
[041:091] [2022-07-10 16:40:37 +0000.152629][4ff9] haveEnoughProcessedData
internalAudioStream.length: 10
[042:151] [2022-07-10 16:40:38 +0000.213250][4ff9] Run AGC when audioType = 0
[042:791] [2022-07-10 16:40:38 +0000.852761][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[044:149] [2022-07-10 16:40:40 +0000.210875][4ff9] Run AGC when audioType = 0
[044:149] [2022-07-10 16:40:40 +0000.211147][4ff9]
AudioDeviceDataHandler::MixAndSendOutFrame
[044:506] [2022-07-10 16:40:40 +0000.567709][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[046:152] [2022-07-10 16:40:42 +0000.213821][4ff9] Run AGC when audioType = 0
[046:225] [2022-07-10 16:40:42 +0000.287180][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[047:931] [2022-07-10 16:40:43 +0000.992497][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[048:149] [2022-07-10 16:40:44 +0000.210507][4ff9] Run AGC when audioType = 0
[048:149] [2022-07-10 16:40:44 +0000.210766][4ff9]
AudioDeviceDataHandler::MixAndSendOutFrame
[049:647] [2022-07-10 16:40:45 +0000.709259][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[050:148] [2022-07-10 16:40:46 +0000.210170][4ffa] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[050:148] [2022-07-10 16:40:46 +0000.210357][4ffa] _deviceSampleRate:48000

[050:152] [2022-07-10 16:40:46 +0000.213635][4ff9] Run AGC when audioType = 0


[051:354] [2022-07-10 16:40:47 +0000.416112][4ff9] haveEnoughProcessedData
internalAudioStream.length: 0
[051:454] [2022-07-10 16:40:47 +0000.515999][31e6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[051:454] [2022-07-10 16:40:47 +0000.516106][31e6] ~MediaFilterCamera time:2248803
enter.

[051:454] [2022-07-10 16:40:47 +0000.516260][31e6] StopPullFrameAndWriteMp4


time:2248803 enter.

[051:455] [2022-07-10 16:40:47 +0000.516638][4ff4] stop recording


[051:455] [2022-07-10 16:40:47 +0000.516680][4ff4] we have stopped recording before
[051:455] [2022-07-10 16:40:47 +0000.516768][31e6] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[051:455] [2022-07-10 16:40:47 +0000.517093][31e6] DestroyPipelineAndFilters


time:2248804 enter.
[051:455] [2022-07-10 16:40:47 +0000.517130][31e6] DestroyPipelineAndFilters
leave. expire time = 0 ms

[051:455] [2022-07-10 16:40:47 +0000.517182][31e6] AppDeviceManagerStopMic

[051:455] [2022-07-10 16:40:47 +0000.517223][31e6] AppDeviceManagerStopMic::mic


status is on
[051:455] [2022-07-10 16:40:47 +0000.517246][31e6] Try to stop webrtc device.

[051:455] [2022-07-10 16:40:47 +0000.517271][31e6] Set record state to


stopped.threadID:12774

[051:504] [2022-07-10 16:40:47 +0000.565639][31e6] Try to destory the


recorder.threadID:12774

[051:704] [2022-07-10 16:40:47 +0000.765839][31e6] DestroyAudioRecorder:


[051:704] [2022-07-10 16:40:47 +0000.765922][31e6] Cleanup the buffer queue in the
recorder.
[051:704] [2022-07-10 16:40:47 +0000.765944][31e6] Destroy the recorder.

[051:705] [2022-07-10 16:40:47 +0000.766532][31e6] StopRecording finished.

[051:705] [2022-07-10 16:40:47 +0000.766586][31e6] The stop recording success.

[051:705] [2022-07-10 16:40:47 +0000.766650][31e6]


AudioDeviceDataHandler::StopMicProcess

[051:707] [2022-07-10 16:40:47 +0000.769344][000:020] [2022-07-16 13:47:05


+0000.637232][654d] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
16 13:47:05 +0000
[000:020] [2022-07-16 13:47:05 +0000.637271][654d] set AppID=50011 old AppID=-1
[000:020] [2022-07-16 13:47:05 +0000.637283][654d] Init the android object with
jvm:0xb400007d740e4540 env:0x7cc8e47c00 context:0x7c4045c778

[000:020] [2022-07-16 13:47:05 +0000.637322][654d] SetAndroidMediaCodecObjects


time:489608220 enter.

[000:020] [2022-07-16 13:47:05 +0000.637356][654d] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:020] [2022-07-16 13:47:05 +0000.637369][654d] SetAndroidMediaCodecObjects


time:489608220 enter.

[000:020] [2022-07-16 13:47:05 +0000.637394][654d] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d740e4540
[000:020] [2022-07-16 13:47:05 +0000.637405][654d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d740e4540 address:0x7b936dd760
[000:020] [2022-07-16 13:47:05 +0000.637452][654d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d740e4540
address:0x7b936dd760
[000:020] [2022-07-16 13:47:05 +0000.637464][654d] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:020] [2022-07-16 13:47:05 +0000.637508][654d] Set the android objects with


jvm:0xb400007d740e4540 env:0x7cc8e47c00 context:0x7c4045c778

[000:021] [2022-07-16 13:47:05 +0000.638355][654d] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7cc8e47c00
[000:021] [2022-07-16 13:47:05 +0000.638385][654d] SystemUtil Init done
[000:023] [2022-07-16 13:47:05 +0000.640037][654d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:024] [2022-07-16 13:47:05 +0000.641290][654d] MediaFilterCamera
[000:024] [2022-07-16 13:47:05 +0000.641322][654d] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:024] [2022-07-16 13:47:05 +0000.641405][654d] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:024] [2022-07-16 13:47:05 +0000.641424][654d] Recording session using default
bitrate support by app:31457280
[000:024] [2022-07-16 13:47:05 +0000.641437][1a76] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bd0251cc0
[000:024] [2022-07-16 13:47:05 +0000.641600][1a76] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:024] [2022-07-16 13:47:05 +0000.641651][654d] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:025] [2022-07-16 13:47:05 +0000.641950][654d] Error(ini.cc:191): Open the file
failed. error:2
[000:025] [2022-07-16 13:47:05 +0000.641971][654d]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:025] [2022-07-16 13:47:05 +0000.641992][654d] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:026] [2022-07-16 13:47:05 +0000.643515][654d] Error(ini.cc:191): Open the file
failed. error:2
[000:026] [2022-07-16 13:47:05 +0000.643539][654d]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:026] [2022-07-16 13:47:05 +0000.643556][654d] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:026] [2022-07-16 13:47:05 +0000.643583][654d] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:026] [2022-07-16 13:47:05 +0000.643595][654d] Using Default AEC type: software
AEC
[000:026] [2022-07-16 13:47:05 +0000.643853][654d] The device model: m2012k11ag
enum value: 0
[000:027] [2022-07-16 13:47:05 +0000.644071][654d] GetMachineModel is M2012K11AG
[000:027] [2022-07-16 13:47:05 +0000.644090][654d] GetMachineInfo: M2012K11AG
[000:027] [2022-07-16 13:47:05 +0000.644109][654d] Construct BeautifyReader
begin...
[000:027] [2022-07-16 13:47:05 +0000.644125][654d] dumpStickerRgba:0
dumpStickerYuv:0
[000:027] [2022-07-16 13:47:05 +0000.644135][654d] Construct BeautifyReader done.
[000:029] [2022-07-16 13:47:05 +0000.646677][654d] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:029] [2022-07-16 13:47:05 +0000.646704][1a79] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7be1994ba0
[000:030] [2022-07-16 13:47:05 +0000.646870][654d] AppDeviceManager telnet server
for statistics started......
[000:030] [2022-07-16 13:47:05 +0000.647207][654d] CpuOverloadDetect time:489608230
enter.

[000:030] [2022-07-16 13:47:05 +0000.647267][654d] CpuOverloadDetect leave. expire


time = 0 ms

[000:030] [2022-07-16 13:47:05 +0000.647298][1a7c] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7bd065d840
[000:030] [2022-07-16 13:47:05 +0000.647514][654d] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:030] [2022-07-16 13:47:05 +0000.647530][654d] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:030] [2022-07-16 13:47:05 +0000.647699][654d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:031] [2022-07-16 13:47:05 +0000.648223][654d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:031] [2022-07-16 13:47:05 +0000.648430][654d] CreatePlatformSpecificObjects:
[000:031] [2022-07-16 13:47:05 +0000.648454][654d] audio device use opensle input
and opensl output
[000:031] [2022-07-16 13:47:05 +0000.648477][654d] Create OpenSLES output module
with java VM support.

[000:031] [2022-07-16 13:47:05 +0000.648544][654d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:031] [2022-07-16 13:47:05 +0000.648621][654d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:031] [2022-07-16 13:47:05 +0000.648707][654d] Create OpenSLES output module
with buffer num:1

[000:031] [2022-07-16 13:47:05 +0000.648791][654d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:032] [2022-07-16 13:47:05 +0000.648953][654d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:032] [2022-07-16 13:47:05 +0000.649055][654d] Create OpenSLES input module
with java VM support.

[000:032] [2022-07-16 13:47:05 +0000.649080][654d] Create OpenSLES input module


with buffer num:1

[000:032] [2022-07-16 13:47:05 +0000.649109][654d] Error(trace.cc:40): Init the


output and input for audio device template.
[000:032] [2022-07-16 13:47:05 +0000.649123][654d] Init the output device.

[000:032] [2022-07-16 13:47:05 +0000.649134][654d] Init the opensl input.


[000:032] [2022-07-16 13:47:05 +0000.649161][654d] AppDeviceManager get setting
samplerate: 0
[000:032] [2022-07-16 13:47:05 +0000.649302][654d] The device model: m2012k11ag
enum value: 0
[000:032] [2022-07-16 13:47:05 +0000.649540][654d] The device model: m2012k11ag
enum value: 0
[000:032] [2022-07-16 13:47:05 +0000.649556][654d] Set the sample rate to be:48000

[000:032] [2022-07-16 13:47:05 +0000.649566][654d] Enable the recording stereo:0


[000:032] [2022-07-16 13:47:05 +0000.649591][654d] Set the playout as stereo:1
[000:032] [2022-07-16 13:47:05 +0000.649601][654d] Init the microphone.
[000:033] [2022-07-16 13:47:05 +0000.650560][654d] Update the recording sample rate
to be: 48000
[000:033] [2022-07-16 13:47:05 +0000.650582][654d] Init the speaker.
[000:033] [2022-07-16 13:47:05 +0000.650601][654d] Low latency buffer size:144 low
sample rate:48000
[000:033] [2022-07-16 13:47:05 +0000.650717][654d] Using 1 x 10ms for an audio
frame.

[000:036] [2022-07-16 13:47:05 +0000.653389][654d] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:036] [2022-07-16 13:47:05 +0000.653500][654d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:036] [2022-07-16 13:47:05 +0000.653543][654d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:039] [2022-07-16 13:47:05 +0000.656847][654d] The device model:m2012k11ag
[000:040] [2022-07-16 13:47:05 +0000.656924][654d] speaker output factor:100
defaultFactor: 100

[000:040] [2022-07-16 13:47:05 +0000.656935][654d] headset output factor:100


defaultFactor: 100

[000:040] [2022-07-16 13:47:05 +0000.657159][654d] AppDeviceManagerStart finished.


[000:040] [2022-07-16 13:47:05 +0000.657178][654d] AppDeviceManagerStartMic::mic
status is off
[000:040] [2022-07-16 13:47:05 +0000.657216][654d] AppDeviceManagerStartMic update
aec type: 2

[000:040] [2022-07-16 13:47:05 +0000.657229][654d] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:040] [2022-07-16 13:47:05 +0000.657240][654d]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:040] [2022-07-16 13:47:05 +0000.657261][654d]
AudioDeviceDataHandler::StartMicProcess

[000:040] [2022-07-16 13:47:05 +0000.657355][654d] Try to start webrtc recording


device.

[000:040] [2022-07-16 13:47:05 +0000.657372][654d] StartRecording. threadID:25933

[000:040] [2022-07-16 13:47:05 +0000.657388][1a7e] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:040] [2022-07-16 13:47:05 +0000.657451][1a7e] haveEnoughProcessedData
internalAudioStream.length: 0
[000:040] [2022-07-16 13:47:05 +0000.657568][654d] The machine model:M2012K11AG

[000:040] [2022-07-16 13:47:05 +0000.657596][654d] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:040] [2022-07-16 13:47:05 +0000.657610][654d] Set the recording mode before


getSetting: 4
[000:040] [2022-07-16 13:47:05 +0000.657623][654d] Set the recording mode after
getSetting: 1
[000:073] [2022-07-16 13:47:05 +0000.690618][654d] StartRecording finished.

[000:073] [2022-07-16 13:47:05 +0000.690675][654d] audio: start the audio mic


checker timer.

[000:074] [2022-07-16 13:47:05 +0000.691188][654d] machine model :poco


[000:074] [2022-07-16 13:47:05 +0000.691221][654d] Support this machine model :poco
[000:076] [2022-07-16 13:47:05 +0000.693396][654d] global inited! current sdk
version: 07-20-936c45f
[000:153] [2022-07-16 13:47:05 +0000.770367][1a7f] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:153] [2022-07-16 13:47:05 +0000.770430][1a7f] _deviceSampleRate:48000

[000:157] [2022-07-16 13:47:05 +0000.774430][1a7e] Run AGC when audioType = 0


[000:157] [2022-07-16 13:47:05 +0000.774502][1a7e]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:286] [2022-07-16 13:47:05 +0000.903384][16a7]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:286] [2022-07-16 13:47:05 +0000.903544][1a77] MediaFilterCamera, recording
file context:0x7ca9c3e980 input texture:8
[000:286] [2022-07-16 13:47:05 +0000.903609][1a77] GLESContext:
[000:286] [2022-07-16 13:47:05 +0000.903658][1a77] The result of eglGetDisplay is:
0xb400007cc8e44c80
[000:287] [2022-07-16 13:47:05 +0000.904440][1a77] The result of creation:
0x7bab519280
[000:287] [2022-07-16 13:47:05 +0000.904538][1a77] The result of
eglCreatePbufferSurface is: 0x7bab519380
[000:287] [2022-07-16 13:47:05 +0000.904621][16a7]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7ca9c3e980 input_texture: 8
[001:778] [2022-07-16 13:47:07 +0000.395555][1a7e] haveEnoughProcessedData
internalAudioStream.length: 0
[002:155] [2022-07-16 13:47:07 +0000.772551][1a7e] Run AGC when audioType = 0
[003:492] [2022-07-16 13:47:09 +0000.109762][1a7e] haveEnoughProcessedData
internalAudioStream.length: 0
[004:077] [2022-07-16 13:47:09 +0000.694233][1a71]
monitorTime:4004totalDuration:3940
[004:158] [2022-07-16 13:47:09 +0000.775406][1a7e] Run AGC when audioType = 0
[004:158] [2022-07-16 13:47:09 +0000.775506][1a7e]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:199] [2022-07-16 13:47:10 +0000.816312][1a7e] haveEnoughProcessedData
internalAudioStream.length: 0
[006:095] [2022-07-16 13:47:11 +0000.712234][654d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[006:095] [2022-07-16 13:47:11 +0000.712386][654d] ~MediaFilterCamera
time:489614295 enter.

[006:095] [2022-07-16 13:47:11 +0000.712481][654d] StopPullFrameAndWriteMp4


time:489614295 enter.

[006:096] [2022-07-16 13:47:11 +0000.713603][1a76] stop recording


[006:096] [2022-07-16 13:47:11 +0000.713668][1a76] we have stopped recording before
[006:096] [2022-07-16 13:47:11 +0000.713708][654d] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[006:097] [2022-07-16 13:47:11 +0000.714196][654d] DestroyPipelineAndFilters


time:489614297 enter.

[006:097] [2022-07-16 13:47:11 +0000.714235][654d] DestroyPipelineAndFilters


leave. expire time = 0 ms

[006:097] [2022-07-16 13:47:11 +0000.714247][654d] AppDeviceManagerStopMic

[006:097] [2022-07-16 13:47:11 +0000.714287][654d] AppDeviceManagerStopMic::mic


status is on
[006:097] [2022-07-16 13:47:11 +0000.714363][654d] Try to stop webrtc device.

[006:097] [2022-07-16 13:47:11 +0000.714395][654d] Set record state to


stopped.threadID:25933

[006:144] [2022-07-16 13:47:11 +0000.761598][654d] Try to destory the


recorder.threadID:25933

[006:344] [2022-07-16 13:47:11 +0000.961740][654d] DestroyAudioRecorder:


[006:344] [2022-07-16 13:47:11 +0000.961807][654d] Cleanup the buffer queue in the
recorder.
[006:344] [2022-07-16 13:47:11 +0000.961828][654d] Destroy the recorder.
[006:345] [2022-07-16 13:47:11 +0000.962659][654d] StopRecording finished.

[006:345] [2022-07-16 13:47:11 +0000.962698][654d] The stop recording success.

[006:345] [2022-07-16 13:47:11 +0000.962716][654d]


AudioDeviceDataHandler::StopMicProcess

[006:347] [2022-07-16 13:47:11 +0000.963956][654d] AppDeviceManager stop.

[006:347] [2022-07-16 13:47:11 +0000.964027][654d] Rlease the webrtc device object.

[006:347] [2022-07-16 13:47:11 +0000.964238][654d] OpenSlesInput destruct.

[006:347] [2022-07-16 13:47:11 +0000.964286][654d] OpenSlesOutput destruct.

[006:347] [2022-07-16 13:47:11 +0000.964639][654d] EventDispatchServerScope


destruct
[006:347] [2022-07-16 13:47:11 +0000.964666][654d]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[006:347] [2022-07-16 13:47:11 +0000.964711][654d] ~AudioDeviceDataHandler

[006:348] [2022-07-16 13:47:11 +0000.965442][654d] AppDeviceManagerDestruct.

[006:348] [2022-07-16 13:47:11 +0000.965471][654d] ~AppDeviceManager:


[006:348] [2022-07-16 13:47:11 +0000.965499][654d] ~CpuOverloadDetect
time:489614548 enter.

[006:348] [2022-07-16 13:47:11 +0000.965646][654d] ~CpuOverloadDetect leave.


expire time = 0 ms

[006:349] [2022-07-16 13:47:11 +0000.966406][654d] Destruct BeautifyReader begin...


[006:349] [2022-07-16 13:47:11 +0000.966430][654d] Destruct BeautifyReader done.
[006:349] [2022-07-16 13:47:11 +0000.966449][654d] ~MediaFilterCamera leave.
expire time = 254 ms

[006:349] [2022-07-16 13:47:11 +0000.966530][654d] ~GLESContext:


[006:350] [2022-07-16 13:47:11 +0000.966911][654d] GLESContext destruct finish.
[006:350] [2022-07-16 13:47:11 +0000.966946][654d] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[006:350] [2022-07-16 13:47:11 +0000.967096][654d] global uninited!
[006:352] [2022-07-16 13:47:11 +0000.968989][654d] clear AppID 50011
[006:352] [2022-07-16 13:47:11 +0000.969033][654d] UnRegister JVM for Xplatform
util
[006:352] [2022-07-16 13:47:11 +0000.969053][654d] Dispose::unregister webrtc video
engine
[006:352] [2022-07-16 13:47:11 +0000.969068][654d] Init the android object with
jvm:0x0 env:0x0 context:0x0

[006:352] [2022-07-16 13:47:11 +0000.969088][654d] SetAndroidMediaCodecObjects


time:489614552 enter.

[006:352] [2022-07-16 13:47:11 +0000.969104][654d] ClearAndroidMediaCodecObjects


time:489614552 enter.

[006:352] [2022-07-16 13:47:11 +0000.969121][654d] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[006:352] [2022-07-16 13:47:11 +0000.969137][654d] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[006:352] [2022-07-16 13:47:11 +0000.969153][654d] SetAndroidMediaCodecObjects


time:489614552 enter.

[006:352] [2022-07-16 13:47:11 +0000.969168][654d] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[006:352] [2022-07-16 13:47:11 +0000.969183][654d] ClearAndroidMediaCodecObjects
time:489614552 enter.

[006:352] [2022-07-16 13:47:11 +0000.969215][654d] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[006:352] [2022-07-16 13:47:11 +0000.969258][654d] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[006:352] [2022-07-16 13:47:11 +0000.969278][654d] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[006:352] [2022-07-16 13:47:11 +0000.969307][654d] Dispose::unregister webrtc voice


engine
[006:352] [2022-07-16 13:47:11 +0000.969335][654d] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[006:352] [2022-07-16 13:47:11 +0000.969360][654d] SystemUtil UnInit done


[006:990] [2022-07-16 13:47:12 +0000.607049][654d] Register JVM for xplatform util
[006:994] [2022-07-16 13:47:12 +0000.611444][654d] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
16 13:47:12 +0000
[006:994] [2022-07-16 13:47:12 +0000.611489][654d] set AppID=50011 old AppID=-1
[006:994] [2022-07-16 13:47:12 +0000.611502][654d] Init the android object with
jvm:0xb400007d740e4540 env:0x7cc8e47c00 context:0x7c4045cda8

[006:994] [2022-07-16 13:47:12 +0000.611516][654d] SetAndroidMediaCodecObjects


time:489615194 enter.

[006:994] [2022-07-16 13:47:12 +0000.611566][654d] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[006:994] [2022-07-16 13:47:12 +0000.611578][654d] SetAndroidMediaCodecObjects


time:489615194 enter.

[006:994] [2022-07-16 13:47:12 +0000.611603][654d] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d740e4540
[006:994] [2022-07-16 13:47:12 +0000.611614][654d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d740e4540 address:0x7b936dd760
[006:994] [2022-07-16 13:47:12 +0000.611650][654d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d740e4540
address:0x7b936dd760
[006:994] [2022-07-16 13:47:12 +0000.611663][654d] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[006:994] [2022-07-16 13:47:12 +0000.611691][654d] Set the android objects with


jvm:0xb400007d740e4540 env:0x7cc8e47c00 context:0x7c4045cda8

[006:994] [2022-07-16 13:47:12 +0000.611704][654d] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7cc8e47c00
[006:994] [2022-07-16 13:47:12 +0000.611725][654d] SystemUtil Init done
[006:995] [2022-07-16 13:47:12 +0000.611972][654d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[006:995] [2022-07-16 13:47:12 +0000.612067][654d] MediaFilterCamera
[006:995] [2022-07-16 13:47:12 +0000.612094][654d] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[006:995] [2022-07-16 13:47:12 +0000.612183][654d] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[006:995] [2022-07-16 13:47:12 +0000.612206][654d] Recording session using default
bitrate support by app:31457280
[006:995] [2022-07-16 13:47:12 +0000.612225][1b6b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bd0251cc0
[006:995] [2022-07-16 13:47:12 +0000.612289][1b6b] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[006:995] [2022-07-16 13:47:12 +0000.612358][654d] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[006:996] [2022-07-16 13:47:12 +0000.612998][654d] Error(ini.cc:191): Open the file
failed. error:2
[006:996] [2022-07-16 13:47:12 +0000.613025][654d]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[006:996] [2022-07-16 13:47:12 +0000.613039][654d] The device model: m2012k11ag
usingSoftwareAEC value: 0
[007:003] [2022-07-16 13:47:12 +0000.620196][654d] Error(ini.cc:191): Open the file
failed. error:2
[007:003] [2022-07-16 13:47:12 +0000.620261][654d]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[007:003] [2022-07-16 13:47:12 +0000.620286][654d] The device model: m2012k11ag
usingHardwareAEC value: 0
[007:003] [2022-07-16 13:47:12 +0000.620333][654d] The machine device: m2012k11ag
usingHardwareAEC value: 0
[007:003] [2022-07-16 13:47:12 +0000.620371][654d] Using Default AEC type: software
AEC
[007:004] [2022-07-16 13:47:12 +0000.621101][654d] The device model: m2012k11ag
enum value: 0
[007:004] [2022-07-16 13:47:12 +0000.621405][654d] GetMachineModel is M2012K11AG
[007:004] [2022-07-16 13:47:12 +0000.621438][654d] GetMachineInfo: M2012K11AG
[007:004] [2022-07-16 13:47:12 +0000.621456][654d] Construct BeautifyReader
begin...
[007:004] [2022-07-16 13:47:12 +0000.621485][654d] dumpStickerRgba:0
dumpStickerYuv:0
[007:004] [2022-07-16 13:47:12 +0000.621517][654d] Construct BeautifyReader done.
[007:007] [2022-07-16 13:47:12 +0000.624873][654d] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[007:008] [2022-07-16 13:47:12 +0000.624958][654d] AppDeviceManager telnet server
for statistics started......
[007:008] [2022-07-16 13:47:12 +0000.625093][1b6e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c3e10a2a0
[007:008] [2022-07-16 13:47:12 +0000.625766][654d] CpuOverloadDetect time:489615208
enter.

[007:008] [2022-07-16 13:47:12 +0000.625856][654d] CpuOverloadDetect leave. expire


time = 1 ms

[007:009] [2022-07-16 13:47:12 +0000.625881][1b6f] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7be193fc00
[007:011] [2022-07-16 13:47:12 +0000.627869][654d] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[007:011] [2022-07-16 13:47:12 +0000.627905][654d] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[007:011] [2022-07-16 13:47:12 +0000.628076][654d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[007:011] [2022-07-16 13:47:12 +0000.628343][654d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[007:011] [2022-07-16 13:47:12 +0000.628529][654d] CreatePlatformSpecificObjects:
[007:011] [2022-07-16 13:47:12 +0000.628564][654d] audio device use opensle input
and opensl output
[007:011] [2022-07-16 13:47:12 +0000.628599][654d] Create OpenSLES output module
with java VM support.

[007:011] [2022-07-16 13:47:12 +0000.628690][654d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[007:011] [2022-07-16 13:47:12 +0000.628801][654d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[007:012] [2022-07-16 13:47:12 +0000.628974][654d] Create OpenSLES output module
with buffer num:1

[007:012] [2022-07-16 13:47:12 +0000.629067][654d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[007:012] [2022-07-16 13:47:12 +0000.629179][654d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[007:012] [2022-07-16 13:47:12 +0000.629305][654d] Create OpenSLES input module
with java VM support.

[007:012] [2022-07-16 13:47:12 +0000.629339][654d] Create OpenSLES input module


with buffer num:1

[007:012] [2022-07-16 13:47:12 +0000.629375][654d] Error(trace.cc:40): Init the


output and input for audio device template.
[007:012] [2022-07-16 13:47:12 +0000.629400][654d] Init the output device.

[007:012] [2022-07-16 13:47:12 +0000.629416][654d] Init the opensl input.


[007:012] [2022-07-16 13:47:12 +0000.629447][654d] AppDeviceManager get setting
samplerate: 0
[007:012] [2022-07-16 13:47:12 +0000.629798][654d] The device model: m2012k11ag
enum value: 0
[007:013] [2022-07-16 13:47:12 +0000.630358][654d] The device model: m2012k11ag
enum value: 0
[007:013] [2022-07-16 13:47:12 +0000.630393][654d] Set the sample rate to be:48000

[007:013] [2022-07-16 13:47:12 +0000.630411][654d] Enable the recording stereo:0


[007:013] [2022-07-16 13:47:12 +0000.630454][654d] Set the playout as stereo:1
[007:013] [2022-07-16 13:47:12 +0000.630488][654d] Init the microphone.
[007:014] [2022-07-16 13:47:12 +0000.631083][654d] Update the recording sample rate
to be: 48000
[007:014] [2022-07-16 13:47:12 +0000.631127][654d] Init the speaker.
[007:014] [2022-07-16 13:47:12 +0000.631175][654d] Low latency buffer size:144 low
sample rate:48000
[007:014] [2022-07-16 13:47:12 +0000.631371][654d] Using 1 x 10ms for an audio
frame.

[007:017] [2022-07-16 13:47:12 +0000.634413][654d] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[007:017] [2022-07-16 13:47:12 +0000.634500][654d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[007:017] [2022-07-16 13:47:12 +0000.634540][654d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[007:022] [2022-07-16 13:47:12 +0000.638944][654d] The device model:m2012k11ag

[007:022] [2022-07-16 13:47:12 +0000.639019][654d] speaker output factor:100


defaultFactor: 100
[007:022] [2022-07-16 13:47:12 +0000.639039][654d] headset output factor:100
defaultFactor: 100

[007:022] [2022-07-16 13:47:12 +0000.639303][654d] AppDeviceManagerStart finished.


[007:022] [2022-07-16 13:47:12 +0000.639333][654d] AppDeviceManagerStartMic::mic
status is off
[007:022] [2022-07-16 13:47:12 +0000.639405][654d] AppDeviceManagerStartMic update
aec type: 2

[007:022] [2022-07-16 13:47:12 +0000.639424][654d] AppDeviceManagerStartMic update


voiceChangeMode: 4

[007:022] [2022-07-16 13:47:12 +0000.639438][654d]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[007:022] [2022-07-16 13:47:12 +0000.639464][654d]
AudioDeviceDataHandler::StartMicProcess

[007:022] [2022-07-16 13:47:12 +0000.639583][654d] Try to start webrtc recording


device.

[007:022] [2022-07-16 13:47:12 +0000.639610][654d] StartRecording. threadID:25933

[007:022] [2022-07-16 13:47:12 +0000.639616][1b70] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[007:022] [2022-07-16 13:47:12 +0000.639664][654d] default mode: Set the recording
mode to voice communication to enable HW AEC .

[007:022] [2022-07-16 13:47:12 +0000.639684][654d] Set the recording mode before


getSetting: 4
[007:022] [2022-07-16 13:47:12 +0000.639718][654d] Set the recording mode after
getSetting: 1
[007:060] [2022-07-16 13:47:12 +0000.677776][654d] StartRecording finished.

[007:060] [2022-07-16 13:47:12 +0000.677830][654d] audio: start the audio mic


checker timer.

[007:061] [2022-07-16 13:47:12 +0000.678609][654d] machine model :poco


[007:061] [2022-07-16 13:47:12 +0000.678689][654d] Support this machine model :poco
[007:061] [2022-07-16 13:47:12 +0000.678744][654d] global inited! current sdk
version: 07-20-936c45f
[007:181] [2022-07-16 13:47:12 +0000.797982][1b70] Run AGC when audioType = 0
[007:225] [2022-07-16 13:47:12 +0000.842327][16a7]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[007:225] [2022-07-16 13:47:12 +0000.842418][1b6c] MediaFilterCamera, recording
file context:0x7ca9c3e980 input texture:10
[007:225] [2022-07-16 13:47:12 +0000.842463][1b6c] GLESContext:
[007:225] [2022-07-16 13:47:12 +0000.842508][1b6c] The result of eglGetDisplay is:
0xb400007cc8e44c80
[007:226] [2022-07-16 13:47:12 +0000.843089][1b6c] The result of creation:
0x7bba7b7000
[007:226] [2022-07-16 13:47:12 +0000.843149][1b6c] The result of
eglCreatePbufferSurface is: 0x7bba7b7700
[007:226] [2022-07-16 13:47:12 +0000.843211][16a7]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7ca9c3e980 input_texture: 10
[007:700] [2022-07-16 13:47:13 +0000.317646][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[009:182] [2022-07-16 13:47:14 +0000.798944][1b70] Run AGC when audioType = 0
[009:182] [2022-07-16 13:47:14 +0000.799164][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[009:415] [2022-07-16 13:47:15 +0000.32265][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[011:065] [2022-07-16 13:47:16 +0000.682245][1a71]
monitorTime:4005totalDuration:3940
[011:131] [2022-07-16 13:47:16 +0000.748218][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[011:179] [2022-07-16 13:47:16 +0000.796773][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[011:180] [2022-07-16 13:47:16 +0000.796998][1b72] _deviceSampleRate:48000

[011:184] [2022-07-16 13:47:16 +0000.800943][1b70] Run AGC when audioType = 0


[012:841] [2022-07-16 13:47:18 +0000.458320][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[013:182] [2022-07-16 13:47:18 +0000.799117][1b70] Run AGC when audioType = 0
[013:182] [2022-07-16 13:47:18 +0000.799199][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[014:559] [2022-07-16 13:47:20 +0000.176736][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[015:181] [2022-07-16 13:47:20 +0000.797954][1b70] Run AGC when audioType = 0
[016:285] [2022-07-16 13:47:21 +0000.901905][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[017:182] [2022-07-16 13:47:22 +0000.799794][1b70] Run AGC when audioType = 0
[017:183] [2022-07-16 13:47:22 +0000.799940][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[018:019] [2022-07-16 13:47:23 +0000.637827][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[019:182] [2022-07-16 13:47:24 +0000.799154][1b70] Run AGC when audioType = 0
[019:741] [2022-07-16 13:47:25 +0000.358730][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[020:596] [2022-07-16 13:47:26 +0000.213607][6530] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[020:596] [2022-07-16 13:47:26 +0000.213666][6530]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[020:597] [2022-07-16 13:47:26 +0000.214342][6530]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[020:597] [2022-07-16 13:47:26 +0000.214718][1b6c] operator() time:489628797
enter.

[020:597] [2022-07-16 13:47:26 +0000.214761][1b6c] MediaFilterCamera, recording


file context:0x7ca9c3e980 input texture:10
[020:598] [2022-07-16 13:47:26 +0000.215520][1b6c] MicSource: Mic source
created:10x7bd0215080
[020:599] [2022-07-16 13:47:26 +0000.215924][1b6c] received external audio stream

[020:599] [2022-07-16 13:47:26 +0000.215971][1b6c] alloc thread: 0x7babcd7700


name:worker0 thread id:531986594992 to Mic_source
[020:599] [2022-07-16 13:47:26 +0000.216008][1b6c] audio: start the audio sender
thread.

[020:599] [2022-07-16 13:47:26 +0000.216083][1b6c] construct OpenGLRenderProgram


0x7bd03ef298
[020:599] [2022-07-16 13:47:26 +0000.216110][1b6c] CropFilter::SetOrientation
orientation: 90
[020:599] [2022-07-16 13:47:26 +0000.216224][1b6c] filter: filter pipeline
construtc this: 0x7bd02ec080
[020:599] [2022-07-16 13:47:26 +0000.216251][1b6c] filter: filter pipeline2 update
pattern: 1
[020:599] [2022-07-16 13:47:26 +0000.216325][1b6c] CameraSource::source_id_:1
[020:599] [2022-07-16 13:47:26 +0000.216350][1b6c] RecordAudioSource::source_id_:2
[020:599] [2022-07-16 13:47:26 +0000.216503][1b6c] BindInputFilter 0x7babe48440
this 0x7bd03ef4c0
[020:599] [2022-07-16 13:47:26 +0000.216534][1b6c] BindInputFilter 0x7babe48bd8
this 0x7babe48d50
[020:599] [2022-07-16 13:47:26 +0000.216565][1b6c] BindInputFilter 0x7bd03ef4c0
this 0x7bd02ec120
[020:599] [2022-07-16 13:47:26 +0000.216606][1b6c] setParamentForFilters:
speed:1.000000
[020:599] [2022-07-16 13:47:26 +0000.216627][1b6c] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[020:599] [2022-07-16 13:47:26 +0000.216657][1b6c] SetParamForFilter time:489628799
enter.

[020:599] [2022-07-16 13:47:26 +0000.216707][1b6c] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[020:599] [2022-07-16 13:47:26 +0000.216736][1b6c] SetParamForFilter: Params video
index is: 0
[020:599] [2022-07-16 13:47:26 +0000.216762][1b6c] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[020:599] [2022-07-16 13:47:26 +0000.216787][1b6c] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[020:599] [2022-07-16 13:47:26 +0000.216811][1b6c] crop filter mode tpye:
citytravelvideo index:0
[020:603] [2022-07-16 13:47:26 +0000.220363][1b6c]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:603] [2022-07-16 13:47:26 +0000.220414][1b6c]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:603] [2022-07-16 13:47:26 +0000.220435][1b6c]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:603] [2022-07-16 13:47:26 +0000.220453][1b6c]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:603] [2022-07-16 13:47:26 +0000.220470][1b6c]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:603] [2022-07-16 13:47:26 +0000.220488][1b6c]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:603] [2022-07-16 13:47:26 +0000.220504][1b6c]
Warning(parse_template_json.cc:45): json parament no found the parament
[020:603] [2022-07-16 13:47:26 +0000.220521][1b6c]
Warning(parse_template_json.cc:81): json parament no found the parament
[020:603] [2022-07-16 13:47:26 +0000.220581][1b6c]
Warning(parse_template_json.cc:81): json parament no found the parament
[020:603] [2022-07-16 13:47:26 +0000.220611][1b6c]
Warning(parse_template_json.cc:67): json parament no found the parament
[020:603] [2022-07-16 13:47:26 +0000.220649][1b6c]
Warning(parse_template_json.cc:93): json parament no found the duration
[020:603] [2022-07-16 13:47:26 +0000.220683][1b6c] SetParamForFilter leave. expire
time = 4 ms

[020:603] [2022-07-16 13:47:26 +0000.220801][1b70] On audio frame the broadcast


with timestamp:489628803 samples:480. (1000 frame for one log)

[020:603] [2022-07-16 13:47:26 +0000.220848][1b6c] OnOutputSizeChanged width 1920


height 1080
[020:604] [2022-07-16 13:47:26 +0000.221042][1b6c] OpenGLFrameBuffer: width:1920
height:1080
[020:604] [2022-07-16 13:47:26 +0000.221073][1b6c] OpenGLFrameBuffer: width:1920
height:1080
[020:604] [2022-07-16 13:47:26 +0000.221112][1b6c] OpenGLFrameBuffer: width:1920
height:1080
[020:604] [2022-07-16 13:47:26 +0000.221136][1b6c] OpenGLFrameBuffer: width:1920
height:1080
[020:604] [2022-07-16 13:47:26 +0000.221154][1b6c] OpenGLFrameBuffer: width:1920
height:1080
[020:604] [2022-07-16 13:47:26 +0000.221173][1b6c] OpenGLFrameBuffer: width:1920
height:1080
[020:604] [2022-07-16 13:47:26 +0000.221193][1b6c] construct TrivalImageDrawer
0x7bbc383e00
[020:604] [2022-07-16 13:47:26 +0000.221220][1b6c] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7bbc383e00 context 0x7bee37aec0
[020:604] [2022-07-16 13:47:26 +0000.221240][1b6c] setupGLES:
[020:604] [2022-07-16 13:47:26 +0000.221488][1b6c] OpenGLRenderProgram::Initialize.
[020:604] [2022-07-16 13:47:26 +0000.221560][1b6c] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[020:604] [2022-07-16 13:47:26 +0000.221603][1b6c] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[020:604] [2022-07-16 13:47:26 +0000.221656][1b6c] Init open gl render:
0x7bd03ef298
[020:604] [2022-07-16 13:47:26 +0000.221677][1b6c] Fragement shader path:
[020:604] [2022-07-16 13:47:26 +0000.221699][1b6c] Fragement shader path:
[020:604] [2022-07-16 13:47:26 +0000.221715][1b6c] create opengl program object.
[020:604] [2022-07-16 13:47:26 +0000.221746][1b6c] create shader: vertex
[020:604] [2022-07-16 13:47:26 +0000.221858][1b6c] create shader: fragment
[020:606] [2022-07-16 13:47:26 +0000.223060][1b6c] Have not extra filter filename!
[020:606] [2022-07-16 13:47:26 +0000.223096][1b6c] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[020:606] [2022-07-16 13:47:26 +0000.223118][1b6c] OpenGLRenderProgram::Initialize
success.
[020:606] [2022-07-16 13:47:26 +0000.223172][1b6c] Setup the OpenGL result:1
[020:606] [2022-07-16 13:47:26 +0000.223381][1b6b] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4
[020:606] [2022-07-16 13:47:26 +0000.223489][1b6b] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[020:606] [2022-07-16 13:47:26 +0000.223532][1b6b] 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
[020:606] [2022-07-16 13:47:26 +0000.223511][1beb] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7babd39898
[020:606] [2022-07-16 13:47:26 +0000.223643][1b6b] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4
fileFD: -1
[020:607] [2022-07-16 13:47:26 +0000.223985][1b6b] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4
is opened successfully
[020:607] [2022-07-16 13:47:26 +0000.224013][1b6b] setupMediaProcessers:
[020:607] [2022-07-16 13:47:26 +0000.224031][1b6b]
RecordingSessionInternalSimple:setup media processers.
[020:607] [2022-07-16 13:47:26 +0000.224048][1b6b] construct AAC encoder
[020:607] [2022-07-16 13:47:26 +0000.224526][1b6b] H264Encoder creating:
superfast011818
[020:607] [2022-07-16 13:47:26 +0000.224561][1b6b] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[020:608] [2022-07-16 13:47:26 +0000.225094][1b6b] H264Encode::GetMachineModel is
M2012K11AG
[020:608] [2022-07-16 13:47:26 +0000.225134][1b6b] H264Encoder machine_mode
is:M2012K11AG
[020:608] [2022-07-16 13:47:26 +0000.225153][1b6b] H264Encode::machine size :9
machine_mode:M2012K11AG
[020:608] [2022-07-16 13:47:26 +0000.225171][1b6b] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[020:608] [2022-07-16 13:47:26 +0000.225195][1b6b] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[020:608] [2022-07-16 13:47:26 +0000.225225][1b6b] setupCompressionSession:
[020:608] [2022-07-16 13:47:26 +0000.225242][1b6b] H264Encode::creating hareware
Encoder
[020:608] [2022-07-16 13:47:26 +0000.225294][1b6b] AndroidHwAvcEncoder
time:489628808 enter.

[020:608] [2022-07-16 13:47:26 +0000.225475][1b6b] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007d740e4540 address:0x7b936dd760
[020:608] [2022-07-16 13:47:26 +0000.225600][1b6b] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[020:608] [2022-07-16 13:47:26 +0000.225632][1b6b] The video avc hw codec address
is 0x7c3de5bda8
[020:608] [2022-07-16 13:47:26 +0000.225687][1b6b] AndroidHwAvcEncoder leave.
expire time = 0 ms

[020:608] [2022-07-16 13:47:26 +0000.225737][1b6b] RegisterEncodeCompleteCallback


time:489628808 enter.

[020:608] [2022-07-16 13:47:26 +0000.225815][1b6b] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[020:608] [2022-07-16 13:47:26 +0000.225850][1b6b] InitEncode time:489628808


enter.

[020:609] [2022-07-16 13:47:26 +0000.225902][1b6b] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[020:609] [2022-07-16 13:47:26 +0000.225942][1b6b] Create time:489628809 enter.

[020:609] [2022-07-16 13:47:26 +0000.225961][1b6b] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[020:609] [2022-07-16 13:47:26 +0000.225982][1b6b]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7bba934840
[020:609] [2022-07-16 13:47:26 +0000.226161][1be4] Get data in mic source, which
has byte length:1764micAudioStream->length():20
[020:609] [2022-07-16 13:47:26 +0000.226177][1b6b]
supported_type:image/vnd.android.heic
[020:609] [2022-07-16 13:47:26 +0000.226242][1b6b] supported_type:video/avc
[020:609] [2022-07-16 13:47:26 +0000.226273][1b6b] name:OMX.qcom.video.encoder.avc
mime:video/avc
[020:609] [2022-07-16 13:47:26 +0000.226308][1b6b] hwCodecPrefix :OMX.qcom.
[020:609] [2022-07-16 13:47:26 +0000.226337][1b6b] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[020:609] [2022-07-16 13:47:26 +0000.226359][1b6b] mediacodec_createCodecByName
time:489628809 enter.

[020:609] [2022-07-16 13:47:26 +0000.226397][1b6b] WrapAndroidMediaCodec


time:489628809 enter.

[020:609] [2022-07-16 13:47:26 +0000.226450][1be4] The output timestamp from audio


mixer change:489628803
[020:609] [2022-07-16 13:47:26 +0000.226476][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[020:609] [2022-07-16 13:47:26 +0000.226525][1b6b] WrapAndroidMediaCodec leave.
expire time = 0 ms

[020:667] [2022-07-16 13:47:26 +0000.284738][1b6b] mediacodec_createCodecByName


leave. expire time = 58 ms

[020:667] [2022-07-16 13:47:26 +0000.284828][1b6b] WrapAndroidMediaFromat


time:489628867 enter.

[020:668] [2022-07-16 13:47:26 +0000.284944][1b6b] WrapAndroidMediaFromat leave.


expire time = 1 ms

[020:741] [2022-07-16 13:47:26 +0000.358539][1b6b] Destroy time:489628941 enter.

[020:741] [2022-07-16 13:47:26 +0000.358642][1b6b] WrapAndroidMediaFromat::


Destroy
[020:741] [2022-07-16 13:47:26 +0000.358684][1b6b] Destroy leave. expire time = 0
ms

[020:741] [2022-07-16 13:47:26 +0000.358735][1b6b] ~WrapAndroidMediaFromat


time:489628941 enter.

[020:741] [2022-07-16 13:47:26 +0000.358770][1b6b] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[020:741] [2022-07-16 13:47:26 +0000.358806][1b6b] Create leave. expire time = 132


ms

[020:741] [2022-07-16 13:47:26 +0000.358841][1b6b] isSemiPlanarSupport


time:489628941 enter.

[020:742] [2022-07-16 13:47:26 +0000.358875][1b6b] H264Encoder isSemiPlanarSupport


[020:742] [2022-07-16 13:47:26 +0000.358908][1b6b] isSemiPlanarSupport leave.
expire time = 1 ms

[020:742] [2022-07-16 13:47:26 +0000.358970][1b6b] creat hw H264Encoder success,


isSemiPlanar:1
[020:742] [2022-07-16 13:47:26 +0000.359101][1b6b] InitEncode leave. expire time =
134 ms

[020:742] [2022-07-16 13:47:26 +0000.359157][1b6b] H264Encode::created Encoder


[020:742] [2022-07-16 13:47:26 +0000.359221][1b6b] H264Encode:: H264 encoder
created.
[020:742] [2022-07-16 13:47:26 +0000.359313][1b6b] H264 encoder created.
[020:742] [2022-07-16 13:47:26 +0000.359370][1b6b]
RecordingSessionInternalSimple:created avc encoder avc: 0x7bd058e6c0
[020:742] [2022-07-16 13:47:26 +0000.359420][1b6b] setOutput:
[020:742] [2022-07-16 13:47:26 +0000.359465][1b6b]
RecordingSessionInternalSimple:encoder set output to muxer!
[020:742] [2022-07-16 13:47:26 +0000.359513][1b6b] request a key frame
[020:742] [2022-07-16 13:47:26 +0000.359558][1b6b] H264Encode:: request a key frame
[020:742] [2022-07-16 13:47:26 +0000.359714][1b6b] setDisplayRotate :90
[020:742] [2022-07-16 13:47:26 +0000.359812][1b6b] 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
[020:743] [2022-07-16 13:47:26 +0000.360268][1b6c] StartRecording:
[020:743] [2022-07-16 13:47:26 +0000.360584][1be4] operator(): Set the recording
session in mic source. recording session: 0x7babe48a80
[020:743] [2022-07-16 13:47:26 +0000.360845][1b6c] operator() leave. expire time =
147 ms

[020:746] [2022-07-16 13:47:26 +0000.363608][1be2] AF_SpeedFilter audio


0x7babe48c00 PullFrame
[020:746] [2022-07-16 13:47:26 +0000.363808][1be2]
RecordAudioSource::PullAudioFrame
[020:747] [2022-07-16 13:47:26 +0000.363863][1be2] AF_SpeedFilter::PullFrame eof4
[020:749] [2022-07-16 13:47:26 +0000.366105][1be2]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[020:754] [2022-07-16 13:47:26 +0000.371399][1be2] AF_SpeedFilter audio time,
0x7babe48c00 rcv time: 489628944
[020:755] [2022-07-16 13:47:26 +0000.372443][1be2] AF_SpeedFilter audio time,
0x7babe48c00 rcv time: 489628944in_nSamples:441
[020:755] [2022-07-16 13:47:26 +0000.372626][1be2] resampled_data_size:0
[020:796] [2022-07-16 13:47:26 +0000.413319][1b6c]
MediaFilterCamera::NeedProcessTexture
[020:796] [2022-07-16 13:47:26 +0000.413626][1b6c] begine recode to first frame
spend time:199
[020:796] [2022-07-16 13:47:26 +0000.413659][1b6c] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7babe48300
[020:796] [2022-07-16 13:47:26 +0000.413706][1b6c] blur_distance_:0
[020:796] [2022-07-16 13:47:26 +0000.413731][1b6c] blur_direction_angle_:-90
[020:796] [2022-07-16 13:47:26 +0000.413770][1b6c]
GPUImageProcessing::SetOrientation orientation: 90
[020:796] [2022-07-16 13:47:26 +0000.413799][1b6c] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[020:797] [2022-07-16 13:47:26 +0000.414159][1b6c] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[020:797] [2022-07-16 13:47:26 +0000.414210][1b6c] GPUImageProcessing: input frame
width1920 X 1080
[020:800] [2022-07-16 13:47:26 +0000.417546][1b6c] drawYUV420 render
OpenGLRenderProgram:0x7bd03ef298
[020:801] [2022-07-16 13:47:26 +0000.418233][1b6c] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[020:801] [2022-07-16 13:47:26 +0000.418320][1b6c] CropFilter::OnVideoFrame
outputtexture :12
[020:801] [2022-07-16 13:47:26 +0000.418363][1b6c] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[020:803] [2022-07-16 13:47:26 +0000.419910][1b6c] The read pixel from buffer take:
2 width:1920 height:1080 frameType:0
[020:817] [2022-07-16 13:47:26 +0000.433987][1b6c] drawYUV420 render
OpenGLRenderProgram:0x7bd03ef298
[020:824] [2022-07-16 13:47:26 +0000.441013][1b6c] The convert RGB to YUV take 5
[020:824] [2022-07-16 13:47:26 +0000.441208][1b6c] FilterPipeline2::OnVideoFrame
pts 21 last_video_timestamp_ 21
[020:824] [2022-07-16 13:47:26 +0000.441251][1b6c]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[020:825] [2022-07-16 13:47:26 +0000.442149][1bea]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[020:825] [2022-07-16 13:47:26 +0000.442275][1bea] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[020:825] [2022-07-16 13:47:26 +0000.442301][1bea] push video frame to H264
encoder. (100 frame for one log)

[020:825] [2022-07-16 13:47:26 +0000.442328][1bea] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[020:825] [2022-07-16 13:47:26 +0000.442353][1bea] H264Encode::push video frame to


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

[020:825] [2022-07-16 13:47:26 +0000.442376][1bea] Push an pts:0 to dts queue.


[020:825] [2022-07-16 13:47:26 +0000.442409][1bea] DTS queue for
Generator:0x7babd39cb8 0
[020:825] [2022-07-16 13:47:26 +0000.442428][1bea] The input pts:0 fps:30
[020:826] [2022-07-16 13:47:26 +0000.443374][1bea]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[020:853] [2022-07-16 13:47:26 +0000.470456][1b6c] drawYUV420 render
OpenGLRenderProgram:0x7bd03ef298
[020:871] [2022-07-16 13:47:26 +0000.488007][1be2] AF_SpeedFilter audio time 222,
0x7babe48c00 out time: 489628944 org time: 489628944
[020:871] [2022-07-16 13:47:26 +0000.488100][1be2] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[020:871] [2022-07-16 13:47:26 +0000.488146][1be2]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 489628944
[020:871] [2022-07-16 13:47:26 +0000.488247][1be2]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[020:871] [2022-07-16 13:47:26 +0000.488809][1be2] AF_SpeedFilter audio time
[020:872] [2022-07-16 13:47:26 +0000.488907][1be2] AF_SpeedFilter audio time 111,
0x7babe48c00 out time: 489628954 org time: 489628954
[020:875] [2022-07-16 13:47:26 +0000.492274][1be9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[020:875] [2022-07-16 13:47:26 +0000.492844][1beb] add aac audio track with id:1
[020:927] [2022-07-16 13:47:26 +0000.544453][1bea] h264 add frame header cdr flag
[020:928] [2022-07-16 13:47:26 +0000.545203][1bea] h264 add frame header cdr flag
[020:929] [2022-07-16 13:47:26 +0000.546160][1bea] SendFrame
encodedImage._timeStamp:0encodedImage->_length:479328
[020:929] [2022-07-16 13:47:26 +0000.546215][1bea] Received key frame:0
[020:929] [2022-07-16 13:47:26 +0000.546246][1bea] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[020:929] [2022-07-16 13:47:26 +0000.546276][1bea] H264Encode::H264SWEncoder get
callback, length:479328 type:0 nalType:7length:19
[020:929] [2022-07-16 13:47:26 +0000.546310][1bea] H264Encode:: get a sps pps
header!headerSize:32
[020:929] [2022-07-16 13:47:26 +0000.546350][1bea] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[020:929] [2022-07-16 13:47:26 +0000.546450][1beb] get the H.264 SPS parameter
[020:929] [2022-07-16 13:47:26 +0000.546679][1beb] add video track with id:2
[020:932] [2022-07-16 13:47:26 +0000.549301][1beb] get the H.264 PPS parameter
[020:933] [2022-07-16 13:47:26 +0000.549997][1beb] get the H.264 IDR frame
[020:933] [2022-07-16 13:47:26 +0000.550037][1beb] resss:true
[020:933] [2022-07-16 13:47:26 +0000.550055][1beb] video start ts:0
[020:933] [2022-07-16 13:47:26 +0000.550211][1beb] the video frame has been written
into MP4 file
[020:959] [2022-07-16 13:47:26 +0000.576120][1beb] audio start ts:0
[020:959] [2022-07-16 13:47:26 +0000.576240][1beb] the audio frame has been written
into MP4 file
[021:179] [2022-07-16 13:47:26 +0000.796663][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[021:179] [2022-07-16 13:47:26 +0000.796763][1b72] _deviceSampleRate:48000

[021:180] [2022-07-16 13:47:26 +0000.796934][1b70] Run AGC when audioType = 0


[021:180] [2022-07-16 13:47:26 +0000.797059][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[021:286] [2022-07-16 13:47:26 +0000.903472][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[021:322] [2022-07-16 13:47:26 +0000.938899][1b6c] The convert RGB to YUV take 6
[021:469] [2022-07-16 13:47:27 +0000.86192][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[021:605] [2022-07-16 13:47:27 +0000.222345][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[021:658] [2022-07-16 13:47:27 +0000.275371][1bea] DTS queue for
Generator:0x7babd39cb8 802 834
[021:785] [2022-07-16 13:47:27 +0000.402342][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[021:821] [2022-07-16 13:47:27 +0000.438481][1b6c] The convert RGB to YUV take 3
[022:157] [2022-07-16 13:47:27 +0000.774546][1bea] Push an pts:1335 to dts queue.
[022:197] [2022-07-16 13:47:27 +0000.814224][1bea] last dts:1302 currentPts:1335
ppsOrSPS:0 queue length:2
[022:287] [2022-07-16 13:47:27 +0000.903866][1b6c] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[022:318] [2022-07-16 13:47:27 +0000.935484][1b6c] The convert RGB to YUV take 2
[022:374] [2022-07-16 13:47:27 +0000.991409][1be2] AF_SpeedFilter audio
0x7babe48c00 PullFrame
[022:488] [2022-07-16 13:47:28 +0000.105781][1bea] DTS queue for
Generator:0x7babd39cb8 1634 1667
[022:602] [2022-07-16 13:47:28 +0000.219652][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[022:646] [2022-07-16 13:47:28 +0000.263393][1be2]
RecordAudioSource::PullAudioFrame
[022:784] [2022-07-16 13:47:28 +0000.401282][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[022:824] [2022-07-16 13:47:28 +0000.441739][1b6c] The convert RGB to YUV take 5
[022:849] [2022-07-16 13:47:28 +0000.466463][1b6c] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[022:859] [2022-07-16 13:47:28 +0000.476274][1bea] h264 add frame header cdr flag
[022:859] [2022-07-16 13:47:28 +0000.476764][1bea] Received key frame:2002
[022:898] [2022-07-16 13:47:28 +0000.515415][1beb] get the H.264 IDR frame
[023:024] [2022-07-16 13:47:28 +0000.641604][1be2] resampled_data_size:7168
[023:096] [2022-07-16 13:47:28 +0000.713210][1be2] AF_SpeedFilter::PullFrame eof4
[023:098] [2022-07-16 13:47:28 +0000.715368][1be2]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[023:183] [2022-07-16 13:47:28 +0000.800337][1b70] Run AGC when audioType = 0
[023:184] [2022-07-16 13:47:28 +0000.801152][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[023:216] [2022-07-16 13:47:28 +0000.833646][1be9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:4
[023:285] [2022-07-16 13:47:28 +0000.901875][1b6c] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[023:291] [2022-07-16 13:47:28 +0000.908750][1bea] DTS queue for
Generator:0x7babd39cb8 2467
[023:319] [2022-07-16 13:47:28 +0000.936106][1b6c] The convert RGB to YUV take 3
[023:490] [2022-07-16 13:47:29 +0000.107689][1bea] Push an pts:2669 to dts queue.
[023:531] [2022-07-16 13:47:29 +0000.148215][1bea] last dts:2634 currentPts:2669
ppsOrSPS:0 queue length:2
[023:614] [2022-07-16 13:47:29 +0000.231424][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[023:786] [2022-07-16 13:47:29 +0000.403170][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[023:821] [2022-07-16 13:47:29 +0000.437963][1b6c] The convert RGB to YUV take 4
[024:023] [2022-07-16 13:47:29 +0000.640347][1be2] AF_SpeedFilter audio
0x7babe48c00 PullFrame
[024:086] [2022-07-16 13:47:29 +0000.703226][1b6c] drawYUV420 render
OpenGLRenderProgram:0x7bd03ef298
[024:127] [2022-07-16 13:47:29 +0000.744689][1bea] DTS queue for
Generator:0x7babd39cb8 3301
[024:152] [2022-07-16 13:47:29 +0000.769294][1b6c] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[024:152] [2022-07-16 13:47:29 +0000.769430][1b6c] GPUImageProcessing: input frame
width1920 X 1080
[024:153] [2022-07-16 13:47:29 +0000.770198][1b6c] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[024:153] [2022-07-16 13:47:29 +0000.770292][1b6c] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[024:157] [2022-07-16 13:47:29 +0000.774441][1bea]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3336
[024:160] [2022-07-16 13:47:29 +0000.777128][1bea] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3301 pts:3301
[024:189] [2022-07-16 13:47:29 +0000.806702][1bea] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3368
[024:189] [2022-07-16 13:47:29 +0000.806845][1bea] push video frame to H264
encoder. (100 frame for one log)

[024:190] [2022-07-16 13:47:29 +0000.806884][1bea] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[024:190] [2022-07-16 13:47:29 +0000.806916][1bea] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3368(100 frame for one
log)

[024:190] [2022-07-16 13:47:29 +0000.807025][1bea] The input pts:3368 fps:30


[024:192] [2022-07-16 13:47:29 +0000.809314][1bea] SendFrame
encodedImage._timeStamp:3336encodedImage->_length:131008
[024:225] [2022-07-16 13:47:29 +0000.842660][1bea] H264Encode::H264SWEncoder get
callback, length:135696 type:1 nalType:1length:135692
[024:285] [2022-07-16 13:47:29 +0000.902411][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[024:321] [2022-07-16 13:47:29 +0000.937951][1b6c] The convert RGB to YUV take 4
[024:566] [2022-07-16 13:47:30 +0000.183515][1be2]
RecordAudioSource::PullAudioFrame
[024:608] [2022-07-16 13:47:30 +0000.225864][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[024:785] [2022-07-16 13:47:30 +0000.402714][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[024:821] [2022-07-16 13:47:30 +0000.438409][1b6c] The convert RGB to YUV take 5
[024:824] [2022-07-16 13:47:30 +0000.440901][1bea] Push an pts:3998 to dts queue.
[024:857] [2022-07-16 13:47:30 +0000.474842][1bea] h264 add frame header cdr flag
[024:858] [2022-07-16 13:47:30 +0000.475322][1bea] Received key frame:3998
[024:858] [2022-07-16 13:47:30 +0000.475378][1bea] last dts:3967 currentPts:3998
ppsOrSPS:0 queue length:2
[024:890] [2022-07-16 13:47:30 +0000.507744][1beb] get the H.264 IDR frame
[024:898] [2022-07-16 13:47:30 +0000.515141][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[024:923] [2022-07-16 13:47:30 +0000.540734][1b6c] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[024:954] [2022-07-16 13:47:30 +0000.571514][1bea] DTS queue for
Generator:0x7babd39cb8 4100 4132
[025:186] [2022-07-16 13:47:30 +0000.802905][1b70] Run AGC when audioType = 0
[025:186] [2022-07-16 13:47:30 +0000.803168][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[025:231] [2022-07-16 13:47:30 +0000.848015][1be2] resampled_data_size:0
[025:287] [2022-07-16 13:47:30 +0000.904076][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[025:320] [2022-07-16 13:47:30 +0000.937271][1b6c] The convert RGB to YUV take 6
[025:476] [2022-07-16 13:47:31 +0000.93372][1be2] AF_SpeedFilter::PullFrame eof4
[025:481] [2022-07-16 13:47:31 +0000.98370][1be2]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[025:567] [2022-07-16 13:47:31 +0000.184131][1be9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:8
[025:603] [2022-07-16 13:47:31 +0000.220689][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[025:667] [2022-07-16 13:47:31 +0000.284004][1be2] AF_SpeedFilter audio
0x7babe48c00 PullFrame
[025:782] [2022-07-16 13:47:31 +0000.398940][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[025:787] [2022-07-16 13:47:31 +0000.404188][1bea] DTS queue for
Generator:0x7babd39cb8 4932 4965
[025:819] [2022-07-16 13:47:31 +0000.435987][1b6c] The convert RGB to YUV take 4
[026:155] [2022-07-16 13:47:31 +0000.772471][1bea] Push an pts:5332 to dts queue.
[026:190] [2022-07-16 13:47:31 +0000.807775][1bea] last dts:5298 currentPts:5332
ppsOrSPS:0 queue length:2
[026:284] [2022-07-16 13:47:31 +0000.900960][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[026:322] [2022-07-16 13:47:31 +0000.938880][1b6c] The convert RGB to YUV take 3
[026:484] [2022-07-16 13:47:32 +0000.101132][1be2]
RecordAudioSource::PullAudioFrame
[026:606] [2022-07-16 13:47:32 +0000.223226][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[026:610] [2022-07-16 13:47:32 +0000.226977][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[026:618] [2022-07-16 13:47:32 +0000.235491][1bea] DTS queue for
Generator:0x7babd39cb8 5765 5796
[026:782] [2022-07-16 13:47:32 +0000.399508][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[026:817] [2022-07-16 13:47:32 +0000.434814][1b6c] The convert RGB to YUV take 3
[026:854] [2022-07-16 13:47:32 +0000.471503][1bea] h264 add frame header cdr flag
[026:855] [2022-07-16 13:47:32 +0000.472131][1bea] Received key frame:5996
[026:890] [2022-07-16 13:47:32 +0000.507538][1beb] get the H.264 IDR frame
[027:014] [2022-07-16 13:47:32 +0000.630964][1b6c] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[027:185] [2022-07-16 13:47:32 +0000.802140][1b70] Run AGC when audioType = 0
[027:280] [2022-07-16 13:47:32 +0000.897064][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[027:285] [2022-07-16 13:47:32 +0000.902251][1be2] AF_SpeedFilter audio
0x7babe48c00 PullFrame
[027:317] [2022-07-16 13:47:32 +0000.934311][1b6c] The convert RGB to YUV take 4
[027:419] [2022-07-16 13:47:33 +0000.36473][1b6c] drawYUV420 render
OpenGLRenderProgram:0x7bd03ef298
[027:428] [2022-07-16 13:47:33 +0000.45474][1bea] DTS queue for
Generator:0x7babd39cb8 6599
[027:454] [2022-07-16 13:47:33 +0000.71499][1be2] resampled_data_size:10240
[027:483] [2022-07-16 13:47:33 +0000.100285][1bea]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6662
[027:483] [2022-07-16 13:47:33 +0000.100391][1bea] Push an pts:6662 to dts queue.
[027:510] [2022-07-16 13:47:33 +0000.127246][1b6c] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[027:510] [2022-07-16 13:47:33 +0000.127477][1b6c] GPUImageProcessing: input frame
width1920 X 1080
[027:511] [2022-07-16 13:47:33 +0000.128383][1b6c] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[027:511] [2022-07-16 13:47:33 +0000.128449][1b6c] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[027:519] [2022-07-16 13:47:33 +0000.136772][1bea] SendFrame
encodedImage._timeStamp:6662encodedImage->_length:137696
[027:520] [2022-07-16 13:47:33 +0000.136906][1bea] last dts:6634 currentPts:6662
ppsOrSPS:0 queue length:2
[027:520] [2022-07-16 13:47:33 +0000.136965][1bea] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6662 pts:6662
[027:552] [2022-07-16 13:47:33 +0000.169436][1bea] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6730
[027:552] [2022-07-16 13:47:33 +0000.169633][1bea] push video frame to H264
encoder. (100 frame for one log)

[027:552] [2022-07-16 13:47:33 +0000.169668][1bea] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080
[027:552] [2022-07-16 13:47:33 +0000.169700][1bea] H264Encode::push video frame to
H264 encoder, using hw H264:1 width:1920 height:1080 pts:6730(100 frame for one
log)

[027:552] [2022-07-16 13:47:33 +0000.169743][1bea] The input pts:6730 fps:30


[027:590] [2022-07-16 13:47:33 +0000.207776][1bea] H264Encode::H264SWEncoder get
callback, length:162304 type:1 nalType:1length:162300
[027:604] [2022-07-16 13:47:33 +0000.221753][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[027:783] [2022-07-16 13:47:33 +0000.399898][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[027:817] [2022-07-16 13:47:33 +0000.434057][1b6c] The convert RGB to YUV take 4
[027:834] [2022-07-16 13:47:33 +0000.451485][1be2] AF_SpeedFilter::PullFrame eof4
[027:835] [2022-07-16 13:47:33 +0000.452375][1be9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6965queue_audio_frame_:2
[027:836] [2022-07-16 13:47:33 +0000.453674][1be2]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[028:256] [2022-07-16 13:47:33 +0000.872949][1bea] DTS queue for
Generator:0x7babd39cb8 7431
[028:280] [2022-07-16 13:47:33 +0000.897085][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:316] [2022-07-16 13:47:33 +0000.933724][1b6c] The convert RGB to YUV take 3
[028:323] [2022-07-16 13:47:33 +0000.939976][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[028:396] [2022-07-16 13:47:34 +0000.13028][1be2] RecordAudioSource::PullAudioFrame
[028:602] [2022-07-16 13:47:34 +0000.219146][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[028:779] [2022-07-16 13:47:34 +0000.396499][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:818] [2022-07-16 13:47:34 +0000.434957][1b6c] The convert RGB to YUV take 6
[028:819] [2022-07-16 13:47:34 +0000.436308][1bea] Push an pts:7996 to dts queue.
[028:853] [2022-07-16 13:47:34 +0000.469958][1bea] h264 add frame header cdr flag
[028:853] [2022-07-16 13:47:34 +0000.470437][1bea] Received key frame:7996
[028:853] [2022-07-16 13:47:34 +0000.470488][1bea] last dts:7963 currentPts:7996
ppsOrSPS:0 queue length:2
[028:891] [2022-07-16 13:47:34 +0000.507920][1beb] get the H.264 IDR frame
[028:914] [2022-07-16 13:47:34 +0000.531218][1be2] AF_SpeedFilter audio
0x7babe48c00 PullFrame
[029:083] [2022-07-16 13:47:34 +0000.700260][1b6c] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3984 diff: 17
[029:085] [2022-07-16 13:47:34 +0000.702118][1bea] DTS queue for
Generator:0x7babd39cb8 8229 8260
[029:182] [2022-07-16 13:47:34 +0000.799711][1b70] Run AGC when audioType = 0
[029:183] [2022-07-16 13:47:34 +0000.800120][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[029:277] [2022-07-16 13:47:34 +0000.894060][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:317] [2022-07-16 13:47:34 +0000.934429][1b6c] The convert RGB to YUV take 6
[029:603] [2022-07-16 13:47:35 +0000.220437][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[029:711] [2022-07-16 13:47:35 +0000.328742][1be2] resampled_data_size:1024
[029:782] [2022-07-16 13:47:35 +0000.398909][1b6c] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[029:815] [2022-07-16 13:47:35 +0000.432130][1b6c] The convert RGB to YUV take 4
[029:917] [2022-07-16 13:47:35 +0000.534066][1bea] DTS queue for
Generator:0x7babd39cb8 9062 9095
[030:049] [2022-07-16 13:47:35 +0000.666721][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[030:151] [2022-07-16 13:47:35 +0000.768356][1bea] Push an pts:9329 to dts queue.
[030:192] [2022-07-16 13:47:35 +0000.809471][1bea] last dts:9294 currentPts:9329
ppsOrSPS:0 queue length:2
[030:200] [2022-07-16 13:47:35 +0000.817386][1be9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9287queue_audio_frame_:4
[030:211] [2022-07-16 13:47:35 +0000.828224][1be2] AF_SpeedFilter::PullFrame eof4
[030:217] [2022-07-16 13:47:35 +0000.834633][1be2]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[030:277] [2022-07-16 13:47:35 +0000.894521][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:312] [2022-07-16 13:47:35 +0000.929318][1be2]
RecordAudioSource::PullAudioFrame
[030:315] [2022-07-16 13:47:35 +0000.932779][1b6c] The convert RGB to YUV take 4
[030:565] [2022-07-16 13:47:36 +0000.182317][1be4] The output timestamp from audio
mixer change:489638763
[030:568] [2022-07-16 13:47:36 +0000.185602][1be2] AF_SpeedFilter audio
0x7babe48c00 PullFrame
[030:605] [2022-07-16 13:47:36 +0000.221976][1b70] On audio frame the broadcast
with timestamp:489638805 samples:480. (1000 frame for one log)

[030:607] [2022-07-16 13:47:36 +0000.224408][1be4] Get data in mic source, which


has byte length:1764micAudioStream->length():20
[030:607] [2022-07-16 13:47:36 +0000.224569][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[030:743] [2022-07-16 13:47:36 +0000.360817][1b6c] drawYUV420 render
OpenGLRenderProgram:0x7bd03ef298
[030:751] [2022-07-16 13:47:36 +0000.368714][1bea] DTS queue for
Generator:0x7babd39cb8 9893 9927
[030:753] [2022-07-16 13:47:36 +0000.370031][1be2] AF_SpeedFilter audio time,
0x7babe48c00 rcv time: 489638945
[030:753] [2022-07-16 13:47:36 +0000.370091][1be2] AF_SpeedFilter audio time,
0x7babe48c00 rcv time: 489638945in_nSamples:441
[030:776] [2022-07-16 13:47:36 +0000.393311][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:818] [2022-07-16 13:47:36 +0000.435243][1b6c] The convert RGB to YUV take 3
[030:820] [2022-07-16 13:47:36 +0000.437166][1bea]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:9995
[030:851] [2022-07-16 13:47:36 +0000.468262][1be2] FilterPipeline2::OnAudioFrame
pts 10010 last_audio_timestamp_ 10010
[030:851] [2022-07-16 13:47:36 +0000.468455][1be2]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 489638944
[030:851] [2022-07-16 13:47:36 +0000.468507][1be2]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[030:858] [2022-07-16 13:47:36 +0000.475846][1bea] h264 add frame header cdr flag
[030:859] [2022-07-16 13:47:36 +0000.476249][1bea] SendFrame
encodedImage._timeStamp:9995encodedImage->_length:246944
[030:859] [2022-07-16 13:47:36 +0000.476287][1bea] Received key frame:9995
[030:878] [2022-07-16 13:47:36 +0000.494998][1b6c] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[030:878] [2022-07-16 13:47:36 +0000.495185][1b6c] GPUImageProcessing: input frame
width1920 X 1080
[030:879] [2022-07-16 13:47:36 +0000.495938][1b6c] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[030:879] [2022-07-16 13:47:36 +0000.496038][1b6c] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[030:889] [2022-07-16 13:47:36 +0000.506474][1bea] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10028 pts:10028
[030:890] [2022-07-16 13:47:36 +0000.507349][1beb] get the H.264 IDR frame
[030:916] [2022-07-16 13:47:36 +0000.533304][1bea] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:10092
[030:916] [2022-07-16 13:47:36 +0000.533416][1bea] push video frame to H264
encoder. (100 frame for one log)

[030:916] [2022-07-16 13:47:36 +0000.533451][1bea] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[030:916] [2022-07-16 13:47:36 +0000.533479][1bea] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:10092(100 frame for one
log)

[030:916] [2022-07-16 13:47:36 +0000.533518][1bea] The input pts:10092 fps:30


[030:957] [2022-07-16 13:47:36 +0000.573879][1bea] H264Encode::H264SWEncoder get
callback, length:108992 type:1 nalType:1length:108988
[031:175] [2022-07-16 13:47:36 +0000.792615][1b6c] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4980 diff: 21
[031:180] [2022-07-16 13:47:36 +0000.797099][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[031:181] [2022-07-16 13:47:36 +0000.797934][1b72] _deviceSampleRate:48000

[031:184] [2022-07-16 13:47:36 +0000.801355][1b70] Run AGC when audioType = 0


[031:277] [2022-07-16 13:47:36 +0000.894695][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[031:318] [2022-07-16 13:47:36 +0000.934905][1b6c] The convert RGB to YUV take 6
[031:483] [2022-07-16 13:47:37 +0000.101126][1bea] Push an pts:10663 to dts queue.
[031:518] [2022-07-16 13:47:37 +0000.135538][1bea] last dts:10627 currentPts:10663
ppsOrSPS:0 queue length:2
[031:550] [2022-07-16 13:47:37 +0000.166871][1bea] DTS queue for
Generator:0x7babd39cb8 10724
[031:614] [2022-07-16 13:47:37 +0000.231109][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[031:764] [2022-07-16 13:47:37 +0000.380996][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[031:777] [2022-07-16 13:47:37 +0000.394052][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[031:815] [2022-07-16 13:47:37 +0000.431895][1b6c] The convert RGB to YUV take 4
[031:911] [2022-07-16 13:47:37 +0000.528779][1b6c] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[031:915] [2022-07-16 13:47:37 +0000.532379][1be2] resampled_data_size:13312
[031:968] [2022-07-16 13:47:37 +0000.585266][1be2] AF_SpeedFilter audio time
[031:968] [2022-07-16 13:47:37 +0000.585402][1be2] AF_SpeedFilter audio time 111,
0x7babe48c00 out time: 489640134 org time: 489640134
[032:197] [2022-07-16 13:47:37 +0000.814331][1be2] AF_SpeedFilter audio
0x7babe48c00 PullFrame
[032:239] [2022-07-16 13:47:37 +0000.855993][1be2]
RecordAudioSource::PullAudioFrame
[032:278] [2022-07-16 13:47:37 +0000.895530][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[032:313] [2022-07-16 13:47:37 +0000.929896][1b6c] The convert RGB to YUV take 5
[032:386] [2022-07-16 13:47:38 +0000.3816][1bea] DTS queue for
Generator:0x7babd39cb8 11560
[032:550] [2022-07-16 13:47:38 +0000.167408][1be9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 11609queue_audio_frame_:8
[032:579] [2022-07-16 13:47:38 +0000.196279][1be2] AF_SpeedFilter::PullFrame eof4
[032:581] [2022-07-16 13:47:38 +0000.198559][1be2]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[032:612] [2022-07-16 13:47:38 +0000.229686][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[032:775] [2022-07-16 13:47:38 +0000.392509][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[032:815] [2022-07-16 13:47:38 +0000.432011][1b6c] The convert RGB to YUV take 4
[032:817] [2022-07-16 13:47:38 +0000.434316][1bea] Push an pts:11993 to dts queue.
[032:848] [2022-07-16 13:47:38 +0000.465223][1bea] h264 add frame header cdr flag
[032:848] [2022-07-16 13:47:38 +0000.465658][1bea] Received key frame:11993
[032:848] [2022-07-16 13:47:38 +0000.465711][1bea] last dts:11959 currentPts:11993
ppsOrSPS:0 queue length:2
[032:884] [2022-07-16 13:47:38 +0000.501721][1beb] get the H.264 IDR frame
[033:184] [2022-07-16 13:47:38 +0000.801300][1b70] Run AGC when audioType = 0
[033:184] [2022-07-16 13:47:38 +0000.801421][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[033:213] [2022-07-16 13:47:38 +0000.829920][1bea] DTS queue for
Generator:0x7babd39cb8 12358 12389
[033:246] [2022-07-16 13:47:38 +0000.862972][1b6c] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5984 diff: 17
[033:273] [2022-07-16 13:47:38 +0000.890423][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[033:314] [2022-07-16 13:47:38 +0000.931444][1b6c] The convert RGB to YUV take 6
[033:486] [2022-07-16 13:47:39 +0000.103794][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[033:604] [2022-07-16 13:47:39 +0000.221867][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[033:777] [2022-07-16 13:47:39 +0000.393872][1b6c] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[033:816] [2022-07-16 13:47:39 +0000.433362][1b6c] The convert RGB to YUV take 5
[033:834] [2022-07-16 13:47:39 +0000.451095][1be2] AF_SpeedFilter audio
0x7babe48c00 PullFrame
[034:050] [2022-07-16 13:47:39 +0000.666911][1bea] DTS queue for
Generator:0x7babd39cb8 13190 13225
[034:075] [2022-07-16 13:47:39 +0000.692416][1b6c] drawYUV420 render
OpenGLRenderProgram:0x7bd03ef298
[034:136] [2022-07-16 13:47:39 +0000.753853][1be2]
RecordAudioSource::PullAudioFrame
[034:146] [2022-07-16 13:47:39 +0000.763516][1bea]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:13322
[034:146] [2022-07-16 13:47:39 +0000.763625][1bea] Push an pts:13322 to dts queue.
[034:148] [2022-07-16 13:47:39 +0000.765242][1be2] resampled_data_size:4096
[034:182] [2022-07-16 13:47:39 +0000.799480][1bea] SendFrame
encodedImage._timeStamp:13322encodedImage->_length:121904
[034:182] [2022-07-16 13:47:39 +0000.799601][1bea] last dts:13288 currentPts:13322
ppsOrSPS:0 queue length:2
[034:240] [2022-07-16 13:47:39 +0000.857277][1b6c] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[034:240] [2022-07-16 13:47:39 +0000.857391][1b6c] GPUImageProcessing: input frame
width1920 X 1080
[034:240] [2022-07-16 13:47:39 +0000.857850][1b6c] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[034:241] [2022-07-16 13:47:39 +0000.857968][1b6c] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[034:248] [2022-07-16 13:47:39 +0000.865643][1bea] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:13390 pts:13390
[034:278] [2022-07-16 13:47:39 +0000.894961][1b6c] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[034:282] [2022-07-16 13:47:39 +0000.899312][1bea] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:13460
[034:282] [2022-07-16 13:47:39 +0000.899413][1bea] push video frame to H264
encoder. (100 frame for one log)

[034:282] [2022-07-16 13:47:39 +0000.899445][1bea] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[034:282] [2022-07-16 13:47:39 +0000.899475][1bea] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:13460(100 frame for one
log)

[034:282] [2022-07-16 13:47:39 +0000.899513][1bea] The input pts:13460 fps:30


[034:312] [2022-07-16 13:47:39 +0000.929645][1b6c] The convert RGB to YUV take 3
[034:318] [2022-07-16 13:47:39 +0000.935305][1bea] H264Encode::H264SWEncoder get
callback, length:120672 type:1 nalType:1length:120668
[034:610] [2022-07-16 13:47:40 +0000.226958][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[034:775] [2022-07-16 13:47:40 +0000.392644][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[034:815] [2022-07-16 13:47:40 +0000.432249][1be9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 13931queue_audio_frame_:2
[034:817] [2022-07-16 13:47:40 +0000.434519][1b6c] The convert RGB to YUV take 3
[034:857] [2022-07-16 13:47:40 +0000.473978][1bea] h264 add frame header cdr flag
[034:857] [2022-07-16 13:47:40 +0000.474346][1bea] Received key frame:13990
[034:857] [2022-07-16 13:47:40 +0000.474390][1bea] DTS queue for
Generator:0x7babd39cb8 14024
[034:888] [2022-07-16 13:47:40 +0000.505259][1beb] get the H.264 IDR frame
[034:956] [2022-07-16 13:47:40 +0000.573202][1be2] AF_SpeedFilter::PullFrame eof4
[034:958] [2022-07-16 13:47:40 +0000.575484][1be2]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[035:180] [2022-07-16 13:47:40 +0000.797551][1b70] Run AGC when audioType = 0
[035:221] [2022-07-16 13:47:40 +0000.838634][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[035:273] [2022-07-16 13:47:40 +0000.890784][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[035:309] [2022-07-16 13:47:40 +0000.925962][1b6c] The convert RGB to YUV take 4
[035:338] [2022-07-16 13:47:40 +0000.955066][1b6c] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6980 diff: 21
[035:473] [2022-07-16 13:47:41 +0000.89922][1be2] AF_SpeedFilter audio 0x7babe48c00
PullFrame
[035:482] [2022-07-16 13:47:41 +0000.98912][1bea] Push an pts:14658 to dts queue.
[035:506] [2022-07-16 13:47:41 +0000.123239][1bea] last dts:14621 currentPts:14658
ppsOrSPS:0 queue length:2
[035:612] [2022-07-16 13:47:41 +0000.229346][1be4] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[035:685] [2022-07-16 13:47:41 +0000.302783][1bea] DTS queue for
Generator:0x7babd39cb8 14855
[035:776] [2022-07-16 13:47:41 +0000.393331][1b6c] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[035:813] [2022-07-16 13:47:41 +0000.430476][1b6c] The convert RGB to YUV take 3
[036:012] [2022-07-16 13:47:41 +0000.629565][1b6c] StopRecording:
[036:013] [2022-07-16 13:47:41 +0000.630109][1b6c] OnNeedStopRecording:
[036:017] [2022-07-16 13:47:41 +0000.634195][1be2] resampled_data_size:512
[036:017] [2022-07-16 13:47:41 +0000.634361][1be2] AF_SpeedFilter audio time 222,
0x7babe48c00 out time: 489644104 org time: 489644104
[036:017] [2022-07-16 13:47:41 +0000.634517][1be2] PullAudioFrame: PullFrame audio
finished.
[036:017] [2022-07-16 13:47:41 +0000.634564][1be2]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[036:018] [2022-07-16 13:47:41 +0000.635055][6530]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[036:018] [2022-07-16 13:47:41 +0000.635311][1b6c] operator(): Stop
[036:018] [2022-07-16 13:47:41 +0000.635403][1b6c] StopPullFrameAndWriteMp4
time:489644218 enter.

[036:018] [2022-07-16 13:47:41 +0000.635435][1b6c] StopRecording:


[036:021] [2022-07-16 13:47:41 +0000.638216][1bea]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:456
[036:023] [2022-07-16 13:47:41 +0000.639913][1b6b] stop recording
[036:023] [2022-07-16 13:47:41 +0000.639975][1b6b]
RecordingSessionInternalSimple:destroy media processers
[036:023] [2022-07-16 13:47:41 +0000.640019][1b6b] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[036:023] [2022-07-16 13:47:41 +0000.640059][1b6b] H264Encode::flushing hareware
Encoder
[036:023] [2022-07-16 13:47:41 +0000.640245][1b6b] Flush time:489644223 enter.

[036:023] [2022-07-16 13:47:41 +0000.640311][1b6b] H264Encoder encoder flush


[036:023] [2022-07-16 13:47:41 +0000.640341][1b6b] flush output queue
[036:354] [2022-07-16 13:47:41 +0000.971245][1b6b] Flush leave. expire time = 331
ms

[036:354] [2022-07-16 13:47:41 +0000.971501][1b6b] ~H264EncodeWrap:


[036:354] [2022-07-16 13:47:41 +0000.971570][1b6b] ~H264Encode:
[036:354] [2022-07-16 13:47:41 +0000.971619][1b6b] teardownCompressionSession:
H264Encode::destroying Encoder
[036:354] [2022-07-16 13:47:41 +0000.971671][1b6b] Release time:489644554 enter.

[036:355] [2022-07-16 13:47:41 +0000.971887][1b6b] Release:


MediaCodecVideoEncoder::Release _inited:1
[036:355] [2022-07-16 13:47:41 +0000.971959][1b6b] Destroy time:489644555 enter.

[036:355] [2022-07-16 13:47:41 +0000.971995][1b6b] H264Encoder encoderDestroy


[036:355] [2022-07-16 13:47:41 +0000.972027][1b6b]
AndroidMediaCodecVideoEncoder::release env: 0x7bd058e940
[036:355] [2022-07-16 13:47:41 +0000.972064][1b6b]
AndroidMediaCodecVideoEncoder::Destroy
[036:400] [2022-07-16 13:47:42 +0000.17231][1b6b] Destroy leave. expire time = 45
ms

[036:400] [2022-07-16 13:47:42 +0000.17419][1b6b] Release leave. expire time = 46


ms

[036:400] [2022-07-16 13:47:42 +0000.17493][1b6b] ~AndroidHwAvcEncoder


time:489644600 enter.

[036:400] [2022-07-16 13:47:42 +0000.17793][1b6b] Release time:489644600 enter.

[036:401] [2022-07-16 13:47:42 +0000.17881][1b6b] Release: MediaCodecVideoEncoder::


has been released before, just return
[036:401] [2022-07-16 13:47:42 +0000.17981][1b6b] Release leave. expire time = 1
ms

[036:401] [2022-07-16 13:47:42 +0000.18051][1b6b] ~AndroidMediaCodecVideoEncoder


[036:401] [2022-07-16 13:47:42 +0000.18103][1b6b] ~WrapAndroidMediaCodec
time:489644601 enter.
[036:401] [2022-07-16 13:47:42 +0000.18152][1b6b] ~WrapAndroidMediaCodec leave.
expire time = 0 ms

[036:401] [2022-07-16 13:47:42 +0000.18200][1b6b] video hevc hw codec


destructor:0x7c3de5bda8

[036:401] [2022-07-16 13:47:42 +0000.18297][1b6b] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[036:401] [2022-07-16 13:47:42 +0000.18370][1b6b] teardownCompressionSession:


H264Encode::destroyed Encoder
[036:401] [2022-07-16 13:47:42 +0000.18422][1b6b]
RecordingSessionInternalSimple:destroy aac encoder output!
[036:401] [2022-07-16 13:47:42 +0000.18469][1b6b] AACSWEncode destructor
[036:414] [2022-07-16 13:47:42 +0000.31229][1beb] MP4 close file successfully
[036:414] [2022-07-16 13:47:42 +0000.31315][1beb] Recording session Internal:
notify recording ok
[036:414] [2022-07-16 13:47:42 +0000.31340][1beb] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4,
output_video_timestamp_:15191 last_video_pts_:15156
[036:414] [2022-07-16 13:47:42 +0000.31370][1beb] OnRecordFinish:
[036:415] [2022-07-16 13:47:42 +0000.32040][1beb] onRecordingOk: net seek
pos:0record video duration:15189record audio duration:15162
[036:415] [2022-07-16 13:47:42 +0000.32737][1be4] destructMicSource_w:
[036:415] [2022-07-16 13:47:42 +0000.32810][1be4] setOutput_w:
MicSource::setOutput() 0x0
[036:416] [2022-07-16 13:47:42 +0000.32910][1be4] close external audio stream

[036:416] [2022-07-16 13:47:42 +0000.33118][1b6c] releaseThread 0x7babcd7700


[036:416] [2022-07-16 13:47:42 +0000.33154][1b6c] ~MicSource: Mic source
destroyed:0x7bd0215080
[036:417] [2022-07-16 13:47:42 +0000.34300][1b6c] StopPullFrameAndWriteMp4 leave.
expire time = 399 ms

[036:417] [2022-07-16 13:47:42 +0000.34338][1b6c] DestroyPipelineAndFilters


time:489644617 enter.

[036:417] [2022-07-16 13:47:42 +0000.34411][1b6c] UnbindInputFilter 0x7babe48440


this 0x7bd03ef4c0
[036:417] [2022-07-16 13:47:42 +0000.34440][1b6c] UnbindInputFilter 0x7babe48bd8
this 0x7babe48d50
[036:417] [2022-07-16 13:47:42 +0000.34468][1b6c] UnbindInputFilter 0x7bd03ef4c0
this 0x7bd02ec120
[036:417] [2022-07-16 13:47:42 +0000.34485][1b6c] filter: filter pipeline destroy
this: 0x7bd02ec080
[036:418] [2022-07-16 13:47:42 +0000.35147][1b6c] ClearVideoOfSources: recodring
total frames:0
[036:418] [2022-07-16 13:47:42 +0000.35188][1b6c] ClearVideoOfSources:
[036:418] [2022-07-16 13:47:42 +0000.35210][1b6c] GPUImageProcessing destruct.
[036:418] [2022-07-16 13:47:42 +0000.35265][1b6c] destroy TrivalImageDrawer
0x7bbc383e00
[036:418] [2022-07-16 13:47:42 +0000.35289][1b6c] The shader has been initialize,
clean up them.

[036:418] [2022-07-16 13:47:42 +0000.35331][1b6c] ~OpenGLFrameBuffer:


[036:419] [2022-07-16 13:47:42 +0000.36183][1b6c] ~OpenGLFrameBuffer:
[036:419] [2022-07-16 13:47:42 +0000.36246][1b6c] ~OpenGLFrameBuffer:
[036:419] [2022-07-16 13:47:42 +0000.36303][1b6c] ~OpenGLFrameBuffer:
[036:419] [2022-07-16 13:47:42 +0000.36357][1b6c] ~OpenGLFrameBuffer:
[036:419] [2022-07-16 13:47:42 +0000.36414][1b6c] ~OpenGLFrameBuffer:
[036:419] [2022-07-16 13:47:42 +0000.36587][1b6c] GPUImageProcessing destruct
finish.
[036:419] [2022-07-16 13:47:42 +0000.36624][1b6c] GPURGBAFrame destruct.
[036:419] [2022-07-16 13:47:42 +0000.36663][1b6c] destroy OpenGLRenderProgram
0x7bd03ef298
[036:419] [2022-07-16 13:47:42 +0000.36683][1b6c] ~CameraSource time:489644619
enter.

[036:419] [2022-07-16 13:47:42 +0000.36701][1b6c] ~CameraSource leave. expire time


= 0 ms

[036:419] [2022-07-16 13:47:42 +0000.36722][1b6c] ~RecordAudioSource time:489644619


enter.

[036:419] [2022-07-16 13:47:42 +0000.36738][1b6c] ~RecordAudioSource leave. expire


time = 0 ms

[036:419] [2022-07-16 13:47:42 +0000.36756][1b6c] DestroyPipelineAndFilters leave.


expire time = 2 ms

[036:433] [2022-07-16 13:47:42 +0000.50841][6530]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[036:434] [2022-07-16 13:47:42 +0000.51464][6530] machine model :poco
[036:434] [2022-07-16 13:47:42 +0000.51487][6530] Support this machine model :poco
[036:434] [2022-07-16 13:47:42 +0000.51522][6530] global inited! current sdk
version: 07-20-936c45f
[036:434] [2022-07-16 13:47:42 +0000.51676][6530] filter: filter pipeline construtc
this: 0x7bd0321800
[036:434] [2022-07-16 13:47:42 +0000.51702][6530] MediaFilterGraph:
MediaFilterGraph construct
[036:434] [2022-07-16 13:47:42 +0000.51777][6530] GLESContext:
[036:434] [2022-07-16 13:47:42 +0000.51832][6530] The result of eglGetDisplay is:
0xb400007cc8e44c80
[036:436] [2022-07-16 13:47:42 +0000.52933][6530] The result of creation:
0x7bee32e780
[036:436] [2022-07-16 13:47:42 +0000.53021][6530] The result of
eglCreatePbufferSurface is: 0x7be1dcf400
[036:436] [2022-07-16 13:47:42 +0000.53644][6530] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4
[036:436] [2022-07-16 13:47:42 +0000.53686][6530] The source 0 speed:1
[036:436] [2022-07-16 13:47:42 +0000.53723][6530] AddVideoSource: add video source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4,
delay: 0
[036:436] [2022-07-16 13:47:42 +0000.53759][6530] CreateDecoderByVideoSource
time:489644636 enter.

[036:437] [2022-07-16 13:47:42 +0000.53948][6530] running_decoder_count:0max


count:2
[036:437] [2022-07-16 13:47:42 +0000.53973][6530] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7be1ca9c00
[036:454] [2022-07-16 13:47:42 +0000.70980][1c48] FFMpeg=> [mov,mp4,m4a,3gp,3g2,mj2
@ 0x7bd005b400] Current FFmpeg version git-2021-06-16-97cea6f

[036:517] [2022-07-16 13:47:42 +0000.134068][1c48] OnStreamInfoFound: video


duration_: 15189
[036:518] [2022-07-16 13:47:42 +0000.135095][6530] start decoder
[036:518] [2022-07-16 13:47:42 +0000.135166][6530] CreateDecoderByVideoSource
leave. expire time = 82 ms

[036:518] [2022-07-16 13:47:42 +0000.135280][6530] BindInputFilter 0x7c3defb720


this 0x7bd009c498
[036:518] [2022-07-16 13:47:42 +0000.135340][6530] BindInputFilter 0x7bd009c498
this 0x7bd009c6d8
[036:518] [2022-07-16 13:47:42 +0000.135393][6530] BindInputFilter 0x7c3defb720
this 0x7bd009c798
[036:518] [2022-07-16 13:47:42 +0000.135442][6530] BindInputFilter 0x7bd009c798
this 0x7bd009c858
[036:518] [2022-07-16 13:47:42 +0000.135478][6530] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4
[036:518] [2022-07-16 13:47:42 +0000.135533][6530] BindInputFilter 0x7bd009c6d8
this 0x7bd009c9d8
[036:518] [2022-07-16 13:47:42 +0000.135582][6530] BindInputFilter 0x7bd009c9d8
this 0x7bd03218a0
[036:518] [2022-07-16 13:47:42 +0000.135636][6530] BindInputFilter 0x7bd009c858
this 0x7bd009ce58
[036:518] [2022-07-16 13:47:42 +0000.135692][6530] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4
[036:520] [2022-07-16 13:47:42 +0000.137007][6530]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[036:520] [2022-07-16 13:47:42 +0000.137245][1c49] NO get frame from decoder
[036:520] [2022-07-16 13:47:42 +0000.137607][6530] machine model :poco
[036:520] [2022-07-16 13:47:42 +0000.137656][6530] Support this machine model :poco
[036:520] [2022-07-16 13:47:42 +0000.137690][6530] global inited! current sdk
version: 07-20-936c45f
[036:520] [2022-07-16 13:47:42 +0000.137784][6530] GetPipeline:
-----------------------------------------
[036:520] [2022-07-16 13:47:42 +0000.137829][6530] GetPipeline: source:
0x7c3defb500
[036:521] [2022-07-16 13:47:42 +0000.137876][6530] GetPipeline: filter: NULLFilter
[036:521] [2022-07-16 13:47:42 +0000.137922][6530] GetPipeline: filter: NULLFilter
[036:521] [2022-07-16 13:47:42 +0000.137963][6530] GetPipeline: filter: NULLFilter
[036:521] [2022-07-16 13:47:42 +0000.138009][6530] GetPipeline: audio filter:
AuidoNULLFilter
[036:521] [2022-07-16 13:47:42 +0000.138052][6530] GetPipeline: audio filter:
AuidoNULLFilter
[036:521] [2022-07-16 13:47:42 +0000.138100][6530] GetPipeline: audio filter:
AudioNUllFilter
[036:521] [2022-07-16 13:47:42 +0000.138148][6530] GetPipeline:
------------------------------------------
[036:521] [2022-07-16 13:47:42 +0000.138197][6530] filter: filter pipeline2 update
pattern: 0
[036:521] [2022-07-16 13:47:42 +0000.138513][6530] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[036:521] [2022-07-16 13:47:42 +0000.138728][6530] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[036:521] [2022-07-16 13:47:42 +0000.138828][6530] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[036:522] [2022-07-16 13:47:42 +0000.139075][6530] DeviceInit:
[036:522] [2022-07-16 13:47:42 +0000.139362][6530] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[036:522] [2022-07-16 13:47:42 +0000.139749][6530] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[036:523] [2022-07-16 13:47:42 +0000.140041][6530] CreatePlatformSpecificObjects:
[036:523] [2022-07-16 13:47:42 +0000.140105][6530] audio device use null audio
input and opensl output
[036:523] [2022-07-16 13:47:42 +0000.140161][6530] Create OpenSLES output module
with java VM support.

[036:523] [2022-07-16 13:47:42 +0000.140313][6530] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[036:523] [2022-07-16 13:47:42 +0000.140477][1c49] NO get frame from decoder
[036:523] [2022-07-16 13:47:42 +0000.140526][6530] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[036:523] [2022-07-16 13:47:42 +0000.140786][6530] Create OpenSLES output module
with buffer num:2

[036:523] [2022-07-16 13:47:42 +0000.140891][6530] Error(trace.cc:40): Init the


output and input for audio device template.
[036:524] [2022-07-16 13:47:42 +0000.140941][6530] Init the output device.

[036:524] [2022-07-16 13:47:42 +0000.141052][6530] Set the playout as stereo:1


[036:524] [2022-07-16 13:47:42 +0000.141148][6530] Set the sample rate to be:44100

[036:524] [2022-07-16 13:47:42 +0000.141268][6530] Low latency buffer size:144 low


sample rate:48000
[036:524] [2022-07-16 13:47:42 +0000.141377][6530] DeviceInit: Done
[036:524] [2022-07-16 13:47:42 +0000.141650][6530] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[036:524] [2022-07-16 13:47:42 +0000.141706][1c55] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bd0465318
[036:527] [2022-07-16 13:47:42 +0000.144855][1c49] NO get frame from decoder
[036:530] [2022-07-16 13:47:42 +0000.146872][6530]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[036:530] [2022-07-16 13:47:42 +0000.147066][6530]
MediaFilterPlayer::SetPlayerNotify 0x7c3dfe9f00
[036:531] [2022-07-16 13:47:42 +0000.148152][6530]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[036:531] [2022-07-16 13:47:42 +0000.148260][6530]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[036:535] [2022-07-16 13:47:42 +0000.152146][6530]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[036:535] [2022-07-16 13:47:42 +0000.152363][1c49] NO get frame from decoder
[036:536] [2022-07-16 13:47:42 +0000.153814][6530] SetGraphLoop: SetGraphLoop 1
[036:537] [2022-07-16 13:47:42 +0000.153864][6530]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[036:537] [2022-07-16 13:47:42 +0000.154458][6530]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[036:538] [2022-07-16 13:47:42 +0000.155368][6530]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[036:539] [2022-07-16 13:47:42 +0000.156150][6530]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[036:539] [2022-07-16 13:47:42 +0000.156293][1c57] Start:
[036:541] [2022-07-16 13:47:42 +0000.158482][1c56] operator(): video render
started.
[036:541] [2022-07-16 13:47:42 +0000.158602][1c57] Start:
[036:541] [2022-07-16 13:47:42 +0000.158693][1c57] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[036:541] [2022-07-16 13:47:42 +0000.158731][1c57] Reset: history total size: 98
[036:541] [2022-07-16 13:47:42 +0000.158771][1c57] DeviceStart:
audioDevice_:0x7bd0169000
[036:541] [2022-07-16 13:47:42 +0000.158806][1c57] DeviceStart: time profile
playout init before
[036:541] [2022-07-16 13:47:42 +0000.158846][1c57] DeviceStart: time profile
playout init end
[036:542] [2022-07-16 13:47:42 +0000.158876][1c57] OpenSlesOutput:Start playout

[036:543] [2022-07-16 13:47:42 +0000.160044][1c49] NO get frame from decoder


[036:546] [2022-07-16 13:47:42 +0000.163397][1c56] DriveRender working... (1/200)
[036:546] [2022-07-16 13:47:42 +0000.163467][1c56] Warning(video_render.cc:390): No
picture to display (1/50)
[036:547] [2022-07-16 13:47:42 +0000.164236][1c49] NO get frame from decoder
[036:547] [2022-07-16 13:47:42 +0000.164349][1c57] Create the opensl output player.
streamtype before:0

[036:547] [2022-07-16 13:47:42 +0000.164386][1c57] Create the opensl output player.


streamtype after:3

[036:551] [2022-07-16 13:47:42 +0000.167974][1c49] NO get frame from decoder


[036:555] [2022-07-16 13:47:42 +0000.172757][1c49] NO get frame from decoder
[036:590] [2022-07-16 13:47:42 +0000.207038][1c57] Enqueue opensl buffer size:1764
[036:623] [2022-07-16 13:47:42 +0000.240013][1c57] DeviceStart: time profile
playout all end
[036:623] [2022-07-16 13:47:42 +0000.240075][1c57] operator(): Audio playback
started.
[036:623] [2022-07-16 13:47:42 +0000.240132][1c57] operator(): Started now!
[036:623] [2022-07-16 13:47:42 +0000.240143][1c58] Pull audio failed.(wait video!)
[036:623] [2022-07-16 13:47:42 +0000.240180][1c58]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:623] [2022-07-16 13:47:42 +0000.240196][1c59] Error(video_source.cc:430): wait
decoder a frame: 0
[036:623] [2022-07-16 13:47:42 +0000.240554][1c5a]
PlayerSimpleBufferQueueCallbackHandler function
[036:623] [2022-07-16 13:47:42 +0000.240720][1c5a] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[036:623] [2022-07-16 13:47:42 +0000.240773][1c5a]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[036:623] [2022-07-16 13:47:42 +0000.240799][1c58] Pull audio failed.(wait video!)
[036:623] [2022-07-16 13:47:42 +0000.240825][1c58]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:624] [2022-07-16 13:47:42 +0000.241454][1c58] Pull audio failed.(wait video!)
[036:624] [2022-07-16 13:47:42 +0000.241486][1c58]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:625] [2022-07-16 13:47:42 +0000.241888][1c59] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[036:625] [2022-07-16 13:47:42 +0000.242021][1c58] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[036:625] [2022-07-16 13:47:42 +0000.242057][1c58] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[036:625] [2022-07-16 13:47:42 +0000.242295][1c58] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[036:625] [2022-07-16 13:47:42 +0000.242529][1c58]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:626] [2022-07-16 13:47:42 +0000.242960][1c58] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[036:626] [2022-07-16 13:47:42 +0000.243211][1c58]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:626] [2022-07-16 13:47:42 +0000.243669][1c58] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[036:629] [2022-07-16 13:47:42 +0000.246565][1c59] OnVideoFrameReady(1/200)
[036:630] [2022-07-16 13:47:42 +0000.246923][1c56] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[036:627] [2022-07-16 13:47:42 +0000.244165][1c58]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:632] [2022-07-16 13:47:42 +0000.249776][1c58] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[036:633] [2022-07-16 13:47:42 +0000.250706][1c58]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:633] [2022-07-16 13:47:42 +0000.250803][1c57] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[036:634] [2022-07-16 13:47:42 +0000.251058][1c57] The audio playback speed:100
(1/100)
[036:634] [2022-07-16 13:47:42 +0000.251117][1c57] lipsync_debug: The current
played audio timestamp is:0(1/50)
[036:634] [2022-07-16 13:47:42 +0000.251189][1c57] First audio frame rendering
[036:644] [2022-07-16 13:47:42 +0000.261676][1c56] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:489644844
[036:670] [2022-07-16 13:47:42 +0000.287950][1c56] lipsync_debug: render a video
frame
[036:671] [2022-07-16 13:47:42 +0000.288019][1c56] lipsync_debug: First video frame
rendering.
[036:681] [2022-07-16 13:47:42 +0000.298710][1c56]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:24 timeDelta:37 last
video ts:900 frame->pts:3060 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[036:681] [2022-07-16 13:47:42 +0000.298756][1c56] lipsync_debug: tsDelta -
timeDelta = -13
[036:681] [2022-07-16 13:47:42 +0000.298770][1c56] lipsync_debug:result remaining
time:0
[036:681] [2022-07-16 13:47:42 +0000.298781][1c56] dynamic updated lipsync delay:0
[036:687] [2022-07-16 13:47:42 +0000.304257][1c56] lipsync_debug:remaining time:10
tsDelta - timeDelta:14
[036:687] [2022-07-16 13:47:42 +0000.304327][1c56] lipsync_debug:result remaining
time:10
[036:719] [2022-07-16 13:47:42 +0000.336021][1c59] video frame wait audio frame:
last_video_timestamp:299 last_audio_timestamp:184.943
[036:719] [2022-07-16 13:47:42 +0000.336079][1c59]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[036:944] [2022-07-16 13:47:42 +0000.561114][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[037:182] [2022-07-16 13:47:42 +0000.799303][1b70] Run AGC when audioType = 0
[037:182] [2022-07-16 13:47:42 +0000.799582][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[037:302] [2022-07-16 13:47:42 +0000.919333][1c56] lipsync_debug:displaying video
ts:60120 The current displayed video timestamp is:489645502
[037:580] [2022-07-16 13:47:43 +0000.197297][1c5a]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[037:623] [2022-07-16 13:47:43 +0000.240026][1c57] do work DoLipsync!
[037:623] [2022-07-16 13:47:43 +0000.240133][1c57] total delay:131 videoTsMS:967
audioTsMS:836 diff:131
[037:623] [2022-07-16 13:47:43 +0000.240175][1c57] Set the lipsync delay:131
[037:740] [2022-07-16 13:47:43 +0000.357115][1c59] Error(video_source.cc:430): wait
decoder a frame: 0
[038:033] [2022-07-16 13:47:43 +0000.650282][6530]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[038:034] [2022-07-16 13:47:43 +0000.651748][1c57] Stop:
[038:040] [2022-07-16 13:47:43 +0000.657248][1c56] operator(): Video Render
stopped.
[038:041] [2022-07-16 13:47:43 +0000.658112][1c57] Stop:
[038:042] [2022-07-16 13:47:43 +0000.659023][1c57] DeviceStop:
audioDevice_:0x7bd0169000
[038:042] [2022-07-16 13:47:43 +0000.659086][1c57] OpenSlesOutput:Stop playout

[038:045] [2022-07-16 13:47:43 +0000.662028][1c57] DeviceStop: Done


[038:045] [2022-07-16 13:47:43 +0000.662194][1c57] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[038:045] [2022-07-16 13:47:43 +0000.662235][1c57] operator(): Stop now!
[038:076] [2022-07-16 13:47:43 +0000.693431][6530]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[038:076] [2022-07-16 13:47:43 +0000.693534][6530] StopPreView: Have Stopped,
operation cancel
[038:076] [2022-07-16 13:47:43 +0000.693570][6530] Stop:
[038:076] [2022-07-16 13:47:43 +0000.693653][1c57] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[038:077] [2022-07-16 13:47:43 +0000.693923][6530] DeviceRelease:
audioDevice_:0x7bd0169000
[038:077] [2022-07-16 13:47:43 +0000.693987][6530] OpenSlesOutput:Stop playout

[038:077] [2022-07-16 13:47:43 +0000.694057][6530] DeviceRelease: Release the


webrtc device object.
[038:077] [2022-07-16 13:47:43 +0000.694263][6530] OpenSlesOutput destruct.

[038:077] [2022-07-16 13:47:43 +0000.694318][6530] DeviceRelease: Done


[038:077] [2022-07-16 13:47:43 +0000.694440][6530] Stop:
[038:077] [2022-07-16 13:47:43 +0000.694525][1c56] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[038:079] [2022-07-16 13:47:43 +0000.696646][6530] global uninited!
[038:080] [2022-07-16 13:47:43 +0000.697446][6530]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[038:080] [2022-07-16 13:47:43 +0000.697529][6530] ~MediaFilterGraph:
MediaFilterGraph destruct
[038:080] [2022-07-16 13:47:43 +0000.697549][6530] RemoveVideoBackGroud: hava not
add video backgroud
[038:080] [2022-07-16 13:47:43 +0000.697611][6530] UnbindInputFilter 0x7bd009c9d8
this 0x7bd03218a0
[038:080] [2022-07-16 13:47:43 +0000.697634][6530] ClearAllSource: remove source
filter, sourceid: 0x7c3defb500
[038:080] [2022-07-16 13:47:43 +0000.697649][6530] DestoryDecoderByVideoSource
time:489646280 enter.

[038:080] [2022-07-16 13:47:43 +0000.697668][6530] ~VideoBindDecoder time:489646280


enter.

[038:080] [2022-07-16 13:47:43 +0000.697787][6530] CleanUp time:489646280 enter.

[038:084] [2022-07-16 13:47:43 +0000.701419][6530] CleanUp leave. expire time = 4


ms

[038:084] [2022-07-16 13:47:43 +0000.701523][6530] CleanUp time:489646284 enter.

[038:084] [2022-07-16 13:47:43 +0000.701734][6530] CleanUp leave. expire time = 0


ms

[038:086] [2022-07-16 13:47:43 +0000.703266][6530] ~VideoBindDecoder leave. expire


time = 6 ms
[038:086] [2022-07-16 13:47:43 +0000.703327][6530] DestoryDecoderByVideoSource
leave. expire time = 6 ms

[038:086] [2022-07-16 13:47:43 +0000.703356][6530] UnbindInputFilter 0x7bd009c6d8


this 0x7bd009c9d8
[038:086] [2022-07-16 13:47:43 +0000.703417][6530] UnbindInputFilter 0x7bd009c498
this 0x7bd009c6d8
[038:086] [2022-07-16 13:47:43 +0000.703450][6530] UnbindInputFilter 0x7c3defb720
this 0x7bd009c498
[038:086] [2022-07-16 13:47:43 +0000.703506][6530] UnbindInputFilter 0x7bd009c858
this 0x7bd009ce58
[038:086] [2022-07-16 13:47:43 +0000.703540][6530] UnbindInputFilter 0x7bd009c798
this 0x7bd009c858
[038:086] [2022-07-16 13:47:43 +0000.703571][6530] UnbindInputFilter 0x7c3defb720
this 0x7bd009c798
[038:087] [2022-07-16 13:47:43 +0000.704116][6530] ~GLESContext:
[038:087] [2022-07-16 13:47:43 +0000.704626][6530] GLESContext destruct finish.
[038:087] [2022-07-16 13:47:43 +0000.704660][6530] filter: filter pipeline destroy
this: 0x7bd0321800
[038:088] [2022-07-16 13:47:43 +0000.705170][6530]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[038:088] [2022-07-16 13:47:43 +0000.705603][6530] machine model :poco
[038:088] [2022-07-16 13:47:43 +0000.705631][6530] Support this machine model :poco
[038:088] [2022-07-16 13:47:43 +0000.705652][6530] global inited! current sdk
version: 07-20-936c45f
[038:088] [2022-07-16 13:47:43 +0000.705780][6530] filter: filter pipeline
construtc this: 0x7bd0321800
[038:088] [2022-07-16 13:47:43 +0000.705803][6530] MediaFilterGraph:
MediaFilterGraph construct
[038:088] [2022-07-16 13:47:43 +0000.705820][6530] GLESContext:
[038:088] [2022-07-16 13:47:43 +0000.705851][6530] The result of eglGetDisplay is:
0xb400007cc8e44c80
[038:089] [2022-07-16 13:47:43 +0000.706769][6530] The result of creation:
0x7c3dfeaf80
[038:089] [2022-07-16 13:47:43 +0000.706852][6530] The result of
eglCreatePbufferSurface is: 0x7be1dcf400
[038:090] [2022-07-16 13:47:43 +0000.706938][6530] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4
[038:090] [2022-07-16 13:47:43 +0000.706968][6530] The source 0 speed:1
[038:090] [2022-07-16 13:47:43 +0000.707006][6530] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4,
delay: 0
[038:090] [2022-07-16 13:47:43 +0000.707044][6530] CreateDecoderByVideoSource
time:489646290 enter.

[038:090] [2022-07-16 13:47:43 +0000.707204][6530] running_decoder_count:0max


count:2
[038:090] [2022-07-16 13:47:43 +0000.707229][6530] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7be1ca9c00
[038:091] [2022-07-16 13:47:43 +0000.707912][1c64] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7cb86ec000] Current FFmpeg version git-2021-06-16-
97cea6f

[038:132] [2022-07-16 13:47:43 +0000.749065][1c64] OnStreamInfoFound: video


duration_: 15189
[038:135] [2022-07-16 13:47:43 +0000.752058][6530] start decoder
[038:135] [2022-07-16 13:47:43 +0000.752122][6530] CreateDecoderByVideoSource
leave. expire time = 45 ms

[038:135] [2022-07-16 13:47:43 +0000.752169][6530] BindInputFilter 0x7c3defb720


this 0x7bd009c6d8
[038:135] [2022-07-16 13:47:43 +0000.752214][6530] BindInputFilter 0x7bd009c6d8
this 0x7bd009c798
[038:135] [2022-07-16 13:47:43 +0000.752259][6530] BindInputFilter 0x7c3defb720
this 0x7bd009c858
[038:135] [2022-07-16 13:47:43 +0000.752288][6530] BindInputFilter 0x7bd009c858
this 0x7bd009c9d8
[038:135] [2022-07-16 13:47:43 +0000.752308][6530] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4
[038:135] [2022-07-16 13:47:43 +0000.752343][6530] BindInputFilter 0x7bd009c798
this 0x7bd009cb58
[038:135] [2022-07-16 13:47:43 +0000.752380][6530] BindInputFilter 0x7bd009cb58
this 0x7bd03218a0
[038:135] [2022-07-16 13:47:43 +0000.752415][6530] BindInputFilter 0x7bd009c9d8
this 0x7bd009cc18
[038:135] [2022-07-16 13:47:43 +0000.752452][6530] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_489628806.mp4
[038:136] [2022-07-16 13:47:43 +0000.753557][6530]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[038:136] [2022-07-16 13:47:43 +0000.753681][1c65] NO get frame from decoder
[038:136] [2022-07-16 13:47:43 +0000.753737][6530] MediaComposeFile time:489646336
enter.

[038:136] [2022-07-16 13:47:43 +0000.753791][6530] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[038:137] [2022-07-16 13:47:43 +0000.753895][6530] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[038:137] [2022-07-16 13:47:43 +0000.753917][1c70] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7b712d7740
[038:137] [2022-07-16 13:47:43 +0000.753939][6530] Recording session using default
bitrate support by app:31457280
[038:137] [2022-07-16 13:47:43 +0000.754092][1c70] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[038:137] [2022-07-16 13:47:43 +0000.754204][6530] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[038:140] [2022-07-16 13:47:43 +0000.757449][1c65] NO get frame from decoder
[038:142] [2022-07-16 13:47:43 +0000.758984][1c65] NO get frame from decoder
[038:143] [2022-07-16 13:47:43 +0000.760089][1c65] NO get frame from decoder
[038:144] [2022-07-16 13:47:43 +0000.761017][1c65] NO get frame from decoder
[038:145] [2022-07-16 13:47:43 +0000.762250][1c65] NO get frame from decoder
[038:145] [2022-07-16 13:47:43 +0000.762855][1c65] NO get frame from decoder
[038:148] [2022-07-16 13:47:43 +0000.765260][6530] GetPipeline:
-----------------------------------------
[038:149] [2022-07-16 13:47:43 +0000.765862][6530] GetPipeline: source:
0x7c3defb500
[038:149] [2022-07-16 13:47:43 +0000.765884][6530] GetPipeline: filter: NULLFilter
[038:149] [2022-07-16 13:47:43 +0000.765899][6530] GetPipeline: filter: NULLFilter
[038:149] [2022-07-16 13:47:43 +0000.765912][6530] GetPipeline: filter: NULLFilter
[038:149] [2022-07-16 13:47:43 +0000.765959][6530] GetPipeline: audio filter:
AuidoNULLFilter
[038:149] [2022-07-16 13:47:43 +0000.765975][6530] GetPipeline: audio filter:
AuidoNULLFilter
[038:149] [2022-07-16 13:47:43 +0000.765989][6530] GetPipeline: audio filter:
AudioNUllFilter
[038:149] [2022-07-16 13:47:43 +0000.766028][6530] GetPipeline:
------------------------------------------
[038:149] [2022-07-16 13:47:43 +0000.766045][6530] filter: filter pipeline2 update
pattern: 2
[038:149] [2022-07-16 13:47:43 +0000.766246][6530] MediaComposeFile leave. expire
time = 13 ms

[038:149] [2022-07-16 13:47:43 +0000.766525][6530] machine model :poco


[038:149] [2022-07-16 13:47:43 +0000.766553][6530] Support this machine model :poco
[038:149] [2022-07-16 13:47:43 +0000.766568][6530] global inited! current sdk
version: 07-20-936c45f
[038:146] [2022-07-16 13:47:43 +0000.763697][1c65] NO get frame from decoder
[038:170] [2022-07-16 13:47:43 +0000.787076][6530]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[038:170] [2022-07-16 13:47:43 +0000.787165][6530] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 199
[038:170] [2022-07-16 13:47:43 +0000.787643][6530]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[038:170] [2022-07-16 13:47:43 +0000.787700][6530] BeginCompose: BeginCompose, is
composing 0
[038:170] [2022-07-16 13:47:43 +0000.787822][1c70] start recording, file path:
[038:171] [2022-07-16 13:47:43 +0000.788075][1c70] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 199 audio_timescale:44100
video_timescale:90000
[038:171] [2022-07-16 13:47:43 +0000.788156][1c70] 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
[038:171] [2022-07-16 13:47:43 +0000.788163][1c75] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cb8984c98
[038:171] [2022-07-16 13:47:43 +0000.788215][1c70] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 199
[038:171] [2022-07-16 13:47:43 +0000.788291][1c70] fd_open successed
handle:0xb400007d741b40b0
[038:171] [2022-07-16 13:47:43 +0000.788668][1c70] create mp4 file:354
m_fileHandle: 0x7bab6ffb00
[038:171] [2022-07-16 13:47:43 +0000.788767][1c70] MP4 file: is opened successfully
[038:171] [2022-07-16 13:47:43 +0000.788805][1c70] setupMediaProcessers:
[038:171] [2022-07-16 13:47:43 +0000.788836][1c70]
RecordingSessionInternalSimple:setup media processers.
[038:172] [2022-07-16 13:47:43 +0000.788938][1c70] construct AAC encoder
[038:172] [2022-07-16 13:47:43 +0000.789478][1c70] H264Encoder creating:
ultrafast012323
[038:172] [2022-07-16 13:47:43 +0000.789744][1c70] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[038:174] [2022-07-16 13:47:43 +0000.791092][1c70] H264Encode::GetMachineModel is
M2012K11AG
[038:174] [2022-07-16 13:47:43 +0000.791229][1c70] H264Encoder machine_mode
is:M2012K11AG
[038:174] [2022-07-16 13:47:43 +0000.791266][1c70] H264Encode::machine size :9
machine_mode:M2012K11AG
[038:174] [2022-07-16 13:47:43 +0000.791301][1c70] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[038:174] [2022-07-16 13:47:43 +0000.791428][1c70] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[038:174] [2022-07-16 13:47:43 +0000.791464][1c70] setupCompressionSession:
[038:174] [2022-07-16 13:47:43 +0000.791497][1c70] H264Encode::creating hareware
Encoder
[038:174] [2022-07-16 13:47:43 +0000.791529][1c70] AndroidHwAvcEncoder
time:489646374 enter.

[038:174] [2022-07-16 13:47:43 +0000.791816][1c70] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007d740e4540 address:0x7b936dd760
[038:175] [2022-07-16 13:47:43 +0000.792000][1c70] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[038:175] [2022-07-16 13:47:43 +0000.792043][1c70] The video avc hw codec address
is 0x7cb8819ad0
[038:175] [2022-07-16 13:47:43 +0000.792133][1c70] AndroidHwAvcEncoder leave.
expire time = 1 ms

[038:175] [2022-07-16 13:47:43 +0000.792173][1c70] RegisterEncodeCompleteCallback


time:489646375 enter.

[038:175] [2022-07-16 13:47:43 +0000.792284][1c70] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[038:175] [2022-07-16 13:47:43 +0000.792332][1c70] InitEncode time:489646375


enter.

[038:175] [2022-07-16 13:47:43 +0000.792418][1c70] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[038:175] [2022-07-16 13:47:43 +0000.792464][1c70] Create time:489646375 enter.

[038:175] [2022-07-16 13:47:43 +0000.792498][1c70] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[038:175] [2022-07-16 13:47:43 +0000.792538][1c70]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7cb89551c0
[038:175] [2022-07-16 13:47:43 +0000.792771][1c70]
supported_type:image/vnd.android.heic
[038:175] [2022-07-16 13:47:43 +0000.792834][1c70] supported_type:video/avc
[038:176] [2022-07-16 13:47:43 +0000.793160][1c70] name:OMX.qcom.video.encoder.avc
mime:video/avc
[038:176] [2022-07-16 13:47:43 +0000.793227][1c70] hwCodecPrefix :OMX.qcom.
[038:176] [2022-07-16 13:47:43 +0000.793266][1c70] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[038:176] [2022-07-16 13:47:43 +0000.793305][1c70] mediacodec_createCodecByName
time:489646376 enter.

[038:176] [2022-07-16 13:47:43 +0000.793340][1c70] WrapAndroidMediaCodec


time:489646376 enter.

[038:176] [2022-07-16 13:47:43 +0000.793527][1c70] WrapAndroidMediaCodec leave.


expire time = 0 ms

[038:209] [2022-07-16 13:47:43 +0000.826728][1c70] mediacodec_createCodecByName


leave. expire time = 33 ms

[038:209] [2022-07-16 13:47:43 +0000.826794][1c70] WrapAndroidMediaFromat


time:489646409 enter.

[038:209] [2022-07-16 13:47:43 +0000.826842][1c70] WrapAndroidMediaFromat leave.


expire time = 0 ms

[038:239] [2022-07-16 13:47:43 +0000.856422][1c70] Destroy time:489646439 enter.

[038:239] [2022-07-16 13:47:43 +0000.856490][1c70] WrapAndroidMediaFromat::


Destroy
[038:239] [2022-07-16 13:47:43 +0000.856511][1c70] Destroy leave. expire time = 0
ms

[038:239] [2022-07-16 13:47:43 +0000.856527][1c70] ~WrapAndroidMediaFromat


time:489646439 enter.

[038:239] [2022-07-16 13:47:43 +0000.856583][1c70] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[038:239] [2022-07-16 13:47:43 +0000.856615][1c70] Create leave. expire time = 64


ms

[038:239] [2022-07-16 13:47:43 +0000.856633][1c70] isSemiPlanarSupport


time:489646439 enter.

[038:239] [2022-07-16 13:47:43 +0000.856648][1c70] H264Encoder isSemiPlanarSupport


[038:239] [2022-07-16 13:47:43 +0000.856679][1c70] isSemiPlanarSupport leave.
expire time = 0 ms

[038:239] [2022-07-16 13:47:43 +0000.856727][1c70] creat hw H264Encoder success,


isSemiPlanar:1
[038:239] [2022-07-16 13:47:43 +0000.856816][1c70] InitEncode leave. expire time =
64 ms

[038:239] [2022-07-16 13:47:43 +0000.856846][1c70] H264Encode::created Encoder


[038:240] [2022-07-16 13:47:43 +0000.856910][1c70] H264Encode:: H264 encoder
created.
[038:240] [2022-07-16 13:47:43 +0000.856927][1c70] H264 encoder created.
[038:240] [2022-07-16 13:47:43 +0000.856941][1c70]
RecordingSessionInternalSimple:created avc encoder avc: 0x7cb85b27c0
[038:240] [2022-07-16 13:47:43 +0000.856958][1c70] setOutput:
[038:240] [2022-07-16 13:47:43 +0000.856979][1c70]
RecordingSessionInternalSimple:encoder set output to muxer!
[038:240] [2022-07-16 13:47:43 +0000.857009][1c70] request a key frame
[038:240] [2022-07-16 13:47:43 +0000.857038][1c70] H264Encode:: request a key frame
[038:241] [2022-07-16 13:47:43 +0000.858852][1c70] setDisplayRotate :90
[038:242] [2022-07-16 13:47:43 +0000.858913][1c70] 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
[038:243] [2022-07-16 13:47:43 +0000.860263][1c71] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[038:244] [2022-07-16 13:47:43 +0000.861151][1c71]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[038:245] [2022-07-16 13:47:43 +0000.862070][1c75] add aac audio track with id:1
[038:245] [2022-07-16 13:47:43 +0000.862458][1c75] audio start ts:0
[038:245] [2022-07-16 13:47:43 +0000.862510][1c75] the audio frame has been written
into MP4 file
[038:350] [2022-07-16 13:47:43 +0000.967866][1c71] h264 add frame header cdr flag
[038:351] [2022-07-16 13:47:43 +0000.968211][1c71] h264 add frame header cdr flag
[038:353] [2022-07-16 13:47:43 +0000.969973][1c71] Received key frame:10
[038:353] [2022-07-16 13:47:43 +0000.970044][1c71] H264Encode:: get a sps pps
header!headerSize:32
[038:353] [2022-07-16 13:47:43 +0000.970145][1c75] get the H.264 SPS parameter
[038:353] [2022-07-16 13:47:43 +0000.970379][1c75] add video track with id:2
[038:354] [2022-07-16 13:47:43 +0000.971613][1c75] get the H.264 PPS parameter
[038:357] [2022-07-16 13:47:43 +0000.973901][1c75] get the H.264 IDR frame
[038:357] [2022-07-16 13:47:43 +0000.973978][1c75] resss:true
[038:357] [2022-07-16 13:47:43 +0000.973997][1c75] video start ts:10
[038:357] [2022-07-16 13:47:43 +0000.974084][1c75] the video frame has been written
into MP4 file
[038:401] [2022-07-16 13:47:44 +0000.18502][1c71] DTS queue for
Generator:0x7cb8591eb8 367 399 437 467 499 532 570 607
[038:423] [2022-07-16 13:47:44 +0000.40215][1c70] setDisplayRotate :90
[038:423] [2022-07-16 13:47:44 +0000.40300][1c70] 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
[038:440] [2022-07-16 13:47:44 +0000.57174][1c71] Push an pts:802 to dts queue.
[038:441] [2022-07-16 13:47:44 +0000.58668][1c74] audio_frame_list_ empty
[038:447] [2022-07-16 13:47:44 +0000.64473][1c70] setDisplayRotate :90
[038:447] [2022-07-16 13:47:44 +0000.64554][1c70] 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
[038:474] [2022-07-16 13:47:44 +0000.90958][1c70] setDisplayRotate :90
[038:474] [2022-07-16 13:47:44 +0000.91023][1c70] 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
[038:518] [2022-07-16 13:47:44 +0000.135594][1c70] setDisplayRotate :90
[038:519] [2022-07-16 13:47:44 +0000.136063][1c70] 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
[038:519] [2022-07-16 13:47:44 +0000.136259][1c73] Error(video_source.cc:430): wait
decoder a frame: 0
[038:522] [2022-07-16 13:47:44 +0000.139821][1c71] last dts:767 currentPts:802
ppsOrSPS:0 queue length:7
[038:527] [2022-07-16 13:47:44 +0000.144145][1c73] webrtc common_video plane
old ..... (1/1000) new: 8001 delete: 7984 diff: 17
[038:539] [2022-07-16 13:47:44 +0000.156633][1c70] setDisplayRotate :90
[038:539] [2022-07-16 13:47:44 +0000.156694][1c70] 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
[038:577] [2022-07-16 13:47:44 +0000.194489][1c70] setDisplayRotate :90
[038:577] [2022-07-16 13:47:44 +0000.194585][1c70] 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
[038:681] [2022-07-16 13:47:44 +0000.298501][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[038:684] [2022-07-16 13:47:44 +0000.301817][1c70] setDisplayRotate :90
[038:684] [2022-07-16 13:47:44 +0000.301857][1c70] 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
[038:692] [2022-07-16 13:47:44 +0000.309524][1c70] setDisplayRotate :90
[038:692] [2022-07-16 13:47:44 +0000.309572][1c70] 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
[038:724] [2022-07-16 13:47:44 +0000.341428][1c71] DTS queue for
Generator:0x7cb8591eb8 1302 1335
[038:772] [2022-07-16 13:47:44 +0000.389722][1c71] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1634
[038:772] [2022-07-16 13:47:44 +0000.389806][1c71] push video frame to H264
encoder. (100 frame for one log)

[038:772] [2022-07-16 13:47:44 +0000.389857][1c71] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[038:773] [2022-07-16 13:47:44 +0000.389878][1c71] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:1634(100 frame for one
log)

[038:773] [2022-07-16 13:47:44 +0000.389903][1c71] The input pts:1634 fps:30


[038:803] [2022-07-16 13:47:44 +0000.420689][1c74] audio_frame_list_ empty
[038:818] [2022-07-16 13:47:44 +0000.435169][1c71] SendFrame
encodedImage._timeStamp:1469encodedImage->_length:105984
[038:819] [2022-07-16 13:47:44 +0000.436026][1c71] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1499 pts:1499
[038:855] [2022-07-16 13:47:44 +0000.472053][1c71] H264Encode::H264SWEncoder get
callback, length:88864 type:1 nalType:1length:88860
[038:890] [2022-07-16 13:47:44 +0000.507844][1c71] Push an pts:2135 to dts queue.
[038:969] [2022-07-16 13:47:44 +0000.586559][1c70] setDisplayRotate :90
[038:969] [2022-07-16 13:47:44 +0000.586617][1c70] 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
[038:974] [2022-07-16 13:47:44 +0000.591358][1c71] h264 add frame header cdr flag
[038:975] [2022-07-16 13:47:44 +0000.592447][1c71] Received key frame:2002
[038:975] [2022-07-16 13:47:44 +0000.592515][1c71] DTS queue for
Generator:0x7cb8591eb8 2002 2033 2067 2104 2135 2165 2199 2231 2267
[038:977] [2022-07-16 13:47:44 +0000.594401][1c75] get the H.264 IDR frame
[038:983] [2022-07-16 13:47:44 +0000.599981][1c73] Error(video_source.cc:430): wait
decoder a frame: 0
[038:996] [2022-07-16 13:47:44 +0000.613054][1c71] last dts:2104 currentPts:2135
ppsOrSPS:0 queue length:9
[039:137] [2022-07-16 13:47:44 +0000.754603][1c71] DTS queue for
Generator:0x7cb8591eb8 2867 2899 2933 2968 2998 3033 3069
[039:157] [2022-07-16 13:47:44 +0000.774745][1c74] audio_frame_list_ empty
[039:179] [2022-07-16 13:47:44 +0000.796677][1b70] Run AGC when audioType = 0
[039:246] [2022-07-16 13:47:44 +0000.863354][1c70] setDisplayRotate :90
[039:246] [2022-07-16 13:47:44 +0000.863443][1c70] 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
[039:269] [2022-07-16 13:47:44 +0000.886059][1c70] setDisplayRotate :90
[039:269] [2022-07-16 13:47:44 +0000.886133][1c70] 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
[039:279] [2022-07-16 13:47:44 +0000.895867][1c71] Push an pts:3468 to dts queue.
[039:303] [2022-07-16 13:47:44 +0000.920157][1c73] Error(video_source.cc:430): wait
decoder a frame: 0
[039:337] [2022-07-16 13:47:44 +0000.953875][1c71] last dts:3432 currentPts:3468
ppsOrSPS:0 queue length:8
[039:376] [2022-07-16 13:47:44 +0000.992918][1c71] DTS queue for
Generator:0x7cb8591eb8 3666 3695 3729 3766 3799 3832 3866 3899 3933
[039:507] [2022-07-16 13:47:45 +0000.124401][1c74] audio_frame_list_ empty
[039:545] [2022-07-16 13:47:45 +0000.162456][1c70] setDisplayRotate :90
[039:545] [2022-07-16 13:47:45 +0000.162521][1c70] 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
[039:551] [2022-07-16 13:47:45 +0000.168021][1c71] h264 add frame header cdr flag
[039:552] [2022-07-16 13:47:45 +0000.168984][1c71] Received key frame:3998
[039:555] [2022-07-16 13:47:45 +0000.172626][1c75] get the H.264 IDR frame
[039:650] [2022-07-16 13:47:45 +0000.267504][1c71] DTS queue for
Generator:0x7cb8591eb8 4497 4532 4564 4595 4630 4666 4694 4732
[039:652] [2022-07-16 13:47:45 +0000.269513][1c73] Error(video_source.cc:430): wait
decoder a frame: 17
[039:660] [2022-07-16 13:47:45 +0000.277196][1c71] Push an pts:4800 to dts queue.
[039:679] [2022-07-16 13:47:45 +0000.296005][1c73] webrtc common_video plane
old ..... (1/1000) new: 9001 delete: 8936 diff: 65
[039:746] [2022-07-16 13:47:45 +0000.362892][1c71] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:4998
[039:746] [2022-07-16 13:47:45 +0000.362953][1c71] push video frame to H264
encoder. (100 frame for one log)

[039:746] [2022-07-16 13:47:45 +0000.362984][1c71] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[039:746] [2022-07-16 13:47:45 +0000.363002][1c71] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:4998(100 frame for one
log)

[039:746] [2022-07-16 13:47:45 +0000.363028][1c71] The input pts:4998 fps:30


[039:777] [2022-07-16 13:47:45 +0000.394641][1c71] SendFrame
encodedImage._timeStamp:4800encodedImage->_length:91792
[039:777] [2022-07-16 13:47:45 +0000.394738][1c71] last dts:4767 currentPts:4800
ppsOrSPS:0 queue length:8
[039:794] [2022-07-16 13:47:45 +0000.410868][1c71] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4866 pts:4866
[039:829] [2022-07-16 13:47:45 +0000.446249][1c71] H264Encode::H264SWEncoder get
callback, length:103664 type:1 nalType:1length:103660
[039:862] [2022-07-16 13:47:45 +0000.479560][1c74] audio_frame_list_ empty
[039:873] [2022-07-16 13:47:45 +0000.490246][1c70] setDisplayRotate :90
[039:873] [2022-07-16 13:47:45 +0000.490337][1c70] 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
[039:929] [2022-07-16 13:47:45 +0000.546198][1c71] DTS queue for
Generator:0x7cb8591eb8 5365 5397 5432 5465 5500 5534
[040:045] [2022-07-16 13:47:45 +0000.662127][1c71] Push an pts:6129 to dts queue.
[040:073] [2022-07-16 13:47:45 +0000.690556][1c71] h264 add frame header cdr flag
[040:074] [2022-07-16 13:47:45 +0000.690917][1c71] Received key frame:5996
[040:085] [2022-07-16 13:47:45 +0000.702721][1c75] get the H.264 IDR frame
[040:128] [2022-07-16 13:47:45 +0000.745729][1c70] setDisplayRotate :90
[040:128] [2022-07-16 13:47:45 +0000.745829][1c70] 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
[040:138] [2022-07-16 13:47:45 +0000.755253][1c71] last dts:6095 currentPts:6129
ppsOrSPS:0 queue length:8
[040:138] [2022-07-16 13:47:45 +0000.755396][1c71] DTS queue for
Generator:0x7cb8591eb8 6164 6197 6232 6262 6298 6329 6364
[040:140] [2022-07-16 13:47:45 +0000.757092][1c73] Error(video_source.cc:430): wait
decoder a frame: 0
[040:286] [2022-07-16 13:47:45 +0000.903447][1c74] audio_frame_list_ empty
[040:303] [2022-07-16 13:47:45 +0000.920088][1c71] DTS queue for
Generator:0x7cb8591eb8 6965 6996 7031 7061 7096 7130 7164 7198 7233
[040:414] [2022-07-16 13:47:46 +0000.30916][1c70] setDisplayRotate :90
[040:414] [2022-07-16 13:47:46 +0000.31017][1c70] 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
[040:423] [2022-07-16 13:47:46 +0000.40096][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[040:440] [2022-07-16 13:47:46 +0000.57223][1c71] Push an pts:7463 to dts queue.
[040:464] [2022-07-16 13:47:46 +0000.81596][1c73] Error(video_source.cc:430): wait
decoder a frame: 0
[040:520] [2022-07-16 13:47:46 +0000.137794][1c71] last dts:7431 currentPts:7463
ppsOrSPS:0 queue length:7
[040:586] [2022-07-16 13:47:46 +0000.203654][1c71] DTS queue for
Generator:0x7cb8591eb8 7796 7830 7863 7896 7928 7963 7996 8026 8063
[040:642] [2022-07-16 13:47:46 +0000.259302][1c71] h264 add frame header cdr flag
[040:642] [2022-07-16 13:47:46 +0000.259538][1c71] Received key frame:7996
[040:643] [2022-07-16 13:47:46 +0000.260816][1c75] get the H.264 IDR frame
[040:645] [2022-07-16 13:47:46 +0000.262106][1c71] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:8360
[040:645] [2022-07-16 13:47:46 +0000.262377][1c71] push video frame to H264
encoder. (100 frame for one log)

[040:645] [2022-07-16 13:47:46 +0000.262441][1c71] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[040:645] [2022-07-16 13:47:46 +0000.262485][1c71] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:8360(100 frame for one
log)

[040:645] [2022-07-16 13:47:46 +0000.262552][1c71] The input pts:8360 fps:30


[040:650] [2022-07-16 13:47:46 +0000.267623][1c74] audio_frame_list_ empty
[040:700] [2022-07-16 13:47:46 +0000.317266][1c70] setDisplayRotate :90
[040:700] [2022-07-16 13:47:46 +0000.317333][1c70] 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
[040:706] [2022-07-16 13:47:46 +0000.322888][1c71] SendFrame
encodedImage._timeStamp:8130encodedImage->_length:59536
[040:708] [2022-07-16 13:47:46 +0000.325414][1c71] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:8229 pts:8229
[040:746] [2022-07-16 13:47:46 +0000.363380][1c71] H264Encode::H264SWEncoder get
callback, length:96224 type:1 nalType:1length:96220
[040:771] [2022-07-16 13:47:46 +0000.388155][1c71] Push an pts:8792 to dts queue.
[040:780] [2022-07-16 13:47:46 +0000.396968][1c73] Error(video_source.cc:430): wait
decoder a frame: 9
[040:785] [2022-07-16 13:47:46 +0000.402180][1c71] DTS queue for
Generator:0x7cb8591eb8 8595 8629 8663 8693 8728 8762 8792 8830 8864 8892
[040:821] [2022-07-16 13:47:46 +0000.438815][1c71] last dts:8762 currentPts:8792
ppsOrSPS:0 queue length:9
[040:822] [2022-07-16 13:47:46 +0000.439656][1c73] webrtc common_video plane
old ..... (1/1000) new: 10001 delete: 9952 diff: 49
[040:965] [2022-07-16 13:47:46 +0000.582617][1c70] setDisplayRotate :90
[040:965] [2022-07-16 13:47:46 +0000.582678][1c70] 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
[040:975] [2022-07-16 13:47:46 +0000.592078][1c74] FilterPipeline2::OnAudioFrame
pts 413528 last_audio_timestamp_ 9377.05
[041:009] [2022-07-16 13:47:46 +0000.626137][1c71] DTS queue for
Generator:0x7cb8591eb8 9430 9460 9495 9529 9560 9597 9628 9661 9694 9727
[041:058] [2022-07-16 13:47:46 +0000.674904][1c74] audio_frame_list_ empty
[041:100] [2022-07-16 13:47:46 +0000.717336][1c71] Push an pts:10128 to dts queue.
[041:127] [2022-07-16 13:47:46 +0000.744361][1c71] h264 add frame header cdr flag
[041:127] [2022-07-16 13:47:46 +0000.744590][1c71] Received key frame:9995
[041:142] [2022-07-16 13:47:46 +0000.758864][1c75] get the H.264 IDR frame
[041:150] [2022-07-16 13:47:46 +0000.767468][1c71] last dts:10092 currentPts:10128
ppsOrSPS:0 queue length:9
[041:179] [2022-07-16 13:47:46 +0000.796088][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[041:179] [2022-07-16 13:47:46 +0000.796180][1b72] _deviceSampleRate:48000

[041:184] [2022-07-16 13:47:46 +0000.800919][1b70] Run AGC when audioType = 0


[041:184] [2022-07-16 13:47:46 +0000.801008][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[041:224] [2022-07-16 13:47:46 +0000.841830][1c70] setDisplayRotate :90
[041:225] [2022-07-16 13:47:46 +0000.841916][1c70] 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
[041:242] [2022-07-16 13:47:46 +0000.859615][1c73] Error(video_source.cc:430): wait
decoder a frame: 0
[041:244] [2022-07-16 13:47:46 +0000.861282][1c71] DTS queue for
Generator:0x7cb8591eb8 10293 10326 10359 10391 10425 10461 10495
[041:416] [2022-07-16 13:47:47 +0000.33396][1c71] DTS queue for
Generator:0x7cb8591eb8 11094 11127 11158 11192 11225 11257 11292 11327 11356
[041:421] [2022-07-16 13:47:47 +0000.38795][1c74] audio_frame_list_ empty
[041:484] [2022-07-16 13:47:47 +0000.101699][1c70] setDisplayRotate :90
[041:484] [2022-07-16 13:47:47 +0000.101775][1c70] 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
[041:485] [2022-07-16 13:47:47 +0000.102194][1c71] Push an pts:11460 to dts queue.
[041:531] [2022-07-16 13:47:47 +0000.148768][1c73] Error(video_source.cc:430): wait
decoder a frame: 0
[041:545] [2022-07-16 13:47:47 +0000.162485][1c71] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:11724
[041:545] [2022-07-16 13:47:47 +0000.162587][1c71] push video frame to H264
encoder. (100 frame for one log)

[041:545] [2022-07-16 13:47:47 +0000.162629][1c71] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[041:545] [2022-07-16 13:47:47 +0000.162646][1c71] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:11724(100 frame for one
log)

[041:545] [2022-07-16 13:47:47 +0000.162670][1c71] The input pts:11724 fps:30


[041:550] [2022-07-16 13:47:47 +0000.167362][1c71] SendFrame
encodedImage._timeStamp:11460encodedImage->_length:73296
[041:550] [2022-07-16 13:47:47 +0000.167453][1c71] last dts:11430 currentPts:11460
ppsOrSPS:0 queue length:9
[041:579] [2022-07-16 13:47:47 +0000.196853][1c71] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:11591 pts:11591
[041:597] [2022-07-16 13:47:47 +0000.214675][1c71] H264Encode::H264SWEncoder get
callback, length:81104 type:1 nalType:1length:81100
[041:631] [2022-07-16 13:47:47 +0000.248213][1c71] DTS queue for
Generator:0x7cb8591eb8 11959 11993 12024 12057 12098 12123 12156
[041:660] [2022-07-16 13:47:47 +0000.277520][1c71] h264 add frame header cdr flag
[041:661] [2022-07-16 13:47:47 +0000.277872][1c71] Received key frame:11993
[041:672] [2022-07-16 13:47:47 +0000.289265][1c75] get the H.264 IDR frame
[041:776] [2022-07-16 13:47:47 +0000.393376][1c74] audio_frame_list_ empty
[041:785] [2022-07-16 13:47:47 +0000.402390][1c70] setDisplayRotate :90
[041:785] [2022-07-16 13:47:47 +0000.402468][1c70] 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
[041:847] [2022-07-16 13:47:47 +0000.464265][1c71] Push an pts:12793 to dts queue.
[041:892] [2022-07-16 13:47:47 +0000.509780][1c71] DTS queue for
Generator:0x7cb8591eb8 12758 12793 12831 12856 12889 12925 12958 12994
[041:896] [2022-07-16 13:47:47 +0000.513827][1c73] Error(video_source.cc:430): wait
decoder a frame: 2
[041:907] [2022-07-16 13:47:47 +0000.524800][1c71] last dts:12758 currentPts:12793
ppsOrSPS:0 queue length:9
[042:067] [2022-07-16 13:47:47 +0000.684163][1c70] setDisplayRotate :90
[042:067] [2022-07-16 13:47:47 +0000.684237][1c70] 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
[042:072] [2022-07-16 13:47:47 +0000.689741][1c73] webrtc common_video plane
old ..... (1/1000) new: 11001 delete: 10980 diff: 21
[042:128] [2022-07-16 13:47:47 +0000.745702][1c71] DTS queue for
Generator:0x7cb8591eb8 13590 13621 13663 13689 13718 13757 13791 13823
[042:180] [2022-07-16 13:47:47 +0000.797030][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[042:188] [2022-07-16 13:47:47 +0000.805097][1c71] Push an pts:14124 to dts queue.
[042:222] [2022-07-16 13:47:47 +0000.839597][1c71] h264 add frame header cdr flag
[042:224] [2022-07-16 13:47:47 +0000.841501][1c71] Received key frame:13990
[042:227] [2022-07-16 13:47:47 +0000.844639][1c75] get the H.264 IDR frame
[042:242] [2022-07-16 13:47:47 +0000.859809][1c71] last dts:14089 currentPts:14124
ppsOrSPS:0 queue length:9
[042:277] [2022-07-16 13:47:47 +0000.894177][1c73] Error(video_source.cc:430): wait
decoder a frame: 0
[042:286] [2022-07-16 13:47:47 +0000.903617][1c71] DTS queue for
Generator:0x7cb8591eb8 14388 14424 14455 14486 14522 14556 14586 14621 14658
[042:320] [2022-07-16 13:47:47 +0000.937035][1c65] av_read_frame AVERROR_EOF
[042:356] [2022-07-16 13:47:47 +0000.973444][1c70] setDisplayRotate :90
[042:356] [2022-07-16 13:47:47 +0000.973510][1c70] 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
[042:374] [2022-07-16 13:47:47 +0000.991371][1c71] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:15091
[042:374] [2022-07-16 13:47:47 +0000.991456][1c71] push video frame to H264
encoder. (100 frame for one log)

[042:374] [2022-07-16 13:47:47 +0000.991493][1c71] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[042:374] [2022-07-16 13:47:47 +0000.991512][1c71] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:15091(100 frame for one
log)

[042:374] [2022-07-16 13:47:47 +0000.991538][1c71] The input pts:15091 fps:30


[042:377] [2022-07-16 13:47:47 +0000.993918][1c65] OnReceiveEOF:
[042:377] [2022-07-16 13:47:47 +0000.993994][1c65] OnDecoderEOF time:489650577
enter.

[042:377] [2022-07-16 13:47:47 +0000.994093][1c65] OnDecoderEOF leave. expire time


= 0 ms

[042:377] [2022-07-16 13:47:47 +0000.994126][1c65] OnDecoderFinished:


OnDecoderFinished total decoder frames:456 this:0x7c3defb500
[042:377] [2022-07-16 13:47:47 +0000.994154][1c65] NULLFilter::OnVideoSourceEOF
0x7c3defb500 this 0x7bd009c640
[042:377] [2022-07-16 13:47:47 +0000.994150][1c63] CleanUp time:489650577 enter.

[042:377] [2022-07-16 13:47:47 +0000.994190][1c65] NULLFilter::OnVideoSourceEOF


0x7bd009c640 this 0x7bd009c700
[042:377] [2022-07-16 13:47:47 +0000.994253][1c65] NULLFilter::OnVideoSourceEOF
0x7bd009c700 this 0x7bd009cac0
[042:378] [2022-07-16 13:47:47 +0000.995040][1c73]
Warning(media_filter_composefile.cc:321): pull video frame failed:8
[042:378] [2022-07-16 13:47:47 +0000.995095][1c73] OnVideoTimer: OnVideoTimer
return
[042:379] [2022-07-16 13:47:47 +0000.996409][1c74] PullAudioFrame: PullFrame audio
finished.
[042:379] [2022-07-16 13:47:47 +0000.996471][1c74]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[042:379] [2022-07-16 13:47:47 +0000.996489][1c74] OnAudioTimer: OnAudioTimer
EndComposeFile
[042:379] [2022-07-16 13:47:47 +0000.996504][1c74] EndComposeFile: EndComposeFile,
is composing 1
[042:381] [2022-07-16 13:47:47 +0000.998062][1c63] CleanUp leave. expire time = 4
ms

[042:381] [2022-07-16 13:47:47 +0000.998211][1c63] clean up


[042:381] [2022-07-16 13:47:47 +0000.998284][1c63] running_decoder_count:0max
count:2
[042:382] [2022-07-16 13:47:47 +0000.999435][1c71] SendFrame
encodedImage._timeStamp:14784encodedImage->_length:133296
[042:386] [2022-07-16 13:47:48 +0000.3362][1c71]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:456
[042:386] [2022-07-16 13:47:48 +0000.3459][1c71]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x7bd0082800
[042:389] [2022-07-16 13:47:48 +0000.6417][1c72]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[042:389] [2022-07-16 13:47:48 +0000.6509][1c72]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[042:389] [2022-07-16 13:47:48 +0000.6807][1c70] stop recording
[042:389] [2022-07-16 13:47:48 +0000.6855][1c70]
RecordingSessionInternalSimple:destroy media processers
[042:390] [2022-07-16 13:47:48 +0000.6877][1c70] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[042:390] [2022-07-16 13:47:48 +0000.6896][1c70] H264Encode::flushing hareware
Encoder
[042:390] [2022-07-16 13:47:48 +0000.7033][1c70] Flush time:489650590 enter.

[042:390] [2022-07-16 13:47:48 +0000.7063][1c70] H264Encoder encoder flush


[042:390] [2022-07-16 13:47:48 +0000.7081][1c70] flush output queue
[042:415] [2022-07-16 13:47:48 +0000.31863][1c70] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:14959 pts:14959
[042:439] [2022-07-16 13:47:48 +0000.56007][1c70] H264Encode::H264SWEncoder get
callback, length:81552 type:1 nalType:1length:81548
[042:716] [2022-07-16 13:47:48 +0000.333787][1c70] Flush leave. expire time = 326
ms

[042:717] [2022-07-16 13:47:48 +0000.333999][1c70] ~H264EncodeWrap:


[042:717] [2022-07-16 13:47:48 +0000.334205][1c70] ~H264Encode:
[042:717] [2022-07-16 13:47:48 +0000.334256][1c70] teardownCompressionSession:
H264Encode::destroying Encoder
[042:717] [2022-07-16 13:47:48 +0000.334303][1c70] Release time:489650917 enter.

[042:717] [2022-07-16 13:47:48 +0000.334470][1c70] Release:


MediaCodecVideoEncoder::Release _inited:1
[042:717] [2022-07-16 13:47:48 +0000.334540][1c70] Destroy time:489650917 enter.

[042:717] [2022-07-16 13:47:48 +0000.334588][1c70] H264Encoder encoderDestroy


[042:717] [2022-07-16 13:47:48 +0000.334649][1c70]
AndroidMediaCodecVideoEncoder::release env: 0x7cb85b2900
[042:717] [2022-07-16 13:47:48 +0000.334700][1c70]
AndroidMediaCodecVideoEncoder::Destroy
[042:753] [2022-07-16 13:47:48 +0000.370221][1c70] Destroy leave. expire time = 36
ms
[042:753] [2022-07-16 13:47:48 +0000.370353][1c70] Release leave. expire time = 36
ms

[042:753] [2022-07-16 13:47:48 +0000.370418][1c70] ~AndroidHwAvcEncoder


time:489650953 enter.

[042:753] [2022-07-16 13:47:48 +0000.370648][1c70] Release time:489650953 enter.

[042:753] [2022-07-16 13:47:48 +0000.370732][1c70] Release:


MediaCodecVideoEncoder:: has been released before, just return
[042:753] [2022-07-16 13:47:48 +0000.370795][1c70] Release leave. expire time = 0
ms

[042:753] [2022-07-16 13:47:48 +0000.370860][1c70] ~AndroidMediaCodecVideoEncoder


[042:754] [2022-07-16 13:47:48 +0000.370924][1c70] ~WrapAndroidMediaCodec
time:489650954 enter.

[042:754] [2022-07-16 13:47:48 +0000.370976][1c70] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[042:754] [2022-07-16 13:47:48 +0000.371012][1c70] video hevc hw codec


destructor:0x7cb8819ad0

[042:754] [2022-07-16 13:47:48 +0000.371059][1c70] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[042:754] [2022-07-16 13:47:48 +0000.371103][1c70] teardownCompressionSession:


H264Encode::destroyed Encoder
[042:754] [2022-07-16 13:47:48 +0000.371135][1c70]
RecordingSessionInternalSimple:destroy aac encoder output!
[042:754] [2022-07-16 13:47:48 +0000.371164][1c70] AACSWEncode destructor
[042:764] [2022-07-16 13:47:48 +0000.381832][1c75] fd_close successed!
[042:769] [2022-07-16 13:47:48 +0000.386305][1c75] MP4 close file successfully
[042:769] [2022-07-16 13:47:48 +0000.386395][1c75] Recording session Internal:
notify recording ok
[042:769] [2022-07-16 13:47:48 +0000.386422][1c75] onRecordingOk: Recording Ok,
compose use time: 4599, averagefps 0
[042:769] [2022-07-16 13:47:48 +0000.386492][1c75] OnReceiveEOF:
[042:770] [2022-07-16 13:47:48 +0000.387696][1c74] OnAudioTimer: OnAudioTimer
return
[042:779] [2022-07-16 13:47:48 +0000.396007][6530]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[042:779] [2022-07-16 13:47:48 +0000.396111][6530] ~MediaComposeFile time:489650979
enter.

[042:779] [2022-07-16 13:47:48 +0000.396156][6530] CancelCompose: CancelCompose,


is composing 0
[042:779] [2022-07-16 13:47:48 +0000.396248][1c70] stop recording
[042:779] [2022-07-16 13:47:48 +0000.396287][1c70] we have stopped recording before
[042:780] [2022-07-16 13:47:48 +0000.397758][6530] ~MediaComposeFile leave. expire
time = 1 ms

[042:781] [2022-07-16 13:47:48 +0000.397904][6530] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[042:781] [2022-07-16 13:47:48 +0000.398425][6530] global uninited!
[042:781] [2022-07-16 13:47:48 +0000.398494][6530]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[042:781] [2022-07-16 13:47:48 +0000.398552][6530] ~MediaFilterGraph:
MediaFilterGraph destruct
[042:781] [2022-07-16 13:47:48 +0000.398581][6530] RemoveVideoBackGroud: hava not
add video backgroud
[042:781] [2022-07-16 13:47:48 +0000.398624][6530] UnbindInputFilter 0x7bd009cb58
this 0x7bd03218a0
[042:781] [2022-07-16 13:47:48 +0000.398658][6530] ClearAllSource: remove source
filter, sourceid: 0x7c3defb500
[042:781] [2022-07-16 13:47:48 +0000.398682][6530] DestoryDecoderByVideoSource
time:489650981 enter.

[042:781] [2022-07-16 13:47:48 +0000.398709][6530] ~VideoBindDecoder time:489650981


enter.

[042:781] [2022-07-16 13:47:48 +0000.398823][6530] CleanUp time:489650981 enter.

[042:782] [2022-07-16 13:47:48 +0000.399331][6530] CleanUp leave. expire time = 1


ms

[042:782] [2022-07-16 13:47:48 +0000.399376][6530] CleanUp time:489650982 enter.

[042:782] [2022-07-16 13:47:48 +0000.399563][6530] CleanUp leave. expire time = 0


ms

[042:783] [2022-07-16 13:47:48 +0000.400135][6530] ~VideoBindDecoder leave. expire


time = 2 ms

[042:783] [2022-07-16 13:47:48 +0000.400199][6530] DestoryDecoderByVideoSource


leave. expire time = 2 ms

[042:783] [2022-07-16 13:47:48 +0000.400245][6530] UnbindInputFilter 0x7bd009c798


this 0x7bd009cb58
[042:783] [2022-07-16 13:47:48 +0000.400282][6530] UnbindInputFilter 0x7bd009c6d8
this 0x7bd009c798
[042:783] [2022-07-16 13:47:48 +0000.400315][6530] UnbindInputFilter 0x7c3defb720
this 0x7bd009c6d8
[042:783] [2022-07-16 13:47:48 +0000.400349][6530] UnbindInputFilter 0x7bd009c9d8
this 0x7bd009cc18
[042:783] [2022-07-16 13:47:48 +0000.400381][6530] UnbindInputFilter 0x7bd009c858
this 0x7bd009c9d8
[042:783] [2022-07-16 13:47:48 +0000.400412][6530] UnbindInputFilter 0x7c3defb720
this 0x7bd009c858
[042:783] [2022-07-16 13:47:48 +0000.400452][6530] ~GLESContext:
[042:785] [2022-07-16 13:47:48 +0000.402484][6530] GLESContext destruct finish.
[042:785] [2022-07-16 13:47:48 +0000.402558][6530] filter: filter pipeline destroy
this: 0x7bd0321800
[043:179] [2022-07-16 13:47:48 +0000.796793][1b70] Run AGC when audioType = 0
[043:898] [2022-07-16 13:47:49 +0000.515768][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[045:181] [2022-07-16 13:47:50 +0000.798709][1b70] Run AGC when audioType = 0
[045:182] [2022-07-16 13:47:50 +0000.799112][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[045:615] [2022-07-16 13:47:51 +0000.232329][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[047:185] [2022-07-16 13:47:52 +0000.802052][1b70] Run AGC when audioType = 0
[047:339] [2022-07-16 13:47:52 +0000.956544][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[049:048] [2022-07-16 13:47:54 +0000.665157][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[049:184] [2022-07-16 13:47:54 +0000.801102][1b70] Run AGC when audioType = 0
[049:184] [2022-07-16 13:47:54 +0000.801410][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[050:763] [2022-07-16 13:47:56 +0000.380490][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[051:180] [2022-07-16 13:47:56 +0000.797568][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[051:181] [2022-07-16 13:47:56 +0000.797937][1b72] _deviceSampleRate:48000

[051:181] [2022-07-16 13:47:56 +0000.798110][1b70] Run AGC when audioType = 0


[052:479] [2022-07-16 13:47:58 +0000.96360][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[053:185] [2022-07-16 13:47:58 +0000.802709][1b70] Run AGC when audioType = 0
[053:186] [2022-07-16 13:47:58 +0000.803327][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[054:195] [2022-07-16 13:47:59 +0000.811916][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[055:185] [2022-07-16 13:48:00 +0000.802351][1b70] Run AGC when audioType = 0
[055:924] [2022-07-16 13:48:01 +0000.541549][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[057:183] [2022-07-16 13:48:02 +0000.800779][1b70] Run AGC when audioType = 0
[057:184] [2022-07-16 13:48:02 +0000.801655][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[057:645] [2022-07-16 13:48:03 +0000.262534][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[059:182] [2022-07-16 13:48:04 +0000.798943][1b70] Run AGC when audioType = 0
[059:365] [2022-07-16 13:48:04 +0000.982734][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[061:078] [2022-07-16 13:48:06 +0000.695260][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[061:179] [2022-07-16 13:48:06 +0000.796708][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[061:179] [2022-07-16 13:48:06 +0000.796764][1b72] _deviceSampleRate:48000

[061:184] [2022-07-16 13:48:06 +0000.801224][1b70] Run AGC when audioType = 0


[061:184] [2022-07-16 13:48:06 +0000.801458][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[062:801] [2022-07-16 13:48:08 +0000.418110][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[063:185] [2022-07-16 13:48:08 +0000.802725][1b70] Run AGC when audioType = 0
[064:528] [2022-07-16 13:48:10 +0000.145586][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[065:183] [2022-07-16 13:48:10 +0000.799955][1b70] Run AGC when audioType = 0
[065:183] [2022-07-16 13:48:10 +0000.800187][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[066:257] [2022-07-16 13:48:11 +0000.874674][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[067:181] [2022-07-16 13:48:12 +0000.798824][1b70] Run AGC when audioType = 0
[067:983] [2022-07-16 13:48:13 +0000.600230][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[069:181] [2022-07-16 13:48:14 +0000.798596][1b70] Run AGC when audioType = 0
[069:181] [2022-07-16 13:48:14 +0000.798821][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[069:716] [2022-07-16 13:48:15 +0000.333098][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[071:180] [2022-07-16 13:48:16 +0000.797175][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[071:180] [2022-07-16 13:48:16 +0000.797404][1b72] _deviceSampleRate:48000

[071:185] [2022-07-16 13:48:16 +0000.802218][1b70] Run AGC when audioType = 0


[071:442] [2022-07-16 13:48:17 +0000.59788][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[073:176] [2022-07-16 13:48:18 +0000.793852][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[073:182] [2022-07-16 13:48:18 +0000.799116][1b70] Run AGC when audioType = 0
[073:182] [2022-07-16 13:48:18 +0000.799248][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[074:902] [2022-07-16 13:48:20 +0000.519439][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[075:180] [2022-07-16 13:48:20 +0000.796999][1b70] Run AGC when audioType = 0
[076:631] [2022-07-16 13:48:22 +0000.248497][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[077:184] [2022-07-16 13:48:22 +0000.800934][1b70] Run AGC when audioType = 0
[077:184] [2022-07-16 13:48:22 +0000.801167][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[078:366] [2022-07-16 13:48:23 +0000.983137][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[079:179] [2022-07-16 13:48:24 +0000.796527][1b70] Run AGC when audioType = 0
[080:100] [2022-07-16 13:48:25 +0000.717032][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[081:181] [2022-07-16 13:48:26 +0000.797908][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[081:181] [2022-07-16 13:48:26 +0000.798070][1b72] _deviceSampleRate:48000

[081:181] [2022-07-16 13:48:26 +0000.798654][1b70] Run AGC when audioType = 0


[081:181] [2022-07-16 13:48:26 +0000.798773][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[081:830] [2022-07-16 13:48:27 +0000.448150][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[083:183] [2022-07-16 13:48:28 +0000.800549][1b70] Run AGC when audioType = 0
[083:560] [2022-07-16 13:48:29 +0000.177189][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[085:184] [2022-07-16 13:48:30 +0000.801394][1b70] Run AGC when audioType = 0
[085:184] [2022-07-16 13:48:30 +0000.801586][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[085:279] [2022-07-16 13:48:30 +0000.895888][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[087:002] [2022-07-16 13:48:32 +0000.619789][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[087:183] [2022-07-16 13:48:32 +0000.800219][1b70] Run AGC when audioType = 0
[088:731] [2022-07-16 13:48:34 +0000.347895][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[089:184] [2022-07-16 13:48:34 +0000.801885][1b70] Run AGC when audioType = 0
[089:185] [2022-07-16 13:48:34 +0000.802184][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[090:452] [2022-07-16 13:48:36 +0000.69452][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[091:180] [2022-07-16 13:48:36 +0000.797515][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#
[091:180] [2022-07-16 13:48:36 +0000.797671][1b72] _deviceSampleRate:48000

[091:182] [2022-07-16 13:48:36 +0000.799645][1b70] Run AGC when audioType = 0


[092:164] [2022-07-16 13:48:37 +0000.781106][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[093:185] [2022-07-16 13:48:38 +0000.802522][1b70] Run AGC when audioType = 0
[093:185] [2022-07-16 13:48:38 +0000.802855][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[093:886] [2022-07-16 13:48:39 +0000.503541][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[095:183] [2022-07-16 13:48:40 +0000.800402][1b70] Run AGC when audioType = 0
[095:614] [2022-07-16 13:48:41 +0000.231629][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[097:184] [2022-07-16 13:48:42 +0000.801725][1b70] Run AGC when audioType = 0
[097:185] [2022-07-16 13:48:42 +0000.801887][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[097:343] [2022-07-16 13:48:42 +0000.960728][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[099:082] [2022-07-16 13:48:44 +0000.699538][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[099:182] [2022-07-16 13:48:44 +0000.799000][1b70] Run AGC when audioType = 0
[100:804] [2022-07-16 13:48:46 +0000.421484][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[101:180] [2022-07-16 13:48:46 +0000.797251][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[101:180] [2022-07-16 13:48:46 +0000.797366][1b72] _deviceSampleRate:48000

[101:183] [2022-07-16 13:48:46 +0000.799963][1b70] Run AGC when audioType = 0


[101:183] [2022-07-16 13:48:46 +0000.800174][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[102:543] [2022-07-16 13:48:48 +0000.160524][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[103:181] [2022-07-16 13:48:48 +0000.798345][1b70] Run AGC when audioType = 0
[104:263] [2022-07-16 13:48:49 +0000.880671][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[105:184] [2022-07-16 13:48:50 +0000.801279][1b70] Run AGC when audioType = 0
[105:184] [2022-07-16 13:48:50 +0000.801686][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[105:984] [2022-07-16 13:48:51 +0000.601632][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[107:183] [2022-07-16 13:48:52 +0000.800487][1b70] Run AGC when audioType = 0
[107:705] [2022-07-16 13:48:53 +0000.322283][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[109:184] [2022-07-16 13:48:54 +0000.801029][1b70] Run AGC when audioType = 0
[109:184] [2022-07-16 13:48:54 +0000.801296][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[109:445] [2022-07-16 13:48:55 +0000.62047][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[111:168] [2022-07-16 13:48:56 +0000.785820][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[111:181] [2022-07-16 13:48:56 +0000.798660][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[111:181] [2022-07-16 13:48:56 +0000.798792][1b72] _deviceSampleRate:48000

[111:184] [2022-07-16 13:48:56 +0000.801860][1b70] Run AGC when audioType = 0


[112:892] [2022-07-16 13:48:58 +0000.508971][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[113:184] [2022-07-16 13:48:58 +0000.801275][1b70] Run AGC when audioType = 0
[113:184] [2022-07-16 13:48:58 +0000.801431][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[114:614] [2022-07-16 13:49:00 +0000.231824][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[115:180] [2022-07-16 13:49:00 +0000.797812][1b70] Run AGC when audioType = 0
[116:342] [2022-07-16 13:49:01 +0000.959403][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[117:183] [2022-07-16 13:49:02 +0000.800438][1b70] Run AGC when audioType = 0
[117:183] [2022-07-16 13:49:02 +0000.800579][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[118:073] [2022-07-16 13:49:03 +0000.690790][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[119:184] [2022-07-16 13:49:04 +0000.801623][1b70] Run AGC when audioType = 0
[119:800] [2022-07-16 13:49:05 +0000.417546][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[121:181] [2022-07-16 13:49:06 +0000.798112][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[121:181] [2022-07-16 13:49:06 +0000.798246][1b72] _deviceSampleRate:48000

[121:183] [2022-07-16 13:49:06 +0000.800754][1b70] Run AGC when audioType = 0


[121:184] [2022-07-16 13:49:06 +0000.801103][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[121:523] [2022-07-16 13:49:07 +0000.140439][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[123:184] [2022-07-16 13:49:08 +0000.801357][1b70] Run AGC when audioType = 0
[123:241] [2022-07-16 13:49:08 +0000.858826][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[124:957] [2022-07-16 13:49:10 +0000.574180][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[125:184] [2022-07-16 13:49:10 +0000.801293][1b70] Run AGC when audioType = 0
[125:184] [2022-07-16 13:49:10 +0000.801522][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[126:687] [2022-07-16 13:49:12 +0000.304259][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[127:180] [2022-07-16 13:49:12 +0000.797612][1b70] Run AGC when audioType = 0
[128:412] [2022-07-16 13:49:14 +0000.29539][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[129:180] [2022-07-16 13:49:14 +0000.797671][1b70] Run AGC when audioType = 0
[129:181] [2022-07-16 13:49:14 +0000.797960][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[130:126] [2022-07-16 13:49:15 +0000.743737][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[131:181] [2022-07-16 13:49:16 +0000.798838][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[131:182] [2022-07-16 13:49:16 +0000.798944][1b72] _deviceSampleRate:48000

[131:183] [2022-07-16 13:49:16 +0000.800202][1b70] Run AGC when audioType = 0


[131:844] [2022-07-16 13:49:17 +0000.461835][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[133:183] [2022-07-16 13:49:18 +0000.799951][1b70] Run AGC when audioType = 0
[133:184] [2022-07-16 13:49:18 +0000.800960][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[133:560] [2022-07-16 13:49:19 +0000.177770][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[135:184] [2022-07-16 13:49:20 +0000.801385][1b70] Run AGC when audioType = 0
[135:296] [2022-07-16 13:49:20 +0000.913418][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[137:020] [2022-07-16 13:49:22 +0000.637865][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[137:184] [2022-07-16 13:49:22 +0000.800931][1b70] Run AGC when audioType = 0
[137:184] [2022-07-16 13:49:22 +0000.801080][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[138:753] [2022-07-16 13:49:24 +0000.370529][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[139:184] [2022-07-16 13:49:24 +0000.801231][1b70] Run AGC when audioType = 0
[140:483] [2022-07-16 13:49:26 +0000.100060][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[141:180] [2022-07-16 13:49:26 +0000.797269][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[141:180] [2022-07-16 13:49:26 +0000.797408][1b72] _deviceSampleRate:48000

[141:180] [2022-07-16 13:49:26 +0000.797791][1b70] Run AGC when audioType = 0


[141:181] [2022-07-16 13:49:26 +0000.797867][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[142:209] [2022-07-16 13:49:27 +0000.826023][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[143:182] [2022-07-16 13:49:28 +0000.799482][1b70] Run AGC when audioType = 0
[143:925] [2022-07-16 13:49:29 +0000.542362][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[145:180] [2022-07-16 13:49:30 +0000.797108][1b70] Run AGC when audioType = 0
[145:180] [2022-07-16 13:49:30 +0000.797351][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[145:653] [2022-07-16 13:49:31 +0000.270433][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[147:182] [2022-07-16 13:49:32 +0000.799444][1b70] Run AGC when audioType = 0
[147:380] [2022-07-16 13:49:32 +0000.997870][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[149:101] [2022-07-16 13:49:34 +0000.718310][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[149:181] [2022-07-16 13:49:34 +0000.797917][1b70] Run AGC when audioType = 0
[149:181] [2022-07-16 13:49:34 +0000.798369][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[150:819] [2022-07-16 13:49:36 +0000.436210][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[151:180] [2022-07-16 13:49:36 +0000.797237][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[151:180] [2022-07-16 13:49:36 +0000.797367][1b72] _deviceSampleRate:48000

[151:181] [2022-07-16 13:49:36 +0000.798787][1b70] Run AGC when audioType = 0


[152:556] [2022-07-16 13:49:38 +0000.173314][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[153:180] [2022-07-16 13:49:38 +0000.797014][1b70] Run AGC when audioType = 0
[153:180] [2022-07-16 13:49:38 +0000.797152][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[154:285] [2022-07-16 13:49:39 +0000.902293][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[155:182] [2022-07-16 13:49:40 +0000.799340][1b70] Run AGC when audioType = 0
[156:009] [2022-07-16 13:49:41 +0000.626637][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[157:183] [2022-07-16 13:49:42 +0000.800073][1b70] Run AGC when audioType = 0
[157:183] [2022-07-16 13:49:42 +0000.800366][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[157:725] [2022-07-16 13:49:43 +0000.342179][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[159:184] [2022-07-16 13:49:44 +0000.801370][1b70] Run AGC when audioType = 0
[159:448] [2022-07-16 13:49:45 +0000.65033][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[161:164] [2022-07-16 13:49:46 +0000.781310][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[161:180] [2022-07-16 13:49:46 +0000.797550][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[161:180] [2022-07-16 13:49:46 +0000.797747][1b72] _deviceSampleRate:48000

[161:185] [2022-07-16 13:49:46 +0000.802442][1b70] Run AGC when audioType = 0


[161:185] [2022-07-16 13:49:46 +0000.802583][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[162:893] [2022-07-16 13:49:48 +0000.510413][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[163:185] [2022-07-16 13:49:48 +0000.802770][1b70] Run AGC when audioType = 0
[164:634] [2022-07-16 13:49:50 +0000.251818][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[165:185] [2022-07-16 13:49:50 +0000.802355][1b70] Run AGC when audioType = 0
[165:185] [2022-07-16 13:49:50 +0000.802631][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[166:361] [2022-07-16 13:49:51 +0000.978343][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[167:184] [2022-07-16 13:49:52 +0000.800935][1b70] Run AGC when audioType = 0
[168:096] [2022-07-16 13:49:53 +0000.713573][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[169:184] [2022-07-16 13:49:54 +0000.801464][1b70] Run AGC when audioType = 0
[169:184] [2022-07-16 13:49:54 +0000.801732][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[169:822] [2022-07-16 13:49:55 +0000.439686][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[171:180] [2022-07-16 13:49:56 +0000.797565][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[171:180] [2022-07-16 13:49:56 +0000.797766][1b72] _deviceSampleRate:48000

[171:183] [2022-07-16 13:49:56 +0000.800327][1b70] Run AGC when audioType = 0


[171:541] [2022-07-16 13:49:57 +0000.158541][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[173:184] [2022-07-16 13:49:58 +0000.801598][1b70] Run AGC when audioType = 0
[173:184] [2022-07-16 13:49:58 +0000.801749][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[173:273] [2022-07-16 13:49:58 +0000.890394][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[174:983] [2022-07-16 13:50:00 +0000.599962][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[175:183] [2022-07-16 13:50:00 +0000.800505][1b70] Run AGC when audioType = 0
[176:719] [2022-07-16 13:50:02 +0000.336135][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[177:184] [2022-07-16 13:50:02 +0000.801614][1b70] Run AGC when audioType = 0
[177:184] [2022-07-16 13:50:02 +0000.801777][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[178:445] [2022-07-16 13:50:04 +0000.62329][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[179:183] [2022-07-16 13:50:04 +0000.800898][1b70] Run AGC when audioType = 0
[180:165] [2022-07-16 13:50:05 +0000.782201][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[181:179] [2022-07-16 13:50:06 +0000.796704][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[181:179] [2022-07-16 13:50:06 +0000.796825][1b72] _deviceSampleRate:48000

[181:181] [2022-07-16 13:50:06 +0000.798615][1b70] Run AGC when audioType = 0


[181:181] [2022-07-16 13:50:06 +0000.798755][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[181:884] [2022-07-16 13:50:07 +0000.501698][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[183:183] [2022-07-16 13:50:08 +0000.800912][1b70] Run AGC when audioType = 0
[183:611] [2022-07-16 13:50:09 +0000.228200][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[185:185] [2022-07-16 13:50:10 +0000.801946][1b70] Run AGC when audioType = 0
[185:185] [2022-07-16 13:50:10 +0000.802215][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[185:336] [2022-07-16 13:50:10 +0000.953731][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[187:065] [2022-07-16 13:50:12 +0000.682636][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[187:182] [2022-07-16 13:50:12 +0000.799253][1b70] Run AGC when audioType = 0
[188:799] [2022-07-16 13:50:14 +0000.416767][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[189:181] [2022-07-16 13:50:14 +0000.797968][1b70] Run AGC when audioType = 0
[189:181] [2022-07-16 13:50:14 +0000.798159][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[190:525] [2022-07-16 13:50:16 +0000.142707][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[191:180] [2022-07-16 13:50:16 +0000.797271][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[191:180] [2022-07-16 13:50:16 +0000.797409][1b72] _deviceSampleRate:48000

[191:184] [2022-07-16 13:50:16 +0000.801449][1b70] Run AGC when audioType = 0


[192:255] [2022-07-16 13:50:17 +0000.872768][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[193:182] [2022-07-16 13:50:18 +0000.798982][1b70] Run AGC when audioType = 0
[193:182] [2022-07-16 13:50:18 +0000.799480][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[193:982] [2022-07-16 13:50:19 +0000.599308][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[195:184] [2022-07-16 13:50:20 +0000.801640][1b70] Run AGC when audioType = 0
[195:700] [2022-07-16 13:50:21 +0000.317361][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[197:183] [2022-07-16 13:50:22 +0000.800094][1b70] Run AGC when audioType = 0
[197:183] [2022-07-16 13:50:22 +0000.800659][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[197:422] [2022-07-16 13:50:23 +0000.39132][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[199:168] [2022-07-16 13:50:24 +0000.784964][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[199:184] [2022-07-16 13:50:24 +0000.801125][1b70] Run AGC when audioType = 0
[200:903] [2022-07-16 13:50:26 +0000.520671][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[201:181] [2022-07-16 13:50:26 +0000.798069][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[201:181] [2022-07-16 13:50:26 +0000.798281][1b72] _deviceSampleRate:48000

[201:184] [2022-07-16 13:50:26 +0000.801754][1b70] Run AGC when audioType = 0


[201:185] [2022-07-16 13:50:26 +0000.801909][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[202:622] [2022-07-16 13:50:28 +0000.239214][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[203:187] [2022-07-16 13:50:28 +0000.804653][1b70] Run AGC when audioType = 0
[204:342] [2022-07-16 13:50:29 +0000.959258][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[205:185] [2022-07-16 13:50:30 +0000.802425][1b70] Run AGC when audioType = 0
[205:185] [2022-07-16 13:50:30 +0000.802639][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[206:084] [2022-07-16 13:50:31 +0000.701643][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[207:180] [2022-07-16 13:50:32 +0000.797265][1b70] Run AGC when audioType = 0
[207:799] [2022-07-16 13:50:33 +0000.416052][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[209:180] [2022-07-16 13:50:34 +0000.797683][1b70] Run AGC when audioType = 0
[209:180] [2022-07-16 13:50:34 +0000.797824][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[209:521] [2022-07-16 13:50:35 +0000.138137][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[211:180] [2022-07-16 13:50:36 +0000.797652][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[211:180] [2022-07-16 13:50:36 +0000.797787][1b72] _deviceSampleRate:48000

[211:182] [2022-07-16 13:50:36 +0000.799609][1b70] Run AGC when audioType = 0


[211:246] [2022-07-16 13:50:36 +0000.862929][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[212:973] [2022-07-16 13:50:38 +0000.590660][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[213:184] [2022-07-16 13:50:38 +0000.801144][1b70] Run AGC when audioType = 0
[213:184] [2022-07-16 13:50:38 +0000.801306][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[214:700] [2022-07-16 13:50:40 +0000.317652][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[215:182] [2022-07-16 13:50:40 +0000.799547][1b70] Run AGC when audioType = 0
[216:425] [2022-07-16 13:50:42 +0000.42221][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[217:184] [2022-07-16 13:50:42 +0000.801089][1b70] Run AGC when audioType = 0
[217:184] [2022-07-16 13:50:42 +0000.801261][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[218:146] [2022-07-16 13:50:43 +0000.763250][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[219:184] [2022-07-16 13:50:44 +0000.800998][1b70] Run AGC when audioType = 0
[219:851] [2022-07-16 13:50:45 +0000.467960][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[221:180] [2022-07-16 13:50:46 +0000.797595][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[221:181] [2022-07-16 13:50:46 +0000.797925][1b72] _deviceSampleRate:48000

[221:182] [2022-07-16 13:50:46 +0000.798905][1b70] Run AGC when audioType = 0


[221:182] [2022-07-16 13:50:46 +0000.799137][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[221:578] [2022-07-16 13:50:47 +0000.195330][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[223:182] [2022-07-16 13:50:48 +0000.799695][1b70] Run AGC when audioType = 0
[223:305] [2022-07-16 13:50:48 +0000.921960][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[225:024] [2022-07-16 13:50:50 +0000.640998][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[225:182] [2022-07-16 13:50:50 +0000.799831][1b70] Run AGC when audioType = 0
[225:183] [2022-07-16 13:50:50 +0000.800136][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[226:746] [2022-07-16 13:50:52 +0000.363866][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[227:182] [2022-07-16 13:50:52 +0000.799618][1b70] Run AGC when audioType = 0
[228:472] [2022-07-16 13:50:54 +0000.89132][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[229:180] [2022-07-16 13:50:54 +0000.797770][1b70] Run AGC when audioType = 0
[229:181] [2022-07-16 13:50:54 +0000.798094][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[230:193] [2022-07-16 13:50:55 +0000.810491][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[231:181] [2022-07-16 13:50:56 +0000.798704][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[231:182] [2022-07-16 13:50:56 +0000.799093][1b72] _deviceSampleRate:48000

[231:183] [2022-07-16 13:50:56 +0000.799894][1b70] Run AGC when audioType = 0


[231:920] [2022-07-16 13:50:57 +0000.537525][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[233:184] [2022-07-16 13:50:58 +0000.801306][1b70] Run AGC when audioType = 0
[233:184] [2022-07-16 13:50:58 +0000.801709][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[233:641] [2022-07-16 13:50:59 +0000.258419][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[235:183] [2022-07-16 13:51:00 +0000.799989][1b70] Run AGC when audioType = 0
[235:361] [2022-07-16 13:51:00 +0000.978268][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[237:084] [2022-07-16 13:51:02 +0000.701914][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[237:185] [2022-07-16 13:51:02 +0000.802423][1b70] Run AGC when audioType = 0
[237:185] [2022-07-16 13:51:02 +0000.802685][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[238:808] [2022-07-16 13:51:04 +0000.424972][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[239:181] [2022-07-16 13:51:04 +0000.798043][1b70] Run AGC when audioType = 0
[240:532] [2022-07-16 13:51:06 +0000.149330][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[241:181] [2022-07-16 13:51:06 +0000.798118][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#
[241:181] [2022-07-16 13:51:06 +0000.798536][1b72] _deviceSampleRate:48000

[241:187] [2022-07-16 13:51:06 +0000.803958][1b70] Run AGC when audioType = 0


[241:187] [2022-07-16 13:51:06 +0000.804235][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[242:264] [2022-07-16 13:51:07 +0000.881160][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[243:187] [2022-07-16 13:51:08 +0000.804093][1b70] Run AGC when audioType = 0
[243:985] [2022-07-16 13:51:09 +0000.601986][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[245:183] [2022-07-16 13:51:10 +0000.800588][1b70] Run AGC when audioType = 0
[245:183] [2022-07-16 13:51:10 +0000.800761][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[245:703] [2022-07-16 13:51:11 +0000.320224][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[247:182] [2022-07-16 13:51:12 +0000.799496][1b70] Run AGC when audioType = 0
[247:425] [2022-07-16 13:51:13 +0000.42384][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[249:154] [2022-07-16 13:51:14 +0000.771898][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[249:181] [2022-07-16 13:51:14 +0000.798640][1b70] Run AGC when audioType = 0
[249:182] [2022-07-16 13:51:14 +0000.798913][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[250:880] [2022-07-16 13:51:16 +0000.497664][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[251:180] [2022-07-16 13:51:16 +0000.797510][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[251:180] [2022-07-16 13:51:16 +0000.797862][1b72] _deviceSampleRate:48000

[251:185] [2022-07-16 13:51:16 +0000.802726][1b70] Run AGC when audioType = 0


[252:604] [2022-07-16 13:51:18 +0000.221725][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[253:185] [2022-07-16 13:51:18 +0000.802382][1b70] Run AGC when audioType = 0
[253:185] [2022-07-16 13:51:18 +0000.802750][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[254:326] [2022-07-16 13:51:19 +0000.943313][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[255:185] [2022-07-16 13:51:20 +0000.802020][1b70] Run AGC when audioType = 0
[256:052] [2022-07-16 13:51:21 +0000.669040][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[257:182] [2022-07-16 13:51:22 +0000.799673][1b70] Run AGC when audioType = 0
[257:183] [2022-07-16 13:51:22 +0000.800088][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[257:779] [2022-07-16 13:51:23 +0000.396121][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[259:184] [2022-07-16 13:51:24 +0000.800971][1b70] Run AGC when audioType = 0
[259:499] [2022-07-16 13:51:25 +0000.116779][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[261:180] [2022-07-16 13:51:26 +0000.797426][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[261:180] [2022-07-16 13:51:26 +0000.797678][1b72] _deviceSampleRate:48000

[261:185] [2022-07-16 13:51:26 +0000.802453][1b70] Run AGC when audioType = 0


[261:185] [2022-07-16 13:51:26 +0000.802592][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[261:217] [2022-07-16 13:51:26 +0000.834164][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[262:943] [2022-07-16 13:51:28 +0000.560492][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[263:185] [2022-07-16 13:51:28 +0000.802095][1b70] Run AGC when audioType = 0
[264:665] [2022-07-16 13:51:30 +0000.282231][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[265:185] [2022-07-16 13:51:30 +0000.802625][1b70] Run AGC when audioType = 0
[265:186] [2022-07-16 13:51:30 +0000.803018][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[266:382] [2022-07-16 13:51:31 +0000.999386][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[267:185] [2022-07-16 13:51:32 +0000.802198][1b70] Run AGC when audioType = 0
[268:107] [2022-07-16 13:51:33 +0000.724391][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[269:184] [2022-07-16 13:51:34 +0000.801481][1b70] Run AGC when audioType = 0
[269:184] [2022-07-16 13:51:34 +0000.801844][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[269:831] [2022-07-16 13:51:35 +0000.448569][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[271:180] [2022-07-16 13:51:36 +0000.797469][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[271:181] [2022-07-16 13:51:36 +0000.797976][1b72] _deviceSampleRate:48000

[271:182] [2022-07-16 13:51:36 +0000.799277][1b70] Run AGC when audioType = 0


[271:555] [2022-07-16 13:51:37 +0000.173087][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[273:185] [2022-07-16 13:51:38 +0000.802641][1b70] Run AGC when audioType = 0
[273:186] [2022-07-16 13:51:38 +0000.803012][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[273:281] [2022-07-16 13:51:38 +0000.898790][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[275:007] [2022-07-16 13:51:40 +0000.624123][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[275:181] [2022-07-16 13:51:40 +0000.798196][1b70] Run AGC when audioType = 0
[276:722] [2022-07-16 13:51:42 +0000.339277][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[277:183] [2022-07-16 13:51:42 +0000.800363][1b70] Run AGC when audioType = 0
[277:183] [2022-07-16 13:51:42 +0000.800755][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[278:441] [2022-07-16 13:51:44 +0000.58537][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[279:185] [2022-07-16 13:51:44 +0000.801933][1b70] Run AGC when audioType = 0
[280:164] [2022-07-16 13:51:45 +0000.781843][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[281:180] [2022-07-16 13:51:46 +0000.797571][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[281:181] [2022-07-16 13:51:46 +0000.797873][1b72] _deviceSampleRate:48000

[281:182] [2022-07-16 13:51:46 +0000.799016][1b70] Run AGC when audioType = 0


[281:182] [2022-07-16 13:51:46 +0000.799269][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[281:882] [2022-07-16 13:51:47 +0000.498958][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[283:190] [2022-07-16 13:51:48 +0000.807591][1b70] Run AGC when audioType = 0
[283:605] [2022-07-16 13:51:49 +0000.222631][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[285:185] [2022-07-16 13:51:50 +0000.802592][1b70] Run AGC when audioType = 0
[285:186] [2022-07-16 13:51:50 +0000.802986][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[285:328] [2022-07-16 13:51:50 +0000.945651][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[287:053] [2022-07-16 13:51:52 +0000.670559][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[287:185] [2022-07-16 13:51:52 +0000.802812][1b70] Run AGC when audioType = 0
[288:779] [2022-07-16 13:51:54 +0000.396653][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[289:184] [2022-07-16 13:51:54 +0000.801071][1b70] Run AGC when audioType = 0
[289:184] [2022-07-16 13:51:54 +0000.801470][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[290:502] [2022-07-16 13:51:56 +0000.119251][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[291:181] [2022-07-16 13:51:56 +0000.798014][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[291:181] [2022-07-16 13:51:56 +0000.798324][1b72] _deviceSampleRate:48000

[291:184] [2022-07-16 13:51:56 +0000.801435][1b70] Run AGC when audioType = 0


[292:216] [2022-07-16 13:51:57 +0000.833434][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[293:183] [2022-07-16 13:51:58 +0000.800075][1b70] Run AGC when audioType = 0
[293:183] [2022-07-16 13:51:58 +0000.800434][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[293:939] [2022-07-16 13:51:59 +0000.556542][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[295:182] [2022-07-16 13:52:00 +0000.799067][1b70] Run AGC when audioType = 0
[295:660] [2022-07-16 13:52:01 +0000.277527][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[297:181] [2022-07-16 13:52:02 +0000.798348][1b70] Run AGC when audioType = 0
[297:181] [2022-07-16 13:52:02 +0000.798760][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[297:381] [2022-07-16 13:52:02 +0000.998427][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[299:101] [2022-07-16 13:52:04 +0000.718763][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[299:186] [2022-07-16 13:52:04 +0000.803279][1b70] Run AGC when audioType = 0
[300:823] [2022-07-16 13:52:06 +0000.440548][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[301:181] [2022-07-16 13:52:06 +0000.798427][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[301:181] [2022-07-16 13:52:06 +0000.798768][1b72] _deviceSampleRate:48000

[301:182] [2022-07-16 13:52:06 +0000.799443][1b70] Run AGC when audioType = 0


[301:182] [2022-07-16 13:52:06 +0000.799674][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[302:547] [2022-07-16 13:52:08 +0000.164654][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[303:183] [2022-07-16 13:52:08 +0000.800510][1b70] Run AGC when audioType = 0
[304:274] [2022-07-16 13:52:09 +0000.891509][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[305:185] [2022-07-16 13:52:10 +0000.802373][1b70] Run AGC when audioType = 0
[305:185] [2022-07-16 13:52:10 +0000.802846][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[305:999] [2022-07-16 13:52:11 +0000.616258][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[307:185] [2022-07-16 13:52:12 +0000.802315][1b70] Run AGC when audioType = 0
[307:722] [2022-07-16 13:52:13 +0000.339233][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[309:184] [2022-07-16 13:52:14 +0000.801238][1b70] Run AGC when audioType = 0
[309:184] [2022-07-16 13:52:14 +0000.801608][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[309:446] [2022-07-16 13:52:15 +0000.63168][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[311:165] [2022-07-16 13:52:16 +0000.782017][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[311:181] [2022-07-16 13:52:16 +0000.798737][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[311:182] [2022-07-16 13:52:16 +0000.798978][1b72] _deviceSampleRate:48000

[311:186] [2022-07-16 13:52:16 +0000.802966][1b70] Run AGC when audioType = 0


[312:885] [2022-07-16 13:52:18 +0000.501995][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[313:184] [2022-07-16 13:52:18 +0000.801473][1b70] Run AGC when audioType = 0
[313:184] [2022-07-16 13:52:18 +0000.801850][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[314:611] [2022-07-16 13:52:20 +0000.228662][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[315:183] [2022-07-16 13:52:20 +0000.799988][1b70] Run AGC when audioType = 0
[316:334] [2022-07-16 13:52:21 +0000.951164][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[317:184] [2022-07-16 13:52:22 +0000.801672][1b70] Run AGC when audioType = 0
[317:185] [2022-07-16 13:52:22 +0000.802090][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[318:052] [2022-07-16 13:52:23 +0000.669401][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[319:184] [2022-07-16 13:52:24 +0000.801271][1b70] Run AGC when audioType = 0
[319:780] [2022-07-16 13:52:25 +0000.397590][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[321:180] [2022-07-16 13:52:26 +0000.797593][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[321:181] [2022-07-16 13:52:26 +0000.798323][1b72] _deviceSampleRate:48000

[321:182] [2022-07-16 13:52:26 +0000.799713][1b70] Run AGC when audioType = 0


[321:183] [2022-07-16 13:52:26 +0000.799997][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[321:503] [2022-07-16 13:52:27 +0000.120883][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[323:185] [2022-07-16 13:52:28 +0000.802081][1b70] Run AGC when audioType = 0
[323:222] [2022-07-16 13:52:28 +0000.839531][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[324:946] [2022-07-16 13:52:30 +0000.563343][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[325:183] [2022-07-16 13:52:30 +0000.800015][1b70] Run AGC when audioType = 0
[325:183] [2022-07-16 13:52:30 +0000.800353][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[326:662] [2022-07-16 13:52:32 +0000.279670][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[327:182] [2022-07-16 13:52:32 +0000.799491][1b70] Run AGC when audioType = 0
[328:384] [2022-07-16 13:52:34 +0000.1233][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[329:196] [2022-07-16 13:52:34 +0000.813093][1b70] Run AGC when audioType = 0
[329:196] [2022-07-16 13:52:34 +0000.813505][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[330:104] [2022-07-16 13:52:35 +0000.721711][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[331:180] [2022-07-16 13:52:36 +0000.797691][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[331:181] [2022-07-16 13:52:36 +0000.798062][1b72] _deviceSampleRate:48000

[331:183] [2022-07-16 13:52:36 +0000.800463][1b70] Run AGC when audioType = 0


[331:829] [2022-07-16 13:52:37 +0000.446623][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[333:183] [2022-07-16 13:52:38 +0000.800653][1b70] Run AGC when audioType = 0
[333:184] [2022-07-16 13:52:38 +0000.801097][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[333:556] [2022-07-16 13:52:39 +0000.173231][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[335:185] [2022-07-16 13:52:40 +0000.802747][1b70] Run AGC when audioType = 0
[335:281] [2022-07-16 13:52:40 +0000.898683][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[337:009] [2022-07-16 13:52:42 +0000.626623][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[337:183] [2022-07-16 13:52:42 +0000.800739][1b70] Run AGC when audioType = 0
[337:184] [2022-07-16 13:52:42 +0000.801110][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[338:726] [2022-07-16 13:52:44 +0000.343638][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[339:185] [2022-07-16 13:52:44 +0000.802440][1b70] Run AGC when audioType = 0
[340:447] [2022-07-16 13:52:46 +0000.64742][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[341:180] [2022-07-16 13:52:46 +0000.797533][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[341:181] [2022-07-16 13:52:46 +0000.797887][1b72] _deviceSampleRate:48000

[341:185] [2022-07-16 13:52:46 +0000.802397][1b70] Run AGC when audioType = 0


[341:185] [2022-07-16 13:52:46 +0000.802650][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[342:176] [2022-07-16 13:52:47 +0000.793900][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[343:183] [2022-07-16 13:52:48 +0000.800267][1b70] Run AGC when audioType = 0
[343:901] [2022-07-16 13:52:49 +0000.518280][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[345:183] [2022-07-16 13:52:50 +0000.800578][1b70] Run AGC when audioType = 0
[345:184] [2022-07-16 13:52:50 +0000.801057][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[345:625] [2022-07-16 13:52:51 +0000.241998][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[347:185] [2022-07-16 13:52:52 +0000.802752][1b70] Run AGC when audioType = 0
[347:344] [2022-07-16 13:52:52 +0000.961305][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[349:066] [2022-07-16 13:52:54 +0000.683125][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[349:182] [2022-07-16 13:52:54 +0000.799652][1b70] Run AGC when audioType = 0
[349:183] [2022-07-16 13:52:54 +0000.799985][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[350:791] [2022-07-16 13:52:56 +0000.408287][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[351:181] [2022-07-16 13:52:56 +0000.798720][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[351:182] [2022-07-16 13:52:56 +0000.799064][1b72] _deviceSampleRate:48000

[351:182] [2022-07-16 13:52:56 +0000.799737][1b70] Run AGC when audioType = 0


[352:520] [2022-07-16 13:52:58 +0000.137349][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[353:181] [2022-07-16 13:52:58 +0000.798231][1b70] Run AGC when audioType = 0
[353:181] [2022-07-16 13:52:58 +0000.798845][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[354:245] [2022-07-16 13:52:59 +0000.862143][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[355:181] [2022-07-16 13:53:00 +0000.798085][1b70] Run AGC when audioType = 0
[355:962] [2022-07-16 13:53:01 +0000.579395][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[357:182] [2022-07-16 13:53:02 +0000.799418][1b70] Run AGC when audioType = 0
[357:182] [2022-07-16 13:53:02 +0000.799825][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[357:686] [2022-07-16 13:53:03 +0000.303108][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[359:185] [2022-07-16 13:53:04 +0000.802288][1b70] Run AGC when audioType = 0
[359:405] [2022-07-16 13:53:05 +0000.22101][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[361:131] [2022-07-16 13:53:06 +0000.748184][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[361:180] [2022-07-16 13:53:06 +0000.797827][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[361:181] [2022-07-16 13:53:06 +0000.798071][1b72] _deviceSampleRate:48000

[361:184] [2022-07-16 13:53:06 +0000.801452][1b70] Run AGC when audioType = 0


[361:184] [2022-07-16 13:53:06 +0000.801730][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[362:864] [2022-07-16 13:53:08 +0000.481882][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[363:186] [2022-07-16 13:53:08 +0000.802962][1b70] Run AGC when audioType = 0
[364:586] [2022-07-16 13:53:10 +0000.203154][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[365:182] [2022-07-16 13:53:10 +0000.799607][1b70] Run AGC when audioType = 0
[365:183] [2022-07-16 13:53:10 +0000.799979][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[366:312] [2022-07-16 13:53:11 +0000.929522][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[367:181] [2022-07-16 13:53:12 +0000.798227][1b70] Run AGC when audioType = 0
[368:037] [2022-07-16 13:53:13 +0000.654293][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[369:186] [2022-07-16 13:53:14 +0000.803156][1b70] Run AGC when audioType = 0
[369:186] [2022-07-16 13:53:14 +0000.803567][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[369:764] [2022-07-16 13:53:15 +0000.381563][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[371:181] [2022-07-16 13:53:16 +0000.798227][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[371:181] [2022-07-16 13:53:16 +0000.798596][1b72] _deviceSampleRate:48000

[371:183] [2022-07-16 13:53:16 +0000.800123][1b70] Run AGC when audioType = 0


[371:483] [2022-07-16 13:53:17 +0000.100273][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[373:181] [2022-07-16 13:53:18 +0000.798363][1b70] Run AGC when audioType = 0
[373:181] [2022-07-16 13:53:18 +0000.798781][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[373:202] [2022-07-16 13:53:18 +0000.819733][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[374:927] [2022-07-16 13:53:20 +0000.544569][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[375:183] [2022-07-16 13:53:20 +0000.800565][1b70] Run AGC when audioType = 0
[376:654] [2022-07-16 13:53:22 +0000.271778][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[377:183] [2022-07-16 13:53:22 +0000.800778][1b70] Run AGC when audioType = 0
[377:184] [2022-07-16 13:53:22 +0000.801330][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[378:372] [2022-07-16 13:53:23 +0000.989336][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[379:185] [2022-07-16 13:53:24 +0000.802647][1b70] Run AGC when audioType = 0
[380:097] [2022-07-16 13:53:25 +0000.714628][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[381:181] [2022-07-16 13:53:26 +0000.798125][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[381:181] [2022-07-16 13:53:26 +0000.798500][1b72] _deviceSampleRate:48000

[381:184] [2022-07-16 13:53:26 +0000.801218][1b70] Run AGC when audioType = 0


[381:184] [2022-07-16 13:53:26 +0000.801505][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[381:823] [2022-07-16 13:53:27 +0000.440217][1b70] haveEnoughProcessedData
internalAudioStream.length: 10
[383:183] [2022-07-16 13:53:28 +0000.800291][1b70] Run AGC when audioType = 0
[383:547] [2022-07-16 13:53:29 +0000.164172][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[385:182] [2022-07-16 13:53:30 +0000.799178][1b70] Run AGC when audioType = 0
[385:182] [2022-07-16 13:53:30 +0000.799575][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[385:278] [2022-07-16 13:53:30 +0000.895437][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[387:003] [2022-07-16 13:53:32 +0000.620802][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[387:185] [2022-07-16 13:53:32 +0000.802042][1b70] Run AGC when audioType = 0
[388:725] [2022-07-16 13:53:34 +0000.342781][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[389:185] [2022-07-16 13:53:34 +0000.802812][1b70] Run AGC when audioType = 0
[389:186] [2022-07-16 13:53:34 +0000.803161][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[390:454] [2022-07-16 13:53:36 +0000.71235][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[391:179] [2022-07-16 13:53:36 +0000.796794][1b72] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[391:180] [2022-07-16 13:53:36 +0000.797156][1b72] _deviceSampleRate:48000

[391:182] [2022-07-16 13:53:36 +0000.799227][1b70] Run AGC when audioType = 0


[392:170] [2022-07-16 13:53:37 +0000.787725][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[393:194] [2022-07-16 13:53:38 +0000.811533][1b70] Run AGC when audioType = 0
[393:195] [2022-07-16 13:53:38 +0000.811900][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[393:896] [2022-07-16 13:53:39 +0000.513245][1b70] haveEnoughProcessedData
internalAudioStream.length: 0
[395:182] [2022-07-16 13:53:40 +0000.799089][1b70] Run AGC when audioType = 0
[395:623] [2022-07-16 13:53:41 +0000.240087][1b70] haveEnoughProcessedData
internalAudioStream.length: 20
[397:183] [2022-07-16 13:53:42 +0000.800401][1b70] Run AGC when audioType = 0
[397:184] [2022-07-16 13:53:42 +0000.801150][1b70]
AudioDeviceDataHandler::MixAndSendOutFrame
[397:341] [2022-07-16 13:53:42 +0000.958058][654d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[397:341] [2022-07-16 13:53:42 +0000.958313][654d] ~MediaFilterCamera
time:490005541 enter.

[397:341] [2022-07-16 13:53:42 +0000.958353][654d] StopPullFrameAndWriteMp4


time:490005541 enter.

[397:341] [2022-07-16 13:53:42 +0000.958061][1b70] haveEnoughProcessedData


internalAudioStream.length: 0
[397:342] [2022-07-16 13:53:42 +0000.959359][1b6b] stop recording
[397:342] [2022-07-16 13:53:42 +0000.959411][1b6b] we have stopped recording before
[397:342] [2022-07-16 13:53:42 +0000.959518][654d] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[397:344] [2022-07-16 13:53:42 +0000.961358][654d] DestroyPipelineAndFilters


time:490005544 enter.

[397:344] [2022-07-16 13:53:42 +0000.961444][654d] DestroyPipelineAndFilters


leave. expire time = 0 ms

[397:344] [2022-07-16 13:53:42 +0000.961483][654d] AppDeviceManagerStopMic

[397:344] [2022-07-16 13:53:42 +0000.961578][654d] AppDeviceManagerStopMic::mic


status is on
[397:344] [2022-07-16 13:53:42 +0000.961618][654d] Try to stop webrtc device.

[397:344] [2022-07-16 13:53:42 +0000.961654][654d] Set record state to


stopped.threadID:25933

[397:409] [2022-07-16 13:53:43 +0000.26303][654d] Try to destory the


recorder.threadID:25933

[397:627] [2022-07-16 13:53:43 +0000.244072][654d] DestroyAudioRecorder:


[397:627] [2022-07-16 13:53:43 +0000.244267][654d] Cleanup the buffer queue in the
recorder.
[397:627] [2022-07-16 13:53:43 +0000.244311][654d] Destroy the recorder.

[397:629] [2022-07-16 13:53:43 +0000.246730][654d] StopRecording finished.

[397:629] [2022-07-16 13:53:43 +0000.246800][654d] The stop recording success.


[397:630] [2022-07-16 13:53:43 +0000.246922][654d]
AudioDeviceDataHandler::StopMicProcess

[397:631] [2022-07-16 13:53:43 +0000.248098][654d] AppDeviceManager stop.

[397:631] [2022-07-16 13:53:43 +0000.248191][654d] Rlease the webrtc device object.

[397:632] [2022-07-16 13:53:43 +0000.248904][654d] OpenSlesInput destruct.

[397:632] [2022-07-16 13:53:43 +0000.249844][654d] OpenSlesOutput destruct.

[397:634] [2022-07-16 13:53:43 +0000.250883][654d] EventDispatchServerScope


destruct
[397:634] [2022-07-16 13:53:43 +0000.250930][654d]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[397:634] [2022-07-16 13:53:43 +0000.250999][654d] ~AudioDeviceDataHandler

[397:637] [2022-07-16 13:53:43 +0000.254361][654d] AppDeviceManagerDestruct.

[397:637] [2022-07-16 13:53:43 +0000.254429][654d] ~AppDeviceManager:


[397:637] [2022-07-16 13:53:43 +0000.254504][654d] ~CpuOverloadDetect
time:490005837 enter.

[397:638] [2022-07-16 13:53:43 +0000.254971][654d] ~CpuOverloadDetect leave.


expire time = 1 ms

[397:641] [2022-07-16 13:53:43 +0000.258704][654d] Destruct BeautifyReader begin...


[397:641] [2022-07-16 13:53:43 +0000.258775][654d] Destruct BeautifyReader done.
[397:641] [2022-07-16 13:53:43 +0000.258824][654d] ~MediaFilterCamera leave.
expire time = 300 ms

[397:642] [2022-07-16 13:53:43 +0000.259073][654d] ~GLESContext:


[397:648] [2022-07-16 13:53:43 +0000.265217][654d] GLESContext destruct finish.
[397:648] [2022-07-16 13:53:43 +0000.265317][654d] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[397:653] [2022-07-16 13:53:43 +0000.270274][654d] global uninited!
[397:653] [2022-07-16 13:53:43 +0000.270719][654d] clear AppID 50011
[397:653] [2022-07-16 13:53:43 +0000.270764][654d] UnRegister JVM for Xplatform
util
[397:653] [2022-07-16 13:53:43 +0000.270803][654d] Dispose::unregister webrtc video
engine
[397:653] [2022-07-16 13:53:43 +0000.270834][654d] Init the android object with
jvm:0x0 env:0x0 context:0x0

[397:654] [2022-07-16 13:53:43 +0000.270874][654d] SetAndroidMediaCodecObjects


time:490005854 enter.

[397:654] [2022-07-16 13:53:43 +0000.270908][654d] ClearAndroidMediaCodecObjects


time:490005854 enter.

[397:654] [2022-07-16 13:53:43 +0000.270946][654d] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[397:654] [2022-07-16 13:53:43 +0000.270979][654d] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[397:654] [2022-07-16 13:53:43 +0000.271012][654d] SetAndroidMediaCodecObjects


time:490005854 enter.
[397:654] [2022-07-16 13:53:43 +0000.271044][654d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects:: jvm :0x0
[397:654] [2022-07-16 13:53:43 +0000.271077][654d] ClearAndroidMediaCodecObjects
time:490005854 enter.

[397:654] [2022-07-16 13:53:43 +0000.271111][654d] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[397:654] [2022-07-16 13:53:43 +0000.271142][654d] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[397:654] [2022-07-16 13:53:43 +0000.271173][654d] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[397:654] [2022-07-16 13:53:43 +0000.271205][654d] Dispose::unregister webrtc voice


engine
[397:654] [2022-07-16 13:53:43 +0000.271235][654d] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[397:654] [2022-07-16 13:53:43 +0000.271271][654d] SystemUtil UnInit done


[1983:362] [2022-07-16 14:20:08 +0000.978986][654d] Register JVM for xplatform util
[1983:395] [2022-07-16 14:20:09 +0000.11993][654d] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
16 14:20:09 +0000
[1983:395] [2022-07-16 14:20:09 +0000.12312][654d] set AppID=50011 old AppID=-1
[1983:395] [2022-07-16 14:20:09 +0000.12359][654d] Init the android object with
jvm:0xb400007d740e4540 env:0x7cc8e47c00 context:0x7c4045cda8

[1983:395] [2022-07-16 14:20:09 +0000.12404][654d] SetAndroidMediaCodecObjects


time:491591595 enter.

[1983:395] [2022-07-16 14:20:09 +0000.12450][654d] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1983:395] [2022-07-16 14:20:09 +0000.12488][654d] SetAndroidMediaCodecObjects


time:491591595 enter.

[1983:395] [2022-07-16 14:20:09 +0000.12523][654d] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d740e4540
[1983:395] [2022-07-16 14:20:09 +0000.12559][654d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d740e4540 address:0x7b936dd760
[1983:396] [2022-07-16 14:20:09 +0000.12934][654d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d740e4540
address:0x7b936dd760
[1983:396] [2022-07-16 14:20:09 +0000.12979][654d] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[1983:396] [2022-07-16 14:20:09 +0000.13020][654d] Set the android objects with


jvm:0xb400007d740e4540 env:0x7cc8e47c00 context:0x7c4045cda8

[1983:396] [2022-07-16 14:20:09 +0000.13064][654d] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7cc8e47c00
[1983:396] [2022-07-16 14:20:09 +0000.13108][654d] SystemUtil Init done
[1983:397] [2022-07-16 14:20:09 +0000.13990][654d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[1983:397] [2022-07-16 14:20:09 +0000.14200][654d] MediaFilterCamera
[1983:397] [2022-07-16 14:20:09 +0000.14279][654d] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[1983:397] [2022-07-16 14:20:09 +0000.14500][654d] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1983:397] [2022-07-16 14:20:09 +0000.14567][654d] Recording session using default
bitrate support by app:31457280
[1983:397] [2022-07-16 14:20:09 +0000.14582][3677] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bd0251cc0
[1983:399] [2022-07-16 14:20:09 +0000.16185][3677] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1983:400] [2022-07-16 14:20:09 +0000.17124][654d] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1983:401] [2022-07-16 14:20:09 +0000.18443][654d] Error(ini.cc:191): Open the file
failed. error:2
[1983:401] [2022-07-16 14:20:09 +0000.18520][654d]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[1983:401] [2022-07-16 14:20:09 +0000.18535][654d] The device model: m2012k11ag
usingSoftwareAEC value: 0
[1983:415] [2022-07-16 14:20:09 +0000.31943][654d] Error(ini.cc:191): Open the file
failed. error:2
[1983:415] [2022-07-16 14:20:09 +0000.31997][654d]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[1983:415] [2022-07-16 14:20:09 +0000.32015][654d] The device model: m2012k11ag
usingHardwareAEC value: 0
[1983:415] [2022-07-16 14:20:09 +0000.32025][654d] The machine device: m2012k11ag
usingHardwareAEC value: 0
[1983:415] [2022-07-16 14:20:09 +0000.32037][654d] Using Default AEC type: software
AEC
[1983:415] [2022-07-16 14:20:09 +0000.32782][654d] The device model: m2012k11ag
enum value: 0
[1983:416] [2022-07-16 14:20:09 +0000.33090][654d] GetMachineModel is M2012K11AG
[1983:416] [2022-07-16 14:20:09 +0000.33111][654d] GetMachineInfo: M2012K11AG
[1983:416] [2022-07-16 14:20:09 +0000.33122][654d] Construct BeautifyReader
begin...
[1983:416] [2022-07-16 14:20:09 +0000.33133][654d] dumpStickerRgba:0
dumpStickerYuv:0
[1983:416] [2022-07-16 14:20:09 +0000.33143][654d] Construct BeautifyReader done.
[1983:420] [2022-07-16 14:20:09 +0000.37083][654d] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[1983:420] [2022-07-16 14:20:09 +0000.37151][654d] AppDeviceManager telnet server
for statistics started......
[1983:420] [2022-07-16 14:20:09 +0000.37657][367f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c3e10b0a0
[1983:428] [2022-07-16 14:20:09 +0000.44973][654d] CpuOverloadDetect time:491591628
enter.

[1983:428] [2022-07-16 14:20:09 +0000.45244][654d] CpuOverloadDetect leave. expire


time = 0 ms

[1983:430] [2022-07-16 14:20:09 +0000.46959][654d] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[1983:430] [2022-07-16 14:20:09 +0000.47065][654d] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[1983:430] [2022-07-16 14:20:09 +0000.47480][654d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1983:432] [2022-07-16 14:20:09 +0000.49459][654d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1983:433] [2022-07-16 14:20:09 +0000.49863][654d] CreatePlatformSpecificObjects:
[1983:433] [2022-07-16 14:20:09 +0000.49902][654d] audio device use opensle input
and opensl output
[1983:433] [2022-07-16 14:20:09 +0000.49924][654d] Create OpenSLES output module
with java VM support.

[1983:433] [2022-07-16 14:20:09 +0000.50051][654d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1983:433] [2022-07-16 14:20:09 +0000.50166][654d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1983:433] [2022-07-16 14:20:09 +0000.50480][654d] Create OpenSLES output module
with buffer num:1

[1983:433] [2022-07-16 14:20:09 +0000.50581][654d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1983:433] [2022-07-16 14:20:09 +0000.50724][654d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1983:433] [2022-07-16 14:20:09 +0000.50750][3681] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7be1ce8f00
[1983:433] [2022-07-16 14:20:09 +0000.50839][654d] Create OpenSLES input module
with java VM support.

[1983:435] [2022-07-16 14:20:09 +0000.51962][654d] Create OpenSLES input module


with buffer num:1

[1983:435] [2022-07-16 14:20:09 +0000.51996][654d] Error(trace.cc:40): Init the


output and input for audio device template.
[1983:435] [2022-07-16 14:20:09 +0000.52013][654d] Init the output device.

[1983:435] [2022-07-16 14:20:09 +0000.52030][654d] Init the opensl input.


[1983:435] [2022-07-16 14:20:09 +0000.52048][654d] AppDeviceManager get setting
samplerate: 0
[1983:435] [2022-07-16 14:20:09 +0000.52311][654d] The device model: m2012k11ag
enum value: 0
[1983:435] [2022-07-16 14:20:09 +0000.52655][654d] The device model: m2012k11ag
enum value: 0
[1983:435] [2022-07-16 14:20:09 +0000.52674][654d] Set the sample rate to be:48000

[1983:435] [2022-07-16 14:20:09 +0000.52690][654d] Enable the recording stereo:0


[1983:435] [2022-07-16 14:20:09 +0000.52713][654d] Set the playout as stereo:1
[1983:435] [2022-07-16 14:20:09 +0000.52728][654d] Init the microphone.
[1983:436] [2022-07-16 14:20:09 +0000.53155][654d] Update the recording sample rate
to be: 48000
[1983:436] [2022-07-16 14:20:09 +0000.53186][654d] Init the speaker.
[1983:436] [2022-07-16 14:20:09 +0000.53210][654d] Low latency buffer size:144 low
sample rate:48000
[1983:436] [2022-07-16 14:20:09 +0000.53456][654d] Using 1 x 10ms for an audio
frame.

[1983:443] [2022-07-16 14:20:09 +0000.60362][654d] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[1983:443] [2022-07-16 14:20:09 +0000.60446][654d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1983:443] [2022-07-16 14:20:09 +0000.60481][654d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1983:450] [2022-07-16 14:20:09 +0000.67329][654d] The device model:m2012k11ag

[1983:450] [2022-07-16 14:20:09 +0000.67385][654d] speaker output factor:100


defaultFactor: 100

[1983:450] [2022-07-16 14:20:09 +0000.67406][654d] headset output factor:100


defaultFactor: 100
[1983:450] [2022-07-16 14:20:09 +0000.67698][654d] AppDeviceManagerStart finished.
[1983:450] [2022-07-16 14:20:09 +0000.67724][654d] AppDeviceManagerStartMic::mic
status is off
[1983:450] [2022-07-16 14:20:09 +0000.67773][654d] AppDeviceManagerStartMic update
aec type: 2

[1983:450] [2022-07-16 14:20:09 +0000.67788][654d] AppDeviceManagerStartMic update


voiceChangeMode: 4

[1983:450] [2022-07-16 14:20:09 +0000.67803][654d]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[1983:450] [2022-07-16 14:20:09 +0000.67818][654d]
AudioDeviceDataHandler::StartMicProcess

[1983:451] [2022-07-16 14:20:09 +0000.67931][654d] Try to start webrtc recording


device.

[1983:451] [2022-07-16 14:20:09 +0000.67958][654d] StartRecording. threadID:25933

[1983:451] [2022-07-16 14:20:09 +0000.67997][654d] default mode: Set the recording


mode to voice communication to enable HW AEC .

[1983:451] [2022-07-16 14:20:09 +0000.68015][654d] Set the recording mode before


getSetting: 4
[1983:451] [2022-07-16 14:20:09 +0000.68035][654d] Set the recording mode after
getSetting: 1
[1983:462] [2022-07-16 14:20:09 +0000.79853][368d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[1983:546] [2022-07-16 14:20:09 +0000.163010][654d] StartRecording finished.

[1983:546] [2022-07-16 14:20:09 +0000.163060][654d] audio: start the audio mic


checker timer.

[1983:546] [2022-07-16 14:20:09 +0000.163419][654d] machine model :poco


[1983:546] [2022-07-16 14:20:09 +0000.163451][654d] Support this machine
model :poco
[1983:546] [2022-07-16 14:20:09 +0000.163473][654d] global inited! current sdk
version: 07-20-936c45f
[1983:861] [2022-07-16 14:20:09 +0000.478184][16a7]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[1983:862] [2022-07-16 14:20:09 +0000.478886][3678] MediaFilterCamera, recording
file context:0x7ca9c3e980 input texture:12
[1983:862] [2022-07-16 14:20:09 +0000.478930][3678] GLESContext:
[1983:862] [2022-07-16 14:20:09 +0000.478989][3678] The result of eglGetDisplay is:
0xb400007cc8e44c80
[1983:862] [2022-07-16 14:20:09 +0000.479628][3678] The result of creation:
0x7cb8695380
[1983:862] [2022-07-16 14:20:09 +0000.479704][3678] The result of
eglCreatePbufferSurface is: 0x7cb8695480
[1983:863] [2022-07-16 14:20:09 +0000.479868][16a7]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7ca9c3e980 input_texture: 12
[1985:049] [2022-07-16 14:20:10 +0000.666712][368d] haveEnoughProcessedData
internalAudioStream.length: 0
[1985:448] [2022-07-16 14:20:11 +0000.65292][368d] Run AGC when audioType = 0
[1985:606] [2022-07-16 14:20:11 +0000.223396][654d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[1985:606] [2022-07-16 14:20:11 +0000.223668][654d] ~MediaFilterCamera
time:491593806 enter.
[1985:606] [2022-07-16 14:20:11 +0000.223746][654d] StopPullFrameAndWriteMp4
time:491593806 enter.

[1985:612] [2022-07-16 14:20:11 +0000.229533][3677] stop recording


[1985:612] [2022-07-16 14:20:11 +0000.229719][3677] we have stopped recording
before
[1985:613] [2022-07-16 14:20:11 +0000.230583][654d] StopPullFrameAndWriteMp4
leave. expire time = 7 ms

[1985:618] [2022-07-16 14:20:11 +0000.235129][654d] DestroyPipelineAndFilters


time:491593818 enter.

[1985:618] [2022-07-16 14:20:11 +0000.235273][654d] DestroyPipelineAndFilters


leave. expire time = 0 ms

[1985:618] [2022-07-16 14:20:11 +0000.235406][654d] AppDeviceManagerStopMic

[1985:618] [2022-07-16 14:20:11 +0000.235570][654d] AppDeviceManagerStopMic::mic


status is on
[1985:618] [2022-07-16 14:20:11 +0000.235626][654d] Try to stop webrtc device.

[1985:618] [2022-07-16 14:20:11 +0000.235687][654d] Set record state to


stopped.threadID:25933

[1985:717] [2022-07-16 14:20:11 +0000.333951][654d] Try to destory the


recorder.threadID:25933

[1985:953] [2022-07-16 14:20:11 +0000.570101][654d] DestroyAudioRecorder:


[1985:953] [2022-07-16 14:20:11 +0000.570369][654d] Cleanup the buffer queue in the
recorder.
[1985:953] [2022-07-16 14:20:11 +0000.[000:017] [2022-07-16 17:59:42 +0000.691543]
[4c7f] Log to file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start
time:2022-07-16 17:59:42 +0000
[000:017] [2022-07-16 17:59:42 +0000.691579][4c7f] set AppID=50011 old AppID=-1
[000:017] [2022-07-16 17:59:42 +0000.691591][4c7f] Init the android object with
jvm:0xb400007d740e4540 env:0x7cc8e47c00 context:0x7c3c210778

[000:017] [2022-07-16 17:59:42 +0000.691639][4c7f] SetAndroidMediaCodecObjects


time:504455532 enter.

[000:017] [2022-07-16 17:59:42 +0000.691663][4c7f] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:017] [2022-07-16 17:59:42 +0000.691674][4c7f] SetAndroidMediaCodecObjects


time:504455532 enter.

[000:017] [2022-07-16 17:59:42 +0000.691761][4c7f] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d740e4540
[000:017] [2022-07-16 17:59:42 +0000.691773][4c7f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d740e4540 address:0x7bc5ec0760
[000:017] [2022-07-16 17:59:42 +0000.691784][4c7f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d740e4540
address:0x7bc5ec0760
[000:017] [2022-07-16 17:59:42 +0000.691795][4c7f] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:017] [2022-07-16 17:59:42 +0000.691819][4c7f] Set the android objects with


jvm:0xb400007d740e4540 env:0x7cc8e47c00 context:0x7c3c210778
[000:018] [2022-07-16 17:59:42 +0000.692332][4c7f] audio jni debug :manager
SetAndroidAudioDeviceObjects env:0x7cc8e47c00
[000:018] [2022-07-16 17:59:42 +0000.692355][4c7f] SystemUtil Init done
[000:020] [2022-07-16 17:59:42 +0000.695058][4c7f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:022] [2022-07-16 17:59:42 +0000.696239][4c7f] MediaFilterCamera
[000:022] [2022-07-16 17:59:42 +0000.696300][4c7f] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:022] [2022-07-16 17:59:42 +0000.696413][4c7f] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:022] [2022-07-16 17:59:42 +0000.696441][4c7f] Recording session using default
bitrate support by app:31457280
[000:022] [2022-07-16 17:59:42 +0000.696698][5754] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c39c9f1c0
[000:022] [2022-07-16 17:59:42 +0000.696869][5754] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:022] [2022-07-16 17:59:42 +0000.697120][4c7f] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:023] [2022-07-16 17:59:42 +0000.697958][4c7f] Error(ini.cc:191): Open the file
failed. error:2
[000:023] [2022-07-16 17:59:42 +0000.697992][4c7f]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:023] [2022-07-16 17:59:42 +0000.698006][4c7f] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:025] [2022-07-16 17:59:42 +0000.700161][4c7f] Error(ini.cc:191): Open the file
failed. error:2
[000:026] [2022-07-16 17:59:42 +0000.700222][4c7f]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:026] [2022-07-16 17:59:42 +0000.700238][4c7f] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:026] [2022-07-16 17:59:42 +0000.700250][4c7f] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:026] [2022-07-16 17:59:42 +0000.700261][4c7f] Using Default AEC type: software
AEC
[000:026] [2022-07-16 17:59:42 +0000.701000][4c7f] The device model: m2012k11ag
enum value: 0
[000:027] [2022-07-16 17:59:42 +0000.701260][4c7f] GetMachineModel is M2012K11AG
[000:027] [2022-07-16 17:59:42 +0000.701296][4c7f] GetMachineInfo: M2012K11AG
[000:027] [2022-07-16 17:59:42 +0000.701319][4c7f] Construct BeautifyReader
begin...
[000:027] [2022-07-16 17:59:42 +0000.701330][4c7f] dumpStickerRgba:0
dumpStickerYuv:0
[000:027] [2022-07-16 17:59:42 +0000.701364][4c7f] Construct BeautifyReader done.
[000:031] [2022-07-16 17:59:42 +0000.706124][4c7f] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:032] [2022-07-16 17:59:42 +0000.706223][575c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c39ed6ba0
[000:032] [2022-07-16 17:59:42 +0000.706802][4c7f] AppDeviceManager telnet server
for statistics started......
[000:033] [2022-07-16 17:59:42 +0000.707302][4c7f] CpuOverloadDetect time:504455548
enter.

[000:033] [2022-07-16 17:59:42 +0000.707393][4c7f] CpuOverloadDetect leave. expire


time = 0 ms

[000:033] [2022-07-16 17:59:42 +0000.707631][575d] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7bdf3b95c0
[000:033] [2022-07-16 17:59:42 +0000.707820][4c7f] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:033] [2022-07-16 17:59:42 +0000.707851][4c7f] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:033] [2022-07-16 17:59:42 +0000.708049][4c7f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:034] [2022-07-16 17:59:42 +0000.709192][4c7f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:038] [2022-07-16 17:59:42 +0000.712431][4c7f] CreatePlatformSpecificObjects:
[000:038] [2022-07-16 17:59:42 +0000.712817][4c7f] audio device use opensle input
and opensl output
[000:038] [2022-07-16 17:59:42 +0000.712854][4c7f] Create OpenSLES output module
with java VM support.

[000:038] [2022-07-16 17:59:42 +0000.712976][4c7f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:040] [2022-07-16 17:59:42 +0000.714400][4c7f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:040] [2022-07-16 17:59:42 +0000.715070][4c7f] Create OpenSLES output module
with buffer num:1

[000:041] [2022-07-16 17:59:42 +0000.715269][4c7f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:042] [2022-07-16 17:59:42 +0000.716303][4c7f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:042] [2022-07-16 17:59:42 +0000.717083][4c7f] Create OpenSLES input module
with java VM support.

[000:043] [2022-07-16 17:59:42 +0000.717341][4c7f] Create OpenSLES input module


with buffer num:1

[000:043] [2022-07-16 17:59:42 +0000.717395][4c7f] Error(trace.cc:40): Init the


output and input for audio device template.
[000:043] [2022-07-16 17:59:42 +0000.717418][4c7f] Init the output device.

[000:043] [2022-07-16 17:59:42 +0000.717430][4c7f] Init the opensl input.


[000:043] [2022-07-16 17:59:42 +0000.717443][4c7f] AppDeviceManager get setting
samplerate: 0
[000:043] [2022-07-16 17:59:42 +0000.717679][4c7f] The device model: m2012k11ag
enum value: 0
[000:043] [2022-07-16 17:59:42 +0000.717953][4c7f] The device model: m2012k11ag
enum value: 0
[000:043] [2022-07-16 17:59:42 +0000.717987][4c7f] Set the sample rate to be:48000

[000:043] [2022-07-16 17:59:42 +0000.717999][4c7f] Enable the recording stereo:0


[000:043] [2022-07-16 17:59:42 +0000.718030][4c7f] Set the playout as stereo:1
[000:043] [2022-07-16 17:59:42 +0000.718041][4c7f] Init the microphone.
[000:044] [2022-07-16 17:59:42 +0000.718516][4c7f] Update the recording sample rate
to be: 48000
[000:044] [2022-07-16 17:59:42 +0000.718587][4c7f] Init the speaker.
[000:044] [2022-07-16 17:59:42 +0000.718669][4c7f] Low latency buffer size:144 low
sample rate:48000
[000:044] [2022-07-16 17:59:42 +0000.719051][4c7f] Using 1 x 10ms for an audio
frame.

[000:048] [2022-07-16 17:59:42 +0000.722223][4c7f] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:048] [2022-07-16 17:59:42 +0000.722321][4c7f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:048] [2022-07-16 17:59:42 +0000.722355][4c7f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:053] [2022-07-16 17:59:42 +0000.728007][4c7f] The device model:m2012k11ag

[000:053] [2022-07-16 17:59:42 +0000.728109][4c7f] speaker output factor:100


defaultFactor: 100

[000:053] [2022-07-16 17:59:42 +0000.728132][4c7f] headset output factor:100


defaultFactor: 100

[000:054] [2022-07-16 17:59:42 +0000.728456][4c7f] AppDeviceManagerStart finished.


[000:054] [2022-07-16 17:59:42 +0000.728481][4c7f] AppDeviceManagerStartMic::mic
status is off
[000:054] [2022-07-16 17:59:42 +0000.728520][4c7f] AppDeviceManagerStartMic update
aec type: 2

[000:054] [2022-07-16 17:59:42 +0000.728539][4c7f] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:054] [2022-07-16 17:59:42 +0000.728557][4c7f]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:054] [2022-07-16 17:59:42 +0000.728573][4c7f]
AudioDeviceDataHandler::StartMicProcess

[000:054] [2022-07-16 17:59:42 +0000.728689][4c7f] Try to start webrtc recording


device.

[000:054] [2022-07-16 17:59:42 +0000.728713][4c7f] StartRecording. threadID:19583

[000:054] [2022-07-16 17:59:42 +0000.728955][4c7f] The machine model:M2012K11AG

[000:054] [2022-07-16 17:59:42 +0000.729026][4c7f] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:054] [2022-07-16 17:59:42 +0000.729046][4c7f] Set the recording mode before


getSetting: 4
[000:054] [2022-07-16 17:59:42 +0000.729067][4c7f] Set the recording mode after
getSetting: 1
[000:055] [2022-07-16 17:59:42 +0000.729259][5761] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:055] [2022-07-16 17:59:42 +0000.729317][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[000:127] [2022-07-16 17:59:42 +0000.801573][4c7f] StartRecording finished.

[000:127] [2022-07-16 17:59:42 +0000.801614][4c7f] audio: start the audio mic


checker timer.

[000:127] [2022-07-16 17:59:42 +0000.801877][4c7f] machine model :poco


[000:127] [2022-07-16 17:59:42 +0000.801896][4c7f] Support this machine model :poco
[000:130] [2022-07-16 17:59:42 +0000.804439][4c7f] global inited! current sdk
version: 07-20-936c45f
[000:220] [2022-07-16 17:59:42 +0000.894541][5763] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:220] [2022-07-16 17:59:42 +0000.894604][5763] _deviceSampleRate:48000

[000:224] [2022-07-16 17:59:42 +0000.898627][5761] Run AGC when audioType = 0


[000:224] [2022-07-16 17:59:42 +0000.898718][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:397] [2022-07-16 17:59:43 +0000.71685][56fa]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:397] [2022-07-16 17:59:43 +0000.71832][5756] MediaFilterCamera, recording file
context:0x7c39d7d980 input texture:4
[000:397] [2022-07-16 17:59:43 +0000.71883][5756] GLESContext:
[000:397] [2022-07-16 17:59:43 +0000.71916][5756] The result of eglGetDisplay is:
0xb400007cc8e44c80
[000:398] [2022-07-16 17:59:43 +0000.72510][5756] The result of creation:
0x7cb87e4400
[000:398] [2022-07-16 17:59:43 +0000.72571][5756] The result of
eglCreatePbufferSurface is: 0x7cb87e4500
[000:398] [2022-07-16 17:59:43 +0000.73168][56fa]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7c39d7d980 input_texture: 4
[001:803] [2022-07-16 17:59:44 +0000.477617][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[002:224] [2022-07-16 17:59:44 +0000.898511][5761] Run AGC when audioType = 0
[003:510] [2022-07-16 17:59:46 +0000.184842][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[004:127] [2022-07-16 17:59:46 +0000.802111][574a]
monitorTime:4000totalDuration:3920
[004:236] [2022-07-16 17:59:46 +0000.910800][5761] Run AGC when audioType = 0
[004:236] [2022-07-16 17:59:46 +0000.910927][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:224] [2022-07-16 17:59:47 +0000.898331][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[006:225] [2022-07-16 17:59:48 +0000.899957][5761] Run AGC when audioType = 0
[006:927] [2022-07-16 17:59:49 +0000.602143][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[008:222] [2022-07-16 17:59:50 +0000.896387][5761] Run AGC when audioType = 0
[008:222] [2022-07-16 17:59:50 +0000.896586][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:642] [2022-07-16 17:59:51 +0000.317026][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[010:221] [2022-07-16 17:59:52 +0000.895417][5763] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:221] [2022-07-16 17:59:52 +0000.895660][5763] _deviceSampleRate:48000

[010:226] [2022-07-16 17:59:52 +0000.900773][5761] Run AGC when audioType = 0


[010:365] [2022-07-16 17:59:53 +0000.39713][5761] haveEnoughProcessedData
internalAudioStream.length: 10
[012:080] [2022-07-16 17:59:54 +0000.754719][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[012:225] [2022-07-16 17:59:54 +0000.899420][5761] Run AGC when audioType = 0
[012:225] [2022-07-16 17:59:54 +0000.899564][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[013:787] [2022-07-16 17:59:56 +0000.461858][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[014:221] [2022-07-16 17:59:56 +0000.896178][5761] Run AGC when audioType = 0
[015:502] [2022-07-16 17:59:58 +0000.176972][5761] haveEnoughProcessedData
internalAudioStream.length: 10
[016:225] [2022-07-16 17:59:58 +0000.899830][5761] Run AGC when audioType = 0
[016:225] [2022-07-16 17:59:58 +0000.899969][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[017:225] [2022-07-16 17:59:59 +0000.900095][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[018:223] [2022-07-16 18:00:00 +0000.897892][5761] Run AGC when audioType = 0
[018:945] [2022-07-16 18:00:01 +0000.619363][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[020:221] [2022-07-16 18:00:02 +0000.895653][5763] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:221] [2022-07-16 18:00:02 +0000.895827][5763] _deviceSampleRate:48000

[020:226] [2022-07-16 18:00:02 +0000.900241][5761] Run AGC when audioType = 0


[020:226] [2022-07-16 18:00:02 +0000.900449][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:669] [2022-07-16 18:00:03 +0000.344077][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[022:222] [2022-07-16 18:00:04 +0000.896440][5761] Run AGC when audioType = 0
[022:391] [2022-07-16 18:00:05 +0000.65669][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[024:127] [2022-07-16 18:00:06 +0000.801962][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[024:223] [2022-07-16 18:00:06 +0000.897841][5761] Run AGC when audioType = 0
[024:223] [2022-07-16 18:00:06 +0000.897978][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[025:844] [2022-07-16 18:00:08 +0000.518270][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[026:226] [2022-07-16 18:00:08 +0000.900583][5761] Run AGC when audioType = 0
[027:565] [2022-07-16 18:00:10 +0000.239331][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[028:223] [2022-07-16 18:00:10 +0000.897991][5761] Run AGC when audioType = 0
[028:223] [2022-07-16 18:00:10 +0000.898131][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[029:287] [2022-07-16 18:00:11 +0000.961600][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[030:220] [2022-07-16 18:00:12 +0000.895121][5763] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:221] [2022-07-16 18:00:12 +0000.895300][5763] _deviceSampleRate:48000

[030:222] [2022-07-16 18:00:12 +0000.896464][5761] Run AGC when audioType = 0


[031:013] [2022-07-16 18:00:13 +0000.687401][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[032:225] [2022-07-16 18:00:14 +0000.899941][5761] Run AGC when audioType = 0
[032:226] [2022-07-16 18:00:14 +0000.900212][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:745] [2022-07-16 18:00:15 +0000.419469][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[034:225] [2022-07-16 18:00:16 +0000.899672][5761] Run AGC when audioType = 0
[034:463] [2022-07-16 18:00:17 +0000.137821][5761] haveEnoughProcessedData
internalAudioStream.length: 10
[036:185] [2022-07-16 18:00:18 +0000.859791][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[036:221] [2022-07-16 18:00:18 +0000.895946][5761] Run AGC when audioType = 0
[036:222] [2022-07-16 18:00:18 +0000.896310][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[037:905] [2022-07-16 18:00:20 +0000.579696][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[038:223] [2022-07-16 18:00:20 +0000.897862][5761] Run AGC when audioType = 0
[039:635] [2022-07-16 18:00:22 +0000.309923][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[040:221] [2022-07-16 18:00:22 +0000.895819][5763] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[040:221] [2022-07-16 18:00:22 +0000.895948][5763] _deviceSampleRate:48000

[040:222] [2022-07-16 18:00:22 +0000.896923][5761] Run AGC when audioType = 0


[040:222] [2022-07-16 18:00:22 +0000.897117][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[041:361] [2022-07-16 18:00:24 +0000.36078][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[042:223] [2022-07-16 18:00:24 +0000.897465][5761] Run AGC when audioType = 0
[043:091] [2022-07-16 18:00:25 +0000.765428][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[044:224] [2022-07-16 18:00:26 +0000.898549][5761] Run AGC when audioType = 0
[044:224] [2022-07-16 18:00:26 +0000.898911][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[044:825] [2022-07-16 18:00:27 +0000.499620][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[046:224] [2022-07-16 18:00:28 +0000.899059][5761] Run AGC when audioType = 0
[046:541] [2022-07-16 18:00:29 +0000.215681][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[048:224] [2022-07-16 18:00:30 +0000.898319][5761] Run AGC when audioType = 0
[048:224] [2022-07-16 18:00:30 +0000.898896][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[048:271] [2022-07-16 18:00:30 +0000.945486][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[050:002] [2022-07-16 18:00:32 +0000.676581][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[050:221] [2022-07-16 18:00:32 +0000.895706][5763] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[050:221] [2022-07-16 18:00:32 +0000.895928][5763] _deviceSampleRate:48000

[050:225] [2022-07-16 18:00:32 +0000.899894][5761] Run AGC when audioType = 0


[051:722] [2022-07-16 18:00:34 +0000.396959][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[052:224] [2022-07-16 18:00:34 +0000.898992][5761] Run AGC when audioType = 0
[052:225] [2022-07-16 18:00:34 +0000.899392][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[053:441] [2022-07-16 18:00:36 +0000.115797][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[054:225] [2022-07-16 18:00:36 +0000.900100][5761] Run AGC when audioType = 0
[055:177] [2022-07-16 18:00:37 +0000.852109][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[056:223] [2022-07-16 18:00:38 +0000.897798][5761] Run AGC when audioType = 0
[056:223] [2022-07-16 18:00:38 +0000.897973][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[056:906] [2022-07-16 18:00:39 +0000.581111][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[058:226] [2022-07-16 18:00:40 +0000.900422][5761] Run AGC when audioType = 0
[058:642] [2022-07-16 18:00:41 +0000.316287][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[060:220] [2022-07-16 18:00:42 +0000.894969][5763] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[060:220] [2022-07-16 18:00:42 +0000.895071][5763] _deviceSampleRate:48000


[060:220] [2022-07-16 18:00:42 +0000.895119][5761] Run AGC when audioType = 0
[060:220] [2022-07-16 18:00:42 +0000.895182][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[060:364] [2022-07-16 18:00:43 +0000.38798][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[062:092] [2022-07-16 18:00:44 +0000.766875][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[062:221] [2022-07-16 18:00:44 +0000.896105][5761] Run AGC when audioType = 0
[063:803] [2022-07-16 18:00:46 +0000.477249][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[064:224] [2022-07-16 18:00:46 +0000.898372][5761] Run AGC when audioType = 0
[064:224] [2022-07-16 18:00:46 +0000.898520][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[065:539] [2022-07-16 18:00:48 +0000.213463][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[066:225] [2022-07-16 18:00:48 +0000.899315][5761] Run AGC when audioType = 0
[067:265] [2022-07-16 18:00:49 +0000.939374][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[068:224] [2022-07-16 18:00:50 +0000.898298][5761] Run AGC when audioType = 0
[068:224] [2022-07-16 18:00:50 +0000.898807][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[068:984] [2022-07-16 18:00:51 +0000.658240][5761] haveEnoughProcessedData
internalAudioStream.length: 10
[070:221] [2022-07-16 18:00:52 +0000.895402][5763] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[070:221] [2022-07-16 18:00:52 +0000.895534][5763] _deviceSampleRate:48000

[070:224] [2022-07-16 18:00:52 +0000.898441][5761] Run AGC when audioType = 0


[070:704] [2022-07-16 18:00:53 +0000.378891][5761] haveEnoughProcessedData
internalAudioStream.length: 10
[072:224] [2022-07-16 18:00:54 +0000.898980][5761] Run AGC when audioType = 0
[072:224] [2022-07-16 18:00:54 +0000.899155][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[072:426] [2022-07-16 18:00:55 +0000.100878][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[074:142] [2022-07-16 18:00:56 +0000.816464][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[074:225] [2022-07-16 18:00:56 +0000.899315][5761] Run AGC when audioType = 0
[075:866] [2022-07-16 18:00:58 +0000.540577][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[076:226] [2022-07-16 18:00:58 +0000.900473][5761] Run AGC when audioType = 0
[076:226] [2022-07-16 18:00:58 +0000.900727][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[077:584] [2022-07-16 18:01:00 +0000.258218][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[078:224] [2022-07-16 18:01:00 +0000.898959][5761] Run AGC when audioType = 0
[079:307] [2022-07-16 18:01:01 +0000.981766][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[080:221] [2022-07-16 18:01:02 +0000.895809][5763] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[080:221] [2022-07-16 18:01:02 +0000.896027][5763] _deviceSampleRate:48000

[080:222] [2022-07-16 18:01:02 +0000.896392][5761] Run AGC when audioType = 0


[080:222] [2022-07-16 18:01:02 +0000.896566][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[081:033] [2022-07-16 18:01:03 +0000.707943][5761] haveEnoughProcessedData
internalAudioStream.length: 10
[082:221] [2022-07-16 18:01:04 +0000.896020][5761] Run AGC when audioType = 0
[082:756] [2022-07-16 18:01:05 +0000.432113][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[084:223] [2022-07-16 18:01:06 +0000.898058][5761] Run AGC when audioType = 0
[084:224] [2022-07-16 18:01:06 +0000.898397][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[084:484] [2022-07-16 18:01:07 +0000.159013][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[086:219] [2022-07-16 18:01:08 +0000.893927][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[086:224] [2022-07-16 18:01:08 +0000.899267][5761] Run AGC when audioType = 0
[087:947] [2022-07-16 18:01:10 +0000.621412][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[088:223] [2022-07-16 18:01:10 +0000.898029][5761] Run AGC when audioType = 0
[088:223] [2022-07-16 18:01:10 +0000.898183][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[089:686] [2022-07-16 18:01:12 +0000.360997][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[090:221] [2022-07-16 18:01:12 +0000.895296][5763] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[090:221] [2022-07-16 18:01:12 +0000.895406][5763] _deviceSampleRate:48000

[090:226] [2022-07-16 18:01:12 +0000.900386][5761] Run AGC when audioType = 0


[091:403] [2022-07-16 18:01:14 +0000.77593][5761] haveEnoughProcessedData
internalAudioStream.length: 10
[092:221] [2022-07-16 18:01:14 +0000.895824][5761] Run AGC when audioType = 0
[092:221] [2022-07-16 18:01:14 +0000.896022][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[093:126] [2022-07-16 18:01:15 +0000.801025][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[094:223] [2022-07-16 18:01:16 +0000.897964][5761] Run AGC when audioType = 0
[094:863] [2022-07-16 18:01:17 +0000.537800][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[096:224] [2022-07-16 18:01:18 +0000.899035][5761] Run AGC when audioType = 0
[096:225] [2022-07-16 18:01:18 +0000.899356][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[096:583] [2022-07-16 18:01:19 +0000.257948][5761] haveEnoughProcessedData
internalAudioStream.length: 10
[098:224] [2022-07-16 18:01:20 +0000.898550][5761] Run AGC when audioType = 0
[098:304] [2022-07-16 18:01:20 +0000.978530][5761] haveEnoughProcessedData
internalAudioStream.length: 10
[100:022] [2022-07-16 18:01:22 +0000.697100][5761] haveEnoughProcessedData
internalAudioStream.length: 10
[100:221] [2022-07-16 18:01:22 +0000.896013][5763] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[100:222] [2022-07-16 18:01:22 +0000.896272][5763] _deviceSampleRate:48000

[100:226] [2022-07-16 18:01:22 +0000.900590][5761] Run AGC when audioType = 0


[100:226] [2022-07-16 18:01:22 +0000.900847][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[101:765] [2022-07-16 18:01:24 +0000.439476][5761] haveEnoughProcessedData
internalAudioStream.length: 20
[102:223] [2022-07-16 18:01:24 +0000.897466][5761] Run AGC when audioType = 0
[103:481] [2022-07-16 18:01:26 +0000.155291][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[104:221] [2022-07-16 18:01:26 +0000.895592][5761] Run AGC when audioType = 0
[104:221] [2022-07-16 18:01:26 +0000.895745][5761]
AudioDeviceDataHandler::MixAndSendOutFrame
[105:208] [2022-07-16 18:01:27 +0000.882410][5761] haveEnoughProcessedData
internalAudioStream.length: 0
[105:763] [2022-07-16 18:01:28 +0000.438201][4c7f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[105:764] [2022-07-16 18:01:28 +0000.438297][4c7f] ~MediaFilterCamera
time:504561279 enter.

[105:764] [2022-07-16 18:01:28 +0000.438319][4c7f] StopPullFrameAndWriteMp4


time:504561279 enter.

[105:764] [2022-07-16 18:01:28 +0000.438543][5754] stop recording


[105:764] [2022-07-16 18:01:28 +0000.438577][5754] we have stopped recording before
[105:764] [2022-07-16 18:01:28 +0000.438632][4c7f] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[105:769] [2022-07-16 18:01:28 +0000.443706][4c7f] DestroyPipelineAndFilters


time:504561284 enter.

[105:769] [2022-07-16 18:01:28 +0000.443769][4c7f] DestroyPipelineAndFilters


leave. expire time = 0 ms

[105:769] [2022-07-16 18:01:28 +0000.443793][4c7f] AppDeviceManagerStopMic

[105:769] [2022-07-16 18:01:28 +0000.443837][4c7f] AppDeviceManagerStopMic::mic


status is on
[105:769] [2022-07-16 18:01:28 +0000.443865][4c7f] Try to stop webrtc device.

[105:769] [2022-07-16 18:01:28 +0000.443905][4c7f] Set record state to


stopped.threadID:19583

[105:813] [2022-07-16 18:01:28 +0000.488191][4c7f] Try to destory the


recorder.threadID:19583

[106:014] [2022-07-16 18:01:28 +0000.688363][4c7f] DestroyAudioRecorder:


[106:014] [2022-07-16 18:01:28 +0000.688439][4c7f] Cleanup the buffer queue in the
recorder.
[106:014] [2022-07-16 18:01:28 +0000.688463][4c7f] Destroy the recorder.

[106:014] [2022-07-16 18:01:28 +0000.689161][4c7f] StopRecording finished.

[106:015] [2022-07-16 18:01:28 +0000.689232][4c7f] The stop recording success.

[106:015] [2022-07-16 18:01:28 +0000.689284][4c7f]


AudioDeviceDataHandler::StopMicProcess

[106:018] [2022-07-16 18:01:28 +0000.692254][4c7f] AppDeviceManager stop.

[106:018] [2022-07-16 18:01:28 +0000.692366][4c7f] Rlease the webrtc device object.

[106:021] [2022-07-16 18:01:28 +0000.695978][4c7f] OpenSlesInput [000:023] [2022-


07-17 14:09:52 +0000.270350][265f] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
17 14:09:52 +0000
[000:023] [2022-07-17 14:09:52 +0000.270388][265f] set AppID=50011 old AppID=-1
[000:023] [2022-07-17 14:09:52 +0000.270423][265f] Init the android object with
jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c3eff7778

[000:023] [2022-07-17 14:09:52 +0000.270458][265f] SetAndroidMediaCodecObjects


time:563023229 enter.

[000:023] [2022-07-17 14:09:52 +0000.270492][265f] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:023] [2022-07-17 14:09:52 +0000.270523][265f] SetAndroidMediaCodecObjects


time:563023229 enter.

[000:023] [2022-07-17 14:09:52 +0000.270558][265f] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d740e4540
[000:023] [2022-07-17 14:09:52 +0000.270591][265f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d740e4540 address:0x7ba1cc7760
[000:023] [2022-07-17 14:09:52 +0000.270625][265f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d740e4540
address:0x7ba1cc7760
[000:023] [2022-07-17 14:09:52 +0000.270658][265f] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:023] [2022-07-17 14:09:52 +0000.270710][265f] Set the android objects with


jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c3eff7778

[000:025] [2022-07-17 14:09:52 +0000.271749][265f] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7cc8e47700
[000:025] [2022-07-17 14:09:52 +0000.271778][265f] SystemUtil Init done
[000:026] [2022-07-17 14:09:52 +0000.273229][265f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:027] [2022-07-17 14:09:52 +0000.274577][265f] MediaFilterCamera
[000:027] [2022-07-17 14:09:52 +0000.274609][265f] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:027] [2022-07-17 14:09:52 +0000.274684][265f] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:027] [2022-07-17 14:09:52 +0000.274705][265f] Recording session using default
bitrate support by app:31457280
[000:027] [2022-07-17 14:09:52 +0000.274720][2cac] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7beb6c7bc0
[000:028] [2022-07-17 14:09:52 +0000.274888][2cac] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:028] [2022-07-17 14:09:52 +0000.274949][265f] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:028] [2022-07-17 14:09:52 +0000.275270][265f] Error(ini.cc:191): Open the file
failed. error:2
[000:028] [2022-07-17 14:09:52 +0000.275289][265f]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:028] [2022-07-17 14:09:52 +0000.275310][265f] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:030] [2022-07-17 14:09:52 +0000.276761][265f] Error(ini.cc:191): Open the file
failed. error:2
[000:030] [2022-07-17 14:09:52 +0000.276787][265f]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:030] [2022-07-17 14:09:52 +0000.276802][265f] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:030] [2022-07-17 14:09:52 +0000.276825][265f] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:030] [2022-07-17 14:09:52 +0000.276835][265f] Using Default AEC type: software
AEC
[000:030] [2022-07-17 14:09:52 +0000.277092][265f] The device model: m2012k11ag
enum value: 0
[000:030] [2022-07-17 14:09:52 +0000.277313][265f] GetMachineModel is M2012K11AG
[000:030] [2022-07-17 14:09:52 +0000.277333][265f] GetMachineInfo: M2012K11AG
[000:030] [2022-07-17 14:09:52 +0000.277352][265f] Construct BeautifyReader
begin...
[000:030] [2022-07-17 14:09:52 +0000.277375][265f] dumpStickerRgba:0
dumpStickerYuv:0
[000:030] [2022-07-17 14:09:52 +0000.277386][265f] Construct BeautifyReader done.
[000:033] [2022-07-17 14:09:52 +0000.280078][265f] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:033] [2022-07-17 14:09:52 +0000.280102][2caf] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bbed77ea0
[000:033] [2022-07-17 14:09:52 +0000.280298][265f] AppDeviceManager telnet server
for statistics started......
[000:033] [2022-07-17 14:09:52 +0000.280485][265f] CpuOverloadDetect time:563023239
enter.

[000:033] [2022-07-17 14:09:52 +0000.280536][265f] CpuOverloadDetect leave. expire


time = 0 ms

[000:033] [2022-07-17 14:09:52 +0000.280563][2cb0] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7bdfafc580
[000:034] [2022-07-17 14:09:52 +0000.280819][265f] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:034] [2022-07-17 14:09:52 +0000.280836][265f] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:034] [2022-07-17 14:09:52 +0000.281031][265f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:034] [2022-07-17 14:09:52 +0000.281262][265f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:034] [2022-07-17 14:09:52 +0000.281503][265f] CreatePlatformSpecificObjects:
[000:034] [2022-07-17 14:09:52 +0000.281527][265f] audio device use opensle input
and opensl output
[000:034] [2022-07-17 14:09:52 +0000.281550][265f] Create OpenSLES output module
with java VM support.

[000:034] [2022-07-17 14:09:52 +0000.281604][265f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:034] [2022-07-17 14:09:52 +0000.281694][265f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:035] [2022-07-17 14:09:52 +0000.281776][265f] Create OpenSLES output module
with buffer num:1

[000:035] [2022-07-17 14:09:52 +0000.281862][265f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:035] [2022-07-17 14:09:52 +0000.281935][265f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:035] [2022-07-17 14:09:52 +0000.282014][265f] Create OpenSLES input module
with java VM support.

[000:035] [2022-07-17 14:09:52 +0000.282037][265f] Create OpenSLES input module


with buffer num:1

[000:035] [2022-07-17 14:09:52 +0000.282074][265f] Error(trace.cc:40): Init the


output and input for audio device template.
[000:035] [2022-07-17 14:09:52 +0000.282098][265f] Init the output device.
[000:035] [2022-07-17 14:09:52 +0000.282110][265f] Init the opensl input.
[000:035] [2022-07-17 14:09:52 +0000.282138][265f] AppDeviceManager get setting
samplerate: 0
[000:035] [2022-07-17 14:09:52 +0000.282295][265f] The device model: m2012k11ag
enum value: 0
[000:035] [2022-07-17 14:09:52 +0000.282537][265f] The device model: m2012k11ag
enum value: 0
[000:035] [2022-07-17 14:09:52 +0000.282552][265f] Set the sample rate to be:48000

[000:035] [2022-07-17 14:09:52 +0000.282564][265f] Enable the recording stereo:0


[000:035] [2022-07-17 14:09:52 +0000.282591][265f] Set the playout as stereo:1
[000:035] [2022-07-17 14:09:52 +0000.282602][265f] Init the microphone.
[000:036] [2022-07-17 14:09:52 +0000.283595][265f] Update the recording sample rate
to be: 48000
[000:036] [2022-07-17 14:09:52 +0000.283628][265f] Init the speaker.
[000:036] [2022-07-17 14:09:52 +0000.283655][265f] Low latency buffer size:144 low
sample rate:48000
[000:037] [2022-07-17 14:09:52 +0000.283817][265f] Using 1 x 10ms for an audio
frame.

[000:039] [2022-07-17 14:09:52 +0000.286644][265f] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:039] [2022-07-17 14:09:52 +0000.286732][265f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:040] [2022-07-17 14:09:52 +0000.286748][265f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:043] [2022-07-17 14:09:52 +0000.290360][265f] The device model:m2012k11ag

[000:043] [2022-07-17 14:09:52 +0000.290410][265f] speaker output factor:100


defaultFactor: 100

[000:043] [2022-07-17 14:09:52 +0000.290422][265f] headset output factor:100


defaultFactor: 100

[000:043] [2022-07-17 14:09:52 +0000.290640][265f] AppDeviceManagerStart finished.


[000:043] [2022-07-17 14:09:52 +0000.290659][265f] AppDeviceManagerStartMic::mic
status is off
[000:043] [2022-07-17 14:09:52 +0000.290699][265f] AppDeviceManagerStartMic update
aec type: 2

[000:043] [2022-07-17 14:09:52 +0000.290713][265f] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:043] [2022-07-17 14:09:52 +0000.290723][265f]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:044] [2022-07-17 14:09:52 +0000.290750][265f]
AudioDeviceDataHandler::StartMicProcess

[000:044] [2022-07-17 14:09:52 +0000.290844][265f] Try to start webrtc recording


device.

[000:044] [2022-07-17 14:09:52 +0000.290860][265f] StartRecording. threadID:9823

[000:044] [2022-07-17 14:09:52 +0000.290875][2cb1] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:044] [2022-07-17 14:09:52 +0000.290934][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[000:044] [2022-07-17 14:09:52 +0000.291027][265f] The machine model:M2012K11AG
[000:044] [2022-07-17 14:09:52 +0000.291055][265f] default mode: Set the recording
mode to voice communication to enable HW AEC .

[000:044] [2022-07-17 14:09:52 +0000.291076][265f] Set the recording mode before


getSetting: 4
[000:044] [2022-07-17 14:09:52 +0000.291089][265f] Set the recording mode after
getSetting: 1
[000:089] [2022-07-17 14:09:52 +0000.336653][265f] StartRecording finished.

[000:090] [2022-07-17 14:09:52 +0000.336780][265f] audio: start the audio mic


checker timer.

[000:090] [2022-07-17 14:09:52 +0000.337049][265f] machine model :poco


[000:090] [2022-07-17 14:09:52 +0000.337072][265f] Support this machine model :poco
[000:092] [2022-07-17 14:09:52 +0000.339286][265f] global inited! current sdk
version: 07-20-936c45f
[000:152] [2022-07-17 14:09:52 +0000.399695][2cb2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:153] [2022-07-17 14:09:52 +0000.399967][2cb2] _deviceSampleRate:48000

[000:153] [2022-07-17 14:09:52 +0000.400625][2cb1] Run AGC when audioType = 0


[000:154] [2022-07-17 14:09:52 +0000.401009][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:319] [2022-07-17 14:09:52 +0000.565974][2795]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:319] [2022-07-17 14:09:52 +0000.566277][2cad] MediaFilterCamera, recording
file context:0x7beb7ee580 input texture:6
[000:319] [2022-07-17 14:09:52 +0000.566320][2cad] GLESContext:
[000:319] [2022-07-17 14:09:52 +0000.566367][2cad] The result of eglGetDisplay is:
0xb400007cc8e44c80
[000:320] [2022-07-17 14:09:52 +0000.566982][2cad] The result of creation:
0x7bdf85f580
[000:320] [2022-07-17 14:09:52 +0000.567062][2cad] The result of
eglCreatePbufferSurface is: 0x7bdf85f680
[000:320] [2022-07-17 14:09:52 +0000.567164][2795]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7beb7ee580 input_texture: 6
[001:778] [2022-07-17 14:09:54 +0000.25249][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[002:157] [2022-07-17 14:09:54 +0000.404621][2cb1] Run AGC when audioType = 0
[003:496] [2022-07-17 14:09:55 +0000.743542][2cb1] haveEnoughProcessedData
internalAudioStream.length: 10
[004:094] [2022-07-17 14:09:56 +0000.341170][2ca8]
monitorTime:4004totalDuration:3960
[004:156] [2022-07-17 14:09:56 +0000.403758][2cb1] Run AGC when audioType = 0
[004:157] [2022-07-17 14:09:56 +0000.403962][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:385] [2022-07-17 14:09:56 +0000.632303][2642] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[004:385] [2022-07-17 14:09:56 +0000.632358][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[004:386] [2022-07-17 14:09:56 +0000.632993][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[004:386] [2022-07-17 14:09:56 +0000.633127][2cad] operator() time:563027592
enter.
[004:386] [2022-07-17 14:09:56 +0000.633191][2cad] MediaFilterCamera, recording
file context:0x7beb7ee580 input texture:6
[004:387] [2022-07-17 14:09:56 +0000.634554][2cad] MicSource: Mic source
created:10x7beb6f6d00
[004:388] [2022-07-17 14:09:56 +0000.635123][2cad] received external audio stream

[004:388] [2022-07-17 14:09:56 +0000.635166][2cad] alloc thread: 0x7bbeda1400


name:worker0 thread id:532289207472 to Mic_source
[004:388] [2022-07-17 14:09:56 +0000.635195][2cad] audio: start the audio sender
thread.

[004:388] [2022-07-17 14:09:56 +0000.635282][2cad] construct OpenGLRenderProgram


0x7beb67a198
[004:388] [2022-07-17 14:09:56 +0000.635304][2cad] CropFilter::SetOrientation
orientation: 90
[004:388] [2022-07-17 14:09:56 +0000.635413][2cad] filter: filter pipeline
construtc this: 0x7c3cd05f80
[004:388] [2022-07-17 14:09:56 +0000.635454][2cad] filter: filter pipeline2 update
pattern: 1
[004:388] [2022-07-17 14:09:56 +0000.635536][2cad] CameraSource::source_id_:1
[004:388] [2022-07-17 14:09:56 +0000.635554][2cad] RecordAudioSource::source_id_:2
[004:389] [2022-07-17 14:09:56 +0000.635780][2cad] BindInputFilter 0x7bbeda1b40
this 0x7beb67a3c0
[004:389] [2022-07-17 14:09:56 +0000.635814][2cad] BindInputFilter 0x7bbeda1cd8
this 0x7bbeda1e50
[004:389] [2022-07-17 14:09:56 +0000.635843][2cad] BindInputFilter 0x7beb67a3c0
this 0x7c3cd06020
[004:389] [2022-07-17 14:09:56 +0000.635882][2cad] setParamentForFilters:
speed:1.000000
[004:389] [2022-07-17 14:09:56 +0000.635902][2cad] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[004:389] [2022-07-17 14:09:56 +0000.635935][2cad] SetParamForFilter time:563027595
enter.

[004:389] [2022-07-17 14:09:56 +0000.635970][2cad] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[004:389] [2022-07-17 14:09:56 +0000.636007][2cad] SetParamForFilter: Params video
index is: 0
[004:389] [2022-07-17 14:09:56 +0000.636022][2cad] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[004:389] [2022-07-17 14:09:56 +0000.636037][2cad] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[004:389] [2022-07-17 14:09:56 +0000.636090][2cad] crop filter mode tpye:
citytravelvideo index:0
[004:393] [2022-07-17 14:09:56 +0000.639886][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:393] [2022-07-17 14:09:56 +0000.639947][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:393] [2022-07-17 14:09:56 +0000.639977][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:393] [2022-07-17 14:09:56 +0000.640013][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:393] [2022-07-17 14:09:56 +0000.640049][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:393] [2022-07-17 14:09:56 +0000.640079][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:393] [2022-07-17 14:09:56 +0000.640106][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:393] [2022-07-17 14:09:56 +0000.640135][2cad]
Warning(parse_template_json.cc:81): json parament no found the parament
[004:393] [2022-07-17 14:09:56 +0000.640163][2cad]
Warning(parse_template_json.cc:81): json parament no found the parament
[004:393] [2022-07-17 14:09:56 +0000.640195][2cad]
Warning(parse_template_json.cc:67): json parament no found the parament
[004:393] [2022-07-17 14:09:56 +0000.640191][2cb1] On audio frame the broadcast
with timestamp:563027599 samples:480. (1000 frame for one log)

[004:393] [2022-07-17 14:09:56 +0000.640229][2cad]


Warning(parse_template_json.cc:93): json parament no found the duration
[004:393] [2022-07-17 14:09:56 +0000.640289][2cad] SetParamForFilter leave. expire
time = 4 ms

[004:393] [2022-07-17 14:09:56 +0000.640426][2cad] OnOutputSizeChanged width 1920


height 1080
[004:393] [2022-07-17 14:09:56 +0000.640452][2cad] OpenGLFrameBuffer: width:1920
height:1080
[004:393] [2022-07-17 14:09:56 +0000.640479][2cad] OpenGLFrameBuffer: width:1920
height:1080
[004:393] [2022-07-17 14:09:56 +0000.640525][2cad] OpenGLFrameBuffer: width:1920
height:1080
[004:393] [2022-07-17 14:09:56 +0000.640547][2cad] OpenGLFrameBuffer: width:1920
height:1080
[004:393] [2022-07-17 14:09:56 +0000.640576][2cad] OpenGLFrameBuffer: width:1920
height:1080
[004:393] [2022-07-17 14:09:56 +0000.640605][2cad] OpenGLFrameBuffer: width:1920
height:1080
[004:393] [2022-07-17 14:09:56 +0000.640630][2cad] construct TrivalImageDrawer
0x7bbeeb1280
[004:393] [2022-07-17 14:09:56 +0000.640656][2cad] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7bbeeb1280 context 0x7beb733800
[004:393] [2022-07-17 14:09:56 +0000.640681][2cad] setupGLES:
[004:394] [2022-07-17 14:09:56 +0000.641090][2cad] OpenGLRenderProgram::Initialize.
[004:394] [2022-07-17 14:09:56 +0000.641148][2cad] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[004:394] [2022-07-17 14:09:56 +0000.641176][2cad] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[004:394] [2022-07-17 14:09:56 +0000.641220][2cad] Init open gl render:
0x7beb67a198
[004:394] [2022-07-17 14:09:56 +0000.641254][2cad] Fragement shader path:
[004:394] [2022-07-17 14:09:56 +0000.641283][2cad] Fragement shader path:
[004:394] [2022-07-17 14:09:56 +0000.641311][2cad] create opengl program object.
[004:394] [2022-07-17 14:09:56 +0000.641341][2cad] create shader: vertex
[004:394] [2022-07-17 14:09:56 +0000.641538][2cad] create shader: fragment
[004:395] [2022-07-17 14:09:56 +0000.642716][2cad] Have not extra filter filename!
[004:396] [2022-07-17 14:09:56 +0000.642752][2cad] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[004:396] [2022-07-17 14:09:56 +0000.642770][2cad] OpenGLRenderProgram::Initialize
success.
[004:396] [2022-07-17 14:09:56 +0000.642824][2cad] Setup the OpenGL result:1
[004:396] [2022-07-17 14:09:56 +0000.643063][2cac] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_563027602.mp4
[004:396] [2022-07-17 14:09:56 +0000.643187][2cac] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_563027602.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[004:396] [2022-07-17 14:09:56 +0000.643267][2cac] 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
[004:396] [2022-07-17 14:09:56 +0000.643304][2cac] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_563027602.mp4
fileFD: -1
[004:396] [2022-07-17 14:09:56 +0000.643495][2d2d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bad127298
[004:396] [2022-07-17 14:09:56 +0000.643660][2cac] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_563027602.mp4
is opened successfully
[004:396] [2022-07-17 14:09:56 +0000.643721][2cac] setupMediaProcessers:
[004:396] [2022-07-17 14:09:56 +0000.643736][2cac]
RecordingSessionInternalSimple:setup media processers.
[004:397] [2022-07-17 14:09:56 +0000.643753][2cac] construct AAC encoder
[004:397] [2022-07-17 14:09:56 +0000.644181][2cac] H264Encoder creating:
superfast011818
[004:397] [2022-07-17 14:09:56 +0000.644227][2cac] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[004:398] [2022-07-17 14:09:56 +0000.644778][2cac] H264Encode::GetMachineModel is
M2012K11AG
[004:398] [2022-07-17 14:09:56 +0000.644822][2cac] H264Encoder machine_mode
is:M2012K11AG
[004:398] [2022-07-17 14:09:56 +0000.644837][2cac] H264Encode::machine size :9
machine_mode:M2012K11AG
[004:398] [2022-07-17 14:09:56 +0000.644852][2cac] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[004:398] [2022-07-17 14:09:56 +0000.644867][2cac] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[004:398] [2022-07-17 14:09:56 +0000.644881][2cac] setupCompressionSession:
[004:398] [2022-07-17 14:09:56 +0000.644895][2cac] H264Encode::creating hareware
Encoder
[004:398] [2022-07-17 14:09:56 +0000.644911][2cac] AndroidHwAvcEncoder
time:563027604 enter.

[004:398] [2022-07-17 14:09:56 +0000.645049][2cac] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007d740e4540 address:0x7ba1cc7760
[004:398] [2022-07-17 14:09:56 +0000.645185][2cac] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[004:398] [2022-07-17 14:09:56 +0000.645212][2cac] The video avc hw codec address
is 0x7bad00a0d8
[004:398] [2022-07-17 14:09:56 +0000.645271][2cac] AndroidHwAvcEncoder leave.
expire time = 0 ms

[004:398] [2022-07-17 14:09:56 +0000.645296][2cac] RegisterEncodeCompleteCallback


time:563027604 enter.

[004:398] [2022-07-17 14:09:56 +0000.645366][2d26] Get data in mic source, which


has byte length:1764micAudioStream->length():20
[004:398] [2022-07-17 14:09:56 +0000.645383][2cac] RegisterEncodeCompleteCallback
leave. expire time = 0 ms

[004:398] [2022-07-17 14:09:56 +0000.645441][2cac] InitEncode time:563027604


enter.

[004:398] [2022-07-17 14:09:56 +0000.645496][2cac] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[004:398] [2022-07-17 14:09:56 +0000.645522][2cac] Create time:563027604 enter.

[004:398] [2022-07-17 14:09:56 +0000.645547][2cac] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[004:398] [2022-07-17 14:09:56 +0000.645572][2cac]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7bad129540
[004:398] [2022-07-17 14:09:56 +0000.645624][2d26] The output timestamp from audio
mixer change:563027599
[004:398] [2022-07-17 14:09:56 +0000.645650][2d26] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:410] [2022-07-17 14:09:56 +0000.657654][2cac]
supported_type:image/vnd.android.heic
[004:411] [2022-07-17 14:09:56 +0000.657749][2cac] supported_type:video/avc
[004:411] [2022-07-17 14:09:56 +0000.657771][2cac] name:OMX.qcom.video.encoder.avc
mime:video/avc
[004:411] [2022-07-17 14:09:56 +0000.657799][2cac] hwCodecPrefix :OMX.qcom.
[004:411] [2022-07-17 14:09:56 +0000.657815][2cac] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[004:411] [2022-07-17 14:09:56 +0000.657856][2cac] mediacodec_createCodecByName
time:563027617 enter.

[004:411] [2022-07-17 14:09:56 +0000.657888][2cac] WrapAndroidMediaCodec


time:563027617 enter.
[004:411] [2022-07-17 14:09:56 +0000.658015][2cac] WrapAndroidMediaCodec leave.
expire time = 0 ms

[004:458] [2022-07-17 14:09:56 +0000.705639][2cac] mediacodec_createCodecByName


leave. expire time = 47 ms

[004:458] [2022-07-17 14:09:56 +0000.705730][2cac] WrapAndroidMediaFromat


time:563027664 enter.

[004:459] [2022-07-17 14:09:56 +0000.705801][2cac] WrapAndroidMediaFromat leave.


expire time = 1 ms

[004:499] [2022-07-17 14:09:56 +0000.746462][2cac] Destroy time:563027705 enter.

[004:499] [2022-07-17 14:09:56 +0000.746527][2cac] WrapAndroidMediaFromat::


Destroy
[004:499] [2022-07-17 14:09:56 +0000.746559][2cac] Destroy leave. expire time = 0
ms

[004:499] [2022-07-17 14:09:56 +0000.746588][2cac] ~WrapAndroidMediaFromat


time:563027705 enter.

[004:499] [2022-07-17 14:09:56 +0000.746617][2cac] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[004:499] [2022-07-17 14:09:56 +0000.746646][2cac] Create leave. expire time = 101


ms

[004:499] [2022-07-17 14:09:56 +0000.746673][2cac] isSemiPlanarSupport


time:563027705 enter.

[004:499] [2022-07-17 14:09:56 +0000.746701][2cac] H264Encoder isSemiPlanarSupport


[004:499] [2022-07-17 14:09:56 +0000.746731][2cac] isSemiPlanarSupport leave.
expire time = 0 ms

[004:500] [2022-07-17 14:09:56 +0000.746760][2cac] creat hw H264Encoder success,


isSemiPlanar:1
[004:500] [2022-07-17 14:09:56 +0000.746868][2cac] InitEncode leave. expire time =
102 ms

[004:500] [2022-07-17 14:09:56 +0000.746899][2cac] H264Encode::created Encoder


[004:500] [2022-07-17 14:09:56 +0000.746939][2cac] H264Encode:: H264 encoder
created.
[004:500] [2022-07-17 14:09:56 +0000.746971][2cac] H264 encoder created.
[004:500] [2022-07-17 14:09:56 +0000.747007][2cac]
RecordingSessionInternalSimple:created avc encoder avc: 0x7bca8517c0
[004:500] [2022-07-17 14:09:56 +0000.747044][2cac] setOutput:
[004:500] [2022-07-17 14:09:56 +0000.747084][2cac]
RecordingSessionInternalSimple:encoder set output to muxer!
[004:500] [2022-07-17 14:09:56 +0000.747103][2cac] request a key frame
[004:500] [2022-07-17 14:09:56 +0000.747136][2cac] H264Encode:: request a key frame
[004:500] [2022-07-17 14:09:56 +0000.747217][2cac] setDisplayRotate :90
[004:500] [2022-07-17 14:09:56 +0000.747245][2cac] 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
[004:500] [2022-07-17 14:09:56 +0000.747300][2cad] StartRecording:
[004:500] [2022-07-17 14:09:56 +0000.747362][2d26] operator(): Set the recording
session in mic source. recording session: 0x7bbeda1b80
[004:500] [2022-07-17 14:09:56 +0000.747434][2cad] operator() leave. expire time =
114 ms

[004:500] [2022-07-17 14:09:56 +0000.747430][2d25] AF_SpeedFilter audio


0x7bbeda1d00 PullFrame
[004:500] [2022-07-17 14:09:56 +0000.747506][2d25]
RecordAudioSource::PullAudioFrame
[004:500] [2022-07-17 14:09:56 +0000.747539][2d25] AF_SpeedFilter::PullFrame eof4
[004:502] [2022-07-17 14:09:56 +0000.749702][2d25]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[004:503] [2022-07-17 14:09:56 +0000.749781][2d25] AF_SpeedFilter audio time,
0x7bbeda1d00 rcv time: 563027708
[004:503] [2022-07-17 14:09:56 +0000.749809][2d25] AF_SpeedFilter audio time,
0x7bbeda1d00 rcv time: 563027708in_nSamples:441
[004:503] [2022-07-17 14:09:56 +0000.749893][2d25] resampled_data_size:0
[004:546] [2022-07-17 14:09:56 +0000.793091][2cad]
MediaFilterCamera::NeedProcessTexture
[004:546] [2022-07-17 14:09:56 +0000.793206][2cad] begine recode to first frame
spend time:160
[004:546] [2022-07-17 14:09:56 +0000.793227][2cad] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7bbeda1a00
[004:546] [2022-07-17 14:09:56 +0000.793263][2cad] blur_distance_:0
[004:546] [2022-07-17 14:09:56 +0000.793279][2cad] blur_direction_angle_:-90
[004:546] [2022-07-17 14:09:56 +0000.793303][2cad]
GPUImageProcessing::SetOrientation orientation: 90
[004:546] [2022-07-17 14:09:56 +0000.793324][2cad] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[004:546] [2022-07-17 14:09:56 +0000.793367][2cad] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[004:546] [2022-07-17 14:09:56 +0000.793392][2cad] GPUImageProcessing: input frame
width1920 X 1080
[004:547] [2022-07-17 14:09:56 +0000.793957][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[004:547] [2022-07-17 14:09:56 +0000.794307][2cad] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[004:547] [2022-07-17 14:09:56 +0000.794361][2cad] CropFilter::OnVideoFrame
outputtexture :8
[004:547] [2022-07-17 14:09:56 +0000.794385][2cad] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[004:548] [2022-07-17 14:09:56 +0000.795177][2cad] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[004:582] [2022-07-17 14:09:56 +0000.828813][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[004:588] [2022-07-17 14:09:56 +0000.835351][2cad] The convert RGB to YUV take 5
[004:588] [2022-07-17 14:09:56 +0000.835596][2cad] FilterPipeline2::OnVideoFrame
pts 35 last_video_timestamp_ 35
[004:588] [2022-07-17 14:09:56 +0000.835647][2cad]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[004:591] [2022-07-17 14:09:56 +0000.837755][2d2c]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[004:591] [2022-07-17 14:09:56 +0000.837800][2d2c] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[004:591] [2022-07-17 14:09:56 +0000.837841][2d2c] push video frame to H264
encoder. (100 frame for one log)

[004:591] [2022-07-17 14:09:56 +0000.837870][2d2c] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080
[004:591] [2022-07-17 14:09:56 +0000.837902][2d2c] H264Encode::push video frame to
H264 encoder, using hw H264:1 width:1920 height:1080 pts:0(100 frame for one log)

[004:591] [2022-07-17 14:09:56 +0000.837932][2d2c] Push an pts:0 to dts queue.


[004:591] [2022-07-17 14:09:56 +0000.837983][2d2c] DTS queue for
Generator:0x7bad1274b8 0
[004:591] [2022-07-17 14:09:56 +0000.838004][2d2c] The input pts:0 fps:30
[004:593] [2022-07-17 14:09:56 +0000.840060][2d2c]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[004:617] [2022-07-17 14:09:56 +0000.864399][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[004:624] [2022-07-17 14:09:56 +0000.870762][2d25] AF_SpeedFilter audio time 222,
0x7bbeda1d00 out time: 563027708 org time: 563027708
[004:624] [2022-07-17 14:09:56 +0000.870825][2d25] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[004:624] [2022-07-17 14:09:56 +0000.870849][2d25]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 563027708
[004:624] [2022-07-17 14:09:56 +0000.870868][2d25]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[004:624] [2022-07-17 14:09:56 +0000.870903][2d25] AF_SpeedFilter audio time
[004:624] [2022-07-17 14:09:56 +0000.870946][2d25] AF_SpeedFilter audio time 111,
0x7bbeda1d00 out time: 563027718 org time: 563027718
[004:625] [2022-07-17 14:09:56 +0000.871886][2d2b]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:2
[004:625] [2022-07-17 14:09:56 +0000.872251][2d2d] add aac audio track with id:1
[004:687] [2022-07-17 14:09:56 +0000.934013][2d2c] h264 add frame header cdr flag
[004:687] [2022-07-17 14:09:56 +0000.934575][2d2c] h264 add frame header cdr flag
[004:688] [2022-07-17 14:09:56 +0000.935147][2d2c] SendFrame
encodedImage._timeStamp:0encodedImage->_length:477392
[004:688] [2022-07-17 14:09:56 +0000.935181][2d2c] Received key frame:0
[004:688] [2022-07-17 14:09:56 +0000.935202][2d2c] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[004:688] [2022-07-17 14:09:56 +0000.935239][2d2c] H264Encode::H264SWEncoder get
callback, length:477392 type:0 nalType:7length:19
[004:688] [2022-07-17 14:09:56 +0000.935280][2d2c] H264Encode:: get a sps pps
header!headerSize:32
[004:688] [2022-07-17 14:09:56 +0000.935295][2d2c] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[004:688] [2022-07-17 14:09:56 +0000.935377][2d2d] get the H.264 SPS parameter
[004:688] [2022-07-17 14:09:56 +0000.935528][2d2d] add video track with id:2
[004:690] [2022-07-17 14:09:56 +0000.937192][2d2d] get the H.264 PPS parameter
[004:691] [2022-07-17 14:09:56 +0000.938568][2d2d] get the H.264 IDR frame
[004:691] [2022-07-17 14:09:56 +0000.938629][2d2d] resss:true
[004:691] [2022-07-17 14:09:56 +0000.938645][2d2d] video start ts:0
[004:692] [2022-07-17 14:09:56 +0000.938890][2d2d] the video frame has been written
into MP4 file
[004:697] [2022-07-17 14:09:56 +0000.944237][2d2d] audio start ts:0
[004:697] [2022-07-17 14:09:56 +0000.944308][2d2d] the audio frame has been written
into MP4 file
[005:027] [2022-07-17 14:09:57 +0000.273980][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[005:028] [2022-07-17 14:09:57 +0000.275451][2cad] operator(): Stop
[005:028] [2022-07-17 14:09:57 +0000.275481][2cad] StopPullFrameAndWriteMp4
time:563028234 enter.

[005:028] [2022-07-17 14:09:57 +0000.275498][2cad] StopRecording:


[005:031] [2022-07-17 14:09:57 +0000.278219][2d25] resampled_data_size:512
[005:031] [2022-07-17 14:09:57 +0000.278297][2d25] AF_SpeedFilter audio time 222,
0x7bbeda1d00 out time: 563028178 org time: 563028178
[005:031] [2022-07-17 14:09:57 +0000.278357][2d25] PullAudioFrame: PullFrame audio
finished.
[005:031] [2022-07-17 14:09:57 +0000.278376][2d25]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[005:033] [2022-07-17 14:09:57 +0000.280271][2d2c]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:14
[005:035] [2022-07-17 14:09:57 +0000.282183][2cac] stop recording
[005:035] [2022-07-17 14:09:57 +0000.282227][2cac]
RecordingSessionInternalSimple:destroy media processers
[005:035] [2022-07-17 14:09:57 +0000.282246][2cac] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[005:035] [2022-07-17 14:09:57 +0000.282290][2cac] H264Encode::flushing hareware
Encoder
[005:035] [2022-07-17 14:09:57 +0000.282496][2cac] Flush time:563028241 enter.

[005:035] [2022-07-17 14:09:57 +0000.282533][2cac] H264Encoder encoder flush


[005:035] [2022-07-17 14:09:57 +0000.282552][2cac] flush output queue
[005:214] [2022-07-17 14:09:57 +0000.461729][2cb1] haveEnoughProcessedData
internalAudioStream.length: 20
[005:349] [2022-07-17 14:09:57 +0000.596337][2cac] Flush leave. expire time = 314
ms

[005:350] [2022-07-17 14:09:57 +0000.597035][2cac] ~H264EncodeWrap:


[005:350] [2022-07-17 14:09:57 +0000.597106][2cac] ~H264Encode:
[005:350] [2022-07-17 14:09:57 +0000.597152][2cac] teardownCompressionSession:
H264Encode::destroying Encoder
[005:350] [2022-07-17 14:09:57 +0000.597196][2cac] Release time:563028556 enter.

[005:350] [2022-07-17 14:09:57 +0000.597381][2cac] Release:


MediaCodecVideoEncoder::Release _inited:1
[005:350] [2022-07-17 14:09:57 +0000.597472][2cac] Destroy time:563028556 enter.

[005:350] [2022-07-17 14:09:57 +0000.597519][2cac] H264Encoder encoderDestroy


[005:350] [2022-07-17 14:09:57 +0000.597560][2cac]
AndroidMediaCodecVideoEncoder::release env: 0x7bca851900
[005:350] [2022-07-17 14:09:57 +0000.597647][2cac]
AndroidMediaCodecVideoEncoder::Destroy
[005:371] [2022-07-17 14:09:57 +0000.618232][2cac] Destroy leave. expire time = 21
ms

[005:371] [2022-07-17 14:09:57 +0000.618406][2cac] Release leave. expire time = 21


ms

[005:371] [2022-07-17 14:09:57 +0000.618444][2cac] ~AndroidHwAvcEncoder


time:563028577 enter.

[005:371] [2022-07-17 14:09:57 +0000.618553][2cac] Release time:563028577 enter.

[005:371] [2022-07-17 14:09:57 +0000.618581][2cac] Release:


MediaCodecVideoEncoder:: has been released before, just return
[005:371] [2022-07-17 14:09:57 +0000.618616][2cac] Release leave. expire time = 0
ms

[005:371] [2022-07-17 14:09:57 +0000.618650][2cac] ~AndroidMediaCodecVideoEncoder


[005:371] [2022-07-17 14:09:57 +0000.618681][2cac] ~WrapAndroidMediaCodec
time:563028577 enter.
[005:371] [2022-07-17 14:09:57 +0000.618713][2cac] ~WrapAndroidMediaCodec leave.
expire time = 0 ms

[005:371] [2022-07-17 14:09:57 +0000.618744][2cac] video hevc hw codec


destructor:0x7bad00a0d8

[005:372] [2022-07-17 14:09:57 +0000.618798][2cac] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[005:372] [2022-07-17 14:09:57 +0000.618828][2cac] teardownCompressionSession:


H264Encode::destroyed Encoder
[005:372] [2022-07-17 14:09:57 +0000.618865][2cac]
RecordingSessionInternalSimple:destroy aac encoder output!
[005:372] [2022-07-17 14:09:57 +0000.618894][2cac] AACSWEncode destructor
[005:382] [2022-07-17 14:09:57 +0000.629151][2d2d] MP4 close file successfully
[005:382] [2022-07-17 14:09:57 +0000.629202][2d2d] Recording session Internal:
notify recording ok
[005:382] [2022-07-17 14:09:57 +0000.629215][2d2d] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_563027602.mp4,
output_video_timestamp_:432 last_video_pts_:432
[005:382] [2022-07-17 14:09:57 +0000.629233][2d2d] OnRecordFinish:
[005:382] [2022-07-17 14:09:57 +0000.629730][2d2d] onRecordingOk: net seek
pos:0record video duration:465record audio duration:441
[005:383] [2022-07-17 14:09:57 +0000.630058][2d26] destructMicSource_w:
[005:383] [2022-07-17 14:09:57 +0000.630126][2d26] setOutput_w:
MicSource::setOutput() 0x0
[005:383] [2022-07-17 14:09:57 +0000.630180][2d26] close external audio stream

[005:383] [2022-07-17 14:09:57 +0000.630335][2cad] releaseThread 0x7bbeda1400


[005:383] [2022-07-17 14:09:57 +0000.630368][2cad] ~MicSource: Mic source
destroyed:0x7beb6f6d00
[005:384] [2022-07-17 14:09:57 +0000.630810][2cad] StopPullFrameAndWriteMp4 leave.
expire time = 356 ms

[005:384] [2022-07-17 14:09:57 +0000.630835][2cad] DestroyPipelineAndFilters


time:563028590 enter.

[005:384] [2022-07-17 14:09:57 +0000.630860][2cad] UnbindInputFilter 0x7bbeda1b40


this 0x7beb67a3c0
[005:384] [2022-07-17 14:09:57 +0000.630896][2cad] UnbindInputFilter 0x7bbeda1cd8
this 0x7bbeda1e50
[005:384] [2022-07-17 14:09:57 +0000.630933][2cad] UnbindInputFilter 0x7beb67a3c0
this 0x7c3cd06020
[005:384] [2022-07-17 14:09:57 +0000.630951][2cad] filter: filter pipeline destroy
this: 0x7c3cd05f80
[005:384] [2022-07-17 14:09:57 +0000.631072][2cad] ClearVideoOfSources: recodring
total frames:0
[005:384] [2022-07-17 14:09:57 +0000.631094][2cad] ClearVideoOfSources:
[005:384] [2022-07-17 14:09:57 +0000.631124][2cad] GPUImageProcessing destruct.
[005:384] [2022-07-17 14:09:57 +0000.631167][2cad] destroy TrivalImageDrawer
0x7bbeeb1280
[005:384] [2022-07-17 14:09:57 +0000.631189][2cad] The shader has been initialize,
clean up them.

[005:384] [2022-07-17 14:09:57 +0000.631240][2cad] ~OpenGLFrameBuffer:


[005:384] [2022-07-17 14:09:57 +0000.631302][2cad] ~OpenGLFrameBuffer:
[005:384] [2022-07-17 14:09:57 +0000.631357][2cad] ~OpenGLFrameBuffer:
[005:384] [2022-07-17 14:09:57 +0000.631403][2cad] ~OpenGLFrameBuffer:
[005:384] [2022-07-17 14:09:57 +0000.631447][2cad] ~OpenGLFrameBuffer:
[005:384] [2022-07-17 14:09:57 +0000.631491][2cad] ~OpenGLFrameBuffer:
[005:384] [2022-07-17 14:09:57 +0000.631590][2cad] GPUImageProcessing destruct
finish.
[005:384] [2022-07-17 14:09:57 +0000.631641][2cad] GPURGBAFrame destruct.
[005:384] [2022-07-17 14:09:57 +0000.631671][2cad] destroy OpenGLRenderProgram
0x7beb67a198
[005:384] [2022-07-17 14:09:57 +0000.631689][2cad] ~CameraSource time:563028590
enter.

[005:384] [2022-07-17 14:09:57 +0000.631704][2cad] ~CameraSource leave. expire


time = 0 ms

[005:384] [2022-07-17 14:09:57 +0000.631722][2cad] ~RecordAudioSource


time:563028590 enter.

[005:384] [2022-07-17 14:09:57 +0000.631737][2cad] ~RecordAudioSource leave.


expire time = 0 ms

[005:385] [2022-07-17 14:09:57 +0000.631753][2cad] DestroyPipelineAndFilters


leave. expire time = 1 ms

[006:156] [2022-07-17 14:09:58 +0000.402899][2cb1] Run AGC when audioType = 0


[006:914] [2022-07-17 14:09:59 +0000.161092][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[008:156] [2022-07-17 14:10:00 +0000.403522][2cb1] Run AGC when audioType = 0
[008:157] [2022-07-17 14:10:00 +0000.404221][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:625] [2022-07-17 14:10:00 +0000.872038][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[010:152] [2022-07-17 14:10:02 +0000.399199][2cb2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:152] [2022-07-17 14:10:02 +0000.399367][2cb2] _deviceSampleRate:48000

[010:157] [2022-07-17 14:10:02 +0000.404400][2cb1] Run AGC when audioType = 0


[010:334] [2022-07-17 14:10:02 +0000.580859][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[012:065] [2022-07-17 14:10:04 +0000.312164][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[012:154] [2022-07-17 14:10:04 +0000.401439][2cb1] Run AGC when audioType = 0
[012:154] [2022-07-17 14:10:04 +0000.401704][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[013:777] [2022-07-17 14:10:06 +0000.24121][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[014:157] [2022-07-17 14:10:06 +0000.403855][2cb1] Run AGC when audioType = 0
[015:501] [2022-07-17 14:10:07 +0000.748489][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[015:825] [2022-07-17 14:10:08 +0000.72297][2642] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[015:825] [2022-07-17 14:10:08 +0000.72357][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[015:825] [2022-07-17 14:10:08 +0000.72543][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[015:825] [2022-07-17 14:10:08 +0000.72663][2cad] operator() time:563039031 enter.
[015:825] [2022-07-17 14:10:08 +0000.72732][2cad] MediaFilterCamera, recording
file context:0x7beb7ee580 input texture:6
[015:827] [2022-07-17 14:10:08 +0000.73958][2cad] MicSource: Mic source
created:10x7beb6f6d00
[015:827] [2022-07-17 14:10:08 +0000.74296][2cad] alloc thread: 0x7bbeda1a00
name:worker1 thread id:531772341424 to Mic_source
[015:827] [2022-07-17 14:10:08 +0000.74344][2cad] audio: start the audio sender
thread.

[015:827] [2022-07-17 14:10:08 +0000.74402][2cad] construct OpenGLRenderProgram


0x7beb67a198
[015:827] [2022-07-17 14:10:08 +0000.74424][2cad] CropFilter::SetOrientation
orientation: 90
[015:827] [2022-07-17 14:10:08 +0000.74550][2cad] filter: filter pipeline construtc
this: 0x7c3cbe3ac0
[015:827] [2022-07-17 14:10:08 +0000.74577][2cad] filter: filter pipeline2 update
pattern: 1
[015:827] [2022-07-17 14:10:08 +0000.74610][2cad] CameraSource::source_id_:3
[015:827] [2022-07-17 14:10:08 +0000.74639][2cad] RecordAudioSource::source_id_:4
[015:828] [2022-07-17 14:10:08 +0000.74749][2cad] BindInputFilter 0x7bbef214c0
this 0x7beb67a3c0
[015:828] [2022-07-17 14:10:08 +0000.74780][2cad] BindInputFilter 0x7bbef21658
this 0x7bbef211d0
[015:828] [2022-07-17 14:10:08 +0000.74833][2cad] BindInputFilter 0x7beb67a3c0
this 0x7c3cbe3b60
[015:828] [2022-07-17 14:10:08 +0000.74882][2cad] setParamentForFilters:
speed:1.000000
[015:828] [2022-07-17 14:10:08 +0000.74904][2cad] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[015:828] [2022-07-17 14:10:08 +0000.74931][2cad] SetParamForFilter time:563039034
enter.

[015:828] [2022-07-17 14:10:08 +0000.75003][2cad] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[015:828] [2022-07-17 14:10:08 +0000.75028][2cad] SetParamForFilter: Params video
index is: 0
[015:828] [2022-07-17 14:10:08 +0000.75061][2cad] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[015:828] [2022-07-17 14:10:08 +0000.75097][2cad] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[015:828] [2022-07-17 14:10:08 +0000.75131][2cad] crop filter mode tpye:
citytravelvideo index:0
[015:839] [2022-07-17 14:10:08 +0000.86516][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[015:843] [2022-07-17 14:10:08 +0000.89865][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:843] [2022-07-17 14:10:08 +0000.89918][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:843] [2022-07-17 14:10:08 +0000.89934][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:843] [2022-07-17 14:10:08 +0000.89961][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:843] [2022-07-17 14:10:08 +0000.89994][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:843] [2022-07-17 14:10:08 +0000.90026][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:843] [2022-07-17 14:10:08 +0000.90057][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:843] [2022-07-17 14:10:08 +0000.90110][2cad]
Warning(parse_template_json.cc:81): json parament no found the parament
[015:843] [2022-07-17 14:10:08 +0000.90125][2cad]
Warning(parse_template_json.cc:81): json parament no found the parament
[015:843] [2022-07-17 14:10:08 +0000.90139][2cad]
Warning(parse_template_json.cc:67): json parament no found the parament
[015:843] [2022-07-17 14:10:08 +0000.90153][2cad]
Warning(parse_template_json.cc:93): json parament no found the duration
[015:843] [2022-07-17 14:10:08 +0000.90171][2cad] SetParamForFilter leave. expire
time = 15 ms

[015:843] [2022-07-17 14:10:08 +0000.90222][2cad] OnOutputSizeChanged width 1920


height 1080
[015:843] [2022-07-17 14:10:08 +0000.90240][2cad] OpenGLFrameBuffer: width:1920
height:1080
[015:843] [2022-07-17 14:10:08 +0000.90257][2cad] OpenGLFrameBuffer: width:1920
height:1080
[015:843] [2022-07-17 14:10:08 +0000.90271][2cad] OpenGLFrameBuffer: width:1920
height:1080
[015:843] [2022-07-17 14:10:08 +0000.90286][2cad] OpenGLFrameBuffer: width:1920
height:1080
[015:843] [2022-07-17 14:10:08 +0000.90301][2cad] OpenGLFrameBuffer: width:1920
height:1080
[015:843] [2022-07-17 14:10:08 +0000.90315][2cad] OpenGLFrameBuffer: width:1920
height:1080
[015:843] [2022-07-17 14:10:08 +0000.90330][2cad] construct TrivalImageDrawer
0x7bbeeb4480
[015:843] [2022-07-17 14:10:08 +0000.90344][2cad] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7bbeeb4480 context 0x7beb733800
[015:843] [2022-07-17 14:10:08 +0000.90360][2cad] setupGLES:
[015:843] [2022-07-17 14:10:08 +0000.90548][2cad] OpenGLRenderProgram::Initialize.
[015:843] [2022-07-17 14:10:08 +0000.90581][2cad] The version of the OpenGL: OpenGL
ES GLSL ES 3.20
[015:843] [2022-07-17 14:10:08 +0000.90615][2cad] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[015:843] [2022-07-17 14:10:08 +0000.90694][2cad] Init open gl render: 0x7beb67a198
[015:843] [2022-07-17 14:10:08 +0000.90740][2cad] Fragement shader path:
[015:844] [2022-07-17 14:10:08 +0000.90760][2cad] Fragement shader path:
[015:844] [2022-07-17 14:10:08 +0000.90775][2cad] create opengl program object.
[015:844] [2022-07-17 14:10:08 +0000.90790][2cad] create shader: vertex
[015:844] [2022-07-17 14:10:08 +0000.90884][2cad] create shader: fragment
[015:845] [2022-07-17 14:10:08 +0000.91817][2cad] Have not extra filter filename!
[015:845] [2022-07-17 14:10:08 +0000.91849][2cad] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[015:845] [2022-07-17 14:10:08 +0000.91884][2cad] OpenGLRenderProgram::Initialize
success.
[015:845] [2022-07-17 14:10:08 +0000.91915][2cad] Setup the OpenGL result:1
[015:845] [2022-07-17 14:10:08 +0000.92119][2cac] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4
[015:845] [2022-07-17 14:10:08 +0000.92222][2cac] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[015:845] [2022-07-17 14:10:08 +0000.92237][2e72] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bad127298
[015:845] [2022-07-17 14:10:08 +0000.92255][2cac] 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
[015:845] [2022-07-17 14:10:08 +0000.92324][2cac] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4
fileFD: -1
[015:845] [2022-07-17 14:10:08 +0000.92643][2cac] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4
is opened successfully
[015:845] [2022-07-17 14:10:08 +0000.92670][2cac] setupMediaProcessers:
[015:845] [2022-07-17 14:10:08 +0000.92685][2cac]
RecordingSessionInternalSimple:setup media processers.
[015:845] [2022-07-17 14:10:08 +0000.92729][2cac] construct AAC encoder
[015:846] [2022-07-17 14:10:08 +0000.92952][2cac] H264Encoder creating:
superfast011818
[015:846] [2022-07-17 14:10:08 +0000.92988][2cac] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[015:846] [2022-07-17 14:10:08 +0000.93468][2cac] H264Encode::GetMachineModel is
M2012K11AG
[015:846] [2022-07-17 14:10:08 +0000.93502][2cac] H264Encoder machine_mode
is:M2012K11AG
[015:846] [2022-07-17 14:10:08 +0000.93518][2cac] H264Encode::machine size :9
machine_mode:M2012K11AG
[015:846] [2022-07-17 14:10:08 +0000.93543][2cac] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[015:846] [2022-07-17 14:10:08 +0000.93572][2cac] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[015:846] [2022-07-17 14:10:08 +0000.93600][2cac] setupCompressionSession:
[015:846] [2022-07-17 14:10:08 +0000.93628][2cac] H264Encode::creating hareware
Encoder
[015:846] [2022-07-17 14:10:08 +0000.93657][2cac] AndroidHwAvcEncoder
time:563039052 enter.

[015:847] [2022-07-17 14:10:08 +0000.93816][2cac] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007d740e4540 address:0x7ba1cc7760
[015:847] [2022-07-17 14:10:08 +0000.93903][2cac] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[015:847] [2022-07-17 14:10:08 +0000.93928][2cac] The video avc hw codec address is
0x7bad00a2c0
[015:847] [2022-07-17 14:10:08 +0000.93988][2cac] AndroidHwAvcEncoder leave.
expire time = 1 ms

[015:847] [2022-07-17 14:10:08 +0000.94020][2cac] RegisterEncodeCompleteCallback


time:563039053 enter.

[015:847] [2022-07-17 14:10:08 +0000.94088][2cac] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[015:847] [2022-07-17 14:10:08 +0000.94123][2cac] InitEncode time:563039053 enter.

[015:847] [2022-07-17 14:10:08 +0000.94204][2cac] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[015:847] [2022-07-17 14:10:08 +0000.94232][2cac] Create time:563039053 enter.

[015:847] [2022-07-17 14:10:08 +0000.94264][2cac] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[015:847] [2022-07-17 14:10:08 +0000.94295][2cac]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7bca63e700
[015:847] [2022-07-17 14:10:08 +0000.94425][2cac]
supported_type:image/vnd.android.heic
[015:847] [2022-07-17 14:10:08 +0000.94466][2cac] supported_type:video/avc
[015:847] [2022-07-17 14:10:08 +0000.94492][2cac] name:OMX.qcom.video.encoder.avc
mime:video/avc
[015:847] [2022-07-17 14:10:08 +0000.94532][2cac] hwCodecPrefix :OMX.qcom.
[015:847] [2022-07-17 14:10:08 +0000.94565][2cac] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[015:847] [2022-07-17 14:10:08 +0000.94600][2cac] mediacodec_createCodecByName
time:563039053 enter.

[015:847] [2022-07-17 14:10:08 +0000.94632][2cac] WrapAndroidMediaCodec


time:563039053 enter.

[015:848] [2022-07-17 14:10:08 +0000.94751][2cac] WrapAndroidMediaCodec leave.


expire time = 1 ms

[015:861] [2022-07-17 14:10:08 +0000.108228][2cac] mediacodec_createCodecByName


leave. expire time = 14 ms

[015:861] [2022-07-17 14:10:08 +0000.108295][2cac] WrapAndroidMediaFromat


time:563039067 enter.

[015:861] [2022-07-17 14:10:08 +0000.108345][2cac] WrapAndroidMediaFromat leave.


expire time = 0 ms
[015:905] [2022-07-17 14:10:08 +0000.152455][2cac] Destroy time:563039111 enter.

[015:905] [2022-07-17 14:10:08 +0000.152520][2cac] WrapAndroidMediaFromat::


Destroy
[015:905] [2022-07-17 14:10:08 +0000.152546][2cac] Destroy leave. expire time = 0
ms

[015:905] [2022-07-17 14:10:08 +0000.152595][2cac] ~WrapAndroidMediaFromat


time:563039111 enter.

[015:905] [2022-07-17 14:10:08 +0000.152642][2cac] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[015:905] [2022-07-17 14:10:08 +0000.152682][2cac] Create leave. expire time = 58


ms

[015:905] [2022-07-17 14:10:08 +0000.152721][2cac] isSemiPlanarSupport


time:563039111 enter.

[015:906] [2022-07-17 14:10:08 +0000.152904][2cac] H264Encoder isSemiPlanarSupport


[015:906] [2022-07-17 14:10:08 +0000.152947][2cac] isSemiPlanarSupport leave.
expire time = 1 ms

[015:906] [2022-07-17 14:10:08 +0000.152970][2cac] creat hw H264Encoder success,


isSemiPlanar:1
[015:906] [2022-07-17 14:10:08 +0000.153078][2cac] InitEncode leave. expire time =
59 ms

[015:906] [2022-07-17 14:10:08 +0000.153114][2cac] H264Encode::created Encoder


[015:906] [2022-07-17 14:10:08 +0000.153155][2cac] H264Encode:: H264 encoder
created.
[015:906] [2022-07-17 14:10:08 +0000.153193][2cac] H264 encoder created.
[015:906] [2022-07-17 14:10:08 +0000.153231][2cac]
RecordingSessionInternalSimple:created avc encoder avc: 0x7bca851900
[015:906] [2022-07-17 14:10:08 +0000.153268][2cac] setOutput:
[015:906] [2022-07-17 14:10:08 +0000.153301][2cac]
RecordingSessionInternalSimple:encoder set output to muxer!
[015:906] [2022-07-17 14:10:08 +0000.153336][2cac] request a key frame
[015:906] [2022-07-17 14:10:08 +0000.153370][2cac] H264Encode:: request a key frame
[015:906] [2022-07-17 14:10:08 +0000.153475][2cac] setDisplayRotate :90
[015:906] [2022-07-17 14:10:08 +0000.153507][2cac] 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
[015:906] [2022-07-17 14:10:08 +0000.153567][2cad] StartRecording:
[015:907] [2022-07-17 14:10:08 +0000.153843][2e6c] operator(): Set the recording
session in mic source. recording session: 0x7bbef21500
[015:907] [2022-07-17 14:10:08 +0000.154111][2cad] operator() leave. expire time =
82 ms

[015:973] [2022-07-17 14:10:08 +0000.219885][2cad] begine recode to first frame


spend time:148
[015:973] [2022-07-17 14:10:08 +0000.219999][2cad]
GPUImageProcessing::SetOrientation orientation: 90
[015:974] [2022-07-17 14:10:08 +0000.220876][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[015:976] [2022-07-17 14:10:08 +0000.223259][2cad] The read pixel from buffer take:
2 width:1920 height:1080 frameType:0
[016:007] [2022-07-17 14:10:08 +0000.254161][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[016:016] [2022-07-17 14:10:08 +0000.263252][2e71]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[016:039] [2022-07-17 14:10:08 +0000.286664][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[016:042] [2022-07-17 14:10:08 +0000.289738][2cad] The convert RGB to YUV take 2
[016:046] [2022-07-17 14:10:08 +0000.293096][2e72] add aac audio track with id:1
[016:124] [2022-07-17 14:10:08 +0000.370925][2e72] audio start ts:0
[016:124] [2022-07-17 14:10:08 +0000.371062][2e72] the audio frame has been written
into MP4 file
[016:146] [2022-07-17 14:10:08 +0000.393618][2e71] h264 add frame header cdr flag
[016:147] [2022-07-17 14:10:08 +0000.394134][2e71] h264 add frame header cdr flag
[016:148] [2022-07-17 14:10:08 +0000.394831][2e71] Received key frame:0
[016:148] [2022-07-17 14:10:08 +0000.394883][2e71] H264Encode:: get a sps pps
header!headerSize:32
[016:148] [2022-07-17 14:10:08 +0000.394965][2e72] get the H.264 SPS parameter
[016:148] [2022-07-17 14:10:08 +0000.395147][2e72] add video track with id:2
[016:149] [2022-07-17 14:10:08 +0000.396671][2e72] get the H.264 PPS parameter
[016:152] [2022-07-17 14:10:08 +0000.399147][2e72] get the H.264 IDR frame
[016:152] [2022-07-17 14:10:08 +0000.399236][2e72] resss:true
[016:152] [2022-07-17 14:10:08 +0000.399253][2e72] video start ts:0
[016:152] [2022-07-17 14:10:08 +0000.399444][2e72] the video frame has been written
into MP4 file
[016:159] [2022-07-17 14:10:08 +0000.405864][2cb1] Run AGC when audioType = 0
[016:159] [2022-07-17 14:10:08 +0000.406068][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:348] [2022-07-17 14:10:08 +0000.594969][2e71] DTS queue for
Generator:0x7bad1274b8 332
[016:473] [2022-07-17 14:10:08 +0000.720126][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[016:544] [2022-07-17 14:10:08 +0000.791539][2cad] The convert RGB to YUV take 3
[016:844] [2022-07-17 14:10:09 +0000.90864][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[016:878] [2022-07-17 14:10:09 +0000.125561][2e71] Push an pts:865 to dts queue.
[016:912] [2022-07-17 14:10:09 +0000.159321][2e71] last dts:831 currentPts:865
ppsOrSPS:0 queue length:2
[016:970] [2022-07-17 14:10:09 +0000.217192][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[016:992] [2022-07-17 14:10:09 +0000.239369][2e6a] AF_SpeedFilter audio
0x7bbef21080 PullFrame
[017:046] [2022-07-17 14:10:09 +0000.293406][2cad] The convert RGB to YUV take 5
[017:180] [2022-07-17 14:10:09 +0000.426904][2e71] DTS queue for
Generator:0x7bad1274b8 1164
[017:229] [2022-07-17 14:10:09 +0000.475883][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[017:266] [2022-07-17 14:10:09 +0000.513514][2e6a]
RecordAudioSource::PullAudioFrame
[017:476] [2022-07-17 14:10:09 +0000.723252][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[017:536] [2022-07-17 14:10:09 +0000.783630][2cad] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[017:543] [2022-07-17 14:10:09 +0000.790003][2cad] The convert RGB to YUV take 5
[017:724] [2022-07-17 14:10:09 +0000.971656][2e6a] AF_SpeedFilter::PullFrame eof4
[017:728] [2022-07-17 14:10:09 +0000.975083][2e6a] resampled_data_size:3584
[017:730] [2022-07-17 14:10:09 +0000.977260][2e6a]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[017:841] [2022-07-17 14:10:10 +0000.88207][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[017:917] [2022-07-17 14:10:10 +0000.164423][2e70]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 1857queue_audio_frame_:3
[017:972] [2022-07-17 14:10:10 +0000.219123][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[018:013] [2022-07-17 14:10:10 +0000.260130][2e71] DTS queue for
Generator:0x7bad1274b8 1998
[018:044] [2022-07-17 14:10:10 +0000.290810][2cad] The convert RGB to YUV take 5
[018:048] [2022-07-17 14:10:10 +0000.295002][2e71] h264 add frame header cdr flag
[018:048] [2022-07-17 14:10:10 +0000.295597][2e71] Received key frame:1998
[018:080] [2022-07-17 14:10:10 +0000.327545][2e72] get the H.264 IDR frame
[018:153] [2022-07-17 14:10:10 +0000.399927][2cb1] Run AGC when audioType = 0
[018:212] [2022-07-17 14:10:10 +0000.459522][2e71] Push an pts:2200 to dts queue.
[018:247] [2022-07-17 14:10:10 +0000.494113][2e71] last dts:2164 currentPts:2200
ppsOrSPS:0 queue length:2
[018:468] [2022-07-17 14:10:10 +0000.715599][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[018:550] [2022-07-17 14:10:10 +0000.797716][2cad] The convert RGB to YUV take 4
[018:641] [2022-07-17 14:10:10 +0000.887980][2e6a] AF_SpeedFilter audio
0x7bbef21080 PullFrame
[018:813] [2022-07-17 14:10:11 +0000.60463][2e71] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2762 pts:2762
[018:836] [2022-07-17 14:10:11 +0000.83706][2cad] GPUImageProcessing: process video
frame with resolution 1920 X 1080
[018:837] [2022-07-17 14:10:11 +0000.83783][2cad] GPUImageProcessing: input frame
width1920 X 1080
[018:837] [2022-07-17 14:10:11 +0000.84164][2cad] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[018:837] [2022-07-17 14:10:11 +0000.84292][2cad] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[018:839] [2022-07-17 14:10:11 +0000.85875][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[018:846] [2022-07-17 14:10:11 +0000.93436][2e71] DTS queue for
Generator:0x7bad1274b8 2797 2831
[018:875] [2022-07-17 14:10:11 +0000.122087][2e71]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:2865
[018:905] [2022-07-17 14:10:11 +0000.152082][2e71] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:2895
[018:905] [2022-07-17 14:10:11 +0000.152235][2e71] push video frame to H264
encoder. (100 frame for one log)

[018:905] [2022-07-17 14:10:11 +0000.152619][2e71] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[018:905] [2022-07-17 14:10:11 +0000.152692][2e71] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:2895(100 frame for one
log)

[018:906] [2022-07-17 14:10:11 +0000.152906][2e71] The input pts:2895 fps:30


[018:909] [2022-07-17 14:10:11 +0000.156699][2e71] SendFrame
encodedImage._timeStamp:2865encodedImage->_length:119552
[018:939] [2022-07-17 14:10:11 +0000.186472][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[018:945] [2022-07-17 14:10:11 +0000.192739][2e71] H264Encode::H264SWEncoder get
callback, length:86096 type:1 nalType:1length:86092
[018:971] [2022-07-17 14:10:11 +0000.217783][2cad] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[019:047] [2022-07-17 14:10:11 +0000.294434][2cad] The convert RGB to YUV take 3
[019:186] [2022-07-17 14:10:11 +0000.433691][2e6a]
RecordAudioSource::PullAudioFrame
[019:269] [2022-07-17 14:10:11 +0000.516290][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[019:469] [2022-07-17 14:10:11 +0000.716019][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[019:543] [2022-07-17 14:10:11 +0000.789974][2cad] The convert RGB to YUV take 4
[019:545] [2022-07-17 14:10:11 +0000.791776][2e71] Push an pts:3532 to dts queue.
[019:580] [2022-07-17 14:10:11 +0000.827755][2e71] last dts:3499 currentPts:3532
ppsOrSPS:0 queue length:2
[019:610] [2022-07-17 14:10:11 +0000.857667][2cad] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[019:675] [2022-07-17 14:10:11 +0000.921810][2e71] DTS queue for
Generator:0x7bad1274b8 3629 3662
[019:841] [2022-07-17 14:10:12 +0000.88618][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[019:907] [2022-07-17 14:10:12 +0000.153917][2e6a] resampled_data_size:15872
[019:969] [2022-07-17 14:10:12 +0000.215781][2cad] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[020:037] [2022-07-17 14:10:12 +0000.284600][2cad] The convert RGB to YUV take 1
[020:043] [2022-07-17 14:10:12 +0000.289889][2e71] h264 add frame header cdr flag
[020:043] [2022-07-17 14:10:12 +0000.290235][2e71] Received key frame:3996
[020:077] [2022-07-17 14:10:12 +0000.324185][2e72] get the H.264 IDR frame
[020:104] [2022-07-17 14:10:12 +0000.351042][2e6a] AF_SpeedFilter::PullFrame eof4
[020:108] [2022-07-17 14:10:12 +0000.355327][2e6a]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[020:153] [2022-07-17 14:10:12 +0000.400369][2cb2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:153] [2022-07-17 14:10:12 +0000.400485][2cb2] _deviceSampleRate:48000

[020:158] [2022-07-17 14:10:12 +0000.405505][2cb1] Run AGC when audioType = 0


[020:158] [2022-07-17 14:10:12 +0000.405696][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:287] [2022-07-17 14:10:12 +0000.534049][2e6a] AF_SpeedFilter audio
0x7bbef21080 PullFrame
[020:290] [2022-07-17 14:10:12 +0000.537133][2e70]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4179queue_audio_frame_:7
[020:468] [2022-07-17 14:10:12 +0000.714946][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[020:475] [2022-07-17 14:10:12 +0000.722353][2e71] DTS queue for
Generator:0x7bad1274b8 4462
[020:542] [2022-07-17 14:10:12 +0000.789371][2cad] The convert RGB to YUV take 7
[020:657] [2022-07-17 14:10:12 +0000.904603][2cb1] haveEnoughProcessedData
internalAudioStream.length: 20
[020:835] [2022-07-17 14:10:13 +0000.82094][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[020:870] [2022-07-17 14:10:13 +0000.117189][2e71] Push an pts:4860 to dts queue.
[020:906] [2022-07-17 14:10:13 +0000.153192][2e71] last dts:4826 currentPts:4860
ppsOrSPS:0 queue length:2
[020:968] [2022-07-17 14:10:13 +0000.214889][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[021:045] [2022-07-17 14:10:13 +0000.291841][2cad] The convert RGB to YUV take 3
[021:099] [2022-07-17 14:10:13 +0000.346067][2e6a]
RecordAudioSource::PullAudioFrame
[021:312] [2022-07-17 14:10:13 +0000.559310][2e71] DTS queue for
Generator:0x7bad1274b8 5298
[021:468] [2022-07-17 14:10:13 +0000.715418][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[021:537] [2022-07-17 14:10:13 +0000.783840][2cad] The convert RGB to YUV take 5
[021:704] [2022-07-17 14:10:13 +0000.951061][2cad] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[021:840] [2022-07-17 14:10:14 +0000.87731][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[021:906] [2022-07-17 14:10:14 +0000.153082][2e6a] AF_SpeedFilter audio
0x7bbef21080 PullFrame
[021:968] [2022-07-17 14:10:14 +0000.214783][2cad] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[022:040] [2022-07-17 14:10:14 +0000.287380][2cad] The convert RGB to YUV take 5
[022:044] [2022-07-17 14:10:14 +0000.291432][2e71] h264 add frame header cdr flag
[022:045] [2022-07-17 14:10:14 +0000.291787][2e71] Received key frame:5994
[022:077] [2022-07-17 14:10:14 +0000.324084][2e72] get the H.264 IDR frame
[022:139] [2022-07-17 14:10:14 +0000.385964][2e71] DTS queue for
Generator:0x7bad1274b8 6094 6128
[022:156] [2022-07-17 14:10:14 +0000.403696][2cb1] Run AGC when audioType = 0
[022:164] [2022-07-17 14:10:14 +0000.411330][2e6a] resampled_data_size:6656
[022:180] [2022-07-17 14:10:14 +0000.427704][2e71] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6128 pts:6128
[022:197] [2022-07-17 14:10:14 +0000.444743][2cad] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[022:198] [2022-07-17 14:10:14 +0000.444957][2cad] GPUImageProcessing: input frame
width1920 X 1080
[022:199] [2022-07-17 14:10:14 +0000.446040][2cad] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[022:199] [2022-07-17 14:10:14 +0000.446136][2cad] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[022:204] [2022-07-17 14:10:14 +0000.451681][2e71]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6192
[022:205] [2022-07-17 14:10:14 +0000.451777][2e71] Push an pts:6192 to dts queue.
[022:241] [2022-07-17 14:10:14 +0000.487951][2e71] SendFrame
encodedImage._timeStamp:6192encodedImage->_length:128160
[022:241] [2022-07-17 14:10:14 +0000.488084][2e71] last dts:6167 currentPts:6192
ppsOrSPS:0 queue length:2
[022:273] [2022-07-17 14:10:14 +0000.520135][2e71] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6262
[022:273] [2022-07-17 14:10:14 +0000.520349][2e71] push video frame to H264
encoder. (100 frame for one log)

[022:273] [2022-07-17 14:10:14 +0000.520376][2e71] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[022:273] [2022-07-17 14:10:14 +0000.520402][2e71] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6262(100 frame for one
log)

[022:273] [2022-07-17 14:10:14 +0000.520436][2e71] The input pts:6262 fps:30


[022:309] [2022-07-17 14:10:14 +0000.556150][2e71] H264Encode::H264SWEncoder get
callback, length:119760 type:1 nalType:1length:119756
[022:374] [2022-07-17 14:10:14 +0000.621014][2cb1] haveEnoughProcessedData
internalAudioStream.length: 20
[022:459] [2022-07-17 14:10:14 +0000.706468][2e6a] AF_SpeedFilter::PullFrame eof4
[022:464] [2022-07-17 14:10:14 +0000.711374][2e6a]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[022:468] [2022-07-17 14:10:14 +0000.714771][2cad] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[022:543] [2022-07-17 14:10:14 +0000.790065][2cad] The convert RGB to YUV take 6
[022:544] [2022-07-17 14:10:14 +0000.791062][2e70]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6501queue_audio_frame_:1
[022:600] [2022-07-17 14:10:14 +0000.846967][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[022:844] [2022-07-17 14:10:15 +0000.91073][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[022:964] [2022-07-17 14:10:15 +0000.210819][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[022:969] [2022-07-17 14:10:15 +0000.216299][2e71] DTS queue for
Generator:0x7bad1274b8 6927 6958
[023:016] [2022-07-17 14:10:15 +0000.263484][2e6a]
RecordAudioSource::PullAudioFrame
[023:033] [2022-07-17 14:10:15 +0000.280489][2cad] The convert RGB to YUV take 3
[023:461] [2022-07-17 14:10:15 +0000.708192][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[023:535] [2022-07-17 14:10:15 +0000.781900][2e6a] AF_SpeedFilter audio
0x7bbef21080 PullFrame
[023:537] [2022-07-17 14:10:15 +0000.784527][2cad] The convert RGB to YUV take 5
[023:539] [2022-07-17 14:10:15 +0000.786210][2e71] Push an pts:7525 to dts queue.
[023:573] [2022-07-17 14:10:15 +0000.819908][2e71] last dts:7490 currentPts:7525
ppsOrSPS:0 queue length:2
[023:766] [2022-07-17 14:10:16 +0000.13070][2cad] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3984 diff: 17
[023:798] [2022-07-17 14:10:16 +0000.45579][2e71] DTS queue for
Generator:0x7bad1274b8 7756 7789
[023:840] [2022-07-17 14:10:16 +0000.87066][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[023:965] [2022-07-17 14:10:16 +0000.211967][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[024:039] [2022-07-17 14:10:16 +0000.286290][2cad] The convert RGB to YUV take 3
[024:043] [2022-07-17 14:10:16 +0000.290563][2e71] h264 add frame header cdr flag
[024:044] [2022-07-17 14:10:16 +0000.291084][2e71] Received key frame:7988
[024:078] [2022-07-17 14:10:16 +0000.324998][2e72] get the H.264 IDR frame
[024:094] [2022-07-17 14:10:16 +0000.341244][2cb1] haveEnoughProcessedData
internalAudioStream.length: 10
[024:156] [2022-07-17 14:10:16 +0000.403162][2cb1] Run AGC when audioType = 0
[024:156] [2022-07-17 14:10:16 +0000.403274][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:359] [2022-07-17 14:10:16 +0000.606099][2e6a] resampled_data_size:0
[024:464] [2022-07-17 14:10:16 +0000.711532][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[024:533] [2022-07-17 14:10:16 +0000.779938][2cad] The convert RGB to YUV take 2
[024:604] [2022-07-17 14:10:16 +0000.851357][2e71] DTS queue for
Generator:0x7bad1274b8 8591
[024:787] [2022-07-17 14:10:17 +0000.34520][2e6a] AF_SpeedFilter::PullFrame eof4
[024:792] [2022-07-17 14:10:17 +0000.38899][2e6a]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[024:795] [2022-07-17 14:10:17 +0000.42318][2e6c] The output timestamp from audio
mixer change:563048001
[024:834] [2022-07-17 14:10:17 +0000.81631][2cb1] On audio frame the broadcast with
timestamp:563048040 samples:480. (1000 frame for one log)

[024:839] [2022-07-17 14:10:17 +0000.85958][2e6c] Get data in mic source, which has
byte length:1764micAudioStream->length():20
[024:839] [2022-07-17 14:10:17 +0000.86073][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[024:868] [2022-07-17 14:10:17 +0000.115632][2e71] Push an pts:8856 to dts queue.
[024:884] [2022-07-17 14:10:17 +0000.131011][2e70]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 8823queue_audio_frame_:4
[024:906] [2022-07-17 14:10:17 +0000.153045][2e6a]
RecordAudioSource::PullAudioFrame
[024:909] [2022-07-17 14:10:17 +0000.155782][2e71] last dts:8822 currentPts:8856
ppsOrSPS:0 queue length:2
[024:964] [2022-07-17 14:10:17 +0000.211167][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[025:035] [2022-07-17 14:10:17 +0000.282442][2cad] The convert RGB to YUV take 3
[025:164] [2022-07-17 14:10:17 +0000.411245][2e6a] AF_SpeedFilter audio
0x7bbef21080 PullFrame
[025:381] [2022-07-17 14:10:17 +0000.628238][2e6a] AF_SpeedFilter audio time,
0x7bbef21080 rcv time: 563048582
[025:381] [2022-07-17 14:10:17 +0000.628334][2e6a] AF_SpeedFilter audio time,
0x7bbef21080 rcv time: 563048582in_nSamples:441
[025:438] [2022-07-17 14:10:17 +0000.685044][2e71] DTS queue for
Generator:0x7bad1274b8 9423
[025:461] [2022-07-17 14:10:17 +0000.708596][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[025:467] [2022-07-17 14:10:17 +0000.713931][2e6a] FilterPipeline2::OnAudioFrame
pts 9470 last_audio_timestamp_ 9470
[025:467] [2022-07-17 14:10:17 +0000.714060][2e6a]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 563048578
[025:467] [2022-07-17 14:10:17 +0000.714103][2e6a]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[025:535] [2022-07-17 14:10:17 +0000.781988][2cad] The convert RGB to YUV take 4
[025:537] [2022-07-17 14:10:17 +0000.783761][2e71]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:9523
[025:538] [2022-07-17 14:10:17 +0000.785500][2e71] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:9490 pts:9490
[025:563] [2022-07-17 14:10:17 +0000.810686][2cad] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[025:564] [2022-07-17 14:10:17 +0000.810815][2cad] GPUImageProcessing: input frame
width1920 X 1080
[025:564] [2022-07-17 14:10:17 +0000.811268][2cad] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[025:564] [2022-07-17 14:10:17 +0000.811426][2cad] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[025:573] [2022-07-17 14:10:17 +0000.820742][2e71] SendFrame
encodedImage._timeStamp:9523encodedImage->_length:85248
[025:634] [2022-07-17 14:10:17 +0000.881607][2e71] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:9623
[025:634] [2022-07-17 14:10:17 +0000.881704][2e71] push video frame to H264
encoder. (100 frame for one log)

[025:635] [2022-07-17 14:10:17 +0000.881757][2e71] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[025:635] [2022-07-17 14:10:17 +0000.881788][2e71] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:9623(100 frame for one
log)

[025:635] [2022-07-17 14:10:17 +0000.881823][2e71] The input pts:9623 fps:30


[025:679] [2022-07-17 14:10:17 +0000.925996][2e71] H264Encode::H264SWEncoder get
callback, length:137536 type:1 nalType:1length:137532
[025:813] [2022-07-17 14:10:18 +0000.60548][2cb1] haveEnoughProcessedData
internalAudioStream.length: 20
[025:839] [2022-07-17 14:10:18 +0000.86563][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[025:863] [2022-07-17 14:10:18 +0000.110601][2cad] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4980 diff: 21
[025:932] [2022-07-17 14:10:18 +0000.178900][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[025:964] [2022-07-17 14:10:18 +0000.211291][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[026:034] [2022-07-17 14:10:18 +0000.280868][2cad] The convert RGB to YUV take 5
[026:038] [2022-07-17 14:10:18 +0000.285494][2e71] h264 add frame header cdr flag
[026:039] [2022-07-17 14:10:18 +0000.285937][2e71] Received key frame:9990
[026:073] [2022-07-17 14:10:18 +0000.320738][2e72] get the H.264 IDR frame
[026:152] [2022-07-17 14:10:18 +0000.399601][2cb1] Run AGC when audioType = 0
[026:204] [2022-07-17 14:10:18 +0000.451521][2e71] Push an pts:10191 to dts queue.
[026:238] [2022-07-17 14:10:18 +0000.485093][2e71] last dts:10161 currentPts:10191
ppsOrSPS:0 queue length:2
[026:268] [2022-07-17 14:10:18 +0000.514864][2e71] DTS queue for
Generator:0x7bad1274b8 10224 10257
[026:461] [2022-07-17 14:10:18 +0000.708694][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[026:532] [2022-07-17 14:10:18 +0000.778915][2cad] The convert RGB to YUV take 3
[026:585] [2022-07-17 14:10:18 +0000.832305][2e6a] resampled_data_size:9728
[026:599] [2022-07-17 14:10:18 +0000.846719][2cad] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[026:678] [2022-07-17 14:10:18 +0000.925108][2e6a] AF_SpeedFilter audio time
[026:678] [2022-07-17 14:10:18 +0000.925169][2e6a] AF_SpeedFilter audio time 111,
0x7bbef21080 out time: 563049778 org time: 563049778
[026:786] [2022-07-17 14:10:19 +0000.33041][2e6a] AF_SpeedFilter audio 0x7bbef21080
PullFrame
[026:824] [2022-07-17 14:10:19 +0000.71101][2e6a] RecordAudioSource::PullAudioFrame
[026:833] [2022-07-17 14:10:19 +0000.80446][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[026:963] [2022-07-17 14:10:19 +0000.210230][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[027:037] [2022-07-17 14:10:19 +0000.283788][2cad] The convert RGB to YUV take 5
[027:105] [2022-07-17 14:10:19 +0000.352479][2e71] DTS queue for
Generator:0x7bad1274b8 11055 11090
[027:169] [2022-07-17 14:10:19 +0000.416094][2e6a] AF_SpeedFilter::PullFrame eof4
[027:173] [2022-07-17 14:10:19 +0000.420382][2e6a]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[027:245] [2022-07-17 14:10:19 +0000.491915][2e70]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 11145queue_audio_frame_:8
[027:469] [2022-07-17 14:10:19 +0000.715899][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[027:528] [2022-07-17 14:10:19 +0000.775000][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[027:534] [2022-07-17 14:10:19 +0000.781203][2cad] The convert RGB to YUV take 5
[027:537] [2022-07-17 14:10:19 +0000.783978][2e71] Push an pts:11523 to dts queue.
[027:572] [2022-07-17 14:10:19 +0000.819083][2e71] last dts:11488 currentPts:11523
ppsOrSPS:0 queue length:2
[027:841] [2022-07-17 14:10:20 +0000.88564][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[027:933] [2022-07-17 14:10:20 +0000.180243][2cad] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5984 diff: 17
[027:936] [2022-07-17 14:10:20 +0000.183285][2e71] DTS queue for
Generator:0x7bad1274b8 11889 11922
[027:963] [2022-07-17 14:10:20 +0000.210355][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:033] [2022-07-17 14:10:20 +0000.280291][2cad] The convert RGB to YUV take 4
[028:036] [2022-07-17 14:10:20 +0000.283072][2e71] h264 add frame header cdr flag
[028:036] [2022-07-17 14:10:20 +0000.283563][2e71] Received key frame:11991
[028:072] [2022-07-17 14:10:20 +0000.318928][2e72] get the H.264 IDR frame
[028:156] [2022-07-17 14:10:20 +0000.403127][2cb1] Run AGC when audioType = 0
[028:156] [2022-07-17 14:10:20 +0000.403300][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[028:413] [2022-07-17 14:10:20 +0000.660701][2e6a] AF_SpeedFilter audio
0x7bbef21080 PullFrame
[028:465] [2022-07-17 14:10:20 +0000.712523][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:533] [2022-07-17 14:10:20 +0000.780888][2cad] The convert RGB to YUV take 4
[028:716] [2022-07-17 14:10:20 +0000.962971][2e6a]
RecordAudioSource::PullAudioFrame
[028:740] [2022-07-17 14:10:20 +0000.986909][2e71] DTS queue for
Generator:0x7bad1274b8 12723
[028:840] [2022-07-17 14:10:21 +0000.87208][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[028:842] [2022-07-17 14:10:21 +0000.89387][2e6a] resampled_data_size:512
[028:865] [2022-07-17 14:10:21 +0000.112493][2e71]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:12854
[028:865] [2022-07-17 14:10:21 +0000.112594][2e71] Push an pts:12854 to dts queue.
[028:904] [2022-07-17 14:10:21 +0000.151467][2e71] SendFrame
encodedImage._timeStamp:12854encodedImage->_length:145216
[028:904] [2022-07-17 14:10:21 +0000.151612][2e71] last dts:12822 currentPts:12854
ppsOrSPS:0 queue length:2
[028:904] [2022-07-17 14:10:21 +0000.151671][2e71] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:12854 pts:12854
[028:927] [2022-07-17 14:10:21 +0000.174097][2cad] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[028:927] [2022-07-17 14:10:21 +0000.174232][2cad] GPUImageProcessing: input frame
width1920 X 1080
[028:927] [2022-07-17 14:10:21 +0000.174626][2cad] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[028:928] [2022-07-17 14:10:21 +0000.174780][2cad] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[028:961] [2022-07-17 14:10:21 +0000.208180][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:001] [2022-07-17 14:10:21 +0000.248514][2e71] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:12988
[029:001] [2022-07-17 14:10:21 +0000.248617][2e71] push video frame to H264
encoder. (100 frame for one log)

[029:001] [2022-07-17 14:10:21 +0000.248657][2e71] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[029:001] [2022-07-17 14:10:21 +0000.248679][2e71] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:12988(100 frame for one
log)

[029:001] [2022-07-17 14:10:21 +0000.248708][2e71] The input pts:12988 fps:30


[029:030] [2022-07-17 14:10:21 +0000.277284][2cad] The convert RGB to YUV take 3
[029:034] [2022-07-17 14:10:21 +0000.281083][2e71] H264Encode::H264SWEncoder get
callback, length:144000 type:1 nalType:1length:143996
[029:241] [2022-07-17 14:10:21 +0000.488151][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[029:259] [2022-07-17 14:10:21 +0000.506550][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[029:460] [2022-07-17 14:10:21 +0000.707553][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:510] [2022-07-17 14:10:21 +0000.757285][2e6a] AF_SpeedFilter::PullFrame eof4
[029:512] [2022-07-17 14:10:21 +0000.759423][2e70]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 13467queue_audio_frame_:1
[029:514] [2022-07-17 14:10:21 +0000.761572][2e6a]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[029:529] [2022-07-17 14:10:21 +0000.775919][2cad] The convert RGB to YUV take 3
[029:567] [2022-07-17 14:10:21 +0000.813749][2e71] DTS queue for
Generator:0x7bad1274b8 13552
[029:842] [2022-07-17 14:10:22 +0000.89605][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[029:959] [2022-07-17 14:10:22 +0000.205852][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:026] [2022-07-17 14:10:22 +0000.273571][2cad] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6980 diff: 21
[030:030] [2022-07-17 14:10:22 +0000.277397][2cad] The convert RGB to YUV take 2
[030:034] [2022-07-17 14:10:22 +0000.281100][2e71] h264 add frame header cdr flag
[030:034] [2022-07-17 14:10:22 +0000.281734][2e71] Received key frame:13985
[030:043] [2022-07-17 14:10:22 +0000.289796][2e6a] AF_SpeedFilter audio
0x7bbef21080 PullFrame
[030:068] [2022-07-17 14:10:22 +0000.315275][2e72] get the H.264 IDR frame
[030:152] [2022-07-17 14:10:22 +0000.399109][2cb2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:152] [2022-07-17 14:10:22 +0000.399220][2cb2] _deviceSampleRate:48000

[030:159] [2022-07-17 14:10:22 +0000.406347][2cb1] Run AGC when audioType = 0


[030:201] [2022-07-17 14:10:22 +0000.448177][2e71] Push an pts:14188 to dts queue.
[030:239] [2022-07-17 14:10:22 +0000.486713][2e71] last dts:14154 currentPts:14188
ppsOrSPS:0 queue length:2
[030:399] [2022-07-17 14:10:22 +0000.646145][2e71] DTS queue for
Generator:0x7bad1274b8 14354 14387
[030:457] [2022-07-17 14:10:22 +0000.704466][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:532] [2022-07-17 14:10:22 +0000.779256][2cad] The convert RGB to YUV take 3
[030:614] [2022-07-17 14:10:22 +0000.860959][2e6a]
RecordAudioSource::PullAudioFrame
[030:840] [2022-07-17 14:10:23 +0000.86851][2e6c] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[030:956] [2022-07-17 14:10:23 +0000.202844][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[030:960] [2022-07-17 14:10:23 +0000.207381][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[031:021] [2022-07-17 14:10:23 +0000.267814][2e6a] resampled_data_size:12800
[031:029] [2022-07-17 14:10:23 +0000.275985][2cad] The convert RGB to YUV take 3
[031:200] [2022-07-17 14:10:23 +0000.447614][2cad] StopRecording:
[031:202] [2022-07-17 14:10:23 +0000.449301][2cad] OnNeedStopRecording:
[031:203] [2022-07-17 14:10:23 +0000.450228][2e6a] PullAudioFrame: PullFrame audio
finished.
[031:203] [2022-07-17 14:10:23 +0000.450300][2e6a]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[031:206] [2022-07-17 14:10:23 +0000.453338][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[031:207] [2022-07-17 14:10:23 +0000.453835][2cad] operator(): Stop
[031:207] [2022-07-17 14:10:23 +0000.453901][2cad] StopPullFrameAndWriteMp4
time:563054413 enter.

[031:207] [2022-07-17 14:10:23 +0000.453931][2cad] StopRecording:


[031:210] [2022-07-17 14:10:23 +0000.456885][2e71]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:456
[031:212] [2022-07-17 14:10:23 +0000.458903][2cac] stop recording
[031:212] [2022-07-17 14:10:23 +0000.458948][2cac]
RecordingSessionInternalSimple:destroy media processers
[031:212] [2022-07-17 14:10:23 +0000.458971][2cac] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[031:212] [2022-07-17 14:10:23 +0000.458988][2cac] H264Encode::flushing hareware
Encoder
[031:212] [2022-07-17 14:10:23 +0000.459143][2cac] Flush time:563054418 enter.

[031:212] [2022-07-17 14:10:23 +0000.459200][2cac] H264Encoder encoder flush


[031:212] [2022-07-17 14:10:23 +0000.459221][2cac] flush output queue
[031:539] [2022-07-17 14:10:23 +0000.786365][2cac] Flush leave. expire time = 327
ms

[031:539] [2022-07-17 14:10:23 +0000.786636][2cac] ~H264EncodeWrap:


[031:539] [2022-07-17 14:10:23 +0000.786725][2cac] ~H264Encode:
[031:540] [2022-07-17 14:10:23 +0000.786770][2cac] teardownCompressionSession:
H264Encode::destroying Encoder
[031:540] [2022-07-17 14:10:23 +0000.786806][2cac] Release time:563054746 enter.

[031:540] [2022-07-17 14:10:23 +0000.786989][2cac] Release:


MediaCodecVideoEncoder::Release _inited:1
[031:540] [2022-07-17 14:10:23 +0000.787050][2cac] Destroy time:563054746 enter.

[031:540] [2022-07-17 14:10:23 +0000.787109][2cac] H264Encoder encoderDestroy


[031:540] [2022-07-17 14:10:23 +0000.787143][2cac]
AndroidMediaCodecVideoEncoder::release env: 0x7ba9081c00
[031:540] [2022-07-17 14:10:23 +0000.787177][2cac]
AndroidMediaCodecVideoEncoder::Destroy
[031:581] [2022-07-17 14:10:23 +0000.828056][2cac] Destroy leave. expire time = 41
ms

[031:581] [2022-07-17 14:10:23 +0000.828261][2cac] Release leave. expire time = 41


ms

[031:581] [2022-07-17 14:10:23 +0000.828326][2cac] ~AndroidHwAvcEncoder


time:563054787 enter.

[031:581] [2022-07-17 14:10:23 +0000.828513][2cac] Release time:563054787 enter.

[031:581] [2022-07-17 14:10:23 +0000.828583][2cac] Release:


MediaCodecVideoEncoder:: has been released before, just return
[031:581] [2022-07-17 14:10:23 +0000.828617][2cac] Release leave. expire time = 0
ms

[031:581] [2022-07-17 14:10:23 +0000.828732][2cac] ~AndroidMediaCodecVideoEncoder


[031:582] [2022-07-17 14:10:23 +0000.828802][2cac] ~WrapAndroidMediaCodec
time:563054788 enter.

[031:582] [2022-07-17 14:10:23 +0000.828836][2cac] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[031:582] [2022-07-17 14:10:23 +0000.828953][2cac] video hevc hw codec


destructor:0x7bad00a2c0

[031:582] [2022-07-17 14:10:23 +0000.829030][2cac] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[031:582] [2022-07-17 14:10:23 +0000.829112][2cac] teardownCompressionSession:


H264Encode::destroyed Encoder
[031:582] [2022-07-17 14:10:23 +0000.829184][2cac]
RecordingSessionInternalSimple:destroy aac encoder output!
[031:582] [2022-07-17 14:10:23 +0000.829217][2cac] AACSWEncode destructor
[031:595] [2022-07-17 14:10:23 +0000.842430][2e72] MP4 close file successfully
[031:595] [2022-07-17 14:10:23 +0000.842534][2e72] Recording session Internal:
notify recording ok
[031:595] [2022-07-17 14:10:23 +0000.842558][2e72] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4,
output_video_timestamp_:15189 last_video_pts_:15152
[031:595] [2022-07-17 14:10:23 +0000.842622][2e72] OnRecordFinish:
[031:596] [2022-07-17 14:10:23 +0000.843161][2e72] onRecordingOk: net seek
pos:0record video duration:15185record audio duration:15162
[031:596] [2022-07-17 14:10:23 +0000.843534][2e6c] destructMicSource_w:
[031:596] [2022-07-17 14:10:23 +0000.843579][2e6c] setOutput_w:
MicSource::setOutput() 0x0
[031:596] [2022-07-17 14:10:23 +0000.843676][2cad] releaseThread 0x7bbeda1a00
[031:596] [2022-07-17 14:10:23 +0000.843716][2cad] ~MicSource: Mic source
destroyed:0x7beb6f6d00
[031:597] [2022-07-17 14:10:23 +0000.844714][2cad] StopPullFrameAndWriteMp4 leave.
expire time = 390 ms

[031:598] [2022-07-17 14:10:23 +0000.844797][2cad] DestroyPipelineAndFilters


time:563054804 enter.

[031:598] [2022-07-17 14:10:23 +0000.844847][2cad] UnbindInputFilter 0x7bbef214c0


this 0x7beb67a3c0
[031:598] [2022-07-17 14:10:23 +0000.844875][2cad] UnbindInputFilter 0x7bbef21658
this 0x7bbef211d0
[031:598] [2022-07-17 14:10:23 +0000.844905][2cad] UnbindInputFilter 0x7beb67a3c0
this 0x7c3cbe3b60
[031:598] [2022-07-17 14:10:23 +0000.844920][2cad] filter: filter pipeline destroy
this: 0x7c3cbe3ac0
[031:598] [2022-07-17 14:10:23 +0000.845055][2cad] ClearVideoOfSources: recodring
total frames:0
[031:598] [2022-07-17 14:10:23 +0000.845087][2cad] ClearVideoOfSources:
[031:598] [2022-07-17 14:10:23 +0000.845105][2cad] GPUImageProcessing destruct.
[031:598] [2022-07-17 14:10:23 +0000.845150][2cad] destroy TrivalImageDrawer
0x7bbeeb4480
[031:598] [2022-07-17 14:10:23 +0000.845170][2cad] The shader has been initialize,
clean up them.

[031:598] [2022-07-17 14:10:23 +0000.845205][2cad] ~OpenGLFrameBuffer:


[031:598] [2022-07-17 14:10:23 +0000.845305][2cad] ~OpenGLFrameBuffer:
[031:599] [2022-07-17 14:10:23 +0000.846119][2cad] ~OpenGLFrameBuffer:
[031:599] [2022-07-17 14:10:23 +0000.846183][2cad] ~OpenGLFrameBuffer:
[031:599] [2022-07-17 14:10:23 +0000.846237][2cad] ~OpenGLFrameBuffer:
[031:599] [2022-07-17 14:10:23 +0000.846301][2cad] ~OpenGLFrameBuffer:
[031:599] [2022-07-17 14:10:23 +0000.846469][2cad] GPUImageProcessing destruct
finish.
[031:599] [2022-07-17 14:10:23 +0000.846509][2cad] GPURGBAFrame destruct.
[031:599] [2022-07-17 14:10:23 +0000.846541][2cad] destroy OpenGLRenderProgram
0x7beb67a198
[031:599] [2022-07-17 14:10:23 +0000.846563][2cad] ~CameraSource time:563054805
enter.

[031:599] [2022-07-17 14:10:23 +0000.846627][2cad] ~CameraSource leave. expire


time = 0 ms
[031:599] [2022-07-17 14:10:23 +0000.846649][2cad] ~RecordAudioSource
time:563054805 enter.

[031:599] [2022-07-17 14:10:23 +0000.846666][2cad] ~RecordAudioSource leave.


expire time = 0 ms

[031:599] [2022-07-17 14:10:23 +0000.846684][2cad] DestroyPipelineAndFilters


leave. expire time = 1 ms

[031:619] [2022-07-17 14:10:23 +0000.865932][2642]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[031:619] [2022-07-17 14:10:23 +0000.866640][2642] machine model :poco
[031:619] [2022-07-17 14:10:23 +0000.866680][2642] Support this machine model :poco
[031:619] [2022-07-17 14:10:23 +0000.866700][2642] global inited! current sdk
version: 07-20-936c45f
[031:620] [2022-07-17 14:10:23 +0000.866888][2642] filter: filter pipeline
construtc this: 0x7bdfa3b800
[031:620] [2022-07-17 14:10:23 +0000.866918][2642] MediaFilterGraph:
MediaFilterGraph construct
[031:620] [2022-07-17 14:10:23 +0000.866954][2642] GLESContext:
[031:620] [2022-07-17 14:10:23 +0000.867015][2642] The result of eglGetDisplay is:
0xb400007cc8e44c80
[031:622] [2022-07-17 14:10:23 +0000.868844][2642] The result of creation:
0x7bdf7b4a00
[031:622] [2022-07-17 14:10:23 +0000.868954][2642] The result of
eglCreatePbufferSurface is: 0x7bdf7b4b00
[031:622] [2022-07-17 14:10:23 +0000.869681][2642] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4
[031:622] [2022-07-17 14:10:23 +0000.869718][2642] The source 0 speed:1
[031:622] [2022-07-17 14:10:23 +0000.869744][2642] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4,
delay: 0
[031:623] [2022-07-17 14:10:23 +0000.869821][2642] CreateDecoderByVideoSource
time:563054829 enter.

[031:623] [2022-07-17 14:10:23 +0000.870010][2642] running_decoder_count:0max


count:2
[031:623] [2022-07-17 14:10:23 +0000.870033][2642] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7beb58e400
[031:637] [2022-07-17 14:10:23 +0000.884450][2ee1] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7bdf94de00] Current FFmpeg version git-2021-06-16-
97cea6f

[031:694] [2022-07-17 14:10:23 +0000.941533][2ee1] OnStreamInfoFound: video


duration_: 15185
[031:695] [2022-07-17 14:10:23 +0000.942469][2642] start decoder
[031:695] [2022-07-17 14:10:23 +0000.942534][2642] CreateDecoderByVideoSource
leave. expire time = 72 ms

[031:695] [2022-07-17 14:10:23 +0000.942577][2642] BindInputFilter 0x7c3cb57620


this 0x7bdf85ab18
[031:695] [2022-07-17 14:10:23 +0000.942616][2642] BindInputFilter 0x7bdf85ab18
this 0x7bdf85abd8
[031:695] [2022-07-17 14:10:23 +0000.942655][2642] BindInputFilter 0x7c3cb57620
this 0x7bdf85ac98
[031:695] [2022-07-17 14:10:23 +0000.942691][2642] BindInputFilter 0x7bdf85ac98
this 0x7bdf85ad58
[031:695] [2022-07-17 14:10:23 +0000.942717][2642] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4
[031:696] [2022-07-17 14:10:23 +0000.942761][2642] BindInputFilter 0x7bdf85abd8
this 0x7bdf85b118
[031:696] [2022-07-17 14:10:23 +0000.942800][2642] BindInputFilter 0x7bdf85b118
this 0x7bdfa3b8a0
[031:696] [2022-07-17 14:10:23 +0000.942834][2642] BindInputFilter 0x7bdf85ad58
this 0x7bdf85b1d8
[031:696] [2022-07-17 14:10:23 +0000.942870][2642] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4
[031:697] [2022-07-17 14:10:23 +0000.943803][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[031:697] [2022-07-17 14:10:23 +0000.943840][2ee2] NO get frame from decoder
[031:698] [2022-07-17 14:10:23 +0000.944942][2642] machine model :poco
[031:698] [2022-07-17 14:10:23 +0000.945023][2642] Support this machine model :poco
[031:698] [2022-07-17 14:10:23 +0000.945060][2642] global inited! current sdk
version: 07-20-936c45f
[031:698] [2022-07-17 14:10:23 +0000.945130][2642] GetPipeline:
-----------------------------------------
[031:698] [2022-07-17 14:10:23 +0000.945223][2642] GetPipeline: source:
0x7c3cb57400
[031:698] [2022-07-17 14:10:23 +0000.945321][2642] GetPipeline: filter: NULLFilter
[031:698] [2022-07-17 14:10:23 +0000.945364][2642] GetPipeline: filter: NULLFilter
[031:698] [2022-07-17 14:10:23 +0000.945440][2642] GetPipeline: filter: NULLFilter
[031:698] [2022-07-17 14:10:23 +0000.945472][2642] GetPipeline: audio filter:
AuidoNULLFilter
[031:698] [2022-07-17 14:10:23 +0000.945502][2642] GetPipeline: audio filter:
AuidoNULLFilter
[031:698] [2022-07-17 14:10:23 +0000.945549][2642] GetPipeline: audio filter:
AudioNUllFilter
[031:698] [2022-07-17 14:10:23 +0000.945592][2642] GetPipeline:
------------------------------------------
[031:698] [2022-07-17 14:10:23 +0000.945635][2642] filter: filter pipeline2 update
pattern: 0
[031:700] [2022-07-17 14:10:23 +0000.947039][2642] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[031:700] [2022-07-17 14:10:23 +0000.947218][2642] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[031:700] [2022-07-17 14:10:23 +0000.947324][2642] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[031:700] [2022-07-17 14:10:23 +0000.947635][2642] DeviceInit:
[031:701] [2022-07-17 14:10:23 +0000.947911][2642] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[031:701] [2022-07-17 14:10:23 +0000.948222][2642] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[031:701] [2022-07-17 14:10:23 +0000.948509][2642] CreatePlatformSpecificObjects:
[031:701] [2022-07-17 14:10:23 +0000.948613][2642] audio device use null audio
input and opensl output
[031:698] [2022-07-17 14:10:23 +0000.945170][2ee2] NO get frame from decoder
[031:701] [2022-07-17 14:10:23 +0000.948664][2642] Create OpenSLES output module
with java VM support.

[031:702] [2022-07-17 14:10:23 +0000.948860][2642] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[031:702] [2022-07-17 14:10:23 +0000.949140][2642] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[031:702] [2022-07-17 14:10:23 +0000.949415][2642] Create OpenSLES output module
with buffer num:2

[031:702] [2022-07-17 14:10:23 +0000.949504][2642] Error(trace.cc:40): Init the


output and input for audio device template.
[031:702] [2022-07-17 14:10:23 +0000.949562][2642] Init the output device.

[031:702] [2022-07-17 14:10:23 +0000.949609][2642] Set the playout as stereo:1


[031:702] [2022-07-17 14:10:23 +0000.949663][2642] Set the sample rate to be:44100

[031:702] [2022-07-17 14:10:23 +0000.949682][2ee2] NO get frame from decoder


[031:702] [2022-07-17 14:10:23 +0000.949736][2642] Low latency buffer size:144 low
sample rate:48000
[031:703] [2022-07-17 14:10:23 +0000.949782][2642] DeviceInit: Done
[031:703] [2022-07-17 14:10:23 +0000.950032][2642] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[031:703] [2022-07-17 14:10:23 +0000.950178][2eec] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bbf12e618
[031:705] [2022-07-17 14:10:23 +0000.951870][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[031:705] [2022-07-17 14:10:23 +0000.951990][2642]
MediaFilterPlayer::SetPlayerNotify 0x7bad3dfa20
[031:706] [2022-07-17 14:10:23 +0000.953166][2642]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[031:706] [2022-07-17 14:10:23 +0000.953563][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[031:707] [2022-07-17 14:10:23 +0000.954321][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[031:708] [2022-07-17 14:10:23 +0000.954838][2642] SetGraphLoop: SetGraphLoop 1
[031:708] [2022-07-17 14:10:23 +0000.954877][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[031:708] [2022-07-17 14:10:23 +0000.955303][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[031:709] [2022-07-17 14:10:23 +0000.956076][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[031:709] [2022-07-17 14:10:23 +0000.956675][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[031:710] [2022-07-17 14:10:23 +0000.956834][2eee] Start:
[031:713] [2022-07-17 14:10:23 +0000.960081][2ee2] NO get frame from decoder
[031:712] [2022-07-17 14:10:23 +0000.960373][2eed] operator(): video render
started.
[031:713] [2022-07-17 14:10:23 +0000.960466][2eee] Start:
[031:713] [2022-07-17 14:10:23 +0000.960556][2eee] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[031:713] [2022-07-17 14:10:23 +0000.960595][2eee] Reset: history total size: 98
[031:713] [2022-07-17 14:10:23 +0000.960633][2eee] DeviceStart:
audioDevice_:0x7ca9ca0000
[031:713] [2022-07-17 14:10:23 +0000.960671][2eee] DeviceStart: time profile
playout init before
[031:714] [2022-07-17 14:10:23 +0000.961041][2eee] DeviceStart: time profile
playout init end
[031:714] [2022-07-17 14:10:23 +0000.961060][2eee] OpenSlesOutput:Start playout

[031:715] [2022-07-17 14:10:23 +0000.962091][2eed] DriveRender working... (1/200)


[031:715] [2022-07-17 14:10:23 +0000.962132][2eed] Warning(video_render.cc:390): No
picture to display (1/50)
[031:721] [2022-07-17 14:10:23 +0000.968735][2ee2] NO get frame from decoder
[031:722] [2022-07-17 14:10:23 +0000.969309][2eee] Create the opensl output player.
streamtype before:0

[031:722] [2022-07-17 14:10:23 +0000.969379][2eee] Create the opensl output player.


streamtype after:3

[031:726] [2022-07-17 14:10:23 +0000.973038][2ee2] NO get frame from decoder


[031:732] [2022-07-17 14:10:23 +0000.979347][2ee2] NO get frame from decoder
[031:735] [2022-07-17 14:10:23 +0000.982216][2ee2] NO get frame from decoder
[031:752] [2022-07-17 14:10:23 +0000.999261][2eee] Enqueue opensl buffer size:1764
[031:789] [2022-07-17 14:10:24 +0000.35847][2eee] DeviceStart: time profile playout
all end
[031:789] [2022-07-17 14:10:24 +0000.35965][2eee] operator(): Audio playback
started.
[031:789] [2022-07-17 14:10:24 +0000.36085][2eee] operator(): Started now!
[031:789] [2022-07-17 14:10:24 +0000.36112][2eef] Pull audio failed.(wait video!)
[031:789] [2022-07-17 14:10:24 +0000.36207][2eef]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:789] [2022-07-17 14:10:24 +0000.36451][2ef1]
PlayerSimpleBufferQueueCallbackHandler function
[031:789] [2022-07-17 14:10:24 +0000.36525][2ef1] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[031:789] [2022-07-17 14:10:24 +0000.36541][2ef1]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[031:790] [2022-07-17 14:10:24 +0000.36915][2ef0] Error(video_source.cc:430): wait
decoder a frame: 0
[031:791] [2022-07-17 14:10:24 +0000.38476][2eef] Pull audio failed.(wait video!)
[031:791] [2022-07-17 14:10:24 +0000.38586][2eef]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:794] [2022-07-17 14:10:24 +0000.41027][2eef] Pull audio failed.(wait video!)
[031:794] [2022-07-17 14:10:24 +0000.41197][2eef]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:796] [2022-07-17 14:10:24 +0000.43258][2eef] Pull audio failed.(wait video!)
[031:796] [2022-07-17 14:10:24 +0000.43338][2ef0] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[031:796] [2022-07-17 14:10:24 +0000.43654][2eef] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[031:796] [2022-07-17 14:10:24 +0000.43722][2eef] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[031:797] [2022-07-17 14:10:24 +0000.44515][2eef] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:797] [2022-07-17 14:10:24 +0000.44676][2eef]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:799] [2022-07-17 14:10:24 +0000.46625][2eee] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[031:800] [2022-07-17 14:10:24 +0000.46795][2eee] The audio playback speed:100
(1/100)
[031:800] [2022-07-17 14:10:24 +0000.46830][2eee] lipsync_debug: The current played
audio timestamp is:0(1/50)
[031:800] [2022-07-17 14:10:24 +0000.46847][2eee] First audio frame rendering
[031:800] [2022-07-17 14:10:24 +0000.46896][2ef0] OnVideoFrameReady(1/200)
[031:800] [2022-07-17 14:10:24 +0000.47030][2eed] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[031:809] [2022-07-17 14:10:24 +0000.56509][2eed] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:563055015
[031:840] [2022-07-17 14:10:24 +0000.87683][2eed] lipsync_debug: render a video
frame
[031:841] [2022-07-17 14:10:24 +0000.87750][2eed] lipsync_debug: First video frame
rendering.
[031:851] [2022-07-17 14:10:24 +0000.98581][2eed] lipsync_debug:lipsync_threadhold:
lipsync_delta:0 tsDelta:22 timeDelta:42 last video ts:900 frame->pts:2880 pkt_dts:-
9223372036854775808 pkt_pts:-9223372036854775808
[031:851] [2022-07-17 14:10:24 +0000.98664][2eed] lipsync_debug: tsDelta -
timeDelta = -20
[031:851] [2022-07-17 14:10:24 +0000.98682][2eed] lipsync_debug:result remaining
time:0
[031:851] [2022-07-17 14:10:24 +0000.98696][2eed] dynamic updated lipsync delay:0
[031:855] [2022-07-17 14:10:24 +0000.102675][2eed] lipsync_debug:remaining time:10
tsDelta - timeDelta:7
[031:855] [2022-07-17 14:10:24 +0000.102741][2eed] lipsync_debug:result remaining
time:7
[031:904] [2022-07-17 14:10:24 +0000.151454][2ef0] video frame wait audio frame:
last_video_timestamp:300 last_audio_timestamp:184.943
[031:904] [2022-07-17 14:10:24 +0000.151614][2ef0]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[032:155] [2022-07-17 14:10:24 +0000.402506][2cb1] Run AGC when audioType = 0
[032:156] [2022-07-17 14:10:24 +0000.403104][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:463] [2022-07-17 14:10:24 +0000.709931][2eed] lipsync_debug:displaying video
ts:59760 The current displayed video timestamp is:563055669
[032:701] [2022-07-17 14:10:24 +0000.948039][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[032:780] [2022-07-17 14:10:25 +0000.27519][2ef1]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[032:789] [2022-07-17 14:10:25 +0000.36441][2eee] do work DoLipsync!
[032:789] [2022-07-17 14:10:25 +0000.36538][2eee] total delay:128 videoTsMS:964
audioTsMS:836 diff:128
[032:789] [2022-07-17 14:10:25 +0000.36577][2eee] Set the lipsync delay:128
[032:922] [2022-07-17 14:10:25 +0000.169650][2ef0] Error(video_source.cc:430): wait
decoder a frame: 0
[033:265] [2022-07-17 14:10:25 +0000.512649][2eed] lipsync_debug:displaying video
ts:120420 The current displayed video timestamp is:563056471
[033:332] [2022-07-17 14:10:25 +0000.578786][2ef0] webrtc common_video plane
old ..... (1/1000) new: 8001 delete: 7996 diff: 5
[033:352] [2022-07-17 14:10:25 +0000.599397][2eed] DriveRender working... (1/200)
[033:428] [2022-07-17 14:10:25 +0000.675234][2eed]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:35 timeDelta:5 last video
ts:134640 frame->pts:137790 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[033:428] [2022-07-17 14:10:25 +0000.675328][2eed] lipsync_debug: tsDelta -
timeDelta = 30
[033:465] [2022-07-17 14:10:25 +0000.711840][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[033:465] [2022-07-17 14:10:25 +0000.712276][2eee] Stop:
[033:466] [2022-07-17 14:10:25 +0000.713209][2eed] operator(): Video Render
stopped.
[033:466] [2022-07-17 14:10:25 +0000.713338][2eee] Stop:
[033:466] [2022-07-17 14:10:25 +0000.713524][2eee] DeviceStop:
audioDevice_:0x7ca9ca0000
[033:466] [2022-07-17 14:10:25 +0000.713574][2eee] OpenSlesOutput:Stop playout

[033:468] [2022-07-17 14:10:25 +0000.715741][2eee] DeviceStop: Done


[033:469] [2022-07-17 14:10:25 +0000.715869][2eee] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[033:469] [2022-07-17 14:10:25 +0000.715906][2eee] operator(): Stop now!
[033:511] [2022-07-17 14:10:25 +0000.758554][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[033:511] [2022-07-17 14:10:25 +0000.758723][2642] StopPreView: Have Stopped,
operation cancel
[033:512] [2022-07-17 14:10:25 +0000.758761][2642] Stop:
[033:512] [2022-07-17 14:10:25 +0000.758873][2eee] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[033:512] [2022-07-17 14:10:25 +0000.759063][2642] DeviceRelease:
audioDevice_:0x7ca9ca0000
[033:512] [2022-07-17 14:10:25 +0000.759137][2642] OpenSlesOutput:Stop playout

[033:512] [2022-07-17 14:10:25 +0000.759183][2642] DeviceRelease: Release the


webrtc device object.
[033:512] [2022-07-17 14:10:25 +0000.759410][2642] OpenSlesOutput destruct.

[033:512] [2022-07-17 14:10:25 +0000.759546][2642] DeviceRelease: Done


[033:513] [2022-07-17 14:10:25 +0000.759765][2642] Stop:
[033:513] [2022-07-17 14:10:25 +0000.759965][2eed] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[033:518] [2022-07-17 14:10:25 +0000.765078][2642] global uninited!
[033:519] [2022-07-17 14:10:25 +0000.766305][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[033:519] [2022-07-17 14:10:25 +0000.766421][2642] ~MediaFilterGraph:
MediaFilterGraph destruct
[033:519] [2022-07-17 14:10:25 +0000.766477][2642] RemoveVideoBackGroud: hava not
add video backgroud
[033:519] [2022-07-17 14:10:25 +0000.766543][2642] UnbindInputFilter 0x7bdf85b118
this 0x7bdfa3b8a0
[033:519] [2022-07-17 14:10:25 +0000.766581][2642] ClearAllSource: remove source
filter, sourceid: 0x7c3cb57400
[033:519] [2022-07-17 14:10:25 +0000.766668][2642] DestoryDecoderByVideoSource
time:563056725 enter.

[033:519] [2022-07-17 14:10:25 +0000.766700][2642] ~VideoBindDecoder time:563056725


enter.

[033:520] [2022-07-17 14:10:25 +0000.766868][2642] CleanUp time:563056726 enter.

[033:531] [2022-07-17 14:10:25 +0000.778175][2642] CleanUp leave. expire time = 11


ms

[033:531] [2022-07-17 14:10:25 +0000.778247][2642] CleanUp time:563056737 enter.

[033:531] [2022-07-17 14:10:25 +0000.778675][2642] CleanUp leave. expire time = 0


ms

[033:532] [2022-07-17 14:10:25 +0000.779197][2642] ~VideoBindDecoder leave. expire


time = 13 ms

[033:532] [2022-07-17 14:10:25 +0000.779228][2642] DestoryDecoderByVideoSource


leave. expire time = 13 ms

[033:532] [2022-07-17 14:10:25 +0000.779255][2642] UnbindInputFilter 0x7bdf85abd8


this 0x7bdf85b118
[033:532] [2022-07-17 14:10:25 +0000.779289][2642] UnbindInputFilter 0x7bdf85ab18
this 0x7bdf85abd8
[033:532] [2022-07-17 14:10:25 +0000.779321][2642] UnbindInputFilter 0x7c3cb57620
this 0x7bdf85ab18
[033:532] [2022-07-17 14:10:25 +0000.779340][2642] UnbindInputFilter 0x7bdf85ad58
this 0x7bdf85b1d8
[033:532] [2022-07-17 14:10:25 +0000.779367][2642] UnbindInputFilter 0x7bdf85ac98
this 0x7bdf85ad58
[033:532] [2022-07-17 14:10:25 +0000.779398][2642] UnbindInputFilter 0x7c3cb57620
this 0x7bdf85ac98
[033:534] [2022-07-17 14:10:25 +0000.780886][2642] ~GLESContext:
[033:534] [2022-07-17 14:10:25 +0000.781354][2642] GLESContext destruct finish.
[033:534] [2022-07-17 14:10:25 +0000.781387][2642] filter: filter pipeline destroy
this: 0x7bdfa3b800
[033:535] [2022-07-17 14:10:25 +0000.782064][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[033:535] [2022-07-17 14:10:25 +0000.782713][2642] machine model :poco
[033:535] [2022-07-17 14:10:25 +0000.782738][2642] Support this machine model :poco
[033:536] [2022-07-17 14:10:25 +0000.782756][2642] global inited! current sdk
version: 07-20-936c45f
[033:536] [2022-07-17 14:10:25 +0000.782870][2642] filter: filter pipeline
construtc this: 0x7bdfa3b800
[033:536] [2022-07-17 14:10:25 +0000.782893][2642] MediaFilterGraph:
MediaFilterGraph construct
[033:536] [2022-07-17 14:10:25 +0000.782924][2642] GLESContext:
[033:536] [2022-07-17 14:10:25 +0000.782967][2642] The result of eglGetDisplay is:
0xb400007cc8e44c80
[033:536] [2022-07-17 14:10:25 +0000.783635][2642] The result of creation:
0x7c3caf3a00
[033:536] [2022-07-17 14:10:25 +0000.783701][2642] The result of
eglCreatePbufferSurface is: 0x7c3cc02280
[033:537] [2022-07-17 14:10:25 +0000.783775][2642] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4
[033:537] [2022-07-17 14:10:25 +0000.783805][2642] The source 0 speed:1
[033:537] [2022-07-17 14:10:25 +0000.783838][2642] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4,
delay: 0
[033:537] [2022-07-17 14:10:25 +0000.783871][2642] CreateDecoderByVideoSource
time:563056743 enter.

[033:537] [2022-07-17 14:10:25 +0000.784001][2642] running_decoder_count:0max


count:2
[033:537] [2022-07-17 14:10:25 +0000.784025][2642] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7beb58e400
[033:538] [2022-07-17 14:10:25 +0000.785753][2ef8] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7bdf9a7000] Current FFmpeg version git-2021-06-16-
97cea6f

[033:585] [2022-07-17 14:10:25 +0000.831852][2ef8] OnStreamInfoFound: video


duration_: 15185
[033:586] [2022-07-17 14:10:25 +0000.833161][2642] start decoder
[033:586] [2022-07-17 14:10:25 +0000.833243][2642] CreateDecoderByVideoSource
leave. expire time = 49 ms

[033:586] [2022-07-17 14:10:25 +0000.833333][2642] BindInputFilter 0x7c3cb57620


this 0x7bdf85abd8
[033:586] [2022-07-17 14:10:25 +0000.833436][2642] BindInputFilter 0x7bdf85abd8
this 0x7bdf85ac98
[033:586] [2022-07-17 14:10:25 +0000.833552][2642] BindInputFilter 0x7c3cb57620
this 0x7bdf85b058
[033:586] [2022-07-17 14:10:25 +0000.833655][2642] BindInputFilter 0x7bdf85b058
this 0x7bdf85b118
[033:587] [2022-07-17 14:10:25 +0000.833784][2642] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4
[033:587] [2022-07-17 14:10:25 +0000.833917][2642] BindInputFilter 0x7bdf85ac98
this 0x7bdf85b1d8
[033:587] [2022-07-17 14:10:25 +0000.834037][2642] BindInputFilter 0x7bdf85b1d8
this 0x7bdfa3b8a0
[033:587] [2022-07-17 14:10:25 +0000.834153][2642] BindInputFilter 0x7bdf85b118
this 0x7bdf85b658
[033:587] [2022-07-17 14:10:25 +0000.834236][2642] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_563039051.mp4
[033:588] [2022-07-17 14:10:25 +0000.835578][2642]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[033:589] [2022-07-17 14:10:25 +0000.835786][2642] MediaComposeFile time:563056795
enter.

[033:589] [2022-07-17 14:10:25 +0000.835852][2642] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[033:589] [2022-07-17 14:10:25 +0000.835988][2642] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[033:589] [2022-07-17 14:10:25 +0000.835994][2ef9] NO get frame from decoder
[033:589] [2022-07-17 14:10:25 +0000.836048][2642] Recording session using default
bitrate support by app:31457280
[033:590] [2022-07-17 14:10:25 +0000.837320][2ef9] NO get frame from decoder
[033:592] [2022-07-17 14:10:25 +0000.839394][2ef9] NO get frame from decoder
[033:593] [2022-07-17 14:10:25 +0000.840202][2f05] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7ba95da240
[033:593] [2022-07-17 14:10:25 +0000.840314][2f05] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[033:593] [2022-07-17 14:10:25 +0000.840469][2642] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[033:593] [2022-07-17 14:10:25 +0000.840733][2642] GetPipeline:
-----------------------------------------
[033:594] [2022-07-17 14:10:25 +0000.840832][2642] GetPipeline: source:
0x7c3cb57400
[033:594] [2022-07-17 14:10:25 +0000.840873][2642] GetPipeline: filter: NULLFilter
[033:594] [2022-07-17 14:10:25 +0000.840907][2642] GetPipeline: filter: NULLFilter
[033:594] [2022-07-17 14:10:25 +0000.840937][2642] GetPipeline: filter: NULLFilter
[033:594] [2022-07-17 14:10:25 +0000.840965][2642] GetPipeline: audio filter:
AuidoNULLFilter
[033:594] [2022-07-17 14:10:25 +0000.840995][2642] GetPipeline: audio filter:
AuidoNULLFilter
[033:594] [2022-07-17 14:10:25 +0000.841024][2642] GetPipeline: audio filter:
AudioNUllFilter
[033:594] [2022-07-17 14:10:25 +0000.841053][2642] GetPipeline:
------------------------------------------
[033:594] [2022-07-17 14:10:25 +0000.841085][2642] filter: filter pipeline2 update
pattern: 2
[033:594] [2022-07-17 14:10:25 +0000.841491][2642] MediaComposeFile leave. expire
time = 5 ms

[033:595] [2022-07-17 14:10:25 +0000.842239][2642] machine model :poco


[033:595] [2022-07-17 14:10:25 +0000.842311][2642] Support this machine model :poco
[033:595] [2022-07-17 14:10:25 +0000.842374][2642] global inited! current sdk
version: 07-20-936c45f
[033:595] [2022-07-17 14:10:25 +0000.842463][2ef9] NO get frame from decoder
[033:596] [2022-07-17 14:10:25 +0000.843746][2ef9] NO get frame from decoder
[033:600] [2022-07-17 14:10:25 +0000.847272][2ef9] NO get frame from decoder
[033:602] [2022-07-17 14:10:25 +0000.849706][2ef9] NO get frame from decoder
[033:607] [2022-07-17 14:10:25 +0000.853885][2ef9] NO get frame from decoder
[033:608] [2022-07-17 14:10:25 +0000.855598][2642]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[033:608] [2022-07-17 14:10:25 +0000.855731][2642] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 288
[033:609] [2022-07-17 14:10:25 +0000.856244][2642]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[033:609] [2022-07-17 14:10:25 +0000.856288][2642] BeginCompose: BeginCompose, is
composing 0
[033:609] [2022-07-17 14:10:25 +0000.856725][2f05] start recording, file path:
[033:610] [2022-07-17 14:10:25 +0000.856942][2f05] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 288 audio_timescale:44100
video_timescale:90000
[033:610] [2022-07-17 14:10:25 +0000.856986][2f05] 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
[033:610] [2022-07-17 14:10:25 +0000.857015][2f05] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 288
[033:610] [2022-07-17 14:10:25 +0000.857084][2f05] fd_open successed
handle:0xb400007d741b40b0
[033:610] [2022-07-17 14:10:25 +0000.857200][2f05] create mp4 file:304
m_fileHandle: 0x7badbaac00
[033:610] [2022-07-17 14:10:25 +0000.857224][2f05] MP4 file: is opened successfully
[033:610] [2022-07-17 14:10:25 +0000.857238][2f05] setupMediaProcessers:
[033:610] [2022-07-17 14:10:25 +0000.857268][2f05]
RecordingSessionInternalSimple:setup media processers.
[033:610] [2022-07-17 14:10:25 +0000.857283][2f05] construct AAC encoder
[033:610] [2022-07-17 14:10:25 +0000.857555][2f05] H264Encoder creating:
ultrafast012323
[033:610] [2022-07-17 14:10:25 +0000.857588][2f05] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[033:611] [2022-07-17 14:10:25 +0000.857832][2f05] H264Encode::GetMachineModel is
M2012K11AG
[033:611] [2022-07-17 14:10:25 +0000.857858][2f05] H264Encoder machine_mode
is:M2012K11AG
[033:611] [2022-07-17 14:10:25 +0000.857874][2f05] H264Encode::machine size :9
machine_mode:M2012K11AG
[033:611] [2022-07-17 14:10:25 +0000.857905][2f05] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[033:611] [2022-07-17 14:10:25 +0000.857920][2f05] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[033:611] [2022-07-17 14:10:25 +0000.857948][2f05] setupCompressionSession:
[033:611] [2022-07-17 14:10:25 +0000.857962][2f05] H264Encode::creating hareware
Encoder
[033:611] [2022-07-17 14:10:25 +0000.857992][2f05] AndroidHwAvcEncoder
time:563056817 enter.

[033:611] [2022-07-17 14:10:25 +0000.858129][2f05] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007d740e4540 address:0x7ba1cc7760
[033:611] [2022-07-17 14:10:25 +0000.858212][2f05] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[033:611] [2022-07-17 14:10:25 +0000.858235][2f05] The video avc hw codec address
is 0x7beb72ab00
[033:611] [2022-07-17 14:10:25 +0000.858278][2f05] AndroidHwAvcEncoder leave.
expire time = 0 ms

[033:611] [2022-07-17 14:10:25 +0000.858302][2f05] RegisterEncodeCompleteCallback


time:563056817 enter.
[033:611] [2022-07-17 14:10:25 +0000.858381][2f05] RegisterEncodeCompleteCallback
leave. expire time = 0 ms

[033:611] [2022-07-17 14:10:25 +0000.858424][2f05] InitEncode time:563056817


enter.

[033:611] [2022-07-17 14:10:25 +0000.858489][2f05] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[033:611] [2022-07-17 14:10:25 +0000.858515][2f05] Create time:563056817 enter.

[033:611] [2022-07-17 14:10:25 +0000.858552][2f05] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[033:611] [2022-07-17 14:10:25 +0000.858595][2f05]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7bdf85c400
[033:612] [2022-07-17 14:10:25 +0000.858778][2f05]
supported_type:image/vnd.android.heic
[033:612] [2022-07-17 14:10:25 +0000.858815][2f05] supported_type:video/avc
[033:612] [2022-07-17 14:10:25 +0000.858851][2f05] name:OMX.qcom.video.encoder.avc
mime:video/avc
[033:612] [2022-07-17 14:10:25 +0000.858875][2f05] hwCodecPrefix :OMX.qcom.
[033:610] [2022-07-17 14:10:25 +0000.856979][2f0b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bdfbd9298
[033:612] [2022-07-17 14:10:25 +0000.858901][2f05] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[033:617] [2022-07-17 14:10:25 +0000.864125][2f05] mediacodec_createCodecByName
time:563056823 enter.

[033:617] [2022-07-17 14:10:25 +0000.864344][2f05] WrapAndroidMediaCodec


time:563056823 enter.

[033:618] [2022-07-17 14:10:25 +0000.864861][2f05] WrapAndroidMediaCodec leave.


expire time = 1 ms

[033:646] [2022-07-17 14:10:25 +0000.893314][2f05] mediacodec_createCodecByName


leave. expire time = 29 ms

[033:646] [2022-07-17 14:10:25 +0000.893490][2f05] WrapAndroidMediaFromat


time:563056852 enter.

[033:647] [2022-07-17 14:10:25 +0000.893774][2f05] WrapAndroidMediaFromat leave.


expire time = 1 ms

[033:681] [2022-07-17 14:10:25 +0000.928589][2f05] Destroy time:563056887 enter.

[033:681] [2022-07-17 14:10:25 +0000.928689][2f05] WrapAndroidMediaFromat::


Destroy
[033:681] [2022-07-17 14:10:25 +0000.928707][2f05] Destroy leave. expire time = 0
ms

[033:681] [2022-07-17 14:10:25 +0000.928723][2f05] ~WrapAndroidMediaFromat


time:563056887 enter.

[033:681] [2022-07-17 14:10:25 +0000.928738][2f05] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[033:682] [2022-07-17 14:10:25 +0000.928779][2f05] Create leave. expire time = 71


ms
[033:682] [2022-07-17 14:10:25 +0000.928797][2f05] isSemiPlanarSupport
time:563056888 enter.

[033:682] [2022-07-17 14:10:25 +0000.928844][2f05] H264Encoder isSemiPlanarSupport


[033:682] [2022-07-17 14:10:25 +0000.928863][2f05] isSemiPlanarSupport leave.
expire time = 0 ms

[033:682] [2022-07-17 14:10:25 +0000.928881][2f05] creat hw H264Encoder success,


isSemiPlanar:1
[033:682] [2022-07-17 14:10:25 +0000.928973][2f05] InitEncode leave. expire time =
71 ms

[033:682] [2022-07-17 14:10:25 +0000.929053][2f05] H264Encode::created Encoder


[033:682] [2022-07-17 14:10:25 +0000.929073][2f05] H264Encode:: H264 encoder
created.
[033:682] [2022-07-17 14:10:25 +0000.929088][2f05] H264 encoder created.
[033:682] [2022-07-17 14:10:25 +0000.929130][2f05]
RecordingSessionInternalSimple:created avc encoder avc: 0x7bbeeb1b40
[033:682] [2022-07-17 14:10:25 +0000.929149][2f05] setOutput:
[033:682] [2022-07-17 14:10:25 +0000.929164][2f05]
RecordingSessionInternalSimple:encoder set output to muxer!
[033:682] [2022-07-17 14:10:25 +0000.929194][2f05] request a key frame
[033:682] [2022-07-17 14:10:25 +0000.929209][2f05] H264Encode:: request a key frame
[033:687] [2022-07-17 14:10:25 +0000.933917][2f05] setDisplayRotate :90
[033:687] [2022-07-17 14:10:25 +0000.934022][2f05] 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
[033:687] [2022-07-17 14:10:25 +0000.934433][2f06] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[033:688] [2022-07-17 14:10:25 +0000.935219][2f06]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[033:692] [2022-07-17 14:10:25 +0000.939599][2f0b] add aac audio track with id:1
[033:692] [2022-07-17 14:10:25 +0000.939727][2f0b] audio start ts:0
[033:693] [2022-07-17 14:10:25 +0000.939765][2f0b] the audio frame has been written
into MP4 file
[033:697] [2022-07-17 14:10:25 +0000.944541][2f06] DTS queue for
Generator:0x7bdfbd96b8 10 32
[033:777] [2022-07-17 14:10:26 +0000.24709][2f06] h264 add frame header cdr flag
[033:778] [2022-07-17 14:10:26 +0000.25414][2f06] h264 add frame header cdr flag
[033:779] [2022-07-17 14:10:26 +0000.25872][2f06] Received key frame:10
[033:779] [2022-07-17 14:10:26 +0000.25916][2f06] H264Encode:: get a sps pps
header!headerSize:32
[033:779] [2022-07-17 14:10:26 +0000.26067][2f0b] get the H.264 SPS parameter
[033:779] [2022-07-17 14:10:26 +0000.26260][2f0b] add video track with id:2
[033:780] [2022-07-17 14:10:26 +0000.27601][2f0b] get the H.264 PPS parameter
[033:783] [2022-07-17 14:10:26 +0000.29847][2f0b] get the H.264 IDR frame
[033:783] [2022-07-17 14:10:26 +0000.29955][2f0b] resss:true
[033:783] [2022-07-17 14:10:26 +0000.29975][2f0b] video start ts:10
[033:783] [2022-07-17 14:10:26 +0000.30073][2f0b] the video frame has been written
into MP4 file
[033:789] [2022-07-17 14:10:26 +0000.36644][2f06] Push an pts:332 to dts queue.
[033:830] [2022-07-17 14:10:26 +0000.77576][2f05] setDisplayRotate :90
[033:830] [2022-07-17 14:10:26 +0000.77648][2f05] 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
[033:836] [2022-07-17 14:10:26 +0000.82939][2f06] last dts:300 currentPts:332
ppsOrSPS:0 queue length:9
[033:848] [2022-07-17 14:10:26 +0000.95311][2f05] setDisplayRotate :90
[033:848] [2022-07-17 14:10:26 +0000.95409][2f05] 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
[033:875] [2022-07-17 14:10:26 +0000.122606][2f05] setDisplayRotate :90
[033:875] [2022-07-17 14:10:26 +0000.122673][2f05] 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
[033:893] [2022-07-17 14:10:26 +0000.140286][2f08] Error(video_source.cc:430): wait
decoder a frame: 17
[033:895] [2022-07-17 14:10:26 +0000.142209][2f05] setDisplayRotate :90
[033:895] [2022-07-17 14:10:26 +0000.142274][2f05] 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
[033:916] [2022-07-17 14:10:26 +0000.162842][2f05] setDisplayRotate :90
[033:916] [2022-07-17 14:10:26 +0000.162958][2f05] 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
[033:926] [2022-07-17 14:10:26 +0000.173344][2f06] DTS queue for
Generator:0x7bdfbd96b8 733 766 800 831 865 897 932
[033:943] [2022-07-17 14:10:26 +0000.190085][2f05] setDisplayRotate :90
[033:943] [2022-07-17 14:10:26 +0000.190163][2f05] 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
[033:965] [2022-07-17 14:10:26 +0000.211783][2f05] setDisplayRotate :90
[033:965] [2022-07-17 14:10:26 +0000.211863][2f05] 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
[033:970] [2022-07-17 14:10:26 +0000.216812][2f06] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1164
[033:970] [2022-07-17 14:10:26 +0000.216875][2f06] push video frame to H264
encoder. (100 frame for one log)

[033:970] [2022-07-17 14:10:26 +0000.216911][2f06] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[033:970] [2022-07-17 14:10:26 +0000.216929][2f06] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:1164(100 frame for one
log)

[033:970] [2022-07-17 14:10:26 +0000.216951][2f06] The input pts:1164 fps:30


[033:981] [2022-07-17 14:10:26 +0000.228211][2f05] setDisplayRotate :90
[033:981] [2022-07-17 14:10:26 +0000.228305][2f05] 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
[033:986] [2022-07-17 14:10:26 +0000.233271][2f06] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:964 pts:964
[033:995] [2022-07-17 14:10:26 +0000.242372][2f05] setDisplayRotate :90
[033:995] [2022-07-17 14:10:26 +0000.242445][2f05] 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
[033:998] [2022-07-17 14:10:26 +0000.245346][2f06] SendFrame
encodedImage._timeStamp:997encodedImage->_length:86992
[034:008] [2022-07-17 14:10:26 +0000.255400][2f05] setDisplayRotate :90
[034:008] [2022-07-17 14:10:26 +0000.255465][2f05] 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
[034:016] [2022-07-17 14:10:26 +0000.263485][2f05] setDisplayRotate :90
[034:016] [2022-07-17 14:10:26 +0000.263553][2f05] 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
[034:029] [2022-07-17 14:10:26 +0000.276608][2f05] setDisplayRotate :90
[034:029] [2022-07-17 14:10:26 +0000.276675][2f05] 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
[034:034] [2022-07-17 14:10:26 +0000.281359][2f06] H264Encode::H264SWEncoder get
callback, length:96240 type:1 nalType:1length:96236
[034:061] [2022-07-17 14:10:26 +0000.308391][2f05] setDisplayRotate :90
[034:061] [2022-07-17 14:10:26 +0000.308471][2f05] 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
[034:082] [2022-07-17 14:10:26 +0000.329097][2f05] setDisplayRotate :90
[034:082] [2022-07-17 14:10:26 +0000.329186][2f05] 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
[034:099] [2022-07-17 14:10:26 +0000.346173][2f06] Push an pts:1663 to dts queue.
[034:103] [2022-07-17 14:10:26 +0000.350152][2f05] setDisplayRotate :90
[034:103] [2022-07-17 14:10:26 +0000.350233][2f05] 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
[034:115] [2022-07-17 14:10:26 +0000.362650][2f05] setDisplayRotate :90
[034:115] [2022-07-17 14:10:26 +0000.362719][2f05] 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
[034:127] [2022-07-17 14:10:26 +0000.374534][2f06] DTS queue for
Generator:0x7bdfbd96b8 1598 1630 1663 1704 1733
[034:138] [2022-07-17 14:10:26 +0000.384949][2f05] setDisplayRotate :90
[034:138] [2022-07-17 14:10:26 +0000.385138][2f05] 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
[034:145] [2022-07-17 14:10:26 +0000.392255][2f09] audio_frame_list_ empty
[034:157] [2022-07-17 14:10:26 +0000.404235][2f05] setDisplayRotate :90
[034:157] [2022-07-17 14:10:26 +0000.404302][2f05] 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
[034:158] [2022-07-17 14:10:26 +0000.405581][2cb1] Run AGC when audioType = 0
[034:163] [2022-07-17 14:10:26 +0000.410404][2f06] last dts:1630 currentPts:1663
ppsOrSPS:0 queue length:7
[034:167] [2022-07-17 14:10:26 +0000.413866][2f05] setDisplayRotate :90
[034:167] [2022-07-17 14:10:26 +0000.413956][2f05] 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
[034:173] [2022-07-17 14:10:26 +0000.420503][2f05] setDisplayRotate :90
[034:173] [2022-07-17 14:10:26 +0000.420567][2f05] 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
[034:177] [2022-07-17 14:10:26 +0000.424283][2f05] setDisplayRotate :90
[034:177] [2022-07-17 14:10:26 +0000.424359][2f05] 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
[034:204] [2022-07-17 14:10:26 +0000.451734][2f05] setDisplayRotate :90
[034:205] [2022-07-17 14:10:26 +0000.451839][2f05] 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
[034:208] [2022-07-17 14:10:26 +0000.455102][2f08] Error(video_source.cc:430): wait
decoder a frame: 0
[034:229] [2022-07-17 14:10:26 +0000.476346][2f05] setDisplayRotate :90
[034:229] [2022-07-17 14:10:26 +0000.476419][2f05] 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
[034:235] [2022-07-17 14:10:26 +0000.482029][2f06] h264 add frame header cdr flag
[034:235] [2022-07-17 14:10:26 +0000.482396][2f06] Received key frame:1998
[034:346] [2022-07-17 14:10:26 +0000.593390][2f05] setDisplayRotate :90
[034:346] [2022-07-17 14:10:26 +0000.593487][2f05] 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
[034:358] [2022-07-17 14:10:26 +0000.604915][2f0b] get the H.264 IDR frame
[034:420] [2022-07-17 14:10:26 +0000.667246][2f06] DTS queue for
Generator:0x7bdfbd96b8 2364 2400 2431 2463 2499 2539 2565 2598
[034:435] [2022-07-17 14:10:26 +0000.682375][2cb1] haveEnoughProcessedData
internalAudioStream.length: 20
[034:478] [2022-07-17 14:10:26 +0000.725364][2f06] Push an pts:2997 to dts queue.
[034:487] [2022-07-17 14:10:26 +0000.734615][2f09] audio_frame_list_ empty
[034:529] [2022-07-17 14:10:26 +0000.776649][2f06] last dts:2965 currentPts:2997
ppsOrSPS:0 queue length:8
[034:613] [2022-07-17 14:10:26 +0000.859777][2f05] setDisplayRotate :90
[034:613] [2022-07-17 14:10:26 +0000.859847][2f05] 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
[034:632] [2022-07-17 14:10:26 +0000.879446][2f08] Error(video_source.cc:430): wait
decoder a frame: 0
[034:640] [2022-07-17 14:10:26 +0000.887568][2f06] DTS queue for
Generator:0x7bdfbd96b8 3164 3196 3232 3262 3298 3329 3362 3398 3429 3463
[034:686] [2022-07-17 14:10:26 +0000.933032][2f08] webrtc common_video plane
old ..... (1/1000) new: 9001 delete: 8944 diff: 57
[034:820] [2022-07-17 14:10:27 +0000.66775][2f09] audio_frame_list_ empty
[034:821] [2022-07-17 14:10:27 +0000.68534][2f06] DTS queue for
Generator:0x7bdfbd96b8 3996 4029 4060 4095 4131 4165 4198 4232 4260 4295
[034:892] [2022-07-17 14:10:27 +0000.139642][2f05] setDisplayRotate :90
[034:892] [2022-07-17 14:10:27 +0000.139705][2f05] 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
[034:894] [2022-07-17 14:10:27 +0000.140815][2f06] Push an pts:4329 to dts queue.
[034:896] [2022-07-17 14:10:27 +0000.143032][2f06] h264 add frame header cdr flag
[034:896] [2022-07-17 14:10:27 +0000.143362][2f06] Received key frame:3996
[034:898] [2022-07-17 14:10:27 +0000.145117][2f0b] get the H.264 IDR frame
[034:930] [2022-07-17 14:10:27 +0000.177686][2f06] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:4529
[034:931] [2022-07-17 14:10:27 +0000.177796][2f06] push video frame to H264
encoder. (100 frame for one log)

[034:931] [2022-07-17 14:10:27 +0000.177862][2f06] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[034:931] [2022-07-17 14:10:27 +0000.177892][2f06] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:4529(100 frame for one
log)

[034:931] [2022-07-17 14:10:27 +0000.177928][2f06] The input pts:4529 fps:30


[034:941] [2022-07-17 14:10:27 +0000.188481][2f08] Error(video_source.cc:430): wait
decoder a frame: 0
[034:953] [2022-07-17 14:10:27 +0000.200481][2f06] SendFrame
encodedImage._timeStamp:4329encodedImage->_length:94448
[034:953] [2022-07-17 14:10:27 +0000.200601][2f06] last dts:4295 currentPts:4329
ppsOrSPS:0 queue length:10
[034:953] [2022-07-17 14:10:27 +0000.200635][2f06] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4329 pts:4329
[034:987] [2022-07-17 14:10:27 +0000.234666][2f06] H264Encode::H264SWEncoder get
callback, length:115248 type:1 nalType:1length:115244
[035:033] [2022-07-17 14:10:27 +0000.280097][2f06] DTS queue for
Generator:0x7bdfbd96b8 4826 4860 4894 4928 4961 4993 5034 5061 5097
[035:151] [2022-07-17 14:10:27 +0000.398239][2f09] audio_frame_list_ empty
[035:181] [2022-07-17 14:10:27 +0000.428520][2f05] setDisplayRotate :90
[035:181] [2022-07-17 14:10:27 +0000.428605][2f05] 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
[035:251] [2022-07-17 14:10:27 +0000.498236][2f06] Push an pts:5661 to dts queue.
[035:300] [2022-07-17 14:10:27 +0000.546755][2f06] DTS queue for
Generator:0x7bdfbd96b8 5661 5697 5729 5759 5793 5827 5857 5893 5929
[035:302] [2022-07-17 14:10:27 +0000.549712][2f06] last dts:5628 currentPts:5661
ppsOrSPS:0 queue length:9
[035:302] [2022-07-17 14:10:27 +0000.549719][2f08] Error(video_source.cc:430): wait
decoder a frame: 12
[035:378] [2022-07-17 14:10:27 +0000.624805][2f06] h264 add frame header cdr flag
[035:378] [2022-07-17 14:10:27 +0000.625095][2f06] Received key frame:5994
[035:385] [2022-07-17 14:10:27 +0000.632436][2f0b] get the H.264 IDR frame
[035:460] [2022-07-17 14:10:27 +0000.707738][2f06] DTS queue for
Generator:0x7bdfbd96b8 6494 6529 6565 6594 6626 6659 6692 6724
[035:498] [2022-07-17 14:10:27 +0000.744922][2f06] Push an pts:6991 to dts queue.
[035:518] [2022-07-17 14:10:27 +0000.765199][2f05] setDisplayRotate :90
[035:518] [2022-07-17 14:10:27 +0000.765271][2f05] 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
[035:536] [2022-07-17 14:10:27 +0000.782800][2f05] setDisplayRotate :90
[035:536] [2022-07-17 14:10:27 +0000.782867][2f05] 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
[035:581] [2022-07-17 14:10:27 +0000.828057][2f05] setDisplayRotate :90
[035:581] [2022-07-17 14:10:27 +0000.828115][2f05] 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
[035:585] [2022-07-17 14:10:27 +0000.832716][2f06] last dts:6958 currentPts:6991
ppsOrSPS:0 queue length:10
[035:717] [2022-07-17 14:10:27 +0000.964261][2f05] setDisplayRotate :90
[035:717] [2022-07-17 14:10:27 +0000.964338][2f05] 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
[035:739] [2022-07-17 14:10:27 +0000.986589][2f08] Error(video_source.cc:430): wait
decoder a frame: 0
[035:755] [2022-07-17 14:10:28 +0000.2083][2f09] FilterPipeline2::OnAudioFrame pts
345988 last_audio_timestamp_ 7845.53
[035:763] [2022-07-17 14:10:28 +0000.10702][2f06] DTS queue for
Generator:0x7bdfbd96b8 7325 7356 7391 7422 7455 7490 7525 7556
[035:790] [2022-07-17 14:10:28 +0000.37367][2f09] audio_frame_list_ empty
[035:814] [2022-07-17 14:10:28 +0000.61241][2f08] webrtc common_video plane
old ..... (1/1000) new: 10001 delete: 9940 diff: 61
[035:845] [2022-07-17 14:10:28 +0000.92194][2f06] SendFrame
encodedImage._timeStamp:7656encodedImage->_length:103072
[035:847] [2022-07-17 14:10:28 +0000.93766][2f06] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:7889
[035:847] [2022-07-17 14:10:28 +0000.93823][2f06] push video frame to H264 encoder.
(100 frame for one log)

[035:847] [2022-07-17 14:10:28 +0000.93845][2f06] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[035:847] [2022-07-17 14:10:28 +0000.93863][2f06] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:7889(100 frame for one
log)

[035:847] [2022-07-17 14:10:28 +0000.93887][2f06] The input pts:7889 fps:30


[035:894] [2022-07-17 14:10:28 +0000.141522][2f06] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:7690 pts:7690
[035:933] [2022-07-17 14:10:28 +0000.180697][2f06] H264Encode::H264SWEncoder get
callback, length:99552 type:1 nalType:1length:99548
[035:958] [2022-07-17 14:10:28 +0000.205280][2f06] Push an pts:8324 to dts queue.
[035:963] [2022-07-17 14:10:28 +0000.210518][2f06] h264 add frame header cdr flag
[035:964] [2022-07-17 14:10:28 +0000.211444][2f06] Received key frame:7988
[035:967] [2022-07-17 14:10:28 +0000.214723][2f0b] get the H.264 IDR frame
[036:043] [2022-07-17 14:10:28 +0000.290598][2f05] setDisplayRotate :90
[036:043] [2022-07-17 14:10:28 +0000.290662][2f05] 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
[036:055] [2022-07-17 14:10:28 +0000.302092][2f06] DTS queue for
Generator:0x7bdfbd96b8 8126 8159 8194 8225 8261 8290 8324 8360 8391
[036:118] [2022-07-17 14:10:28 +0000.365119][2f06] last dts:8290 currentPts:8324
ppsOrSPS:0 queue length:7
[036:119] [2022-07-17 14:10:28 +0000.366171][2f08] Error(video_source.cc:430): wait
decoder a frame: 0
[036:155] [2022-07-17 14:10:28 +0000.402180][2cb1] Run AGC when audioType = 0
[036:155] [2022-07-17 14:10:28 +0000.402298][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[036:175] [2022-07-17 14:10:28 +0000.422753][2cb1] haveEnoughProcessedData
internalAudioStream.length: 20
[036:178] [2022-07-17 14:10:28 +0000.425305][2f09] audio_frame_list_ empty
[036:259] [2022-07-17 14:10:28 +0000.506395][2f06] DTS queue for
Generator:0x7bdfbd96b8 8958 8991 9025 9058 9091 9126 9156 9191 9222
[036:346] [2022-07-17 14:10:28 +0000.593697][2f05] setDisplayRotate :90
[036:347] [2022-07-17 14:10:28 +0000.593760][2f05] 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
[036:385] [2022-07-17 14:10:28 +0000.632216][2f06] Push an pts:9660 to dts queue.
[036:441] [2022-07-17 14:10:28 +0000.687967][2f06] last dts:9623 currentPts:9660
ppsOrSPS:0 queue length:9
[036:460] [2022-07-17 14:10:28 +0000.707125][2f06] DTS queue for
Generator:0x7bdfbd96b8 9787 9824 9857 9890 9926 9957 9990 10023 10057
[036:512] [2022-07-17 14:10:28 +0000.759456][2f05] setDisplayRotate :90
[036:512] [2022-07-17 14:10:28 +0000.759516][2f05] 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
[036:515] [2022-07-17 14:10:28 +0000.762467][2f06] h264 add frame header cdr flag
[036:521] [2022-07-17 14:10:28 +0000.768433][2f06] Received key frame:9990
[036:523] [2022-07-17 14:10:28 +0000.770192][2f08] Error(video_source.cc:430): wait
decoder a frame: 11
[036:526] [2022-07-17 14:10:28 +0000.772845][2f0b] get the H.264 IDR frame
[036:534] [2022-07-17 14:10:28 +0000.781678][2f05] setDisplayRotate :90
[036:534] [2022-07-17 14:10:28 +0000.781730][2f05] 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
[036:536] [2022-07-17 14:10:28 +0000.783576][2f09] audio_frame_list_ empty
[036:544] [2022-07-17 14:10:28 +0000.791566][2f05] setDisplayRotate :90
[036:544] [2022-07-17 14:10:28 +0000.791640][2f05] 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
[036:651] [2022-07-17 14:10:28 +0000.898284][2f05] setDisplayRotate :90
[036:651] [2022-07-17 14:10:28 +0000.898340][2f05] 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
[036:744] [2022-07-17 14:10:28 +0000.991066][2f06] DTS queue for
Generator:0x7bdfbd96b8 10623 10656 10689 10722 10754 10789 10821 10854
[036:773] [2022-07-17 14:10:29 +0000.20402][2f06] Push an pts:10989 to dts queue.
[036:851] [2022-07-17 14:10:29 +0000.98174][2f06] SendFrame
encodedImage._timeStamp:10989encodedImage->_length:50288
[036:852] [2022-07-17 14:10:29 +0000.99001][2f06] last dts:10957 currentPts:10989
ppsOrSPS:0 queue length:7
[036:863] [2022-07-17 14:10:29 +0000.110166][2f06] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:11260
[036:863] [2022-07-17 14:10:29 +0000.110378][2f06] push video frame to H264
encoder. (100 frame for one log)

[036:863] [2022-07-17 14:10:29 +0000.110547][2f06] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[036:863] [2022-07-17 14:10:29 +0000.110665][2f06] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:11260(100 frame for one
log)

[036:863] [2022-07-17 14:10:29 +0000.110735][2f06] The input pts:11260 fps:30


[036:878] [2022-07-17 14:10:29 +0000.125195][2f09] audio_frame_list_ empty
[036:882] [2022-07-17 14:10:29 +0000.129448][2f06] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:11055 pts:11055
[036:994] [2022-07-17 14:10:29 +0000.240847][2f05] setDisplayRotate :90
[036:994] [2022-07-17 14:10:29 +0000.240887][2f05] 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
[037:004] [2022-07-17 14:10:29 +0000.250879][2f06] H264Encode::H264SWEncoder get
callback, length:121104 type:1 nalType:1length:121100
[037:023] [2022-07-17 14:10:29 +0000.270677][2f08] Error(video_source.cc:430): wait
decoder a frame: 0
[037:047] [2022-07-17 14:10:29 +0000.294132][2f06] DTS queue for
Generator:0x7bdfbd96b8 11460 11488 11523 11558 11590 11625 11655 11690
[037:117] [2022-07-17 14:10:29 +0000.364147][2f08] webrtc common_video plane
old ..... (1/1000) new: 11001 delete: 10948 diff: 53
[037:179] [2022-07-17 14:10:29 +0000.426699][2f06] h264 add frame header cdr flag
[037:180] [2022-07-17 14:10:29 +0000.427033][2f06] Received key frame:11991
[037:181] [2022-07-17 14:10:29 +0000.428578][2f06] Push an pts:12319 to dts queue.
[037:192] [2022-07-17 14:10:29 +0000.439198][2f0b] get the H.264 IDR frame
[037:243] [2022-07-17 14:10:29 +0000.490153][2f09] audio_frame_list_ empty
[037:291] [2022-07-17 14:10:29 +0000.538166][2f05] setDisplayRotate :90
[037:291] [2022-07-17 14:10:29 +0000.538220][2f05] 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
[037:297] [2022-07-17 14:10:29 +0000.544652][2f06] DTS queue for
Generator:0x7bdfbd96b8 12289 12319 12354 12390 12422 12460 12488
[037:298] [2022-07-17 14:10:29 +0000.545673][2f06] last dts:12289 currentPts:12319
ppsOrSPS:0 queue length:6
[037:348] [2022-07-17 14:10:29 +0000.595328][2f08] Error(video_source.cc:430): wait
decoder a frame: 0
[037:457] [2022-07-17 14:10:29 +0000.704151][2f06] DTS queue for
Generator:0x7bdfbd96b8 13055 13088 13121 13155 13186 13223 13253 13286 13320 13356
13386
[037:585] [2022-07-17 14:10:29 +0000.832034][2f05] setDisplayRotate :90
[037:585] [2022-07-17 14:10:29 +0000.832092][2f05] 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
[037:605] [2022-07-17 14:10:29 +0000.852289][2f06] Push an pts:13653 to dts queue.
[037:677] [2022-07-17 14:10:29 +0000.923779][2f06] last dts:13615 currentPts:13653
ppsOrSPS:0 queue length:9
[037:729] [2022-07-17 14:10:29 +0000.976117][2f06] DTS queue for
Generator:0x7bdfbd96b8 13919 13952 13985 14020 14051 14088 14121 14154 14188
[037:754] [2022-07-17 14:10:30 +0000.1448][2f08] Error(video_source.cc:430): wait
decoder a frame: 3
[037:761] [2022-07-17 14:10:30 +0000.8001][2f06] h264 add frame header cdr flag
[037:761] [2022-07-17 14:10:30 +0000.8269][2f06] Received key frame:13985
[037:766] [2022-07-17 14:10:30 +0000.13592][2f0b] get the H.264 IDR frame
[037:828] [2022-07-17 14:10:30 +0000.74847][2f06] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:14622
[037:828] [2022-07-17 14:10:30 +0000.74907][2f06] push video frame to H264 encoder.
(100 frame for one log)

[037:828] [2022-07-17 14:10:30 +0000.74936][2f06] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[037:828] [2022-07-17 14:10:30 +0000.74953][2f06] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:14622(100 frame for one
log)

[037:828] [2022-07-17 14:10:30 +0000.74979][2f06] The input pts:14622 fps:30


[037:843] [2022-07-17 14:10:30 +0000.89814][2f06] SendFrame
encodedImage._timeStamp:14320encodedImage->_length:97168
[037:868] [2022-07-17 14:10:30 +0000.115462][2f06] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:14424 pts:14424
[037:875] [2022-07-17 14:10:30 +0000.122572][2f05] setDisplayRotate :90
[037:875] [2022-07-17 14:10:30 +0000.122624][2f05] 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
[037:910] [2022-07-17 14:10:30 +0000.157401][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[037:918] [2022-07-17 14:10:30 +0000.165581][2f05] setDisplayRotate :90
[037:918] [2022-07-17 14:10:30 +0000.165633][2f05] 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
[037:920] [2022-07-17 14:10:30 +0000.167582][2ef9] av_read_frame AVERROR_EOF
[037:930] [2022-07-17 14:10:30 +0000.177652][2f06] H264Encode::H264SWEncoder get
callback, length:89488 type:1 nalType:1length:89484
[037:947] [2022-07-17 14:10:30 +0000.194732][2f05] setDisplayRotate :90
[037:948] [2022-07-17 14:10:30 +0000.194785][2f05] 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
[037:956] [2022-07-17 14:10:30 +0000.202947][2f06] Push an pts:14984 to dts queue.
[037:956] [2022-07-17 14:10:30 +0000.203598][2f09] audio_frame_list_ empty
[037:958] [2022-07-17 14:10:30 +0000.205210][2f06] DTS queue for
Generator:0x7bdfbd96b8 14755 14786 14826 14851 14884 14919 14953 14984
[037:977] [2022-07-17 14:10:30 +0000.224665][2f05] setDisplayRotate :90
[037:977] [2022-07-17 14:10:30 +0000.224720][2f05] 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
[037:993] [2022-07-17 14:10:30 +0000.240455][2ef9] OnReceiveEOF:
[037:993] [2022-07-17 14:10:30 +0000.240561][2ef9] OnDecoderEOF time:563061199
enter.

[037:993] [2022-07-17 14:10:30 +0000.240614][2ef9] OnDecoderEOF leave. expire time


= 0 ms

[037:993] [2022-07-17 14:10:30 +0000.240636][2ef9] OnDecoderFinished:


OnDecoderFinished total decoder frames:456 this:0x7c3cb57400
[037:994] [2022-07-17 14:10:30 +0000.240794][2ef9] NULLFilter::OnVideoSourceEOF
0x7c3cb57400 this 0x7bdf85ab40
[037:994] [2022-07-17 14:10:30 +0000.240824][2ef9] NULLFilter::OnVideoSourceEOF
0x7bdf85ab40 this 0x7bdf85ac00
[037:994] [2022-07-17 14:10:30 +0000.240855][2ef9] NULLFilter::OnVideoSourceEOF
0x7bdf85ac00 this 0x7bdf85b140
[037:994] [2022-07-17 14:10:30 +0000.240998][2f05] setDisplayRotate :90
[037:994] [2022-07-17 14:10:30 +0000.241068][2f05] 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
[037:994] [2022-07-17 14:10:30 +0000.240823][2ef7] CleanUp time:563061200 enter.

[037:994] [2022-07-17 14:10:30 +0000.241142][2f08]


Warning(media_filter_composefile.cc:321): pull video frame failed:8
[037:994] [2022-07-17 14:10:30 +0000.241177][2f08] OnVideoTimer: OnVideoTimer
return
[037:996] [2022-07-17 14:10:30 +0000.243496][2f09] PullAudioFrame: PullFrame audio
finished.
[037:996] [2022-07-17 14:10:30 +0000.243556][2f09]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[037:996] [2022-07-17 14:10:30 +0000.243580][2f09] OnAudioTimer: OnAudioTimer
EndComposeFile
[037:996] [2022-07-17 14:10:30 +0000.243596][2f09] EndComposeFile: EndComposeFile,
is composing 1
[037:998] [2022-07-17 14:10:30 +0000.244849][2f06]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:456
[037:998] [2022-07-17 14:10:30 +0000.244897][2f06]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x7bdfaa3000
[037:998] [2022-07-17 14:10:30 +0000.245100][2f07]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[037:998] [2022-07-17 14:10:30 +0000.245136][2f07]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[037:998] [2022-07-17 14:10:30 +0000.245294][2f05] stop recording
[037:998] [2022-07-17 14:10:30 +0000.245320][2f05]
RecordingSessionInternalSimple:destroy media processers
[037:998] [2022-07-17 14:10:30 +0000.245337][2f05] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[037:998] [2022-07-17 14:10:30 +0000.245353][2f05] H264Encode::flushing hareware
Encoder
[037:999] [2022-07-17 14:10:30 +0000.246305][2f05] Flush time:563061205 enter.

[037:999] [2022-07-17 14:10:30 +0000.246354][2f05] H264Encoder encoder flush


[037:999] [2022-07-17 14:10:30 +0000.246373][2f05] flush output queue
[038:001] [2022-07-17 14:10:30 +0000.248176][2ef7] CleanUp leave. expire time = 7
ms

[038:001] [2022-07-17 14:10:30 +0000.248235][2ef7] clean up


[038:001] [2022-07-17 14:10:30 +0000.248252][2ef7] running_decoder_count:0max
count:2
[038:010] [2022-07-17 14:10:30 +0000.257316][2f05] last dts:14953 currentPts:14984
ppsOrSPS:0 queue length:6
[038:156] [2022-07-17 14:10:30 +0000.403679][2cb1] Run AGC when audioType = 0
[038:322] [2022-07-17 14:10:30 +0000.569336][2f05] Flush leave. expire time = 323
ms

[038:322] [2022-07-17 14:10:30 +0000.569520][2f05] ~H264EncodeWrap:


[038:323] [2022-07-17 14:10:30 +0000.569776][2f05] ~H264Encode:
[038:323] [2022-07-17 14:10:30 +0000.569823][2f05] teardownCompressionSession:
H264Encode::destroying Encoder
[038:323] [2022-07-17 14:10:30 +0000.569880][2f05] Release time:563061529 enter.

[038:323] [2022-07-17 14:10:30 +0000.570055][2f05] Release:


MediaCodecVideoEncoder::Release _inited:1
[038:323] [2022-07-17 14:10:30 +0000.570100][2f05] Destroy time:563061529 enter.

[038:323] [2022-07-17 14:10:30 +0000.570153][2f05] H264Encoder encoderDestroy


[038:323] [2022-07-17 14:10:30 +0000.570175][2f05]
AndroidMediaCodecVideoEncoder::release env: 0x7bbeeb2180
[038:323] [2022-07-17 14:10:30 +0000.570213][2f05]
AndroidMediaCodecVideoEncoder::Destroy
[038:366] [2022-07-17 14:10:30 +0000.613068][2f05] Destroy leave. expire time = 43
ms

[038:366] [2022-07-17 14:10:30 +0000.613234][2f05] Release leave. expire time = 43


ms

[038:366] [2022-07-17 14:10:30 +0000.613278][2f05] ~AndroidHwAvcEncoder


time:563061572 enter.

[038:366] [2022-07-17 14:10:30 +0000.613428][2f05] Release time:563061572 enter.

[038:366] [2022-07-17 14:10:30 +0000.613477][2f05] Release:


MediaCodecVideoEncoder:: has been released before, just return
[038:366] [2022-07-17 14:10:30 +0000.613505][2f05] Release leave. expire time = 0
ms

[038:366] [2022-07-17 14:10:30 +0000.613546][2f05] ~AndroidMediaCodecVideoEncoder


[038:366] [2022-07-17 14:10:30 +0000.613592][2f05] ~WrapAndroidMediaCodec
time:563061572 enter.

[038:366] [2022-07-17 14:10:30 +0000.613635][2f05] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[038:366] [2022-07-17 14:10:30 +0000.613677][2f05] video hevc hw codec


destructor:0x7beb72ab00

[038:367] [2022-07-17 14:10:30 +0000.613784][2f05] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[038:367] [2022-07-17 14:10:30 +0000.613877][2f05] teardownCompressionSession:


H264Encode::destroyed Encoder
[038:367] [2022-07-17 14:10:30 +0000.613952][2f05]
RecordingSessionInternalSimple:destroy aac encoder output!
[038:367] [2022-07-17 14:10:30 +0000.614025][2f05] AACSWEncode destructor
[038:375] [2022-07-17 14:10:30 +0000.622193][2f0b] fd_close successed!
[038:380] [2022-07-17 14:10:30 +0000.627353][2f0b] MP4 close file successfully
[038:380] [2022-07-17 14:10:30 +0000.627457][2f0b] Recording session Internal:
notify recording ok
[038:380] [2022-07-17 14:10:30 +0000.627483][2f0b] onRecordingOk: Recording Ok,
compose use time: 4771, averagefps 0
[038:380] [2022-07-17 14:10:30 +0000.627504][2f0b] OnReceiveEOF:
[038:382] [2022-07-17 14:10:30 +0000.629384][2f09] OnAudioTimer: OnAudioTimer
return
[038:403] [2022-07-17 14:10:30 +0000.650272][2642]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[038:403] [2022-07-17 14:10:30 +0000.650382][2642] ~MediaComposeFile time:563061609
enter.

[038:403] [2022-07-17 14:10:30 +0000.650421][2642] CancelCompose: CancelCompose,


is composing 0
[038:404] [2022-07-17 14:10:30 +0000.650810][2f05] stop recording
[038:404] [2022-07-17 14:10:30 +0000.650935][2f05] we have stopped recording before
[038:404] [2022-07-17 14:10:30 +0000.651504][2642] ~MediaComposeFile leave. expire
time = 1 ms

[038:404] [2022-07-17 14:10:30 +0000.651641][2642] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[038:405] [2022-07-17 14:10:30 +0000.652701][2642] global uninited!
[038:406] [2022-07-17 14:10:30 +0000.652823][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[038:406] [2022-07-17 14:10:30 +0000.652888][2642] ~MediaFilterGraph:
MediaFilterGraph destruct
[038:406] [2022-07-17 14:10:30 +0000.652923][2642] RemoveVideoBackGroud: hava not
add video backgroud
[038:406] [2022-07-17 14:10:30 +0000.652990][2642] UnbindInputFilter 0x7bdf85b1d8
this 0x7bdfa3b8a0
[038:406] [2022-07-17 14:10:30 +0000.653070][2642] ClearAllSource: remove source
filter, sourceid: 0x7c3cb57400
[038:406] [2022-07-17 14:10:30 +0000.653152][2642] DestoryDecoderByVideoSource
time:563061612 enter.

[038:406] [2022-07-17 14:10:30 +0000.653201][2642] ~VideoBindDecoder time:563061612


enter.

[038:407] [2022-07-17 14:10:30 +0000.653766][2642] CleanUp time:563061613 enter.

[038:407] [2022-07-17 14:10:30 +0000.654122][2642] CleanUp leave. expire time = 0


ms

[038:407] [2022-07-17 14:10:30 +0000.654173][2642] CleanUp time:563061613 enter.

[038:408] [2022-07-17 14:10:30 +0000.655574][2642] CleanUp leave. expire time = 1


ms

[038:411] [2022-07-17 14:10:30 +0000.658753][2642] ~VideoBindDecoder leave. expire


time = 6 ms

[038:412] [2022-07-17 14:10:30 +0000.658856][2642] DestoryDecoderByVideoSource


leave. expire time = 6 ms

[038:412] [2022-07-17 14:10:30 +0000.658913][2642] UnbindInputFilter 0x7bdf85ac98


this 0x7bdf85b1d8
[038:412] [2022-07-17 14:10:30 +0000.659401][2642] UnbindInputFilter 0x7bdf85abd8
this 0x7bdf85ac98
[038:412] [2022-07-17 14:10:30 +0000.659451][2642] UnbindInputFilter 0x7c3cb57620
this 0x7bdf85abd8
[038:412] [2022-07-17 14:10:30 +0000.659499][2642] UnbindInputFilter 0x7bdf85b118
this 0x7bdf85b658
[038:412] [2022-07-17 14:10:30 +0000.659547][2642] UnbindInputFilter 0x7bdf85b058
this 0x7bdf85b118
[038:412] [2022-07-17 14:10:30 +0000.659590][2642] UnbindInputFilter 0x7c3cb57620
this 0x7bdf85b058
[038:412] [2022-07-17 14:10:30 +0000.659639][2642] ~GLESContext:
[038:419] [2022-07-17 14:10:30 +0000.665855][2642] GLESContext destruct finish.
[038:419] [2022-07-17 14:10:30 +0000.665939][2642] filter: filter pipeline destroy
this: 0x7bdfa3b800
[039:636] [2022-07-17 14:10:31 +0000.883588][2cb1] haveEnoughProcessedData
internalAudioStream.length: 20
[040:152] [2022-07-17 14:10:32 +0000.399116][2cb2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[040:152] [2022-07-17 14:10:32 +0000.399323][2cb2] _deviceSampleRate:48000

[040:156] [2022-07-17 14:10:32 +0000.402765][2cb1] Run AGC when audioType = 0


[040:156] [2022-07-17 14:10:32 +0000.402912][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[041:356] [2022-07-17 14:10:33 +0000.603602][2cb1] haveEnoughProcessedData
internalAudioStream.length: 10
[042:156] [2022-07-17 14:10:34 +0000.402999][2cb1] Run AGC when audioType = 0
[043:085] [2022-07-17 14:10:35 +0000.332554][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[044:155] [2022-07-17 14:10:36 +0000.402068][2cb1] Run AGC when audioType = 0
[044:155] [2022-07-17 14:10:36 +0000.402304][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[044:698] [2022-07-17 14:10:36 +0000.945364][2642] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[044:698] [2022-07-17 14:10:36 +0000.945484][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[044:698] [2022-07-17 14:10:36 +0000.945673][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[044:699] [2022-07-17 14:10:36 +0000.945788][2cad] operator() time:563067905
enter.

[044:699] [2022-07-17 14:10:36 +0000.945831][2cad] MediaFilterCamera, recording


file context:0x7beb7ee580 input texture:6
[044:700] [2022-07-17 14:10:36 +0000.947130][2cad] MicSource: Mic source
created:10x7beb6f6d00
[044:701] [2022-07-17 14:10:36 +0000.947772][2cad] alloc thread: 0x7bbef21380
name:worker1 thread id:531780263088 to Mic_source
[044:701] [2022-07-17 14:10:36 +0000.947808][2cad] audio: start the audio sender
thread.

[044:701] [2022-07-17 14:10:36 +0000.947860][2cad] construct OpenGLRenderProgram


0x7beb67a198
[044:701] [2022-07-17 14:10:36 +0000.947887][2cad] CropFilter::SetOrientation
orientation: 90
[044:701] [2022-07-17 14:10:36 +0000.947967][2cad] filter: filter pipeline
construtc this: 0x7bbf092300
[044:701] [2022-07-17 14:10:36 +0000.947996][2cad] filter: filter pipeline2 update
pattern: 1
[044:701] [2022-07-17 14:10:36 +0000.948017][2cad] CameraSource::source_id_:7
[044:701] [2022-07-17 14:10:36 +0000.948044][2cad] RecordAudioSource::source_id_:8
[044:701] [2022-07-17 14:10:36 +0000.948206][2cad] BindInputFilter 0x7bbef2b2c0
this 0x7beb67a3c0
[044:701] [2022-07-17 14:10:36 +0000.948283][2cad] BindInputFilter 0x7bbef2b458
this 0x7bdf967550
[044:701] [2022-07-17 14:10:36 +0000.948313][2cad] BindInputFilter 0x7beb67a3c0
this 0x7bbf0923a0
[044:701] [2022-07-17 14:10:36 +0000.948363][2cad] setParamentForFilters:
speed:1.000000
[044:701] [2022-07-17 14:10:36 +0000.948385][2cad] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[044:701] [2022-07-17 14:10:36 +0000.948422][2cad] SetParamForFilter time:563067907
enter.

[044:701] [2022-07-17 14:10:36 +0000.948439][2cad] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[044:701] [2022-07-17 14:10:36 +0000.948468][2cad] SetParamForFilter: Params video
index is: 0
[044:701] [2022-07-17 14:10:36 +0000.948483][2cad] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[044:701] [2022-07-17 14:10:36 +0000.948562][2cad] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[044:701] [2022-07-17 14:10:36 +0000.948579][2cad] crop filter mode tpye:
citytravelvideo index:0
[044:707] [2022-07-17 14:10:36 +0000.954645][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[044:707] [2022-07-17 14:10:36 +0000.954726][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[044:707] [2022-07-17 14:10:36 +0000.954747][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[044:708] [2022-07-17 14:10:36 +0000.954765][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[044:708] [2022-07-17 14:10:36 +0000.954784][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[044:708] [2022-07-17 14:10:36 +0000.954802][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[044:708] [2022-07-17 14:10:36 +0000.954819][2cad]
Warning(parse_template_json.cc:45): json parament no found the parament
[044:708] [2022-07-17 14:10:36 +0000.954835][2cad]
Warning(parse_template_json.cc:81): json parament no found the parament
[044:708] [2022-07-17 14:10:36 +0000.954852][2cad]
Warning(parse_template_json.cc:81): json parament no found the parament
[044:708] [2022-07-17 14:10:36 +0000.954891][2cad]
Warning(parse_template_json.cc:67): json parament no found the parament
[044:708] [2022-07-17 14:10:36 +0000.954909][2cad]
Warning(parse_template_json.cc:93): json parament no found the duration
[044:708] [2022-07-17 14:10:36 +0000.954935][2cad] SetParamForFilter leave. expire
time = 7 ms

[044:708] [2022-07-17 14:10:36 +0000.955026][2cad] OnOutputSizeChanged width 1920


height 1080
[044:708] [2022-07-17 14:10:36 +0000.955060][2cad] OpenGLFrameBuffer: width:1920
height:1080
[044:708] [2022-07-17 14:10:36 +0000.955098][2cad] OpenGLFrameBuffer: width:1920
height:1080
[044:708] [2022-07-17 14:10:36 +0000.955115][2cad] OpenGLFrameBuffer: width:1920
height:1080
[044:708] [2022-07-17 14:10:36 +0000.955143][2cad] OpenGLFrameBuffer: width:1920
height:1080
[044:708] [2022-07-17 14:10:36 +0000.955160][2cad] OpenGLFrameBuffer: width:1920
height:1080
[044:708] [2022-07-17 14:10:36 +0000.955222][2cad] OpenGLFrameBuffer: width:1920
height:1080
[044:708] [2022-07-17 14:10:36 +0000.955238][2cad] construct TrivalImageDrawer
0x7bbeeb2040
[044:708] [2022-07-17 14:10:36 +0000.955294][2cad] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7bbeeb2040 context 0x7beb733800
[044:708] [2022-07-17 14:10:36 +0000.955315][2cad] setupGLES:
[044:709] [2022-07-17 14:10:36 +0000.955893][2cad] OpenGLRenderProgram::Initialize.
[044:709] [2022-07-17 14:10:36 +0000.955940][2cad] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[044:709] [2022-07-17 14:10:36 +0000.955961][2cad] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[044:709] [2022-07-17 14:10:36 +0000.956050][2cad] Init open gl render:
0x7beb67a198
[044:709] [2022-07-17 14:10:36 +0000.956078][2cad] Fragement shader path:
[044:709] [2022-07-17 14:10:36 +0000.956099][2cad] Fragement shader path:
[044:709] [2022-07-17 14:10:36 +0000.956114][2cad] create opengl program object.
[044:709] [2022-07-17 14:10:36 +0000.956131][2cad] create shader: vertex
[044:709] [2022-07-17 14:10:36 +0000.956296][2cad] create shader: fragment
[044:712] [2022-07-17 14:10:36 +0000.959611][2cad] Have not extra filter filename!
[044:712] [2022-07-17 14:10:36 +0000.959713][2cad] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[044:712] [2022-07-17 14:10:36 +0000.959733][2cad] OpenGLRenderProgram::Initialize
success.
[044:713] [2022-07-17 14:10:36 +0000.959795][2cad] Setup the OpenGL result:1
[044:713] [2022-07-17 14:10:36 +0000.960119][2cac] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4
[044:713] [2022-07-17 14:10:36 +0000.960215][2cac] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[044:713] [2022-07-17 14:10:36 +0000.960245][2cac] 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
[044:713] [2022-07-17 14:10:36 +0000.960246][3004] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bad127298
[044:713] [2022-07-17 14:10:36 +0000.960271][2cac] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4
fileFD: -1
[044:714] [2022-07-17 14:10:36 +0000.960852][2cac] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4
is opened successfully
[044:714] [2022-07-17 14:10:36 +0000.960919][2cac] setupMediaProcessers:
[044:714] [2022-07-17 14:10:36 +0000.960935][2cac]
RecordingSessionInternalSimple:setup media processers.
[044:714] [2022-07-17 14:10:36 +0000.960951][2cac] construct AAC encoder
[044:714] [2022-07-17 14:10:36 +0000.961276][2cac] H264Encoder creating:
superfast011818
[044:714] [2022-07-17 14:10:36 +0000.961320][2cac] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[044:715] [2022-07-17 14:10:36 +0000.961831][2cac] H264Encode::GetMachineModel is
M2012K11AG
[044:715] [2022-07-17 14:10:36 +0000.961866][2cac] H264Encoder machine_mode
is:M2012K11AG
[044:715] [2022-07-17 14:10:36 +0000.961901][2cac] H264Encode::machine size :9
machine_mode:M2012K11AG
[044:715] [2022-07-17 14:10:36 +0000.961931][2cac] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[044:715] [2022-07-17 14:10:36 +0000.961961][2cac] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[044:715] [2022-07-17 14:10:36 +0000.961990][2cac] setupCompressionSession:
[044:715] [2022-07-17 14:10:36 +0000.962019][2cac] H264Encode::creating hareware
Encoder
[044:715] [2022-07-17 14:10:36 +0000.962050][2cac] AndroidHwAvcEncoder
time:563067921 enter.

[044:715] [2022-07-17 14:10:36 +0000.962201][2cac] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007d740e4540 address:0x7ba1cc7760
[044:715] [2022-07-17 14:10:36 +0000.962351][2cac] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[044:715] [2022-07-17 14:10:36 +0000.962385][2cac] The video avc hw codec address
is 0x7bad00a0d8
[044:715] [2022-07-17 14:10:36 +0000.962454][2cac] AndroidHwAvcEncoder leave.
expire time = 0 ms

[044:715] [2022-07-17 14:10:36 +0000.962481][2cac] RegisterEncodeCompleteCallback


time:563067921 enter.

[044:715] [2022-07-17 14:10:36 +0000.962570][2cac] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[044:715] [2022-07-17 14:10:36 +0000.962603][2cac] InitEncode time:563067921


enter.
[044:715] [2022-07-17 14:10:36 +0000.962663][2cac] InitEncode:
MediaCodecVideoEncoder::Release _inited:1
[044:715] [2022-07-17 14:10:36 +0000.962693][2cac] Create time:563067921 enter.

[044:715] [2022-07-17 14:10:36 +0000.962721][2cac] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[044:715] [2022-07-17 14:10:36 +0000.962740][2cac]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7bca859e40
[044:716] [2022-07-17 14:10:36 +0000.962878][2cac]
supported_type:image/vnd.android.heic
[044:716] [2022-07-17 14:10:36 +0000.962918][2cac] supported_type:video/avc
[044:716] [2022-07-17 14:10:36 +0000.962947][2cac] name:OMX.qcom.video.encoder.avc
mime:video/avc
[044:716] [2022-07-17 14:10:36 +0000.962984][2cac] hwCodecPrefix :OMX.qcom.
[044:716] [2022-07-17 14:10:36 +0000.963011][2cac] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[044:716] [2022-07-17 14:10:36 +0000.963041][2cac] mediacodec_createCodecByName
time:563067922 enter.

[044:716] [2022-07-17 14:10:36 +0000.963069][2cac] WrapAndroidMediaCodec


time:563067922 enter.

[044:716] [2022-07-17 14:10:36 +0000.963164][2cac] WrapAndroidMediaCodec leave.


expire time = 0 ms

[044:730] [2022-07-17 14:10:36 +0000.977690][2cac] mediacodec_createCodecByName


leave. expire time = 14 ms

[044:731] [2022-07-17 14:10:36 +0000.977818][2cac] WrapAndroidMediaFromat


time:563067937 enter.

[044:731] [2022-07-17 14:10:36 +0000.977926][2cac] WrapAndroidMediaFromat leave.


expire time = 0 ms

[044:766] [2022-07-17 14:10:37 +0000.13446][2cac] Destroy time:563067972 enter.

[044:766] [2022-07-17 14:10:37 +0000.13554][2cac] WrapAndroidMediaFromat::


Destroy
[044:766] [2022-07-17 14:10:37 +0000.13676][2cac] Destroy leave. expire time = 0
ms

[044:766] [2022-07-17 14:10:37 +0000.13728][2cac] ~WrapAndroidMediaFromat


time:563067972 enter.

[044:767] [2022-07-17 14:10:37 +0000.13783][2cac] ~WrapAndroidMediaFromat leave.


expire time = 1 ms

[044:767] [2022-07-17 14:10:37 +0000.13827][2cac] Create leave. expire time = 52


ms

[044:767] [2022-07-17 14:10:37 +0000.13921][2cac] isSemiPlanarSupport


time:563067973 enter.

[044:767] [2022-07-17 14:10:37 +0000.13955][2cac] H264Encoder isSemiPlanarSupport


[044:767] [2022-07-17 14:10:37 +0000.13995][2cac] isSemiPlanarSupport leave.
expire time = 0 ms
[044:767] [2022-07-17 14:10:37 +0000.14047][2cac] creat hw H264Encoder success,
isSemiPlanar:1
[044:767] [2022-07-17 14:10:37 +0000.14195][2cac] InitEncode leave. expire time =
52 ms

[044:767] [2022-07-17 14:10:37 +0000.14256][2cac] H264Encode::created Encoder


[044:767] [2022-07-17 14:10:37 +0000.14288][2cac] H264Encode:: H264 encoder
created.
[044:767] [2022-07-17 14:10:37 +0000.14337][2cac] H264 encoder created.
[044:767] [2022-07-17 14:10:37 +0000.14366][2cac]
RecordingSessionInternalSimple:created avc encoder avc: 0x7ba9081c00
[044:767] [2022-07-17 14:10:37 +0000.14399][2cac] setOutput:
[044:767] [2022-07-17 14:10:37 +0000.14428][2cac]
RecordingSessionInternalSimple:encoder set output to muxer!
[044:767] [2022-07-17 14:10:37 +0000.14458][2cac] request a key frame
[044:767] [2022-07-17 14:10:37 +0000.14485][2cac] H264Encode:: request a key frame
[044:768] [2022-07-17 14:10:37 +0000.15136][2cac] setDisplayRotate :90
[044:768] [2022-07-17 14:10:37 +0000.15216][2cac] 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
[044:768] [2022-07-17 14:10:37 +0000.15322][2cad] StartRecording:
[044:768] [2022-07-17 14:10:37 +0000.15433][2ffe] operator(): Set the recording
session in mic source. recording session: 0x7bbef2b300
[044:769] [2022-07-17 14:10:37 +0000.15911][2cad] operator() leave. expire time =
70 ms

[044:793] [2022-07-17 14:10:37 +0000.39925][2cb1] haveEnoughProcessedData


internalAudioStream.length: 0
[044:811] [2022-07-17 14:10:37 +0000.58130][2cad] begine recode to first frame
spend time:112
[044:811] [2022-07-17 14:10:37 +0000.58195][2cad]
GPUImageProcessing::SetOrientation orientation: 90
[044:812] [2022-07-17 14:10:37 +0000.59675][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[044:846] [2022-07-17 14:10:37 +0000.93176][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[044:854] [2022-07-17 14:10:37 +0000.101219][3003]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[044:880] [2022-07-17 14:10:37 +0000.127193][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[044:908] [2022-07-17 14:10:37 +0000.155147][3004] add aac audio track with id:1
[044:908] [2022-07-17 14:10:37 +0000.155288][3004] audio start ts:0
[044:908] [2022-07-17 14:10:37 +0000.155417][3004] the audio frame has been written
into MP4 file
[044:956] [2022-07-17 14:10:37 +0000.203650][3003] h264 add frame header cdr flag
[044:957] [2022-07-17 14:10:37 +0000.204381][3003] h264 add frame header cdr flag
[044:959] [2022-07-17 14:10:37 +0000.205847][3003] Received key frame:0
[044:959] [2022-07-17 14:10:37 +0000.205929][3003] H264Encode:: get a sps pps
header!headerSize:32
[044:959] [2022-07-17 14:10:37 +0000.206039][3004] get the H.264 SPS parameter
[044:959] [2022-07-17 14:10:37 +0000.206281][3004] add video track with id:2
[044:962] [2022-07-17 14:10:37 +0000.209292][3004] get the H.264 PPS parameter
[044:965] [2022-07-17 14:10:37 +0000.212079][3004] get the H.264 IDR frame
[044:965] [2022-07-17 14:10:37 +0000.212188][3004] resss:true
[044:965] [2022-07-17 14:10:37 +0000.212215][3004] video start ts:0
[044:965] [2022-07-17 14:10:37 +0000.212315][3004] the video frame has been written
into MP4 file
[044:967] [2022-07-17 14:10:37 +0000.214006][2ffe] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[045:046] [2022-07-17 14:10:37 +0000.293081][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[045:147] [2022-07-17 14:10:37 +0000.394672][2cad] The convert RGB to YUV take 2
[045:231] [2022-07-17 14:10:37 +0000.478205][2ffb] AF_SpeedFilter audio
0x7bdf967400 PullFrame
[045:357] [2022-07-17 14:10:37 +0000.603941][2cad] FilterPipeline2::OnVideoFrame
pts 541 last_video_timestamp_ 541
[045:361] [2022-07-17 14:10:37 +0000.608120][3003] DTS queue for
Generator:0x7bad1274b8 508
[045:413] [2022-07-17 14:10:37 +0000.660261][2ffb] AF_SpeedFilter::PullFrame eof4
[045:420] [2022-07-17 14:10:37 +0000.666989][2ffb]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[045:451] [2022-07-17 14:10:37 +0000.698123][2cad] webrtc common_video plane
old ..... (1/1000) new: 12001 delete: 11984 diff: 17
[045:543] [2022-07-17 14:10:37 +0000.790675][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[045:562] [2022-07-17 14:10:37 +0000.809297][3002]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 603queue_audio_frame_:9
[045:649] [2022-07-17 14:10:37 +0000.896595][2cad] The convert RGB to YUV take 4
[045:847] [2022-07-17 14:10:38 +0000.94415][3003]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:997
[045:875] [2022-07-17 14:10:38 +0000.122289][2cad] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[045:875] [2022-07-17 14:10:38 +0000.122468][2cad] GPUImageProcessing: input frame
width1920 X 1080
[045:876] [2022-07-17 14:10:38 +0000.123014][2cad] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[045:876] [2022-07-17 14:10:38 +0000.123262][2cad] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[045:963] [2022-07-17 14:10:38 +0000.210567][2ffe] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[045:979] [2022-07-17 14:10:38 +0000.226652][3003] Push an pts:1129 to dts queue.
[046:022] [2022-07-17 14:10:38 +0000.269226][3003] last dts:1097 currentPts:1129
ppsOrSPS:0 queue length:2
[046:044] [2022-07-17 14:10:38 +0000.291751][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[046:068] [2022-07-17 14:10:38 +0000.315061][2ffb]
RecordAudioSource::PullAudioFrame
[046:149] [2022-07-17 14:10:38 +0000.396530][2cad] The convert RGB to YUV take 4
[046:155] [2022-07-17 14:10:38 +0000.402224][2cb1] Run AGC when audioType = 0
[046:189] [2022-07-17 14:10:38 +0000.436702][3003] DTS queue for
Generator:0x7bad1274b8 1331
[046:274] [2022-07-17 14:10:38 +0000.521645][2cad] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[046:526] [2022-07-17 14:10:38 +0000.773193][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[046:546] [2022-07-17 14:10:38 +0000.793190][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[046:653] [2022-07-17 14:10:38 +0000.899900][2cad] The convert RGB to YUV take 4
[046:839] [2022-07-17 14:10:39 +0000.86249][2ffb] AF_SpeedFilter audio 0x7bdf967400
PullFrame
[046:883] [2022-07-17 14:10:39 +0000.130342][2ffb] resampled_data_size:1536
[046:885] [2022-07-17 14:10:39 +0000.131863][3003] h264 add frame header cdr flag
[046:885] [2022-07-17 14:10:39 +0000.132607][3003] Received key frame:1996
[046:919] [2022-07-17 14:10:39 +0000.166305][3004] get the H.264 IDR frame
[046:955] [2022-07-17 14:10:39 +0000.202430][2ffe] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[047:016] [2022-07-17 14:10:39 +0000.263714][3003] DTS queue for
Generator:0x7bad1274b8 2133 2166
[047:044] [2022-07-17 14:10:39 +0000.290955][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[047:146] [2022-07-17 14:10:39 +0000.393561][2cad] The convert RGB to YUV take 2
[047:311] [2022-07-17 14:10:39 +0000.558350][3003] Push an pts:2461 to dts queue.
[047:353] [2022-07-17 14:10:39 +0000.599766][3003] SendFrame
encodedImage._timeStamp:2461encodedImage->_length:140624
[047:353] [2022-07-17 14:10:39 +0000.599894][3003] last dts:2429 currentPts:2461
ppsOrSPS:0 queue length:2
[047:417] [2022-07-17 14:10:39 +0000.664279][3003] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2530 pts:2530
[047:538] [2022-07-17 14:10:39 +0000.785621][2cad] webrtc common_video plane
old ..... (1/1000) new: 13001 delete: 12980 diff: 21
[047:539] [2022-07-17 14:10:39 +0000.786262][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[047:643] [2022-07-17 14:10:39 +0000.889772][2cad] The convert RGB to YUV take 4
[047:643] [2022-07-17 14:10:39 +0000.890243][3003] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:2794
[047:643] [2022-07-17 14:10:39 +0000.890467][3003] push video frame to H264
encoder. (100 frame for one log)

[047:643] [2022-07-17 14:10:39 +0000.890685][3003] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[047:643] [2022-07-17 14:10:39 +0000.890712][3003] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:2794(100 frame for one
log)

[047:644] [2022-07-17 14:10:39 +0000.890756][3003] The input pts:2794 fps:30


[047:681] [2022-07-17 14:10:39 +0000.928328][3003] H264Encode::H264SWEncoder get
callback, length:119936 type:1 nalType:1length:119932
[047:722] [2022-07-17 14:10:39 +0000.969430][2ffb] AF_SpeedFilter::PullFrame eof4
[047:730] [2022-07-17 14:10:39 +0000.977145][2ffb]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[047:829] [2022-07-17 14:10:40 +0000.76312][3002]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2925queue_audio_frame_:3
[047:841] [2022-07-17 14:10:40 +0000.88293][3003] DTS queue for
Generator:0x7bad1274b8 2966 2992
[047:896] [2022-07-17 14:10:40 +0000.143120][2ffe] The output timestamp from audio
mixer change:563071099
[047:934] [2022-07-17 14:10:40 +0000.181138][2cb1] On audio frame the broadcast
with timestamp:563071140 samples:480. (1000 frame for one log)

[047:958] [2022-07-17 14:10:40 +0000.205396][2ffe] Get data in mic source, which


has byte length:1764micAudioStream->length():20
[047:958] [2022-07-17 14:10:40 +0000.205590][2ffe] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[047:959] [2022-07-17 14:10:40 +0000.205920][2ffb]
RecordAudioSource::PullAudioFrame
[048:044] [2022-07-17 14:10:40 +0000.291549][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[048:107] [2022-07-17 14:10:40 +0000.354015][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[048:147] [2022-07-17 14:10:40 +0000.393958][2cad] The convert RGB to YUV take 5
[048:156] [2022-07-17 14:10:40 +0000.403427][2cb1] Run AGC when audioType = 0
[048:156] [2022-07-17 14:10:40 +0000.403540][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[048:236] [2022-07-17 14:10:40 +0000.482843][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[048:471] [2022-07-17 14:10:40 +0000.718493][2ffb] AF_SpeedFilter audio
0x7bdf967400 PullFrame
[048:542] [2022-07-17 14:10:40 +0000.789304][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[048:646] [2022-07-17 14:10:40 +0000.893593][2cad] The convert RGB to YUV take 5
[048:649] [2022-07-17 14:10:40 +0000.896623][3003] Push an pts:3797 to dts queue.
[048:682] [2022-07-17 14:10:40 +0000.929080][3003] DTS queue for
Generator:0x7bad1274b8 3797 3831
[048:684] [2022-07-17 14:10:40 +0000.931261][3003] last dts:3761 currentPts:3797
ppsOrSPS:0 queue length:2
[048:884] [2022-07-17 14:10:41 +0000.131714][3003] h264 add frame header cdr flag
[048:887] [2022-07-17 14:10:41 +0000.134350][3003] Received key frame:3994
[048:914] [2022-07-17 14:10:41 +0000.161532][3004] get the H.264 IDR frame
[048:941] [2022-07-17 14:10:41 +0000.188665][2ffb] AF_SpeedFilter audio time,
0x7bdf967400 rcv time: 563072143
[048:942] [2022-07-17 14:10:41 +0000.188800][2ffb] AF_SpeedFilter audio time,
0x7bdf967400 rcv time: 563072143in_nSamples:441
[048:972] [2022-07-17 14:10:41 +0000.218940][2ffe] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[049:041] [2022-07-17 14:10:41 +0000.287767][2cad] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[049:041] [2022-07-17 14:10:41 +0000.288477][2ffb] resampled_data_size:14336
[049:041] [2022-07-17 14:10:41 +0000.288710][2ffb]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 563072138
[049:042] [2022-07-17 14:10:41 +0000.288907][2ffb]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[049:145] [2022-07-17 14:10:41 +0000.391921][2cad] The convert RGB to YUV take 3
[049:181] [2022-07-17 14:10:41 +0000.428313][3003]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:4328
[049:242] [2022-07-17 14:10:41 +0000.488957][2cad] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[049:242] [2022-07-17 14:10:41 +0000.489193][2cad] GPUImageProcessing: input frame
width1920 X 1080
[049:243] [2022-07-17 14:10:41 +0000.489886][2cad] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[049:243] [2022-07-17 14:10:41 +0000.489977][2cad] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[049:484] [2022-07-17 14:10:41 +0000.731606][3003] DTS queue for
Generator:0x7bad1274b8 4631
[049:541] [2022-07-17 14:10:41 +0000.788466][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[049:611] [2022-07-17 14:10:41 +0000.857966][2cad] webrtc common_video plane
old ..... (1/1000) new: 14001 delete: 13984 diff: 17
[049:642] [2022-07-17 14:10:41 +0000.889658][2cad] The convert RGB to YUV take 3
[049:875] [2022-07-17 14:10:42 +0000.121823][2ffb]
RecordAudioSource::PullAudioFrame
[049:950] [2022-07-17 14:10:42 +0000.197707][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[049:962] [2022-07-17 14:10:42 +0000.209492][2ffe] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[049:976] [2022-07-17 14:10:42 +0000.223011][3003] Push an pts:5126 to dts queue.
[050:015] [2022-07-17 14:10:42 +0000.261977][3003] last dts:5097 currentPts:5126
ppsOrSPS:0 queue length:2
[050:040] [2022-07-17 14:10:42 +0000.287073][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[050:094] [2022-07-17 14:10:42 +0000.341144][2ffb] AF_SpeedFilter audio
0x7bdf967400 PullFrame
[050:103] [2022-07-17 14:10:42 +0000.349807][2ffb] AF_SpeedFilter::PullFrame eof4
[050:109] [2022-07-17 14:10:42 +0000.356603][2ffb]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[050:145] [2022-07-17 14:10:42 +0000.391936][2cad] The convert RGB to YUV take 4
[050:153] [2022-07-17 14:10:42 +0000.399761][2cb2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[050:153] [2022-07-17 14:10:42 +0000.399888][2cb2] _deviceSampleRate:48000

[050:153] [2022-07-17 14:10:42 +0000.400168][2cb1] Run AGC when audioType = 0


[050:166] [2022-07-17 14:10:42 +0000.413561][3002]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 5247queue_audio_frame_:5
[050:316] [2022-07-17 14:10:42 +0000.563131][3003] DTS queue for
Generator:0x7bad1274b8 5461
[050:541] [2022-07-17 14:10:42 +0000.788382][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[050:642] [2022-07-17 14:10:42 +0000.889640][2cad] The convert RGB to YUV take 4
[050:682] [2022-07-17 14:10:42 +0000.928990][3003] SendFrame
encodedImage._timeStamp:5793encodedImage->_length:139168
[050:784] [2022-07-17 14:10:43 +0000.31350][3003] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:5897 pts:5897
[050:881] [2022-07-17 14:10:43 +0000.128140][3003] h264 add frame header cdr flag
[050:881] [2022-07-17 14:10:43 +0000.128465][3003] Received key frame:5995
[050:915] [2022-07-17 14:10:43 +0000.162231][3004] get the H.264 IDR frame
[050:958] [2022-07-17 14:10:43 +0000.205129][2ffe] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[051:009] [2022-07-17 14:10:43 +0000.256550][3003] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6159
[051:009] [2022-07-17 14:10:43 +0000.256729][3003] push video frame to H264
encoder. (100 frame for one log)

[051:010] [2022-07-17 14:10:43 +0000.256846][3003] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[051:010] [2022-07-17 14:10:43 +0000.256891][3003] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6159(100 frame for one
log)

[051:010] [2022-07-17 14:10:43 +0000.256931][3003] The input pts:6159 fps:30


[051:043] [2022-07-17 14:10:43 +0000.289820][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[051:053] [2022-07-17 14:10:43 +0000.299833][3003] H264Encode::H264SWEncoder get
callback, length:135328 type:1 nalType:1length:135324
[051:143] [2022-07-17 14:10:43 +0000.390058][2cad] The convert RGB to YUV take 4
[051:144] [2022-07-17 14:10:43 +0000.391031][3003] DTS queue for
Generator:0x7bad1274b8 6262 6295
[051:306] [2022-07-17 14:10:43 +0000.553010][2ffb] resampled_data_size:5120
[051:309] [2022-07-17 14:10:43 +0000.555993][3003] Push an pts:6459 to dts queue.
[051:348] [2022-07-17 14:10:43 +0000.594787][3003] last dts:6428 currentPts:6459
ppsOrSPS:0 queue length:2
[051:400] [2022-07-17 14:10:43 +0000.647543][2ffb] AF_SpeedFilter audio time 111,
0x7bdf967400 out time: 563074528 org time: 563074528
[051:440] [2022-07-17 14:10:43 +0000.687726][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[051:484] [2022-07-17 14:10:43 +0000.731057][2ffb] AF_SpeedFilter audio time
[051:539] [2022-07-17 14:10:43 +0000.786482][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[051:642] [2022-07-17 14:10:43 +0000.889742][2cad] The convert RGB to YUV take 3
[051:669] [2022-07-17 14:10:43 +0000.916264][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[051:684] [2022-07-17 14:10:43 +0000.931691][2ffb] FilterPipeline2::OnAudioFrame
pts 6850 last_audio_timestamp_ 6850
[051:705] [2022-07-17 14:10:43 +0000.951977][2cad] webrtc common_video plane
old ..... (1/1000) new: 15001 delete: 14980 diff: 21
[051:715] [2022-07-17 14:10:43 +0000.962175][2ffb] AF_SpeedFilter audio
0x7bdf967400 PullFrame
[051:771] [2022-07-17 14:10:44 +0000.18241][2ffb] RecordAudioSource::PullAudioFrame
[051:963] [2022-07-17 14:10:44 +0000.210373][2ffe] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[051:975] [2022-07-17 14:10:44 +0000.222526][3003] DTS queue for
Generator:0x7bad1274b8 7092 7125
[052:039] [2022-07-17 14:10:44 +0000.286578][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[052:141] [2022-07-17 14:10:44 +0000.387821][2cad] The convert RGB to YUV take 4
[052:154] [2022-07-17 14:10:44 +0000.401086][2cb1] Run AGC when audioType = 0
[052:154] [2022-07-17 14:10:44 +0000.401250][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[052:432] [2022-07-17 14:10:44 +0000.679091][2ffb] AF_SpeedFilter::PullFrame eof4
[052:440] [2022-07-17 14:10:44 +0000.687239][2ffb]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[052:510] [2022-07-17 14:10:44 +0000.756933][3003]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:7657
[052:519] [2022-07-17 14:10:44 +0000.766212][3002]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 7569queue_audio_frame_:9
[052:544] [2022-07-17 14:10:44 +0000.791332][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[052:605] [2022-07-17 14:10:44 +0000.852205][2cad] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[052:605] [2022-07-17 14:10:44 +0000.852466][2cad] GPUImageProcessing: input frame
width1920 X 1080
[052:606] [2022-07-17 14:10:44 +0000.853018][2cad] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[052:606] [2022-07-17 14:10:44 +0000.853104][2cad] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[052:639] [2022-07-17 14:10:44 +0000.886633][2cad] The convert RGB to YUV take 2
[052:641] [2022-07-17 14:10:44 +0000.888741][3003] Push an pts:7790 to dts queue.
[052:681] [2022-07-17 14:10:44 +0000.928043][3003] last dts:7760 currentPts:7790
ppsOrSPS:0 queue length:2
[052:812] [2022-07-17 14:10:45 +0000.59562][3003] DTS queue for
Generator:0x7bad1274b8 7924 7959
[052:876] [2022-07-17 14:10:45 +0000.123558][3003] h264 add frame header cdr flag
[052:877] [2022-07-17 14:10:45 +0000.124368][3003] Received key frame:7990
[052:915] [2022-07-17 14:10:45 +0000.162106][3004] get the H.264 IDR frame
[052:958] [2022-07-17 14:10:45 +0000.205233][2ffe] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[053:043] [2022-07-17 14:10:45 +0000.290672][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[053:141] [2022-07-17 14:10:45 +0000.387798][2cad] The convert RGB to YUV take 4
[053:347] [2022-07-17 14:10:45 +0000.593822][2ffb] AF_SpeedFilter audio
0x7bdf967400 PullFrame
[053:391] [2022-07-17 14:10:45 +0000.638742][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[053:465] [2022-07-17 14:10:45 +0000.712186][2ffb] resampled_data_size:16616
[053:545] [2022-07-17 14:10:45 +0000.791930][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[053:611] [2022-07-17 14:10:45 +0000.858468][3003] DTS queue for
Generator:0x7bad1274b8 8759
[053:641] [2022-07-17 14:10:45 +0000.887868][2cad] The convert RGB to YUV take 4
[053:681] [2022-07-17 14:10:45 +0000.927776][2ffb]
RecordAudioSource::PullAudioFrame
[053:774] [2022-07-17 14:10:46 +0000.21439][2cad] webrtc common_video plane
old ..... (1/1000) new: 16001 delete: 15984 diff: 17
[053:962] [2022-07-17 14:10:46 +0000.209348][2ffe] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[053:979] [2022-07-17 14:10:46 +0000.225997][3003] Push an pts:9125 to dts queue.
[054:045] [2022-07-17 14:10:46 +0000.292028][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[054:054] [2022-07-17 14:10:46 +0000.300840][3003] SendFrame
encodedImage._timeStamp:9125encodedImage->_length:164400
[054:054] [2022-07-17 14:10:46 +0000.300974][3003] last dts:9090 currentPts:9125
ppsOrSPS:0 queue length:3
[054:142] [2022-07-17 14:10:46 +0000.389290][2cad] The convert RGB to YUV take 5
[054:147] [2022-07-17 14:10:46 +0000.393893][3003] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:9256 pts:9256
[054:153] [2022-07-17 14:10:46 +0000.400248][2cb1] Run AGC when audioType = 0
[054:376] [2022-07-17 14:10:46 +0000.623646][3003] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:9524
[054:377] [2022-07-17 14:10:46 +0000.623762][3003] push video frame to H264
encoder. (100 frame for one log)

[054:377] [2022-07-17 14:10:46 +0000.623806][3003] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[054:377] [2022-07-17 14:10:46 +0000.623832][3003] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:9524(100 frame for one
log)

[054:377] [2022-07-17 14:10:46 +0000.623863][3003] The input pts:9524 fps:30


[054:411] [2022-07-17 14:10:46 +0000.658249][3003] H264Encode::H264SWEncoder get
callback, length:114656 type:1 nalType:1length:114652
[054:442] [2022-07-17 14:10:46 +0000.689722][3003] DTS queue for
Generator:0x7bad1274b8 9589
[054:536] [2022-07-17 14:10:46 +0000.783225][2cad] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[054:642] [2022-07-17 14:10:46 +0000.889300][2cad] The convert RGB to YUV take 5
[054:769] [2022-07-17 14:10:47 +0000.16576][2cad] drawYUV420 render
OpenGLRenderProgram:0x7beb67a198
[054:779] [2022-07-17 14:10:47 +0000.25875][2ffb] AF_SpeedFilter::PullFrame eof4
[054:785] [2022-07-17 14:10:47 +0000.32300][2ffb]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[054:792] [2022-07-17 14:10:47 +0000.39735][3002]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9891queue_audio_frame_:3
[054:820] [2022-07-17 14:10:47 +0000.67653][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[054:821] [2022-07-17 14:10:47 +0000.67783][2cad] operator(): Stop
[054:821] [2022-07-17 14:10:47 +0000.67862][2cad] StopPullFrameAndWriteMp4
time:563078027 enter.

[054:821] [2022-07-17 14:10:47 +0000.67895][2cad] StopRecording:


[054:822] [2022-07-17 14:10:47 +0000.69500][2ffb] PullAudioFrame: PullFrame audio
finished.
[054:822] [2022-07-17 14:10:47 +0000.69546][2ffb]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[054:823] [2022-07-17 14:10:47 +0000.70425][3003]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:300
[054:824] [2022-07-17 14:10:47 +0000.71004][2cac] stop recording
[054:824] [2022-07-17 14:10:47 +0000.71032][2cac]
RecordingSessionInternalSimple:destroy media processers
[054:824] [2022-07-17 14:10:47 +0000.71050][2cac] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[054:824] [2022-07-17 14:10:47 +0000.71080][2cac] H264Encode::flushing hareware
Encoder
[054:824] [2022-07-17 14:10:47 +0000.71229][2cac] Flush time:563078030 enter.

[054:824] [2022-07-17 14:10:47 +0000.71276][2cac] H264Encoder encoder flush


[054:824] [2022-07-17 14:10:47 +0000.71296][2cac] flush output queue
[054:964] [2022-07-17 14:10:47 +0000.211270][2ffe] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[055:116] [2022-07-17 14:10:47 +0000.363211][2cb1] haveEnoughProcessedData
internalAudioStream.length: 20
[055:150] [2022-07-17 14:10:47 +0000.397274][2cac] Flush leave. expire time = 326
ms

[055:150] [2022-07-17 14:10:47 +0000.397509][2cac] ~H264EncodeWrap:


[055:150] [2022-07-17 14:10:47 +0000.397569][2cac] ~H264Encode:
[055:150] [2022-07-17 14:10:47 +0000.397599][2cac] teardownCompressionSession:
H264Encode::destroying Encoder
[055:150] [2022-07-17 14:10:47 +0000.397641][2cac] Release time:563078356 enter.

[055:151] [2022-07-17 14:10:47 +0000.397823][2cac] Release:


MediaCodecVideoEncoder::Release _inited:1
[055:151] [2022-07-17 14:10:47 +0000.397876][2cac] Destroy time:563078357 enter.

[055:151] [2022-07-17 14:10:47 +0000.397918][2cac] H264Encoder encoderDestroy


[055:151] [2022-07-17 14:10:47 +0000.397960][2cac]
AndroidMediaCodecVideoEncoder::release env: 0x7bdfb00e80
[055:151] [2022-07-17 14:10:47 +0000.398006][2cac]
AndroidMediaCodecVideoEncoder::Destroy
[055:191] [2022-07-17 14:10:47 +0000.438463][2cac] Destroy leave. expire time = 40
ms

[055:191] [2022-07-17 14:10:47 +0000.438617][2cac] Release leave. expire time = 41


ms

[055:191] [2022-07-17 14:10:47 +0000.438663][2cac] ~AndroidHwAvcEncoder


time:563078397 enter.

[055:192] [2022-07-17 14:10:47 +0000.438830][2cac] Release time:563078398 enter.

[055:192] [2022-07-17 14:10:47 +0000.438865][2cac] Release:


MediaCodecVideoEncoder:: has been released before, just return
[055:192] [2022-07-17 14:10:47 +0000.438883][2cac] Release leave. expire time = 0
ms

[055:192] [2022-07-17 14:10:47 +0000.438910][2cac] ~AndroidMediaCodecVideoEncoder


[055:192] [2022-07-17 14:10:47 +0000.438958][2cac] ~WrapAndroidMediaCodec
time:563078398 enter.

[055:192] [2022-07-17 14:10:47 +0000.438975][2cac] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[055:192] [2022-07-17 14:10:47 +0000.438990][2cac] video hevc hw codec


destructor:0x7bad00a0d8
[055:192] [2022-07-17 14:10:47 +0000.439026][2cac] ~AndroidHwAvcEncoder leave.
expire time = 1 ms

[055:192] [2022-07-17 14:10:47 +0000.439070][2cac] teardownCompressionSession:


H264Encode::destroyed Encoder
[055:192] [2022-07-17 14:10:47 +0000.439091][2cac]
RecordingSessionInternalSimple:destroy aac encoder output!
[055:192] [2022-07-17 14:10:47 +0000.439106][2cac] AACSWEncode destructor
[055:205] [2022-07-17 14:10:47 +0000.451904][3004] MP4 close file successfully
[055:205] [2022-07-17 14:10:47 +0000.451995][3004] Recording session Internal:
notify recording ok
[055:205] [2022-07-17 14:10:47 +0000.452018][3004] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4,
output_video_timestamp_:9957 last_video_pts_:9957
[055:205] [2022-07-17 14:10:47 +0000.452045][3004] OnRecordFinish:
[055:205] [2022-07-17 14:10:47 +0000.452720][3004] onRecordingOk: net seek
pos:0record video duration:9990record audio duration:9961
[055:206] [2022-07-17 14:10:47 +0000.453199][2ffe] destructMicSource_w:
[055:206] [2022-07-17 14:10:47 +0000.453241][2ffe] setOutput_w:
MicSource::setOutput() 0x0
[055:206] [2022-07-17 14:10:47 +0000.453698][2cad] releaseThread 0x7bbef21380
[055:206] [2022-07-17 14:10:47 +0000.453736][2cad] ~MicSource: Mic source
destroyed:0x7beb6f6d00
[055:208] [2022-07-17 14:10:47 +0000.454998][2cad] StopPullFrameAndWriteMp4 leave.
expire time = 387 ms

[055:208] [2022-07-17 14:10:47 +0000.455040][2cad] DestroyPipelineAndFilters


time:563078414 enter.

[055:208] [2022-07-17 14:10:47 +0000.455074][2cad] UnbindInputFilter 0x7bbef2b2c0


this 0x7beb67a3c0
[055:208] [2022-07-17 14:10:47 +0000.455105][2cad] UnbindInputFilter 0x7bbef2b458
this 0x7bdf967550
[055:208] [2022-07-17 14:10:47 +0000.455152][2cad] UnbindInputFilter 0x7beb67a3c0
this 0x7bbf0923a0
[055:208] [2022-07-17 14:10:47 +0000.455173][2cad] filter: filter pipeline destroy
this: 0x7bbf092300
[055:208] [2022-07-17 14:10:47 +0000.455642][2cad] ClearVideoOfSources: recodring
total frames:0
[055:208] [2022-07-17 14:10:47 +0000.455683][2cad] ClearVideoOfSources:
[055:208] [2022-07-17 14:10:47 +0000.455701][2cad] GPUImageProcessing destruct.
[055:209] [2022-07-17 14:10:47 +0000.455750][2cad] destroy TrivalImageDrawer
0x7bbeeb2040
[055:209] [2022-07-17 14:10:47 +0000.455776][2cad] The shader has been initialize,
clean up them.

[055:209] [2022-07-17 14:10:47 +0000.455828][2cad] ~OpenGLFrameBuffer:


[055:209] [2022-07-17 14:10:47 +0000.455898][2cad] ~OpenGLFrameBuffer:
[055:209] [2022-07-17 14:10:47 +0000.455953][2cad] ~OpenGLFrameBuffer:
[055:209] [2022-07-17 14:10:47 +0000.456007][2cad] ~OpenGLFrameBuffer:
[055:209] [2022-07-17 14:10:47 +0000.456059][2cad] ~OpenGLFrameBuffer:
[055:209] [2022-07-17 14:10:47 +0000.456113][2cad] ~OpenGLFrameBuffer:
[055:209] [2022-07-17 14:10:47 +0000.456265][2cad] GPUImageProcessing destruct
finish.
[055:209] [2022-07-17 14:10:47 +0000.456302][2cad] GPURGBAFrame destruct.
[055:209] [2022-07-17 14:10:47 +0000.456335][2cad] destroy OpenGLRenderProgram
0x7beb67a198
[055:209] [2022-07-17 14:10:47 +0000.456354][2cad] ~CameraSource time:563078415
enter.

[055:209] [2022-07-17 14:10:47 +0000.456370][2cad] ~CameraSource leave. expire


time = 0 ms

[055:209] [2022-07-17 14:10:47 +0000.456389][2cad] ~RecordAudioSource


time:563078415 enter.

[055:209] [2022-07-17 14:10:47 +0000.456404][2cad] ~RecordAudioSource leave.


expire time = 0 ms

[055:209] [2022-07-17 14:10:47 +0000.456421][2cad] DestroyPipelineAndFilters


leave. expire time = 1 ms

[055:236] [2022-07-17 14:10:47 +0000.483659][2642]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[055:237] [2022-07-17 14:10:47 +0000.484332][2642] machine model :poco
[055:237] [2022-07-17 14:10:47 +0000.484382][2642] Support this machine model :poco
[055:237] [2022-07-17 14:10:47 +0000.484412][2642] global inited! current sdk
version: 07-20-936c45f
[055:238] [2022-07-17 14:10:47 +0000.484858][2642] filter: filter pipeline
construtc this: 0x7bdf8b0f00
[055:238] [2022-07-17 14:10:47 +0000.484899][2642] MediaFilterGraph:
MediaFilterGraph construct
[055:238] [2022-07-17 14:10:47 +0000.484923][2642] GLESContext:
[055:238] [2022-07-17 14:10:47 +0000.484995][2642] The result of eglGetDisplay is:
0xb400007cc8e44c80
[055:239] [2022-07-17 14:10:47 +0000.486272][2642] The result of creation:
0x7bdf7b4a00
[055:239] [2022-07-17 14:10:47 +0000.486463][2642] The result of
eglCreatePbufferSurface is: 0x7bdf7b4e80
[055:239] [2022-07-17 14:10:47 +0000.486651][2642] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4
[055:239] [2022-07-17 14:10:47 +0000.486701][2642] The source 0 speed:1
[055:240] [2022-07-17 14:10:47 +0000.486775][2642] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4,
delay: 0
[055:240] [2022-07-17 14:10:47 +0000.486824][2642] CreateDecoderByVideoSource
time:563078446 enter.

[055:240] [2022-07-17 14:10:47 +0000.487593][2642] running_decoder_count:0max


count:2
[055:241] [2022-07-17 14:10:47 +0000.487812][2642] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7beb58e800
[055:243] [2022-07-17 14:10:47 +0000.489832][303e] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7bdf757c00] Current FFmpeg version git-2021-06-16-
97cea6f

[055:299] [2022-07-17 14:10:47 +0000.546573][303e] OnStreamInfoFound: video


duration_: 9990
[055:303] [2022-07-17 14:10:47 +0000.550196][2642] start decoder
[055:303] [2022-07-17 14:10:47 +0000.550200][303f] NO get frame from decoder
[055:303] [2022-07-17 14:10:47 +0000.550315][2642] CreateDecoderByVideoSource
leave. expire time = 63 ms

[055:303] [2022-07-17 14:10:47 +0000.550403][2642] BindInputFilter 0x7bdfb4b020


this 0x7bdf85a758
[055:303] [2022-07-17 14:10:47 +0000.550458][2642] BindInputFilter 0x7bdf85a758
this 0x7bdf85a818
[055:303] [2022-07-17 14:10:47 +0000.550515][2642] BindInputFilter 0x7bdfb4b020
this 0x7bdf85a8d8
[055:303] [2022-07-17 14:10:47 +0000.550562][2642] BindInputFilter 0x7bdf85a8d8
this 0x7bdf85ac98
[055:303] [2022-07-17 14:10:47 +0000.550599][2642] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4
[055:303] [2022-07-17 14:10:47 +0000.550653][2642] BindInputFilter 0x7bdf85a818
this 0x7bdf85ad58
[055:303] [2022-07-17 14:10:47 +0000.550707][2642] BindInputFilter 0x7bdf85ad58
this 0x7bdf8b0fa0
[055:304] [2022-07-17 14:10:47 +0000.550775][2642] BindInputFilter 0x7bdf85ac98
this 0x7bdf85ae18
[055:304] [2022-07-17 14:10:47 +0000.550825][2642] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4
[055:304] [2022-07-17 14:10:47 +0000.550920][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[055:304] [2022-07-17 14:10:47 +0000.551610][2642] machine model :poco
[055:304] [2022-07-17 14:10:47 +0000.551662][2642] Support this machine model :poco
[055:304] [2022-07-17 14:10:47 +0000.551695][2642] global inited! current sdk
version: 07-20-936c45f
[055:305] [2022-07-17 14:10:47 +0000.551780][2642] GetPipeline:
-----------------------------------------
[055:305] [2022-07-17 14:10:47 +0000.551822][2642] GetPipeline: source:
0x7bdfb4ae00
[055:305] [2022-07-17 14:10:47 +0000.551964][2642] GetPipeline: filter: NULLFilter
[055:305] [2022-07-17 14:10:47 +0000.552021][2642] GetPipeline: filter: NULLFilter
[055:305] [2022-07-17 14:10:47 +0000.552071][2642] GetPipeline: filter: NULLFilter
[055:305] [2022-07-17 14:10:47 +0000.552117][2642] GetPipeline: audio filter:
AuidoNULLFilter
[055:305] [2022-07-17 14:10:47 +0000.552162][2642] GetPipeline: audio filter:
AuidoNULLFilter
[055:305] [2022-07-17 14:10:47 +0000.552270][2642] GetPipeline: audio filter:
AudioNUllFilter
[055:305] [2022-07-17 14:10:47 +0000.552317][2642] GetPipeline:
------------------------------------------
[055:305] [2022-07-17 14:10:47 +0000.552367][2642] filter: filter pipeline2 update
pattern: 0
[055:305] [2022-07-17 14:10:47 +0000.552677][2642] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[055:306] [2022-07-17 14:10:47 +0000.552915][2642] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[055:306] [2022-07-17 14:10:47 +0000.553119][2642] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[055:309] [2022-07-17 14:10:47 +0000.555893][2642] DeviceInit:
[055:309] [2022-07-17 14:10:47 +0000.556281][2642] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[055:310] [2022-07-17 14:10:47 +0000.556801][2642] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[055:310] [2022-07-17 14:10:47 +0000.557113][2642] CreatePlatformSpecificObjects:
[055:310] [2022-07-17 14:10:47 +0000.557172][2642] audio device use null audio
input and opensl output
[055:310] [2022-07-17 14:10:47 +0000.557211][2642] Create OpenSLES output module
with java VM support.
[055:310] [2022-07-17 14:10:47 +0000.557415][2642] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[055:310] [2022-07-17 14:10:47 +0000.557638][2642] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[055:311] [2022-07-17 14:10:47 +0000.557888][2642] Create OpenSLES output module
with buffer num:2

[055:311] [2022-07-17 14:10:47 +0000.557964][2642] Error(trace.cc:40): Init the


output and input for audio device template.
[055:311] [2022-07-17 14:10:47 +0000.558014][2642] Init the output device.

[055:311] [2022-07-17 14:10:47 +0000.558061][2642] Set the playout as stereo:1


[055:311] [2022-07-17 14:10:47 +0000.558092][2642] Set the sample rate to be:44100

[055:311] [2022-07-17 14:10:47 +0000.558142][2642] Low latency buffer size:144 low


sample rate:48000
[055:311] [2022-07-17 14:10:47 +0000.558180][2642] DeviceInit: Done
[055:311] [2022-07-17 14:10:47 +0000.558359][2642] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[055:311] [2022-07-17 14:10:47 +0000.558623][3049] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bbf12fa18
[055:312] [2022-07-17 14:10:47 +0000.558927][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[055:312] [2022-07-17 14:10:47 +0000.559077][2642]
MediaFilterPlayer::SetPlayerNotify 0x7bdf977d20
[055:312] [2022-07-17 14:10:47 +0000.559145][2642]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[055:312] [2022-07-17 14:10:47 +0000.559191][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[055:312] [2022-07-17 14:10:47 +0000.559265][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[055:312] [2022-07-17 14:10:47 +0000.559384][2642] SetGraphLoop: SetGraphLoop 1
[055:312] [2022-07-17 14:10:47 +0000.559443][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[055:312] [2022-07-17 14:10:47 +0000.559477][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[055:313] [2022-07-17 14:10:47 +0000.559859][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[055:313] [2022-07-17 14:10:47 +0000.559975][303f] NO get frame from decoder
[055:313] [2022-07-17 14:10:47 +0000.560168][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[055:313] [2022-07-17 14:10:47 +0000.560336][304d] Start:
[055:316] [2022-07-17 14:10:47 +0000.563699][304c] operator(): video render
started.
[055:317] [2022-07-17 14:10:47 +0000.563909][303f] NO get frame from decoder
[055:317] [2022-07-17 14:10:47 +0000.564300][304d] Start:
[055:317] [2022-07-17 14:10:47 +0000.564404][304d] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[055:317] [2022-07-17 14:10:47 +0000.564457][304d] Reset: history total size: 98
[055:317] [2022-07-17 14:10:47 +0000.564482][304d] DeviceStart:
audioDevice_:0x7b8f0be000
[055:317] [2022-07-17 14:10:47 +0000.564531][304d] DeviceStart: time profile
playout init before
[055:317] [2022-07-17 14:10:47 +0000.564554][304d] DeviceStart: time profile
playout init end
[055:317] [2022-07-17 14:10:47 +0000.564587][304d] OpenSlesOutput:Start playout

[055:318] [2022-07-17 14:10:47 +0000.565676][304d] Create the opensl output player.


streamtype before:0

[055:319] [2022-07-17 14:10:47 +0000.565752][304d] Create the opensl output player.


streamtype after:3

[055:320] [2022-07-17 14:10:47 +0000.567348][303f] NO get frame from decoder


[055:325] [2022-07-17 14:10:47 +0000.572512][303f] NO get frame from decoder
[055:331] [2022-07-17 14:10:47 +0000.578118][303f] NO get frame from decoder
[055:335] [2022-07-17 14:10:47 +0000.582537][303f] NO get frame from decoder
[055:342] [2022-07-17 14:10:47 +0000.588834][303f] NO get frame from decoder
[055:350] [2022-07-17 14:10:47 +0000.597167][304d] Enqueue opensl buffer size:1764
[055:375] [2022-07-17 14:10:47 +0000.622422][304d] DeviceStart: time profile
playout all end
[055:375] [2022-07-17 14:10:47 +0000.622530][304d] operator(): Audio playback
started.
[055:375] [2022-07-17 14:10:47 +0000.622689][304d] operator(): Started now!
[055:376] [2022-07-17 14:10:47 +0000.623711][304e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[055:377] [2022-07-17 14:10:47 +0000.623761][304e] Pull audio failed.(wait video!)
[055:377] [2022-07-17 14:10:47 +0000.624462][304e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[055:377] [2022-07-17 14:10:47 +0000.624496][304e] Pull audio failed.(wait video!)
[055:378] [2022-07-17 14:10:47 +0000.625164][304e] Pull audio failed.(wait video!)
[055:378] [2022-07-17 14:10:47 +0000.625194][304e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[055:379] [2022-07-17 14:10:47 +0000.625840][304e] Pull audio failed.(wait video!)
[055:379] [2022-07-17 14:10:47 +0000.625874][304e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[055:424] [2022-07-17 14:10:47 +0000.671374][304c] lipsync_debug: First video frame
rendering.
[055:630] [2022-07-17 14:10:47 +0000.877254][304d] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[055:630] [2022-07-17 14:10:47 +0000.877423][304d] First audio frame rendering
[055:630] [2022-07-17 14:10:47 +0000.877216][304e] audio frame wait video
frame.last_video_timestamp:101 last_audio_timestamp:207.937
[055:652] [2022-07-17 14:10:47 +0000.899707][3050]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[055:776] [2022-07-17 14:10:48 +0000.23153][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[055:776] [2022-07-17 14:10:48 +0000.23692][304d] Stop:
[055:777] [2022-07-17 14:10:48 +0000.24776][304c] operator(): Video Render stopped.
[055:779] [2022-07-17 14:10:48 +0000.26107][304d] Stop:
[055:779] [2022-07-17 14:10:48 +0000.26572][304d] DeviceStop:
audioDevice_:0x7b8f0be000
[055:779] [2022-07-17 14:10:48 +0000.26619][304d] OpenSlesOutput:Stop playout

[055:784] [2022-07-17 14:10:48 +0000.30774][304d] DeviceStop: Done


[055:784] [2022-07-17 14:10:48 +0000.30923][304d] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[055:784] [2022-07-17 14:10:48 +0000.30962][304d] operator(): Stop now!
[055:804] [2022-07-17 14:10:48 +0000.50803][2642]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[055:804] [2022-07-17 14:10:48 +0000.50902][2642] StopPreView: Have Stopped,
operation cancel
[055:804] [2022-07-17 14:10:48 +0000.50924][2642] Stop:
[055:815] [2022-07-17 14:10:48 +0000.62385][304d] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[055:815] [2022-07-17 14:10:48 +0000.62592][2642] DeviceRelease:
audioDevice_:0x7b8f0be000
[055:815] [2022-07-17 14:10:48 +0000.62621][2642] OpenSlesOutput:Stop playout

[055:815] [2022-07-17 14:10:48 +0000.62653][2642] DeviceRelease: Release the webrtc


device object.
[055:816] [2022-07-17 14:10:48 +0000.63052][2642] OpenSlesOutput destruct.

[055:816] [2022-07-17 14:10:48 +0000.63113][2642] DeviceRelease: Done


[055:816] [2022-07-17 14:10:48 +0000.63188][2642] Stop:
[055:816] [2022-07-17 14:10:48 +0000.63265][304c] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[055:819] [2022-07-17 14:10:48 +0000.66662][2642] global uninited!
[055:820] [2022-07-17 14:10:48 +0000.66753][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[055:820] [2022-07-17 14:10:48 +0000.66817][2642] ~MediaFilterGraph:
MediaFilterGraph destruct
[055:820] [2022-07-17 14:10:48 +0000.66837][2642] RemoveVideoBackGroud: hava not
add video backgroud
[055:820] [2022-07-17 14:10:48 +0000.66865][2642] UnbindInputFilter 0x7bdf85ad58
this 0x7bdf8b0fa0
[055:820] [2022-07-17 14:10:48 +0000.66940][2642] ClearAllSource: remove source
filter, sourceid: 0x7bdfb4ae00
[055:820] [2022-07-17 14:10:48 +0000.66956][2642] DestoryDecoderByVideoSource
time:563079026 enter.

[055:820] [2022-07-17 14:10:48 +0000.67012][2642] ~VideoBindDecoder time:563079026


enter.

[055:820] [2022-07-17 14:10:48 +0000.67516][2642] CleanUp time:563079026 enter.

[055:881] [2022-07-17 14:10:48 +0000.128208][2642] CleanUp leave. expire time = 61


ms

[055:881] [2022-07-17 14:10:48 +0000.128262][2642] CleanUp time:563079087 enter.

[055:881] [2022-07-17 14:10:48 +0000.128502][2642] CleanUp leave. expire time = 0


ms

[055:882] [2022-07-17 14:10:48 +0000.128975][2642] ~VideoBindDecoder leave. expire


time = 62 ms

[055:882] [2022-07-17 14:10:48 +0000.129025][2642] DestoryDecoderByVideoSource


leave. expire time = 62 ms

[055:882] [2022-07-17 14:10:48 +0000.129056][2642] UnbindInputFilter 0x7bdf85a818


this 0x7bdf85ad58
[055:882] [2022-07-17 14:10:48 +0000.129084][2642] UnbindInputFilter 0x7bdf85a758
this 0x7bdf85a818
[055:882] [2022-07-17 14:10:48 +0000.129108][2642] UnbindInputFilter 0x7bdfb4b020
this 0x7bdf85a758
[055:882] [2022-07-17 14:10:48 +0000.129132][2642] UnbindInputFilter 0x7bdf85ac98
this 0x7bdf85ae18
[055:882] [2022-07-17 14:10:48 +0000.129158][2642] UnbindInputFilter 0x7bdf85a8d8
this 0x7bdf85ac98
[055:882] [2022-07-17 14:10:48 +0000.129181][2642] UnbindInputFilter 0x7bdfb4b020
this 0x7bdf85a8d8
[055:882] [2022-07-17 14:10:48 +0000.129289][2642] ~GLESContext:
[055:883] [2022-07-17 14:10:48 +0000.130528][2642] GLESContext destruct finish.
[055:883] [2022-07-17 14:10:48 +0000.130571][2642] filter: filter pipeline destroy
this: 0x7bdf8b0f00
[055:884] [2022-07-17 14:10:48 +0000.130972][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[055:884] [2022-07-17 14:10:48 +0000.131368][2642] machine model :poco
[055:884] [2022-07-17 14:10:48 +0000.131394][2642] Support this machine model :poco
[055:884] [2022-07-17 14:10:48 +0000.131432][2642] global inited! current sdk
version: 07-20-936c45f
[055:884] [2022-07-17 14:10:48 +0000.131550][2642] filter: filter pipeline
construtc this: 0x7bdf8b0f00
[055:884] [2022-07-17 14:10:48 +0000.131574][2642] MediaFilterGraph:
MediaFilterGraph construct
[055:884] [2022-07-17 14:10:48 +0000.131603][2642] GLESContext:
[055:884] [2022-07-17 14:10:48 +0000.131642][2642] The result of eglGetDisplay is:
0xb400007cc8e44c80
[055:885] [2022-07-17 14:10:48 +0000.132228][2642] The result of creation:
0x7ca9d3d200
[055:885] [2022-07-17 14:10:48 +0000.132292][2642] The result of
eglCreatePbufferSurface is: 0x7c3cc02280
[055:885] [2022-07-17 14:10:48 +0000.132359][2642] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4
[055:885] [2022-07-17 14:10:48 +0000.132390][2642] The source 0 speed:1
[055:885] [2022-07-17 14:10:48 +0000.132422][2642] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4,
delay: 0
[055:885] [2022-07-17 14:10:48 +0000.132461][2642] CreateDecoderByVideoSource
time:563079091 enter.

[055:885] [2022-07-17 14:10:48 +0000.132613][2642] running_decoder_count:0max


count:2
[055:885] [2022-07-17 14:10:48 +0000.132639][2642] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7beb58e800
[055:886] [2022-07-17 14:10:48 +0000.133219][305c] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7bacf9b600] Current FFmpeg version git-2021-06-16-
97cea6f

[055:941] [2022-07-17 14:10:48 +0000.188716][305c] OnStreamInfoFound: video


duration_: 9990
[055:943] [2022-07-17 14:10:48 +0000.190100][2642] start decoder
[055:943] [2022-07-17 14:10:48 +0000.190187][2642] CreateDecoderByVideoSource
leave. expire time = 58 ms

[055:943] [2022-07-17 14:10:48 +0000.190270][2642] BindInputFilter 0x7bdfb4b020


this 0x7bdf85a758
[055:943] [2022-07-17 14:10:48 +0000.190405][2642] BindInputFilter 0x7bdf85a758
this 0x7bdf85a818
[055:943] [2022-07-17 14:10:48 +0000.190456][2642] BindInputFilter 0x7bdfb4b020
this 0x7bdf85a8d8
[055:943] [2022-07-17 14:10:48 +0000.190501][2642] BindInputFilter 0x7bdf85a8d8
this 0x7bdf85a998
[055:943] [2022-07-17 14:10:48 +0000.190533][2642] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4
[055:943] [2022-07-17 14:10:48 +0000.190685][2642] BindInputFilter 0x7bdf85a818
this 0x7bdf85aa58
[055:944] [2022-07-17 14:10:48 +0000.190748][2642] BindInputFilter 0x7bdf85aa58
this 0x7bdf8b0fa0
[055:944] [2022-07-17 14:10:48 +0000.190800][2642] BindInputFilter 0x7bdf85a998
this 0x7bdf85ab18
[055:944] [2022-07-17 14:10:48 +0000.190848][2642] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_563067919.mp4
[055:944] [2022-07-17 14:10:48 +0000.190954][2642]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[055:944] [2022-07-17 14:10:48 +0000.191185][2642] MediaComposeFile time:563079150
enter.

[055:944] [2022-07-17 14:10:48 +0000.191244][2642] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[055:944] [2022-07-17 14:10:48 +0000.191365][2642] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[055:944] [2022-07-17 14:10:48 +0000.191385][3068] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7b83435540
[055:944] [2022-07-17 14:10:48 +0000.191417][2642] Recording session using default
bitrate support by app:31457280
[055:943] [2022-07-17 14:10:48 +0000.190268][305d] NO get frame from decoder
[055:945] [2022-07-17 14:10:48 +0000.192295][305d] NO get frame from decoder
[055:946] [2022-07-17 14:10:48 +0000.193537][3068] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[055:947] [2022-07-17 14:10:48 +0000.193828][305d] NO get frame from decoder
[055:947] [2022-07-17 14:10:48 +0000.194223][2642] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[055:947] [2022-07-17 14:10:48 +0000.194371][2642] GetPipeline:
-----------------------------------------
[055:947] [2022-07-17 14:10:48 +0000.194415][2642] GetPipeline: source:
0x7bdfb4ae00
[055:947] [2022-07-17 14:10:48 +0000.194462][2642] GetPipeline: filter: NULLFilter
[055:947] [2022-07-17 14:10:48 +0000.194498][2642] GetPipeline: filter: NULLFilter
[055:947] [2022-07-17 14:10:48 +0000.194533][2642] GetPipeline: filter: NULLFilter
[055:947] [2022-07-17 14:10:48 +0000.194569][2642] GetPipeline: audio filter:
AuidoNULLFilter
[055:947] [2022-07-17 14:10:48 +0000.194602][2642] GetPipeline: audio filter:
AuidoNULLFilter
[055:947] [2022-07-17 14:10:48 +0000.194635][2642] GetPipeline: audio filter:
AudioNUllFilter
[055:947] [2022-07-17 14:10:48 +0000.194670][2642] GetPipeline:
------------------------------------------
[055:947] [2022-07-17 14:10:48 +0000.194706][2642] filter: filter pipeline2 update
pattern: 2
[055:949] [2022-07-17 14:10:48 +0000.195861][305d] NO get frame from decoder
[055:949] [2022-07-17 14:10:48 +0000.196046][2642] MediaComposeFile leave. expire
time = 5 ms

[055:949] [2022-07-17 14:10:48 +0000.196434][2642] machine model :poco


[055:949] [2022-07-17 14:10:48 +0000.196501][2642] Support this machine model :poco
[055:949] [2022-07-17 14:10:48 +0000.196547][2642] global inited! current sdk
version: 07-20-936c45f
[055:950] [2022-07-17 14:10:48 +0000.197487][305d] NO get frame from decoder
[055:951] [2022-07-17 14:10:48 +0000.198325][305d] NO get frame from decoder
[055:953] [2022-07-17 14:10:48 +0000.200027][305d] NO get frame from decoder
[055:954] [2022-07-17 14:10:48 +0000.201735][305d] NO get frame from decoder
[055:966] [2022-07-17 14:10:48 +0000.213419][2642]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[055:966] [2022-07-17 14:10:48 +0000.213539][2642] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 193
[055:966] [2022-07-17 14:10:48 +0000.213582][2642]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[055:966] [2022-07-17 14:10:48 +0000.213609][2642] BeginCompose: BeginCompose, is
composing 0
[055:967] [2022-07-17 14:10:48 +0000.213844][3068] start recording, file path:
[055:967] [2022-07-17 14:10:48 +0000.214007][3068] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 193 audio_timescale:44100
video_timescale:90000
[055:967] [2022-07-17 14:10:48 +0000.214041][3068] 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
[055:967] [2022-07-17 14:10:48 +0000.214066][3068] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 193
[055:967] [2022-07-17 14:10:48 +0000.214092][3068] fd_open successed
handle:0xb400007d741b40b0
[055:967] [2022-07-17 14:10:48 +0000.214208][3068] create mp4 file:331
m_fileHandle: 0x7bbf12f700
[055:967] [2022-07-17 14:10:48 +0000.214228][3068] MP4 file: is opened successfully
[055:967] [2022-07-17 14:10:48 +0000.214243][3068] setupMediaProcessers:
[055:967] [2022-07-17 14:10:48 +0000.214258][3068]
RecordingSessionInternalSimple:setup media processers.
[055:967] [2022-07-17 14:10:48 +0000.214273][3068] construct AAC encoder
[055:967] [2022-07-17 14:10:48 +0000.214637][3068] H264Encoder creating:
ultrafast012323
[055:967] [2022-07-17 14:10:48 +0000.214670][3068] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[055:968] [2022-07-17 14:10:48 +0000.214962][3068] H264Encode::GetMachineModel is
M2012K11AG
[055:968] [2022-07-17 14:10:48 +0000.214989][3068] H264Encoder machine_mode
is:M2012K11AG
[055:968] [2022-07-17 14:10:48 +0000.214981][306d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7ca9bf7498
[055:968] [2022-07-17 14:10:48 +0000.215007][3068] H264Encode::machine size :9
machine_mode:M2012K11AG
[055:968] [2022-07-17 14:10:48 +0000.215058][3068] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[055:968] [2022-07-17 14:10:48 +0000.215077][3068] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[055:968] [2022-07-17 14:10:48 +0000.215092][3068] setupCompressionSession:
[055:968] [2022-07-17 14:10:48 +0000.215106][3068] H264Encode::creating hareware
Encoder
[055:968] [2022-07-17 14:10:48 +0000.215122][3068] AndroidHwAvcEncoder
time:563079174 enter.

[055:968] [2022-07-17 14:10:48 +0000.215241][3068] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007d740e4540 address:0x7ba1cc7760
[055:968] [2022-07-17 14:10:48 +0000.215319][3068] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[055:968] [2022-07-17 14:10:48 +0000.215340][3068] The video avc hw codec address
is 0x7beb72aa48
[055:968] [2022-07-17 14:10:48 +0000.215383][3068] AndroidHwAvcEncoder leave.
expire time = 0 ms

[055:968] [2022-07-17 14:10:48 +0000.215401][3068] RegisterEncodeCompleteCallback


time:563079174 enter.

[055:968] [2022-07-17 14:10:48 +0000.215462][3068] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[055:968] [2022-07-17 14:10:48 +0000.215489][3068] InitEncode time:563079174


enter.

[055:968] [2022-07-17 14:10:48 +0000.215539][3068] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[055:968] [2022-07-17 14:10:48 +0000.215564][3068] Create time:563079174 enter.

[055:968] [2022-07-17 14:10:48 +0000.215581][3068] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[055:968] [2022-07-17 14:10:48 +0000.215600][3068]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7bdf85b680
[055:968] [2022-07-17 14:10:48 +0000.215709][3068]
supported_type:image/vnd.android.heic
[055:968] [2022-07-17 14:10:48 +0000.215742][3068] supported_type:video/avc
[055:969] [2022-07-17 14:10:48 +0000.215761][3068] name:OMX.qcom.video.encoder.avc
mime:video/avc
[055:969] [2022-07-17 14:10:48 +0000.215787][3068] hwCodecPrefix :OMX.qcom.
[055:969] [2022-07-17 14:10:48 +0000.215806][3068] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[055:969] [2022-07-17 14:10:48 +0000.215824][3068] mediacodec_createCodecByName
time:563079175 enter.

[055:969] [2022-07-17 14:10:48 +0000.215840][3068] WrapAndroidMediaCodec


time:563079175 enter.

[055:969] [2022-07-17 14:10:48 +0000.215942][3068] WrapAndroidMediaCodec leave.


expire time = 0 ms

[055:982] [2022-07-17 14:10:48 +0000.228848][3068] mediacodec_createCodecByName


leave. expire time = 13 ms

[055:982] [2022-07-17 14:10:48 +0000.228975][3068] WrapAndroidMediaFromat


time:563079188 enter.

[055:982] [2022-07-17 14:10:48 +0000.229082][3068] WrapAndroidMediaFromat leave.


expire time = 0 ms

[056:024] [2022-07-17 14:10:48 +0000.271685][3068] Destroy time:563079230 enter.

[056:025] [2022-07-17 14:10:48 +0000.271754][3068] WrapAndroidMediaFromat::


Destroy
[056:025] [2022-07-17 14:10:48 +0000.271774][3068] Destroy leave. expire time = 1
ms

[056:025] [2022-07-17 14:10:48 +0000.271790][3068] ~WrapAndroidMediaFromat


time:563079231 enter.

[056:025] [2022-07-17 14:10:48 +0000.271814][3068] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[056:025] [2022-07-17 14:10:48 +0000.271851][3068] Create leave. expire time = 57


ms

[056:025] [2022-07-17 14:10:48 +0000.271868][3068] isSemiPlanarSupport


time:563079231 enter.
[056:025] [2022-07-17 14:10:48 +0000.271902][3068] H264Encoder isSemiPlanarSupport
[056:025] [2022-07-17 14:10:48 +0000.271921][3068] isSemiPlanarSupport leave.
expire time = 0 ms

[056:025] [2022-07-17 14:10:48 +0000.271979][3068] creat hw H264Encoder success,


isSemiPlanar:1
[056:025] [2022-07-17 14:10:48 +0000.272071][3068] InitEncode leave. expire time =
57 ms

[056:025] [2022-07-17 14:10:48 +0000.272100][3068] H264Encode::created Encoder


[056:025] [2022-07-17 14:10:48 +0000.272117][3068] H264Encode:: H264 encoder
created.
[056:025] [2022-07-17 14:10:48 +0000.272241][3068] H264 encoder created.
[056:025] [2022-07-17 14:10:48 +0000.272257][3068]
RecordingSessionInternalSimple:created avc encoder avc: 0x7bbeeb3580
[056:025] [2022-07-17 14:10:48 +0000.272364][3068] setOutput:
[056:025] [2022-07-17 14:10:48 +0000.272387][3068]
RecordingSessionInternalSimple:encoder set output to muxer!
[056:025] [2022-07-17 14:10:48 +0000.272434][3068] request a key frame
[056:025] [2022-07-17 14:10:48 +0000.272452][3068] H264Encode:: request a key frame
[056:027] [2022-07-17 14:10:48 +0000.274506][3068] setDisplayRotate :90
[056:027] [2022-07-17 14:10:48 +0000.274586][3068] 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
[056:035] [2022-07-17 14:10:48 +0000.282328][3069]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[056:036] [2022-07-17 14:10:48 +0000.282962][306c] audio_frame_list_ empty
[056:046] [2022-07-17 14:10:48 +0000.293446][3068] setDisplayRotate :90
[056:046] [2022-07-17 14:10:48 +0000.293510][3068] 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
[056:067] [2022-07-17 14:10:48 +0000.314385][3068] setDisplayRotate :90
[056:067] [2022-07-17 14:10:48 +0000.314503][3068] 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
[056:080] [2022-07-17 14:10:48 +0000.327720][306b] Error(video_source.cc:430): wait
decoder a frame: 9
[056:156] [2022-07-17 14:10:48 +0000.403614][2cb1] Run AGC when audioType = 0
[056:156] [2022-07-17 14:10:48 +0000.403698][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[056:222] [2022-07-17 14:10:48 +0000.469292][3068] setDisplayRotate :90
[056:222] [2022-07-17 14:10:48 +0000.469358][306d] add aac audio track with id:1
[056:222] [2022-07-17 14:10:48 +0000.469372][3068] 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
[056:222] [2022-07-17 14:10:48 +0000.469418][306d] audio start ts:0
[056:222] [2022-07-17 14:10:48 +0000.469445][306d] the audio frame has been written
into MP4 file
[056:233] [2022-07-17 14:10:48 +0000.480132][3069] h264 add frame header cdr flag
[056:233] [2022-07-17 14:10:48 +0000.480558][3069] h264 add frame header cdr flag
[056:235] [2022-07-17 14:10:48 +0000.482579][3069] Received key frame:10
[056:236] [2022-07-17 14:10:48 +0000.482754][3069] H264Encode:: get a sps pps
header!headerSize:32
[056:236] [2022-07-17 14:10:48 +0000.482863][306d] get the H.264 SPS parameter
[056:236] [2022-07-17 14:10:48 +0000.483331][306d] add video track with id:2
[056:238] [2022-07-17 14:10:48 +0000.485416][306d] get the H.264 PPS parameter
[056:240] [2022-07-17 14:10:48 +0000.486846][306d] get the H.264 IDR frame
[056:240] [2022-07-17 14:10:48 +0000.486978][306d] resss:true
[056:240] [2022-07-17 14:10:48 +0000.487018][306d] video start ts:10
[056:240] [2022-07-17 14:10:48 +0000.487240][306d] the video frame has been written
into MP4 file
[056:287] [2022-07-17 14:10:48 +0000.533903][3069] Push an pts:463 to dts queue.
[056:291] [2022-07-17 14:10:48 +0000.537759][3069] DTS queue for
Generator:0x7ca9bf76b8 365 400 433 463
[056:315] [2022-07-17 14:10:48 +0000.561899][3069] last dts:433 currentPts:463
ppsOrSPS:0 queue length:7
[056:398] [2022-07-17 14:10:48 +0000.645249][306c] audio_frame_list_ empty
[056:492] [2022-07-17 14:10:48 +0000.738872][3068] setDisplayRotate :90
[056:492] [2022-07-17 14:10:48 +0000.738956][3068] 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
[056:517] [2022-07-17 14:10:48 +0000.764329][306b] Error(video_source.cc:430): wait
decoder a frame: 0
[056:525] [2022-07-17 14:10:48 +0000.771814][306b] webrtc common_video plane
old ..... (1/1000) new: 17001 delete: 16968 diff: 33
[056:525] [2022-07-17 14:10:48 +0000.772351][3069] DTS queue for
Generator:0x7ca9bf76b8 1129 1167 1199 1231 1268 1300 1331 1365
[056:617] [2022-07-17 14:10:48 +0000.864063][3069] Push an pts:1805 to dts queue.
[056:679] [2022-07-17 14:10:48 +0000.926715][3069] last dts:1766 currentPts:1805
ppsOrSPS:0 queue length:9
[056:708] [2022-07-17 14:10:48 +0000.954781][3069] DTS queue for
Generator:0x7ca9bf76b8 1996 2032 2065 2101 2133 2166
[056:761] [2022-07-17 14:10:49 +0000.7912][306c] audio_frame_list_ empty
[056:789] [2022-07-17 14:10:49 +0000.36652][3068] setDisplayRotate :90
[056:790] [2022-07-17 14:10:49 +0000.36785][3068] 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
[056:794] [2022-07-17 14:10:49 +0000.41548][3069] h264 add frame header cdr flag
[056:795] [2022-07-17 14:10:49 +0000.42062][3069] Received key frame:1996
[056:804] [2022-07-17 14:10:49 +0000.51292][306d] get the H.264 IDR frame
[056:870] [2022-07-17 14:10:49 +0000.117158][306b] Error(video_source.cc:430): wait
decoder a frame: 0
[056:874] [2022-07-17 14:10:49 +0000.121346][2cb1] haveEnoughProcessedData
internalAudioStream.length: 10
[056:913] [2022-07-17 14:10:49 +0000.159928][3069] SendFrame
encodedImage._timeStamp:2461encodedImage->_length:113312
[056:928] [2022-07-17 14:10:49 +0000.175207][3069] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2564 pts:2564
[056:940] [2022-07-17 14:10:49 +0000.187753][3069] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:2895
[056:941] [2022-07-17 14:10:49 +0000.188007][3069] push video frame to H264
encoder. (100 frame for one log)

[056:941] [2022-07-17 14:10:49 +0000.188108][3069] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[056:941] [2022-07-17 14:10:49 +0000.188201][3069] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:2895(100 frame for one
log)

[056:941] [2022-07-17 14:10:49 +0000.188599][3069] The input pts:2895 fps:30


[056:968] [2022-07-17 14:10:49 +0000.215151][3069] DTS queue for
Generator:0x7ca9bf76b8 2762 2794 2828 2861 2895 2927 2966 2992 3029
[056:985] [2022-07-17 14:10:49 +0000.232264][3069] Push an pts:3130 to dts queue.
[057:013] [2022-07-17 14:10:49 +0000.260393][3069] H264Encode::H264SWEncoder get
callback, length:87216 type:1 nalType:1length:87212
[057:019] [2022-07-17 14:10:49 +0000.266174][306b] video frame wait audio frame:
last_video_timestamp:3263 last_audio_timestamp:3040.05
[057:140] [2022-07-17 14:10:49 +0000.387728][3068] setDisplayRotate :90
[057:141] [2022-07-17 14:10:49 +0000.387776][3068] 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
[057:150] [2022-07-17 14:10:49 +0000.397634][3069] last dts:3100 currentPts:3130
ppsOrSPS:0 queue length:6
[057:245] [2022-07-17 14:10:49 +0000.492522][306b] Error(video_source.cc:430): wait
decoder a frame: 6
[057:264] [2022-07-17 14:10:49 +0000.510843][3069] DTS queue for
Generator:0x7ca9bf76b8 3597 3626 3660 3697 3732 3761 3797 3831 3862
[057:374] [2022-07-17 14:10:49 +0000.621509][3069] h264 add frame header cdr flag
[057:375] [2022-07-17 14:10:49 +0000.622054][3069] Received key frame:3994
[057:382] [2022-07-17 14:10:49 +0000.628881][306d] get the H.264 IDR frame
[057:410] [2022-07-17 14:10:49 +0000.657449][3069] Push an pts:4463 to dts queue.
[057:455] [2022-07-17 14:10:49 +0000.702665][3069] DTS queue for
Generator:0x7ca9bf76b8 4431 4463 4495 4529 4561 4592 4631 4662
[057:474] [2022-07-17 14:10:49 +0000.721096][3069] last dts:4431 currentPts:4463
ppsOrSPS:0 queue length:9
[057:596] [2022-07-17 14:10:49 +0000.843139][3068] setDisplayRotate :90
[057:596] [2022-07-17 14:10:49 +0000.843284][3068] 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
[057:639] [2022-07-17 14:10:49 +0000.886577][3068] setDisplayRotate :90
[057:639] [2022-07-17 14:10:49 +0000.886656][3068] 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
[057:648] [2022-07-17 14:10:49 +0000.895229][3069] DTS queue for
Generator:0x7ca9bf76b8 5295 5325 5359 5395 5431 5461
[057:656] [2022-07-17 14:10:49 +0000.902959][3068] setDisplayRotate :90
[057:656] [2022-07-17 14:10:49 +0000.903052][3068] 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
[057:665] [2022-07-17 14:10:49 +0000.912514][3068] setDisplayRotate :90
[057:665] [2022-07-17 14:10:49 +0000.912585][3068] 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
[057:691] [2022-07-17 14:10:49 +0000.937944][306b] Error(video_source.cc:430): wait
decoder a frame: 26
[057:691] [2022-07-17 14:10:49 +0000.938596][3068] setDisplayRotate :90
[057:691] [2022-07-17 14:10:49 +0000.938635][3068] 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
[057:708] [2022-07-17 14:10:49 +0000.955023][3068] setDisplayRotate :90
[057:708] [2022-07-17 14:10:49 +0000.955103][3068] 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
[057:712] [2022-07-17 14:10:49 +0000.959062][306b] webrtc common_video plane
old ..... (1/1000) new: 18001 delete: 17984 diff: 17
[057:739] [2022-07-17 14:10:49 +0000.985951][3069] Push an pts:5793 to dts queue.
[057:755] [2022-07-17 14:10:50 +0000.2107][3068] setDisplayRotate :90
[057:755] [2022-07-17 14:10:50 +0000.2194][3068] 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
[057:781] [2022-07-17 14:10:50 +0000.28224][3068] setDisplayRotate :90
[057:781] [2022-07-17 14:10:50 +0000.28338][3068] 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
[057:791] [2022-07-17 14:10:50 +0000.38060][3069] SendFrame
encodedImage._timeStamp:5793encodedImage->_length:81008
[057:791] [2022-07-17 14:10:50 +0000.38168][3069] last dts:5758 currentPts:5793
ppsOrSPS:0 queue length:3
[057:793] [2022-07-17 14:10:50 +0000.40021][306c] audio_frame_list_ empty
[057:840] [2022-07-17 14:10:50 +0000.86996][3069] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:5933 pts:5933
[057:865] [2022-07-17 14:10:50 +0000.112518][3068] setDisplayRotate :90
[057:865] [2022-07-17 14:10:50 +0000.112580][3068] 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
[057:872] [2022-07-17 14:10:50 +0000.119124][3069] h264 add frame header cdr flag
[057:872] [2022-07-17 14:10:50 +0000.119577][3069] Received key frame:5995
[057:894] [2022-07-17 14:10:50 +0000.141402][3068] setDisplayRotate :90
[057:894] [2022-07-17 14:10:50 +0000.141488][3068] 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
[057:901] [2022-07-17 14:10:50 +0000.148691][306d] get the H.264 IDR frame
[057:904] [2022-07-17 14:10:50 +0000.151583][3069] DTS queue for
Generator:0x7ca9bf76b8 6159 6198 6225
[057:905] [2022-07-17 14:10:50 +0000.152401][3069] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6262
[057:905] [2022-07-17 14:10:50 +0000.152450][3069] push video frame to H264
encoder. (100 frame for one log)

[057:905] [2022-07-17 14:10:50 +0000.152475][3069] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[057:905] [2022-07-17 14:10:50 +0000.152498][3069] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6262(100 frame for one
log)

[057:905] [2022-07-17 14:10:50 +0000.152528][3069] The input pts:6262 fps:30


[057:916] [2022-07-17 14:10:50 +0000.162993][3068] setDisplayRotate :90
[057:916] [2022-07-17 14:10:50 +0000.163091][3068] 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
[057:945] [2022-07-17 14:10:50 +0000.192369][3068] setDisplayRotate :90
[057:945] [2022-07-17 14:10:50 +0000.192430][3068] 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
[057:949] [2022-07-17 14:10:50 +0000.196581][3069] H264Encode::H264SWEncoder get
callback, length:86032 type:1 nalType:1length:86028
[058:078] [2022-07-17 14:10:50 +0000.325049][3068] setDisplayRotate :90
[058:078] [2022-07-17 14:10:50 +0000.325121][3068] 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
[058:146] [2022-07-17 14:10:50 +0000.393232][306b] Error(video_source.cc:430): wait
decoder a frame: 0
[058:155] [2022-07-17 14:10:50 +0000.401906][306c] audio_frame_list_ empty
[058:155] [2022-07-17 14:10:50 +0000.402457][2cb1] Run AGC when audioType = 0
[058:222] [2022-07-17 14:10:50 +0000.469734][3069] Push an pts:7125 to dts queue.
[058:240] [2022-07-17 14:10:50 +0000.487070][3069] DTS queue for
Generator:0x7ca9bf76b8 6893 6926 6959 6991 7024 7058 7092 7125 7160
[058:372] [2022-07-17 14:10:50 +0000.619724][3068] setDisplayRotate :90
[058:373] [2022-07-17 14:10:50 +0000.619795][3068] 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
[058:380] [2022-07-17 14:10:50 +0000.627255][3069] last dts:7092 currentPts:7125
ppsOrSPS:0 queue length:8
[058:396] [2022-07-17 14:10:50 +0000.643331][306b] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[058:489] [2022-07-17 14:10:50 +0000.736394][3069] DTS queue for
Generator:0x7ca9bf76b8 7725 7760 7790 7828 7864 7891 7924 7959 7990
[058:508] [2022-07-17 14:10:50 +0000.755071][306b] Error(video_source.cc:430): wait
decoder a frame: 2
[058:511] [2022-07-17 14:10:50 +0000.757766][306c] audio_frame_list_ empty
[058:552] [2022-07-17 14:10:50 +0000.799628][3069] h264 add frame header cdr flag
[058:553] [2022-07-17 14:10:50 +0000.800028][3069] Received key frame:7990
[058:567] [2022-07-17 14:10:50 +0000.814299][306d] get the H.264 IDR frame
[058:618] [2022-07-17 14:10:50 +0000.864839][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[058:649] [2022-07-17 14:10:50 +0000.895794][3068] setDisplayRotate :90
[058:649] [2022-07-17 14:10:50 +0000.895903][3068] 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
[058:668] [2022-07-17 14:10:50 +0000.915294][3069] Push an pts:8460 to dts queue.
[058:716] [2022-07-17 14:10:50 +0000.963205][3069] last dts:8427 currentPts:8460
ppsOrSPS:0 queue length:8
[058:734] [2022-07-17 14:10:50 +0000.981509][3069] DTS queue for
Generator:0x7ca9bf76b8 8559 8593 8625 8658 8699 8726 8759 8792
[058:885] [2022-07-17 14:10:51 +0000.132626][3069] SendFrame
encodedImage._timeStamp:9125encodedImage->_length:90832
[058:906] [2022-07-17 14:10:51 +0000.152979][306b] Error(video_source.cc:430): wait
decoder a frame: 2
[058:906] [2022-07-17 14:10:51 +0000.153020][305d] av_read_frame AVERROR_EOF
[058:927] [2022-07-17 14:10:51 +0000.174036][3069] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:9292 pts:9292
[058:933] [2022-07-17 14:10:51 +0000.180415][3069] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:9623
[058:933] [2022-07-17 14:10:51 +0000.180599][3069] push video frame to H264
encoder. (100 frame for one log)

[058:933] [2022-07-17 14:10:51 +0000.180667][3069] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[058:933] [2022-07-17 14:10:51 +0000.180719][3069] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:9623(100 frame for one
log)

[058:934] [2022-07-17 14:10:51 +0000.180930][3069] The input pts:9623 fps:30


[058:946] [2022-07-17 14:10:51 +0000.193436][3069] DTS queue for
Generator:0x7ca9bf76b8 9392 9426 9457 9491 9524 9557 9589 9623
[058:968] [2022-07-17 14:10:51 +0000.214787][306b] webrtc common_video plane
old ..... (1/1000) new: 19001 delete: 18972 diff: 29
[058:975] [2022-07-17 14:10:51 +0000.221889][3069] Push an pts:9792 to dts queue.
[058:976] [2022-07-17 14:10:51 +0000.223300][305d] OnReceiveEOF:
[058:976] [2022-07-17 14:10:51 +0000.223433][305d] OnDecoderEOF time:563082182
enter.

[058:976] [2022-07-17 14:10:51 +0000.223542][305d] OnDecoderEOF leave. expire time


= 0 ms

[058:976] [2022-07-17 14:10:51 +0000.223606][305d] OnDecoderFinished:


OnDecoderFinished total decoder frames:300 this:0x7bdfb4ae00
[058:976] [2022-07-17 14:10:51 +0000.223667][305d] NULLFilter::OnVideoSourceEOF
0x7bdfb4ae00 this 0x7bdf85a6c0
[058:976] [2022-07-17 14:10:51 +0000.223718][305d] NULLFilter::OnVideoSourceEOF
0x7bdf85a6c0 this 0x7bdf85a780
[058:977] [2022-07-17 14:10:51 +0000.223809][305d] NULLFilter::OnVideoSourceEOF
0x7bdf85a780 this 0x7bdf85a9c0
[058:977] [2022-07-17 14:10:51 +0000.223890][305b] CleanUp time:563082183 enter.

[058:978] [2022-07-17 14:10:51 +0000.225241][306b] OnVideoTimer: OnVideoTimer


return
[058:979] [2022-07-17 14:10:51 +0000.226651][306c] PullAudioFrame: PullFrame audio
finished.
[058:980] [2022-07-17 14:10:51 +0000.226777][306c] OnAudioTimer: OnAudioTimer
EndComposeFile
[058:980] [2022-07-17 14:10:51 +0000.226796][306c] EndComposeFile: EndComposeFile,
is composing 1
[058:987] [2022-07-17 14:10:51 +0000.234152][305b] CleanUp leave. expire time = 10
ms

[058:987] [2022-07-17 14:10:51 +0000.234246][305b] clean up


[058:987] [2022-07-17 14:10:51 +0000.234265][305b] running_decoder_count:0max
count:2
[058:991] [2022-07-17 14:10:51 +0000.238657][3069] H264Encode::H264SWEncoder get
callback, length:68992 type:1 nalType:1length:68988
[059:002] [2022-07-17 14:10:51 +0000.249341][3069]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:300
[059:002] [2022-07-17 14:10:51 +0000.249437][3069]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x7bdf97a800
[059:005] [2022-07-17 14:10:51 +0000.252146][306a]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[059:005] [2022-07-17 14:10:51 +0000.252243][306a]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[059:005] [2022-07-17 14:10:51 +0000.252521][3068] stop recording
[059:005] [2022-07-17 14:10:51 +0000.252558][3068]
RecordingSessionInternalSimple:destroy media processers
[059:005] [2022-07-17 14:10:51 +0000.252672][3068] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[059:005] [2022-07-17 14:10:51 +0000.252713][3068] H264Encode::flushing hareware
Encoder
[059:006] [2022-07-17 14:10:51 +0000.252911][3068] Flush time:563082212 enter.

[059:006] [2022-07-17 14:10:51 +0000.252966][3068] H264Encoder encoder flush


[059:006] [2022-07-17 14:10:51 +0000.252987][3068] flush output queue
[059:018] [2022-07-17 14:10:51 +0000.265426][3068] last dts:9755 currentPts:9792
ppsOrSPS:0 queue length:6
[059:331] [2022-07-17 14:10:51 +0000.578118][3068] Flush leave. expire time = 325
ms

[059:331] [2022-07-17 14:10:51 +0000.578279][3068] ~H264EncodeWrap:


[059:331] [2022-07-17 14:10:51 +0000.578306][3068] ~H264Encode:
[059:331] [2022-07-17 14:10:51 +0000.578322][3068] teardownCompressionSession:
H264Encode::destroying Encoder
[059:331] [2022-07-17 14:10:51 +0000.578339][3068] Release time:563082537 enter.

[059:331] [2022-07-17 14:10:51 +0000.578428][3068] Release:


MediaCodecVideoEncoder::Release _inited:1
[059:331] [2022-07-17 14:10:51 +0000.578454][3068] Destroy time:563082537 enter.

[059:331] [2022-07-17 14:10:51 +0000.578471][3068] H264Encoder encoderDestroy


[059:331] [2022-07-17 14:10:51 +0000.578487][3068]
AndroidMediaCodecVideoEncoder::release env: 0x7bbeeb3bc0
[059:331] [2022-07-17 14:10:51 +0000.578579][3068]
AndroidMediaCodecVideoEncoder::Destroy
[059:368] [2022-07-17 14:10:51 +0000.615473][3068] Destroy leave. expire time = 37
ms

[059:370] [2022-07-17 14:10:51 +0000.617295][3068] Release leave. expire time = 39


ms

[059:370] [2022-07-17 14:10:51 +0000.617414][3068] ~AndroidHwAvcEncoder


time:563082576 enter.

[059:370] [2022-07-17 14:10:51 +0000.617692][3068] Release time:563082576 enter.

[059:371] [2022-07-17 14:10:51 +0000.617784][3068] Release:


MediaCodecVideoEncoder:: has been released before, just return
[059:371] [2022-07-17 14:10:51 +0000.617832][3068] Release leave. expire time = 1
ms

[059:371] [2022-07-17 14:10:51 +0000.617856][3068] ~AndroidMediaCodecVideoEncoder


[059:371] [2022-07-17 14:10:51 +0000.617881][3068] ~WrapAndroidMediaCodec
time:563082577 enter.

[059:371] [2022-07-17 14:10:51 +0000.617909][3068] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[059:371] [2022-07-17 14:10:51 +0000.617925][3068] video hevc hw codec


destructor:0x7beb72aa48

[059:371] [2022-07-17 14:10:51 +0000.617961][3068] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[059:371] [2022-07-17 14:10:51 +0000.617999][3068] teardownCompressionSession:


H264Encode::destroyed Encoder
[059:371] [2022-07-17 14:10:51 +0000.618019][3068]
RecordingSessionInternalSimple:destroy aac encoder output!
[059:371] [2022-07-17 14:10:51 +0000.618035][3068] AACSWEncode destructor
[059:374] [2022-07-17 14:10:51 +0000.621712][306d] fd_close successed!
[059:375] [2022-07-17 14:10:51 +0000.621888][306d] MP4 close file successfully
[059:375] [2022-07-17 14:10:51 +0000.621916][306d] Recording session Internal:
notify recording ok
[059:375] [2022-07-17 14:10:51 +0000.621936][306d] onRecordingOk: Recording Ok,
compose use time: 3409, averagefps 0
[059:375] [2022-07-17 14:10:51 +0000.621958][306d] OnReceiveEOF:
[059:377] [2022-07-17 14:10:51 +0000.624244][306c] OnAudioTimer: OnAudioTimer
return
[059:398] [2022-07-17 14:10:51 +0000.645059][2642]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[059:398] [2022-07-17 14:10:51 +0000.645181][2642] ~MediaComposeFile time:563082604
enter.

[059:398] [2022-07-17 14:10:51 +0000.645215][2642] CancelCompose: CancelCompose,


is composing 0
[059:398] [2022-07-17 14:10:51 +0000.645642][3068] stop recording
[059:398] [2022-07-17 14:10:51 +0000.645706][3068] we have stopped recording before
[059:399] [2022-07-17 14:10:51 +0000.646740][2642] ~MediaComposeFile leave. expire
time = 2 ms

[059:400] [2022-07-17 14:10:51 +0000.646966][2642] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[059:401] [2022-07-17 14:10:51 +0000.647910][2642] global uninited!
[059:401] [2022-07-17 14:10:51 +0000.647999][2642]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[059:401] [2022-07-17 14:10:51 +0000.648111][2642] ~MediaFilterGraph:
MediaFilterGraph destruct
[059:401] [2022-07-17 14:10:51 +0000.648152][2642] RemoveVideoBackGroud: hava not
add video backgroud
[059:401] [2022-07-17 14:10:51 +0000.648192][2642] UnbindInputFilter 0x7bdf85aa58
this 0x7bdf8b0fa0
[059:401] [2022-07-17 14:10:51 +0000.648232][2642] ClearAllSource: remove source
filter, sourceid: 0x7bdfb4ae00
[059:401] [2022-07-17 14:10:51 +0000.648272][2642] DestoryDecoderByVideoSource
time:563082607 enter.

[059:401] [2022-07-17 14:10:51 +0000.648322][2642] ~VideoBindDecoder time:563082607


enter.

[059:401] [2022-07-17 14:10:51 +0000.648494][2642] CleanUp time:563082607 enter.

[059:401] [2022-07-17 14:10:51 +0000.648737][2642] CleanUp leave. expire time = 0


ms

[059:402] [2022-07-17 14:10:51 +0000.648918][2642] CleanUp time:563082608 enter.

[059:403] [2022-07-17 14:10:51 +0000.650133][2642] CleanUp leave. expire time = 1


ms

[059:404] [2022-07-17 14:10:51 +0000.650801][2642] ~VideoBindDecoder leave. expire


time = 3 ms

[059:404] [2022-07-17 14:10:51 +0000.650847][2642] DestoryDecoderByVideoSource


leave. expire time = 3 ms

[059:404] [2022-07-17 14:10:51 +0000.650889][2642] UnbindInputFilter 0x7bdf85a818


this 0x7bdf85aa58
[059:404] [2022-07-17 14:10:51 +0000.650926][2642] UnbindInputFilter 0x7bdf85a758
this 0x7bdf85a818
[059:404] [2022-07-17 14:10:51 +0000.650976][2642] UnbindInputFilter 0x7bdfb4b020
this 0x7bdf85a758
[059:404] [2022-07-17 14:10:51 +0000.651020][2642] UnbindInputFilter 0x7bdf85a998
this 0x7bdf85ab18
[059:404] [2022-07-17 14:10:51 +0000.651065][2642] UnbindInputFilter 0x7bdf85a8d8
this 0x7bdf85a998
[059:404] [2022-07-17 14:10:51 +0000.651107][2642] UnbindInputFilter 0x7bdfb4b020
this 0x7bdf85a8d8
[059:404] [2022-07-17 14:10:51 +0000.651169][2642] ~GLESContext:
[059:405] [2022-07-17 14:10:51 +0000.651838][2642] GLESContext destruct finish.
[059:405] [2022-07-17 14:10:51 +0000.651889][2642] filter: filter pipeline destroy
this: 0x7bdf8b0f00
[060:152] [2022-07-17 14:10:52 +0000.399344][2cb2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[060:152] [2022-07-17 14:10:52 +0000.399530][2cb2] _deviceSampleRate:48000

[060:156] [2022-07-17 14:10:52 +0000.403555][2cb1] Run AGC when audioType = 0


[060:156] [2022-07-17 14:10:52 +0000.403738][2cb1]
AudioDeviceDataHandler::MixAndSendOutFrame
[060:357] [2022-07-17 14:10:52 +0000.604164][2cb1] haveEnoughProcessedData
internalAudioStream.length: 0
[061:533] [2022-07-17 14:10:53 +0000.780695][265f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[061:534] [2022-07-17 14:10:53 +0000.781031][265f] ~MediaFilterCamera
time:563084740 enter.

[061:534] [2022-07-17 14:10:53 +0000.781077][265f] StopPullFrameAndWriteMp4


time:563084740 enter.

[061:539] [2022-07-17 14:10:53 +0000.786700][2cac] stop recording


[061:540] [2022-07-17 14:10:53 +0000.786767][2cac] we have stopped recording before
[061:540] [2022-07-17 14:10:53 +0000.787065][265f] StopPullFrameAndWriteMp4 leave.
expire time = 6 ms

[061:543] [2022-07-17 14:10:53 +0000.791423][265f] DestroyPipelineAndFilters


time:563084749 enter.

[061:545] [2022-07-17 14:10:53 +0000.792240][265f] DestroyPipelineAndFilters


leave. expire time = 2 ms

[061:545] [2022-07-17 14:10:53 +0000.792280][265f] AppDeviceManagerStopMic

[061:545] [2022-07-17 14:10:53 +0000.792440][265f] AppDeviceManagerStopMic::mic


status is on
[061:545] [2022-07-17 14:10:53 +0000.792482][265f] Try to stop webrtc device.

[061:545] [2022-07-17 14:10:53 +0000.792518][265f] Set record state to


stopped.threadID:9823

[061:612] [2022-07-17 14:10:53 +0000.859426][265f] Try to destory the


recorder.threadID:9823

[061:821] [2022-07-17 14:10:54 +0000.68017][265f] DestroyAudioRecorder:


[061:821] [2022-07-17 14:10:54 +0000.68230][265f] Cleanup the buffer queue in the
recorder.
[061:821] [2022-07-17 14:10:54 +0000.68288][265f] Destroy [000:018] [2022-07-17
17:39:51 +0000.519690][3c52] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
17 17:39:51 +0000
[000:018] [2022-07-17 17:39:51 +0000.519727][3c52] set AppID=50011 old AppID=-1
[000:018] [2022-07-17 17:39:51 +0000.519741][3c52] Init the android object with
jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c4220c778

[000:019] [2022-07-17 17:39:51 +0000.519772][3c52] SetAndroidMediaCodecObjects


time:575456395 enter.

[000:019] [2022-07-17 17:39:51 +0000.519788][3c52] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:019] [2022-07-17 17:39:51 +0000.519799][3c52] SetAndroidMediaCodecObjects


time:575456395 enter.

[000:019] [2022-07-17 17:39:51 +0000.519811][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d740e4540
[000:019] [2022-07-17 17:39:51 +0000.519823][3c52] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d740e4540 address:0x7bc1b52760
[000:019] [2022-07-17 17:39:51 +0000.519834][3c52] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d740e4540
address:0x7bc1b52760
[000:019] [2022-07-17 17:39:51 +0000.519846][3c52] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:019] [2022-07-17 17:39:51 +0000.519869][3c52] Set the android objects with


jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c4220c778

[000:020] [2022-07-17 17:39:51 +0000.521062][3c52] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7cc8e47700
[000:020] [2022-07-17 17:39:51 +0000.521087][3c52] SystemUtil Init done
[000:021] [2022-07-17 17:39:51 +0000.522151][3c52]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:022] [2022-07-17 17:39:51 +0000.523991][3c52] MediaFilterCamera
[000:023] [2022-07-17 17:39:51 +0000.524059][3c52] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:023] [2022-07-17 17:39:51 +0000.524187][3c52] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:023] [2022-07-17 17:39:51 +0000.524226][3c52] Recording session using default
bitrate support by app:31457280
[000:023] [2022-07-17 17:39:51 +0000.524379][6c9c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cb899e440
[000:023] [2022-07-17 17:39:51 +0000.524520][6c9c] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:023] [2022-07-17 17:39:51 +0000.524600][3c52] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:025] [2022-07-17 17:39:51 +0000.525807][3c52] Error(ini.cc:191): Open the file
failed. error:2
[000:025] [2022-07-17 17:39:51 +0000.525852][3c52]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:025] [2022-07-17 17:39:51 +0000.525868][3c52] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:026] [2022-07-17 17:39:51 +0000.527629][3c52] Error(ini.cc:191): Open the file
failed. error:2
[000:026] [2022-07-17 17:39:51 +0000.527671][3c52]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:026] [2022-07-17 17:39:51 +0000.527687][3c52] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:026] [2022-07-17 17:39:51 +0000.527697][3c52] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:026] [2022-07-17 17:39:51 +0000.527707][3c52] Using Default AEC type: software
AEC
[000:027] [2022-07-17 17:39:51 +0000.528536][3c52] The device model: m2012k11ag
enum value: 0
[000:027] [2022-07-17 17:39:51 +0000.528758][3c52] GetMachineModel is M2012K11AG
[000:028] [2022-07-17 17:39:51 +0000.528795][3c52] GetMachineInfo: M2012K11AG
[000:028] [2022-07-17 17:39:51 +0000.528821][3c52] Construct BeautifyReader
begin...
[000:028] [2022-07-17 17:39:51 +0000.528833][3c52] dumpStickerRgba:0
dumpStickerYuv:0
[000:028] [2022-07-17 17:39:51 +0000.528844][3c52] Construct BeautifyReader done.
[000:031] [2022-07-17 17:39:51 +0000.531788][3c52] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:031] [2022-07-17 17:39:51 +0000.531817][6c9f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7be5cd63a0
[000:031] [2022-07-17 17:39:51 +0000.532097][3c52] AppDeviceManager telnet server
for statistics started......
[000:031] [2022-07-17 17:39:51 +0000.532441][3c52] CpuOverloadDetect time:575456407
enter.
[000:031] [2022-07-17 17:39:51 +0000.532497][3c52] CpuOverloadDetect leave. expire
time = 0 ms

[000:031] [2022-07-17 17:39:51 +0000.532520][6ca0] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7cb8881780
[000:032] [2022-07-17 17:39:51 +0000.532796][3c52] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:032] [2022-07-17 17:39:51 +0000.532811][3c52] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:032] [2022-07-17 17:39:51 +0000.533010][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:036] [2022-07-17 17:39:51 +0000.536941][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:036] [2022-07-17 17:39:51 +0000.537265][3c52] CreatePlatformSpecificObjects:
[000:036] [2022-07-17 17:39:51 +0000.537294][3c52] audio device use opensle input
and opensl output
[000:036] [2022-07-17 17:39:51 +0000.537328][3c52] Create OpenSLES output module
with java VM support.

[000:036] [2022-07-17 17:39:51 +0000.537450][3c52] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:036] [2022-07-17 17:39:51 +0000.537560][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:036] [2022-07-17 17:39:51 +0000.537727][3c52] Create OpenSLES output module
with buffer num:1

[000:037] [2022-07-17 17:39:51 +0000.537862][3c52] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:037] [2022-07-17 17:39:51 +0000.538004][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:037] [2022-07-17 17:39:51 +0000.538159][3c52] Create OpenSLES input module
with java VM support.

[000:037] [2022-07-17 17:39:51 +0000.538193][3c52] Create OpenSLES input module


with buffer num:1

[000:037] [2022-07-17 17:39:51 +0000.538235][3c52] Error(trace.cc:40): Init the


output and input for audio device template.
[000:037] [2022-07-17 17:39:51 +0000.538253][3c52] Init the output device.

[000:037] [2022-07-17 17:39:51 +0000.538269][3c52] Init the opensl input.


[000:037] [2022-07-17 17:39:51 +0000.538294][3c52] AppDeviceManager get setting
samplerate: 0
[000:037] [2022-07-17 17:39:51 +0000.538553][3c52] The device model: m2012k11ag
enum value: 0
[000:038] [2022-07-17 17:39:51 +0000.538889][3c52] The device model: m2012k11ag
enum value: 0
[000:038] [2022-07-17 17:39:51 +0000.538906][3c52] Set the sample rate to be:48000

[000:038] [2022-07-17 17:39:51 +0000.538921][3c52] Enable the recording stereo:0


[000:038] [2022-07-17 17:39:51 +0000.538936][3c52] Set the playout as stereo:1
[000:038] [2022-07-17 17:39:51 +0000.538950][3c52] Init the microphone.
[000:038] [2022-07-17 17:39:51 +0000.539287][3c52] Update the recording sample rate
to be: 48000
[000:038] [2022-07-17 17:39:51 +0000.539317][3c52] Init the speaker.
[000:038] [2022-07-17 17:39:51 +0000.539351][3c52] Low latency buffer size:144 low
sample rate:48000
[000:038] [2022-07-17 17:39:51 +0000.539507][3c52] Using 1 x 10ms for an audio
frame.
[000:042] [2022-07-17 17:39:51 +0000.543465][3c52] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:042] [2022-07-17 17:39:51 +0000.543569][3c52] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:042] [2022-07-17 17:39:51 +0000.543595][3c52] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:046] [2022-07-17 17:39:51 +0000.547428][3c52] The device model:m2012k11ag

[000:046] [2022-07-17 17:39:51 +0000.547466][3c52] speaker output factor:100


defaultFactor: 100

[000:046] [2022-07-17 17:39:51 +0000.547478][3c52] headset output factor:100


defaultFactor: 100

[000:046] [2022-07-17 17:39:51 +0000.547699][3c52] AppDeviceManagerStart finished.


[000:046] [2022-07-17 17:39:51 +0000.547713][3c52] AppDeviceManagerStartMic::mic
status is off
[000:046] [2022-07-17 17:39:51 +0000.547748][3c52] AppDeviceManagerStartMic update
aec type: 2

[000:046] [2022-07-17 17:39:51 +0000.547759][3c52] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:047] [2022-07-17 17:39:51 +0000.547770][3c52]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:047] [2022-07-17 17:39:51 +0000.547780][3c52]
AudioDeviceDataHandler::StartMicProcess

[000:047] [2022-07-17 17:39:51 +0000.547900][3c52] Try to start webrtc recording


device.

[000:047] [2022-07-17 17:39:51 +0000.547918][3c52] StartRecording. threadID:15442

[000:047] [2022-07-17 17:39:51 +0000.547938][6ca1] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:047] [2022-07-17 17:39:51 +0000.548001][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[000:047] [2022-07-17 17:39:51 +0000.548092][3c52] The machine model:M2012K11AG

[000:047] [2022-07-17 17:39:51 +0000.548117][3c52] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:047] [2022-07-17 17:39:51 +0000.548128][3c52] Set the recording mode before


getSetting: 4
[000:047] [2022-07-17 17:39:51 +0000.548142][3c52] Set the recording mode after
getSetting: 1
[000:096] [2022-07-17 17:39:51 +0000.597012][3c52] StartRecording finished.

[000:096] [2022-07-17 17:39:51 +0000.597060][3c52] audio: start the audio mic


checker timer.

[000:096] [2022-07-17 17:39:51 +0000.597388][3c52] machine model :poco


[000:096] [2022-07-17 17:39:51 +0000.597410][3c52] Support this machine model :poco
[000:098] [2022-07-17 17:39:51 +0000.599541][3c52] global inited! current sdk
version: 07-20-936c45f
[000:186] [2022-07-17 17:39:51 +0000.687596][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#
[000:186] [2022-07-17 17:39:51 +0000.687760][6ca2] _deviceSampleRate:48000

[000:187] [2022-07-17 17:39:51 +0000.688619][6ca1] Run AGC when audioType = 0


[000:192] [2022-07-17 17:39:51 +0000.693294][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:570] [2022-07-17 17:39:52 +0000.70976][6c37]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:573] [2022-07-17 17:39:52 +0000.73984][6c9d] MediaFilterCamera, recording file
context:0x7cb89ac400 input texture:4
[000:573] [2022-07-17 17:39:52 +0000.74101][6c9d] GLESContext:
[000:573] [2022-07-17 17:39:52 +0000.74141][6c9d] The result of eglGetDisplay is:
0xb400007cc8e44c80
[000:575] [2022-07-17 17:39:52 +0000.76115][6c9d] The result of creation:
0x7bd5fd5680
[000:575] [2022-07-17 17:39:52 +0000.76197][6c9d] The result of
eglCreatePbufferSurface is: 0x7bd5fd5a00
[000:576] [2022-07-17 17:39:52 +0000.76933][6c37]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7cb89ac400 input_texture: 4
[001:873] [2022-07-17 17:39:53 +0000.373938][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[002:187] [2022-07-17 17:39:53 +0000.687991][6ca1] Run AGC when audioType = 0
[003:608] [2022-07-17 17:39:55 +0000.108937][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[004:101] [2022-07-17 17:39:55 +0000.602392][6c97]
monitorTime:4005totalDuration:3920
[004:189] [2022-07-17 17:39:55 +0000.690366][6ca1] Run AGC when audioType = 0
[004:189] [2022-07-17 17:39:55 +0000.690448][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:328] [2022-07-17 17:39:56 +0000.829444][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[006:190] [2022-07-17 17:39:57 +0000.691377][6ca1] Run AGC when audioType = 0
[007:035] [2022-07-17 17:39:58 +0000.536571][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[008:187] [2022-07-17 17:39:59 +0000.688186][6ca1] Run AGC when audioType = 0
[008:187] [2022-07-17 17:39:59 +0000.688550][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:751] [2022-07-17 17:40:00 +0000.251825][6ca1] haveEnoughProcessedData
internalAudioStream.length: 20
[010:186] [2022-07-17 17:40:01 +0000.687760][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:187] [2022-07-17 17:40:01 +0000.687986][6ca2] _deviceSampleRate:48000

[010:189] [2022-07-17 17:40:01 +0000.690364][6ca1] Run AGC when audioType = 0


[010:448] [2022-07-17 17:40:01 +0000.949366][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[012:156] [2022-07-17 17:40:03 +0000.656925][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[012:187] [2022-07-17 17:40:03 +0000.687805][6ca1] Run AGC when audioType = 0
[012:187] [2022-07-17 17:40:03 +0000.687924][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[013:871] [2022-07-17 17:40:05 +0000.372547][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[014:189] [2022-07-17 17:40:05 +0000.689928][6ca1] Run AGC when audioType = 0
[015:599] [2022-07-17 17:40:07 +0000.99902][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[016:191] [2022-07-17 17:40:07 +0000.692217][6ca1] Run AGC when audioType = 0
[016:192] [2022-07-17 17:40:07 +0000.692892][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[017:310] [2022-07-17 17:40:08 +0000.810826][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[018:189] [2022-07-17 17:40:09 +0000.690003][6ca1] Run AGC when audioType = 0
[019:031] [2022-07-17 17:40:10 +0000.532615][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[020:187] [2022-07-17 17:40:11 +0000.688093][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:187] [2022-07-17 17:40:11 +0000.688246][6ca2] _deviceSampleRate:48000

[020:188] [2022-07-17 17:40:11 +0000.689323][6ca1] Run AGC when audioType = 0


[020:188] [2022-07-17 17:40:11 +0000.689490][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:760] [2022-07-17 17:40:12 +0000.260953][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[022:189] [2022-07-17 17:40:13 +0000.690200][6ca1] Run AGC when audioType = 0
[022:484] [2022-07-17 17:40:13 +0000.985169][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[024:190] [2022-07-17 17:40:15 +0000.691134][6ca1] Run AGC when audioType = 0
[024:190] [2022-07-17 17:40:15 +0000.691623][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:206] [2022-07-17 17:40:15 +0000.707791][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[025:929] [2022-07-17 17:40:17 +0000.429998][6ca1] haveEnoughProcessedData
internalAudioStream.length: 20
[026:192] [2022-07-17 17:40:17 +0000.692953][6ca1] Run AGC when audioType = 0
[027:638] [2022-07-17 17:40:19 +0000.139449][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[028:190] [2022-07-17 17:40:19 +0000.691664][6ca1] Run AGC when audioType = 0
[028:191] [2022-07-17 17:40:19 +0000.691777][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[029:349] [2022-07-17 17:40:20 +0000.850325][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[030:187] [2022-07-17 17:40:21 +0000.687990][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:187] [2022-07-17 17:40:21 +0000.688057][6ca2] _deviceSampleRate:48000

[030:192] [2022-07-17 17:40:21 +0000.692991][6ca1] Run AGC when audioType = 0


[031:050] [2022-07-17 17:40:22 +0000.551473][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[032:187] [2022-07-17 17:40:23 +0000.688476][6ca1] Run AGC when audioType = 0
[032:187] [2022-07-17 17:40:23 +0000.688675][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:786] [2022-07-17 17:40:24 +0000.287551][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[034:188] [2022-07-17 17:40:25 +0000.689105][6ca1] Run AGC when audioType = 0
[034:492] [2022-07-17 17:40:25 +0000.993515][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[036:190] [2022-07-17 17:40:27 +0000.690787][6ca1] Run AGC when audioType = 0
[036:190] [2022-07-17 17:40:27 +0000.691014][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[036:210] [2022-07-17 17:40:27 +0000.711659][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[037:930] [2022-07-17 17:40:29 +0000.431343][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[038:189] [2022-07-17 17:40:29 +0000.690552][6ca1] Run AGC when audioType = 0
[039:655] [2022-07-17 17:40:31 +0000.155932][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[040:187] [2022-07-17 17:40:31 +0000.688386][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[040:187] [2022-07-17 17:40:31 +0000.688505][6ca2] _deviceSampleRate:48000

[040:190] [2022-07-17 17:40:31 +0000.691536][6ca1] Run AGC when audioType = 0


[040:190] [2022-07-17 17:40:31 +0000.691628][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[041:378] [2022-07-17 17:40:32 +0000.879034][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[042:188] [2022-07-17 17:40:33 +0000.689042][6ca1] Run AGC when audioType = 0
[043:106] [2022-07-17 17:40:34 +0000.607076][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[044:192] [2022-07-17 17:40:35 +0000.693227][6ca1] Run AGC when audioType = 0
[044:192] [2022-07-17 17:40:35 +0000.693627][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[044:817] [2022-07-17 17:40:36 +0000.318449][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[046:187] [2022-07-17 17:40:37 +0000.688140][6ca1] Run AGC when audioType = 0
[046:537] [2022-07-17 17:40:38 +0000.38279][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[048:191] [2022-07-17 17:40:39 +0000.692708][6ca1] Run AGC when audioType = 0
[048:192] [2022-07-17 17:40:39 +0000.693043][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[048:259] [2022-07-17 17:40:39 +0000.760060][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[049:979] [2022-07-17 17:40:41 +0000.480608][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[050:187] [2022-07-17 17:40:41 +0000.688241][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[050:187] [2022-07-17 17:40:41 +0000.688429][6ca2] _deviceSampleRate:48000

[050:193] [2022-07-17 17:40:41 +0000.693965][6ca1] Run AGC when audioType = 0


[051:712] [2022-07-17 17:40:43 +0000.213168][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[052:190] [2022-07-17 17:40:43 +0000.691433][6ca1] Run AGC when audioType = 0
[052:190] [2022-07-17 17:40:43 +0000.691652][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[053:420] [2022-07-17 17:40:44 +0000.921731][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[054:192] [2022-07-17 17:40:45 +0000.693145][6ca1] Run AGC when audioType = 0
[055:141] [2022-07-17 17:40:46 +0000.642173][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[056:190] [2022-07-17 17:40:47 +0000.691285][6ca1] Run AGC when audioType = 0
[056:190] [2022-07-17 17:40:47 +0000.691669][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[056:858] [2022-07-17 17:40:48 +0000.359620][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[058:189] [2022-07-17 17:40:49 +0000.690468][6ca1] Run AGC when audioType = 0
[058:581] [2022-07-17 17:40:50 +0000.82408][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[060:187] [2022-07-17 17:40:51 +0000.687918][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[060:187] [2022-07-17 17:40:51 +0000.688113][6ca2] _deviceSampleRate:48000

[060:190] [2022-07-17 17:40:51 +0000.691340][6ca1] Run AGC when audioType = 0


[060:190] [2022-07-17 17:40:51 +0000.691464][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[060:307] [2022-07-17 17:40:51 +0000.808653][6ca1] haveEnoughProcessedData
internalAudioStream.length: 20
[062:043] [2022-07-17 17:40:53 +0000.543958][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[062:188] [2022-07-17 17:40:53 +0000.689417][6ca1] Run AGC when audioType = 0
[063:749] [2022-07-17 17:40:55 +0000.249994][6ca1] haveEnoughProcessedData
internalAudioStream.length: 20
[064:187] [2022-07-17 17:40:55 +0000.688394][6ca1] Run AGC when audioType = 0
[064:187] [2022-07-17 17:40:55 +0000.688589][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[065:452] [2022-07-17 17:40:56 +0000.953166][6ca1] haveEnoughProcessedData
internalAudioStream.length: 20
[066:189] [2022-07-17 17:40:57 +0000.690381][6ca1] Run AGC when audioType = 0
[067:152] [2022-07-17 17:40:58 +0000.653308][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[068:191] [2022-07-17 17:40:59 +0000.692029][6ca1] Run AGC when audioType = 0
[068:191] [2022-07-17 17:40:59 +0000.692240][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[068:861] [2022-07-17 17:41:00 +0000.362108][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[070:187] [2022-07-17 17:41:01 +0000.687837][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[070:187] [2022-07-17 17:41:01 +0000.687949][6ca2] _deviceSampleRate:48000

[070:190] [2022-07-17 17:41:01 +0000.691005][6ca1] Run AGC when audioType = 0


[070:575] [2022-07-17 17:41:02 +0000.76097][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[072:191] [2022-07-17 17:41:03 +0000.691834][6ca1] Run AGC when audioType = 0
[072:191] [2022-07-17 17:41:03 +0000.692096][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[072:308] [2022-07-17 17:41:03 +0000.809128][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[074:047] [2022-07-17 17:41:05 +0000.548259][6ca1] haveEnoughProcessedData
internalAudioStream.length: 20
[074:190] [2022-07-17 17:41:05 +0000.691284][6ca1] Run AGC when audioType = 0
[075:764] [2022-07-17 17:41:07 +0000.265251][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[076:189] [2022-07-17 17:41:07 +0000.690205][6ca1] Run AGC when audioType = 0
[076:189] [2022-07-17 17:41:07 +0000.690422][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[077:484] [2022-07-17 17:41:08 +0000.985274][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[078:187] [2022-07-17 17:41:09 +0000.688412][6ca1] Run AGC when audioType = 0
[079:210] [2022-07-17 17:41:10 +0000.711657][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[080:187] [2022-07-17 17:41:11 +0000.688669][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#
[080:188] [2022-07-17 17:41:11 +0000.688959][6ca2] _deviceSampleRate:48000

[080:189] [2022-07-17 17:41:11 +0000.690084][6ca1] Run AGC when audioType = 0


[080:189] [2022-07-17 17:41:11 +0000.690220][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[080:940] [2022-07-17 17:41:12 +0000.441690][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[082:188] [2022-07-17 17:41:13 +0000.688902][6ca1] Run AGC when audioType = 0
[082:665] [2022-07-17 17:41:14 +0000.165810][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[084:188] [2022-07-17 17:41:15 +0000.688844][6ca1] Run AGC when audioType = 0
[084:188] [2022-07-17 17:41:15 +0000.689187][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[084:383] [2022-07-17 17:41:15 +0000.884372][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[086:110] [2022-07-17 17:41:17 +0000.611356][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[086:191] [2022-07-17 17:41:17 +0000.692186][6ca1] Run AGC when audioType = 0
[087:838] [2022-07-17 17:41:19 +0000.339735][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[088:188] [2022-07-17 17:41:19 +0000.689292][6ca1] Run AGC when audioType = 0
[088:188] [2022-07-17 17:41:19 +0000.689677][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[089:564] [2022-07-17 17:41:21 +0000.65413][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[090:187] [2022-07-17 17:41:21 +0000.688282][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[090:188] [2022-07-17 17:41:21 +0000.688971][6ca2] _deviceSampleRate:48000

[090:190] [2022-07-17 17:41:21 +0000.691479][6ca1] Run AGC when audioType = 0


[091:287] [2022-07-17 17:41:22 +0000.788296][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[092:192] [2022-07-17 17:41:23 +0000.693333][6ca1] Run AGC when audioType = 0
[092:193] [2022-07-17 17:41:23 +0000.693774][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[093:008] [2022-07-17 17:41:24 +0000.509364][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[094:192] [2022-07-17 17:41:25 +0000.693737][6ca1] Run AGC when audioType = 0
[094:747] [2022-07-17 17:41:26 +0000.248544][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[096:191] [2022-07-17 17:41:27 +0000.691906][6ca1] Run AGC when audioType = 0
[096:191] [2022-07-17 17:41:27 +0000.692045][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[096:470] [2022-07-17 17:41:27 +0000.971332][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[098:186] [2022-07-17 17:41:29 +0000.687945][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[098:192] [2022-07-17 17:41:29 +0000.693632][6ca1] Run AGC when audioType = 0
[099:909] [2022-07-17 17:41:31 +0000.410225][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[100:187] [2022-07-17 17:41:31 +0000.688534][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[100:187] [2022-07-17 17:41:31 +0000.688675][6ca2] _deviceSampleRate:48000


[100:192] [2022-07-17 17:41:31 +0000.693720][6ca1] Run AGC when audioType = 0
[100:193] [2022-07-17 17:41:31 +0000.693837][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[101:631] [2022-07-17 17:41:33 +0000.132230][6ca1] haveEnoughProcessedData
internalAudioStream.length: 20
[102:191] [2022-07-17 17:41:33 +0000.692288][6ca1] Run AGC when audioType = 0
[103:341] [2022-07-17 17:41:34 +0000.842632][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[104:187] [2022-07-17 17:41:35 +0000.688591][6ca1] Run AGC when audioType = 0
[104:188] [2022-07-17 17:41:35 +0000.688908][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[105:058] [2022-07-17 17:41:36 +0000.558981][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[106:192] [2022-07-17 17:41:37 +0000.693305][6ca1] Run AGC when audioType = 0
[106:769] [2022-07-17 17:41:38 +0000.270330][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[108:188] [2022-07-17 17:41:39 +0000.689314][6ca1] Run AGC when audioType = 0
[108:188] [2022-07-17 17:41:39 +0000.689476][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[108:492] [2022-07-17 17:41:39 +0000.993067][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[110:187] [2022-07-17 17:41:41 +0000.688120][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[110:187] [2022-07-17 17:41:41 +0000.688252][6ca2] _deviceSampleRate:48000

[110:188] [2022-07-17 17:41:41 +0000.689452][6ca1] Run AGC when audioType = 0


[110:219] [2022-07-17 17:41:41 +0000.720583][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[111:933] [2022-07-17 17:41:43 +0000.434759][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[112:192] [2022-07-17 17:41:43 +0000.692951][6ca1] Run AGC when audioType = 0
[112:192] [2022-07-17 17:41:43 +0000.693306][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[113:658] [2022-07-17 17:41:45 +0000.158930][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[114:188] [2022-07-17 17:41:45 +0000.689534][6ca1] Run AGC when audioType = 0
[115:384] [2022-07-17 17:41:46 +0000.885293][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[116:191] [2022-07-17 17:41:47 +0000.691855][6ca1] Run AGC when audioType = 0
[116:191] [2022-07-17 17:41:47 +0000.692135][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[117:092] [2022-07-17 17:41:48 +0000.593420][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[118:189] [2022-07-17 17:41:49 +0000.690026][6ca1] Run AGC when audioType = 0
[118:825] [2022-07-17 17:41:50 +0000.326408][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[120:187] [2022-07-17 17:41:51 +0000.688443][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[120:187] [2022-07-17 17:41:51 +0000.688638][6ca2] _deviceSampleRate:48000

[120:188] [2022-07-17 17:41:51 +0000.689138][6ca1] Run AGC when audioType = 0


[120:188] [2022-07-17 17:41:51 +0000.689333][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[120:549] [2022-07-17 17:41:52 +0000.50106][6ca1] haveEnoughProcessedData
internalAudioStream.length: 20
[122:191] [2022-07-17 17:41:53 +0000.692105][6ca1] Run AGC when audioType = 0
[122:263] [2022-07-17 17:41:53 +0000.763853][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[123:994] [2022-07-17 17:41:55 +0000.494851][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[124:190] [2022-07-17 17:41:55 +0000.691390][6ca1] Run AGC when audioType = 0
[124:190] [2022-07-17 17:41:55 +0000.691539][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[125:711] [2022-07-17 17:41:57 +0000.212690][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[126:192] [2022-07-17 17:41:57 +0000.693449][6ca1] Run AGC when audioType = 0
[127:437] [2022-07-17 17:41:58 +0000.938165][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[128:191] [2022-07-17 17:41:59 +0000.692693][6ca1] Run AGC when audioType = 0
[128:192] [2022-07-17 17:41:59 +0000.693058][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[129:155] [2022-07-17 17:42:00 +0000.656620][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[130:187] [2022-07-17 17:42:01 +0000.688391][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[130:187] [2022-07-17 17:42:01 +0000.688531][6ca2] _deviceSampleRate:48000

[130:188] [2022-07-17 17:42:01 +0000.689628][6ca1] Run AGC when audioType = 0


[130:888] [2022-07-17 17:42:02 +0000.389596][6ca1] haveEnoughProcessedData
internalAudioStream.length: 20
[132:187] [2022-07-17 17:42:03 +0000.688558][6ca1] Run AGC when audioType = 0
[132:188] [2022-07-17 17:42:03 +0000.689064][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[132:599] [2022-07-17 17:42:04 +0000.100709][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[134:194] [2022-07-17 17:42:05 +0000.695054][6ca1] Run AGC when audioType = 0
[134:328] [2022-07-17 17:42:05 +0000.829389][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[136:062] [2022-07-17 17:42:07 +0000.563559][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[136:192] [2022-07-17 17:42:07 +0000.693794][6ca1] Run AGC when audioType = 0
[136:193] [2022-07-17 17:42:07 +0000.694167][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[137:779] [2022-07-17 17:42:09 +0000.280130][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[138:188] [2022-07-17 17:42:09 +0000.688821][6ca1] Run AGC when audioType = 0
[139:500] [2022-07-17 17:42:11 +0000.1767][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[140:187] [2022-07-17 17:42:11 +0000.688494][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[140:187] [2022-07-17 17:42:11 +0000.688623][6ca2] _deviceSampleRate:48000

[140:187] [2022-07-17 17:42:11 +0000.688947][6ca1] Run AGC when audioType = 0


[140:188] [2022-07-17 17:42:11 +0000.689406][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[141:218] [2022-07-17 17:42:12 +0000.718997][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[142:192] [2022-07-17 17:42:13 +0000.692981][6ca1] Run AGC when audioType = 0
[142:946] [2022-07-17 17:42:14 +0000.447057][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[144:189] [2022-07-17 17:42:15 +0000.690398][6ca1] Run AGC when audioType = 0
[144:189] [2022-07-17 17:42:15 +0000.690677][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[144:651] [2022-07-17 17:42:16 +0000.152000][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[146:192] [2022-07-17 17:42:17 +0000.693030][6ca1] Run AGC when audioType = 0
[146:369] [2022-07-17 17:42:17 +0000.870724][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[148:087] [2022-07-17 17:42:19 +0000.588031][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[148:190] [2022-07-17 17:42:19 +0000.691528][6ca1] Run AGC when audioType = 0
[148:190] [2022-07-17 17:42:19 +0000.691674][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[149:815] [2022-07-17 17:42:21 +0000.315889][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[150:187] [2022-07-17 17:42:21 +0000.687982][6ca2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[150:187] [2022-07-17 17:42:21 +0000.688100][6ca2] _deviceSampleRate:48000

[150:190] [2022-07-17 17:42:21 +0000.691256][6ca1] Run AGC when audioType = 0


[151:547] [2022-07-17 17:42:23 +0000.48574][6ca1] haveEnoughProcessedData
internalAudioStream.length: 20
[152:192] [2022-07-17 17:42:23 +0000.693074][6ca1] Run AGC when audioType = 0
[152:192] [2022-07-17 17:42:23 +0000.693232][6ca1]
AudioDeviceDataHandler::MixAndSendOutFrame
[153:270] [2022-07-17 17:42:24 +0000.770820][6ca1] haveEnoughProcessedData
internalAudioStream.length: 0
[154:191] [2022-07-17 17:42:25 +0000.691939][6ca1] Run AGC when audioType = 0
[154:988] [2022-07-17 17:42:26 +0000.489285][6ca1] haveEnoughProcessedData
internalAudioStream.length: 10
[155:669] [2022-07-17 17:42:27 +0000.170276][3c52]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[155:669] [2022-07-17 17:42:27 +0000.170592][3c52] ~MediaFilterCamera
time:575612045 enter.

[155:669] [2022-07-17 17:42:27 +0000.170637][3c52] StopPullFrameAndWriteMp4


time:575612045 enter.

[155:673] [2022-07-17 17:42:27 +0000.173826][6c9c] stop recording


[155:673] [2022-07-17 17:42:27 +0000.173952][6c9c] we have stopped recording before
[155:673] [2022-07-17 17:42:27 +0000.174088][3c52] StopPullFrameAndWriteMp4 leave.
expire time = 4 ms

[155:673] [2022-07-17 17:42:27 +0000.174642][3c52] DestroyPipelineAndFilters


time:575612049 enter.

[155:673] [2022-07-17 17:42:27 +0000.174698][3c52] DestroyPipelineAndFilters


leave. expire time = 0 ms

[155:673] [2022-07-17 17:42:27 +0000.174734][3c52] AppDeviceManagerStopMic

[155:674] [2022-07-17 17:42:27 +0000.174810][3c52] AppDeviceManagerStopMic::mic


status is on
[155:674] [2022-07-17 17:42:27 +0000.174949][3c52] Try to stop webrtc device.

[155:674] [2022-07-17 17:42:27 +0000.174992][3c52] Set record state to


stopped.threadID:15442
[155:743] [2022-07-17 17:42:27 +0000.244552][3c52] Try to destory the
recorder.threadID:15442

[155:966] [2022-07-17 17:42:27 +0000.467008][3c52] DestroyAudioRecorder:


[155:966] [2022-07-17 17:42:27 +0000.467302][3c52] Cleanup the buffer queue in the
recorder.
[155:966] [2022-07-17 17:42:27 +0000.467410][3c52] Destroy the recorder.

[155:970] [2022-07-17 17:42:27 +0000.471763][3c52] StopRecording finished.

[155:971] [2022-07-17 17:42:27 +0000.471858][3c52] The stop recording success.

[155:971] [2022-07-17 17:42:27 +0000.471904][3c52]


AudioDeviceDataHandler::StopMicProcess

[156:012] [2022-07-17 17:42:27 +0000.513542][3c52] AppDeviceManager stop.

[156:015] [2022-07-17 17:42:27 +0000.515942][3c52] Rlease the webrtc device object.

[156:016] [2022-07-17 17:42:27 +0000.516856][3c52] OpenSlesInput destruct.

[156:016] [2022-07-17 17:42:27 +0000.516955][3c52] OpenSlesOutput destruct.

[156:018] [2022-07-17 17:42:27 +0000.518806][3c52] EventDispatchServerScope


destruct
[156:018] [2022-07-17 17:42:27 +0000.518912][3c52]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[156:018] [2022-07-17 17:42:27 +0000.519101][3c52] ~AudioDeviceDataHandler

[156:024] [2022-07-17 17:42:27 +0000.525072][3c52] AppDeviceManagerDestruct.

[156:024] [2022-07-17 17:42:27 +0000.525197][3c52] ~AppDeviceManager:


[156:024] [2022-07-17 17:42:27 +0000.525309][3c52] ~CpuOverloadDetect
time:575612400 enter.

[156:025] [2022-07-17 17:42:27 +0000.526090][3c52] ~CpuOverloadDetect leave.


expire time = 1 ms

[156:032] [2022-07-17 17:42:27 +0000.533356][3c52] Destruct BeautifyReader begin...


[156:032] [2022-07-17 17:42:27 +0000.533458][3c52] Destruct BeautifyReader done.
[156:032] [2022-07-17 17:42:27 +0000.533591][3c52] ~MediaFilterCamera leave.
expire time = 363 ms

[156:033] [2022-07-17 17:42:27 +0000.533925][3c52] ~GLESContext:


[156:035] [2022-07-17 17:42:27 +0000.536148][3c52] GLESContext destruct finish.
[156:035] [2022-07-17 17:42:27 +0000.536231][3c52] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[156:036] [2022-07-17 17:42:27 +0000.537167][3c52] global uninited!
[156:047] [2022-07-17 17:42:27 +0000.548427][3c52] clear AppID 50011
[156:047] [2022-07-17 17:42:27 +0000.548581][3c52] UnRegister JVM for Xplatform
util
[156:047] [2022-07-17 17:42:27 +0000.548628][3c52] Dispose::unregister webrtc video
engine
[156:047] [2022-07-17 17:42:27 +0000.548661][3c52] Init the android object with
jvm:0x0 env:0x0 context:0x0

[156:047] [2022-07-17 17:42:27 +0000.548705][3c52] SetAndroidMediaCodecObjects


time:575612423 enter.
[156:047] [2022-07-17 17:42:27 +0000.548741][3c52] ClearAndroidMediaCodecObjects
time:575612423 enter.

[156:048] [2022-07-17 17:42:27 +0000.548847][3c52] ClearAndroidMediaCodecObjects


leave. expire time = 1 ms

[156:048] [2022-07-17 17:42:27 +0000.548886][3c52] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[156:048] [2022-07-17 17:42:27 +0000.548920][3c52] SetAndroidMediaCodecObjects


time:575612424 enter.

[156:048] [2022-07-17 17:42:27 +0000.548954][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[156:048] [2022-07-17 17:42:27 +0000.548990][3c52] ClearAndroidMediaCodecObjects
time:575612424 enter.

[156:048] [2022-07-17 17:42:27 +0000.549026][3c52] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[156:048] [2022-07-17 17:42:27 +0000.549059][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[156:048] [2022-07-17 17:42:27 +0000.549090][3c52] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[156:048] [2022-07-17 17:42:27 +0000.549123][3c52] Dispose::unregister webrtc voice


engine
[156:048] [2022-07-17 17:42:27 +0000.549157][3c52] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[156:048] [2022-07-17 17:42:27 +0000.549195][3c52] SystemUtil UnInit done


[521:636] [2022-07-17 17:48:33 +0000.136904][3c52] Register JVM for xplatform util
[521:651] [2022-07-17 17:48:33 +0000.152362][3c52] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
17 17:48:33 +0000
[521:651] [2022-07-17 17:48:33 +0000.152403][3c52] set AppID=50011 old AppID=-1
[521:651] [2022-07-17 17:48:33 +0000.152416][3c52] Init the android object with
jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c4220cda8

[521:651] [2022-07-17 17:48:33 +0000.152429][3c52] SetAndroidMediaCodecObjects


time:575978027 enter.

[521:651] [2022-07-17 17:48:33 +0000.152446][3c52] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[521:651] [2022-07-17 17:48:33 +0000.152457][3c52] SetAndroidMediaCodecObjects


time:575978027 enter.

[521:651] [2022-07-17 17:48:33 +0000.152468][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d740e4540
[521:651] [2022-07-17 17:48:33 +0000.152481][3c52] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d740e4540 address:0x7bc1b52760
[521:651] [2022-07-17 17:48:33 +0000.152496][3c52] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d740e4540
address:0x7bc1b52760
[521:651] [2022-07-17 17:48:33 +0000.152507][3c52] SetAndroidMediaCodecObjects
leave. expire time = 0 ms
[521:651] [2022-07-17 17:48:33 +0000.152517][3c52] Set the android objects with
jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c4220cda8

[521:651] [2022-07-17 17:48:33 +0000.152529][3c52] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7cc8e47700
[521:651] [2022-07-17 17:48:33 +0000.152541][3c52] SystemUtil Init done
[521:652] [2022-07-17 17:48:33 +0000.152789][3c52]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[521:652] [2022-07-17 17:48:33 +0000.152855][3c52] MediaFilterCamera
[521:652] [2022-07-17 17:48:33 +0000.152874][3c52] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[521:652] [2022-07-17 17:48:33 +0000.152965][3c52] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[521:652] [2022-07-17 17:48:33 +0000.152985][3c52] Recording session using default
bitrate support by app:31457280
[521:652] [2022-07-17 17:48:33 +0000.153562][29b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cb899e440
[521:652] [2022-07-17 17:48:33 +0000.153618][29b] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[521:653] [2022-07-17 17:48:33 +0000.153769][3c52] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[521:656] [2022-07-17 17:48:33 +0000.157257][3c52] Error(ini.cc:191): Open the file
failed. error:2
[521:656] [2022-07-17 17:48:33 +0000.157305][3c52]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[521:656] [2022-07-17 17:48:33 +0000.157325][3c52] The device model: m2012k11ag
usingSoftwareAEC value: 0
[521:662] [2022-07-17 17:48:33 +0000.163359][3c52] Error(ini.cc:191): Open the file
failed. error:2
[521:662] [2022-07-17 17:48:33 +0000.163514][3c52]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[521:662] [2022-07-17 17:48:33 +0000.163574][3c52] The device model: m2012k11ag
usingHardwareAEC value: 0
[521:662] [2022-07-17 17:48:33 +0000.163614][3c52] The machine device: m2012k11ag
usingHardwareAEC value: 0
[521:662] [2022-07-17 17:48:33 +0000.163652][3c52] Using Default AEC type: software
AEC
[521:665] [2022-07-17 17:48:33 +0000.165835][3c52] The device model: m2012k11ag
enum value: 0
[521:666] [2022-07-17 17:48:33 +0000.167030][3c52] GetMachineModel is M2012K11AG
[521:666] [2022-07-17 17:48:33 +0000.167133][3c52] GetMachineInfo: M2012K11AG
[521:666] [2022-07-17 17:48:33 +0000.167170][3c52] Construct BeautifyReader
begin...
[521:666] [2022-07-17 17:48:33 +0000.167207][3c52] dumpStickerRgba:0
dumpStickerYuv:0
[521:667] [2022-07-17 17:48:33 +0000.168367][3c52] Construct BeautifyReader done.
[521:675] [2022-07-17 17:48:33 +0000.176692][3c52] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[521:676] [2022-07-17 17:48:33 +0000.176839][3c52] AppDeviceManager telnet server
for statistics started......
[521:676] [2022-07-17 17:48:33 +0000.177018][2ad] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7be5cd71a0
[521:677] [2022-07-17 17:48:33 +0000.177994][3c52] CpuOverloadDetect time:575978053
enter.

[521:677] [2022-07-17 17:48:33 +0000.178081][3c52] CpuOverloadDetect leave. expire


time = 0 ms
[521:677] [2022-07-17 17:48:33 +0000.178511][3c52] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[521:677] [2022-07-17 17:48:33 +0000.178533][3c52] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[521:677] [2022-07-17 17:48:33 +0000.178692][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[521:678] [2022-07-17 17:48:33 +0000.179298][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[521:682] [2022-07-17 17:48:33 +0000.183533][3c52] CreatePlatformSpecificObjects:
[521:682] [2022-07-17 17:48:33 +0000.183601][3c52] audio device use opensle input
and opensl output
[521:682] [2022-07-17 17:48:33 +0000.183627][3c52] Create OpenSLES output module
with java VM support.

[521:682] [2022-07-17 17:48:33 +0000.183745][3c52] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[521:683] [2022-07-17 17:48:33 +0000.183963][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[521:683] [2022-07-17 17:48:33 +0000.184140][3c52] Create OpenSLES output module
with buffer num:1

[521:683] [2022-07-17 17:48:33 +0000.184247][3c52] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[521:683] [2022-07-17 17:48:33 +0000.184523][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[521:684] [2022-07-17 17:48:33 +0000.184921][3c52] Create OpenSLES input module
with java VM support.

[521:684] [2022-07-17 17:48:33 +0000.184957][3c52] Create OpenSLES input module


with buffer num:1

[521:684] [2022-07-17 17:48:33 +0000.184984][3c52] Error(trace.cc:40): Init the


output and input for audio device template.
[521:684] [2022-07-17 17:48:33 +0000.184999][3c52] Init the output device.

[521:684] [2022-07-17 17:48:33 +0000.185013][3c52] Init the opensl input.


[521:684] [2022-07-17 17:48:33 +0000.185030][3c52] AppDeviceManager get setting
samplerate: 0
[521:684] [2022-07-17 17:48:33 +0000.185279][3c52] The device model: m2012k11ag
enum value: 0
[521:684] [2022-07-17 17:48:33 +0000.185731][3c52] The device model: m2012k11ag
enum value: 0
[521:684] [2022-07-17 17:48:33 +0000.185755][3c52] Set the sample rate to be:48000

[521:685] [2022-07-17 17:48:33 +0000.185772][3c52] Enable the recording stereo:0


[521:685] [2022-07-17 17:48:33 +0000.185789][3c52] Set the playout as stereo:1
[521:685] [2022-07-17 17:48:33 +0000.185804][3c52] Init the microphone.
[521:685] [2022-07-17 17:48:33 +0000.185996][2af] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cb887f100
[521:686] [2022-07-17 17:48:33 +0000.187010][3c52] Update the recording sample rate
to be: 48000
[521:686] [2022-07-17 17:48:33 +0000.187049][3c52] Init the speaker.
[521:686] [2022-07-17 17:48:33 +0000.187069][3c52] Low latency buffer size:144 low
sample rate:48000
[521:686] [2022-07-17 17:48:33 +0000.187271][3c52] Using 1 x 10ms for an audio
frame.

[521:689] [2022-07-17 17:48:33 +0000.190340][3c52] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[521:689] [2022-07-17 17:48:33 +0000.190411][3c52] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[521:689] [2022-07-17 17:48:33 +0000.190551][3c52] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[521:694] [2022-07-17 17:48:33 +0000.195710][3c52] The device model:m2012k11ag

[521:694] [2022-07-17 17:48:33 +0000.195750][3c52] speaker output factor:100


defaultFactor: 100

[521:694] [2022-07-17 17:48:33 +0000.195761][3c52] headset output factor:100


defaultFactor: 100

[521:695] [2022-07-17 17:48:33 +0000.195956][3c52] AppDeviceManagerStart finished.


[521:695] [2022-07-17 17:48:33 +0000.195971][3c52] AppDeviceManagerStartMic::mic
status is off
[521:695] [2022-07-17 17:48:33 +0000.196038][3c52] AppDeviceManagerStartMic update
aec type: 2

[521:695] [2022-07-17 17:48:33 +0000.196048][3c52] AppDeviceManagerStartMic update


voiceChangeMode: 4

[521:695] [2022-07-17 17:48:33 +0000.196058][3c52]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[521:695] [2022-07-17 17:48:33 +0000.196068][3c52]
AudioDeviceDataHandler::StartMicProcess

[521:695] [2022-07-17 17:48:33 +0000.196136][3c52] Try to start webrtc recording


device.

[521:695] [2022-07-17 17:48:33 +0000.196150][3c52] StartRecording. threadID:15442

[521:695] [2022-07-17 17:48:33 +0000.196178][3c52] default mode: Set the recording


mode to voice communication to enable HW AEC .

[521:695] [2022-07-17 17:48:33 +0000.196188][3c52] Set the recording mode before


getSetting: 4
[521:695] [2022-07-17 17:48:33 +0000.196201][3c52] Set the recording mode after
getSetting: 1
[521:701] [2022-07-17 17:48:33 +0000.202715][2d1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[521:773] [2022-07-17 17:48:33 +0000.274367][3c52] StartRecording finished.

[521:773] [2022-07-17 17:48:33 +0000.274444][3c52] audio: start the audio mic


checker timer.

[521:774] [2022-07-17 17:48:33 +0000.274774][3c52] machine model :poco


[521:774] [2022-07-17 17:48:33 +0000.274813][3c52] Support this machine model :poco
[521:774] [2022-07-17 17:48:33 +0000.274829][3c52] global inited! current sdk
version: 07-20-936c45f
[522:100] [2022-07-17 17:48:33 +0000.601341][6c37]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[522:100] [2022-07-17 17:48:33 +0000.601736][29c] MediaFilterCamera, recording file
context:0x7cb89ac400 input texture:6
[522:101] [2022-07-17 17:48:33 +0000.601862][29c] GLESContext:
[522:101] [2022-07-17 17:48:33 +0000.601932][29c] The result of eglGetDisplay is:
0xb400007cc8e44c80
[522:102] [2022-07-17 17:48:33 +0000.603102][29c] The result of creation:
0x7bb54a8900
[522:102] [2022-07-17 17:48:33 +0000.603208][29c] The result of
eglCreatePbufferSurface is: 0x7bb54a8a00
[522:102] [2022-07-17 17:48:33 +0000.603584][6c37]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7cb89ac400 input_texture: 6
[522:367] [2022-07-17 17:48:33 +0000.868443][2d1] Run AGC when audioType = 0
[522:367] [2022-07-17 17:48:33 +0000.868526][2d1]
AudioDeviceDataHandler::MixAndSendOutFrame
[522:792] [2022-07-17 17:48:34 +0000.293218][3c52]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[522:792] [2022-07-17 17:48:34 +0000.293462][3c52] ~MediaFilterCamera
time:575979168 enter.

[522:792] [2022-07-17 17:48:34 +0000.293509][3c52] StopPullFrameAndWriteMp4


time:575979168 enter.

[522:793] [2022-07-17 17:48:34 +0000.294232][29b] stop recording


[522:793] [2022-07-17 17:48:34 +0000.294345][29b] we have stopped recording before
[522:793] [2022-07-17 17:48:34 +0000.294561][3c52] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[522:794] [2022-07-17 17:48:34 +0000.295714][3c52] DestroyPipelineAndFilters


time:575979170 enter.

[522:795] [2022-07-17 17:48:34 +0000.295831][3c52] DestroyPipelineAndFilters


leave. expire time = 1 ms

[522:795] [2022-07-17 17:48:34 +0000.297618][3c52] AppDeviceManagerStopMic

[522:797] [2022-07-17 17:48:34 +0000.297851][3c52] AppDeviceManagerStopMic::mic


status is on
[522:797] [2022-07-17 17:48:34 +0000.297897][3c52] Try to stop webrtc device.

[522:797] [2022-07-17 17:48:34 +0000.297937][3c52] Set record state to


stopped.threadID:15442

[522:856] [2022-07-17 17:48:34 +0000.356904][3c52] Try to destory the


recorder.threadID:15442

[522:941] [2022-07-17 17:48:34 +0000.442202][2d1] haveEnoughProcessedData


internalAudioStream.length: 0
[523:096] [2022-07-17 17:48:34 +0000.596864][3c52] DestroyAudioRecorder:
[523:096] [2022-07-17 17:48:34 +0000.596996][3c52] Cleanup the buffer queue in the
recorder.
[523:096] [2022-07-17 17:48:34 +0000.597127][3c52] Destroy the recorder.

[523:098] [2022-07-17 17:48:34 +0000.599407][3c52] StopRecording finished.

[523:098] [2022-07-17 17:48:34 +0000.599511][3c52] The stop recording success.

[523:098] [2022-07-17 17:48:34 +0000.599585][3c52]


AudioDeviceDataHandler::StopMicProcess

[523:100] [2022-07-17 17:48:34 +0000.601700][3c52] AppDeviceManager stop.

[523:101] [2022-07-17 17:48:34 +0000.601850][3c52] Rlease the webrtc device object.

[523:102] [2022-07-17 17:48:34 +0000.602839][3c52] OpenSlesInput destruct.

[523:102] [2022-07-17 17:48:34 +0000.602993][3c52] OpenSlesOutput destruct.


[523:102] [2022-07-17 17:48:34 +0000.603679][3c52] EventDispatchServerScope
destruct
[523:103] [2022-07-17 17:48:34 +0000.603769][3c52]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[523:103] [2022-07-17 17:48:34 +0000.603858][3c52] ~AudioDeviceDataHandler

[523:104] [2022-07-17 17:48:34 +0000.605298][3c52] AppDeviceManagerDestruct.

[523:104] [2022-07-17 17:48:34 +0000.605383][3c52] ~AppDeviceManager:


[523:104] [2022-07-17 17:48:34 +0000.605565][3c52] ~CpuOverloadDetect
time:575979480 enter.

[523:105] [2022-07-17 17:48:34 +0000.605954][3c52] ~CpuOverloadDetect leave.


expire time = 1 ms

[523:106] [2022-07-17 17:48:34 +0000.607126][3c52] Destruct BeautifyReader begin...


[523:106] [2022-07-17 17:48:34 +0000.607201][3c52] Destruct BeautifyReader done.
[523:106] [2022-07-17 17:48:34 +0000.607272][3c52] ~MediaFilterCamera leave.
expire time = 314 ms

[523:106] [2022-07-17 17:48:34 +0000.607460][3c52] ~GLESContext:


[523:109] [2022-07-17 17:48:34 +0000.609950][3c52] GLESContext destruct finish.
[523:109] [2022-07-17 17:48:34 +0000.610054][3c52] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[523:109] [2022-07-17 17:48:34 +0000.610539][3c52] global uninited!
[523:110] [2022-07-17 17:48:34 +0000.610948][3c52] clear AppID 50011
[523:110] [2022-07-17 17:48:34 +0000.611007][3c52] UnRegister JVM for Xplatform
util
[523:110] [2022-07-17 17:48:34 +0000.611057][3c52] Dispose::unregister webrtc video
engine
[523:110] [2022-07-17 17:48:34 +0000.611103][3c52] Init the android object with
jvm:0x0 env:0x0 context:0x0

[523:110] [2022-07-17 17:48:34 +0000.611158][3c52] SetAndroidMediaCodecObjects


time:575979486 enter.

[523:110] [2022-07-17 17:48:34 +0000.611206][3c52] ClearAndroidMediaCodecObjects


time:575979486 enter.

[523:110] [2022-07-17 17:48:34 +0000.611260][3c52] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[523:110] [2022-07-17 17:48:34 +0000.611309][3c52] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[523:110] [2022-07-17 17:48:34 +0000.611362][3c52] SetAndroidMediaCodecObjects


time:575979486 enter.

[523:110] [2022-07-17 17:48:34 +0000.611413][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[523:110] [2022-07-17 17:48:34 +0000.611470][3c52] ClearAndroidMediaCodecObjects
time:575979486 enter.

[523:110] [2022-07-17 17:48:34 +0000.611550][3c52] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[523:110] [2022-07-17 17:48:34 +0000.611598][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[523:110] [2022-07-17 17:48:34 +0000.611643][3c52] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[523:110] [2022-07-17 17:48:34 +0000.611690][3c52] Dispose::unregister webrtc voice


engine
[523:110] [2022-07-17 17:48:34 +0000.611740][3c52] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[523:111] [2022-07-17 17:48:34 +0000.611797][3c52] SystemUtil UnInit done


[547:489] [2022-07-17 17:48:58 +0000.990072][3c52] Register JVM for xplatform util
[547:503] [2022-07-17 17:48:59 +0000.4164][3c52] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
17 17:48:59 +0000
[547:503] [2022-07-17 17:48:59 +0000.4216][3c52] set AppID=50011 old AppID=-1
[547:503] [2022-07-17 17:48:59 +0000.4234][3c52] Init the android object with
jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c4220cda8

[547:503] [2022-07-17 17:48:59 +0000.4251][3c52] SetAndroidMediaCodecObjects


time:576003879 enter.

[547:503] [2022-07-17 17:48:59 +0000.4285][3c52] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[547:503] [2022-07-17 17:48:59 +0000.4301][3c52] SetAndroidMediaCodecObjects


time:576003879 enter.

[547:503] [2022-07-17 17:48:59 +0000.4318][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d740e4540
[547:503] [2022-07-17 17:48:59 +0000.4333][3c52] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d740e4540 address:0x7bc1b52760
[547:503] [2022-07-17 17:48:59 +0000.4352][3c52] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d740e4540
address:0x7bc1b52760
[547:503] [2022-07-17 17:48:59 +0000.4368][3c52] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[547:503] [2022-07-17 17:48:59 +0000.4385][3c52] Set the android objects with


jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c4220cda8

[547:503] [2022-07-17 17:48:59 +0000.4403][3c52] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7cc8e47700
[547:503] [2022-07-17 17:48:59 +0000.4422][3c52] SystemUtil Init done
[547:503] [2022-07-17 17:48:59 +0000.4673][3c52]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[547:503] [2022-07-17 17:48:59 +0000.4753][3c52] MediaFilterCamera
[547:504] [2022-07-17 17:48:59 +0000.4835][3c52] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[547:504] [2022-07-17 17:48:59 +0000.4928][3c52] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[547:504] [2022-07-17 17:48:59 +0000.4955][3c52] Recording session using default
bitrate support by app:31457280
[547:504] [2022-07-17 17:48:59 +0000.5026][5ab] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cb899e440
[547:504] [2022-07-17 17:48:59 +0000.5139][5ab] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[547:504] [2022-07-17 17:48:59 +0000.5248][3c52] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[547:507] [2022-07-17 17:48:59 +0000.7960][3c52] Error(ini.cc:191): Open the file
failed. error:2
[547:507] [2022-07-17 17:48:59 +0000.8011][3c52]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[547:507] [2022-07-17 17:48:59 +0000.8032][3c52] The device model: m2012k11ag
usingSoftwareAEC value: 0
[547:511] [2022-07-17 17:48:59 +0000.11880][3c52] Error(ini.cc:191): Open the file
failed. error:2
[547:511] [2022-07-17 17:48:59 +0000.11954][3c52]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[547:511] [2022-07-17 17:48:59 +0000.11979][3c52] The device model: m2012k11ag
usingHardwareAEC value: 0
[547:511] [2022-07-17 17:48:59 +0000.11996][3c52] The machine device: m2012k11ag
usingHardwareAEC value: 0
[547:511] [2022-07-17 17:48:59 +0000.12012][3c52] Using Default AEC type: software
AEC
[547:511] [2022-07-17 17:48:59 +0000.12467][3c52] The device model: m2012k11ag enum
value: 0
[547:512] [2022-07-17 17:48:59 +0000.12863][3c52] GetMachineModel is M2012K11AG
[547:512] [2022-07-17 17:48:59 +0000.12894][3c52] GetMachineInfo: M2012K11AG
[547:512] [2022-07-17 17:48:59 +0000.12911][3c52] Construct BeautifyReader begin...
[547:512] [2022-07-17 17:48:59 +0000.12926][3c52] dumpStickerRgba:0
dumpStickerYuv:0
[547:512] [2022-07-17 17:48:59 +0000.12944][3c52] Construct BeautifyReader done.
[547:527] [2022-07-17 17:48:59 +0000.27987][3c52] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[547:527] [2022-07-17 17:48:59 +0000.28047][3c52] AppDeviceManager telnet server
for statistics started......
[547:527] [2022-07-17 17:48:59 +0000.28199][5af] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7be5cd78a0
[547:531] [2022-07-17 17:48:59 +0000.32577][3c52] CpuOverloadDetect time:576003907
enter.

[547:531] [2022-07-17 17:48:59 +0000.32716][3c52] CpuOverloadDetect leave. expire


time = 0 ms

[547:540] [2022-07-17 17:48:59 +0000.41484][3c52] AppDeviceMana GetOpenslVoiceMode


before get setting: 1
[547:540] [2022-07-17 17:48:59 +0000.41527][3c52] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[547:540] [2022-07-17 17:48:59 +0000.41764][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[547:541] [2022-07-17 17:48:59 +0000.42518][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[547:542] [2022-07-17 17:48:59 +0000.42777][3c52] CreatePlatformSpecificObjects:
[547:542] [2022-07-17 17:48:59 +0000.42808][3c52] audio device use opensle input
and opensl output
[547:542] [2022-07-17 17:48:59 +0000.42829][3c52] Create OpenSLES output module
with java VM support.

[547:542] [2022-07-17 17:48:59 +0000.42916][3c52] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[547:542] [2022-07-17 17:48:59 +0000.43060][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[547:542] [2022-07-17 17:48:59 +0000.43228][3c52] Create OpenSLES output module
with buffer num:1

[547:543] [2022-07-17 17:48:59 +0000.44270][3c52] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[547:543] [2022-07-17 17:48:59 +0000.44412][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[547:543] [2022-07-17 17:48:59 +0000.44547][3c52] Create OpenSLES input module with
java VM support.

[547:543] [2022-07-17 17:48:59 +0000.44576][3c52] Create OpenSLES input module with


buffer num:1

[547:543] [2022-07-17 17:48:59 +0000.44575][5b1] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7cb887ef40
[547:543] [2022-07-17 17:48:59 +0000.44607][3c52] Error(trace.cc:40): Init the
output and input for audio device template.
[547:544] [2022-07-17 17:48:59 +0000.45109][3c52] Init the output device.

[547:544] [2022-07-17 17:48:59 +0000.45133][3c52] Init the opensl input.


[547:544] [2022-07-17 17:48:59 +0000.45163][3c52] AppDeviceManager get setting
samplerate: 0
[547:544] [2022-07-17 17:48:59 +0000.45415][3c52] The device model: m2012k11ag enum
value: 0
[547:545] [2022-07-17 17:48:59 +0000.45773][3c52] The device model: m2012k11ag enum
value: 0
[547:545] [2022-07-17 17:48:59 +0000.45795][3c52] Set the sample rate to be:48000

[547:545] [2022-07-17 17:48:59 +0000.45813][3c52] Enable the recording stereo:0


[547:545] [2022-07-17 17:48:59 +0000.45828][3c52] Set the playout as stereo:1
[547:545] [2022-07-17 17:48:59 +0000.45843][3c52] Init the microphone.
[547:546] [2022-07-17 17:48:59 +0000.46914][3c52] Update the recording sample rate
to be: 48000
[547:546] [2022-07-17 17:48:59 +0000.46955][3c52] Init the speaker.
[547:546] [2022-07-17 17:48:59 +0000.46986][3c52] Low latency buffer size:144 low
sample rate:48000
[547:546] [2022-07-17 17:48:59 +0000.47192][3c52] Using 1 x 10ms for an audio
frame.

[547:550] [2022-07-17 17:48:59 +0000.50900][3c52] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[547:550] [2022-07-17 17:48:59 +0000.50979][3c52] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[547:550] [2022-07-17 17:48:59 +0000.51013][3c52] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[547:556] [2022-07-17 17:48:59 +0000.57704][3c52] The device model:m2012k11ag

[547:557] [2022-07-17 17:48:59 +0000.57777][3c52] speaker output factor:100


defaultFactor: 100

[547:557] [2022-07-17 17:48:59 +0000.57794][3c52] headset output factor:100


defaultFactor: 100

[547:557] [2022-07-17 17:48:59 +0000.58050][3c52] AppDeviceManagerStart finished.


[547:557] [2022-07-17 17:48:59 +0000.58082][3c52] AppDeviceManagerStartMic::mic
status is off
[547:557] [2022-07-17 17:48:59 +0000.58159][3c52] AppDeviceManagerStartMic update
aec type: 2

[547:557] [2022-07-17 17:48:59 +0000.58177][3c52] AppDeviceManagerStartMic update


voiceChangeMode: 4

[547:557] [2022-07-17 17:48:59 +0000.58193][3c52]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[547:557] [2022-07-17 17:48:59 +0000.58207][3c52]
AudioDeviceDataHandler::StartMicProcess

[547:557] [2022-07-17 17:48:59 +0000.58448][3c52] Try to start webrtc recording


device.

[547:557] [2022-07-17 17:48:59 +0000.58481][3c52] StartRecording. threadID:15442

[547:557] [2022-07-17 17:48:59 +0000.58516][3c52] default mode: Set the recording


mode to voice communication to enable HW AEC .

[547:557] [2022-07-17 17:48:59 +0000.58533][3c52] Set the recording mode before


getSetting: 4
[547:557] [2022-07-17 17:48:59 +0000.58554][3c52] Set the recording mode after
getSetting: 1
[547:557] [2022-07-17 17:48:59 +0000.58700][5b3] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[547:652] [2022-07-17 17:48:59 +0000.152903][3c52] StartRecording finished.

[547:652] [2022-07-17 17:48:59 +0000.153034][3c52] audio: start the audio mic


checker timer.

[547:653] [2022-07-17 17:48:59 +0000.154126][3c52] machine model :poco


[547:653] [2022-07-17 17:48:59 +0000.154161][3c52] Support this machine model :poco
[547:653] [2022-07-17 17:48:59 +0000.154179][3c52] global inited! current sdk
version: 07-20-936c45f
[547:880] [2022-07-17 17:48:59 +0000.380805][6c37]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[547:880] [2022-07-17 17:48:59 +0000.381248][5ac] MediaFilterCamera, recording file
context:0x7cb89ac400 input texture:8
[547:880] [2022-07-17 17:48:59 +0000.381296][5ac] GLESContext:
[547:880] [2022-07-17 17:48:59 +0000.381327][5ac] The result of eglGetDisplay is:
0xb400007cc8e44c80
[547:881] [2022-07-17 17:48:59 +0000.381918][5ac] The result of creation:
0x7bb52b5780
[547:881] [2022-07-17 17:48:59 +0000.381987][5ac] The result of
eglCreatePbufferSurface is: 0x7bb52b5880
[547:882] [2022-07-17 17:48:59 +0000.382967][6c37]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7cb89ac400 input_texture: 8
[548:529] [2022-07-17 17:49:00 +0000.30107][3c52]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[548:529] [2022-07-17 17:49:00 +0000.30397][3c52] ~MediaFilterCamera time:576004905
enter.

[548:529] [2022-07-17 17:49:00 +0000.30463][3c52] StopPullFrameAndWriteMp4


time:576004905 enter.

[548:533] [2022-07-17 17:49:00 +0000.34712][5ab] stop recording


[548:534] [2022-07-17 17:49:00 +0000.35471][5ab] we have stopped recording before
[548:534] [2022-07-17 17:49:00 +0000.35667][3c52] StopPullFrameAndWriteMp4 leave.
expire time = 5 ms

[548:539] [2022-07-17 17:49:00 +0000.40193][3c52] DestroyPipelineAndFilters


time:576004915 enter.

[548:539] [2022-07-17 17:49:00 +0000.40380][3c52] DestroyPipelineAndFilters leave.


expire time = 0 ms

[548:539] [2022-07-17 17:49:00 +0000.40437][3c52] AppDeviceManagerStopMic


[548:539] [2022-07-17 17:49:00 +0000.40556][3c52] AppDeviceManagerStopMic::mic
status is on
[548:539] [2022-07-17 17:49:00 +0000.40610][3c52] Try to stop webrtc device.

[548:539] [2022-07-17 17:49:00 +0000.40658][3c52] Set record state to


stopped.threadID:15442

[548:595] [2022-07-17 17:49:00 +0000.96629][3c52] Try to destory the


recorder.threadID:15442

[548:836] [2022-07-17 17:49:00 +0000.336871][3c52] DestroyAudioRecorder:


[548:836] [2022-07-17 17:49:00 +0000.337153][3c52] Cleanup the buffer queue in the
recorder.
[548:836] [2022-07-17 17:49:00 +0000.337213][3c52] Destroy the recorder.

[548:837] [2022-07-17 17:49:00 +0000.338748][3c52] StopRecording finished.

[548:838] [2022-07-17 17:49:00 +0000.338893][3c52] The stop recording success.

[548:838] [2022-07-17 17:49:00 +0000.338934][3c52]


AudioDeviceDataHandler::StopMicProcess

[548:840] [2022-07-17 17:49:00 +0000.340822][3c52] AppDeviceManager stop.

[548:840] [2022-07-17 17:49:00 +0000.341080][3c52] Rlease the webrtc device object.

[548:840] [2022-07-17 17:49:00 +0000.341752][3c52] OpenSlesInput destruct.

[548:841] [2022-07-17 17:49:00 +0000.342037][3c52] OpenSlesOutput destruct.

[548:842] [2022-07-17 17:49:00 +0000.343258][3c52] EventDispatchServerScope


destruct
[548:842] [2022-07-17 17:49:00 +0000.343346][3c52]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[548:842] [2022-07-17 17:49:00 +0000.343473][3c52] ~AudioDeviceDataHandler

[548:843] [2022-07-17 17:49:00 +0000.344583][3c52] AppDeviceManagerDestruct.

[548:843] [2022-07-17 17:49:00 +0000.344671][3c52] ~AppDeviceManager:


[548:844] [2022-07-17 17:49:00 +0000.344943][3c52] ~CpuOverloadDetect
time:576005220 enter.

[548:844] [2022-07-17 17:49:00 +0000.345632][3c52] ~CpuOverloadDetect leave.


expire time = 0 ms

[548:846] [2022-07-17 17:49:00 +0000.347664][3c52] Destruct BeautifyReader begin...


[548:846] [2022-07-17 17:49:00 +0000.347758][3c52] Destruct BeautifyReader done.
[548:847] [2022-07-17 17:49:00 +0000.347815][3c52] ~MediaFilterCamera leave.
expire time = 318 ms

[548:847] [2022-07-17 17:49:00 +0000.348069][3c52] ~GLESContext:


[548:848] [2022-07-17 17:49:00 +0000.349038][3c52] GLESContext destruct finish.
[548:848] [2022-07-17 17:49:00 +0000.349107][3c52] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[548:849] [2022-07-17 17:49:00 +0000.349950][3c52] global uninited!
[548:849] [2022-07-17 17:49:00 +0000.350466][3c52] clear AppID 50011
[548:849] [2022-07-17 17:49:00 +0000.350534][3c52] UnRegister JVM for Xplatform
util
[548:849] [2022-07-17 17:49:00 +0000.350600][3c52] Dispose::unregister webrtc video
engine
[548:849] [2022-07-17 17:49:00 +0000.350649][3c52] Init the android object with
jvm:0x0 env:0x0 context:0x0

[548:849] [2022-07-17 17:49:00 +0000.350704][3c52] SetAndroidMediaCodecObjects


time:576005225 enter.

[548:850] [2022-07-17 17:49:00 +0000.350769][3c52] ClearAndroidMediaCodecObjects


time:576005225 enter.

[548:850] [2022-07-17 17:49:00 +0000.350840][3c52] ClearAndroidMediaCodecObjects


leave. expire time = 1 ms

[548:850] [2022-07-17 17:49:00 +0000.350879][3c52] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[548:850] [2022-07-17 17:49:00 +0000.350938][3c52] SetAndroidMediaCodecObjects


time:576005226 enter.

[548:850] [2022-07-17 17:49:00 +0000.350986][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[548:850] [2022-07-17 17:49:00 +0000.351035][3c52] ClearAndroidMediaCodecObjects
time:576005226 enter.

[548:850] [2022-07-17 17:49:00 +0000.351089][3c52] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[548:850] [2022-07-17 17:49:00 +0000.351125][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[548:850] [2022-07-17 17:49:00 +0000.351157][3c52] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[548:850] [2022-07-17 17:49:00 +0000.351191][3c52] Dispose::unregister webrtc voice


engine
[548:850] [2022-07-17 17:49:00 +0000.351222][3c52] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[548:850] [2022-07-17 17:49:00 +0000.351260][3c52] SystemUtil UnInit done


[913:534] [2022-07-17 17:55:05 +0000.35089][3c52] Register JVM for xplatform util
[913:556] [2022-07-17 17:55:05 +0000.56869][3c52] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
17 17:55:05 +0000
[913:556] [2022-07-17 17:55:05 +0000.56940][3c52] set AppID=50011 old AppID=-1
[913:556] [2022-07-17 17:55:05 +0000.56963][3c52] Init the android object with
jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c4220cda8

[913:556] [2022-07-17 17:55:05 +0000.56985][3c52] SetAndroidMediaCodecObjects


time:576369932 enter.

[913:556] [2022-07-17 17:55:05 +0000.57009][3c52] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[913:556] [2022-07-17 17:55:05 +0000.57027][3c52] SetAndroidMediaCodecObjects


time:576369932 enter.

[913:556] [2022-07-17 17:55:05 +0000.57050][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d740e4540
[913:556] [2022-07-17 17:55:05 +0000.57069][3c52] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d740e4540 address:0x7bc1b52760
[913:556] [2022-07-17 17:55:05 +0000.57085][3c52] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d740e4540
address:0x7bc1b52760
[913:556] [2022-07-17 17:55:05 +0000.57102][3c52] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[913:556] [2022-07-17 17:55:05 +0000.57118][3c52] Set the android objects with


jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c4220cda8

[913:556] [2022-07-17 17:55:05 +0000.57135][3c52] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7cc8e47700
[913:557] [2022-07-17 17:55:05 +0000.57947][3c52] SystemUtil Init done
[913:557] [2022-07-17 17:55:05 +0000.58260][3c52]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[913:560] [2022-07-17 17:55:05 +0000.61134][3c52] MediaFilterCamera
[913:560] [2022-07-17 17:55:05 +0000.61203][3c52] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[913:560] [2022-07-17 17:55:05 +0000.61404][3c52] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[913:560] [2022-07-17 17:55:05 +0000.61446][3c52] Recording session using default
bitrate support by app:31457280
[913:560] [2022-07-17 17:55:05 +0000.61651][1d5d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cb899e440
[913:560] [2022-07-17 17:55:05 +0000.61756][1d5d] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[913:562] [2022-07-17 17:55:05 +0000.63272][3c52] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[913:563] [2022-07-17 17:55:05 +0000.64126][3c52] Error(ini.cc:191): Open the file
failed. error:2
[913:563] [2022-07-17 17:55:05 +0000.64199][3c52]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[913:563] [2022-07-17 17:55:05 +0000.64220][3c52] The device model: m2012k11ag
usingSoftwareAEC value: 0
[913:568] [2022-07-17 17:55:05 +0000.69173][3c52] Error(ini.cc:191): Open the file
failed. error:2
[913:568] [2022-07-17 17:55:05 +0000.69254][3c52]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[913:568] [2022-07-17 17:55:05 +0000.69286][3c52] The device model: m2012k11ag
usingHardwareAEC value: 0
[913:568] [2022-07-17 17:55:05 +0000.69305][3c52] The machine device: m2012k11ag
usingHardwareAEC value: 0
[913:568] [2022-07-17 17:55:05 +0000.69322][3c52] Using Default AEC type: software
AEC
[913:570] [2022-07-17 17:55:05 +0000.70772][3c52] The device model: m2012k11ag enum
value: 0
[913:570] [2022-07-17 17:55:05 +0000.71518][3c52] GetMachineModel is M2012K11AG
[913:571] [2022-07-17 17:55:05 +0000.72239][3c52] GetMachineInfo: M2012K11AG
[913:571] [2022-07-17 17:55:05 +0000.72272][3c52] Construct BeautifyReader begin...
[913:571] [2022-07-17 17:55:05 +0000.72298][3c52] dumpStickerRgba:0
dumpStickerYuv:0
[913:571] [2022-07-17 17:55:05 +0000.72317][3c52] Construct BeautifyReader done.
[913:576] [2022-07-17 17:55:05 +0000.77694][3c52] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[913:576] [2022-07-17 17:55:05 +0000.77718][1d61] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7be5cd7fa0
[913:577] [2022-07-17 17:55:05 +0000.77779][3c52] AppDeviceManager telnet server
for statistics started......
[913:577] [2022-07-17 17:55:05 +0000.78116][3c52] CpuOverloadDetect time:576369953
enter.

[913:577] [2022-07-17 17:55:05 +0000.78192][3c52] CpuOverloadDetect leave. expire


time = 0 ms

[913:577] [2022-07-17 17:55:05 +0000.78212][1d62] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7cb887ef40
[913:577] [2022-07-17 17:55:05 +0000.78619][3c52] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[913:577] [2022-07-17 17:55:05 +0000.78650][3c52] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[913:578] [2022-07-17 17:55:05 +0000.78802][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[913:578] [2022-07-17 17:55:05 +0000.79037][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[913:578] [2022-07-17 17:55:05 +0000.79213][3c52] CreatePlatformSpecificObjects:
[913:578] [2022-07-17 17:55:05 +0000.79250][3c52] audio device use opensle input
and opensl output
[913:578] [2022-07-17 17:55:05 +0000.79272][3c52] Create OpenSLES output module
with java VM support.

[913:578] [2022-07-17 17:55:05 +0000.79362][3c52] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[913:578] [2022-07-17 17:55:05 +0000.79537][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[913:578] [2022-07-17 17:55:05 +0000.79720][3c52] Create OpenSLES output module
with buffer num:1

[913:579] [2022-07-17 17:55:05 +0000.79817][3c52] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[913:579] [2022-07-17 17:55:05 +0000.79993][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[913:579] [2022-07-17 17:55:05 +0000.80131][3c52] Create OpenSLES input module with
java VM support.

[913:579] [2022-07-17 17:55:05 +0000.80169][3c52] Create OpenSLES input module with


buffer num:1

[913:579] [2022-07-17 17:55:05 +0000.80220][3c52] Error(trace.cc:40): Init the


output and input for audio device template.
[913:579] [2022-07-17 17:55:05 +0000.80259][3c52] Init the output device.

[913:579] [2022-07-17 17:55:05 +0000.80275][3c52] Init the opensl input.


[913:579] [2022-07-17 17:55:05 +0000.80312][3c52] AppDeviceManager get setting
samplerate: 0
[913:579] [2022-07-17 17:55:05 +0000.80533][3c52] The device model: m2012k11ag enum
value: 0
[913:580] [2022-07-17 17:55:05 +0000.80980][3c52] The device model: m2012k11ag enum
value: 0
[913:580] [2022-07-17 17:55:05 +0000.81013][3c52] Set the sample rate to be:48000

[913:580] [2022-07-17 17:55:05 +0000.81031][3c52] Enable the recording stereo:0


[913:580] [2022-07-17 17:55:05 +0000.81048][3c52] Set the playout as stereo:1
[913:580] [2022-07-17 17:55:05 +0000.81151][3c52] Init the microphone.
[913:580] [2022-07-17 17:55:05 +0000.81547][3c52] Update the recording sample rate
to be: 48000
[913:580] [2022-07-17 17:55:05 +0000.81593][3c52] Init the speaker.
[913:580] [2022-07-17 17:55:05 +0000.81619][3c52] Low latency buffer size:144 low
sample rate:48000
[913:581] [2022-07-17 17:55:05 +0000.81812][3c52] Using 1 x 10ms for an audio
frame.

[913:583] [2022-07-17 17:55:05 +0000.84801][3c52] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[913:584] [2022-07-17 17:55:05 +0000.84900][3c52] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[913:584] [2022-07-17 17:55:05 +0000.84951][3c52] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[913:589] [2022-07-17 17:55:05 +0000.90330][3c52] The device model:m2012k11ag

[913:589] [2022-07-17 17:55:05 +0000.90410][3c52] speaker output factor:100


defaultFactor: 100

[913:589] [2022-07-17 17:55:05 +0000.90431][3c52] headset output factor:100


defaultFactor: 100

[913:589] [2022-07-17 17:55:05 +0000.90696][3c52] AppDeviceManagerStart finished.


[913:589] [2022-07-17 17:55:05 +0000.90759][3c52] AppDeviceManagerStartMic::mic
status is off
[913:590] [2022-07-17 17:55:05 +0000.90834][3c52] AppDeviceManagerStartMic update
aec type: 2

[913:590] [2022-07-17 17:55:05 +0000.90863][3c52] AppDeviceManagerStartMic update


voiceChangeMode: 4

[913:590] [2022-07-17 17:55:05 +0000.90879][3c52]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[913:590] [2022-07-17 17:55:05 +0000.90895][3c52]
AudioDeviceDataHandler::StartMicProcess

[913:590] [2022-07-17 17:55:05 +0000.91001][3c52] Try to start webrtc recording


device.

[913:590] [2022-07-17 17:55:05 +0000.91038][3c52] StartRecording. threadID:15442

[913:590] [2022-07-17 17:55:05 +0000.91080][3c52] default mode: Set the recording


mode to voice communication to enable HW AEC .

[913:590] [2022-07-17 17:55:05 +0000.91045][1d63] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[913:590] [2022-07-17 17:55:05 +0000.91122][3c52] Set the recording mode before
getSetting: 4
[913:590] [2022-07-17 17:55:05 +0000.91193][3c52] Set the recording mode after
getSetting: 1
[913:631] [2022-07-17 17:55:05 +0000.132198][3c52] StartRecording finished.

[913:631] [2022-07-17 17:55:05 +0000.132262][3c52] audio: start the audio mic


checker timer.

[913:632] [2022-07-17 17:55:05 +0000.132821][3c52] machine model :poco


[913:632] [2022-07-17 17:55:05 +0000.132858][3c52] Support this machine model :poco
[913:632] [2022-07-17 17:55:05 +0000.132880][3c52] global inited! current sdk
version: 07-20-936c45f
[913:835] [2022-07-17 17:55:05 +0000.336280][6c37]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[913:835] [2022-07-17 17:55:05 +0000.336504][1d5f] MediaFilterCamera, recording
file context:0x7cb89ac400 input texture:10
[913:835] [2022-07-17 17:55:05 +0000.336546][1d5f] GLESContext:
[913:835] [2022-07-17 17:55:05 +0000.336578][1d5f] The result of eglGetDisplay is:
0xb400007cc8e44c80
[913:836] [2022-07-17 17:55:05 +0000.337219][1d5f] The result of creation:
0x7bb52b5a00
[913:836] [2022-07-17 17:55:05 +0000.337298][1d5f] The result of
eglCreatePbufferSurface is: 0x7bb52b5b00
[913:837] [2022-07-17 17:55:05 +0000.338563][6c37]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7cb89ac400 input_texture: 10
[914:154] [2022-07-17 17:55:05 +0000.655156][1d63] haveEnoughProcessedData
internalAudioStream.length: 20
[914:475] [2022-07-17 17:55:05 +0000.976496][1d63] Run AGC when audioType = 0
[915:531] [2022-07-17 17:55:07 +0000.32697][3c52]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[915:532] [2022-07-17 17:55:07 +0000.32848][3c52] ~MediaFilterCamera time:576371908
enter.

[915:532] [2022-07-17 17:55:07 +0000.32875][3c52] StopPullFrameAndWriteMp4


time:576371908 enter.

[915:532] [2022-07-17 17:55:07 +0000.33182][1d5d] stop recording


[915:532] [2022-07-17 17:55:07 +0000.33213][1d5d] we have stopped recording before
[915:534] [2022-07-17 17:55:07 +0000.35352][3c52] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[915:538] [2022-07-17 17:55:07 +0000.38996][3c52] DestroyPipelineAndFilters


time:576371914 enter.

[915:538] [2022-07-17 17:55:07 +0000.39077][3c52] DestroyPipelineAndFilters leave.


expire time = 0 ms

[915:538] [2022-07-17 17:55:07 +0000.39098][3c52] AppDeviceManagerStopMic

[915:538] [2022-07-17 17:55:07 +0000.39159][3c52] AppDeviceManagerStopMic::mic


status is on
[915:538] [2022-07-17 17:55:07 +0000.39180][3c52] Try to stop webrtc device.

[915:538] [2022-07-17 17:55:07 +0000.39197][3c52] Set record state to


stopped.threadID:15442

[915:594] [2022-07-17 17:55:07 +0000.94813][3c52] Try to destory the


recorder.threadID:15442

[915:794] [2022-07-17 17:55:07 +0000.294949][3c52] DestroyAudioRecorder:


[915:794] [2022-07-17 17:55:07 +0000.295074][3c52] Cleanup the buffer queue in the
recorder.
[915:794] [2022-07-17 17:55:07 +0000.295103][3c52] Destroy the recorder.

[915:795] [2022-07-17 17:55:07 +0000.296302][3c52] StopRecording finished.

[915:795] [2022-07-17 17:55:07 +0000.296337][3c52] The stop recording success.

[915:795] [2022-07-17 17:55:07 +0000.296389][3c52]


AudioDeviceDataHandler::StopMicProcess

[915:797] [2022-07-17 17:55:07 +0000.298349][3c52] AppDeviceManager stop.

[915:797] [2022-07-17 17:55:07 +0000.298433][3c52] Rlease the webrtc device object.


[915:797] [2022-07-17 17:55:07 +0000.298622][3c52] OpenSlesInput destruct.

[915:797] [2022-07-17 17:55:07 +0000.298662][3c52] OpenSlesOutput destruct.

[915:798] [2022-07-17 17:55:07 +0000.299024][3c52] EventDispatchServerScope


destruct
[915:798] [2022-07-17 17:55:07 +0000.299056][3c52]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[915:798] [2022-07-17 17:55:07 +0000.299093][3c52] ~AudioDeviceDataHandler

[915:799] [2022-07-17 17:55:07 +0000.299810][3c52] AppDeviceManagerDestruct.

[915:799] [2022-07-17 17:55:07 +0000.299863][3c52] ~AppDeviceManager:


[915:799] [2022-07-17 17:55:07 +0000.299913][3c52] ~CpuOverloadDetect
time:576372175 enter.

[915:799] [2022-07-17 17:55:07 +0000.300223][3c52] ~CpuOverloadDetect leave.


expire time = 0 ms

[915:801] [2022-07-17 17:55:07 +0000.302266][3c52] Destruct BeautifyReader begin...


[915:801] [2022-07-17 17:55:07 +0000.302309][3c52] Destruct BeautifyReader done.
[915:801] [2022-07-17 17:55:07 +0000.302325][3c52] ~MediaFilterCamera leave.
expire time = 269 ms

[915:801] [2022-07-17 17:55:07 +0000.302389][3c52] ~GLESContext:


[915:802] [2022-07-17 17:55:07 +0000.303314][3c52] GLESContext destruct finish.
[915:802] [2022-07-17 17:55:07 +0000.303346][3c52] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[915:802] [2022-07-17 17:55:07 +0000.303523][3c52] global uninited!
[915:803] [2022-07-17 17:55:07 +0000.304741][3c52] clear AppID 50011
[915:804] [2022-07-17 17:55:07 +0000.304799][3c52] UnRegister JVM for Xplatform
util
[915:804] [2022-07-17 17:55:07 +0000.304856][3c52] Dispose::unregister webrtc video
engine
[915:804] [2022-07-17 17:55:07 +0000.304872][3c52] Init the android object with
jvm:0x0 env:0x0 context:0x0

[915:804] [2022-07-17 17:55:07 +0000.304886][3c52] SetAndroidMediaCodecObjects


time:576372180 enter.

[915:804] [2022-07-17 17:55:07 +0000.304913][3c52] ClearAndroidMediaCodecObjects


time:576372180 enter.

[915:804] [2022-07-17 17:55:07 +0000.304925][3c52] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[915:804] [2022-07-17 17:55:07 +0000.304950][3c52] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[915:804] [2022-07-17 17:55:07 +0000.304962][3c52] SetAndroidMediaCodecObjects


time:576372180 enter.

[915:804] [2022-07-17 17:55:07 +0000.304989][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[915:804] [2022-07-17 17:55:07 +0000.305000][3c52] ClearAndroidMediaCodecObjects
time:576372180 enter.

[915:804] [2022-07-17 17:55:07 +0000.305027][3c52] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[915:804] [2022-07-17 17:55:07 +0000.305037][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[915:804] [2022-07-17 17:55:07 +0000.305065][3c52] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[915:804] [2022-07-17 17:55:07 +0000.305075][3c52] Dispose::unregister webrtc voice


engine
[915:804] [2022-07-17 17:55:07 +0000.305103][3c52] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[915:804] [2022-07-17 17:55:07 +0000.305115][3c52] SystemUtil UnInit done


[5743:746] [2022-07-17 19:15:35 +0000.250477][3c52] Register JVM for xplatform util
[5743:769] [2022-07-17 19:15:35 +0000.269774][3c52] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
17 19:15:35 +0000
[5743:769] [2022-07-17 19:15:35 +0000.269842][3c52] set AppID=50011 old AppID=-1
[5743:769] [2022-07-17 19:15:35 +0000.269868][3c52] Init the android object with
jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c4220cda8

[5743:769] [2022-07-17 19:15:35 +0000.269935][3c52] SetAndroidMediaCodecObjects


time:581200145 enter.

[5743:769] [2022-07-17 19:15:35 +0000.269986][3c52] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[5743:769] [2022-07-17 19:15:35 +0000.270004][3c52] SetAndroidMediaCodecObjects


time:581200145 enter.

[5743:769] [2022-07-17 19:15:35 +0000.270017][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d740e4540
[5743:769] [2022-07-17 19:15:35 +0000.270040][3c52] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d740e4540 address:0x7bc1b52760
[5743:769] [2022-07-17 19:15:35 +0000.270078][3c52] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d740e4540
address:0x7bc1b52760
[5743:769] [2022-07-17 19:15:35 +0000.270092][3c52] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[5743:769] [2022-07-17 19:15:35 +0000.270127][3c52] Set the android objects with


jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c4220cda8

[5743:771] [2022-07-17 19:15:35 +0000.272264][3c52] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7cc8e47700
[5743:771] [2022-07-17 19:15:35 +0000.272306][3c52] SystemUtil Init done
[5743:773] [2022-07-17 19:15:35 +0000.274102][3c52]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[5743:775] [2022-07-17 19:15:35 +0000.276469][3c52] MediaFilterCamera
[5743:775] [2022-07-17 19:15:35 +0000.276523][3c52] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[5743:775] [2022-07-17 19:15:35 +0000.276641][3c52] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[5743:775] [2022-07-17 19:15:35 +0000.276668][3c52] Recording session using default
bitrate support by app:31457280
[5743:775] [2022-07-17 19:15:35 +0000.276693][2a88] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bec0e65c0
[5743:776] [2022-07-17 19:15:35 +0000.276948][2a88] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[5743:776] [2022-07-17 19:15:35 +0000.277029][3c52] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[5743:779] [2022-07-17 19:15:35 +0000.279919][3c52] Error(ini.cc:191): Open the
file failed. error:2
[5743:779] [2022-07-17 19:15:35 +0000.279947][3c52]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[5743:779] [2022-07-17 19:15:35 +0000.279984][3c52] The device model: m2012k11ag
usingSoftwareAEC value: 0
[5743:782] [2022-07-17 19:15:35 +0000.282896][3c52] Error(ini.cc:191): Open the
file failed. error:2
[5743:782] [2022-07-17 19:15:35 +0000.282990][3c52]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[5743:782] [2022-07-17 19:15:35 +0000.283018][3c52] The device model: m2012k11ag
usingHardwareAEC value: 0
[5743:782] [2022-07-17 19:15:35 +0000.283051][3c52] The machine device: m2012k11ag
usingHardwareAEC value: 0
[5743:782] [2022-07-17 19:15:35 +0000.283067][3c52] Using Default AEC type:
software AEC
[5743:783] [2022-07-17 19:15:35 +0000.284095][3c52] The device model: m2012k11ag
enum value: 0
[5743:783] [2022-07-17 19:15:35 +0000.284413][3c52] GetMachineModel is M2012K11AG
[5743:783] [2022-07-17 19:15:35 +0000.284440][3c52] GetMachineInfo: M2012K11AG
[5743:783] [2022-07-17 19:15:35 +0000.284466][3c52] Construct BeautifyReader
begin...
[5743:783] [2022-07-17 19:15:35 +0000.284484][3c52] dumpStickerRgba:0
dumpStickerYuv:0
[5743:783] [2022-07-17 19:15:35 +0000.284496][3c52] Construct BeautifyReader done.
[5743:787] [2022-07-17 19:15:35 +0000.288227][3c52]
AppDeviceManagerStartCamera::The result of start thread is: 1 micOn:0
[5743:787] [2022-07-17 19:15:35 +0000.288271][2a8b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7baf3535a0
[5743:787] [2022-07-17 19:15:35 +0000.288313][3c52] AppDeviceManager telnet server
for statistics started......
[5743:788] [2022-07-17 19:15:35 +0000.289018][3c52] CpuOverloadDetect
time:581200164 enter.

[5743:788] [2022-07-17 19:15:35 +0000.289095][3c52] CpuOverloadDetect leave.


expire time = 0 ms

[5743:788] [2022-07-17 19:15:35 +0000.289118][2a8c] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7cb8882040
[5743:788] [2022-07-17 19:15:35 +0000.289533][3c52] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[5743:788] [2022-07-17 19:15:35 +0000.289561][3c52] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[5743:788] [2022-07-17 19:15:35 +0000.289747][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[5743:790] [2022-07-17 19:15:35 +0000.291366][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[5743:790] [2022-07-17 19:15:35 +0000.291558][3c52] CreatePlatformSpecificObjects:
[5743:790] [2022-07-17 19:15:35 +0000.291593][3c52] audio device use opensle input
and opensl output
[5743:790] [2022-07-17 19:15:35 +0000.291638][3c52] Create OpenSLES output module
with java VM support.

[5743:790] [2022-07-17 19:15:35 +0000.291717][3c52] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[5743:791] [2022-07-17 19:15:35 +0000.291839][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[5743:791] [2022-07-17 19:15:35 +0000.291973][3c52] Create OpenSLES output module
with buffer num:1

[5743:791] [2022-07-17 19:15:35 +0000.292072][3c52] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[5743:791] [2022-07-17 19:15:35 +0000.292187][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[5743:791] [2022-07-17 19:15:35 +0000.292312][3c52] Create OpenSLES input module
with java VM support.

[5743:791] [2022-07-17 19:15:35 +0000.292348][3c52] Create OpenSLES input module


with buffer num:1

[5743:791] [2022-07-17 19:15:35 +0000.292421][3c52] Error(trace.cc:40): Init the


output and input for audio device template.
[5743:791] [2022-07-17 19:15:35 +0000.292447][3c52] Init the output device.

[5743:791] [2022-07-17 19:15:35 +0000.292479][3c52] Init the opensl input.


[5743:791] [2022-07-17 19:15:35 +0000.292515][3c52] AppDeviceManager get setting
samplerate: 0
[5743:791] [2022-07-17 19:15:35 +0000.292736][3c52] The device model: m2012k11ag
enum value: 0
[5743:792] [2022-07-17 19:15:35 +0000.293120][3c52] The device model: m2012k11ag
enum value: 0
[5743:792] [2022-07-17 19:15:35 +0000.293147][3c52] Set the sample rate to be:48000

[5743:792] [2022-07-17 19:15:35 +0000.293183][3c52] Enable the recording stereo:0


[5743:792] [2022-07-17 19:15:35 +0000.293213][3c52] Set the playout as stereo:1
[5743:792] [2022-07-17 19:15:35 +0000.293241][3c52] Init the microphone.
[5743:795] [2022-07-17 19:15:35 +0000.296237][3c52] Update the recording sample
rate to be: 48000
[5743:795] [2022-07-17 19:15:35 +0000.296282][3c52] Init the speaker.
[5743:795] [2022-07-17 19:15:35 +0000.296324][3c52] Low latency buffer size:144 low
sample rate:48000
[5743:795] [2022-07-17 19:15:35 +0000.296515][3c52] Using 1 x 10ms for an audio
frame.

[5743:799] [2022-07-17 19:15:35 +0000.300486][3c52] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[5743:801] [2022-07-17 19:15:35 +0000.302272][3c52] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[5743:801] [2022-07-17 19:15:35 +0000.302328][3c52] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[5743:806] [2022-07-17 19:15:35 +0000.307157][3c52] The device model:m2012k11ag

[5743:806] [2022-07-17 19:15:35 +0000.307226][3c52] speaker output factor:100


defaultFactor: 100

[5743:806] [2022-07-17 19:15:35 +0000.307245][3c52] headset output factor:100


defaultFactor: 100

[5743:806] [2022-07-17 19:15:35 +0000.307574][3c52] AppDeviceManagerStart finished.


[5743:806] [2022-07-17 19:15:35 +0000.307604][3c52] AppDeviceManagerStartMic::mic
status is off
[5743:806] [2022-07-17 19:15:35 +0000.307677][3c52] AppDeviceManagerStartMic update
aec type: 2

[5743:806] [2022-07-17 19:15:35 +0000.307698][3c52] AppDeviceManagerStartMic update


voiceChangeMode: 4

[5743:806] [2022-07-17 19:15:35 +0000.307728][3c52]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[5743:806] [2022-07-17 19:15:35 +0000.307756][3c52]
AudioDeviceDataHandler::StartMicProcess

[5743:807] [2022-07-17 19:15:35 +0000.307868][3c52] Try to start webrtc recording


device.

[5743:807] [2022-07-17 19:15:35 +0000.307894][3c52] StartRecording. threadID:15442

[5743:807] [2022-07-17 19:15:35 +0000.307899][2a8d] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[5743:807] [2022-07-17 19:15:35 +0000.307958][3c52] default mode: Set the recording
mode to voice communication to enable HW AEC .

[5743:807] [2022-07-17 19:15:35 +0000.307981][3c52] Set the recording mode before


getSetting: 4
[5743:807] [2022-07-17 19:15:35 +0000.308014][3c52] Set the recording mode after
getSetting: 1
[5743:837] [2022-07-17 19:15:35 +0000.338462][3c52] StartRecording finished.

[5743:837] [2022-07-17 19:15:35 +0000.338585][3c52] audio: start the audio mic


checker timer.

[5743:838] [2022-07-17 19:15:35 +0000.338967][3c52] machine model :poco


[5743:838] [2022-07-17 19:15:35 +0000.338990][3c52] Support this machine
model :poco
[5743:852] [2022-07-17 19:15:35 +0000.353362][3c52] global inited! current sdk
version: 07-20-936c45f
[5743:981] [2022-07-17 19:15:35 +0000.482075][2a8d] haveEnoughProcessedData
internalAudioStream.length: 0
[5744:063] [2022-07-17 19:15:35 +0000.564348][202c]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[5744:063] [2022-07-17 19:15:35 +0000.564526][2a89] MediaFilterCamera, recording
file context:0x7cb85d1580 input texture:9
[5744:063] [2022-07-17 19:15:35 +0000.564590][2a89] GLESContext:
[5744:063] [2022-07-17 19:15:35 +0000.564643][2a89] The result of eglGetDisplay is:
0xb400007cc8e44c80
[5744:065] [2022-07-17 19:15:35 +0000.565964][2a89] The result of creation:
0x7bb54a8280
[5744:065] [2022-07-17 19:15:35 +0000.566111][2a89] The result of
eglCreatePbufferSurface is: 0x7bb54a8680
[5744:065] [2022-07-17 19:15:35 +0000.566211][202c]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7cb85d1580 input_texture: 9
[5744:419] [2022-07-17 19:15:35 +0000.920149][3c52]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[5744:419] [2022-07-17 19:15:35 +0000.920271][3c52] ~MediaFilterCamera
time:581200795 enter.

[5744:419] [2022-07-17 19:15:35 +0000.920325][3c52] StopPullFrameAndWriteMp4


time:581200795 enter.

[5744:419] [2022-07-17 19:15:35 +0000.920673][2a88] stop recording


[5744:419] [2022-07-17 19:15:35 +0000.920732][2a88] we have stopped recording
before
[5744:420] [2022-07-17 19:15:35 +0000.921009][3c52] StopPullFrameAndWriteMp4
leave. expire time = 1 ms

[5744:421] [2022-07-17 19:15:35 +0000.922645][3c52] DestroyPipelineAndFilters


time:581200797 enter.

[5744:421] [2022-07-17 19:15:35 +0000.922695][3c52] DestroyPipelineAndFilters


leave. expire time = 0 ms

[5744:421] [2022-07-17 19:15:35 +0000.922715][3c52] AppDeviceManagerStopMic

[5744:422] [2022-07-17 19:15:35 +0000.922805][3c52] AppDeviceManagerStopMic::mic


status is on
[5744:422] [2022-07-17 19:15:35 +0000.922830][3c52] Try to stop webrtc device.

[5744:422] [2022-07-17 19:15:35 +0000.922869][3c52] Set record state to


stopped.threadID:15442

[5744:470] [2022-07-17 19:15:35 +0000.971460][3c52] Try to destory the


recorder.threadID:15442

[5744:670] [2022-07-17 19:15:36 +0000.171612][3c52] DestroyAudioRecorder:


[5744:670] [2022-07-17 19:15:36 +0000.171728][3c52] Cleanup the buffer queue in the
recorder.
[5744:670] [2022-07-17 19:15:36 +0000.171751][3c52] Destroy the recorder.

[5744:675] [2022-07-17 19:15:36 +0000.175816][3c52] StopRecording finished.

[5744:675] [2022-07-17 19:15:36 +0000.175948][3c52] The stop recording success.

[5744:675] [2022-07-17 19:15:36 +0000.175973][3c52]


AudioDeviceDataHandler::StopMicProcess

[5744:677] [2022-07-17 19:15:36 +0000.178244][3c52] AppDeviceManager stop.

[5744:677] [2022-07-17 19:15:36 +0000.178365][3c52] Rlease the webrtc device


object.

[5744:678] [2022-07-17 19:15:36 +0000.179135][3c52] OpenSlesInput destruct.

[5744:678] [2022-07-17 19:15:36 +0000.179190][3c52] OpenSlesOutput destruct.

[5744:679] [2022-07-17 19:15:36 +0000.179979][3c52] EventDispatchServerScope


destruct
[5744:679] [2022-07-17 19:15:36 +0000.180026][3c52]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[5744:679] [2022-07-17 19:15:36 +0000.180099][3c52] ~AudioDeviceDataHandler

[5744:679] [2022-07-17 19:15:36 +0000.180563][3c52] AppDeviceManagerDestruct.

[5744:679] [2022-07-17 19:15:36 +0000.180601][3c52] ~AppDeviceManager:


[5744:679] [2022-07-17 19:15:36 +0000.180671][3c52] ~CpuOverloadDetect
time:581201055 enter.

[5744:680] [2022-07-17 19:15:36 +0000.181300][3c52] ~CpuOverloadDetect leave.


expire time = 1 ms

[5744:682] [2022-07-17 19:15:36 +0000.183059][3c52] Destruct BeautifyReader


begin...
[5744:682] [2022-07-17 19:15:36 +0000.183110][3c52] Destruct BeautifyReader done.
[5744:682] [2022-07-17 19:15:36 +0000.183137][3c52] ~MediaFilterCamera leave.
expire time = 263 ms

[5744:684] [2022-07-17 19:15:36 +0000.185005][3c52] ~GLESContext:


[5744:684] [2022-07-17 19:15:36 +0000.185674][3c52] GLESContext destruct finish.
[5744:684] [2022-07-17 19:15:36 +0000.185713][3c52]
~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[5744:685] [2022-07-17 19:15:36 +0000.185904][3c52] global uninited!
[5744:685] [2022-07-17 19:15:36 +0000.186131][3c52] clear AppID 50011
[5744:685] [2022-07-17 19:15:36 +0000.186161][3c52] UnRegister JVM for Xplatform
util
[5744:685] [2022-07-17 19:15:36 +0000.186193][3c52] Dispose::unregister webrtc
video engine
[5744:685] [2022-07-17 19:15:36 +0000.186220][3c52] Init the android object with
jvm:0x0 env:0x0 context:0x0

[5744:685] [2022-07-17 19:15:36 +0000.186250][3c52] SetAndroidMediaCodecObjects


time:581201061 enter.

[5744:685] [2022-07-17 19:15:36 +0000.186275][3c52] ClearAndroidMediaCodecObjects


time:581201061 enter.

[5744:685] [2022-07-17 19:15:36 +0000.186306][3c52] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[5744:685] [2022-07-17 19:15:36 +0000.186331][3c52] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[5744:685] [2022-07-17 19:15:36 +0000.186360][3c52] SetAndroidMediaCodecObjects


time:581201061 enter.

[5744:685] [2022-07-17 19:15:36 +0000.186388][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[5744:685] [2022-07-17 19:15:36 +0000.186416][3c52] ClearAndroidMediaCodecObjects
time:581201061 enter.

[5744:685] [2022-07-17 19:15:36 +0000.186444][3c52] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[5744:685] [2022-07-17 19:15:36 +0000.186470][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[5744:685] [2022-07-17 19:15:36 +0000.186498][3c52] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[5744:685] [2022-07-17 19:15:36 +0000.186525][3c52] Dispose::unregister webrtc


voice engine
[5744:685] [2022-07-17 19:15:36 +0000.186551][3c52] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[5744:685] [2022-07-17 19:15:36 +0000.186580][3c52] SystemUtil UnInit done


[5766:668] [2022-07-17 19:15:58 +0000.169615][3c52] Register JVM for xplatform util
[5766:672] [2022-07-17 19:15:58 +0000.173090][3c52] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
17 19:15:58 +0000
[5766:672] [2022-07-17 19:15:58 +0000.173122][3c52] set AppID=50011 old AppID=-1
[5766:672] [2022-07-17 19:15:58 +0000.173180][3c52] Init the android object with
jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c4220cda8
[5766:672] [2022-07-17 19:15:58 +0000.173196][3c52] SetAndroidMediaCodecObjects
time:581223048 enter.

[5766:672] [2022-07-17 19:15:58 +0000.173217][3c52] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[5766:672] [2022-07-17 19:15:58 +0000.173248][3c52] SetAndroidMediaCodecObjects


time:581223048 enter.

[5766:672] [2022-07-17 19:15:58 +0000.173261][3c52] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d740e4540
[5766:672] [2022-07-17 19:15:58 +0000.173286][3c52] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d740e4540 address:0x7bc1b52760
[5766:672] [2022-07-17 19:15:58 +0000.173300][3c52] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d740e4540
address:0x7bc1b52760
[5766:672] [2022-07-17 19:15:58 +0000.173321][3c52] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[5766:672] [2022-07-17 19:15:58 +0000.173347][3c52] Set the android objects with


jvm:0xb400007d740e4540 env:0x7cc8e47700 context:0x7c4220cda8

[5766:672] [2022-07-17 19:15:58 +0000.173376][3c52] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7cc8e47700
[5766:672] [2022-07-17 19:15:58 +0000.173404][3c52] SystemUtil Init done
[5766:672] [2022-07-17 19:15:58 +0000.173639][3c52]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[5766:672] [2022-07-17 19:15:58 +0000.173730][3c52] MediaFilterCamera
[5766:672] [2022-07-17 19:15:58 +0000.173759][3c52] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[5766:673] [2022-07-17 19:15:58 +0000.174004][3c52] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[5766:673] [2022-07-17 19:15:58 +0000.174032][3c52] Recording session using default
bitrate support by app:31457280
[5766:673] [2022-07-17 19:15:58 +0000.174046][2c29] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bec0e65c0
[5766:673] [2022-07-17 19:15:58 +0000.174214][2c29] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[5766:673] [2022-07-17 19:15:58 +0000.174277][3c52] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[5766:674] [2022-07-17 19:15:58 +0000.174822][3c52] Error(ini.cc:191): Open the
file failed. error:2
[5766:674] [2022-07-17 19:15:58 +0000.174850][3c52]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[5766:674] [2022-07-17 19:15:58 +0000.174867][3c52] The device model: m2012k11ag
usingSoftwareAEC value: 0
[5766:676] [2022-07-17 19:15:58 +0000.177234][3c52] Error(ini.cc:191): Open the
file failed. error:2
[5766:676] [2022-07-17 19:15:58 +0000.177286][3c52]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[5766:676] [2022-07-17 19:15:58 +0000.177309][3c52] The device model: m2012k11ag
usingHardwareAEC value: 0
[5766:676] [2022-07-17 19:15:58 +0000.177323][3c52] The machine device: m2012k11ag
usingHardwareAEC value: 0
[5766:676] [2022-07-17 19:15:58 +0000.177365][3c52] Using Default AEC type:
software AEC
[5766:677] [2022-07-17 19:15:58 +0000.178143][3c52] The device model: m2012k11ag
enum value: 0
[5766:677] [2022-07-17 19:15:58 +0000.178445][3c52] GetMachineModel is M2012K11AG
[5766:677] [2022-07-17 19:15:58 +0000.178475][3c52] GetMachineInfo: M2012K11AG
[5766:677] [2022-07-17 19:15:58 +0000.178489][3c52] Construct BeautifyReader
begin...
[5766:677] [2022-07-17 19:15:58 +0000.178521][3c52] dumpStickerRgba:0
dumpStickerYuv:0
[5766:677] [2022-07-17 19:15:58 +0000.178536][3c52] Construct BeautifyReader done.
[5766:680] [2022-07-17 19:15:58 +0000.181149][3c52]
AppDeviceManagerStartCamera::The result of start thread is: 1 micOn:0
[5766:680] [2022-07-17 19:15:58 +0000.181185][2c2d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bd379caa0
[5766:680] [2022-07-17 19:15:58 +0000.181221][3c52] AppDeviceManager telnet server
for statistics started......
[5766:680] [2022-07-17 19:15:58 +0000.181721][3c52] CpuOverloadDetect
time:581223056 enter.

[5766:681] [2022-07-17 19:15:58 +0000.181793][3c52] CpuOverloadDetect leave.


expire time = 1 ms

[5766:681] [2022-07-17 19:15:58 +0000.181816][2c2e] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7cb8881e80
[5766:681] [2022-07-17 19:15:58 +0000.182317][3c52] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[5766:681] [2022-07-17 19:15:58 +0000.182345][3c52] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[5766:681] [2022-07-17 19:15:58 +0000.182490][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[5766:681] [2022-07-17 19:15:58 +0000.182716][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[5766:682] [2022-07-17 19:15:58 +0000.182873][3c52] CreatePlatformSpecificObjects:
[5766:682] [2022-07-17 19:15:58 +0000.182907][3c52] audio device use opensle input
and opensl output
[5766:682] [2022-07-17 19:15:58 +0000.182941][3c52] Create OpenSLES output module
with java VM support.

[5766:682] [2022-07-17 19:15:58 +0000.183014][3c52] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[5766:682] [2022-07-17 19:15:58 +0000.183121][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[5766:682] [2022-07-17 19:15:58 +0000.183244][3c52] Create OpenSLES output module
with buffer num:1

[5766:682] [2022-07-17 19:15:58 +0000.183324][3c52] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[5766:682] [2022-07-17 19:15:58 +0000.183433][3c52] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[5766:682] [2022-07-17 19:15:58 +0000.183551][3c52] Create OpenSLES input module
with java VM support.

[5766:682] [2022-07-17 19:15:58 +0000.183587][3c52] Create OpenSLES input module


with buffer num:1

[5766:682] [2022-07-17 19:15:58 +0000.183621][3c52] Error(trace.cc:40): Init the


output and input for audio device template.
[5766:682] [2022-07-17 19:15:58 +0000.183646][3c52] Init the output device.

[5766:682] [2022-07-17 19:15:58 +0000.183678][3c52] Init the opensl input.


[5766:682] [2022-07-17 19:15:58 +0000.183711][3c52] AppDeviceManager get setting
samplerate: 0
[5766:683] [2022-07-17 19:15:58 +0000.183934][3c52] The device model: m2012k11ag
enum value: 0
[5766:683] [2022-07-17 19:15:58 +0000.184292][3c52] The device model: m2012k11ag
enum value: 0
[5766:683] [2022-07-17 19:15:58 +0000.184317][3c52] Set the sample rate to be:48000

[5766:683] [2022-07-17 19:15:58 +0000.184348][3c52] Enable the recording stereo:0


[5766:683] [2022-07-17 19:15:58 +0000.184379][3c52] Set the playout as stereo:1
[5766:683] [2022-07-17 19:15:58 +0000.184409][3c52] Init the microphone.
[5766:683] [2022-07-17 19:15:58 +0000.184691][3c52] Update the recording sample
rate to be: 48000
[5766:683] [2022-07-17 19:15:58 +0000.184723][3c52] Init the speaker.
[5766:683] [2022-07-17 19:15:58 +0000.184795][3c52] Low latency buffer size:144 low
sample rate:48000
[5766:684] [2022-07-17 19:15:58 +0000.184980][3c52] Using 1 x 10ms for an audio
frame.

[5766:687] [2022-07-17 19:15:58 +0000.187932][3c52] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[5766:687] [2022-07-17 19:15:58 +0000.188001][3c52] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[5766:687] [2022-07-17 19:15:58 +0000.188038][3c52] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[5766:691] [2022-07-17 19:15:58 +0000.192428][3c52] The device model:m2012k11ag

[5766:691] [2022-07-17 19:15:58 +0000.192488][3c52] speaker output factor:100


defaultFactor: 100

[5766:691] [2022-07-17 19:15:58 +0000.192502][3c52] headset output factor:100


defaultFactor: 100

[5766:691] [2022-07-17 19:15:58 +0000.192756][3c52] AppDeviceManagerStart finished.


[5766:692] [2022-07-17 19:15:58 +0000.192799][3c52] AppDeviceManagerStartMic::mic
status is off
[5766:692] [2022-07-17 19:15:58 +0000.192858][3c52] AppDeviceManagerStartMic update
aec type: 2

[5766:692] [2022-07-17 19:15:58 +0000.192879][3c52] AppDeviceManagerStartMic update


voiceChangeMode: 4

[5766:692] [2022-07-17 19:15:58 +0000.192894][3c52]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[5766:692] [2022-07-17 19:15:58 +0000.192918][3c52]
AudioDeviceDataHandler::StartMicProcess

[5766:692] [2022-07-17 19:15:58 +0000.193036][3c52] Try to start webrtc recording


device.

[5766:692] [2022-07-17 19:15:58 +0000.193060][3c52] StartRecording. threadID:15442

[5766:692] [2022-07-17 19:15:58 +0000.193073][2c2f] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[5766:692] [2022-07-17 19:15:58 +0000.193122][3c52] default mode: Set the recording
mode to voice communication to enable HW AEC .

[5766:692] [2022-07-17 19:15:58 +0000.193174][3c52] Set the recording mode before


getSetting: 4
[5766:692] [2022-07-17 19:15:58 +0000.193212][3c52] Set the recording mode after
getSetting: 1
[5766:718] [2022-07-17 19:15:58 +0000.219471][3c52] StartRecording finished.

[5766:718] [2022-07-17 19:15:58 +0000.219530][3c52] audio: start the audio mic


checker timer.

[5766:719] [2022-07-17 19:15:58 +0000.219839][3c52] machine model :poco


[5766:719] [2022-07-17 19:15:58 +0000.219904][3c52] Support this machine
model :poco
[5766:719] [2022-07-17 19:15:58 +0000.219925][3c52] global inited! current sdk
version: 07-20-936c45f
[5766:925] [2022-07-17 19:15:58 +0000.425958][202c]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[5766:925] [2022-07-17 19:15:58 +0000.426085][2c2a] MediaFilterCamera, recording
file context:0x7cb85d1580 input texture:14
[5766:925] [2022-07-17 19:15:58 +0000.426149][2c2a] GLESContext:
[5766:925] [2022-07-17 19:15:58 +0000.426197][2c2a] The result of eglGetDisplay is:
0xb400007cc8e44c80
[5766:926] [2022-07-17 19:15:58 +0000.427077][2c2a] The result of creation:
0x7bd386d380
[5766:926] [2022-07-17 19:15:58 +0000.427183][2c2a] The result of
eglCreatePbufferSurface is: 0x7bd386d480
[5766:926] [2022-07-17 19:15:58 +0000.427265][202c]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7cb85d1580 input_texture: 14
[5767:129] [2022-07-17 19:15:58 +0000.629808][3c52]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[5767:129] [2022-07-17 19:15:58 +0000.629930][3c52] ~MediaFilterCamera
time:581223505 enter.

[5767:129] [2022-07-17 19:15:58 +0000.629981][3c52] StopPullFrameAndWriteMp4


time:581223505 enter.

[5767:132] [2022-07-17 19:15:58 +0000.633097][2c29] stop recording


[5767:132] [2022-07-17 19:15:58 +0000.633568][2c29] we have stopped recording
before
[5767:133] [2022-07-17 19:15:58 +0000.633921][3c52] StopPullFrameAndWriteMp4
leave. expire time = 4 ms

[5767:133] [2022-07-17 19:15:58 +0000.634426][3c52] DestroyPipelineAndFilters


time:581223509 enter.

[5767:133] [2022-07-17 19:15:58 +0000.634463][3c52] DestroyPipelineAndFilters


leave. expire time = 0 ms

[5767:133] [2022-07-17 19:15:58 +0000.634481][3c52] AppDeviceManagerStopMic

[5767:133] [2022-07-17 19:15:58 +0000.634555][3c52] AppDeviceManagerStopMic::mic


status is on
[5767:133] [2022-07-17 19:15:58 +0000.634576][3c52] Try to stop webrtc device.

[5767:133] [2022-07-17 19:15:58 +0000.634609][3c52] Set record state to


stopped.threadID:15442

[5767:177] [2022-07-17 19:15:58 +0000.678408][3c52] Try to destory the


recorder.threadID:15442

[5767:377] [2022-07-17 19:15:58 +0000.878680][3c52] DestroyAudioRecorder:


[5767:377] [2022-07-17 19:15:58 +0000.878740][3c52] Cleanup the buffer queue in the
recorder.
[5767:377] [2022-07-17 19:15:58 +0000.878760][3c52] Destroy the recorder.

[5767:378] [2022-07-17 19:15:58 +0000.879347][3c52] StopReco[000:040] [2022-07-21


21:18:20 +0000.850204][31aa] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
21 21:18:20 +0000
[000:040] [2022-07-21 21:18:20 +0000.850274][31aa] set AppID=50011 old AppID=-1
[000:040] [2022-07-21 21:18:20 +0000.850322][31aa] Init the android object with
jvm:0xb400007928da5540 env:0x7873a6fe80 context:0x77f32b7338

[000:040] [2022-07-21 21:18:20 +0000.850368][31aa] SetAndroidMediaCodecObjects


time:255951255 enter.

[000:040] [2022-07-21 21:18:20 +0000.850413][31aa] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:040] [2022-07-21 21:18:20 +0000.850453][31aa] SetAndroidMediaCodecObjects


time:255951255 enter.

[000:040] [2022-07-21 21:18:20 +0000.850496][31aa] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007928da5540
[000:040] [2022-07-21 21:18:20 +0000.850539][31aa] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007928da5540 address:0x773e69e760
[000:040] [2022-07-21 21:18:20 +0000.850582][31aa] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007928da5540
address:0x773e69e760
[000:040] [2022-07-21 21:18:20 +0000.850631][31aa] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:040] [2022-07-21 21:18:20 +0000.850701][31aa] Set the android objects with


jvm:0xb400007928da5540 env:0x7873a6fe80 context:0x77f32b7338

[000:043] [2022-07-21 21:18:20 +0000.853007][31aa] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7873a6fe80
[000:043] [2022-07-21 21:18:20 +0000.853078][31aa] SystemUtil Init done
[000:045] [2022-07-21 21:18:20 +0000.855651][31aa]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:048] [2022-07-21 21:18:20 +0000.858359][31aa] MediaFilterCamera
[000:048] [2022-07-21 21:18:20 +0000.858429][31aa] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:048] [2022-07-21 21:18:20 +0000.858585][31aa] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:048] [2022-07-21 21:18:20 +0000.858632][31aa] Recording session using default
bitrate support by app:31457280
[000:048] [2022-07-21 21:18:20 +0000.858635][5ea2] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77603773c0
[000:049] [2022-07-21 21:18:20 +0000.859054][5ea2] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:049] [2022-07-21 21:18:20 +0000.859159][31aa] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:050] [2022-07-21 21:18:20 +0000.859828][31aa] Error(ini.cc:191): Open the file
failed. error:2
[000:050] [2022-07-21 21:18:20 +0000.859876][31aa]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:050] [2022-07-21 21:18:20 +0000.859938][31aa] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:054] [2022-07-21 21:18:20 +0000.863811][31aa] Error(ini.cc:191): Open the file
failed. error:2
[000:054] [2022-07-21 21:18:20 +0000.863883][31aa]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:054] [2022-07-21 21:18:20 +0000.863923][31aa] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:054] [2022-07-21 21:18:20 +0000.863970][31aa] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:054] [2022-07-21 21:18:20 +0000.864009][31aa] Using Default AEC type: software
AEC
[000:054] [2022-07-21 21:18:20 +0000.864575][31aa] The device model: m2012k11ag
enum value: 0
[000:055] [2022-07-21 21:18:20 +0000.865049][31aa] GetMachineModel is M2012K11AG
[000:055] [2022-07-21 21:18:20 +0000.865094][31aa] GetMachineInfo: M2012K11AG
[000:055] [2022-07-21 21:18:20 +0000.865147][31aa] Construct BeautifyReader
begin...
[000:055] [2022-07-21 21:18:20 +0000.865180][31aa] dumpStickerRgba:0
dumpStickerYuv:0
[000:055] [2022-07-21 21:18:20 +0000.865214][31aa] Construct BeautifyReader done.
[000:060] [2022-07-21 21:18:20 +0000.869980][31aa] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:060] [2022-07-21 21:18:20 +0000.870026][5ea5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x778a88cca0
[000:060] [2022-07-21 21:18:20 +0000.870297][31aa] AppDeviceManager telnet server
for statistics started......
[000:061] [2022-07-21 21:18:20 +0000.870945][31aa] CpuOverloadDetect time:255951276
enter.

[000:061] [2022-07-21 21:18:20 +0000.871070][31aa] CpuOverloadDetect leave. expire


time = 0 ms

[000:061] [2022-07-21 21:18:20 +0000.871099][5ea6] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x778a75d3c0
[000:061] [2022-07-21 21:18:20 +0000.871650][31aa] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:061] [2022-07-21 21:18:20 +0000.871702][31aa] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:063] [2022-07-21 21:18:20 +0000.873028][31aa] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:063] [2022-07-21 21:18:20 +0000.873449][31aa] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:064] [2022-07-21 21:18:20 +0000.873867][31aa] CreatePlatformSpecificObjects:
[000:064] [2022-07-21 21:18:20 +0000.873921][31aa] audio device use opensle input
and opensl output
[000:064] [2022-07-21 21:18:20 +0000.873981][31aa] Create OpenSLES output module
with java VM support.

[000:064] [2022-07-21 21:18:20 +0000.874104][31aa] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:064] [2022-07-21 21:18:20 +0000.874319][31aa] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:064] [2022-07-21 21:18:20 +0000.874522][31aa] Create OpenSLES output module
with buffer num:1

[000:064] [2022-07-21 21:18:20 +0000.874688][31aa] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:065] [2022-07-21 21:18:20 +0000.874907][31aa] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:065] [2022-07-21 21:18:20 +0000.875169][31aa] Create OpenSLES input module
with java VM support.
[000:065] [2022-07-21 21:18:20 +0000.875253][31aa] Create OpenSLES input module
with buffer num:1

[000:065] [2022-07-21 21:18:20 +0000.875347][31aa] Error(trace.cc:40): Init the


output and input for audio device template.
[000:065] [2022-07-21 21:18:20 +0000.875394][31aa] Init the output device.

[000:065] [2022-07-21 21:18:20 +0000.875433][31aa] Init the opensl input.


[000:065] [2022-07-21 21:18:20 +0000.875475][31aa] AppDeviceManager get setting
samplerate: 0
[000:066] [2022-07-21 21:18:20 +0000.875845][31aa] The device model: m2012k11ag
enum value: 0
[000:066] [2022-07-21 21:18:20 +0000.876448][31aa] The device model: m2012k11ag
enum value: 0
[000:066] [2022-07-21 21:18:20 +0000.876495][31aa] Set the sample rate to be:48000

[000:066] [2022-07-21 21:18:20 +0000.876539][31aa] Enable the recording stereo:0


[000:066] [2022-07-21 21:18:20 +0000.876579][31aa] Set the playout as stereo:1
[000:066] [2022-07-21 21:18:20 +0000.876627][31aa] Init the microphone.
[000:067] [2022-07-21 21:18:20 +0000.877409][31aa] Update the recording sample rate
to be: 48000
[000:067] [2022-07-21 21:18:20 +0000.877467][31aa] Init the speaker.
[000:067] [2022-07-21 21:18:20 +0000.877537][31aa] Low latency buffer size:144 low
sample rate:48000
[000:068] [2022-07-21 21:18:20 +0000.877782][31aa] Using 1 x 10ms for an audio
frame.

[000:073] [2022-07-21 21:18:20 +0000.882894][31aa] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:073] [2022-07-21 21:18:20 +0000.883043][31aa] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:073] [2022-07-21 21:18:20 +0000.883096][31aa] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:078] [2022-07-21 21:18:20 +0000.888465][31aa] The device model:m2012k11ag

[000:078] [2022-07-21 21:18:20 +0000.888522][31aa] speaker output factor:100


defaultFactor: 100

[000:078] [2022-07-21 21:18:20 +0000.888562][31aa] headset output factor:100


defaultFactor: 100

[000:079] [2022-07-21 21:18:20 +0000.888983][31aa] AppDeviceManagerStart finished.


[000:079] [2022-07-21 21:18:20 +0000.889023][31aa] AppDeviceManagerStartMic::mic
status is off
[000:079] [2022-07-21 21:18:20 +0000.889104][31aa] AppDeviceManagerStartMic update
aec type: 2

[000:079] [2022-07-21 21:18:20 +0000.889137][31aa] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:079] [2022-07-21 21:18:20 +0000.889169][31aa]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:079] [2022-07-21 21:18:20 +0000.889201][31aa]
AudioDeviceDataHandler::StartMicProcess

[000:079] [2022-07-21 21:18:20 +0000.889343][31aa] Try to start webrtc recording


device.

[000:079] [2022-07-21 21:18:20 +0000.889379][31aa] StartRecording. threadID:12714


[000:079] [2022-07-21 21:18:20 +0000.889389][5ea7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:079] [2022-07-21 21:18:20 +0000.889480][5ea7] haveEnoughProcessedData
internalAudioStream.length: 0
[000:079] [2022-07-21 21:18:20 +0000.889743][31aa] The machine model:M2012K11AG

[000:080] [2022-07-21 21:18:20 +0000.889802][31aa] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:080] [2022-07-21 21:18:20 +0000.889837][31aa] Set the recording mode before


getSetting: 4
[000:080] [2022-07-21 21:18:20 +0000.889874][31aa] Set the recording mode after
getSetting: 1
[000:115] [2022-07-21 21:18:20 +0000.925375][31aa] StartRecording finished.

[000:115] [2022-07-21 21:18:20 +0000.925585][31aa] audio: start the audio mic


checker timer.

[000:116] [2022-07-21 21:18:20 +0000.926178][31aa] machine model :poco


[000:116] [2022-07-21 21:18:20 +0000.926230][31aa] Support this machine model :poco
[000:125] [2022-07-21 21:18:20 +0000.934914][31aa] global inited! current sdk
version: 07-20-936c45f
[000:206] [2022-07-21 21:18:21 +0000.15876][5ea8] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:206] [2022-07-21 21:18:21 +0000.15958][5ea8] _deviceSampleRate:48000

[000:207] [2022-07-21 21:18:21 +0000.17316][5ea7] Run AGC when audioType = 0


[000:207] [2022-07-21 21:18:21 +0000.17407][5ea7]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:384] [2022-07-21 21:18:21 +0000.194529][47fb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:384] [2022-07-21 21:18:21 +0000.194662][5ea3] MediaFilterCamera, recording
file context:0x7858893600 input texture:17
[000:384] [2022-07-21 21:18:21 +0000.194734][5ea3] GLESContext:
[000:385] [2022-07-21 21:18:21 +0000.194860][5ea3] The result of eglGetDisplay is:
0xb400007873a6ca00
[000:385] [2022-07-21 21:18:21 +0000.195693][5ea3] The result of creation:
0x77670d7a80
[000:386] [2022-07-21 21:18:21 +0000.195790][5ea3] The result of
eglCreatePbufferSurface is: 0x77670d7b80
[000:386] [2022-07-21 21:18:21 +0000.195864][47fb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7858893600 input_texture: 17
[000:488] [2022-07-21 21:18:21 +0000.298608][31aa]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:488] [2022-07-21 21:18:21 +0000.298698][31aa] ~MediaFilterCamera
time:255951703 enter.

[000:488] [2022-07-21 21:18:21 +0000.298724][31aa] StopPullFrameAndWriteMp4


time:255951703 enter.

[000:491] [2022-07-21 21:18:21 +0000.300987][5ea2] stop recording


[000:491] [2022-07-21 21:18:21 +0000.301025][5ea2] we have stopped recording before
[000:491] [2022-07-21 21:18:21 +0000.301287][31aa] StopPullFrameAndWriteMp4 leave.
expire time = 3 ms
[000:493] [2022-07-21 21:18:21 +0000.303241][31aa] DestroyPipelineAndFilters
time:255951708 enter.

[000:493] [2022-07-21 21:18:21 +0000.303287][31aa] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:493] [2022-07-21 21:18:21 +0000.303327][31aa] AppDeviceManagerStopMic

[000:493] [2022-07-21 21:18:21 +0000.303397][31aa] AppDeviceManagerStopMic::mic


status is on
[000:493] [2022-07-21 21:18:21 +0000.303421][31aa] Try to stop webrtc device.

[000[000:021] [2022-07-25 00:15:29 +0000.20497][ef6] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
25 00:15:29 +0000
[000:021] [2022-07-25 00:15:29 +0000.20527][ef6] set AppID=50011 old AppID=-1
[000:021] [2022-07-25 00:15:29 +0000.20539][ef6] Init the android object with
jvm:0xb40000705443f540 env:0x6f9cbe4e80 context:0x6f13249458

[000:021] [2022-07-25 00:15:29 +0000.20572][ef6] SetAndroidMediaCodecObjects


time:93898458 enter.

[000:021] [2022-07-25 00:15:29 +0000.20585][ef6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:021] [2022-07-25 00:15:29 +0000.20612][ef6] SetAndroidMediaCodecObjects


time:93898458 enter.

[000:021] [2022-07-25 00:15:29 +0000.20624][ef6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000705443f540
[000:021] [2022-07-25 00:15:29 +0000.20654][ef6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000705443f540 address:0x6e70b5c760
[000:021] [2022-07-25 00:15:29 +0000.20692][ef6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000705443f540
address:0x6e70b5c760
[000:021] [2022-07-25 00:15:29 +0000.20703][ef6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:021] [2022-07-25 00:15:29 +0000.20743][ef6] Set the android objects with


jvm:0xb40000705443f540 env:0x6f9cbe4e80 context:0x6f13249458

[000:022] [2022-07-25 00:15:29 +0000.21233][ef6] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6f9cbe4e80
[000:022] [2022-07-25 00:15:29 +0000.21260][ef6] SystemUtil Init done
[000:024] [2022-07-25 00:15:29 +0000.23085][ef6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:024] [2022-07-25 00:15:29 +0000.23767][ef6] MediaFilterCamera
[000:025] [2022-07-25 00:15:29 +0000.23807][ef6] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:025] [2022-07-25 00:15:29 +0000.23895][ef6] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:025] [2022-07-25 00:15:29 +0000.23917][ef6] Recording session using default
bitrate support by app:31457280
[000:025] [2022-07-25 00:15:29 +0000.23928][2702] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6eb178a040
[000:025] [2022-07-25 00:15:29 +0000.24405][2702] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:026] [2022-07-25 00:15:29 +0000.25164][ef6] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:027] [2022-07-25 00:15:29 +0000.26304][ef6] Error(ini.cc:191): Open the file
failed. error:2
[000:027] [2022-07-25 00:15:29 +0000.26329][ef6]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:027] [2022-07-25 00:15:29 +0000.26350][ef6] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:029] [2022-07-25 00:15:29 +0000.27861][ef6] Error(ini.cc:191): Open the file
failed. error:2
[000:029] [2022-07-25 00:15:29 +0000.27886][ef6]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:029] [2022-07-25 00:15:29 +0000.27902][ef6] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:029] [2022-07-25 00:15:29 +0000.27928][ef6] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:029] [2022-07-25 00:15:29 +0000.27938][ef6] Using Default AEC type: software
AEC
[000:029] [2022-07-25 00:15:29 +0000.28612][ef6] The device model: m2012k11ag enum
value: 0
[000:030] [2022-07-25 00:15:29 +0000.28828][ef6] GetMachineModel is M2012K11AG
[000:030] [2022-07-25 00:15:29 +0000.28849][ef6] GetMachineInfo: M2012K11AG
[000:030] [2022-07-25 00:15:29 +0000.28869][ef6] Construct BeautifyReader begin...
[000:030] [2022-07-25 00:15:29 +0000.28884][ef6] dumpStickerRgba:0 dumpStickerYuv:0
[000:030] [2022-07-25 00:15:29 +0000.28895][ef6] Construct BeautifyReader done.
[000:032] [2022-07-25 00:15:29 +0000.31131][ef6] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:032] [2022-07-25 00:15:29 +0000.31169][ef6] AppDeviceManager telnet server for
statistics started......
[000:032] [2022-07-25 00:15:29 +0000.31188][2705] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f0fdc43a0
[000:032] [2022-07-25 00:15:29 +0000.31769][ef6] CpuOverloadDetect time:93898469
enter.

[000:033] [2022-07-25 00:15:29 +0000.31823][ef6] CpuOverloadDetect leave. expire


time = 1 ms

[000:033] [2022-07-25 00:15:29 +0000.31850][2706] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6f8749e280
[000:033] [2022-07-25 00:15:29 +0000.32093][ef6] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[000:033] [2022-07-25 00:15:29 +0000.32111][ef6] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[000:033] [2022-07-25 00:15:29 +0000.32266][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:033] [2022-07-25 00:15:29 +0000.32463][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:033] [2022-07-25 00:15:29 +0000.32646][ef6] CreatePlatformSpecificObjects:
[000:033] [2022-07-25 00:15:29 +0000.32668][ef6] audio device use opensle input
and opensl output
[000:033] [2022-07-25 00:15:29 +0000.32695][ef6] Create OpenSLES output module with
java VM support.

[000:033] [2022-07-25 00:15:29 +0000.32751][ef6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:034] [2022-07-25 00:15:29 +0000.32824][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:034] [2022-07-25 00:15:29 +0000.32913][ef6] Create OpenSLES output module with
buffer num:1
[000:034] [2022-07-25 00:15:29 +0000.32998][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:034] [2022-07-25 00:15:29 +0000.33069][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:034] [2022-07-25 00:15:29 +0000.33151][ef6] Create OpenSLES input module with
java VM support.

[000:034] [2022-07-25 00:15:29 +0000.33175][ef6] Create OpenSLES input module with


buffer num:1

[000:034] [2022-07-25 00:15:29 +0000.33234][ef6] Error(trace.cc:40): Init the


output and input for audio device template.
[000:034] [2022-07-25 00:15:29 +0000.33251][ef6] Init the output device.

[000:034] [2022-07-25 00:15:29 +0000.33262][ef6] Init the opensl input.


[000:034] [2022-07-25 00:15:29 +0000.33290][ef6] AppDeviceManager get setting
samplerate: 0
[000:034] [2022-07-25 00:15:29 +0000.33444][ef6] The device model: m2012k11ag enum
value: 0
[000:034] [2022-07-25 00:15:29 +0000.33678][ef6] The device model: m2012k11ag enum
value: 0
[000:034] [2022-07-25 00:15:29 +0000.33695][ef6] Set the sample rate to be:48000

[000:034] [2022-07-25 00:15:29 +0000.33707][ef6] Enable the recording stereo:0


[000:034] [2022-07-25 00:15:29 +0000.33733][ef6] Set the playout as stereo:1
[000:034] [2022-07-25 00:15:29 +0000.33744][ef6] Init the microphone.
[000:036] [2022-07-25 00:15:29 +0000.34942][ef6] Update the recording sample rate
to be: 48000
[000:036] [2022-07-25 00:15:29 +0000.34963][ef6] Init the speaker.
[000:036] [2022-07-25 00:15:29 +0000.34985][ef6] Low latency buffer size:144 low
sample rate:48000
[000:036] [2022-07-25 00:15:29 +0000.35146][ef6] Using 1 x 10ms for an audio frame.

[000:038] [2022-07-25 00:15:29 +0000.37764][ef6] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:039] [2022-07-25 00:15:29 +0000.37844][ef6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:039] [2022-07-25 00:15:29 +0000.37871][ef6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:042] [2022-07-25 00:15:29 +0000.41553][ef6] The device model:m2012k11ag

[000:042] [2022-07-25 00:15:29 +0000.41592][ef6] speaker output factor:100


defaultFactor: 100

[000:042] [2022-07-25 00:15:29 +0000.41603][ef6] headset output factor:100


defaultFactor: 100

[000:043] [2022-07-25 00:15:29 +0000.41819][ef6] AppDeviceManagerStart finished.


[000:043] [2022-07-25 00:15:29 +0000.41838][ef6] AppDeviceManagerStartMic::mic
status is off
[000:043] [2022-07-25 00:15:29 +0000.41909][ef6] AppDeviceManagerStartMic update
aec type: 2

[000:043] [2022-07-25 00:15:29 +0000.41925][ef6] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:043] [2022-07-25 00:15:29 +0000.41936][ef6]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:043] [2022-07-25 00:15:29 +0000.41967][ef6]
AudioDeviceDataHandler::StartMicProcess

[000:043] [2022-07-25 00:15:29 +0000.42048][ef6] Try to start webrtc recording


device.

[000:043] [2022-07-25 00:15:29 +0000.42066][ef6] StartRecording. threadID:3830

[000:043] [2022-07-25 00:15:29 +0000.42080][2707] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:043] [2022-07-25 00:15:29 +0000.42140][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[000:043] [2022-07-25 00:15:29 +0000.42249][ef6] The machine model:M2012K11AG

[000:043] [2022-07-25 00:15:29 +0000.42281][ef6] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:043] [2022-07-25 00:15:29 +0000.42303][ef6] Set the recording mode before


getSetting: 4
[000:043] [2022-07-25 00:15:29 +0000.42318][ef6] Set the recording mode after
getSetting: 1
[000:068] [2022-07-25 00:15:29 +0000.67493][ef6] StartRecording finished.

[000:068] [2022-07-25 00:15:29 +0000.67553][ef6] audio: start the audio mic checker
timer.

[000:069] [2022-07-25 00:15:29 +0000.67810][ef6] machine model :poco


[000:069] [2022-07-25 00:15:29 +0000.67828][ef6] Support this machine model :poco
[000:071] [2022-07-25 00:15:29 +0000.70561][ef6] global inited! current sdk
version: 07-20-936c45f
[000:146] [2022-07-25 00:15:29 +0000.145549][2708] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:146] [2022-07-25 00:15:29 +0000.145771][2708] _deviceSampleRate:48000

[000:150] [2022-07-25 00:15:29 +0000.149022][2707] Run AGC when audioType = 0


[000:150] [2022-07-25 00:15:29 +0000.149109][2707]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:294] [2022-07-25 00:15:29 +0000.293515][23d6]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:294] [2022-07-25 00:15:29 +0000.293647][2703] MediaFilterCamera, recording
file context:0x6f7a7d9f00 input texture:8
[000:294] [2022-07-25 00:15:29 +0000.293710][2703] GLESContext:
[000:294] [2022-07-25 00:15:29 +0000.293757][2703] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[000:295] [2022-07-25 00:15:29 +0000.294522][2703] The result of creation:
0x6ea6efa700
[000:295] [2022-07-25 00:15:29 +0000.294594][2703] The result of
eglCreatePbufferSurface is: 0x6ea6efa800
[000:297] [2022-07-25 00:15:29 +0000.296282][23d6]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6f7a7d9f00 input_texture: 8
[001:777] [2022-07-25 00:15:30 +0000.776751][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[002:149] [2022-07-25 00:15:31 +0000.148076][2707] Run AGC when audioType = 0
[003:243] [2022-07-25 00:15:32 +0000.242350][ebb] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[003:243] [2022-07-25 00:15:32 +0000.242435][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[003:244] [2022-07-25 00:15:32 +0000.243132][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[003:244] [2022-07-25 00:15:32 +0000.243253][2703] operator() time:93901681 enter.

[003:244] [2022-07-25 00:15:32 +0000.243300][2703] MediaFilterCamera, recording


file context:0x6f7a7d9f00 input texture:8
[003:245] [2022-07-25 00:15:32 +0000.244532][2703] MicSource: Mic source
created:10x6eb1aa9680
[003:246] [2022-07-25 00:15:32 +0000.245424][2703] received external audio stream

[003:246] [2022-07-25 00:15:32 +0000.245481][2703] alloc thread: 0x6e9afe9400


name:worker0 thread id:475005119664 to Mic_source
[003:246] [2022-07-25 00:15:32 +0000.245503][2703] audio: start the audio sender
thread.

[003:246] [2022-07-25 00:15:32 +0000.245575][2703] construct OpenGLRenderProgram


0x6eb1aec298
[003:246] [2022-07-25 00:15:32 +0000.245624][2703] CropFilter::SetOrientation
orientation: 90
[003:246] [2022-07-25 00:15:32 +0000.245738][2703] filter: filter pipeline
construtc this: 0x6e9afd8c40
[003:246] [2022-07-25 00:15:32 +0000.245771][2703] filter: filter pipeline2 update
pattern: 1
[003:247] [2022-07-25 00:15:32 +0000.245879][2703] CameraSource::source_id_:1
[003:247] [2022-07-25 00:15:32 +0000.245912][2703] RecordAudioSource::source_id_:2
[003:247] [2022-07-25 00:15:32 +0000.246004][2703] BindInputFilter 0x6e9afe9b40
this 0x6eb1aec4c0
[003:247] [2022-07-25 00:15:32 +0000.246037][2703] BindInputFilter 0x6e9afe9cd8
this 0x6e9afe9e50
[003:247] [2022-07-25 00:15:32 +0000.246071][2703] BindInputFilter 0x6eb1aec4c0
this 0x6e9afd8ce0
[003:247] [2022-07-25 00:15:32 +0000.246120][2703] setParamentForFilters:
speed:1.000000
[003:247] [2022-07-25 00:15:32 +0000.246135][2703] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[003:247] [2022-07-25 00:15:32 +0000.246152][2703] SetParamForFilter time:93901684
enter.

[003:247] [2022-07-25 00:15:32 +0000.246186][2703] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[003:247] [2022-07-25 00:15:32 +0000.246221][2703] SetParamForFilter: Params video
index is: 0
[003:247] [2022-07-25 00:15:32 +0000.246255][2703] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[003:247] [2022-07-25 00:15:32 +0000.246288][2703] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[003:247] [2022-07-25 00:15:32 +0000.246324][2703] crop filter mode tpye:
citytravelvideo index:0
[003:249] [2022-07-25 00:15:32 +0000.247916][2707] On audio frame the broadcast
with timestamp:93901686 samples:480. (1000 frame for one log)

[003:252] [2022-07-25 00:15:32 +0000.251384][2703]


Warning(parse_template_json.cc:45): json parament no found the parament
[003:252] [2022-07-25 00:15:32 +0000.251447][2703]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:252] [2022-07-25 00:15:32 +0000.251471][2703]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:252] [2022-07-25 00:15:32 +0000.251489][2703]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:252] [2022-07-25 00:15:32 +0000.251547][2703]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:253] [2022-07-25 00:15:32 +0000.252083][2703]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:253] [2022-07-25 00:15:32 +0000.252107][2703]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:253] [2022-07-25 00:15:32 +0000.252124][2703]
Warning(parse_template_json.cc:81): json parament no found the parament
[003:253] [2022-07-25 00:15:32 +0000.252140][2703]
Warning(parse_template_json.cc:81): json parament no found the parament
[003:253] [2022-07-25 00:15:32 +0000.252157][2703]
Warning(parse_template_json.cc:67): json parament no found the parament
[003:253] [2022-07-25 00:15:32 +0000.252172][2703]
Warning(parse_template_json.cc:93): json parament no found the duration
[003:255] [2022-07-25 00:15:32 +0000.254014][2703] SetParamForFilter leave. expire
time = 8 ms

[003:255] [2022-07-25 00:15:32 +0000.254129][2703] OnOutputSizeChanged width 1920


height 1080
[003:255] [2022-07-25 00:15:32 +0000.254155][2703] OpenGLFrameBuffer: width:1920
height:1080
[003:255] [2022-07-25 00:15:32 +0000.254193][2703] OpenGLFrameBuffer: width:1920
height:1080
[003:255] [2022-07-25 00:15:32 +0000.254248][2703] OpenGLFrameBuffer: width:1920
height:1080
[003:255] [2022-07-25 00:15:32 +0000.254266][2703] OpenGLFrameBuffer: width:1920
height:1080
[003:255] [2022-07-25 00:15:32 +0000.254283][2703] OpenGLFrameBuffer: width:1920
height:1080
[003:255] [2022-07-25 00:15:32 +0000.255316][2703] OpenGLFrameBuffer: width:1920
height:1080
[003:256] [2022-07-25 00:15:32 +0000.255360][2703] construct TrivalImageDrawer
0x6ea7044480
[003:256] [2022-07-25 00:15:32 +0000.255380][2703] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x6ea7044480 context 0x6eb1c96040
[003:256] [2022-07-25 00:15:32 +0000.255434][2703] setupGLES:
[003:257] [2022-07-25 00:15:32 +0000.255902][2703] OpenGLRenderProgram::Initialize.
[003:257] [2022-07-25 00:15:32 +0000.255958][2703] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[003:257] [2022-07-25 00:15:32 +0000.255981][2703] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[003:257] [2022-07-25 00:15:32 +0000.256014][2703] Init open gl render:
0x6eb1aec298
[003:257] [2022-07-25 00:15:32 +0000.256036][2703] Fragement shader path:
[003:257] [2022-07-25 00:15:32 +0000.256055][2703] Fragement shader path:
[003:257] [2022-07-25 00:15:32 +0000.256070][2703] create opengl program object.
[003:257] [2022-07-25 00:15:32 +0000.256085][2703] create shader: vertex
[003:258] [2022-07-25 00:15:32 +0000.256799][27a6] Get data in mic source, which
has byte length:1764micAudioStream->length():20
[003:258] [2022-07-25 00:15:32 +0000.257078][27a6] The output timestamp from audio
mixer change:93901686
[003:258] [2022-07-25 00:15:32 +0000.257109][27a6] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[003:268] [2022-07-25 00:15:32 +0000.267335][2703] create shader: fragment
[003:317] [2022-07-25 00:15:32 +0000.316417][2703] Have not extra filter filename!
[003:317] [2022-07-25 00:15:32 +0000.316472][2703] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[003:317] [2022-07-25 00:15:32 +0000.316538][2703] OpenGLRenderProgram::Initialize
success.
[003:317] [2022-07-25 00:15:32 +0000.316600][2703] Setup the OpenGL result:1
[003:318] [2022-07-25 00:15:32 +0000.317055][2702] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4
[003:318] [2022-07-25 00:15:32 +0000.317195][2702] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[003:318] [2022-07-25 00:15:32 +0000.317269][2702] 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
[003:318] [2022-07-25 00:15:32 +0000.317299][2702] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4
fileFD: -1
[003:318] [2022-07-25 00:15:32 +0000.317723][2702] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4
is opened successfully
[003:318] [2022-07-25 00:15:32 +0000.317745][2702] setupMediaProcessers:
[003:318] [2022-07-25 00:15:32 +0000.317760][2702]
RecordingSessionInternalSimple:setup media processers.
[003:318] [2022-07-25 00:15:32 +0000.317775][2702] construct AAC encoder
[003:318] [2022-07-25 00:15:32 +0000.317208][27b7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f874de498
[003:319] [2022-07-25 00:15:32 +0000.318372][2702] H264Encoder creating:
superfast011818
[003:320] [2022-07-25 00:15:32 +0000.319719][2702] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[003:322] [2022-07-25 00:15:32 +0000.321439][2702] H264Encode::GetMachineModel is
M2012K11AG
[003:322] [2022-07-25 00:15:32 +0000.321504][2702] H264Encoder machine_mode
is:M2012K11AG
[003:322] [2022-07-25 00:15:32 +0000.321542][2702] H264Encode::machine size :9
machine_mode:M2012K11AG
[003:322] [2022-07-25 00:15:32 +0000.321578][2702] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[003:322] [2022-07-25 00:15:32 +0000.321595][2702] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[003:322] [2022-07-25 00:15:32 +0000.321628][2702] setupCompressionSession:
[003:322] [2022-07-25 00:15:32 +0000.321664][2702] H264Encode::creating hareware
Encoder
[003:322] [2022-07-25 00:15:32 +0000.321701][2702] AndroidHwAvcEncoder
time:93901759 enter.

[003:323] [2022-07-25 00:15:32 +0000.322008][2702] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb40000705443f540 address:0x6e70b5c760
[003:323] [2022-07-25 00:15:32 +0000.322114][2702] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[003:323] [2022-07-25 00:15:32 +0000.322145][2702] The video avc hw codec address
is 0x6f8741fa48
[003:323] [2022-07-25 00:15:32 +0000.322211][2702] AndroidHwAvcEncoder leave.
expire time = 1 ms

[003:323] [2022-07-25 00:15:32 +0000.322240][2702] RegisterEncodeCompleteCallback


time:93901760 enter.

[003:323] [2022-07-25 00:15:32 +0000.322325][2702] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[003:323] [2022-07-25 00:15:32 +0000.322363][2702] InitEncode time:93901760 enter.

[003:323] [2022-07-25 00:15:32 +0000.322429][2702] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[003:323] [2022-07-25 00:15:32 +0000.322454][2702] Create time:93901760 enter.

[003:323] [2022-07-25 00:15:32 +0000.322473][2702] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[003:323] [2022-07-25 00:15:32 +0000.322571][2702]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x6f0c48cb80
[003:338] [2022-07-25 00:15:32 +0000.337111][2702]
supported_type:image/vnd.android.heic
[003:338] [2022-07-25 00:15:32 +0000.337191][2702] supported_type:video/avc
[003:338] [2022-07-25 00:15:32 +0000.337254][2702] name:OMX.qcom.video.encoder.avc
mime:video/avc
[003:338] [2022-07-25 00:15:32 +0000.337295][2702] hwCodecPrefix :OMX.qcom.
[003:338] [2022-07-25 00:15:32 +0000.337329][2702] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[003:338] [2022-07-25 00:15:32 +0000.337369][2702] mediacodec_createCodecByName
time:93901775 enter.
[003:338] [2022-07-25 00:15:32 +0000.337404][2702] WrapAndroidMediaCodec
time:93901775 enter.

[003:338] [2022-07-25 00:15:32 +0000.337568][2702] WrapAndroidMediaCodec leave.


expire time = 0 ms

[003:366] [2022-07-25 00:15:32 +0000.365260][2702] mediacodec_createCodecByName


leave. expire time = 28 ms

[003:366] [2022-07-25 00:15:32 +0000.365324][2702] WrapAndroidMediaFromat


time:93901803 enter.

[003:366] [2022-07-25 00:15:32 +0000.365402][2702] WrapAndroidMediaFromat leave.


expire time = 0 ms

[003:413] [2022-07-25 00:15:32 +0000.411876][2702] Destroy time:93901850 enter.

[003:413] [2022-07-25 00:15:32 +0000.412096][2702] WrapAndroidMediaFromat::


Destroy
[003:413] [2022-07-25 00:15:32 +0000.412151][2702] Destroy leave. expire time = 0
ms

[003:413] [2022-07-25 00:15:32 +0000.412188][2702] ~WrapAndroidMediaFromat


time:93901850 enter.

[003:413] [2022-07-25 00:15:32 +0000.412223][2702] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[003:413] [2022-07-25 00:15:32 +0000.412256][2702] Create leave. expire time = 90


ms

[003:413] [2022-07-25 00:15:32 +0000.412290][2702] isSemiPlanarSupport


time:93901850 enter.

[003:413] [2022-07-25 00:15:32 +0000.412325][2702] H264Encoder isSemiPlanarSupport


[003:413] [2022-07-25 00:15:32 +0000.412359][2702] isSemiPlanarSupport leave.
expire time = 0 ms

[003:413] [2022-07-25 00:15:32 +0000.412392][2702] creat hw H264Encoder success,


isSemiPlanar:1
[003:413] [2022-07-25 00:15:32 +0000.412508][2702] InitEncode leave. expire time =
90 ms

[003:413] [2022-07-25 00:15:32 +0000.412536][2702] H264Encode::created Encoder


[003:413] [2022-07-25 00:15:32 +0000.412553][2702] H264Encode:: H264 encoder
created.
[003:413] [2022-07-25 00:15:32 +0000.412592][2702] H264 encoder created.
[003:413] [2022-07-25 00:15:32 +0000.412609][2702]
RecordingSessionInternalSimple:created avc encoder avc: 0x6f0c3da240
[003:413] [2022-07-25 00:15:32 +0000.412645][2702] setOutput:
[003:413] [2022-07-25 00:15:32 +0000.412662][2702]
RecordingSessionInternalSimple:encoder set output to muxer!
[003:413] [2022-07-25 00:15:32 +0000.412677][2702] request a key frame
[003:413] [2022-07-25 00:15:32 +0000.412708][2702] H264Encode:: request a key frame
[003:414] [2022-07-25 00:15:32 +0000.413436][2702] setDisplayRotate :90
[003:414] [2022-07-25 00:15:32 +0000.413475][2702] 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
[003:414] [2022-07-25 00:15:32 +0000.413548][2703] StartRecording:
[003:414] [2022-07-25 00:15:32 +0000.413655][27a6] operator(): Set the recording
session in mic source. recording session: 0x6e9afe9b80
[003:414] [2022-07-25 00:15:32 +0000.413773][2703] operator() leave. expire time =
170 ms

[003:415] [2022-07-25 00:15:32 +0000.413858][27a5] AF_SpeedFilter audio


0x6e9afe9d00 PullFrame
[003:415] [2022-07-25 00:15:32 +0000.413903][27a5]
RecordAudioSource::PullAudioFrame
[003:415] [2022-07-25 00:15:32 +0000.413951][27a5] AF_SpeedFilter::PullFrame eof4
[003:417] [2022-07-25 00:15:32 +0000.416639][27a5]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[003:417] [2022-07-25 00:15:32 +0000.416698][27a5] AF_SpeedFilter audio time,
0x6e9afe9d00 rcv time: 93901843
[003:417] [2022-07-25 00:15:32 +0000.416720][27a5] AF_SpeedFilter audio time,
0x6e9afe9d00 rcv time: 93901843in_nSamples:441
[003:417] [2022-07-25 00:15:32 +0000.416790][27a5] resampled_data_size:0
[003:454] [2022-07-25 00:15:32 +0000.452881][2703]
MediaFilterCamera::NeedProcessTexture
[003:454] [2022-07-25 00:15:32 +0000.452932][2703] begine recode to first frame
spend time:210
[003:454] [2022-07-25 00:15:32 +0000.452954][2703] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x6e9afe9a00
[003:454] [2022-07-25 00:15:32 +0000.453015][2703] blur_distance_:0
[003:454] [2022-07-25 00:15:32 +0000.453033][2703] blur_direction_angle_:-90
[003:454] [2022-07-25 00:15:32 +0000.453055][2703]
GPUImageProcessing::SetOrientation orientation: 90
[003:454] [2022-07-25 00:15:32 +0000.453136][2703] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[003:455] [2022-07-25 00:15:32 +0000.453963][2703] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[003:455] [2022-07-25 00:15:32 +0000.453999][2703] GPUImageProcessing: input frame
width1920 X 1080
[003:455] [2022-07-25 00:15:32 +0000.454597][2703] drawYUV420 render
OpenGLRenderProgram:0x6eb1aec298
[003:456] [2022-07-25 00:15:32 +0000.455013][2703] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[003:456] [2022-07-25 00:15:32 +0000.455068][2703] CropFilter::OnVideoFrame
outputtexture :10
[003:456] [2022-07-25 00:15:32 +0000.455088][2703] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[003:457] [2022-07-25 00:15:32 +0000.455975][2703] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[003:496] [2022-07-25 00:15:32 +0000.495327][2703] drawYUV420 render
OpenGLRenderProgram:0x6eb1aec298
[003:494] [2022-07-25 00:15:32 +0000.493449][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[003:503] [2022-07-25 00:15:32 +0000.501926][2703] The convert RGB to YUV take 5
[003:503] [2022-07-25 00:15:32 +0000.502166][2703] FilterPipeline2::OnVideoFrame
pts 42 last_video_timestamp_ 42
[003:503] [2022-07-25 00:15:32 +0000.502227][2703]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[003:504] [2022-07-25 00:15:32 +0000.503318][27b6]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[003:504] [2022-07-25 00:15:32 +0000.503380][27b6] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[003:504] [2022-07-25 00:15:32 +0000.503403][27b6] push video frame to H264
encoder. (100 frame for one log)

[003:504] [2022-07-25 00:15:32 +0000.503422][27b6] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[003:504] [2022-07-25 00:15:32 +0000.503439][27b6] H264Encode::push video frame to


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

[003:504] [2022-07-25 00:15:32 +0000.503455][27b6] Push an pts:0 to dts queue.


[003:504] [2022-07-25 00:15:32 +0000.503481][27b6] DTS queue for
Generator:0x6f874de6b8 0
[003:504] [2022-07-25 00:15:32 +0000.503495][27b6] The input pts:0 fps:30
[003:506] [2022-07-25 00:15:32 +0000.505073][27b6]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[003:514] [2022-07-25 00:15:32 +0000.513308][27a5] AF_SpeedFilter audio time 222,
0x6e9afe9d00 out time: 93901843 org time: 93901843
[003:514] [2022-07-25 00:15:32 +0000.513377][27a5] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[003:514] [2022-07-25 00:15:32 +0000.513417][27a5]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 93901843
[003:514] [2022-07-25 00:15:32 +0000.513453][27a5]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[003:514] [2022-07-25 00:15:32 +0000.513510][27a5] AF_SpeedFilter audio time
[003:514] [2022-07-25 00:15:32 +0000.513546][27a5] AF_SpeedFilter audio time 111,
0x6e9afe9d00 out time: 93901853 org time: 93901853
[003:517] [2022-07-25 00:15:32 +0000.516397][27b5]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:2
[003:517] [2022-07-25 00:15:32 +0000.516742][27b7] add aac audio track with id:1
[003:524] [2022-07-25 00:15:32 +0000.522882][2703] drawYUV420 render
OpenGLRenderProgram:0x6eb1aec298
[003:567] [2022-07-25 00:15:32 +0000.566762][27b6] h264 add frame header cdr flag
[003:568] [2022-07-25 00:15:32 +0000.567615][27b6] h264 add frame header cdr flag
[003:569] [2022-07-25 00:15:32 +0000.568073][27b6] SendFrame
encodedImage._timeStamp:0encodedImage->_length:304656
[003:569] [2022-07-25 00:15:32 +0000.568143][27b6] Received key frame:0
[003:569] [2022-07-25 00:15:32 +0000.568172][27b6] last dts:0 currentPts:0
ppsOrSPS:0 queue length:3
[003:569] [2022-07-25 00:15:32 +0000.568211][27b6] H264Encode::H264SWEncoder get
callback, length:304656 type:0 nalType:7length:19
[003:569] [2022-07-25 00:15:32 +0000.568244][27b6] H264Encode:: get a sps pps
header!headerSize:32
[003:569] [2022-07-25 00:15:32 +0000.568280][27b6] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[003:569] [2022-07-25 00:15:32 +0000.568361][27b7] get the H.264 SPS parameter
[003:569] [2022-07-25 00:15:32 +0000.568515][27b7] add video track with id:2
[003:570] [2022-07-25 00:15:32 +0000.569617][27b7] get the H.264 PPS parameter
[003:571] [2022-07-25 00:15:32 +0000.570005][27b7] get the H.264 IDR frame
[003:571] [2022-07-25 00:15:32 +0000.570040][27b7] resss:true
[003:571] [2022-07-25 00:15:32 +0000.570056][27b7] video start ts:0
[003:571] [2022-07-25 00:15:32 +0000.570116][27b7] the video frame has been written
into MP4 file
[003:598] [2022-07-25 00:15:32 +0000.597411][27b7] audio start ts:0
[003:598] [2022-07-25 00:15:32 +0000.597479][27b7] the audio frame has been written
into MP4 file
[003:957] [2022-07-25 00:15:32 +0000.956609][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[003:993] [2022-07-25 00:15:32 +0000.991912][2703] The convert RGB to YUV take 3
[004:072] [2022-07-25 00:15:33 +0000.71086][26fe]
monitorTime:4004totalDuration:3940
[004:146] [2022-07-25 00:15:33 +0000.145809][2707] Run AGC when audioType = 0
[004:147] [2022-07-25 00:15:33 +0000.145881][2707]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:256] [2022-07-25 00:15:33 +0000.254962][27a6] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:329] [2022-07-25 00:15:33 +0000.328142][27b6] DTS queue for
Generator:0x6f874de6b8 791 826
[004:451] [2022-07-25 00:15:33 +0000.450569][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[004:497] [2022-07-25 00:15:33 +0000.495879][2703] The convert RGB to YUV take 4
[004:836] [2022-07-25 00:15:33 +0000.835309][27b6] Push an pts:1327 to dts queue.
[004:863] [2022-07-25 00:15:33 +0000.861862][27b6] last dts:1286 currentPts:1327
ppsOrSPS:0 queue length:2
[004:957] [2022-07-25 00:15:33 +0000.956504][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[004:994] [2022-07-25 00:15:33 +0000.993612][27a5] AF_SpeedFilter audio
0x6e9afe9d00 PullFrame
[004:995] [2022-07-25 00:15:33 +0000.994469][2703] The convert RGB to YUV take 5
[005:166] [2022-07-25 00:15:34 +0000.165576][27b6] DTS queue for
Generator:0x6f874de6b8 1622 1659
[005:226] [2022-07-25 00:15:34 +0000.225167][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[005:256] [2022-07-25 00:15:34 +0000.255351][27a6] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[005:257] [2022-07-25 00:15:34 +0000.255933][27a5]
RecordAudioSource::PullAudioFrame
[005:454] [2022-07-25 00:15:34 +0000.453046][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:496] [2022-07-25 00:15:34 +0000.495317][2703] The convert RGB to YUV take 8
[005:520] [2022-07-25 00:15:34 +0000.518947][2703] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[005:529] [2022-07-25 00:15:34 +0000.527993][27b6] h264 add frame header cdr flag
[005:529] [2022-07-25 00:15:34 +0000.528164][27b6] Received key frame:1993
[005:566] [2022-07-25 00:15:34 +0000.565308][27b7] get the H.264 IDR frame
[005:674] [2022-07-25 00:15:34 +0000.673279][27a5] resampled_data_size:7168
[005:697] [2022-07-25 00:15:34 +0000.696292][27a5] AF_SpeedFilter::PullFrame eof4
[005:699] [2022-07-25 00:15:34 +0000.698452][27a5]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[005:861] [2022-07-25 00:15:34 +0000.860537][27b5]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:5
[005:951] [2022-07-25 00:15:34 +0000.950675][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:963] [2022-07-25 00:15:34 +0000.961838][27b6] DTS queue for
Generator:0x6f874de6b8 2456
[005:986] [2022-07-25 00:15:34 +0000.985725][2703] The convert RGB to YUV take 3
[006:149] [2022-07-25 00:15:35 +0000.147871][2707] Run AGC when audioType = 0
[006:152] [2022-07-25 00:15:35 +0000.151184][27b6] Push an pts:2651 to dts queue.
[006:195] [2022-07-25 00:15:35 +0000.194018][27b6] last dts:2623 currentPts:2651
ppsOrSPS:0 queue length:2
[006:256] [2022-07-25 00:15:35 +0000.255485][27a6] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:450] [2022-07-25 00:15:35 +0000.449305][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:484] [2022-07-25 00:15:35 +0000.483450][2703] The convert RGB to YUV take 3
[006:614] [2022-07-25 00:15:35 +0000.612886][27a5] AF_SpeedFilter audio
0x6e9afe9d00 PullFrame
[006:755] [2022-07-25 00:15:35 +0000.754684][2703] drawYUV420 render
OpenGLRenderProgram:0x6eb1aec298
[006:788] [2022-07-25 00:15:35 +0000.787583][27b6] DTS queue for
Generator:0x6f874de6b8 3285
[006:817] [2022-07-25 00:15:35 +0000.816260][2703] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[006:817] [2022-07-25 00:15:35 +0000.816339][2703] GPUImageProcessing: input frame
width1920 X 1080
[006:817] [2022-07-25 00:15:35 +0000.816682][2703] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[006:817] [2022-07-25 00:15:35 +0000.816731][2703] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[006:821] [2022-07-25 00:15:35 +0000.820563][27b6]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3320
[006:825] [2022-07-25 00:15:35 +0000.824727][27b6] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3285 pts:3285
[006:860] [2022-07-25 00:15:35 +0000.859667][27b6] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3359
[006:860] [2022-07-25 00:15:35 +0000.859747][27b6] push video frame to H264
encoder. (100 frame for one log)

[006:860] [2022-07-25 00:15:35 +0000.859786][27b6] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[006:861] [2022-07-25 00:15:35 +0000.859818][27b6] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3359(100 frame for one
log)

[006:861] [2022-07-25 00:15:35 +0000.859856][27b6] The input pts:3359 fps:30


[006:862] [2022-07-25 00:15:35 +0000.861273][27b6] SendFrame
encodedImage._timeStamp:3320encodedImage->_length:29792
[006:894] [2022-07-25 00:15:35 +0000.893390][27b6] H264Encode::H264SWEncoder get
callback, length:33296 type:1 nalType:1length:33292
[006:949] [2022-07-25 00:15:35 +0000.948333][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[006:954] [2022-07-25 00:15:35 +0000.953482][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:990] [2022-07-25 00:15:35 +0000.989826][2703] The convert RGB to YUV take 3
[007:154] [2022-07-25 00:15:36 +0000.152827][27a5]
RecordAudioSource::PullAudioFrame
[007:256] [2022-07-25 00:15:36 +0000.255564][27a6] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[007:458] [2022-07-25 00:15:36 +0000.457305][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[007:458] [2022-07-25 00:15:36 +0000.457658][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:462] [2022-07-25 00:15:36 +0000.461475][2703] operator(): Stop
[007:462] [2022-07-25 00:15:36 +0000.461520][2703] StopPullFrameAndWriteMp4
time:93905899 enter.

[007:462] [2022-07-25 00:15:36 +0000.461539][2703] StopRecording:


[007:464] [2022-07-25 00:15:36 +0000.463219][27a5] resampled_data_size:512
[007:464] [2022-07-25 00:15:36 +0000.463257][27a5] AF_SpeedFilter audio time 222,
0x6e9afe9d00 out time: 93905893 org time: 93905893
[007:464] [2022-07-25 00:15:36 +0000.463308][27a5] PullAudioFrame: PullFrame audio
finished.
[007:464] [2022-07-25 00:15:36 +0000.463365][27a5]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[007:467] [2022-07-25 00:15:36 +0000.466667][27b6]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:120
[007:468] [2022-07-25 00:15:36 +0000.467428][2702] stop recording
[007:468] [2022-07-25 00:15:36 +0000.467461][2702]
RecordingSessionInternalSimple:destroy media processers
[007:468] [2022-07-25 00:15:36 +0000.467480][2702] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[007:468] [2022-07-25 00:15:36 +0000.467496][2702] H264Encode::flushing hareware
Encoder
[007:468] [2022-07-25 00:15:36 +0000.467606][2702] Flush time:93905905 enter.

[007:468] [2022-07-25 00:15:36 +0000.467634][2702] H264Encoder encoder flush


[007:468] [2022-07-25 00:15:36 +0000.467651][2702] flush output queue
[007:787] [2022-07-25 00:15:36 +0000.786614][2702] Flush leave. expire time = 319
ms

[007:788] [2022-07-25 00:15:36 +0000.787026][2702] ~H264EncodeWrap:


[007:788] [2022-07-25 00:15:36 +0000.787183][2702] ~H264Encode:
[007:788] [2022-07-25 00:15:36 +0000.787253][2702] teardownCompressionSession:
H264Encode::destroying Encoder
[007:788] [2022-07-25 00:15:36 +0000.787377][2702] Release time:93906225 enter.

[007:789] [2022-07-25 00:15:36 +0000.787800][2702] Release:


MediaCodecVideoEncoder::Release _inited:1
[007:789] [2022-07-25 00:15:36 +0000.787854][2702] Destroy time:93906226 enter.

[007:789] [2022-07-25 00:15:36 +0000.787890][2702] H264Encoder encoderDestroy


[007:789] [2022-07-25 00:15:36 +0000.787967][2702]
AndroidMediaCodecVideoEncoder::release env: 0x6f0c3da380
[007:790] [2022-07-25 00:15:36 +0000.788812][2702]
AndroidMediaCodecVideoEncoder::Destroy
[007:827] [2022-07-25 00:15:36 +0000.826751][2702] Destroy leave. expire time = 38
ms

[007:828] [2022-07-25 00:15:36 +0000.826887][2702] Release leave. expire time = 40


ms

[007:828] [2022-07-25 00:15:36 +0000.826917][2702] ~AndroidHwAvcEncoder


time:93906265 enter.

[007:828] [2022-07-25 00:15:36 +0000.827035][2702] Release time:93906265 enter.

[007:828] [2022-07-25 00:15:36 +0000.827062][2702] Release:


MediaCodecVideoEncoder:: has been released before, just return
[007:828] [2022-07-25 00:15:36 +0000.827106][2702] Release leave. expire time = 0
ms

[007:828] [2022-07-25 00:15:36 +0000.827123][2702] ~AndroidMediaCodecVideoEncoder


[007:828] [2022-07-25 00:15:36 +0000.827138][2702] ~WrapAndroidMediaCodec
time:93906265 enter.

[007:828] [2022-07-25 00:15:36 +0000.827152][2702] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[007:828] [2022-07-25 00:15:36 +0000.827168][2702] video hevc hw codec


destructor:0x6f8741fa48

[007:828] [2022-07-25 00:15:36 +0000.827232][2702] ~AndroidHwAvcEncoder leave.


expire time = 0 ms
[007:828] [2022-07-25 00:15:36 +0000.827261][2702] teardownCompressionSession:
H264Encode::destroyed Encoder
[007:828] [2022-07-25 00:15:36 +0000.827280][2702]
RecordingSessionInternalSimple:destroy aac encoder output!
[007:828] [2022-07-25 00:15:36 +0000.827296][2702] AACSWEncode destructor
[007:837] [2022-07-25 00:15:36 +0000.836468][27b7] MP4 close file successfully
[007:837] [2022-07-25 00:15:36 +0000.836588][27b7] Recording session Internal:
notify recording ok
[007:837] [2022-07-25 00:15:36 +0000.836669][27b7] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4,
output_video_timestamp_:3960 last_video_pts_:3960
[007:837] [2022-07-25 00:15:36 +0000.836735][27b7] OnRecordFinish:
[007:839] [2022-07-25 00:15:36 +0000.838101][27b7] onRecordingOk: net seek
pos:0record video duration:3993record audio duration:3970
[007:839] [2022-07-25 00:15:36 +0000.838465][27a6] destructMicSource_w:
[007:839] [2022-07-25 00:15:36 +0000.838498][27a6] setOutput_w:
MicSource::setOutput() 0x0
[007:839] [2022-07-25 00:15:36 +0000.838520][27a6] close external audio stream

[007:839] [2022-07-25 00:15:36 +0000.838592][2703] releaseThread 0x6e9afe9400


[007:839] [2022-07-25 00:15:36 +0000.838622][2703] ~MicSource: Mic source
destroyed:0x6eb1aa9680
[007:840] [2022-07-25 00:15:36 +0000.839017][2703] StopPullFrameAndWriteMp4 leave.
expire time = 378 ms

[007:840] [2022-07-25 00:15:36 +0000.839043][2703] DestroyPipelineAndFilters


time:93906277 enter.

[007:840] [2022-07-25 00:15:36 +0000.839089][2703] UnbindInputFilter 0x6e9afe9b40


this 0x6eb1aec4c0
[007:840] [2022-07-25 00:15:36 +0000.839116][2703] UnbindInputFilter 0x6e9afe9cd8
this 0x6e9afe9e50
[007:840] [2022-07-25 00:15:36 +0000.839150][2703] UnbindInputFilter 0x6eb1aec4c0
this 0x6e9afd8ce0
[007:840] [2022-07-25 00:15:36 +0000.839168][2703] filter: filter pipeline destroy
this: 0x6e9afd8c40
[007:840] [2022-07-25 00:15:36 +0000.839294][2703] ClearVideoOfSources: recodring
total frames:0
[007:840] [2022-07-25 00:15:36 +0000.839323][2703] ClearVideoOfSources:
[007:840] [2022-07-25 00:15:36 +0000.839341][2703] GPUImageProcessing destruct.
[007:840] [2022-07-25 00:15:36 +0000.839394][2703] destroy TrivalImageDrawer
0x6ea7044480
[007:840] [2022-07-25 00:15:36 +0000.839419][2703] The shader has been initialize,
clean up them.

[007:840] [2022-07-25 00:15:36 +0000.839475][2703] ~OpenGLFrameBuffer:


[007:840] [2022-07-25 00:15:36 +0000.839553][2703] ~OpenGLFrameBuffer:
[007:840] [2022-07-25 00:15:36 +0000.839612][2703] ~OpenGLFrameBuffer:
[007:840] [2022-07-25 00:15:36 +0000.839663][2703] ~OpenGLFrameBuffer:
[007:840] [2022-07-25 00:15:36 +0000.839711][2703] ~OpenGLFrameBuffer:
[007:840] [2022-07-25 00:15:36 +0000.839762][2703] ~OpenGLFrameBuffer:
[007:841] [2022-07-25 00:15:36 +0000.839920][2703] GPUImageProcessing destruct
finish.
[007:841] [2022-07-25 00:15:36 +0000.839953][2703] GPURGBAFrame destruct.
[007:841] [2022-07-25 00:15:36 +0000.839982][2703] destroy OpenGLRenderProgram
0x6eb1aec298
[007:841] [2022-07-25 00:15:36 +0000.840001][2703] ~CameraSource time:93906278
enter.

[007:841] [2022-07-25 00:15:36 +0000.840016][2703] ~CameraSource leave. expire


time = 0 ms

[007:841] [2022-07-25 00:15:36 +0000.840034][2703] ~RecordAudioSource time:93906278


enter.

[007:841] [2022-07-25 00:15:36 +0000.840048][2703] ~RecordAudioSource leave.


expire time = 0 ms

[007:841] [2022-07-25 00:15:36 +0000.840064][2703] DestroyPipelineAndFilters


leave. expire time = 1 ms

[007:852] [2022-07-25 00:15:36 +0000.851423][ebb]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[007:853] [2022-07-25 00:15:36 +0000.852028][ebb] machine model :poco
[007:853] [2022-07-25 00:15:36 +0000.852069][ebb] Support this machine model :poco
[007:853] [2022-07-25 00:15:36 +0000.852087][ebb] global inited! current sdk
version: 07-20-936c45f
[007:853] [2022-07-25 00:15:36 +0000.852249][ebb] filter: filter pipeline construtc
this: 0x6e80edd780
[007:853] [2022-07-25 00:15:36 +0000.852281][ebb] MediaFilterGraph:
MediaFilterGraph construct
[007:853] [2022-07-25 00:15:36 +0000.852300][ebb] GLESContext:
[007:853] [2022-07-25 00:15:36 +0000.852337][ebb] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[007:854] [2022-07-25 00:15:36 +0000.853482][ebb] The result of creation:
0x6ea6f3a480
[007:854] [2022-07-25 00:15:36 +0000.853579][ebb] The result of
eglCreatePbufferSurface is: 0x6ea6efbd00
[007:857] [2022-07-25 00:15:36 +0000.856239][ebb] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4
[007:857] [2022-07-25 00:15:36 +0000.856315][ebb] The source 0 speed:1
[007:857] [2022-07-25 00:15:36 +0000.856341][ebb] AddVideoSource: add video source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4,
delay: 0
[007:857] [2022-07-25 00:15:36 +0000.856643][ebb] CreateDecoderByVideoSource
time:93906294 enter.

[007:858] [2022-07-25 00:15:36 +0000.856911][ebb] running_decoder_count:0max


count:2
[007:858] [2022-07-25 00:15:36 +0000.856933][ebb] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x6eb1b8bc00
[007:875] [2022-07-25 00:15:36 +0000.874130][27fb] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6e80812400] Current FFmpeg version git-2021-06-16-
97cea6f

[007:924] [2022-07-25 00:15:36 +0000.923133][27fb] OnStreamInfoFound: video


duration_: 3993
[007:925] [2022-07-25 00:15:36 +0000.924102][ebb] start decoder
[007:925] [2022-07-25 00:15:36 +0000.924168][ebb] CreateDecoderByVideoSource
leave. expire time = 68 ms

[007:925] [2022-07-25 00:15:36 +0000.924237][ebb] BindInputFilter 0x6e80753620


this 0x6e9b331e98
[007:925] [2022-07-25 00:15:36 +0000.924278][ebb] BindInputFilter 0x6e9b331e98
this 0x6e9b332018
[007:925] [2022-07-25 00:15:36 +0000.924333][ebb] BindInputFilter 0x6e80753620
this 0x6e9b332318
[007:925] [2022-07-25 00:15:36 +0000.924386][ebb] BindInputFilter 0x6e9b332318
this 0x6ea6d9c4d8
[007:925] [2022-07-25 00:15:36 +0000.924417][ebb] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4
[007:925] [2022-07-25 00:15:36 +0000.924472][ebb] BindInputFilter 0x6e9b332018
this 0x6ea6d9c598
[007:925] [2022-07-25 00:15:36 +0000.924515][ebb] BindInputFilter 0x6ea6d9c598
this 0x6e80edd820
[007:925] [2022-07-25 00:15:36 +0000.924558][ebb] BindInputFilter 0x6ea6d9c4d8
this 0x6ea6d9c658
[007:925] [2022-07-25 00:15:36 +0000.924600][ebb] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4
[007:927] [2022-07-25 00:15:36 +0000.925916][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[007:927] [2022-07-25 00:15:36 +0000.926224][ebb] machine model :poco
[007:927] [2022-07-25 00:15:36 +0000.926244][ebb] Support this machine model :poco
[007:927] [2022-07-25 00:15:36 +0000.926288][ebb] global inited! current sdk
version: 07-20-936c45f
[007:927] [2022-07-25 00:15:36 +0000.926349][ebb] GetPipeline:
-----------------------------------------
[007:927] [2022-07-25 00:15:36 +0000.926350][27fc] NO get frame from decoder
[007:927] [2022-07-25 00:15:36 +0000.926365][ebb] GetPipeline: source: 0x6e80753400
[007:927] [2022-07-25 00:15:36 +0000.926420][ebb] GetPipeline: filter: NULLFilter
[007:927] [2022-07-25 00:15:36 +0000.926434][ebb] GetPipeline: filter: NULLFilter
[007:927] [2022-07-25 00:15:36 +0000.926449][ebb] GetPipeline: filter: NULLFilter
[007:927] [2022-07-25 00:15:36 +0000.926462][ebb] GetPipeline: audio filter:
AuidoNULLFilter
[007:927] [2022-07-25 00:15:36 +0000.926475][ebb] GetPipeline: audio filter:
AuidoNULLFilter
[007:927] [2022-07-25 00:15:36 +0000.926488][ebb] GetPipeline: audio filter:
AudioNUllFilter
[007:927] [2022-07-25 00:15:36 +0000.926501][ebb] GetPipeline:
------------------------------------------
[007:927] [2022-07-25 00:15:36 +0000.926516][ebb] filter: filter pipeline2 update
pattern: 0
[007:927] [2022-07-25 00:15:36 +0000.926667][ebb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[007:927] [2022-07-25 00:15:36 +0000.926770][ebb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[007:928] [2022-07-25 00:15:36 +0000.926794][ebb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[007:928] [2022-07-25 00:15:36 +0000.926932][ebb] DeviceInit:
[007:928] [2022-07-25 00:15:36 +0000.927125][ebb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[007:928] [2022-07-25 00:15:36 +0000.927359][ebb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[007:928] [2022-07-25 00:15:36 +0000.927554][ebb] CreatePlatformSpecificObjects:
[007:928] [2022-07-25 00:15:36 +0000.927610][ebb] audio device use null audio
input and opensl output
[007:928] [2022-07-25 00:15:36 +0000.927628][ebb] Create OpenSLES output module
with java VM support.

[007:928] [2022-07-25 00:15:36 +0000.927722][ebb] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[007:929] [2022-07-25 00:15:36 +0000.927831][ebb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[007:929] [2022-07-25 00:15:36 +0000.928007][ebb] Create OpenSLES output module
with buffer num:2

[007:929] [2022-07-25 00:15:36 +0000.928043][ebb] Error(trace.cc:40): Init the


output and input for audio device template.
[007:929] [2022-07-25 00:15:36 +0000.928116][ebb] Init the output device.

[007:929] [2022-07-25 00:15:36 +0000.928134][ebb] Set the playout as stereo:1


[007:929] [2022-07-25 00:15:36 +0000.928165][ebb] Set the sample rate to be:44100

[007:929] [2022-07-25 00:15:36 +0000.928210][ebb] Low latency buffer size:144 low


sample rate:48000
[007:929] [2022-07-25 00:15:36 +0000.928234][ebb] DeviceInit: Done
[007:929] [2022-07-25 00:15:36 +0000.928292][27fc] NO get frame from decoder
[007:929] [2022-07-25 00:15:36 +0000.928386][ebb] UpdateRate: lipsync_debug: Update
framerate from 0 to 15
[007:929] [2022-07-25 00:15:36 +0000.928614][2806] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e9af8dd18
[007:930] [2022-07-25 00:15:36 +0000.929181][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[007:930] [2022-07-25 00:15:36 +0000.929252][ebb]
MediaFilterPlayer::SetPlayerNotify 0x6e9afbed00
[007:930] [2022-07-25 00:15:36 +0000.929676][ebb]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[007:930] [2022-07-25 00:15:36 +0000.929703][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[007:931] [2022-07-25 00:15:36 +0000.930293][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[007:931] [2022-07-25 00:15:36 +0000.930755][ebb] SetGraphLoop: SetGraphLoop 1
[007:931] [2022-07-25 00:15:36 +0000.930749][27fc] NO get frame from decoder
[007:932] [2022-07-25 00:15:36 +0000.930807][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[007:932] [2022-07-25 00:15:36 +0000.931231][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[007:933] [2022-07-25 00:15:36 +0000.931854][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[007:933] [2022-07-25 00:15:36 +0000.932400][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[007:934] [2022-07-25 00:15:36 +0000.933142][2808] Start:
[007:934] [2022-07-25 00:15:36 +0000.933306][2807] operator(): video render
started.
[007:934] [2022-07-25 00:15:36 +0000.933358][2807] DriveRender working... (1/200)
[007:934] [2022-07-25 00:15:36 +0000.933391][2807] Warning(video_render.cc:390): No
picture to display (1/50)
[007:934] [2022-07-25 00:15:36 +0000.933466][2808] Start:
[007:934] [2022-07-25 00:15:36 +0000.933571][2808] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[007:935] [2022-07-25 00:15:36 +0000.934029][2808] Reset: history total size: 98
[007:935] [2022-07-25 00:15:36 +0000.934082][2808] DeviceStart:
audioDevice_:0x6eb1d01000
[007:935] [2022-07-25 00:15:36 +0000.934115][2808] DeviceStart: time profile
playout init before
[007:935] [2022-07-25 00:15:36 +0000.934153][2808] DeviceStart: time profile
playout init end
[007:935] [2022-07-25 00:15:36 +0000.934181][2808] OpenSlesOutput:Start playout

[007:938] [2022-07-25 00:15:36 +0000.937012][27fc] NO get frame from decoder


[007:939] [2022-07-25 00:15:36 +0000.938125][2808] Create the opensl output player.
streamtype before:0

[007:939] [2022-07-25 00:15:36 +0000.938168][2808] Create the opensl output player.


streamtype after:3

[007:941] [2022-07-25 00:15:36 +0000.940787][27fc] NO get frame from decoder


[007:953] [2022-07-25 00:15:36 +0000.952723][27fc] NO get frame from decoder
[007:960] [2022-07-25 00:15:36 +0000.959532][27fc] NO get frame from decoder
[007:964] [2022-07-25 00:15:36 +0000.963212][27fc] NO get frame from decoder
[008:004] [2022-07-25 00:15:37 +0000.3521][2808] Enqueue opensl buffer size:1764
[008:032] [2022-07-25 00:15:37 +0000.31331][2808] DeviceStart: time profile playout
all end
[008:032] [2022-07-25 00:15:37 +0000.31388][2808] operator(): Audio playback
started.
[008:032] [2022-07-25 00:15:37 +0000.31396][280b]
PlayerSimpleBufferQueueCallbackHandler function
[008:032] [2022-07-25 00:15:37 +0000.31456][2808] operator(): Started now!
[008:032] [2022-07-25 00:15:37 +0000.31472][2809] Pull audio failed.(wait video!)
[008:032] [2022-07-25 00:15:37 +0000.31565][2809]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[008:032] [2022-07-25 00:15:37 +0000.31635][280a] Error(video_source.cc:430): wait
decoder a frame: 0
[008:034] [2022-07-25 00:15:37 +0000.33345][280a] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[008:035] [2022-07-25 00:15:37 +0000.33875][280b] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[008:035] [2022-07-25 00:15:37 +0000.33946][280b]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[008:036] [2022-07-25 00:15:37 +0000.34907][2809] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[008:036] [2022-07-25 00:15:37 +0000.34972][2809] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[008:036] [2022-07-25 00:15:37 +0000.35150][2809] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[008:036] [2022-07-25 00:15:37 +0000.35553][2809]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[008:037] [2022-07-25 00:15:37 +0000.36114][2809] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[008:037] [2022-07-25 00:15:37 +0000.36267][2809]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[008:038] [2022-07-25 00:15:37 +0000.36824][2809] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[008:038] [2022-07-25 00:15:37 +0000.36978][2809]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[008:038] [2022-07-25 00:15:37 +0000.37537][2809] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[008:038] [2022-07-25 00:15:37 +0000.37682][2809]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[008:039] [2022-07-25 00:15:37 +0000.38287][2809] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[008:039] [2022-07-25 00:15:37 +0000.38436][2809]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[008:039] [2022-07-25 00:15:37 +0000.38686][280a] OnVideoFrameReady(1/200)
[008:040] [2022-07-25 00:15:37 +0000.38815][2807] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[008:040] [2022-07-25 00:15:37 +0000.38980][2809] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[008:040] [2022-07-25 00:15:37 +0000.39122][2809]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[008:040] [2022-07-25 00:15:37 +0000.39665][2809] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[008:041] [2022-07-25 00:15:37 +0000.39821][2809]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[008:041] [2022-07-25 00:15:37 +0000.40372][2809] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[008:041] [2022-07-25 00:15:37 +0000.40524][2809]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[008:042] [2022-07-25 00:15:37 +0000.40808][2807] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:93906479
[008:042] [2022-07-25 00:15:37 +0000.41065][2809] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[008:042] [2022-07-25 00:15:37 +0000.41218][2809]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[008:042] [2022-07-25 00:15:37 +0000.41574][2808] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[008:042] [2022-07-25 00:15:37 +0000.41650][2808] The audio playback speed:100
(1/100)
[008:042] [2022-07-25 00:15:37 +0000.41681][2808] lipsync_debug: The current played
audio timestamp is:0(1/50)
[008:043] [2022-07-25 00:15:37 +0000.41858][2808] First audio frame rendering
[008:042] [2022-07-25 00:15:37 +0000.41784][2809] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[008:061] [2022-07-25 00:15:37 +0000.60536][2807] lipsync_debug: render a video
frame
[008:061] [2022-07-25 00:15:37 +0000.60634][2807] lipsync_debug: First video frame
rendering.
[008:071] [2022-07-25 00:15:37 +0000.70239][2807] lipsync_debug:lipsync_threadhold:
lipsync_delta:0 tsDelta:16 timeDelta:29 last video ts:900 frame->pts:2340 pkt_dts:-
9223372036854775808 pkt_pts:-9223372036854775808
[008:071] [2022-07-25 00:15:37 +0000.70335][2807] lipsync_debug: tsDelta -
timeDelta = -13
[008:071] [2022-07-25 00:15:37 +0000.70356][2807] lipsync_debug:result remaining
time:0
[008:071] [2022-07-25 00:15:37 +0000.70373][2807] dynamic updated lipsync delay:0
[008:083] [2022-07-25 00:15:37 +0000.81916][2807] lipsync_debug:remaining time:10
tsDelta - timeDelta:6
[008:083] [2022-07-25 00:15:37 +0000.82076][2807] lipsync_debug:result remaining
time:6
[008:131] [2022-07-25 00:15:37 +0000.129933][280a] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1992 diff: 9
[008:147] [2022-07-25 00:15:37 +0000.146522][2707] Run AGC when audioType = 0
[008:147] [2022-07-25 00:15:37 +0000.146593][2707]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:161] [2022-07-25 00:15:37 +0000.160097][280a] video frame wait audio frame:
last_video_timestamp:324 last_audio_timestamp:207.937
[008:161] [2022-07-25 00:15:37 +0000.160161][280a]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[008:218] [2022-07-25 00:15:37 +0000.217200][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[008:220] [2022-07-25 00:15:37 +0000.219563][2808] Stop:
[008:221] [2022-07-25 00:15:37 +0000.219907][2807] operator(): Video Render
stopped.
[008:224] [2022-07-25 00:15:37 +0000.223315][2808] Stop:
[008:225] [2022-07-25 00:15:37 +0000.224283][2808] DeviceStop:
audioDevice_:0x6eb1d01000
[008:225] [2022-07-25 00:15:37 +0000.224344][2808] OpenSlesOutput:Stop playout

[008:227] [2022-07-25 00:15:37 +0000.225946][2808] DeviceStop: Done


[008:227] [2022-07-25 00:15:37 +0000.226099][2808] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[008:227] [2022-07-25 00:15:37 +0000.226141][2808] operator(): Stop now!
[008:280] [2022-07-25 00:15:37 +0000.279728][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[008:281] [2022-07-25 00:15:37 +0000.279890][ebb] StopPreView: Have Stopped,
operation cancel
[008:281] [2022-07-25 00:15:37 +0000.279922][ebb] Stop:
[008:281] [2022-07-25 00:15:37 +0000.280446][2808] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[008:282] [2022-07-25 00:15:37 +0000.280970][ebb] DeviceRelease:
audioDevice_:0x6eb1d01000
[008:282] [2022-07-25 00:15:37 +0000.281001][ebb] OpenSlesOutput:Stop playout

[008:282] [2022-07-25 00:15:37 +0000.281029][ebb] DeviceRelease: Release the webrtc


device object.
[008:282] [2022-07-25 00:15:37 +0000.281709][ebb] OpenSlesOutput destruct.

[008:282] [2022-07-25 00:15:37 +0000.281773][ebb] DeviceRelease: Done


[008:283] [2022-07-25 00:15:37 +0000.281867][ebb] Stop:
[008:283] [2022-07-25 00:15:37 +0000.282017][2807] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[008:286] [2022-07-25 00:15:37 +0000.285109][ebb] global uninited!
[008:288] [2022-07-25 00:15:37 +0000.287131][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[008:288] [2022-07-25 00:15:37 +0000.287320][ebb] ~MediaFilterGraph:
MediaFilterGraph destruct
[008:288] [2022-07-25 00:15:37 +0000.287367][ebb] RemoveVideoBackGroud: hava not
add video backgroud
[008:288] [2022-07-25 00:15:37 +0000.287432][ebb] UnbindInputFilter 0x6ea6d9c598
this 0x6e80edd820
[008:288] [2022-07-25 00:15:37 +0000.287489][ebb] ClearAllSource: remove source
filter, sourceid: 0x6e80753400
[008:288] [2022-07-25 00:15:37 +0000.287525][ebb] DestoryDecoderByVideoSource
time:93906725 enter.

[008:288] [2022-07-25 00:15:37 +0000.287567][ebb] ~VideoBindDecoder time:93906725


enter.

[008:289] [2022-07-25 00:15:37 +0000.288053][ebb] CleanUp time:93906726 enter.

[008:312] [2022-07-25 00:15:37 +0000.311425][ebb] CleanUp leave. expire time = 23


ms

[008:312] [2022-07-25 00:15:37 +0000.311522][ebb] CleanUp time:93906749 enter.

[008:313] [2022-07-25 00:15:37 +0000.311801][ebb] CleanUp leave. expire time = 1


ms

[008:313] [2022-07-25 00:15:37 +0000.312264][ebb] ~VideoBindDecoder leave. expire


time = 25 ms

[008:313] [2022-07-25 00:15:37 +0000.312300][ebb] DestoryDecoderByVideoSource


leave. expire time = 25 ms
[008:313] [2022-07-25 00:15:37 +0000.312331][ebb] UnbindInputFilter 0x6e9b332018
this 0x6ea6d9c598
[008:313] [2022-07-25 00:15:37 +0000.312388][ebb] UnbindInputFilter 0x6e9b331e98
this 0x6e9b332018
[008:313] [2022-07-25 00:15:37 +0000.312411][ebb] UnbindInputFilter 0x6e80753620
this 0x6e9b331e98
[008:313] [2022-07-25 00:15:37 +0000.312455][ebb] UnbindInputFilter 0x6ea6d9c4d8
this 0x6ea6d9c658
[008:313] [2022-07-25 00:15:37 +0000.312494][ebb] UnbindInputFilter 0x6e9b332318
this 0x6ea6d9c4d8
[008:313] [2022-07-25 00:15:37 +0000.312516][ebb] UnbindInputFilter 0x6e80753620
this 0x6e9b332318
[008:314] [2022-07-25 00:15:37 +0000.313430][ebb] ~GLESContext:
[008:315] [2022-07-25 00:15:37 +0000.314002][ebb] GLESContext destruct finish.
[008:315] [2022-07-25 00:15:37 +0000.314035][ebb] filter: filter pipeline destroy
this: 0x6e80edd780
[008:316] [2022-07-25 00:15:37 +0000.315593][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[008:317] [2022-07-25 00:15:37 +0000.316135][ebb] machine model :poco
[008:317] [2022-07-25 00:15:37 +0000.316159][ebb] Support this machine model :poco
[008:317] [2022-07-25 00:15:37 +0000.316179][ebb] global inited! current sdk
version: 07-20-936c45f
[008:317] [2022-07-25 00:15:37 +0000.316358][ebb] filter: filter pipeline construtc
this: 0x6e80edd780
[008:317] [2022-07-25 00:15:37 +0000.316390][ebb] MediaFilterGraph:
MediaFilterGraph construct
[008:317] [2022-07-25 00:15:37 +0000.316409][ebb] GLESContext:
[008:317] [2022-07-25 00:15:37 +0000.316443][ebb] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[008:319] [2022-07-25 00:15:37 +0000.317985][ebb] The result of creation:
0x705445ea80
[008:319] [2022-07-25 00:15:37 +0000.318402][ebb] The result of
eglCreatePbufferSurface is: 0x6f0fe36c80
[008:319] [2022-07-25 00:15:37 +0000.318572][ebb] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4
[008:319] [2022-07-25 00:15:37 +0000.318602][ebb] The source 0 speed:1
[008:319] [2022-07-25 00:15:37 +0000.318628][ebb] AddVideoSource: add video source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4,
delay: 0
[008:319] [2022-07-25 00:15:37 +0000.318653][ebb] CreateDecoderByVideoSource
time:93906756 enter.

[008:320] [2022-07-25 00:15:37 +0000.318913][ebb] running_decoder_count:0max


count:2
[008:320] [2022-07-25 00:15:37 +0000.318943][ebb] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x6eb1b8bc00
[008:320] [2022-07-25 00:15:37 +0000.319545][2816] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6e984e6e00] Current FFmpeg version git-2021-06-16-
97cea6f

[008:355] [2022-07-25 00:15:37 +0000.354599][2816] OnStreamInfoFound: video


duration_: 3993
[008:356] [2022-07-25 00:15:37 +0000.355441][ebb] start decoder
[008:356] [2022-07-25 00:15:37 +0000.355478][ebb] CreateDecoderByVideoSource
leave. expire time = 37 ms

[008:356] [2022-07-25 00:15:37 +0000.355512][ebb] BindInputFilter 0x6e80753620


this 0x6e9b332558
[008:356] [2022-07-25 00:15:37 +0000.355538][ebb] BindInputFilter 0x6e9b332558
this 0x6e9b332618
[008:356] [2022-07-25 00:15:37 +0000.355564][ebb] BindInputFilter 0x6e80753620
this 0x6e9b3326d8
[008:356] [2022-07-25 00:15:37 +0000.355587][ebb] BindInputFilter 0x6e9b3326d8
this 0x6e9b332798
[008:356] [2022-07-25 00:15:37 +0000.355602][ebb] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4
[008:356] [2022-07-25 00:15:37 +0000.355655][ebb] BindInputFilter 0x6e9b332618
this 0x6e9b332858
[008:356] [2022-07-25 00:15:37 +0000.355693][ebb] BindInputFilter 0x6e9b332858
this 0x6e80edd820
[008:356] [2022-07-25 00:15:37 +0000.355758][ebb] BindInputFilter 0x6e9b332798
this 0x6e9b332918
[008:356] [2022-07-25 00:15:37 +0000.355790][ebb] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_93901754.mp4
[008:357] [2022-07-25 00:15:37 +0000.356551][ebb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[008:357] [2022-07-25 00:15:37 +0000.356609][2817] NO get frame from decoder
[008:357] [2022-07-25 00:15:37 +0000.356663][ebb] MediaComposeFile time:93906794
enter.

[008:357] [2022-07-25 00:15:37 +0000.356720][ebb] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[008:358] [2022-07-25 00:15:37 +0000.356830][ebb] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[008:358] [2022-07-25 00:15:37 +0000.356856][ebb] Recording session using default
bitrate support by app:31457280
[008:358] [2022-07-25 00:15:37 +0000.356852][2821] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e477bf9c0
[008:358] [2022-07-25 00:15:37 +0000.356889][2821] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[008:358] [2022-07-25 00:15:37 +0000.356954][ebb] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[008:358] [2022-07-25 00:15:37 +0000.357067][ebb] GetPipeline:
-----------------------------------------
[008:358] [2022-07-25 00:15:37 +0000.357109][ebb] GetPipeline: source: 0x6e80753400
[008:358] [2022-07-25 00:15:37 +0000.357147][ebb] GetPipeline: filter: NULLFilter
[008:358] [2022-07-25 00:15:37 +0000.357180][ebb] GetPipeline: filter: NULLFilter
[008:358] [2022-07-25 00:15:37 +0000.357197][ebb] GetPipeline: filter: NULLFilter
[008:358] [2022-07-25 00:15:37 +0000.357225][ebb] GetPipeline: audio filter:
AuidoNULLFilter
[008:358] [2022-07-25 00:15:37 +0000.357267][ebb] GetPipeline: audio filter:
AuidoNULLFilter
[008:358] [2022-07-25 00:15:37 +0000.357297][ebb] GetPipeline: audio filter:
AudioNUllFilter
[008:358] [2022-07-25 00:15:37 +0000.357326][ebb] GetPipeline:
------------------------------------------
[008:358] [2022-07-25 00:15:37 +0000.357357][ebb] filter: filter pipeline2 update
pattern: 2
[008:359] [2022-07-25 00:15:37 +0000.358124][2817] NO get frame from decoder
[008:359] [2022-07-25 00:15:37 +0000.358345][ebb] MediaComposeFile leave. expire
time = 2 ms

[008:359] [2022-07-25 00:15:37 +0000.358615][ebb] machine model :poco


[008:359] [2022-07-25 00:15:37 +0000.358641][ebb] Support this machine model :poco
[008:359] [2022-07-25 00:15:37 +0000.358694][ebb] global inited! current sdk
version: 07-20-936c45f
[008:360] [2022-07-25 00:15:37 +0000.359785][2817] NO get frame from decoder
[008:361] [2022-07-25 00:15:37 +0000.360643][2817] NO get frame from decoder
[008:365] [2022-07-25 00:15:37 +0000.364131][2817] NO get frame from decoder
[008:368] [2022-07-25 00:15:37 +0000.367796][ebb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[008:369] [2022-07-25 00:15:37 +0000.367901][ebb] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 335
[008:369] [2022-07-25 00:15:37 +0000.368367][ebb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[008:369] [2022-07-25 00:15:37 +0000.368409][ebb] BeginCompose: BeginCompose, is
composing 0
[008:370] [2022-07-25 00:15:37 +0000.369046][2817] NO get frame from decoder
[008:371] [2022-07-25 00:15:37 +0000.370205][2821] start recording, file path:
[008:371] [2022-07-25 00:15:37 +0000.370508][2821] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 335 audio_timescale:44100
video_timescale:90000
[008:371] [2022-07-25 00:15:37 +0000.370577][2821] 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
[008:371] [2022-07-25 00:15:37 +0000.370637][2821] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 335
[008:371] [2022-07-25 00:15:37 +0000.370776][2821] fd_open successed
handle:0xb40000705450f0b0
[008:372] [2022-07-25 00:15:37 +0000.371061][2821] create mp4 file:342
m_fileHandle: 0x6e67033800
[008:372] [2022-07-25 00:15:37 +0000.371106][2821] MP4 file: is opened successfully
[008:372] [2022-07-25 00:15:37 +0000.371142][2821] setupMediaProcessers:
[008:372] [2022-07-25 00:15:37 +0000.371173][2821]
RecordingSessionInternalSimple:setup media processers.
[008:372] [2022-07-25 00:15:37 +0000.371207][2821] construct AAC encoder
[008:372] [2022-07-25 00:15:37 +0000.371755][2821] H264Encoder creating:
ultrafast012323
[008:373] [2022-07-25 00:15:37 +0000.371830][2821] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[008:373] [2022-07-25 00:15:37 +0000.372485][2817] NO get frame from decoder
[008:374] [2022-07-25 00:15:37 +0000.372955][2821] H264Encode::GetMachineModel is
M2012K11AG
[008:374] [2022-07-25 00:15:37 +0000.373020][2821] H264Encoder machine_mode
is:M2012K11AG
[008:374] [2022-07-25 00:15:37 +0000.373055][2821] H264Encode::machine size :9
machine_mode:M2012K11AG
[008:374] [2022-07-25 00:15:37 +0000.373090][2821] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[008:374] [2022-07-25 00:15:37 +0000.373125][2821] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[008:374] [2022-07-25 00:15:37 +0000.373158][2821] setupCompressionSession:
[008:374] [2022-07-25 00:15:37 +0000.373191][2821] H264Encode::creating hareware
Encoder
[008:374] [2022-07-25 00:15:37 +0000.373225][2821] AndroidHwAvcEncoder
time:93906811 enter.

[008:374] [2022-07-25 00:15:37 +0000.373526][2821] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb40000705443f540 address:0x6e70b5c760
[008:374] [2022-07-25 00:15:37 +0000.373705][2821] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[008:374] [2022-07-25 00:15:37 +0000.373749][2821] The video avc hw codec address
is 0x6f8741fb90
[008:375] [2022-07-25 00:15:37 +0000.373887][2821] AndroidHwAvcEncoder leave.
expire time = 1 ms

[008:375] [2022-07-25 00:15:37 +0000.373930][2821] RegisterEncodeCompleteCallback


time:93906812 enter.

[008:375] [2022-07-25 00:15:37 +0000.374085][2821] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[008:375] [2022-07-25 00:15:37 +0000.374145][2821] InitEncode time:93906812 enter.

[008:375] [2022-07-25 00:15:37 +0000.374263][2821] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[008:375] [2022-07-25 00:15:37 +0000.374318][2821] Create time:93906812 enter.

[008:375] [2022-07-25 00:15:37 +0000.374359][2821] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[008:375] [2022-07-25 00:15:37 +0000.374406][2821]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x6e4f05b000
[008:375] [2022-07-25 00:15:37 +0000.374673][2821]
supported_type:image/vnd.android.heic
[008:376] [2022-07-25 00:15:37 +0000.374930][2821] supported_type:video/avc
[008:376] [2022-07-25 00:15:37 +0000.374975][2821] name:OMX.qcom.video.encoder.avc
mime:video/avc
[008:376] [2022-07-25 00:15:37 +0000.375033][2821] hwCodecPrefix :OMX.qcom.
[008:376] [2022-07-25 00:15:37 +0000.375075][2821] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[008:376] [2022-07-25 00:15:37 +0000.375116][2821] mediacodec_createCodecByName
time:93906813 enter.

[008:376] [2022-07-25 00:15:37 +0000.375156][2821] WrapAndroidMediaCodec


time:93906813 enter.

[008:376] [2022-07-25 00:15:37 +0000.375371][2821] WrapAndroidMediaCodec leave.


expire time = 0 ms

[008:379] [2022-07-25 00:15:37 +0000.378635][2817] NO get frame from decoder


[008:380] [2022-07-25 00:15:37 +0000.379488][2826] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e984e2898
[008:403] [2022-07-25 00:15:37 +0000.402191][2821] mediacodec_createCodecByName
leave. expire time = 27 ms

[008:403] [2022-07-25 00:15:37 +0000.402269][2821] WrapAndroidMediaFromat


time:93906840 enter.

[008:403] [2022-07-25 00:15:37 +0000.402368][2821] WrapAndroidMediaFromat leave.


expire time = 0 ms

[008:442] [2022-07-25 00:15:37 +0000.441676][2821] Destroy time:93906879 enter.

[008:442] [2022-07-25 00:15:37 +0000.441735][2821] WrapAndroidMediaFromat::


Destroy
[008:442] [2022-07-25 00:15:37 +0000.441753][2821] Destroy leave. expire time = 0
ms

[008:442] [2022-07-25 00:15:37 +0000.441768][2821] ~WrapAndroidMediaFromat


time:93906879 enter.
[008:442] [2022-07-25 00:15:37 +0000.441783][2821] ~WrapAndroidMediaFromat leave.
expire time = 0 ms

[008:443] [2022-07-25 00:15:37 +0000.441943][2821] Create leave. expire time = 68


ms

[008:443] [2022-07-25 00:15:37 +0000.441962][2821] isSemiPlanarSupport


time:93906880 enter.

[008:443] [2022-07-25 00:15:37 +0000.441977][2821] H264Encoder isSemiPlanarSupport


[008:443] [2022-07-25 00:15:37 +0000.441993][2821] isSemiPlanarSupport leave.
expire time = 0 ms

[008:443] [2022-07-25 00:15:37 +0000.442007][2821] creat hw H264Encoder success,


isSemiPlanar:1
[008:443] [2022-07-25 00:15:37 +0000.442100][2821] InitEncode leave. expire time =
68 ms

[008:443] [2022-07-25 00:15:37 +0000.442119][2821] H264Encode::created Encoder


[008:443] [2022-07-25 00:15:37 +0000.442134][2821] H264Encode:: H264 encoder
created.
[008:443] [2022-07-25 00:15:37 +0000.442149][2821] H264 encoder created.
[008:443] [2022-07-25 00:15:37 +0000.442217][2821]
RecordingSessionInternalSimple:created avc encoder avc: 0x6f0c3da9c0
[008:443] [2022-07-25 00:15:37 +0000.442235][2821] setOutput:
[008:443] [2022-07-25 00:15:37 +0000.442273][2821]
RecordingSessionInternalSimple:encoder set output to muxer!
[008:443] [2022-07-25 00:15:37 +0000.442350][2821] request a key frame
[008:443] [2022-07-25 00:15:37 +0000.442367][2821] H264Encode:: request a key frame
[008:444] [2022-07-25 00:15:37 +0000.443448][2821] setDisplayRotate :90
[008:444] [2022-07-25 00:15:37 +0000.443515][2821] 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
[008:447] [2022-07-25 00:15:37 +0000.445986][2822] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[008:447] [2022-07-25 00:15:37 +0000.446091][2822] Push an pts:10 to dts queue.
[008:447] [2022-07-25 00:15:37 +0000.446730][2822]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[008:448] [2022-07-25 00:15:37 +0000.446839][2826] add aac audio track with id:1
[008:452] [2022-07-25 00:15:37 +0000.451369][2826] audio start ts:0
[008:452] [2022-07-25 00:15:37 +0000.451462][2826] the audio frame has been written
into MP4 file
[008:476] [2022-07-25 00:15:37 +0000.475564][2821] setDisplayRotate :90
[008:476] [2022-07-25 00:15:37 +0000.475661][2821] 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
[008:514] [2022-07-25 00:15:37 +0000.513011][2822] DTS queue for
Generator:0x6e984e2ab8 10 26 57 101 126 159 191 223 258
[008:556] [2022-07-25 00:15:37 +0000.554962][2822] h264 add frame header cdr flag
[008:556] [2022-07-25 00:15:37 +0000.555346][2822] h264 add frame header cdr flag
[008:556] [2022-07-25 00:15:37 +0000.555711][2822] Received key frame:10
[008:556] [2022-07-25 00:15:37 +0000.555744][2822] last dts:0 currentPts:10
ppsOrSPS:0 queue length:10
[008:556] [2022-07-25 00:15:37 +0000.555771][2822] H264Encode:: get a sps pps
header!headerSize:32
[008:557] [2022-07-25 00:15:37 +0000.555857][2826] get the H.264 SPS parameter
[008:557] [2022-07-25 00:15:37 +0000.556002][2826] add video track with id:2
[008:557] [2022-07-25 00:15:37 +0000.556766][2826] get the H.264 PPS parameter
[008:558] [2022-07-25 00:15:37 +0000.557058][2826] get the H.264 IDR frame
[008:558] [2022-07-25 00:15:37 +0000.557106][2826] resss:true
[008:558] [2022-07-25 00:15:37 +0000.557124][2826] video start ts:10
[008:558] [2022-07-25 00:15:37 +0000.557178][2826] the video frame has been written
into MP4 file
[008:636] [2022-07-25 00:15:37 +0000.635078][2824] Error(video_source.cc:430): wait
decoder a frame: 0
[008:719] [2022-07-25 00:15:37 +0000.718397][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[008:773] [2022-07-25 00:15:37 +0000.772522][2822] DTS queue for
Generator:0x6e984e2ab8 927 956
[008:885] [2022-07-25 00:15:37 +0000.884626][2822] Push an pts:1327 to dts queue.
[008:924] [2022-07-25 00:15:37 +0000.923704][2825] audio_frame_list_ empty
[008:949] [2022-07-25 00:15:37 +0000.948580][2822] last dts:1286 currentPts:1327
ppsOrSPS:0 queue length:8
[009:009] [2022-07-25 00:15:38 +0000.7927][2822] DTS queue for
Generator:0x6e984e2ab8 1691 1723 1758 1791 1823 1858
[009:098] [2022-07-25 00:15:38 +0000.97753][2822] h264 add frame header cdr flag
[009:099] [2022-07-25 00:15:38 +0000.97995][2822] Received key frame:1993
[009:099] [2022-07-25 00:15:38 +0000.98401][2826] get the H.264 IDR frame
[009:152] [2022-07-25 00:15:38 +0000.151393][2821] setDisplayRotate :90
[009:152] [2022-07-25 00:15:38 +0000.151438][2821] 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
[009:155] [2022-07-25 00:15:38 +0000.154016][2824] Error(video_source.cc:430): wait
decoder a frame: 0
[009:231] [2022-07-25 00:15:38 +0000.230525][2822] Push an pts:2651 to dts queue.
[009:233] [2022-07-25 00:15:38 +0000.232513][2822] DTS queue for
Generator:0x6e984e2ab8 2488 2522 2553 2589 2623 2651 2686
[009:235] [2022-07-25 00:15:38 +0000.234226][2822] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:2723
[009:235] [2022-07-25 00:15:38 +0000.234306][2822] push video frame to H264
encoder. (100 frame for one log)

[009:235] [2022-07-25 00:15:38 +0000.234365][2822] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[009:235] [2022-07-25 00:15:38 +0000.234403][2822] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:2723(100 frame for one
log)

[009:235] [2022-07-25 00:15:38 +0000.234444][2822] The input pts:2723 fps:30


[009:257] [2022-07-25 00:15:38 +0000.255977][2822] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2589 pts:2589
[009:282] [2022-07-25 00:15:38 +0000.281452][2822] SendFrame
encodedImage._timeStamp:2651encodedImage->_length:35488
[009:282] [2022-07-25 00:15:38 +0000.281577][2822] last dts:2623 currentPts:2651
ppsOrSPS:0 queue length:9
[009:297] [2022-07-25 00:15:38 +0000.296633][2822] H264Encode::H264SWEncoder get
callback, length:29680 type:1 nalType:1length:29676
[009:410] [2022-07-25 00:15:38 +0000.408916][2822] DTS queue for
Generator:0x6e984e2ab8 3359 3390 3426 3457 3491
[009:420] [2022-07-25 00:15:38 +0000.418900][2824] Error(video_source.cc:430): wait
decoder a frame: 7
[009:430] [2022-07-25 00:15:38 +0000.429519][2817] av_read_frame AVERROR_EOF
[009:485] [2022-07-25 00:15:38 +0000.483847][2824] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2984 diff: 17
[009:485] [2022-07-25 00:15:38 +0000.484049][2817] OnReceiveEOF:
[009:485] [2022-07-25 00:15:38 +0000.484090][2817] OnDecoderEOF time:93907922
enter.

[009:485] [2022-07-25 00:15:38 +0000.484161][2817] OnDecoderEOF leave. expire time


= 0 ms

[009:485] [2022-07-25 00:15:38 +0000.484194][2817] OnDecoderFinished:


OnDecoderFinished total decoder frames:120 this:0x6e80753400
[009:485] [2022-07-25 00:15:38 +0000.484241][2817] NULLFilter::OnVideoSourceEOF
0x6e80753400 this 0x6e9b3324c0
[009:485] [2022-07-25 00:15:38 +0000.484299][2817] NULLFilter::OnVideoSourceEOF
0x6e9b3324c0 this 0x6e9b332580
[009:485] [2022-07-25 00:15:38 +0000.484664][2815] CleanUp time:93907922 enter.

[009:485] [2022-07-25 00:15:38 +0000.484685][2817] NULLFilter::OnVideoSourceEOF


0x6e9b332580 this 0x6e9b3327c0
[009:486] [2022-07-25 00:15:38 +0000.485760][2824]
Warning(media_filter_composefile.cc:321): pull video frame failed:8
[009:487] [2022-07-25 00:15:38 +0000.485867][2824] OnVideoTimer: OnVideoTimer
return
[009:488] [2022-07-25 00:15:38 +0000.486871][2825] PullAudioFrame: PullFrame audio
finished.
[009:488] [2022-07-25 00:15:38 +0000.486921][2825]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[009:488] [2022-07-25 00:15:38 +0000.487000][2825] OnAudioTimer: OnAudioTimer
EndComposeFile
[009:488] [2022-07-25 00:15:38 +0000.487028][2825] EndComposeFile: EndComposeFile,
is composing 1
[009:495] [2022-07-25 00:15:38 +0000.493840][2815] CleanUp leave. expire time = 10
ms

[009:495] [2022-07-25 00:15:38 +0000.493971][2815] clean up


[009:495] [2022-07-25 00:15:38 +0000.493989][2815] running_decoder_count:0max
count:2
[009:496] [2022-07-25 00:15:38 +0000.495336][2822]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:120
[009:496] [2022-07-25 00:15:38 +0000.495393][2822]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x6ea71e1800
[009:497] [2022-07-25 00:15:38 +0000.496504][2823]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[009:497] [2022-07-25 00:15:38 +0000.496557][2823]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[009:497] [2022-07-25 00:15:38 +0000.496695][2821] stop recording
[009:497] [2022-07-25 00:15:38 +0000.496722][2821]
RecordingSessionInternalSimple:destroy media processers
[009:497] [2022-07-25 00:15:38 +0000.496740][2821] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[009:497] [2022-07-25 00:15:38 +0000.496762][2821] H264Encode::flushing hareware
Encoder
[009:498] [2022-07-25 00:15:38 +0000.496899][2821] Flush time:93907935 enter.

[009:498] [2022-07-25 00:15:38 +0000.496937][2821] H264Encoder encoder flush


[009:498] [2022-07-25 00:15:38 +0000.496969][2821] flush output queue
[009:815] [2022-07-25 00:15:38 +0000.814320][2821] Flush leave. expire time = 317
ms

[009:816] [2022-07-25 00:15:38 +0000.815540][2821] ~H264EncodeWrap:


[009:816] [2022-07-25 00:15:38 +0000.815574][2821] ~H264Encode:
[009:816] [2022-07-25 00:15:38 +0000.815591][2821] teardownCompressionSession:
H264Encode::destroying Encoder
[009:816] [2022-07-25 00:15:38 +0000.815610][2821] Release time:93908253 enter.

[009:816] [2022-07-25 00:15:38 +0000.815700][2821] Release:


MediaCodecVideoEncoder::Release _inited:1
[009:816] [2022-07-25 00:15:38 +0000.815736][2821] Destroy time:93908253 enter.

[009:816] [2022-07-25 00:15:38 +0000.815777][2821] H264Encoder encoderDestroy


[009:817] [2022-07-25 00:15:38 +0000.815811][2821]
AndroidMediaCodecVideoEncoder::release env: 0x6f0c3dac40
[009:817] [2022-07-25 00:15:38 +0000.815846][2821]
AndroidMediaCodecVideoEncoder::Destroy
[009:845] [2022-07-25 00:15:38 +0000.844136][2821] Destroy leave. expire time = 29
ms

[009:845] [2022-07-25 00:15:38 +0000.844280][2821] Release leave. expire time = 29


ms

[009:845] [2022-07-25 00:15:38 +0000.844356][2821] ~AndroidHwAvcEncoder


time:93908282 enter.

[009:845] [2022-07-25 00:15:38 +0000.844502][2821] Release time:93908282 enter.

[009:845] [2022-07-25 00:15:38 +0000.844530][2821] Release:


MediaCodecVideoEncoder:: has been released before, just return
[009:845] [2022-07-25 00:15:38 +0000.844549][2821] Release leave. expire time = 0
ms

[009:845] [2022-07-25 00:15:38 +0000.844568][2821] ~AndroidMediaCodecVideoEncoder


[009:845] [2022-07-25 00:15:38 +0000.844588][2821] ~WrapAndroidMediaCodec
time:93908282 enter.

[009:845] [2022-07-25 00:15:38 +0000.844605][2821] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[009:845] [2022-07-25 00:15:38 +0000.844622][2821] video hevc hw codec


destructor:0x6f8741fb90

[009:845] [2022-07-25 00:15:38 +0000.844657][2821] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[009:845] [2022-07-25 00:15:38 +0000.844686][2821] teardownCompressionSession:


H264Encode::destroyed Encoder
[009:845] [2022-07-25 00:15:38 +0000.844705][2821]
RecordingSessionInternalSimple:destroy aac encoder output!
[009:845] [2022-07-25 00:15:38 +0000.844722][2821] AACSWEncode destructor
[009:848] [2022-07-25 00:15:38 +0000.847539][2826] fd_close successed!
[009:852] [2022-07-25 00:15:38 +0000.850841][2826] MP4 close file successfully
[009:852] [2022-07-25 00:15:38 +0000.850892][2826] Recording session Internal:
notify recording ok
[009:852] [2022-07-25 00:15:38 +0000.850910][2826] onRecordingOk: Recording Ok,
compose use time: 1483, averagefps 0
[009:852] [2022-07-25 00:15:38 +0000.850981][2826] OnReceiveEOF:
[009:853] [2022-07-25 00:15:38 +0000.852743][2825] OnAudioTimer: OnAudioTimer
return
[009:863] [2022-07-25 00:15:38 +0000.861932][ebb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[009:863] [2022-07-25 00:15:38 +0000.862027][ebb] ~MediaComposeFile time:93908300
enter.
[009:863] [2022-07-25 00:15:38 +0000.862055][ebb] CancelCompose: CancelCompose, is
composing 0
[009:863] [2022-07-25 00:15:38 +0000.862139][2821] stop recording
[009:863] [2022-07-25 00:15:38 +0000.862198][2821] we have stopped recording before
[009:863] [2022-07-25 00:15:38 +0000.862573][ebb] ~MediaComposeFile leave. expire
time = 0 ms

[009:863] [2022-07-25 00:15:38 +0000.862652][ebb] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[009:864] [2022-07-25 00:15:38 +0000.862886][ebb] global uninited!
[009:864] [2022-07-25 00:15:38 +0000.862955][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[009:864] [2022-07-25 00:15:38 +0000.863008][ebb] ~MediaFilterGraph:
MediaFilterGraph destruct
[009:864] [2022-07-25 00:15:38 +0000.863031][ebb] RemoveVideoBackGroud: hava not
add video backgroud
[009:864] [2022-07-25 00:15:38 +0000.863075][ebb] UnbindInputFilter 0x6e9b332858
this 0x6e80edd820
[009:864] [2022-07-25 00:15:38 +0000.863103][ebb] ClearAllSource: remove source
filter, sourceid: 0x6e80753400
[009:864] [2022-07-25 00:15:38 +0000.863129][ebb] DestoryDecoderByVideoSource
time:93908301 enter.

[009:864] [2022-07-25 00:15:38 +0000.863160][ebb] ~VideoBindDecoder time:93908301


enter.

[009:864] [2022-07-25 00:15:38 +0000.863257][ebb] CleanUp time:93908301 enter.

[009:864] [2022-07-25 00:15:38 +0000.863400][ebb] CleanUp leave. expire time = 0


ms

[009:864] [2022-07-25 00:15:38 +0000.863425][ebb] CleanUp time:93908301 enter.

[009:864] [2022-07-25 00:15:38 +0000.863574][ebb] CleanUp leave. expire time = 0


ms

[009:865] [2022-07-25 00:15:38 +0000.864165][ebb] ~VideoBindDecoder leave. expire


time = 1 ms

[009:865] [2022-07-25 00:15:38 +0000.864214][ebb] DestoryDecoderByVideoSource


leave. expire time = 1 ms

[009:865] [2022-07-25 00:15:38 +0000.864244][ebb] UnbindInputFilter 0x6e9b332618


this 0x6e9b332858
[009:865] [2022-07-25 00:15:38 +0000.864271][ebb] UnbindInputFilter 0x6e9b332558
this 0x6e9b332618
[009:865] [2022-07-25 00:15:38 +0000.864295][ebb] UnbindInputFilter 0x6e80753620
this 0x6e9b332558
[009:865] [2022-07-25 00:15:38 +0000.864320][ebb] UnbindInputFilter 0x6e9b332798
this 0x6e9b332918
[009:865] [2022-07-25 00:15:38 +0000.864342][ebb] UnbindInputFilter 0x6e9b3326d8
this 0x6e9b332798
[009:865] [2022-07-25 00:15:38 +0000.864365][ebb] UnbindInputFilter 0x6e80753620
this 0x6e9b3326d8
[009:865] [2022-07-25 00:15:38 +0000.864400][ebb] ~GLESContext:
[009:866] [2022-07-25 00:15:38 +0000.865666][ebb] GLESContext destruct finish.
[009:866] [2022-07-25 00:15:38 +0000.865735][ebb] filter: filter pipeline destroy
this: 0x6e80edd780
[010:147] [2022-07-25 00:15:39 +0000.146014][2708] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:147] [2022-07-25 00:15:39 +0000.146175][2708] _deviceSampleRate:48000

[010:151] [2022-07-25 00:15:39 +0000.150757][2707] Run AGC when audioType = 0


[010:478] [2022-07-25 00:15:39 +0000.477028][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[012:149] [2022-07-25 00:15:41 +0000.147983][2707] Run AGC when audioType = 0
[012:149] [2022-07-25 00:15:41 +0000.148258][2707]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:190] [2022-07-25 00:15:41 +0000.189428][2707] haveEnoughProcessedData
internalAudioStream.length: 20
[013:901] [2022-07-25 00:15:42 +0000.899981][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[014:148] [2022-07-25 00:15:43 +0000.147244][2707] Run AGC when audioType = 0
[015:589] [2022-07-25 00:15:44 +0000.588508][ebb] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[015:589] [2022-07-25 00:15:44 +0000.588622][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[015:590] [2022-07-25 00:15:44 +0000.588903][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[015:590] [2022-07-25 00:15:44 +0000.589027][2703] operator() time:93914027 enter.

[015:590] [2022-07-25 00:15:44 +0000.589066][2703] MediaFilterCamera, recording


file context:0x6f7a7d9f00 input texture:8
[015:592] [2022-07-25 00:15:44 +0000.590905][2703] MicSource: Mic source
created:10x6eb1aa9680
[015:592] [2022-07-25 00:15:44 +0000.591485][2703] alloc thread: 0x6e9afe9a00
name:worker1 thread id:474785402032 to Mic_source
[015:592] [2022-07-25 00:15:44 +0000.591526][2703] audio: start the audio sender
thread.

[015:592] [2022-07-25 00:15:44 +0000.591581][2703] construct OpenGLRenderProgram


0x6eb1aec298
[015:592] [2022-07-25 00:15:44 +0000.591611][2703] CropFilter::SetOrientation
orientation: 90
[015:592] [2022-07-25 00:15:44 +0000.591721][2703] filter: filter pipeline
construtc this: 0x6e80debf00
[015:592] [2022-07-25 00:15:44 +0000.591754][2703] filter: filter pipeline2 update
pattern: 1
[015:592] [2022-07-25 00:15:44 +0000.591787][2703] CameraSource::source_id_:5
[015:593] [2022-07-25 00:15:44 +0000.591820][2703] RecordAudioSource::source_id_:6
[015:593] [2022-07-25 00:15:44 +0000.592012][2703] BindInputFilter 0x6e9b015640
this 0x6eb1aec4c0
[015:593] [2022-07-25 00:15:44 +0000.592059][2703] BindInputFilter 0x6e9b0157d8
this 0x6e9b708150
[015:593] [2022-07-25 00:15:44 +0000.592100][2703] BindInputFilter 0x6eb1aec4c0
this 0x6e80debfa0
[015:593] [2022-07-25 00:15:44 +0000.592182][2703] setParamentForFilters:
speed:1.000000
[015:593] [2022-07-25 00:15:44 +0000.592213][2703] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[015:593] [2022-07-25 00:15:44 +0000.592256][2703] SetParamForFilter time:93914030
enter.

[015:593] [2022-07-25 00:15:44 +0000.592286][2703] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[015:593] [2022-07-25 00:15:44 +0000.592319][2703] SetParamForFilter: Params video
index is: 0
[015:593] [2022-07-25 00:15:44 +0000.592350][2703] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[015:593] [2022-07-25 00:15:44 +0000.592382][2703] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[015:593] [2022-07-25 00:15:44 +0000.592414][2703] crop filter mode tpye:
citytravelvideo index:0
[015:596] [2022-07-25 00:15:44 +0000.595718][2703]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:596] [2022-07-25 00:15:44 +0000.595752][2703]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:596] [2022-07-25 00:15:44 +0000.595793][2703]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:597] [2022-07-25 00:15:44 +0000.595837][2703]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:597] [2022-07-25 00:15:44 +0000.595871][2703]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:597] [2022-07-25 00:15:44 +0000.595903][2703]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:597] [2022-07-25 00:15:44 +0000.595936][2703]
Warning(parse_template_json.cc:45): json parament no found the parament
[015:597] [2022-07-25 00:15:44 +0000.595968][2703]
Warning(parse_template_json.cc:81): json parament no found the parament
[015:597] [2022-07-25 00:15:44 +0000.595999][2703]
Warning(parse_template_json.cc:81): json parament no found the parament
[015:597] [2022-07-25 00:15:44 +0000.596031][2703]
Warning(parse_template_json.cc:67): json parament no found the parament
[015:597] [2022-07-25 00:15:44 +0000.596062][2703]
Warning(parse_template_json.cc:93): json parament no found the duration
[015:597] [2022-07-25 00:15:44 +0000.596096][2703] SetParamForFilter leave. expire
time = 4 ms

[015:597] [2022-07-25 00:15:44 +0000.596169][2703] OnOutputSizeChanged width 1920


height 1080
[015:597] [2022-07-25 00:15:44 +0000.596205][2703] OpenGLFrameBuffer: width:1920
height:1080
[015:597] [2022-07-25 00:15:44 +0000.596278][2703] OpenGLFrameBuffer: width:1920
height:1080
[015:597] [2022-07-25 00:15:44 +0000.596313][2703] OpenGLFrameBuffer: width:1920
height:1080
[015:597] [2022-07-25 00:15:44 +0000.596344][2703] OpenGLFrameBuffer: width:1920
height:1080
[015:597] [2022-07-25 00:15:44 +0000.596372][2703] OpenGLFrameBuffer: width:1920
height:1080
[015:597] [2022-07-25 00:15:44 +0000.596417][2703] OpenGLFrameBuffer: width:1920
height:1080
[015:597] [2022-07-25 00:15:44 +0000.596472][2703] construct TrivalImageDrawer
0x6ea7204140
[015:597] [2022-07-25 00:15:44 +0000.596520][2703] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x6ea7204140 context 0x6eb1c96040
[015:597] [2022-07-25 00:15:44 +0000.596545][2703] setupGLES:
[015:598] [2022-07-25 00:15:44 +0000.596801][2703] OpenGLRenderProgram::Initialize.
[015:598] [2022-07-25 00:15:44 +0000.596831][2703] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[015:598] [2022-07-25 00:15:44 +0000.596854][2703] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[015:598] [2022-07-25 00:15:44 +0000.596896][2703] Init open gl render:
0x6eb1aec298
[015:598] [2022-07-25 00:15:44 +0000.596923][2703] Fragement shader path:
[015:598] [2022-07-25 00:15:44 +0000.596947][2703] Fragement shader path:
[015:598] [2022-07-25 00:15:44 +0000.596970][2703] create opengl program object.
[015:598] [2022-07-25 00:15:44 +0000.597014][2703] create shader: vertex
[015:598] [2022-07-25 00:15:44 +0000.597189][2703] create shader: fragment
[015:599] [2022-07-25 00:15:44 +0000.598609][2703] Have not extra filter filename!
[015:599] [2022-07-25 00:15:44 +0000.598642][2703] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[015:599] [2022-07-25 00:15:44 +0000.598667][2703] OpenGLRenderProgram::Initialize
success.
[015:599] [2022-07-25 00:15:44 +0000.598712][2703] Setup the OpenGL result:1
[015:600] [2022-07-25 00:15:44 +0000.598972][2702] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4
[015:600] [2022-07-25 00:15:44 +0000.599110][2702] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[015:600] [2022-07-25 00:15:44 +0000.599135][2969] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f874de498
[015:600] [2022-07-25 00:15:44 +0000.599192][2702] 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
[015:600] [2022-07-25 00:15:44 +0000.599230][2702] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4
fileFD: -1
[015:600] [2022-07-25 00:15:44 +0000.599639][2702] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4
is opened successfully
[015:600] [2022-07-25 00:15:44 +0000.599675][2702] setupMediaProcessers:
[015:600] [2022-07-25 00:15:44 +0000.599717][2702]
RecordingSessionInternalSimple:setup media processers.
[015:600] [2022-07-25 00:15:44 +0000.599752][2702] construct AAC encoder
[015:601] [2022-07-25 00:15:44 +0000.599977][2702] H264Encoder creating:
superfast011818
[015:601] [2022-07-25 00:15:44 +0000.600016][2702] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[015:601] [2022-07-25 00:15:44 +0000.600705][2702] H264Encode::GetMachineModel is
M2012K11AG
[015:601] [2022-07-25 00:15:44 +0000.600744][2702] H264Encoder machine_mode
is:M2012K11AG
[015:601] [2022-07-25 00:15:44 +0000.600778][2702] H264Encode::machine size :9
machine_mode:M2012K11AG
[015:602] [2022-07-25 00:15:44 +0000.600812][2702] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[015:602] [2022-07-25 00:15:44 +0000.600843][2702] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[015:602] [2022-07-25 00:15:44 +0000.600872][2702] setupCompressionSession:
[015:602] [2022-07-25 00:15:44 +0000.600904][2702] H264Encode::creating hareware
Encoder
[015:602] [2022-07-25 00:15:44 +0000.600938][2702] AndroidHwAvcEncoder
time:93914039 enter.

[015:602] [2022-07-25 00:15:44 +0000.601086][2702] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb40000705443f540 address:0x6e70b5c760
[015:602] [2022-07-25 00:15:44 +0000.601192][2702] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[015:602] [2022-07-25 00:15:44 +0000.601229][2702] The video avc hw codec address
is 0x6f8741fae0
[015:602] [2022-07-25 00:15:44 +0000.601296][2702] AndroidHwAvcEncoder leave.
expire time = 0 ms

[015:602] [2022-07-25 00:15:44 +0000.601339][2702] RegisterEncodeCompleteCallback


time:93914039 enter.

[015:602] [2022-07-25 00:15:44 +0000.601427][2702] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[015:602] [2022-07-25 00:15:44 +0000.601469][2702] InitEncode time:93914039 enter.

[015:602] [2022-07-25 00:15:44 +0000.601544][2702] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[015:602] [2022-07-25 00:15:44 +0000.601580][2702] Create time:93914039 enter.

[015:602] [2022-07-25 00:15:44 +0000.601603][2702] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[015:602] [2022-07-25 00:15:44 +0000.601626][2702]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x6e98391640
[015:603] [2022-07-25 00:15:44 +0000.601853][2702]
supported_type:image/vnd.android.heic
[015:603] [2022-07-25 00:15:44 +0000.601919][2702] supported_type:video/avc
[015:603] [2022-07-25 00:15:44 +0000.601949][2702] name:OMX.qcom.video.encoder.avc
mime:video/avc
[015:603] [2022-07-25 00:15:44 +0000.602049][2702] hwCodecPrefix :OMX.qcom.
[015:603] [2022-07-25 00:15:44 +0000.602102][2702] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[015:603] [2022-07-25 00:15:44 +0000.602139][2702] mediacodec_createCodecByName
time:93914040 enter.

[015:603] [2022-07-25 00:15:44 +0000.602172][2702] WrapAndroidMediaCodec


time:93914040 enter.

[015:603] [2022-07-25 00:15:44 +0000.602285][2702] WrapAndroidMediaCodec leave.


expire time = 0 ms

[015:615] [2022-07-25 00:15:44 +0000.613860][2707] haveEnoughProcessedData


internalAudioStream.length: 0
[015:620] [2022-07-25 00:15:44 +0000.618927][2702] mediacodec_createCodecByName
leave. expire time = 17 ms

[015:620] [2022-07-25 00:15:44 +0000.619014][2702] WrapAndroidMediaFromat


time:93914057 enter.

[015:620] [2022-07-25 00:15:44 +0000.619106][2702] WrapAndroidMediaFromat leave.


expire time = 0 ms

[015:650] [2022-07-25 00:15:44 +0000.648871][2702] Destroy time:93914087 enter.

[015:650] [2022-07-25 00:15:44 +0000.649130][2702] WrapAndroidMediaFromat::


Destroy
[015:650] [2022-07-25 00:15:44 +0000.649166][2702] Destroy leave. expire time = 0
ms

[015:650] [2022-07-25 00:15:44 +0000.649195][2702] ~WrapAndroidMediaFromat


time:93914087 enter.

[015:650] [2022-07-25 00:15:44 +0000.649225][2702] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[015:650] [2022-07-25 00:15:44 +0000.649259][2702] Create leave. expire time = 48


ms

[015:650] [2022-07-25 00:15:44 +0000.649289][2702] isSemiPlanarSupport


time:93914087 enter.

[015:650] [2022-07-25 00:15:44 +0000.649317][2702] H264Encoder isSemiPlanarSupport


[015:650] [2022-07-25 00:15:44 +0000.649345][2702] isSemiPlanarSupport leave.
expire time = 0 ms

[015:650] [2022-07-25 00:15:44 +0000.649386][2702] creat hw H264Encoder success,


isSemiPlanar:1
[015:650] [2022-07-25 00:15:44 +0000.649506][2702] InitEncode leave. expire time =
48 ms

[015:650] [2022-07-25 00:15:44 +0000.649554][2702] H264Encode::created Encoder


[015:650] [2022-07-25 00:15:44 +0000.649596][2702] H264Encode:: H264 encoder
created.
[015:650] [2022-07-25 00:15:44 +0000.649633][2702] H264 encoder created.
[015:650] [2022-07-25 00:15:44 +0000.649670][2702]
RecordingSessionInternalSimple:created avc encoder avc: 0x6f0c3da380
[015:650] [2022-07-25 00:15:44 +0000.649709][2702] setOutput:
[015:650] [2022-07-25 00:15:44 +0000.649748][2702]
RecordingSessionInternalSimple:encoder set output to muxer!
[015:650] [2022-07-25 00:15:44 +0000.649789][2702] request a key frame
[015:651] [2022-07-25 00:15:44 +0000.649897][2702] H264Encode:: request a key frame
[015:651] [2022-07-25 00:15:44 +0000.650182][2702] setDisplayRotate :90
[015:651] [2022-07-25 00:15:44 +0000.650231][2702] 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
[015:651] [2022-07-25 00:15:44 +0000.650310][2703] StartRecording:
[015:651] [2022-07-25 00:15:44 +0000.650413][2963] operator(): Set the recording
session in mic source. recording session: 0x6e9b015680
[015:651] [2022-07-25 00:15:44 +0000.650776][2703] operator() leave. expire time =
61 ms

[015:712] [2022-07-25 00:15:44 +0000.711563][2703] begine recode to first frame


spend time:122
[015:712] [2022-07-25 00:15:44 +0000.711652][2703]
GPUImageProcessing::SetOrientation orientation: 90
[015:714] [2022-07-25 00:15:44 +0000.713176][2703] drawYUV420 render
OpenGLRenderProgram:0x6eb1aec298
[015:746] [2022-07-25 00:15:44 +0000.745277][2703] drawYUV420 render
OpenGLRenderProgram:0x6eb1aec298
[015:755] [2022-07-25 00:15:44 +0000.754494][2703] The convert RGB to YUV take 7
[015:757] [2022-07-25 00:15:44 +0000.756392][2968] Push an pts:0 to dts queue.
[015:759] [2022-07-25 00:15:44 +0000.758373][2968]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[015:780] [2022-07-25 00:15:44 +0000.779709][2703] drawYUV420 render
OpenGLRenderProgram:0x6eb1aec298
[015:818] [2022-07-25 00:15:44 +0000.817466][2968] h264 add frame header cdr flag
[015:819] [2022-07-25 00:15:44 +0000.818515][2968] h264 add frame header cdr flag
[015:820] [2022-07-25 00:15:44 +0000.819733][2968] Received key frame:0
[015:821] [2022-07-25 00:15:44 +0000.819813][2968] last dts:0 currentPts:0
ppsOrSPS:0 queue length:3
[015:821] [2022-07-25 00:15:44 +0000.819855][2968] H264Encode:: get a sps pps
header!headerSize:32
[015:821] [2022-07-25 00:15:44 +0000.819954][2969] get the H.264 SPS parameter
[015:821] [2022-07-25 00:15:44 +0000.820160][2969] add video track with id:1
[015:822] [2022-07-25 00:15:44 +0000.821653][2969] get the H.264 PPS parameter
[015:823] [2022-07-25 00:15:44 +0000.822173][2969] get the H.264 IDR frame
[015:823] [2022-07-25 00:15:44 +0000.822214][2969] resss:true
[015:823] [2022-07-25 00:15:44 +0000.822240][2969] video start ts:0
[015:823] [2022-07-25 00:15:44 +0000.822420][2969] the video frame has been written
into MP4 file
[015:878] [2022-07-25 00:15:44 +0000.877095][2969] add aac audio track with id:2
[015:878] [2022-07-25 00:15:44 +0000.877289][2969] audio start ts:0
[015:878] [2022-07-25 00:15:44 +0000.877364][2969] the audio frame has been written
into MP4 file
[016:009] [2022-07-25 00:15:45 +0000.8074][2963] Error(MicSource.cpp:254): There is
no output connect to mic source, discard the frame.
[016:012] [2022-07-25 00:15:45 +0000.10799][2968] DTS queue for
Generator:0x6f874de6b8 235 262
[016:053] [2022-07-25 00:15:45 +0000.52212][2961] resampled_data_size:0
[016:148] [2022-07-25 00:15:45 +0000.147611][2707] Run AGC when audioType = 0
[016:149] [2022-07-25 00:15:45 +0000.147797][2707]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:176] [2022-07-25 00:15:45 +0000.175491][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[016:210] [2022-07-25 00:15:45 +0000.209657][2961] AF_SpeedFilter::PullFrame eof4
[016:215] [2022-07-25 00:15:45 +0000.213897][2961]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[016:247] [2022-07-25 00:15:45 +0000.246316][2703] The convert RGB to YUV take 2
[016:421] [2022-07-25 00:15:45 +0000.420717][2961] AF_SpeedFilter audio
0x6e9b708000 PullFrame
[016:445] [2022-07-25 00:15:45 +0000.444180][2967]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 650queue_audio_frame_:1
[016:674] [2022-07-25 00:15:45 +0000.673167][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[016:743] [2022-07-25 00:15:45 +0000.742433][2703] The convert RGB to YUV take 3
[016:843] [2022-07-25 00:15:45 +0000.842409][2968] DTS queue for
Generator:0x6f874de6b8 1060 1092
[017:015] [2022-07-25 00:15:46 +0000.14765][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[017:086] [2022-07-25 00:15:46 +0000.85481][2968] Push an pts:1328 to dts queue.
[017:119] [2022-07-25 00:15:46 +0000.118324][2968] last dts:1292 currentPts:1328
ppsOrSPS:0 queue length:2
[017:173] [2022-07-25 00:15:46 +0000.172438][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[017:232] [2022-07-25 00:15:46 +0000.231305][2961]
RecordAudioSource::PullAudioFrame
[017:244] [2022-07-25 00:15:46 +0000.242971][2703] The convert RGB to YUV take 4
[017:343] [2022-07-25 00:15:46 +0000.342015][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[017:676] [2022-07-25 00:15:46 +0000.675305][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[017:685] [2022-07-25 00:15:46 +0000.683896][2968] DTS queue for
Generator:0x6f874de6b8 1895 1930
[017:689] [2022-07-25 00:15:46 +0000.688542][2968] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1895 pts:1895
[017:743] [2022-07-25 00:15:46 +0000.742635][2703] The convert RGB to YUV take 2
[017:774] [2022-07-25 00:15:46 +0000.772877][2703] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3984 diff: 17
[017:782] [2022-07-25 00:15:46 +0000.781153][2968] h264 add frame header cdr flag
[017:782] [2022-07-25 00:15:46 +0000.781348][2968] SendFrame
encodedImage._timeStamp:1994encodedImage->_length:117584
[017:782] [2022-07-25 00:15:46 +0000.781375][2968] Received key frame:1994
[017:815] [2022-07-25 00:15:46 +0000.814349][2969] get the H.264 IDR frame
[017:845] [2022-07-25 00:15:46 +0000.844736][2968] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:2096
[017:847] [2022-07-25 00:15:46 +0000.846493][2968] push video frame to H264
encoder. (100 frame for one log)

[017:847] [2022-07-25 00:15:46 +0000.846563][2968] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[017:847] [2022-07-25 00:15:46 +0000.846585][2968] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:2096(100 frame for one
log)

[017:847] [2022-07-25 00:15:46 +0000.846611][2968] The input pts:2096 fps:30


[017:888] [2022-07-25 00:15:46 +0000.887438][2968] H264Encode::H264SWEncoder get
callback, length:36096 type:1 nalType:1length:36092
[018:012] [2022-07-25 00:15:47 +0000.11055][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[018:037] [2022-07-25 00:15:47 +0000.35894][2961] AF_SpeedFilter audio 0x6e9b708000
PullFrame
[018:149] [2022-07-25 00:15:47 +0000.148417][2707] Run AGC when audioType = 0
[018:173] [2022-07-25 00:15:47 +0000.172533][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[018:241] [2022-07-25 00:15:47 +0000.240195][2703] The convert RGB to YUV take 2
[018:309] [2022-07-25 00:15:47 +0000.308249][2961] resampled_data_size:8704
[018:405] [2022-07-25 00:15:47 +0000.404628][2703] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[018:405] [2022-07-25 00:15:47 +0000.404675][2703] GPUImageProcessing: input frame
width1920 X 1080
[018:406] [2022-07-25 00:15:47 +0000.404954][2703] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[018:406] [2022-07-25 00:15:47 +0000.405050][2703] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[018:411] [2022-07-25 00:15:47 +0000.409942][2968]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:2660
[018:411] [2022-07-25 00:15:47 +0000.410021][2968] Push an pts:2660 to dts queue.
[018:443] [2022-07-25 00:15:47 +0000.442393][2968] last dts:2628 currentPts:2660
ppsOrSPS:0 queue length:2
[018:478] [2022-07-25 00:15:47 +0000.477369][2968] DTS queue for
Generator:0x6f874de6b8 2726
[018:562] [2022-07-25 00:15:47 +0000.561186][2961] AF_SpeedFilter::PullFrame eof4
[018:566] [2022-07-25 00:15:47 +0000.565429][2961]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[018:673] [2022-07-25 00:15:47 +0000.671983][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[018:741] [2022-07-25 00:15:47 +0000.740786][2703] The convert RGB to YUV take 2
[018:775] [2022-07-25 00:15:47 +0000.773865][2967]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2972queue_audio_frame_:4
[019:007] [2022-07-25 00:15:48 +0000.5991][2703] drawYUV420 render
OpenGLRenderProgram:0x6eb1aec298
[019:013] [2022-07-25 00:15:48 +0000.12377][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[019:072] [2022-07-25 00:15:48 +0000.71622][2707] haveEnoughProcessedData
internalAudioStream.length: 10
[019:139] [2022-07-25 00:15:48 +0000.138103][2961]
RecordAudioSource::PullAudioFrame
[019:170] [2022-07-25 00:15:48 +0000.169745][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[019:242] [2022-07-25 00:15:48 +0000.241077][2703] The convert RGB to YUV take 3
[019:314] [2022-07-25 00:15:48 +0000.313329][2968] DTS queue for
Generator:0x6f874de6b8 3559
[019:667] [2022-07-25 00:15:48 +0000.666545][2961] AF_SpeedFilter audio
0x6e9b708000 PullFrame
[019:675] [2022-07-25 00:15:48 +0000.674062][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[019:745] [2022-07-25 00:15:48 +0000.743928][2703] The convert RGB to YUV take 3
[019:746] [2022-07-25 00:15:48 +0000.745227][2968] Push an pts:3996 to dts queue.
[019:782] [2022-07-25 00:15:48 +0000.781070][2968] h264 add frame header cdr flag
[019:782] [2022-07-25 00:15:48 +0000.781252][2968] Received key frame:3996
[019:782] [2022-07-25 00:15:48 +0000.781353][2968] last dts:3957 currentPts:3996
ppsOrSPS:0 queue length:2
[019:809] [2022-07-25 00:15:48 +0000.808262][2969] get the H.264 IDR frame
[019:817] [2022-07-25 00:15:48 +0000.815928][2961] FilterPipeline2::OnAudioFrame
pts 4080 last_audio_timestamp_ 4080
[019:842] [2022-07-25 00:15:48 +0000.841400][2703] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4984 diff: 17
[020:015] [2022-07-25 00:15:49 +0000.14293][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[020:143] [2022-07-25 00:15:49 +0000.142209][2968] DTS queue for
Generator:0x6f874de6b8 4362 4393
[020:147] [2022-07-25 00:15:49 +0000.146197][2708] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:147] [2022-07-25 00:15:49 +0000.146285][2708] _deviceSampleRate:48000

[020:149] [2022-07-25 00:15:49 +0000.148655][2707] Run AGC when audioType = 0


[020:149] [2022-07-25 00:15:49 +0000.148776][2707]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:171] [2022-07-25 00:15:49 +0000.170752][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[020:240] [2022-07-25 00:15:49 +0000.239453][2703] The convert RGB to YUV take 2
[020:555] [2022-07-25 00:15:49 +0000.554103][2961] resampled_data_size:0
[020:685] [2022-07-25 00:15:49 +0000.684436][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[020:746] [2022-07-25 00:15:49 +0000.745568][2703] The convert RGB to YUV take 6
[020:817] [2022-07-25 00:15:49 +0000.815875][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[020:968] [2022-07-25 00:15:49 +0000.967046][2961] AF_SpeedFilter::PullFrame eof4
[020:972] [2022-07-25 00:15:49 +0000.971682][2961]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[020:973] [2022-07-25 00:15:49 +0000.972697][2968] DTS queue for
Generator:0x6f874de6b8 5191 5221
[020:976] [2022-07-25 00:15:49 +0000.975018][2963] The output timestamp from audio
mixer change:93919407
[021:012] [2022-07-25 00:15:50 +0000.11373][2707] On audio frame the broadcast with
timestamp:93919449 samples:480. (1000 frame for one log)

[021:017] [2022-07-25 00:15:50 +0000.16628][2963] Get data in mic source, which has
byte length:1764micAudioStream->length():20
[021:017] [2022-07-25 00:15:50 +0000.16718][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[021:047] [2022-07-25 00:15:50 +0000.46536][2968] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:5257 pts:5257
[021:070] [2022-07-25 00:15:50 +0000.69829][2968] Push an pts:5321 to dts queue.
[021:081] [2022-07-25 00:15:50 +0000.80362][2961] RecordAudioSource::PullAudioFrame
[021:113] [2022-07-25 00:15:50 +0000.112501][2968] SendFrame
encodedImage._timeStamp:5321encodedImage->_length:39968
[021:113] [2022-07-25 00:15:50 +0000.112602][2968] last dts:5290 currentPts:5321
ppsOrSPS:0 queue length:2
[021:135] [2022-07-25 00:15:50 +0000.133987][2967]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 5294queue_audio_frame_:8
[021:169] [2022-07-25 00:15:50 +0000.168351][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[021:206] [2022-07-25 00:15:50 +0000.205460][2968] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:5455
[021:206] [2022-07-25 00:15:50 +0000.205515][2968] push video frame to H264
encoder. (100 frame for one log)

[021:206] [2022-07-25 00:15:50 +0000.205547][2968] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[021:206] [2022-07-25 00:15:50 +0000.205567][2968] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:5455(100 frame for one
log)
[021:206] [2022-07-25 00:15:50 +0000.205622][2968] The input pts:5455 fps:30
[021:242] [2022-07-25 00:15:50 +0000.241006][2703] The convert RGB to YUV take 3
[021:247] [2022-07-25 00:15:50 +0000.246438][2968] H264Encode::H264SWEncoder get
callback, length:29248 type:1 nalType:1length:29244
[021:339] [2022-07-25 00:15:50 +0000.338577][2961] AF_SpeedFilter audio
0x6e9b708000 PullFrame
[021:474] [2022-07-25 00:15:50 +0000.473486][2703] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[021:579] [2022-07-25 00:15:50 +0000.578527][2961] AF_SpeedFilter audio time,
0x6e9b708000 rcv time: 93920007
[021:579] [2022-07-25 00:15:50 +0000.578586][2961] AF_SpeedFilter audio time,
0x6e9b708000 rcv time: 93920007in_nSamples:441
[021:615] [2022-07-25 00:15:50 +0000.614161][2961]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 93920008
[021:615] [2022-07-25 00:15:50 +0000.614216][2961]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[021:668] [2022-07-25 00:15:50 +0000.667708][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[021:738] [2022-07-25 00:15:50 +0000.736827][2703] The convert RGB to YUV take 3
[021:743] [2022-07-25 00:15:50 +0000.742425][2968]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:5989
[021:774] [2022-07-25 00:15:50 +0000.773266][2703] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[021:774] [2022-07-25 00:15:50 +0000.773307][2703] GPUImageProcessing: input frame
width1920 X 1080
[021:775] [2022-07-25 00:15:50 +0000.774272][2703] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[021:775] [2022-07-25 00:15:50 +0000.774308][2703] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[021:784] [2022-07-25 00:15:50 +0000.783576][2968] h264 add frame header cdr flag
[021:784] [2022-07-25 00:15:50 +0000.783695][2968] Received key frame:5989
[021:784] [2022-07-25 00:15:50 +0000.783729][2968] DTS queue for
Generator:0x6f874de6b8 6029
[021:811] [2022-07-25 00:15:50 +0000.810002][2969] get the H.264 IDR frame
[021:907] [2022-07-25 00:15:50 +0000.906390][2703] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5977 diff: 24
[022:017] [2022-07-25 00:15:51 +0000.16691][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[022:153] [2022-07-25 00:15:51 +0000.151825][2707] Run AGC when audioType = 0
[022:173] [2022-07-25 00:15:51 +0000.171979][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[022:239] [2022-07-25 00:15:51 +0000.238065][2703] The convert RGB to YUV take 4
[022:336] [2022-07-25 00:15:51 +0000.335426][2703] drawYUV420 render
OpenGLRenderProgram:0x6eb1aec298
[022:411] [2022-07-25 00:15:51 +0000.410178][2968] Push an pts:6656 to dts queue.
[022:447] [2022-07-25 00:15:51 +0000.446460][2968] last dts:6623 currentPts:6656
ppsOrSPS:0 queue length:2
[022:547] [2022-07-25 00:15:51 +0000.546484][2707] haveEnoughProcessedData
internalAudioStream.length: 20
[022:612] [2022-07-25 00:15:51 +0000.611685][2968] DTS queue for
Generator:0x6f874de6b8 6854
[022:668] [2022-07-25 00:15:51 +0000.667603][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[022:737] [2022-07-25 00:15:51 +0000.736552][2961] resampled_data_size:11776
[022:738] [2022-07-25 00:15:51 +0000.736958][2703] The convert RGB to YUV take 4
[022:836] [2022-07-25 00:15:51 +0000.835544][2961] AF_SpeedFilter audio time
[022:836] [2022-07-25 00:15:51 +0000.835770][2961] AF_SpeedFilter audio time 111,
0x6e9b708000 out time: 93921208 org time: 93921208
[022:974] [2022-07-25 00:15:51 +0000.973464][2961] AF_SpeedFilter audio
0x6e9b708000 PullFrame
[023:002] [2022-07-25 00:15:52 +0000.1537][2961] RecordAudioSource::PullAudioFrame
[023:013] [2022-07-25 00:15:52 +0000.12173][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[023:168] [2022-07-25 00:15:52 +0000.166959][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[023:238] [2022-07-25 00:15:52 +0000.237146][2703] The convert RGB to YUV take 3
[023:328] [2022-07-25 00:15:52 +0000.327216][2961] AF_SpeedFilter::PullFrame eof4
[023:332] [2022-07-25 00:15:52 +0000.331651][2961]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[023:406] [2022-07-25 00:15:52 +0000.404923][2967]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 7616queue_audio_frame_:2
[023:441] [2022-07-25 00:15:52 +0000.440161][2968] DTS queue for
Generator:0x6f874de6b8 7688
[023:668] [2022-07-25 00:15:52 +0000.667122][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[023:737] [2022-07-25 00:15:52 +0000.736660][2703] The convert RGB to YUV take 3
[023:744] [2022-07-25 00:15:52 +0000.743271][2968] Push an pts:7987 to dts queue.
[023:780] [2022-07-25 00:15:52 +0000.779385][2968] h264 add frame header cdr flag
[023:780] [2022-07-25 00:15:52 +0000.779532][2968] Received key frame:7987
[023:780] [2022-07-25 00:15:52 +0000.779561][2968] last dts:7955 currentPts:7987
ppsOrSPS:0 queue length:2
[023:817] [2022-07-25 00:15:52 +0000.816598][2969] get the H.264 IDR frame
[023:973] [2022-07-25 00:15:52 +0000.972000][2703] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6981 diff: 20
[024:022] [2022-07-25 00:15:53 +0000.20828][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[024:150] [2022-07-25 00:15:53 +0000.149604][2707] Run AGC when audioType = 0
[024:150] [2022-07-25 00:15:53 +0000.149748][2707]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:167] [2022-07-25 00:15:53 +0000.166183][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[024:237] [2022-07-25 00:15:53 +0000.236371][2703] The convert RGB to YUV take 2
[024:271] [2022-07-25 00:15:53 +0000.270469][2707] haveEnoughProcessedData
internalAudioStream.length: 20
[024:280] [2022-07-25 00:15:53 +0000.279017][2968] DTS queue for
Generator:0x6f874de6b8 8486 8525
[024:416] [2022-07-25 00:15:53 +0000.415141][2968] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:8619 pts:8619
[024:447] [2022-07-25 00:15:53 +0000.446359][2968] SendFrame
encodedImage._timeStamp:8654encodedImage->_length:33328
[024:570] [2022-07-25 00:15:53 +0000.569650][2968] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:8820
[024:570] [2022-07-25 00:15:53 +0000.569717][2968] push video frame to H264
encoder. (100 frame for one log)

[024:570] [2022-07-25 00:15:53 +0000.569761][2968] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[024:571] [2022-07-25 00:15:53 +0000.569869][2968] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:8820(100 frame for one
log)

[024:571] [2022-07-25 00:15:53 +0000.569906][2968] The input pts:8820 fps:30


[024:598] [2022-07-25 00:15:53 +0000.597719][2961] AF_SpeedFilter audio
0x6e9b708000 PullFrame
[024:611] [2022-07-25 00:15:53 +0000.610493][2968] H264Encode::H264SWEncoder get
callback, length:19760 type:1 nalType:1length:19756
[024:665] [2022-07-25 00:15:53 +0000.664138][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[024:736] [2022-07-25 00:15:53 +0000.735476][2703] The convert RGB to YUV take 2
[024:894] [2022-07-25 00:15:53 +0000.893445][2961]
RecordAudioSource::PullAudioFrame
[025:000] [2022-07-25 00:15:53 +0000.999383][2961] resampled_data_size:2560
[025:015] [2022-07-25 00:15:54 +0000.14029][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[025:076] [2022-07-25 00:15:54 +0000.75386][2968]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:9322
[025:076] [2022-07-25 00:15:54 +0000.75458][2968] Push an pts:9322 to dts queue.
[025:104] [2022-07-25 00:15:54 +0000.103397][2968] DTS queue for
Generator:0x6f874de6b8 9322 9354
[025:106] [2022-07-25 00:15:54 +0000.104968][2968] last dts:9288 currentPts:9322
ppsOrSPS:0 queue length:2
[025:139] [2022-07-25 00:15:54 +0000.138421][2703] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[025:139] [2022-07-25 00:15:54 +0000.138607][2703] GPUImageProcessing: input frame
width1920 X 1080
[025:140] [2022-07-25 00:15:54 +0000.138934][2703] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[025:140] [2022-07-25 00:15:54 +0000.138993][2703] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[025:174] [2022-07-25 00:15:54 +0000.173503][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[025:237] [2022-07-25 00:15:54 +0000.236064][2703] The convert RGB to YUV take 3
[025:658] [2022-07-25 00:15:54 +0000.657033][2961] AF_SpeedFilter::PullFrame eof4
[025:664] [2022-07-25 00:15:54 +0000.662944][2961]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[025:670] [2022-07-25 00:15:54 +0000.669283][2703] drawYUV420 render
OpenGLRenderProgram:0x6eb1aec298
[025:671] [2022-07-25 00:15:54 +0000.670355][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[025:734] [2022-07-25 00:15:54 +0000.733770][2703] The convert RGB to YUV take 5
[025:757] [2022-07-25 00:15:54 +0000.756231][2967]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9938queue_audio_frame_:4
[025:779] [2022-07-25 00:15:54 +0000.778277][2968] h264 add frame header cdr flag
[025:779] [2022-07-25 00:15:54 +0000.778780][2968] Received key frame:9984
[025:809] [2022-07-25 00:15:54 +0000.808196][2969] get the H.264 IDR frame
[025:912] [2022-07-25 00:15:54 +0000.911685][2968] DTS queue for
Generator:0x6f874de6b8 10155
[025:989] [2022-07-25 00:15:54 +0000.988768][2707] haveEnoughProcessedData
internalAudioStream.length: 20
[026:013] [2022-07-25 00:15:55 +0000.12778][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[026:070] [2022-07-25 00:15:55 +0000.68976][2703] webrtc common_video plane
old ..... (1/1000) new: 8001 delete: 7977 diff: 24
[026:151] [2022-07-25 00:15:55 +0000.150448][2707] Run AGC when audioType = 0
[026:165] [2022-07-25 00:15:55 +0000.164479][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[026:201] [2022-07-25 00:15:55 +0000.200673][2961] AF_SpeedFilter audio
0x6e9b708000 PullFrame
[026:240] [2022-07-25 00:15:55 +0000.239403][2703] The convert RGB to YUV take 3
[026:405] [2022-07-25 00:15:55 +0000.404470][2968] Push an pts:10653 to dts queue.
[026:437] [2022-07-25 00:15:55 +0000.436535][2968] last dts:10619 currentPts:10653
ppsOrSPS:0 queue length:2
[026:667] [2022-07-25 00:15:55 +0000.666469][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[026:737] [2022-07-25 00:15:55 +0000.736727][2703] The convert RGB to YUV take 3
[026:742] [2022-07-25 00:15:55 +0000.740849][2968] DTS queue for
Generator:0x6f874de6b8 10988
[026:767] [2022-07-25 00:15:55 +0000.766180][2961]
RecordAudioSource::PullAudioFrame
[027:015] [2022-07-25 00:15:56 +0000.13823][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[027:171] [2022-07-25 00:15:56 +0000.170646][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[027:174] [2022-07-25 00:15:56 +0000.173784][2961] resampled_data_size:14848
[027:237] [2022-07-25 00:15:56 +0000.236615][2703] The convert RGB to YUV take 4
[027:577] [2022-07-25 00:15:56 +0000.575992][2968] DTS queue for
Generator:0x6f874de6b8 11819
[027:666] [2022-07-25 00:15:56 +0000.665165][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[027:714] [2022-07-25 00:15:56 +0000.713553][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[027:736] [2022-07-25 00:15:56 +0000.734919][2703] The convert RGB to YUV take 5
[027:737] [2022-07-25 00:15:56 +0000.736694][2968] Push an pts:11985 to dts queue.
[027:785] [2022-07-25 00:15:56 +0000.784500][2968] h264 add frame header cdr flag
[027:786] [2022-07-25 00:15:56 +0000.785250][2968] SendFrame
encodedImage._timeStamp:11985encodedImage->_length:191200
[027:786] [2022-07-25 00:15:56 +0000.785425][2968] Received key frame:11985
[027:786] [2022-07-25 00:15:56 +0000.785479][2968] last dts:11953 currentPts:11985
ppsOrSPS:0 queue length:2
[027:786] [2022-07-25 00:15:56 +0000.785526][2968] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:11985 pts:11985
[027:818] [2022-07-25 00:15:56 +0000.817024][2969] get the H.264 IDR frame
[027:818] [2022-07-25 00:15:56 +0000.817724][2961] AF_SpeedFilter audio
0x6e9b708000 PullFrame
[027:945] [2022-07-25 00:15:56 +0000.944697][2968] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:12192
[027:945] [2022-07-25 00:15:56 +0000.944762][2968] push video frame to H264
encoder. (100 frame for one log)

[027:946] [2022-07-25 00:15:56 +0000.944807][2968] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[027:946] [2022-07-25 00:15:56 +0000.944876][2968] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:12192(100 frame for one
log)

[027:946] [2022-07-25 00:15:56 +0000.944906][2968] The input pts:12192 fps:30


[027:976] [2022-07-25 00:15:56 +0000.975518][2968] H264Encode::H264SWEncoder get
callback, length:42832 type:1 nalType:1length:42828
[027:984] [2022-07-25 00:15:56 +0000.982812][2961] AF_SpeedFilter::PullFrame eof4
[027:988] [2022-07-25 00:15:56 +0000.987009][2961]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[028:012] [2022-07-25 00:15:57 +0000.11719][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[028:122] [2022-07-25 00:15:57 +0000.121697][2967]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 12260queue_audio_frame_:8
[028:135] [2022-07-25 00:15:57 +0000.134451][2703] webrtc common_video plane
old ..... (1/1000) new: 9001 delete: 8981 diff: 20
[028:149] [2022-07-25 00:15:57 +0000.148678][2707] Run AGC when audioType = 0
[028:150] [2022-07-25 00:15:57 +0000.148838][2707]
AudioDeviceDataHandler::MixAndSendOutFrame
[028:163] [2022-07-25 00:15:57 +0000.162046][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:234] [2022-07-25 00:15:57 +0000.233323][2703] The convert RGB to YUV take 3
[028:405] [2022-07-25 00:15:57 +0000.404186][2968]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:12652
[028:407] [2022-07-25 00:15:57 +0000.406552][2968] DTS queue for
Generator:0x6f874de6b8 12615 12652
[028:498] [2022-07-25 00:15:57 +0000.497519][2703] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[028:499] [2022-07-25 00:15:57 +0000.497989][2703] GPUImageProcessing: input frame
width1920 X 1080
[028:499] [2022-07-25 00:15:57 +0000.498501][2703] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[028:500] [2022-07-25 00:15:57 +0000.499167][2703] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[028:664] [2022-07-25 00:15:57 +0000.663018][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:690] [2022-07-25 00:15:57 +0000.689544][2961]
RecordAudioSource::PullAudioFrame
[028:733] [2022-07-25 00:15:57 +0000.732091][2703] The convert RGB to YUV take 3
[029:009] [2022-07-25 00:15:58 +0000.8402][2703] drawYUV420 render
OpenGLRenderProgram:0x6eb1aec298
[029:015] [2022-07-25 00:15:58 +0000.14145][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[029:072] [2022-07-25 00:15:58 +0000.71308][2968] Push an pts:13317 to dts queue.
[029:123] [2022-07-25 00:15:58 +0000.122794][2968] last dts:13286 currentPts:13317
ppsOrSPS:0 queue length:2
[029:173] [2022-07-25 00:15:58 +0000.172139][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:230] [2022-07-25 00:15:58 +0000.229768][2703] The convert RGB to YUV take 2
[029:233] [2022-07-25 00:15:58 +0000.232495][2968] DTS queue for
Generator:0x6f874de6b8 13449 13482
[029:435] [2022-07-25 00:15:58 +0000.434732][2961] resampled_data_size:5632
[029:451] [2022-07-25 00:15:58 +0000.449948][2707] haveEnoughProcessedData
internalAudioStream.length: 10
[029:498] [2022-07-25 00:15:58 +0000.497194][2961] AF_SpeedFilter audio
0x6e9b708000 PullFrame
[029:660] [2022-07-25 00:15:58 +0000.658929][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:735] [2022-07-25 00:15:58 +0000.734258][2703] The convert RGB to YUV take 5
[029:771] [2022-07-25 00:15:58 +0000.770083][2968] h264 add frame header cdr flag
[029:771] [2022-07-25 00:15:58 +0000.770221][2968] Received key frame:13984
[029:800] [2022-07-25 00:15:58 +0000.799611][2961] FilterPipeline2::OnAudioFrame
pts 14080 last_audio_timestamp_ 14080
[029:807] [2022-07-25 00:15:58 +0000.806577][2969] get the H.264 IDR frame
[030:018] [2022-07-25 00:15:59 +0000.17265][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[030:036] [2022-07-25 00:15:59 +0000.35243][2968] DTS queue for
Generator:0x6f874de6b8 14284
[030:147] [2022-07-25 00:15:59 +0000.146142][2708] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:147] [2022-07-25 00:15:59 +0000.146409][2708] _deviceSampleRate:48000

[030:152] [2022-07-25 00:15:59 +0000.151271][2707] Run AGC when audioType = 0


[030:165] [2022-07-25 00:15:59 +0000.164235][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:229] [2022-07-25 00:15:59 +0000.228731][2703] webrtc common_video plane
old ..... (1/1000) new: 10001 delete: 9978 diff: 23
[030:233] [2022-07-25 00:15:59 +0000.232798][2703] The convert RGB to YUV take 3
[030:379] [2022-07-25 00:15:59 +0000.378048][2967]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 14582queue_audio_frame_:2
[030:399] [2022-07-25 00:15:59 +0000.398111][2968] Push an pts:14649 to dts queue.
[030:417] [2022-07-25 00:15:59 +0000.416423][2961] AF_SpeedFilter::PullFrame eof4
[030:422] [2022-07-25 00:15:59 +0000.420898][2961]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[030:436] [2022-07-25 00:15:59 +0000.435681][2968] last dts:14616 currentPts:14649
ppsOrSPS:0 queue length:2
[030:637] [2022-07-25 00:15:59 +0000.636651][2961]
RecordAudioSource::PullAudioFrame
[030:661] [2022-07-25 00:15:59 +0000.660474][2703] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:730] [2022-07-25 00:15:59 +0000.729129][2703] The convert RGB to YUV take 3
[030:872] [2022-07-25 00:15:59 +0000.871178][2968] DTS queue for
Generator:0x6f874de6b8 15117
[030:949] [2022-07-25 00:15:59 +0000.948463][2963] The output timestamp from audio
mixer change:93929384
[030:963] [2022-07-25 00:15:59 +0000.962021][2703] StopRecording:
[030:963] [2022-07-25 00:15:59 +0000.962753][2703] OnNeedStopRecording:
[030:964] [2022-07-25 00:15:59 +0000.963517][2961] PullAudioFrame: PullFrame audio
finished.
[030:964] [2022-07-25 00:15:59 +0000.963555][2961]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[030:967] [2022-07-25 00:15:59 +0000.966022][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[030:970] [2022-07-25 00:15:59 +0000.968848][2703] operator(): Stop
[030:970] [2022-07-25 00:15:59 +0000.968901][2703] StopPullFrameAndWriteMp4
time:93929407 enter.

[030:970] [2022-07-25 00:15:59 +0000.968933][2703] StopRecording:


[030:974] [2022-07-25 00:15:59 +0000.973085][2968]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:457
[030:977] [2022-07-25 00:15:59 +0000.976295][2702] stop recording
[030:977] [2022-07-25 00:15:59 +0000.976455][2702]
RecordingSessionInternalSimple:destroy media processers
[030:977] [2022-07-25 00:15:59 +0000.976497][2702] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[030:977] [2022-07-25 00:15:59 +0000.976533][2702] H264Encode::flushing hareware
Encoder
[030:978] [2022-07-25 00:15:59 +0000.976807][2702] Flush time:93929415 enter.

[030:978] [2022-07-25 00:15:59 +0000.976862][2702] H264Encoder encoder flush


[030:978] [2022-07-25 00:15:59 +0000.976917][2702] flush output queue
[031:009] [2022-07-25 00:16:00 +0000.8500][2707] On audio frame the broadcast with
timestamp:93929446 samples:480. (1000 frame for one log)

[031:015] [2022-07-25 00:16:00 +0000.14220][2963] Get data in mic source, which has
byte length:1764micAudioStream->length():20
[031:015] [2022-07-25 00:16:00 +0000.14641][2963] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[031:183] [2022-07-25 00:16:00 +0000.182269][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[031:299] [2022-07-25 00:16:00 +0000.298080][2702] Flush leave. expire time = 321
ms

[031:299] [2022-07-25 00:16:00 +0000.298359][2702] ~H264EncodeWrap:


[031:299] [2022-07-25 00:16:00 +0000.298440][2702] ~H264Encode:
[031:299] [2022-07-25 00:16:00 +0000.298474][2702] teardownCompressionSession:
H264Encode::destroying Encoder
[031:299] [2022-07-25 00:16:00 +0000.298508][2702] Release time:93929736 enter.

[031:299] [2022-07-25 00:16:00 +0000.298791][2702] Release:


MediaCodecVideoEncoder::Release _inited:1
[031:300] [2022-07-25 00:16:00 +0000.298917][2702] Destroy time:93929737 enter.

[031:300] [2022-07-25 00:16:00 +0000.298955][2702] H264Encoder encoderDestroy


[031:300] [2022-07-25 00:16:00 +0000.298991][2702]
AndroidMediaCodecVideoEncoder::release env: 0x6f0c520280
[031:301] [2022-07-25 00:16:00 +0000.299810][2702]
AndroidMediaCodecVideoEncoder::Destroy
[031:339] [2022-07-25 00:16:00 +0000.337950][2702] Destroy leave. expire time = 39
ms

[031:339] [2022-07-25 00:16:00 +0000.338204][2702] Release leave. expire time = 40


ms

[031:339] [2022-07-25 00:16:00 +0000.338252][2702] ~AndroidHwAvcEncoder


time:93929776 enter.

[031:339] [2022-07-25 00:16:00 +0000.338438][2702] Release time:93929776 enter.

[031:339] [2022-07-25 00:16:00 +0000.338510][2702] Release:


MediaCodecVideoEncoder:: has been released before, just return
[031:339] [2022-07-25 00:16:00 +0000.339750][2702] Release leave. expire time = 1
ms

[031:341] [2022-07-25 00:16:00 +0000.339822][2702] ~AndroidMediaCodecVideoEncoder


[031:341] [2022-07-25 00:16:00 +0000.339856][2702] ~WrapAndroidMediaCodec
time:93929778 enter.

[031:341] [2022-07-25 00:16:00 +0000.339893][2702] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[031:341] [2022-07-25 00:16:00 +0000.339928][2702] video hevc hw codec


destructor:0x6f8741fae0

[031:341] [2022-07-25 00:16:00 +0000.340055][2702] ~AndroidHwAvcEncoder leave.


expire time = 2 ms

[031:341] [2022-07-25 00:16:00 +0000.340150][2702] teardownCompressionSession:


H264Encode::destroyed Encoder
[031:341] [2022-07-25 00:16:00 +0000.340197][2702]
RecordingSessionInternalSimple:destroy aac encoder output!
[031:341] [2022-07-25 00:16:00 +0000.340230][2702] AACSWEncode destructor
[031:350] [2022-07-25 00:16:00 +0000.349547][2969] MP4 close file successfully
[031:350] [2022-07-25 00:16:00 +0000.349616][2969] Recording session Internal:
notify recording ok
[031:350] [2022-07-25 00:16:00 +0000.349638][2969] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4,
output_video_timestamp_:15214 last_video_pts_:15185
[031:350] [2022-07-25 00:16:00 +0000.349664][2969] OnRecordFinish:
[031:351] [2022-07-25 00:16:00 +0000.350087][2969] onRecordingOk: net seek
pos:0record video duration:15218record audio duration:15209
[031:352] [2022-07-25 00:16:00 +0000.350821][2963] destructMicSource_w:
[031:352] [2022-07-25 00:16:00 +0000.350893][2963] setOutput_w:
MicSource::setOutput() 0x0
[031:352] [2022-07-25 00:16:00 +0000.351115][2703] releaseThread 0x6e9afe9a00
[031:352] [2022-07-25 00:16:00 +0000.351147][2703] ~MicSource: Mic source
destroyed:0x6eb1aa9680
[031:352] [2022-07-25 00:16:00 +0000.351675][2703] StopPullFrameAndWriteMp4 leave.
expire time = 382 ms

[031:352] [2022-07-25 00:16:00 +0000.351705][2703] DestroyPipelineAndFilters


time:93929789 enter.

[031:352] [2022-07-25 00:16:00 +0000.351735][2703] UnbindInputFilter 0x6e9b015640


this 0x6eb1aec4c0
[031:352] [2022-07-25 00:16:00 +0000.351784][2703] UnbindInputFilter 0x6e9b0157d8
this 0x6e9b708150
[031:353] [2022-07-25 00:16:00 +0000.351834][2703] UnbindInputFilter 0x6eb1aec4c0
this 0x6e80debfa0
[031:353] [2022-07-25 00:16:00 +0000.351891][2703] filter: filter pipeline destroy
this: 0x6e80debf00
[031:353] [2022-07-25 00:16:00 +0000.352192][2703] ClearVideoOfSources: recodring
total frames:0
[031:353] [2022-07-25 00:16:00 +0000.352224][2703] ClearVideoOfSources:
[031:353] [2022-07-25 00:16:00 +0000.352281][2703] GPUImageProcessing destruct.
[031:353] [2022-07-25 00:16:00 +0000.352374][2703] destroy TrivalImageDrawer
0x6ea7204140
[031:353] [2022-07-25 00:16:00 +0000.352393][2703] The shader has been initialize,
clean up them.

[031:354] [2022-07-25 00:16:00 +0000.352959][2703] ~OpenGLFrameBuffer:


[031:354] [2022-07-25 00:16:00 +0000.353043][2703] ~OpenGLFrameBuffer:
[031:354] [2022-07-25 00:16:00 +0000.353140][2703] ~OpenGLFrameBuffer:
[031:355] [2022-07-25 00:16:00 +0000.354123][2703] ~OpenGLFrameBuffer:
[031:355] [2022-07-25 00:16:00 +0000.354222][2703] ~OpenGLFrameBuffer:
[031:355] [2022-07-25 00:16:00 +0000.354300][2703] ~OpenGLFrameBuffer:
[031:355] [2022-07-25 00:16:00 +0000.354519][2703] GPUImageProcessing destruct
finish.
[031:355] [2022-07-25 00:16:00 +0000.354569][2703] GPURGBAFrame destruct.
[031:355] [2022-07-25 00:16:00 +0000.354626][2703] destroy OpenGLRenderProgram
0x6eb1aec298
[031:355] [2022-07-25 00:16:00 +0000.354675][2703] ~CameraSource time:93929792
enter.

[031:355] [2022-07-25 00:16:00 +0000.354709][2703] ~CameraSource leave. expire


time = 0 ms

[031:355] [2022-07-25 00:16:00 +0000.354749][2703] ~RecordAudioSource time:93929792


enter.

[031:355] [2022-07-25 00:16:00 +0000.354780][2703] ~RecordAudioSource leave.


expire time = 0 ms

[031:356] [2022-07-25 00:16:00 +0000.354816][2703] DestroyPipelineAndFilters


leave. expire time = 4 ms

[031:375] [2022-07-25 00:16:00 +0000.373895][ebb]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[031:375] [2022-07-25 00:16:00 +0000.374512][ebb] machine model :poco
[031:375] [2022-07-25 00:16:00 +0000.374564][ebb] Support this machine model :poco
[031:375] [2022-07-25 00:16:00 +0000.374611][ebb] global inited! current sdk
version: 07-20-936c45f
[031:376] [2022-07-25 00:16:00 +0000.374813][ebb] filter: filter pipeline construtc
this: 0x6e7c3b8600
[031:376] [2022-07-25 00:16:00 +0000.374858][ebb] MediaFilterGraph:
MediaFilterGraph construct
[031:376] [2022-07-25 00:16:00 +0000.374908][ebb] GLESContext:
[031:376] [2022-07-25 00:16:00 +0000.374945][ebb] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[031:377] [2022-07-25 00:16:00 +0000.375877][ebb] The result of creation:
0x6ea6f3a580
[031:377] [2022-07-25 00:16:00 +0000.375995][ebb] The result of
eglCreatePbufferSurface is: 0x6ea6f3ab80
[031:377] [2022-07-25 00:16:00 +0000.376101][ebb] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4
[031:377] [2022-07-25 00:16:00 +0000.376127][ebb] The source 0 speed:1
[031:377] [2022-07-25 00:16:00 +0000.376161][ebb] AddVideoSource: add video source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4,
delay: 0
[031:377] [2022-07-25 00:16:00 +0000.376187][ebb] CreateDecoderByVideoSource
time:93929814 enter.

[031:377] [2022-07-25 00:16:00 +0000.376376][ebb] running_decoder_count:0max


count:2
[031:377] [2022-07-25 00:16:00 +0000.376415][ebb] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x6ec2efcc00
[031:378] [2022-07-25 00:16:00 +0000.377161][2cb9] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6ec2e57c00] Current FFmpeg version git-2021-06-16-
97cea6f

[031:423] [2022-07-25 00:16:00 +0000.421936][2cb9] OnStreamInfoFound: video


duration_: 15218
[031:424] [2022-07-25 00:16:00 +0000.423072][ebb] start decoder
[031:424] [2022-07-25 00:16:00 +0000.423126][ebb] CreateDecoderByVideoSource
leave. expire time = 47 ms

[031:424] [2022-07-25 00:16:00 +0000.423162][ebb] BindInputFilter 0x6ec2ece720


this 0x6e9b3f3e98
[031:424] [2022-07-25 00:16:00 +0000.423196][ebb] BindInputFilter 0x6e9b3f3e98
this 0x6e9b3f3f58
[031:424] [2022-07-25 00:16:00 +0000.423232][ebb] BindInputFilter 0x6ec2ece720
this 0x6e9b3f4018
[031:424] [2022-07-25 00:16:00 +0000.423303][ebb] BindInputFilter 0x6e9b3f4018
this 0x6e9b3f43d8
[031:424] [2022-07-25 00:16:00 +0000.423325][ebb] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4
[031:424] [2022-07-25 00:16:00 +0000.423388][ebb] BindInputFilter 0x6e9b3f3f58
this 0x6e9b3f4498
[031:424] [2022-07-25 00:16:00 +0000.423429][ebb] BindInputFilter 0x6e9b3f4498
this 0x6e7c3b86a0
[031:424] [2022-07-25 00:16:00 +0000.423466][ebb] BindInputFilter 0x6e9b3f43d8
this 0x6e9b3f4558
[031:424] [2022-07-25 00:16:00 +0000.423498][ebb] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4
[031:424] [2022-07-25 00:16:00 +0000.423609][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[031:425] [2022-07-25 00:16:00 +0000.423954][ebb] machine model :poco
[031:425] [2022-07-25 00:16:00 +0000.423981][ebb] Support this machine model :poco
[031:425] [2022-07-25 00:16:00 +0000.423998][ebb] global inited! current sdk
version: 07-20-936c45f
[031:425] [2022-07-25 00:16:00 +0000.424082][ebb] GetPipeline:
-----------------------------------------
[031:425] [2022-07-25 00:16:00 +0000.424118][ebb] GetPipeline: source: 0x6ec2ece500
[031:425] [2022-07-25 00:16:00 +0000.424137][ebb] GetPipeline: filter: NULLFilter
[031:425] [2022-07-25 00:16:00 +0000.424154][ebb] GetPipeline: filter: NULLFilter
[031:425] [2022-07-25 00:16:00 +0000.424171][ebb] GetPipeline: filter: NULLFilter
[031:425] [2022-07-25 00:16:00 +0000.424187][ebb] GetPipeline: audio filter:
AuidoNULLFilter
[031:425] [2022-07-25 00:16:00 +0000.424202][ebb] GetPipeline: audio filter:
AuidoNULLFilter
[031:425] [2022-07-25 00:16:00 +0000.424223][ebb] GetPipeline: audio filter:
AudioNUllFilter
[031:425] [2022-07-25 00:16:00 +0000.424255][ebb] GetPipeline:
------------------------------------------
[031:425] [2022-07-25 00:16:00 +0000.424281][ebb] filter: filter pipeline2 update
pattern: 0
[031:425] [2022-07-25 00:16:00 +0000.424465][ebb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[031:425] [2022-07-25 00:16:00 +0000.424646][ebb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[031:425] [2022-07-25 00:16:00 +0000.424720][ebb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[031:426] [2022-07-25 00:16:00 +0000.424926][ebb] DeviceInit:
[031:426] [2022-07-25 00:16:00 +0000.425004][2cba] NO get frame from decoder
[031:426] [2022-07-25 00:16:00 +0000.425170][ebb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[031:426] [2022-07-25 00:16:00 +0000.425475][ebb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[031:426] [2022-07-25 00:16:00 +0000.425742][ebb] CreatePlatformSpecificObjects:
[031:427] [2022-07-25 00:16:00 +0000.425869][ebb] audio device use null audio
input and opensl output
[031:427] [2022-07-25 00:16:00 +0000.425969][ebb] Create OpenSLES output module
with java VM support.

[031:427] [2022-07-25 00:16:00 +0000.426151][ebb] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[031:427] [2022-07-25 00:16:00 +0000.426390][ebb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[031:429] [2022-07-25 00:16:00 +0000.428169][ebb] Create OpenSLES output module
with buffer num:2

[031:429] [2022-07-25 00:16:00 +0000.428247][ebb] Error(trace.cc:40): Init the


output and input for audio device template.
[031:429] [2022-07-25 00:16:00 +0000.428288][ebb] Init the output device.

[031:429] [2022-07-25 00:16:00 +0000.428328][ebb] Set the playout as stereo:1


[031:429] [2022-07-25 00:16:00 +0000.428366][ebb] Set the sample rate to be:44100

[031:429] [2022-07-25 00:16:00 +0000.428417][ebb] Low latency buffer size:144 low


sample rate:48000
[031:429] [2022-07-25 00:16:00 +0000.428466][ebb] DeviceInit: Done
[031:429] [2022-07-25 00:16:00 +0000.428650][ebb] UpdateRate: lipsync_debug: Update
framerate from 0 to 15
[031:429] [2022-07-25 00:16:00 +0000.428660][2cc5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e80797b18
[031:436] [2022-07-25 00:16:00 +0000.434868][2cba] NO get frame from decoder
[031:439] [2022-07-25 00:16:00 +0000.438448][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[031:439] [2022-07-25 00:16:00 +0000.438558][ebb]
MediaFilterPlayer::SetPlayerNotify 0x6eb1bca7a0
[031:439] [2022-07-25 00:16:00 +0000.438597][ebb]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[031:439] [2022-07-25 00:16:00 +0000.438616][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[031:439] [2022-07-25 00:16:00 +0000.438647][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[031:439] [2022-07-25 00:16:00 +0000.438700][ebb] SetGraphLoop: SetGraphLoop 1
[031:439] [2022-07-25 00:16:00 +0000.438718][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[031:439] [2022-07-25 00:16:00 +0000.438763][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[031:440] [2022-07-25 00:16:00 +0000.439033][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[031:440] [2022-07-25 00:16:00 +0000.439210][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[031:440] [2022-07-25 00:16:00 +0000.439329][2cc7] Start:
[031:440] [2022-07-25 00:16:00 +0000.439701][2cba] NO get frame from decoder
[031:441] [2022-07-25 00:16:00 +0000.439893][2cc6] operator(): video render
started.
[031:441] [2022-07-25 00:16:00 +0000.439950][2cc7] Start:
[031:441] [2022-07-25 00:16:00 +0000.440022][2cc7] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[031:441] [2022-07-25 00:16:00 +0000.440056][2cc7] Reset: history total size: 98
[031:441] [2022-07-25 00:16:00 +0000.440089][2cc7] DeviceStart:
audioDevice_:0x6e7cdd3000
[031:441] [2022-07-25 00:16:00 +0000.440114][2cc7] DeviceStart: time profile
playout init before
[031:441] [2022-07-25 00:16:00 +0000.440147][2cc7] DeviceStart: time profile
playout init end
[031:441] [2022-07-25 00:16:00 +0000.440176][2cc7] OpenSlesOutput:Start playout

[031:442] [2022-07-25 00:16:00 +0000.440915][2cc7] Create the opensl output player.


streamtype before:0

[031:442] [2022-07-25 00:16:00 +0000.440948][2cc7] Create the opensl output player.


streamtype after:3

[031:445] [2022-07-25 00:16:00 +0000.444196][2cba] NO get frame from decoder


[031:451] [2022-07-25 00:16:00 +0000.450463][2cba] NO get frame from decoder
[031:455] [2022-07-25 00:16:00 +0000.454780][2cba] NO get frame from decoder
[031:458] [2022-07-25 00:16:00 +0000.457403][2cba] NO get frame from decoder
[031:463] [2022-07-25 00:16:00 +0000.461870][2cba] NO get frame from decoder
[031:522] [2022-07-25 00:16:00 +0000.521707][2cc7] Enqueue opensl buffer size:1764
[031:542] [2022-07-25 00:16:00 +0000.541781][2cc7] DeviceStart: time profile
playout all end
[031:543] [2022-07-25 00:16:00 +0000.541922][2cc7] operator(): Audio playback
started.
[031:543] [2022-07-25 00:16:00 +0000.542086][2cc7] operator(): Started now!
[031:544] [2022-07-25 00:16:00 +0000.542886][2cc8] Pull audio failed.(wait video!)
[031:544] [2022-07-25 00:16:00 +0000.542979][2cc8]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:547] [2022-07-25 00:16:00 +0000.546663][2cc8]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:548] [2022-07-25 00:16:00 +0000.546978][2cc8] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:550] [2022-07-25 00:16:00 +0000.549776][2cc8]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:551] [2022-07-25 00:16:00 +0000.549950][2cc8] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:552] [2022-07-25 00:16:00 +0000.550874][2cc8]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:552] [2022-07-25 00:16:00 +0000.551030][2cc8] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:552] [2022-07-25 00:16:00 +0000.551727][2cc8]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:553] [2022-07-25 00:16:00 +0000.551829][2cc8] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:553] [2022-07-25 00:16:00 +0000.552465][2cc8]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[031:553] [2022-07-25 00:16:00 +0000.552550][2cc8] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[031:553] [2022-07-25 00:16:00 +0000.552704][2cc7] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[031:554] [2022-07-25 00:16:00 +0000.552883][2cc7] First audio frame rendering
[031:586] [2022-07-25 00:16:00 +0000.585729][2cc6] lipsync_debug: First video frame
rendering.
[032:011] [2022-07-25 00:16:01 +0000.10205][2cc6] lipsync_debug:displaying video
ts:41760 The current displayed video timestamp is:93930448
[032:147] [2022-07-25 00:16:01 +0000.146791][2707] Run AGC when audioType = 0
[032:148] [2022-07-25 00:16:01 +0000.146914][2707]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:296] [2022-07-25 00:16:01 +0000.294953][2cc9] Error(video_source.cc:430): wait
decoder a frame: 0
[032:368] [2022-07-25 00:16:01 +0000.367638][2ccb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[032:543] [2022-07-25 00:16:01 +0000.542034][2cc7] do work DoLipsync!
[032:543] [2022-07-25 00:16:01 +0000.542174][2cc7] total delay:158 videoTsMS:994
audioTsMS:836 diff:158
[032:543] [2022-07-25 00:16:01 +0000.542219][2cc7] Set the lipsync delay:158
[032:742] [2022-07-25 00:16:01 +0000.740974][2cc6] lipsync_debug:displaying video
ts:101520 The current displayed video timestamp is:93931179
[032:922] [2022-07-25 00:16:01 +0000.921727][2cc6] DriveRender working... (1/200)
[032:954] [2022-07-25 00:16:01 +0000.953616][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[033:071] [2022-07-25 00:16:02 +0000.69848][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[033:071] [2022-07-25 00:16:02 +0000.70639][2cc7] Stop:
[033:072] [2022-07-25 00:16:02 +0000.70822][2cc6] operator(): Video Render stopped.
[033:072] [2022-07-25 00:16:02 +0000.71021][2cc7] Stop:
[033:072] [2022-07-25 00:16:02 +0000.71284][2cc7] DeviceStop:
audioDevice_:0x6e7cdd3000
[033:072] [2022-07-25 00:16:02 +0000.71346][2cc7] OpenSlesOutput:Stop playout

[033:075] [2022-07-25 00:16:02 +0000.74415][2cc7] DeviceStop: Done


[033:075] [2022-07-25 00:16:02 +0000.74586][2cc7] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[033:075] [2022-07-25 00:16:02 +0000.74661][2cc7] operator(): Stop now!
[033:095] [2022-07-25 00:16:02 +0000.93861][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[033:095] [2022-07-25 00:16:02 +0000.94010][ebb] StopPreView: Have Stopped,
operation cancel
[033:095] [2022-07-25 00:16:02 +0000.94057][ebb] Stop:
[033:095] [2022-07-25 00:16:02 +0000.94415][2cc7] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[033:096] [2022-07-25 00:16:02 +0000.95006][ebb] DeviceRelease:
audioDevice_:0x6e7cdd3000
[033:096] [2022-07-25 00:16:02 +0000.95052][ebb] OpenSlesOutput:Stop playout

[033:096] [2022-07-25 00:16:02 +0000.95099][ebb] DeviceRelease: Release the webrtc


device object.
[033:096] [2022-07-25 00:16:02 +0000.95650][ebb] OpenSlesOutput destruct.

[033:096] [2022-07-25 00:16:02 +0000.95725][ebb] DeviceRelease: Done


[033:097] [2022-07-25 00:16:02 +0000.95873][ebb] Stop:
[033:097] [2022-07-25 00:16:02 +0000.96153][2cc6] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[033:109] [2022-07-25 00:16:02 +0000.108722][ebb] global uninited!
[033:110] [2022-07-25 00:16:02 +0000.108853][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[033:110] [2022-07-25 00:16:02 +0000.108965][ebb] ~MediaFilterGraph:
MediaFilterGraph destruct
[033:110] [2022-07-25 00:16:02 +0000.109012][ebb] RemoveVideoBackGroud: hava not
add video backgroud
[033:110] [2022-07-25 00:16:02 +0000.109046][ebb] UnbindInputFilter 0x6e9b3f4498
this 0x6e7c3b86a0
[033:110] [2022-07-25 00:16:02 +0000.109072][ebb] ClearAllSource: remove source
filter, sourceid: 0x6ec2ece500
[033:110] [2022-07-25 00:16:02 +0000.109090][ebb] DestoryDecoderByVideoSource
time:93931547 enter.

[033:110] [2022-07-25 00:16:02 +0000.109110][ebb] ~VideoBindDecoder time:93931547


enter.

[033:110] [2022-07-25 00:16:02 +0000.109268][ebb] CleanUp time:93931547 enter.

[033:112] [2022-07-25 00:16:02 +0000.111305][ebb] CleanUp leave. expire time = 2


ms

[033:112] [2022-07-25 00:16:02 +0000.111361][ebb] CleanUp time:93931549 enter.

[033:112] [2022-07-25 00:16:02 +0000.111626][ebb] CleanUp leave. expire time = 0


ms

[033:113] [2022-07-25 00:16:02 +0000.112191][ebb] ~VideoBindDecoder leave. expire


time = 3 ms

[033:113] [2022-07-25 00:16:02 +0000.112227][ebb] DestoryDecoderByVideoSource


leave. expire time = 3 ms

[033:113] [2022-07-25 00:16:02 +0000.112282][ebb] UnbindInputFilter 0x6e9b3f3f58


this 0x6e9b3f4498
[033:113] [2022-07-25 00:16:02 +0000.112325][ebb] UnbindInputFilter 0x6e9b3f3e98
this 0x6e9b3f3f58
[033:113] [2022-07-25 00:16:02 +0000.112362][ebb] UnbindInputFilter 0x6ec2ece720
this 0x6e9b3f3e98
[033:113] [2022-07-25 00:16:02 +0000.112395][ebb] UnbindInputFilter 0x6e9b3f43d8
this 0x6e9b3f4558
[033:113] [2022-07-25 00:16:02 +0000.112445][ebb] UnbindInputFilter 0x6e9b3f4018
this 0x6e9b3f43d8
[033:113] [2022-07-25 00:16:02 +0000.112489][ebb] UnbindInputFilter 0x6ec2ece720
this 0x6e9b3f4018
[033:116] [2022-07-25 00:16:02 +0000.115004][ebb] ~GLESContext:
[033:116] [2022-07-25 00:16:02 +0000.115691][ebb] GLESContext destruct finish.
[033:116] [2022-07-25 00:16:02 +0000.115737][ebb] filter: filter pipeline destroy
this: 0x6e7c3b8600
[033:117] [2022-07-25 00:16:02 +0000.116203][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[033:117] [2022-07-25 00:16:02 +0000.116638][ebb] machine model :poco
[033:117] [2022-07-25 00:16:02 +0000.116669][ebb] Support this machine model :poco
[033:117] [2022-07-25 00:16:02 +0000.116710][ebb] global inited! current sdk
version: 07-20-936c45f
[033:118] [2022-07-25 00:16:02 +0000.116856][ebb] filter: filter pipeline construtc
this: 0x6e7c3b8600
[033:118] [2022-07-25 00:16:02 +0000.116891][ebb] MediaFilterGraph:
MediaFilterGraph construct
[033:118] [2022-07-25 00:16:02 +0000.116909][ebb] GLESContext:
[033:118] [2022-07-25 00:16:02 +0000.116941][ebb] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[033:119] [2022-07-25 00:16:02 +0000.118594][ebb] The result of creation:
0x6eb1a92280
[033:119] [2022-07-25 00:16:02 +0000.118738][ebb] The result of
eglCreatePbufferSurface is: 0x6eb1a92380
[033:120] [2022-07-25 00:16:02 +0000.118987][ebb] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4
[033:120] [2022-07-25 00:16:02 +0000.119024][ebb] The source 0 speed:1
[033:120] [2022-07-25 00:16:02 +0000.119057][ebb] AddVideoSource: add video source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4,
delay: 0
[033:120] [2022-07-25 00:16:02 +0000.119130][ebb] CreateDecoderByVideoSource
time:93931557 enter.

[033:120] [2022-07-25 00:16:02 +0000.119312][ebb] running_decoder_count:0max


count:2
[033:120] [2022-07-25 00:16:02 +0000.119340][ebb] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x6ec2efcc00
[033:122] [2022-07-25 00:16:02 +0000.120886][2cd1] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6f8756f800] Current FFmpeg version git-2021-06-16-
97cea6f

[033:167] [2022-07-25 00:16:02 +0000.165955][2cd1] OnStreamInfoFound: video


duration_: 15218
[033:168] [2022-07-25 00:16:02 +0000.167341][ebb] start decoder
[033:168] [2022-07-25 00:16:02 +0000.167420][ebb] CreateDecoderByVideoSource
leave. expire time = 48 ms

[033:168] [2022-07-25 00:16:02 +0000.167578][ebb] BindInputFilter 0x6ec2ece720


this 0x6e9b3f3c58
[033:168] [2022-07-25 00:16:02 +0000.167642][ebb] BindInputFilter 0x6e9b3f3c58
this 0x6e9b3f3d18
[033:168] [2022-07-25 00:16:02 +0000.167703][ebb] BindInputFilter 0x6ec2ece720
this 0x6e9b3f3dd8
[033:168] [2022-07-25 00:16:02 +0000.167747][ebb] BindInputFilter 0x6e9b3f3dd8
this 0x6e9b3f3e98
[033:168] [2022-07-25 00:16:02 +0000.167778][ebb] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4
[033:169] [2022-07-25 00:16:02 +0000.167826][ebb] BindInputFilter 0x6e9b3f3d18
this 0x6e9b3f3f58
[033:169] [2022-07-25 00:16:02 +0000.167872][ebb] BindInputFilter 0x6e9b3f3f58
this 0x6e7c3b86a0
[033:169] [2022-07-25 00:16:02 +0000.167916][ebb] BindInputFilter 0x6e9b3f3e98
this 0x6e9b3f4018
[033:169] [2022-07-25 00:16:02 +0000.167963][ebb] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_93914036.mp4
[033:169] [2022-07-25 00:16:02 +0000.168054][ebb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[033:169] [2022-07-25 00:16:02 +0000.168300][ebb] MediaComposeFile time:93931606
enter.

[033:169] [2022-07-25 00:16:02 +0000.168378][ebb] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[033:169] [2022-07-25 00:16:02 +0000.168481][ebb] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[033:169] [2022-07-25 00:16:02 +0000.168503][2cdc] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e8a190840
[033:169] [2022-07-25 00:16:02 +0000.168534][ebb] Recording session using default
bitrate support by app:31457280
[033:171] [2022-07-25 00:16:02 +0000.169929][2cdc] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[033:171] [2022-07-25 00:16:02 +0000.170033][ebb] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[033:171] [2022-07-25 00:16:02 +0000.170039][2cd2] NO get frame from decoder
[033:171] [2022-07-25 00:16:02 +0000.170152][ebb] GetPipeline:
-----------------------------------------
[033:171] [2022-07-25 00:16:02 +0000.170185][ebb] GetPipeline: source: 0x6ec2ece500
[033:171] [2022-07-25 00:16:02 +0000.170208][ebb] GetPipeline: filter: NULLFilter
[033:171] [2022-07-25 00:16:02 +0000.170229][ebb] GetPipeline: filter: NULLFilter
[033:171] [2022-07-25 00:16:02 +0000.170249][ebb] GetPipeline: filter: NULLFilter
[033:171] [2022-07-25 00:16:02 +0000.170271][ebb] GetPipeline: audio filter:
AuidoNULLFilter
[033:171] [2022-07-25 00:16:02 +0000.170291][ebb] GetPipeline: audio filter:
AuidoNULLFilter
[033:171] [2022-07-25 00:16:02 +0000.170310][ebb] GetPipeline: audio filter:
AudioNUllFilter
[033:171] [2022-07-25 00:16:02 +0000.170331][ebb] GetPipeline:
------------------------------------------
[033:171] [2022-07-25 00:16:02 +0000.170354][ebb] filter: filter pipeline2 update
pattern: 2
[033:172] [2022-07-25 00:16:02 +0000.171209][2cd2] NO get frame from decoder
[033:173] [2022-07-25 00:16:02 +0000.172309][ebb] MediaComposeFile leave. expire
time = 4 ms

[033:173] [2022-07-25 00:16:02 +0000.172715][ebb] machine model :poco


[033:173] [2022-07-25 00:16:02 +0000.172748][2cd2] NO get frame from decoder
[033:173] [2022-07-25 00:16:02 +0000.172757][ebb] Support this machine model :poco
[033:174] [2022-07-25 00:16:02 +0000.173003][ebb] global inited! current sdk
version: 07-20-936c45f
[033:174] [2022-07-25 00:16:02 +0000.173657][2cd2] NO get frame from decoder
[033:177] [2022-07-25 00:16:02 +0000.176407][2cd2] NO get frame from decoder
[033:181] [2022-07-25 00:16:02 +0000.180690][2cd2] NO get frame from decoder
[033:182] [2022-07-25 00:16:02 +0000.181461][2cd2] NO get frame from decoder
[033:186] [2022-07-25 00:16:02 +0000.185451][2cd2] NO get frame from decoder
[033:188] [2022-07-25 00:16:02 +0000.187321][ebb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[033:188] [2022-07-25 00:16:02 +0000.187593][ebb] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 345
[033:188] [2022-07-25 00:16:02 +0000.187668][ebb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[033:188] [2022-07-25 00:16:02 +0000.187728][ebb] BeginCompose: BeginCompose, is
composing 0
[033:189] [2022-07-25 00:16:02 +0000.188124][2cdc] start recording, file path:
[033:189] [2022-07-25 00:16:02 +0000.188642][2cdc] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 345 audio_timescale:44100
video_timescale:90000
[033:189] [2022-07-25 00:16:02 +0000.188701][2cdc] 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
[033:189] [2022-07-25 00:16:02 +0000.188775][2cdc] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 345
[033:190] [2022-07-25 00:16:02 +0000.188853][2cdc] fd_open successed
handle:0xb40000705450f0b0
[033:190] [2022-07-25 00:16:02 +0000.189129][2cdc] create mp4 file:354
m_fileHandle: 0x6e80799600
[033:190] [2022-07-25 00:16:02 +0000.189166][2cdc] MP4 file: is opened successfully
[033:190] [2022-07-25 00:16:02 +0000.189201][2cdc] setupMediaProcessers:
[033:190] [2022-07-25 00:16:02 +0000.189233][2cdc]
RecordingSessionInternalSimple:setup media processers.
[033:190] [2022-07-25 00:16:02 +0000.189266][2cdc] construct AAC encoder
[033:190] [2022-07-25 00:16:02 +0000.189562][2cdc] H264Encoder creating:
ultrafast012323
[033:190] [2022-07-25 00:16:02 +0000.189611][2cdc] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[033:191] [2022-07-25 00:16:02 +0000.190087][2cdc] H264Encode::GetMachineModel is
M2012K11AG
[033:191] [2022-07-25 00:16:02 +0000.190120][2cdc] H264Encoder machine_mode
is:M2012K11AG
[033:191] [2022-07-25 00:16:02 +0000.190139][2cdc] H264Encode::machine size :9
machine_mode:M2012K11AG
[033:191] [2022-07-25 00:16:02 +0000.190159][2cdc] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[033:191] [2022-07-25 00:16:02 +0000.190177][2cdc] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[033:191] [2022-07-25 00:16:02 +0000.190194][2cdc] setupCompressionSession:
[033:191] [2022-07-25 00:16:02 +0000.190212][2cdc] H264Encode::creating hareware
Encoder
[033:191] [2022-07-25 00:16:02 +0000.190230][2cdc] AndroidHwAvcEncoder
time:93931628 enter.

[033:191] [2022-07-25 00:16:02 +0000.190393][2cdc] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb40000705443f540 address:0x6e70b5c760
[033:192] [2022-07-25 00:16:02 +0000.191288][2cdc] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[033:192] [2022-07-25 00:16:02 +0000.191333][2cdc] The video avc hw codec address
is 0x6ea6d90cb0
[033:192] [2022-07-25 00:16:02 +0000.191451][2cdc] AndroidHwAvcEncoder leave.
expire time = 1 ms

[033:192] [2022-07-25 00:16:02 +0000.191504][2cdc] RegisterEncodeCompleteCallback


time:93931629 enter.

[033:192] [2022-07-25 00:16:02 +0000.191624][2cdc] RegisterEncodeCompleteCallback


leave. expire time = 0 ms
[033:192] [2022-07-25 00:16:02 +0000.191661][2cdc] InitEncode time:93931629 enter.

[033:192] [2022-07-25 00:16:02 +0000.191722][2cdc] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[033:192] [2022-07-25 00:16:02 +0000.191758][2cdc] Create time:93931629 enter.

[033:193] [2022-07-25 00:16:02 +0000.191795][2cdc] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[033:193] [2022-07-25 00:16:02 +0000.191832][2cdc]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x6e9b3fd100
[033:193] [2022-07-25 00:16:02 +0000.191981][2cdc]
supported_type:image/vnd.android.heic
[033:193] [2022-07-25 00:16:02 +0000.192028][2cdc] supported_type:video/avc
[033:193] [2022-07-25 00:16:02 +0000.192061][2cdc] name:OMX.qcom.video.encoder.avc
mime:video/avc
[033:193] [2022-07-25 00:16:02 +0000.192108][2cdc] hwCodecPrefix :OMX.qcom.
[033:202] [2022-07-25 00:16:02 +0000.201534][2cdc] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[033:202] [2022-07-25 00:16:02 +0000.201573][2cdc] mediacodec_createCodecByName
time:93931639 enter.

[033:202] [2022-07-25 00:16:02 +0000.201606][2cdc] WrapAndroidMediaCodec


time:93931639 enter.

[033:202] [2022-07-25 00:16:02 +0000.201722][2cdc] WrapAndroidMediaCodec leave.


expire time = 0 ms

[033:202] [2022-07-25 00:16:02 +0000.201073][2ce1] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6e9b188898
[033:254] [2022-07-25 00:16:02 +0000.255561][2cdc] mediacodec_createCodecByName
leave. expire time = 54 ms

[033:256] [2022-07-25 00:16:02 +0000.255629][2cdc] WrapAndroidMediaFromat


time:93931693 enter.

[033:256] [2022-07-25 00:16:02 +0000.255681][2cdc] WrapAndroidMediaFromat leave.


expire time = 0 ms

[033:290] [2022-07-25 00:16:02 +0000.289398][2cdc] Destroy time:93931727 enter.

[033:290] [2022-07-25 00:16:02 +0000.289466][2cdc] WrapAndroidMediaFromat::


Destroy
[033:290] [2022-07-25 00:16:02 +0000.289486][2cdc] Destroy leave. expire time = 0
ms

[033:290] [2022-07-25 00:16:02 +0000.289503][2cdc] ~WrapAndroidMediaFromat


time:93931727 enter.

[033:290] [2022-07-25 00:16:02 +0000.289532][2cdc] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[033:290] [2022-07-25 00:16:02 +0000.289550][2cdc] Create leave. expire time = 98


ms

[033:290] [2022-07-25 00:16:02 +0000.289583][2cdc] isSemiPlanarSupport


time:93931727 enter.
[033:290] [2022-07-25 00:16:02 +0000.289599][2cdc] H264Encoder isSemiPlanarSupport
[033:290] [2022-07-25 00:16:02 +0000.289644][2cdc] isSemiPlanarSupport leave.
expire time = 0 ms

[033:290] [2022-07-25 00:16:02 +0000.289690][2cdc] creat hw H264Encoder success,


isSemiPlanar:1
[033:290] [2022-07-25 00:16:02 +0000.289777][2cdc] InitEncode leave. expire time =
98 ms

[033:291] [2022-07-25 00:16:02 +0000.289829][2cdc] H264Encode::created Encoder


[033:291] [2022-07-25 00:16:02 +0000.289848][2cdc] H264Encode:: H264 encoder
created.
[033:291] [2022-07-25 00:16:02 +0000.289864][2cdc] H264 encoder created.
[033:291] [2022-07-25 00:16:02 +0000.289880][2cdc]
RecordingSessionInternalSimple:created avc encoder avc: 0x6e7c404e00
[033:291] [2022-07-25 00:16:02 +0000.289902][2cdc] setOutput:
[033:291] [2022-07-25 00:16:02 +0000.289941][2cdc]
RecordingSessionInternalSimple:encoder set output to muxer!
[033:291] [2022-07-25 00:16:02 +0000.289974][2cdc] request a key frame
[033:291] [2022-07-25 00:16:02 +0000.289998][2cdc] H264Encode:: request a key frame
[033:293] [2022-07-25 00:16:02 +0000.292037][2cdc] setDisplayRotate :90
[033:294] [2022-07-25 00:16:02 +0000.293267][2cdc] 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
[033:296] [2022-07-25 00:16:02 +0000.295548][2cdd]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[033:305] [2022-07-25 00:16:02 +0000.304159][2ce1] add aac audio track with id:1
[033:307] [2022-07-25 00:16:02 +0000.306120][2ce1] audio start ts:0
[033:307] [2022-07-25 00:16:02 +0000.306262][2ce1] the audio frame has been written
into MP4 file
[033:376] [2022-07-25 00:16:02 +0000.375661][2cdd] h264 add frame header cdr flag
[033:377] [2022-07-25 00:16:02 +0000.376549][2cdd] h264 add frame header cdr flag
[033:378] [2022-07-25 00:16:02 +0000.376904][2cdd] Received key frame:10
[033:378] [2022-07-25 00:16:02 +0000.376944][2cdd] H264Encode:: get a sps pps
header!headerSize:32
[033:378] [2022-07-25 00:16:02 +0000.377035][2ce1] get the H.264 SPS parameter
[033:378] [2022-07-25 00:16:02 +0000.377195][2ce1] add video track with id:2
[033:380] [2022-07-25 00:16:02 +0000.378903][2ce1] get the H.264 PPS parameter
[033:380] [2022-07-25 00:16:02 +0000.378925][2cdd] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:61 pts:61
[033:380] [2022-07-25 00:16:02 +0000.379233][2ce1] get the H.264 IDR frame
[033:380] [2022-07-25 00:16:02 +0000.379265][2ce1] resss:true
[033:380] [2022-07-25 00:16:02 +0000.379282][2ce1] video start ts:10
[033:380] [2022-07-25 00:16:02 +0000.379378][2ce1] the video frame has been written
into MP4 file
[033:387] [2022-07-25 00:16:02 +0000.385868][2cdd] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:332
[033:387] [2022-07-25 00:16:02 +0000.385924][2cdd] push video frame to H264
encoder. (100 frame for one log)

[033:387] [2022-07-25 00:16:02 +0000.385955][2cdd] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[033:387] [2022-07-25 00:16:02 +0000.385974][2cdd] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:332(100 frame for one
log)

[033:387] [2022-07-25 00:16:02 +0000.385998][2cdd] The input pts:332 fps:30


[033:407] [2022-07-25 00:16:02 +0000.406348][2cdf] Error(video_source.cc:430): wait
decoder a frame: 16
[033:409] [2022-07-25 00:16:02 +0000.408679][2cdd] SendFrame
encodedImage._timeStamp:100encodedImage->_length:82672
[033:443] [2022-07-25 00:16:02 +0000.442325][2cdd] H264Encode::H264SWEncoder get
callback, length:11104 type:1 nalType:1length:11100
[033:449] [2022-07-25 00:16:02 +0000.448011][2cdf] webrtc common_video plane
old ..... (1/1000) new: 11001 delete: 10950 diff: 51
[033:459] [2022-07-25 00:16:02 +0000.457874][2ce0] audio_frame_list_ empty
[033:475] [2022-07-25 00:16:02 +0000.474233][2cdd] Push an pts:766 to dts queue.
[033:491] [2022-07-25 00:16:02 +0000.490219][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 633 662 693 729 766 798
[033:528] [2022-07-25 00:16:02 +0000.527412][2cdd] last dts:729 currentPts:766
ppsOrSPS:0 queue length:9
[033:614] [2022-07-25 00:16:02 +0000.613169][2cdc] setDisplayRotate :90
[033:614] [2022-07-25 00:16:02 +0000.613224][2cdc] 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
[033:707] [2022-07-25 00:16:02 +0000.706727][2cdf] Error(video_source.cc:430): wait
decoder a frame: 0
[033:729] [2022-07-25 00:16:02 +0000.728175][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 1494 1526 1559 1595
[033:807] [2022-07-25 00:16:02 +0000.806477][2ce0] audio_frame_list_ empty
[033:824] [2022-07-25 00:16:02 +0000.823569][2cdd] Push an pts:2096 to dts queue.
[033:860] [2022-07-25 00:16:02 +0000.858901][2cdc] setDisplayRotate :90
[033:860] [2022-07-25 00:16:02 +0000.858967][2cdc] 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
[033:864] [2022-07-25 00:16:02 +0000.863434][2cdd] h264 add frame header cdr flag
[033:864] [2022-07-25 00:16:02 +0000.863620][2cdd] Received key frame:1994
[033:875] [2022-07-25 00:16:02 +0000.874544][2ce1] get the H.264 IDR frame
[033:877] [2022-07-25 00:16:02 +0000.876557][2cdd] last dts:2059 currentPts:2096
ppsOrSPS:0 queue length:8
[033:882] [2022-07-25 00:16:02 +0000.881397][2cdc] setDisplayRotate :90
[033:882] [2022-07-25 00:16:02 +0000.881469][2cdc] 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
[033:913] [2022-07-25 00:16:02 +0000.911970][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 2229 2262 2296 2334 2363 2397 2427 2460 2492
[034:111] [2022-07-25 00:16:03 +0000.110115][2cdc] setDisplayRotate :90
[034:111] [2022-07-25 00:16:03 +0000.110186][2cdc] 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
[034:111] [2022-07-25 00:16:03 +0000.110280][2cdf] Error(video_source.cc:430): wait
decoder a frame: 0
[034:119] [2022-07-25 00:16:03 +0000.118067][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 3094 3125 3160 3203 3232 3260 3294
[034:146] [2022-07-25 00:16:03 +0000.145778][2707] Run AGC when audioType = 0
[034:153] [2022-07-25 00:16:03 +0000.152635][2cdd] Push an pts:3425 to dts queue.
[034:203] [2022-07-25 00:16:03 +0000.201928][2cdd] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3696
[034:203] [2022-07-25 00:16:03 +0000.202037][2cdd] push video frame to H264
encoder. (100 frame for one log)

[034:203] [2022-07-25 00:16:03 +0000.202070][2cdd] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[034:203] [2022-07-25 00:16:03 +0000.202090][2cdd] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3696(100 frame for one
log)

[034:203] [2022-07-25 00:16:03 +0000.202115][2cdd] The input pts:3696 fps:30


[034:208] [2022-07-25 00:16:03 +0000.206885][2cdd] SendFrame
encodedImage._timeStamp:3425encodedImage->_length:16416
[034:208] [2022-07-25 00:16:03 +0000.206984][2cdd] last dts:3392 currentPts:3425
ppsOrSPS:0 queue length:9
[034:208] [2022-07-25 00:16:03 +0000.207019][2cdd] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3425 pts:3425
[034:259] [2022-07-25 00:16:03 +0000.258523][2ce0] audio_frame_list_ empty
[034:264] [2022-07-25 00:16:03 +0000.263584][2cdd] H264Encode::H264SWEncoder get
callback, length:17504 type:1 nalType:1length:17500
[034:299] [2022-07-25 00:16:03 +0000.298569][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 3927 3957 3996 4027 4059 4093 4127
[034:329] [2022-07-25 00:16:03 +0000.328310][2cdd] h264 add frame header cdr flag
[034:329] [2022-07-25 00:16:03 +0000.328494][2cdd] Received key frame:3996
[034:330] [2022-07-25 00:16:03 +0000.328928][2ce1] get the H.264 IDR frame
[034:354] [2022-07-25 00:16:03 +0000.352911][2cdf] Error(video_source.cc:430): wait
decoder a frame: 0
[034:368] [2022-07-25 00:16:03 +0000.367385][2cdf] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[034:389] [2022-07-25 00:16:03 +0000.388580][2cdf] webrtc common_video plane
old ..... (1/1000) new: 12001 delete: 11918 diff: 83
[034:472] [2022-07-25 00:16:03 +0000.471482][2cdd] Push an pts:4764 to dts queue.
[034:505] [2022-07-25 00:16:03 +0000.504436][2cdd] last dts:4729 currentPts:4764
ppsOrSPS:0 queue length:3
[034:507] [2022-07-25 00:16:03 +0000.505932][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 4828 4859
[034:618] [2022-07-25 00:16:03 +0000.616896][2cdf] Error(video_source.cc:430): wait
decoder a frame: 0
[034:672] [2022-07-25 00:16:03 +0000.671279][2ce0] audio_frame_list_ empty
[034:726] [2022-07-25 00:16:03 +0000.725250][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[034:740] [2022-07-25 00:16:03 +0000.739261][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 5589 5627 5657 5688 5724 5755
[034:812] [2022-07-25 00:16:03 +0000.811506][2cdd] Push an pts:6089 to dts queue.
[034:838] [2022-07-25 00:16:03 +0000.836955][2cdd] h264 add frame header cdr flag
[034:839] [2022-07-25 00:16:03 +0000.838596][2cdd] Received key frame:5989
[034:841] [2022-07-25 00:16:03 +0000.840415][2ce1] get the H.264 IDR frame
[034:846] [2022-07-25 00:16:03 +0000.845191][2cdd] last dts:6056 currentPts:6089
ppsOrSPS:0 queue length:3
[034:934] [2022-07-25 00:16:03 +0000.933218][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 6388 6425 6457 6490 6527 6557 6590
[035:024] [2022-07-25 00:16:04 +0000.22865][2cdf] Error(video_source.cc:430): wait
decoder a frame: 0
[035:054] [2022-07-25 00:16:04 +0000.53676][2cdd] SendFrame
encodedImage._timeStamp:6755encodedImage->_length:23264
[035:055] [2022-07-25 00:16:04 +0000.54439][2cdd] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6790 pts:6790
[035:056] [2022-07-25 00:16:04 +0000.55346][2cdd] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:7054
[035:056] [2022-07-25 00:16:04 +0000.55385][2cdd] push video frame to H264 encoder.
(100 frame for one log)

[035:056] [2022-07-25 00:16:04 +0000.55405][2cdd] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080
[035:056] [2022-07-25 00:16:04 +0000.55426][2cdd] H264Encode::push video frame to
H264 encoder, using hw H264:1 width:1920 height:1080 pts:7054(100 frame for one
log)

[035:056] [2022-07-25 00:16:04 +0000.55450][2cdd] The input pts:7054 fps:30


[035:061] [2022-07-25 00:16:04 +0000.60240][2cdf] FilterPipeline2::OnVideoFrame pts
703890 last_video_timestamp_ 7821
[035:084] [2022-07-25 00:16:04 +0000.83257][2ce0] audio_frame_list_ empty
[035:109] [2022-07-25 00:16:04 +0000.108151][2cdd] H264Encode::H264SWEncoder get
callback, length:46960 type:1 nalType:1length:46956
[035:148] [2022-07-25 00:16:04 +0000.147612][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 7287 7323 7353
[035:154] [2022-07-25 00:16:04 +0000.153940][2cdd] Push an pts:7422 to dts queue.
[035:190] [2022-07-25 00:16:04 +0000.189359][2cdd] last dts:7389 currentPts:7422
ppsOrSPS:0 queue length:3
[035:325] [2022-07-25 00:16:04 +0000.324448][2cdf] Error(video_source.cc:430): wait
decoder a frame: 0
[035:337] [2022-07-25 00:16:04 +0000.336416][2cdd] h264 add frame header cdr flag
[035:337] [2022-07-25 00:16:04 +0000.336562][2cdd] Received key frame:7987
[035:339] [2022-07-25 00:16:04 +0000.338711][2ce1] get the H.264 IDR frame
[035:341] [2022-07-25 00:16:04 +0000.340531][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 8090 8122 8156 8193
[035:381] [2022-07-25 00:16:04 +0000.380648][2cdf] webrtc common_video plane
old ..... (1/1000) new: 13001 delete: 12894 diff: 107
[035:453] [2022-07-25 00:16:04 +0000.452612][2ce0] audio_frame_list_ empty
[035:471] [2022-07-25 00:16:04 +0000.470242][2cdd] Push an pts:8752 to dts queue.
[035:534] [2022-07-25 00:16:04 +0000.533064][2cdd] last dts:8719 currentPts:8752
ppsOrSPS:0 queue length:8
[035:552] [2022-07-25 00:16:04 +0000.551432][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 8854 8887 8918 8953 8987 9024 9055 9087
[035:658] [2022-07-25 00:16:04 +0000.657021][2cdf] Error(video_source.cc:430): wait
decoder a frame: 0
[035:747] [2022-07-25 00:16:04 +0000.746186][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 9690 9719 9756 9785 9824 9855 9890 9925
[035:782] [2022-07-25 00:16:04 +0000.780952][2cdd] Push an pts:10090 to dts queue.
[035:813] [2022-07-25 00:16:04 +0000.812383][2ce0] audio_frame_list_ empty
[035:822] [2022-07-25 00:16:04 +0000.821083][2cdd] h264 add frame header cdr flag
[035:822] [2022-07-25 00:16:04 +0000.821718][2cdd] Received key frame:9984
[035:824] [2022-07-25 00:16:04 +0000.823218][2ce1] get the H.264 IDR frame
[035:833] [2022-07-25 00:16:04 +0000.832534][2cdd] SendFrame
encodedImage._timeStamp:10090encodedImage->_length:18688
[035:833] [2022-07-25 00:16:04 +0000.832665][2cdd] last dts:10055 currentPts:10090
ppsOrSPS:0 queue length:5
[035:856] [2022-07-25 00:16:04 +0000.855794][2cdd] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:10419
[035:857] [2022-07-25 00:16:04 +0000.855890][2cdd] push video frame to H264
encoder. (100 frame for one log)

[035:857] [2022-07-25 00:16:04 +0000.855936][2cdd] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[035:857] [2022-07-25 00:16:04 +0000.855959][2cdd] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:10419(100 frame for one
log)

[035:857] [2022-07-25 00:16:04 +0000.855988][2cdd] The input pts:10419 fps:30


[035:861] [2022-07-25 00:16:04 +0000.860558][2cdd] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10155 pts:10155
[035:932] [2022-07-25 00:16:04 +0000.931022][2cdd] H264Encode::H264SWEncoder get
callback, length:37408 type:1 nalType:1length:37404
[035:944] [2022-07-25 00:16:04 +0000.943279][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 10521 10555 10588 10619 10653 10686 10717
[036:101] [2022-07-25 00:16:05 +0000.100487][2cdd] Push an pts:11421 to dts queue.
[036:151] [2022-07-25 00:16:05 +0000.150077][2707] Run AGC when audioType = 0
[036:151] [2022-07-25 00:16:05 +0000.150519][2707]
AudioDeviceDataHandler::MixAndSendOutFrame
[036:162] [2022-07-25 00:16:05 +0000.161526][2cdc] setDisplayRotate :90
[036:162] [2022-07-25 00:16:05 +0000.161572][2cdc] 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
[036:167] [2022-07-25 00:16:05 +0000.166335][2cdf] Error(video_source.cc:430): wait
decoder a frame: 0
[036:176] [2022-07-25 00:16:05 +0000.174802][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 11351 11388 11421 11455 11487 11531 11554
[036:201] [2022-07-25 00:16:05 +0000.199960][2cdd] last dts:11388 currentPts:11421
ppsOrSPS:0 queue length:7
[036:269] [2022-07-25 00:16:05 +0000.267953][2ce0] audio_frame_list_ empty
[036:344] [2022-07-25 00:16:05 +0000.343140][2cdd] h264 add frame header cdr flag
[036:344] [2022-07-25 00:16:05 +0000.343453][2cdd] Received key frame:11985
[036:374] [2022-07-25 00:16:05 +0000.373103][2ce1] get the H.264 IDR frame
[036:389] [2022-07-25 00:16:05 +0000.387968][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 12192 12218 12252 12287 12322 12354
[036:486] [2022-07-25 00:16:05 +0000.485122][2cdc] setDisplayRotate :90
[036:486] [2022-07-25 00:16:05 +0000.485198][2cdc] 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
[036:531] [2022-07-25 00:16:05 +0000.530243][2cdf] Error(video_source.cc:430): wait
decoder a frame: 0
[036:545] [2022-07-25 00:16:05 +0000.544729][2cdd] Push an pts:12753 to dts queue.
[036:572] [2022-07-25 00:16:05 +0000.573006][2707] haveEnoughProcessedData
internalAudioStream.length: 20
[036:578] [2022-07-25 00:16:05 +0000.577120][2cdf] webrtc common_video plane
old ..... (1/1000) new: 14001 delete: 13926 diff: 75
[036:609] [2022-07-25 00:16:05 +0000.608787][2cdd] last dts:12718 currentPts:12753
ppsOrSPS:0 queue length:7
[036:642] [2022-07-25 00:16:05 +0000.641048][2ce0] audio_frame_list_ empty
[036:671] [2022-07-25 00:16:05 +0000.670299][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 13026 13052 13082 13117 13150 13184
[036:752] [2022-07-25 00:16:05 +0000.751559][2cdc] setDisplayRotate :90
[036:752] [2022-07-25 00:16:05 +0000.751632][2cdc] 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
[036:788] [2022-07-25 00:16:05 +0000.786892][2cdd] SendFrame
encodedImage._timeStamp:13423encodedImage->_length:15200
[036:825] [2022-07-25 00:16:05 +0000.823960][2cdd] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:13513 pts:13513
[036:839] [2022-07-25 00:16:05 +0000.838344][2cdf] Error(video_source.cc:430): wait
decoder a frame: 0
[036:840] [2022-07-25 00:16:05 +0000.838916][2cdd] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:13781
[036:840] [2022-07-25 00:16:05 +0000.838989][2cdd] push video frame to H264
encoder. (100 frame for one log)

[036:840] [2022-07-25 00:16:05 +0000.839029][2cdd] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080
[036:840] [2022-07-25 00:16:05 +0000.839064][2cdd] H264Encode::push video frame to
H264 encoder, using hw H264:1 width:1920 height:1080 pts:13781(100 frame for one
log)

[036:840] [2022-07-25 00:16:05 +0000.839119][2cdd] The input pts:13781 fps:30


[036:892] [2022-07-25 00:16:05 +0000.890879][2cdd] H264Encode::H264SWEncoder get
callback, length:18800 type:1 nalType:1length:18796
[036:897] [2022-07-25 00:16:05 +0000.896616][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 13852 13886 13914 13948 13984 14017
[036:906] [2022-07-25 00:16:05 +0000.905647][2cdd] Push an pts:14085 to dts queue.
[036:943] [2022-07-25 00:16:05 +0000.942303][2cdd] h264 add frame header cdr flag
[036:943] [2022-07-25 00:16:05 +0000.942539][2cdd] Received key frame:13984
[036:947] [2022-07-25 00:16:05 +0000.945944][2ce1] get the H.264 IDR frame
[036:972] [2022-07-25 00:16:05 +0000.971718][2cdd] last dts:14047 currentPts:14085
ppsOrSPS:0 queue length:9
[036:993] [2022-07-25 00:16:05 +0000.992739][2ce0] audio_frame_list_ empty
[037:024] [2022-07-25 00:16:06 +0000.23661][2cd2] av_read_frame AVERROR_EOF
[037:029] [2022-07-25 00:16:06 +0000.28589][2cdc] setDisplayRotate :90
[037:029] [2022-07-25 00:16:06 +0000.28677][2cdc] 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
[037:100] [2022-07-25 00:16:06 +0000.99740][2cdd] DTS queue for
Generator:0x6e9b2c7ab8 14616 14649 14682 14718 14749 14784 14816 14847 14880
[037:109] [2022-07-25 00:16:06 +0000.108168][2cd2] OnReceiveEOF:
[037:109] [2022-07-25 00:16:06 +0000.108272][2cd2] OnDecoderEOF time:93935546
enter.

[037:109] [2022-07-25 00:16:06 +0000.108339][2cd2] OnDecoderEOF leave. expire time


= 0 ms

[037:109] [2022-07-25 00:16:06 +0000.108368][2cd2] OnDecoderFinished:


OnDecoderFinished total decoder frames:457 this:0x6ec2ece500
[037:109] [2022-07-25 00:16:06 +0000.108359][2cd0] CleanUp time:93935546 enter.

[037:109] [2022-07-25 00:16:06 +0000.108425][2cd2] NULLFilter::OnVideoSourceEOF


0x6ec2ece500 this 0x6e9b3f3bc0
[037:109] [2022-07-25 00:16:06 +0000.108548][2cdf] OnVideoTimer: OnVideoTimer
return
[037:109] [2022-07-25 00:16:06 +0000.108557][2cd2] NULLFilter::OnVideoSourceEOF
0x6e9b3f3bc0 this 0x6e9b3f3c80
[037:109] [2022-07-25 00:16:06 +0000.108660][2cd2] NULLFilter::OnVideoSourceEOF
0x6e9b3f3c80 this 0x6e9b3f3ec0
[037:112] [2022-07-25 00:16:06 +0000.111163][2ce0] PullAudioFrame: PullFrame audio
finished.
[037:112] [2022-07-25 00:16:06 +0000.111244][2ce0] OnAudioTimer: OnAudioTimer
EndComposeFile
[037:112] [2022-07-25 00:16:06 +0000.111266][2ce0] EndComposeFile: EndComposeFile,
is composing 1
[037:115] [2022-07-25 00:16:06 +0000.113994][2cd0] CleanUp leave. expire time = 6
ms

[037:115] [2022-07-25 00:16:06 +0000.114092][2cd0] clean up


[037:115] [2022-07-25 00:16:06 +0000.114118][2cd0] running_decoder_count:0max
count:2
[037:136] [2022-07-25 00:16:06 +0000.134908][2cdd]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:457
[037:136] [2022-07-25 00:16:06 +0000.135003][2cdd]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x6ea71e1000
[037:137] [2022-07-25 00:16:06 +0000.136521][2cde]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[037:137] [2022-07-25 00:16:06 +0000.136578][2cde]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[037:138] [2022-07-25 00:16:06 +0000.137012][2cdc] stop recording
[037:138] [2022-07-25 00:16:06 +0000.137055][2cdc]
RecordingSessionInternalSimple:destroy media processers
[037:138] [2022-07-25 00:16:06 +0000.137089][2cdc] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[037:138] [2022-07-25 00:16:06 +0000.137121][2cdc] H264Encode::flushing hareware
Encoder
[037:138] [2022-07-25 00:16:06 +0000.137283][2cdc] Flush time:93935575 enter.

[037:138] [2022-07-25 00:16:06 +0000.137325][2cdc] H264Encoder encoder flush


[037:138] [2022-07-25 00:16:06 +0000.137368][2cdc] flush output queue
[037:456] [2022-07-25 00:16:06 +0000.455112][2cdc] Flush leave. expire time = 318
ms

[037:456] [2022-07-25 00:16:06 +0000.455490][2cdc] ~H264EncodeWrap:


[037:456] [2022-07-25 00:16:06 +0000.455549][2cdc] ~H264Encode:
[037:456] [2022-07-25 00:16:06 +0000.455582][2cdc] teardownCompressionSession:
H264Encode::destroying Encoder
[037:456] [2022-07-25 00:16:06 +0000.455618][2cdc] Release time:93935893 enter.

[037:457] [2022-07-25 00:16:06 +0000.455865][2cdc] Release:


MediaCodecVideoEncoder::Release _inited:1
[037:457] [2022-07-25 00:16:06 +0000.455919][2cdc] Destroy time:93935894 enter.

[037:457] [2022-07-25 00:16:06 +0000.455954][2cdc] H264Encoder encoderDestroy


[037:457] [2022-07-25 00:16:06 +0000.455987][2cdc]
AndroidMediaCodecVideoEncoder::release env: 0x6e7c405580
[037:457] [2022-07-25 00:16:06 +0000.456023][2cdc]
AndroidMediaCodecVideoEncoder::Destroy
[037:505] [2022-07-25 00:16:06 +0000.504183][2cdc] Destroy leave. expire time = 48
ms

[037:505] [2022-07-25 00:16:06 +0000.504744][2cdc] Release leave. expire time = 50


ms

[037:506] [2022-07-25 00:16:06 +0000.504850][2cdc] ~AndroidHwAvcEncoder


time:93935943 enter.

[037:506] [2022-07-25 00:16:06 +0000.505095][2cdc] Release time:93935943 enter.

[037:506] [2022-07-25 00:16:06 +0000.505142][2cdc] Release:


MediaCodecVideoEncoder:: has been released before, just return
[037:507] [2022-07-25 00:16:06 +0000.506735][2cdc] Release leave. expire time = 1
ms

[037:508] [2022-07-25 00:16:06 +0000.506797][2cdc] ~AndroidMediaCodecVideoEncoder


[037:508] [2022-07-25 00:16:06 +0000.506943][2cdc] ~WrapAndroidMediaCodec
time:93935945 enter.

[037:508] [2022-07-25 00:16:06 +0000.506984][2cdc] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[037:508] [2022-07-25 00:16:06 +0000.507020][2cdc] video hevc hw codec


destructor:0x6ea6d90cb0

[037:508] [2022-07-25 00:16:06 +0000.507195][2cdc] ~AndroidHwAvcEncoder leave.


expire time = 2 ms

[037:508] [2022-07-25 00:16:06 +0000.507343][2cdc] teardownCompressionSession:


H264Encode::destroyed Encoder
[037:508] [2022-07-25 00:16:06 +0000.507441][2cdc]
RecordingSessionInternalSimple:destroy aac encoder output!
[037:508] [2022-07-25 00:16:06 +0000.507477][2cdc] AACSWEncode destructor
[037:511] [2022-07-25 00:16:06 +0000.509871][2ce1] fd_close successed!
[037:517] [2022-07-25 00:16:06 +0000.516212][2ce1] MP4 close file successfully
[037:517] [2022-07-25 00:16:06 +0000.516291][2ce1] Recording session Internal:
notify recording ok
[037:517] [2022-07-25 00:16:06 +0000.516335][2ce1] onRecordingOk: Recording Ok,
compose use time: 4329, averagefps 0
[037:517] [2022-07-25 00:16:06 +0000.516370][2ce1] OnReceiveEOF:
[037:518] [2022-07-25 00:16:06 +0000.517780][2ce0] OnAudioTimer: OnAudioTimer
return
[037:528] [2022-07-25 00:16:06 +0000.526940][ebb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[037:528] [2022-07-25 00:16:06 +0000.527041][ebb] ~MediaComposeFile time:93935965
enter.

[037:528] [2022-07-25 00:16:06 +0000.527066][ebb] CancelCompose: CancelCompose, is


composing 0
[037:528] [2022-07-25 00:16:06 +0000.527283][2cdc] stop recording
[037:528] [2022-07-25 00:16:06 +0000.527315][2cdc] we have stopped recording before
[037:529] [2022-07-25 00:16:06 +0000.527962][ebb] ~MediaComposeFile leave. expire
time = 1 ms

[037:529] [2022-07-25 00:16:06 +0000.528059][ebb] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[037:529] [2022-07-25 00:16:06 +0000.528354][ebb] global uninited!
[037:529] [2022-07-25 00:16:06 +0000.528408][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[037:529] [2022-07-25 00:16:06 +0000.528487][ebb] ~MediaFilterGraph:
MediaFilterGraph destruct
[037:529] [2022-07-25 00:16:06 +0000.528514][ebb] RemoveVideoBackGroud: hava not
add video backgroud
[037:529] [2022-07-25 00:16:06 +0000.528563][ebb] UnbindInputFilter 0x6e9b3f3f58
this 0x6e7c3b86a0
[037:529] [2022-07-25 00:16:06 +0000.528590][ebb] ClearAllSource: remove source
filter, sourceid: 0x6ec2ece500
[037:529] [2022-07-25 00:16:06 +0000.528608][ebb] DestoryDecoderByVideoSource
time:93935966 enter.

[037:529] [2022-07-25 00:16:06 +0000.528630][ebb] ~VideoBindDecoder time:93935966


enter.

[037:529] [2022-07-25 00:16:06 +0000.528759][ebb] CleanUp time:93935966 enter.

[037:530] [2022-07-25 00:16:06 +0000.528987][ebb] CleanUp leave. expire time = 1


ms

[037:530] [2022-07-25 00:16:06 +0000.529024][ebb] CleanUp time:93935967 enter.

[037:530] [2022-07-25 00:16:06 +0000.529234][ebb] CleanUp leave. expire time = 0


ms

[037:531] [2022-07-25 00:16:06 +0000.529914][ebb] ~VideoBindDecoder leave. expire


time = 2 ms
[037:531] [2022-07-25 00:16:06 +0000.529957][ebb] DestoryDecoderByVideoSource
leave. expire time = 2 ms

[037:531] [2022-07-25 00:16:06 +0000.529993][ebb] UnbindInputFilter 0x6e9b3f3d18


this 0x6e9b3f3f58
[037:531] [2022-07-25 00:16:06 +0000.530029][ebb] UnbindInputFilter 0x6e9b3f3c58
this 0x6e9b3f3d18
[037:531] [2022-07-25 00:16:06 +0000.530058][ebb] UnbindInputFilter 0x6ec2ece720
this 0x6e9b3f3c58
[037:531] [2022-07-25 00:16:06 +0000.530085][ebb] UnbindInputFilter 0x6e9b3f3e98
this 0x6e9b3f4018
[037:531] [2022-07-25 00:16:06 +0000.530115][ebb] UnbindInputFilter 0x6e9b3f3dd8
this 0x6e9b3f3e98
[037:531] [2022-07-25 00:16:06 +0000.530141][ebb] UnbindInputFilter 0x6ec2ece720
this 0x6e9b3f3dd8
[037:531] [2022-07-25 00:16:06 +0000.530198][ebb] ~GLESContext:
[037:532] [2022-07-25 00:16:06 +0000.531622][ebb] GLESContext destruct finish.
[037:532] [2022-07-25 00:16:06 +0000.531665][ebb] filter: filter pipeline destroy
this: 0x6e7c3b8600
[038:148] [2022-07-25 00:16:07 +0000.147177][2707] Run AGC when audioType = 0
[038:315] [2022-07-25 00:16:07 +0000.313995][2707] haveEnoughProcessedData
internalAudioStream.length: 0
[039:752] [2022-07-25 00:16:08 +0000.751474][ef6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[039:752] [2022-07-25 00:16:08 +0000.751725][ef6] ~MediaFilterCamera time:93938189
enter.

[039:752] [2022-07-25 00:16:08 +0000.751771][ef6] StopPullFrameAndWriteMp4


time:93938189 enter.

[039:782] [2022-07-25 00:16:08 +0000.781197][2702] stop recording


[039:782] [2022-07-25 00:16:08 +0000.781251][2702] we have stopped recording before
[039:820] [2022-07-25 00:16:08 +0000.819174][ef6] StopPullFrameAndWriteMp4 leave.
expire time = 68 ms

[039:831] [2022-07-25 00:16:08 +0000.830290][ef6] DestroyPipelineAndFilters


time:93938268 enter.

[039:831] [2022-07-25 00:16:08 +0000.830443][ef6] DestroyPipelineAndFilters leave.


expire time = 0 ms

[039:831] [2022-07-25 00:16:08 +0000.830511][ef6] AppDeviceManagerStopMic

[039:831] [2022-07-25 00:16:08 +0000.830613][ef6] AppDeviceManagerStopMic::mic


status is on
[039:831] [2022-07-25 00:16:08 +0000.830660][ef6] Try to stop webrtc device.

[039:831] [2022-07-25 00:16:08 +0000.830709][ef6] Set record state to


stopped.threadID:3830

[039:879] [2022-07-25 00:16:08 +0000.878426][ef6] Try to destory the


recorder.threadID:3830

[040:119] [2022-07-25 00:16:09 +0000.117936][ef6] DestroyAudioRecorder:


[040:119] [2022-07-25 00:16:09 +0000.118096][ef6] Cleanup the buffer queue in the
recorder.
[040:119] [2022-07-25 00:16:09 +0000.118273][ef6] Destroy the recorder.
[040:121] [2022-07-25 00:16:09 +0000.120577][ef6] StopRecording finished.

[040:121] [2022-07-25 00:16:09 +0000.120694][ef6] The stop recording success.

[040:121] [2022-07-25 00:16:09 +0000.120761][ef6]


AudioDeviceDataHandler::StopMicProcess

[040:125] [2022-07-25 00:16:09 +0000.124386][ef6] AppDeviceManager stop.

[040:166] [2022-07-25 00:16:09 +0000.165951][ef6] Rlease the webrtc device object.

[040:171] [2022-07-25 00:16:09 +0000.170536][ef6] OpenSlesInput destruct.

[040:171] [2022-07-25 00:16:09 +0000.170714][ef6] OpenSlesOutput destruct.

[040:177] [2022-07-25 00:16:09 +0000.176314][ef6] EventDispatchServerScope destruct


[040:177] [2022-07-25 00:16:09 +0000.176469][ef6]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[040:178] [2022-07-25 00:16:09 +0000.176850][ef6] ~AudioDeviceDataHandler

[040:196] [2022-07-25 00:16:09 +0000.194958][ef6] AppDeviceManagerDestruct.

[040:196] [2022-07-25 00:16:09 +0000.195142][ef6] ~AppDeviceManager:


[040:220] [2022-07-25 00:16:09 +0000.218981][ef6] ~CpuOverloadDetect time:93938657
enter.

[040:225] [2022-07-25 00:16:09 +0000.224654][ef6] ~CpuOverloadDetect leave. expire


time = 5 ms

[040:258] [2022-07-25 00:16:09 +0000.257557][ef6] Destruct BeautifyReader begin...


[040:258] [2022-07-25 00:16:09 +0000.257726][ef6] Destruct BeautifyReader done.
[040:259] [2022-07-25 00:16:09 +0000.258238][ef6] ~MediaFilterCamera leave. expire
time = 507 ms

[040:259] [2022-07-25 00:16:09 +0000.258646][ef6] ~GLESContext:


[040:499] [2022-07-25 00:16:09 +0000.498271][ef6] GLESContext destruct finish.
[040:499] [2022-07-25 00:16:09 +0000.498396][ef6] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[040:503] [2022-07-25 00:16:09 +0000.502289][ef6] global uninited!
[040:506] [2022-07-25 00:16:09 +0000.505532][ef6] clear AppID 50011
[040:506] [2022-07-25 00:16:09 +0000.505642][ef6] UnRegister JVM for Xplatform util
[040:506] [2022-07-25 00:16:09 +0000.505701][ef6] Dispose::unregister webrtc video
engine
[040:506] [2022-07-25 00:16:09 +0000.505749][ef6] Init the android object with
jvm:0x0 env:0x0 context:0x0

[040:507] [2022-07-25 00:16:09 +0000.505919][ef6] SetAndroidMediaCodecObjects


time:93938944 enter.

[040:507] [2022-07-25 00:16:09 +0000.505975][ef6] ClearAndroidMediaCodecObjects


time:93938944 enter.

[040:507] [2022-07-25 00:16:09 +0000.506030][ef6] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[040:507] [2022-07-25 00:16:09 +0000.506287][ef6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[040:507] [2022-07-25 00:16:09 +0000.506504][ef6] SetAndroidMediaCodecObjects


time:93938944 enter.

[040:507] [2022-07-25 00:16:09 +0000.506566][ef6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[040:507] [2022-07-25 00:16:09 +0000.506618][ef6] ClearAndroidMediaCodecObjects
time:93938944 enter.

[040:507] [2022-07-25 00:16:09 +0000.506667][ef6] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[040:507] [2022-07-25 00:16:09 +0000.506716][ef6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[040:507] [2022-07-25 00:16:09 +0000.506750][ef6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[040:507] [2022-07-25 00:16:09 +0000.506786][ef6] Dispose::unregister webrtc voice


engine
[040:508] [2022-07-25 00:16:09 +0000.506936][ef6] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[040:508] [2022-07-25 00:16:09 +0000.507004][ef6] SystemUtil UnInit done


[1022:901] [2022-07-25 00:32:31 +0000.901348][ef6] Register JVM for xplatform util
[1022:913] [2022-07-25 00:32:31 +0000.912393][ef6] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
25 00:32:31 +0000
[1022:913] [2022-07-25 00:32:31 +0000.912442][ef6] set AppID=50011 old AppID=-1
[1022:913] [2022-07-25 00:32:31 +0000.912463][ef6] Init the android object with
jvm:0xb40000705443f540 env:0x6f9cbe4e80 context:0x6f13249a88

[1022:913] [2022-07-25 00:32:31 +0000.912513][ef6] SetAndroidMediaCodecObjects


time:94921350 enter.

[1022:913] [2022-07-25 00:32:31 +0000.912572][ef6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1022:913] [2022-07-25 00:32:31 +0000.912584][ef6] SetAndroidMediaCodecObjects


time:94921350 enter.

[1022:913] [2022-07-25 00:32:31 +0000.912619][ef6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000705443f540
[1022:913] [2022-07-25 00:32:31 +0000.912630][ef6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000705443f540 address:0x6e70b5c760
[1022:913] [2022-07-25 00:32:31 +0000.912666][ef6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000705443f540
address:0x6e70b5c760
[1022:913] [2022-07-25 00:32:31 +0000.912677][ef6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1022:913] [2022-07-25 00:32:31 +0000.912715][ef6] Set the android objects with


jvm:0xb40000705443f540 env:0x6f9cbe4e80 context:0x6f13249a88

[1022:914] [2022-07-25 00:32:31 +0000.913391][ef6] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6f9cbe4e80
[1022:914] [2022-07-25 00:32:31 +0000.913414][ef6] SystemUtil Init done
[1022:915] [2022-07-25 00:32:31 +0000.914093][ef6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[1022:916] [2022-07-25 00:32:31 +0000.914830][ef6] MediaFilterCamera
[1022:916] [2022-07-25 00:32:31 +0000.914883][ef6] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[1022:916] [2022-07-25 00:32:31 +0000.914956][ef6] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1022:916] [2022-07-25 00:32:31 +0000.914975][ef6] Recording session using default
bitrate support by app:31457280
[1022:916] [2022-07-25 00:32:31 +0000.914997][4393] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6eb178a040
[1022:916] [2022-07-25 00:32:31 +0000.915174][4393] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1022:916] [2022-07-25 00:32:31 +0000.915238][ef6] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1022:917] [2022-07-25 00:32:31 +0000.916788][ef6] Error(ini.cc:191): Open the file
failed. error:2
[1022:918] [2022-07-25 00:32:31 +0000.916810][ef6]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[1022:918] [2022-07-25 00:32:31 +0000.916833][ef6] The device model: m2012k11ag
usingSoftwareAEC value: 0
[1022:919] [2022-07-25 00:32:31 +0000.918437][ef6] Error(ini.cc:191): Open the file
failed. error:2
[1022:919] [2022-07-25 00:32:31 +0000.918463][ef6]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[1022:919] [2022-07-25 00:32:31 +0000.918489][ef6] The device model: m2012k11ag
usingHardwareAEC value: 0
[1022:919] [2022-07-25 00:32:31 +0000.918515][ef6] The machine device: m2012k11ag
usingHardwareAEC value: 0
[1022:919] [2022-07-25 00:32:31 +0000.918527][ef6] Using Default AEC type: software
AEC
[1022:921] [2022-07-25 00:32:31 +0000.920251][ef6] The device model: m2012k11ag
enum value: 0
[1022:921] [2022-07-25 00:32:31 +0000.920770][ef6] GetMachineModel is M2012K11AG
[1022:922] [2022-07-25 00:32:31 +0000.920815][ef6] GetMachineInfo: M2012K11AG
[1022:922] [2022-07-25 00:32:31 +0000.920838][ef6] Construct BeautifyReader
begin...
[1022:922] [2022-07-25 00:32:31 +0000.920886][ef6] dumpStickerRgba:0
dumpStickerYuv:0
[1022:922] [2022-07-25 00:32:31 +0000.920896][ef6] Construct BeautifyReader done.
[1022:925] [2022-07-25 00:32:31 +0000.924363][ef6] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[1022:925] [2022-07-25 00:32:31 +0000.924423][ef6] AppDeviceManager telnet server
for statistics started......
[1022:925] [2022-07-25 00:32:31 +0000.924391][4396] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f0c45f4a0
[1022:926] [2022-07-25 00:32:31 +0000.924839][ef6] CpuOverloadDetect time:94921363
enter.

[1022:926] [2022-07-25 00:32:31 +0000.925774][ef6] CpuOverloadDetect leave. expire


time = 0 ms

[1022:926] [2022-07-25 00:32:31 +0000.925857][4397] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6f8749c4c0
[1022:927] [2022-07-25 00:32:31 +0000.926108][ef6] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[1022:927] [2022-07-25 00:32:31 +0000.926142][ef6] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[1022:927] [2022-07-25 00:32:31 +0000.926296][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1022:927] [2022-07-25 00:32:31 +0000.926537][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1022:927] [2022-07-25 00:32:31 +0000.926692][ef6] CreatePlatformSpecificObjects:
[1022:927] [2022-07-25 00:32:31 +0000.926715][ef6] audio device use opensle input
and opensl output
[1022:927] [2022-07-25 00:32:31 +0000.926755][ef6] Create OpenSLES output module
with java VM support.

[1022:928] [2022-07-25 00:32:31 +0000.926815][ef6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1022:928] [2022-07-25 00:32:31 +0000.926891][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1022:928] [2022-07-25 00:32:31 +0000.926976][ef6] Create OpenSLES output module
with buffer num:1

[1022:928] [2022-07-25 00:32:31 +0000.927045][ef6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1022:928] [2022-07-25 00:32:31 +0000.927115][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1022:928] [2022-07-25 00:32:31 +0000.927194][ef6] Create OpenSLES input module
with java VM support.

[1022:928] [2022-07-25 00:32:31 +0000.927217][ef6] Create OpenSLES input module


with buffer num:1

[1022:928] [2022-07-25 00:32:31 +0000.927251][ef6] Error(trace.cc:40): Init the


output and input for audio device template.
[1022:928] [2022-07-25 00:32:31 +0000.927266][ef6] Init the output device.

[1022:928] [2022-07-25 00:32:31 +0000.927276][ef6] Init the opensl input.


[1022:928] [2022-07-25 00:32:31 +0000.927312][ef6] AppDeviceManager get setting
samplerate: 0
[1022:928] [2022-07-25 00:32:31 +0000.927492][ef6] The device model: m2012k11ag
enum value: 0
[1022:928] [2022-07-25 00:32:31 +0000.927741][ef6] The device model: m2012k11ag
enum value: 0
[1022:928] [2022-07-25 00:32:31 +0000.927757][ef6] Set the sample rate to be:48000

[1022:929] [2022-07-25 00:32:31 +0000.927797][ef6] Enable the recording stereo:0


[1022:929] [2022-07-25 00:32:31 +0000.927809][ef6] Set the playout as stereo:1
[1022:929] [2022-07-25 00:32:31 +0000.927842][ef6] Init the microphone.
[1022:930] [2022-07-25 00:32:31 +0000.928958][ef6] Update the recording sample rate
to be: 48000
[1022:930] [2022-07-25 00:32:31 +0000.928981][ef6] Init the speaker.
[1022:930] [2022-07-25 00:32:31 +0000.929012][ef6] Low latency buffer size:144 low
sample rate:48000
[1022:930] [2022-07-25 00:32:31 +0000.929314][ef6] Using 1 x 10ms for an audio
frame.

[1022:933] [2022-07-25 00:32:31 +0000.932006][ef6] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[1022:934] [2022-07-25 00:32:31 +0000.933163][ef6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1022:934] [2022-07-25 00:32:31 +0000.933230][ef6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1022:939] [2022-07-25 00:32:31 +0000.937885][ef6] The device model:m2012k11ag

[1022:939] [2022-07-25 00:32:31 +0000.937933][ef6] speaker output factor:100


defaultFactor: 100

[1022:939] [2022-07-25 00:32:31 +0000.937946][ef6] headset output factor:100


defaultFactor: 100
[1022:939] [2022-07-25 00:32:31 +0000.938206][ef6] AppDeviceManagerStart finished.
[1022:939] [2022-07-25 00:32:31 +0000.938235][ef6] AppDeviceManagerStartMic::mic
status is off
[1022:939] [2022-07-25 00:32:31 +0000.938281][ef6] AppDeviceManagerStartMic update
aec type: 2

[1022:939] [2022-07-25 00:32:31 +0000.938297][ef6] AppDeviceManagerStartMic update


voiceChangeMode: 4

[1022:939] [2022-07-25 00:32:31 +0000.938307][ef6]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[1022:939] [2022-07-25 00:32:31 +0000.938317][ef6]
AudioDeviceDataHandler::StartMicProcess

[1022:939] [2022-07-25 00:32:31 +0000.938405][ef6] Try to start webrtc recording


device.

[1022:939] [2022-07-25 00:32:31 +0000.938424][ef6] StartRecording. threadID:3830

[1022:939] [2022-07-25 00:32:31 +0000.938570][ef6] default mode: Set the recording


mode to voice communication to enable HW AEC .

[1022:939] [2022-07-25 00:32:31 +0000.938585][ef6] Set the recording mode before


getSetting: 4
[1022:939] [2022-07-25 00:32:31 +0000.938600][ef6] Set the recording mode after
getSetting: 1
[1022:940] [2022-07-25 00:32:31 +0000.938810][4398] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[1022:956] [2022-07-25 00:32:31 +0000.955789][4398] haveEnoughProcessedData
internalAudioStream.length: 0
[1022:966] [2022-07-25 00:32:31 +0000.965116][ef6] StartRecording finished.

[1022:966] [2022-07-25 00:32:31 +0000.965159][ef6] audio: start the audio mic


checker timer.

[1022:966] [2022-07-25 00:32:31 +0000.965452][ef6] machine model :poco


[1022:966] [2022-07-25 00:32:31 +0000.965477][ef6] Support this machine model :poco
[1022:973] [2022-07-25 00:32:31 +0000.971856][ef6] global inited! current sdk
version: 07-20-936c45f
[1023:186] [2022-07-25 00:32:32 +0000.185003][23d6]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[1023:186] [2022-07-25 00:32:32 +0000.185186][4394] MediaFilterCamera, recording
file context:0x6f7a7d9f00 input texture:10
[1023:186] [2022-07-25 00:32:32 +0000.185247][4394] GLESContext:
[1023:186] [2022-07-25 00:32:32 +0000.185309][4394] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[1023:188] [2022-07-25 00:32:32 +0000.187695][4394] The result of creation:
0x6f0c470d00
[1023:189] [2022-07-25 00:32:32 +0000.187804][4394] The result of
eglCreatePbufferSurface is: 0x6f0c470e00
[1023:189] [2022-07-25 00:32:32 +0000.187890][23d6]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6f7a7d9f00 input_texture: 10
[1023:345] [2022-07-25 00:32:32 +0000.344667][4399] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1023:345] [2022-07-25 00:32:32 +0000.344723][4399] _deviceSampleRate:48000


[1023:346] [2022-07-25 00:32:32 +0000.345025][4398] Run AGC when audioType = 0
[1023:346] [2022-07-25 00:32:32 +0000.345077][4398]
AudioDeviceDataHandler::MixAndSendOutFrame
[1024:692] [2022-07-25 00:32:33 +0000.691179][4398] haveEnoughProcessedData
internalAudioStream.length: 0
[1025:347] [2022-07-25 00:32:34 +0000.345995][4398] Run AGC when audioType = 0
[1026:407] [2022-07-25 00:32:35 +0000.406726][4398] haveEnoughProcessedData
internalAudioStream.length: 0
[1026:967] [2022-07-25 00:32:35 +0000.966004][26fe]
monitorTime:4001totalDuration:3940
[1027:347] [2022-07-25 00:32:36 +0000.345972][4398] Run AGC when audioType = 0
[1027:347] [2022-07-25 00:32:36 +0000.346197][4398]
AudioDeviceDataHandler::MixAndSendOutFrame
[1028:133] [2022-07-25 00:32:37 +0000.131934][4398] haveEnoughProcessedData
internalAudioStream.length: 20
[1029:351] [2022-07-25 00:32:38 +0000.350566][4398] Run AGC when audioType = 0
[1029:852] [2022-07-25 00:32:38 +0000.850947][4398] haveEnoughProcessedData
internalAudioStream.length: 10
[1031:349] [2022-07-25 00:32:40 +0000.348576][4398] Run AGC when audioType = 0
[1031:350] [2022-07-25 00:32:40 +0000.348975][4398]
AudioDeviceDataHandler::MixAndSendOutFrame
[1031:566] [2022-07-25 00:32:40 +0000.565524][4398] haveEnoughProcessedData
internalAudioStream.length: 10
[1033:282] [2022-07-25 00:32:42 +0000.281393][ebb] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[1033:282] [2022-07-25 00:32:42 +0000.281544][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[1033:283] [2022-07-25 00:32:42 +0000.282036][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[1033:284] [2022-07-25 00:32:42 +0000.282967][4394] operator() time:94931721
enter.

[1033:286] [2022-07-25 00:32:42 +0000.285168][4394] MediaFilterCamera, recording


file context:0x6f7a7d9f00 input texture:10
[1033:287] [2022-07-25 00:32:42 +0000.286353][4394] MicSource: Mic source
created:10x6f87542880
[1033:288] [2022-07-25 00:32:42 +0000.286817][4394] alloc thread: 0x6f0c4b8980
name:worker0 thread id:475492805808 to Mic_source
[1033:288] [2022-07-25 00:32:42 +0000.286911][4394] audio: start the audio sender
thread.

[1033:288] [2022-07-25 00:32:42 +0000.287005][4394] construct OpenGLRenderProgram


0x6f87516e98
[1033:288] [2022-07-25 00:32:42 +0000.287061][4394] CropFilter::SetOrientation
orientation: 90
[1033:288] [2022-07-25 00:32:42 +0000.287214][4394] filter: filter pipeline
construtc this: 0x6f875c5a40
[1033:288] [2022-07-25 00:32:42 +0000.287265][4394] filter: filter pipeline2 update
pattern: 1
[1033:288] [2022-07-25 00:32:42 +0000.287380][4394] CameraSource::source_id_:9
[1033:288] [2022-07-25 00:32:42 +0000.287437][4394]
RecordAudioSource::source_id_:10
[1033:288] [2022-07-25 00:32:42 +0000.287591][4394] BindInputFilter 0x6f0c4b93c0
this 0x6f875170c0
[1033:288] [2022-07-25 00:32:42 +0000.287661][4394] BindInputFilter 0x6f0c4b9558
this 0x6f0c4b99d0
[1033:288] [2022-07-25 00:32:42 +0000.287737][4394] BindInputFilter 0x6f875170c0
this 0x6f875c5ae0
[1033:289] [2022-07-25 00:32:42 +0000.287877][4394] setParamentForFilters:
speed:1.000000
[1033:289] [2022-07-25 00:32:42 +0000.287917][4394] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[1033:289] [2022-07-25 00:32:42 +0000.287955][4394] SetParamForFilter time:94931726
enter.

[1033:289] [2022-07-25 00:32:42 +0000.287990][4394] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[1033:289] [2022-07-25 00:32:42 +0000.288028][4394] SetParamForFilter: Params
video index is: 0
[1033:289] [2022-07-25 00:32:42 +0000.288060][4394] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[1033:289] [2022-07-25 00:32:42 +0000.288103][4394] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[1033:289] [2022-07-25 00:32:42 +0000.288135][4394] crop filter mode tpye:
citytravelvideo index:0
[1033:290] [2022-07-25 00:32:42 +0000.288929][4398] haveEnoughProcessedData
internalAudioStream.length: 0
[1033:294] [2022-07-25 00:32:42 +0000.293549][4394]
Warning(parse_template_json.cc:45): json parament no found the parament
[1033:294] [2022-07-25 00:32:42 +0000.293620][4394]
Warning(parse_template_json.cc:45): json parament no found the parament
[1033:294] [2022-07-25 00:32:42 +0000.293656][4394]
Warning(parse_template_json.cc:45): json parament no found the parament
[1033:294] [2022-07-25 00:32:42 +0000.293702][4394]
Warning(parse_template_json.cc:45): json parament no found the parament
[1033:294] [2022-07-25 00:32:42 +0000.293756][4394]
Warning(parse_template_json.cc:45): json parament no found the parament
[1033:295] [2022-07-25 00:32:42 +0000.293852][4394]
Warning(parse_template_json.cc:45): json parament no found the parament
[1033:295] [2022-07-25 00:32:42 +0000.293887][4394]
Warning(parse_template_json.cc:45): json parament no found the parament
[1033:295] [2022-07-25 00:32:42 +0000.293918][4394]
Warning(parse_template_json.cc:81): json parament no found the parament
[1033:295] [2022-07-25 00:32:42 +0000.293949][4394]
Warning(parse_template_json.cc:81): json parament no found the parament
[1033:295] [2022-07-25 00:32:42 +0000.293982][4394]
Warning(parse_template_json.cc:67): json parament no found the parament
[1033:295] [2022-07-25 00:32:42 +0000.294012][4394]
Warning(parse_template_json.cc:93): json parament no found the duration
[1033:295] [2022-07-25 00:32:42 +0000.294139][4394] SetParamForFilter leave.
expire time = 6 ms

[1033:295] [2022-07-25 00:32:42 +0000.294389][4394] OnOutputSizeChanged width 1920


height 1080
[1033:295] [2022-07-25 00:32:42 +0000.294476][4394] OpenGLFrameBuffer: width:1920
height:1080
[1033:295] [2022-07-25 00:32:42 +0000.294528][4394] OpenGLFrameBuffer: width:1920
height:1080
[1033:295] [2022-07-25 00:32:42 +0000.294557][4394] OpenGLFrameBuffer: width:1920
height:1080
[1033:295] [2022-07-25 00:32:42 +0000.294585][4394] OpenGLFrameBuffer: width:1920
height:1080
[1033:295] [2022-07-25 00:32:42 +0000.294614][4394] OpenGLFrameBuffer: width:1920
height:1080
[1033:295] [2022-07-25 00:32:42 +0000.294643][4394] OpenGLFrameBuffer: width:1920
height:1080
[1033:295] [2022-07-25 00:32:42 +0000.294670][4394] construct TrivalImageDrawer
0x6f0c3d9480
[1033:295] [2022-07-25 00:32:42 +0000.294757][4394] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x6f0c3d9480 context 0x6e9849af00
[1033:295] [2022-07-25 00:32:42 +0000.294788][4394] setupGLES:
[1033:296] [2022-07-25 00:32:42 +0000.295376][4394]
OpenGLRenderProgram::Initialize.
[1033:296] [2022-07-25 00:32:42 +0000.295417][4394] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[1033:296] [2022-07-25 00:32:42 +0000.295448][4394] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[1033:296] [2022-07-25 00:32:42 +0000.295583][4394] Init open gl render:
0x6f87516e98
[1033:296] [2022-07-25 00:32:42 +0000.295636][4394] Fragement shader path:
[1033:296] [2022-07-25 00:32:42 +0000.295672][4394] Fragement shader path:
[1033:296] [2022-07-25 00:32:42 +0000.295701][4394] create opengl program object.
[1033:296] [2022-07-25 00:32:42 +0000.295748][4394] create shader: vertex
[1033:297] [2022-07-25 00:32:42 +0000.296109][4394] create shader: fragment
[1033:299] [2022-07-25 00:32:42 +0000.297982][4394] Have not extra filter filename!
[1033:299] [2022-07-25 00:32:42 +0000.298040][4394] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[1033:299] [2022-07-25 00:32:42 +0000.298087][4394] OpenGLRenderProgram::Initialize
success.
[1033:299] [2022-07-25 00:32:42 +0000.298181][4394] Setup the OpenGL result:1
[1033:300] [2022-07-25 00:32:42 +0000.298929][4393] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4
[1033:300] [2022-07-25 00:32:42 +0000.299108][4393] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[1033:300] [2022-07-25 00:32:42 +0000.299162][4393] 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
[1033:300] [2022-07-25 00:32:42 +0000.299205][4393] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4
fileFD: -1
[1033:300] [2022-07-25 00:32:42 +0000.299442][4440] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6ec2eb2898
[1033:301] [2022-07-25 00:32:42 +0000.299797][4393] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4
is opened successfully
[1033:301] [2022-07-25 00:32:42 +0000.299856][4393] setupMediaProcessers:
[1033:301] [2022-07-25 00:32:42 +0000.299903][4393]
RecordingSessionInternalSimple:setup media processers.
[1033:301] [2022-07-25 00:32:42 +0000.299945][4393] construct AAC encoder
[1033:301] [2022-07-25 00:32:42 +0000.300544][4393] H264Encoder creating:
superfast011818
[1033:301] [2022-07-25 00:32:42 +0000.300604][4393] H264Encode::H264Encoder
creating with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[1033:302] [2022-07-25 00:32:42 +0000.301496][4393] H264Encode::GetMachineModel is
M2012K11AG
[1033:302] [2022-07-25 00:32:42 +0000.301558][4393] H264Encoder machine_mode
is:M2012K11AG
[1033:302] [2022-07-25 00:32:42 +0000.301603][4393] H264Encode::machine size :9
machine_mode:M2012K11AG
[1033:302] [2022-07-25 00:32:42 +0000.301646][4393] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[1033:302] [2022-07-25 00:32:42 +0000.301689][4393] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[1033:302] [2022-07-25 00:32:42 +0000.301727][4393] setupCompressionSession:
[1033:302] [2022-07-25 00:32:42 +0000.301768][4393] H264Encode::creating hareware
Encoder
[1033:303] [2022-07-25 00:32:42 +0000.301851][4393] AndroidHwAvcEncoder
time:94931740 enter.

[1033:303] [2022-07-25 00:32:42 +0000.302311][4393] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb40000705443f540 address:0x6e70b5c760
[1033:303] [2022-07-25 00:32:42 +0000.302464][4393] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[1033:303] [2022-07-25 00:32:42 +0000.302515][4393] The video avc hw codec address
is 0x6eb1c07f50
[1033:303] [2022-07-25 00:32:42 +0000.302605][4393] AndroidHwAvcEncoder leave.
expire time = 0 ms

[1033:303] [2022-07-25 00:32:42 +0000.302656][4393] RegisterEncodeCompleteCallback


time:94931740 enter.

[1033:303] [2022-07-25 00:32:42 +0000.302780][4393] RegisterEncodeCompleteCallback


leave. expire time = 1 ms
[1033:304] [2022-07-25 00:32:42 +0000.302841][4393] InitEncode time:94931741
enter.

[1033:304] [2022-07-25 00:32:42 +0000.302938][4393] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[1033:304] [2022-07-25 00:32:42 +0000.303030][4393] Create time:94931741 enter.

[1033:304] [2022-07-25 00:32:42 +0000.303077][4393] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[1033:304] [2022-07-25 00:32:42 +0000.303127][4393]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x6ea6e1a2c0
[1033:304] [2022-07-25 00:32:42 +0000.303323][4393]
supported_type:image/vnd.android.heic
[1033:304] [2022-07-25 00:32:42 +0000.303394][4393] supported_type:video/avc
[1033:304] [2022-07-25 00:32:42 +0000.303454][4393] name:OMX.qcom.video.encoder.avc
mime:video/avc
[1033:304] [2022-07-25 00:32:42 +0000.303532][4393] hwCodecPrefix :OMX.qcom.
[1033:304] [2022-07-25 00:32:42 +0000.303578][4393] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[1033:304] [2022-07-25 00:32:42 +0000.303672][4393] mediacodec_createCodecByName
time:94931741 enter.

[1033:305] [2022-07-25 00:32:42 +0000.303922][4393] WrapAndroidMediaCodec


time:94931742 enter.

[1033:305] [2022-07-25 00:32:42 +0000.304445][4393] WrapAndroidMediaCodec leave.


expire time = 0 ms

[1033:345] [2022-07-25 00:32:42 +0000.344445][4399] webrtc device:Handle the data


from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1033:345] [2022-07-25 00:32:42 +0000.344728][4399] _deviceSampleRate:48000

[1033:347] [2022-07-25 00:32:42 +0000.346257][4398] Run AGC when audioType = 0


[1033:362] [2022-07-25 00:32:42 +0000.361565][4393] mediacodec_createCodecByName
leave. expire time = 58 ms

[1033:362] [2022-07-25 00:32:42 +0000.361659][4393] WrapAndroidMediaFromat


time:94931799 enter.

[1033:362] [2022-07-25 00:32:42 +0000.361748][4393] WrapAndroidMediaFromat leave.


expire time = 0 ms

[1033:421] [2022-07-25 00:32:42 +0000.420685][4393] Destroy time:94931858 enter.

[1033:421] [2022-07-25 00:32:42 +0000.420761][4393] WrapAndroidMediaFromat::


Destroy
[1033:421] [2022-07-25 00:32:42 +0000.420790][4393] Destroy leave. expire time = 1
ms

[1033:422] [2022-07-25 00:32:42 +0000.420834][4393] ~WrapAndroidMediaFromat


time:94931859 enter.

[1033:422] [2022-07-25 00:32:42 +0000.420882][4393] ~WrapAndroidMediaFromat leave.


expire time = 0 ms
[1033:422] [2022-07-25 00:32:42 +0000.420927][4393] Create leave. expire time =
118 ms

[1033:422] [2022-07-25 00:32:42 +0000.420985][4393] isSemiPlanarSupport


time:94931859 enter.

[1033:422] [2022-07-25 00:32:42 +0000.421037][4393] H264Encoder isSemiPlanarSupport


[1033:422] [2022-07-25 00:32:42 +0000.421094][4393] isSemiPlanarSupport leave.
expire time = 0 ms

[1033:422] [2022-07-25 00:32:42 +0000.421145][4393] creat hw H264Encoder success,


isSemiPlanar:1
[1033:422] [2022-07-25 00:32:42 +0000.421274][4393] InitEncode leave. expire time
= 118 ms

[1033:422] [2022-07-25 00:32:42 +0000.421315][4393] H264Encode::created Encoder


[1033:422] [2022-07-25 00:32:42 +0000.421341][4393] H264Encode:: H264 encoder
created.
[1033:422] [2022-07-25 00:32:42 +0000.421364][4393] H264 encoder created.
[1033:422] [2022-07-25 00:32:42 +0000.421388][4393]
RecordingSessionInternalSimple:created avc encoder avc: 0x6ea6d869c0
[1033:422] [2022-07-25 00:32:42 +0000.421420][4393] setOutput:
[1033:422] [2022-07-25 00:32:42 +0000.421453][4393]
RecordingSessionInternalSimple:encoder set output to muxer!
[1033:422] [2022-07-25 00:32:42 +0000.421500][4393] request a key frame
[1033:422] [2022-07-25 00:32:42 +0000.421541][4393] H264Encode:: request a key
frame
[1033:422] [2022-07-25 00:32:42 +0000.421663][4393] setDisplayRotate :90
[1033:422] [2022-07-25 00:32:42 +0000.421701][4393] 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
[1033:422] [2022-07-25 00:32:42 +0000.421773][4394] StartRecording:
[1033:423] [2022-07-25 00:32:42 +0000.421924][4439] operator(): Set the recording
session in mic source. recording session: 0x6f0c4b9400
[1033:423] [2022-07-25 00:32:42 +0000.422035][4394] operator() leave. expire time
= 139 ms

[1033:479] [2022-07-25 00:32:42 +0000.477859][4394] begine recode to first frame


spend time:195
[1033:479] [2022-07-25 00:32:42 +0000.477967][4394]
GPUImageProcessing::SetOrientation orientation: 90
[1033:481] [2022-07-25 00:32:42 +0000.479808][4394] drawYUV420 render
OpenGLRenderProgram:0x6f87516e98
[1033:513] [2022-07-25 00:32:42 +0000.512290][4394] drawYUV420 render
OpenGLRenderProgram:0x6f87516e98
[1033:522] [2022-07-25 00:32:42 +0000.521006][443f]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[1033:550] [2022-07-25 00:32:42 +0000.549030][4394] drawYUV420 render
OpenGLRenderProgram:0x6f87516e98
[1033:562] [2022-07-25 00:32:42 +0000.561637][4440] add aac audio track with id:1
[1033:576] [2022-07-25 00:32:42 +0000.575749][4438] AF_SpeedFilter audio
0x6f0c4b9880 PullFrame
[1033:591] [2022-07-25 00:32:42 +0000.589950][443f] h264 add frame header cdr flag
[1033:592] [2022-07-25 00:32:42 +0000.590878][443f] h264 add frame header cdr flag
[1033:593] [2022-07-25 00:32:42 +0000.591837][443f] Received key frame:0
[1033:593] [2022-07-25 00:32:42 +0000.591912][443f] H264Encode:: get a sps pps
header!headerSize:32
[1033:593] [2022-07-25 00:32:42 +0000.592030][4440] get the H.264 SPS parameter
[1033:593] [2022-07-25 00:32:42 +0000.592291][4440] add video track with id:2
[1033:595] [2022-07-25 00:32:42 +0000.594616][4440] get the H.264 PPS parameter
[1033:596] [2022-07-25 00:32:42 +0000.595269][4440] get the H.264 IDR frame
[1033:596] [2022-07-25 00:32:42 +0000.595325][4440] resss:true
[1033:596] [2022-07-25 00:32:42 +0000.595358][4440] video start ts:0
[1033:596] [2022-07-25 00:32:42 +0000.595617][4440] the video frame has been
written into MP4 file
[1033:636] [2022-07-25 00:32:42 +0000.634842][4440] audio start ts:0
[1033:636] [2022-07-25 00:32:42 +0000.634925][4440] the audio frame has been
written into MP4 file
[1033:646] [2022-07-25 00:32:42 +0000.645776][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1033:725] [2022-07-25 00:32:42 +0000.724117][443f] Push an pts:207 to dts queue.
[1033:751] [2022-07-25 00:32:42 +0000.749879][4394] The convert RGB to YUV take 3
[1033:758] [2022-07-25 00:32:42 +0000.757325][443f] last dts:167 currentPts:207
ppsOrSPS:0 queue length:2
[1033:882] [2022-07-25 00:32:42 +0000.881681][443f] DTS queue for
Generator:0x6ec2eb2cb8 329 366
[1033:948] [2022-07-25 00:32:42 +0000.947618][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1034:035] [2022-07-25 00:32:43 +0000.34266][4438] AF_SpeedFilter audio time,
0x6f0c4b9880 rcv time: 94932466
[1034:035] [2022-07-25 00:32:43 +0000.34343][4438] AF_SpeedFilter audio time,
0x6f0c4b9880 rcv time: 94932466in_nSamples:441
[1034:116] [2022-07-25 00:32:43 +0000.115535][4438] resampled_data_size:15360
[1034:116] [2022-07-25 00:32:43 +0000.115648][4438]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 94932467
[1034:116] [2022-07-25 00:32:43 +0000.115693][4438]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[1034:153] [2022-07-25 00:32:43 +0000.152606][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1034:254] [2022-07-25 00:32:43 +0000.253738][4394] The convert RGB to YUV take 3
[1034:290] [2022-07-25 00:32:43 +0000.288846][443f]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:774
[1034:344] [2022-07-25 00:32:43 +0000.343543][4394] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[1034:345] [2022-07-25 00:32:43 +0000.343884][4394] GPUImageProcessing: input frame
width1920 X 1080
[1034:345] [2022-07-25 00:32:43 +0000.344268][4394] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[1034:345] [2022-07-25 00:32:43 +0000.344329][4394] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[1034:614] [2022-07-25 00:32:43 +0000.613694][4394] webrtc common_video plane
old ..... (1/1000) new: 15001 delete: 14978 diff: 23
[1034:651] [2022-07-25 00:32:43 +0000.650466][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1034:711] [2022-07-25 00:32:43 +0000.709943][443f] DTS queue for
Generator:0x6ec2eb2cb8 1170 1194
[1034:752] [2022-07-25 00:32:43 +0000.751544][4394] The convert RGB to YUV take 4
[1034:952] [2022-07-25 00:32:43 +0000.951482][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1034:954] [2022-07-25 00:32:43 +0000.953625][4438]
RecordAudioSource::PullAudioFrame
[1034:955] [2022-07-25 00:32:43 +0000.954733][4438] FilterPipeline2::OnAudioFrame
pts 1480 last_audio_timestamp_ 1480
[1035:010] [2022-07-25 00:32:44 +0000.9205][4398] haveEnoughProcessedData
internalAudioStream.length: 0
[1035:049] [2022-07-25 00:32:44 +0000.48632][443f] Push an pts:1530 to dts queue.
[1035:083] [2022-07-25 00:32:44 +0000.81954][443f] SendFrame
encodedImage._timeStamp:1530encodedImage->_length:88256
[1035:083] [2022-07-25 00:32:44 +0000.82115][443f] last dts:1497 currentPts:1530
ppsOrSPS:0 queue length:2
[1035:141] [2022-07-25 00:32:44 +0000.139820][4394] The read pixel from buffer
take: 1 width:1920 height:1080 frameType:0
[1035:151] [2022-07-25 00:32:44 +0000.149844][443f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1601 pts:1601
[1035:176] [2022-07-25 00:32:44 +0000.177754][4438] AF_SpeedFilter audio
0x6f0c4b9880 PullFrame
[1035:179] [2022-07-25 00:32:44 +0000.178187][4438] AF_SpeedFilter::PullFrame eof4
[1035:185] [2022-07-25 00:32:44 +0000.184502][4438]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1035:236] [2022-07-25 00:32:44 +0000.235467][443e]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 1671queue_audio_frame_:4
[1035:247] [2022-07-25 00:32:44 +0000.246386][4394] The convert RGB to YUV take 3
[1035:347] [2022-07-25 00:32:44 +0000.346570][4398] Run AGC when audioType = 0
[1035:347] [2022-07-25 00:32:44 +0000.346690][4398]
AudioDeviceDataHandler::MixAndSendOutFrame
[1035:445] [2022-07-25 00:32:44 +0000.444597][443f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1926
[1035:446] [2022-07-25 00:32:44 +0000.444827][443f] push video frame to H264
encoder. (100 frame for one log)

[1035:446] [2022-07-25 00:32:44 +0000.444912][443f] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1035:446] [2022-07-25 00:32:44 +0000.444962][443f] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:1926(100 frame for one
log)

[1035:446] [2022-07-25 00:32:44 +0000.445027][443f] The input pts:1926 fps:30


[1035:482] [2022-07-25 00:32:44 +0000.481122][443f] H264Encode::H264SWEncoder get
callback, length:46272 type:1 nalType:1length:46268
[1035:553] [2022-07-25 00:32:44 +0000.552006][443f] DTS queue for
Generator:0x6ec2eb2cb8 1992 2036
[1035:555] [2022-07-25 00:32:44 +0000.555307][443f] h264 add frame header cdr flag
[1035:556] [2022-07-25 00:32:44 +0000.555670][443f] Received key frame:1992
[1035:587] [2022-07-25 00:32:44 +0000.586772][4440] get the H.264 IDR frame
[1035:645] [2022-07-25 00:32:44 +0000.644075][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1035:751] [2022-07-25 00:32:44 +0000.750144][4394] The convert RGB to YUV take 3
[1035:950] [2022-07-25 00:32:44 +0000.949071][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1036:144] [2022-07-25 00:32:45 +0000.143685][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1036:248] [2022-07-25 00:32:45 +0000.247059][4394] The convert RGB to YUV take 4
[1036:347] [2022-07-25 00:32:45 +0000.345890][443f] DTS queue for
Generator:0x6ec2eb2cb8 2828
[1036:369] [2022-07-25 00:32:45 +0000.368499][4438] resampled_data_size:6144
[1036:388] [2022-07-25 00:32:45 +0000.387239][443f] Push an pts:2866 to dts queue.
[1036:414] [2022-07-25 00:32:45 +0000.413078][443f] last dts:2828 currentPts:2866
ppsOrSPS:0 queue length:2
[1036:477] [2022-07-25 00:32:45 +0000.476578][4438] AF_SpeedFilter audio time 111,
0x6f0c4b9880 out time: 94934857 org time: 94934857
[1036:554] [2022-07-25 00:32:45 +0000.553185][4438] AF_SpeedFilter audio time
[1036:638] [2022-07-25 00:32:45 +0000.636824][4394] The read pixel from buffer
take: 1 width:1920 height:1080 frameType:0
[1036:673] [2022-07-25 00:32:45 +0000.672757][4394] webrtc common_video plane
old ..... (1/1000) new: 16001 delete: 15982 diff: 19
[1036:731] [2022-07-25 00:32:45 +0000.729970][4398] haveEnoughProcessedData
internalAudioStream.length: 10
[1036:740] [2022-07-25 00:32:45 +0000.738955][4394] The convert RGB to YUV take 3
[1036:770] [2022-07-25 00:32:45 +0000.769372][4394] drawYUV420 render
OpenGLRenderProgram:0x6f87516e98
[1036:793] [2022-07-25 00:32:45 +0000.792306][4438] AF_SpeedFilter audio
0x6f0c4b9880 PullFrame
[1036:849] [2022-07-25 00:32:45 +0000.847925][4438]
RecordAudioSource::PullAudioFrame
[1036:952] [2022-07-25 00:32:45 +0000.951225][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1037:138] [2022-07-25 00:32:46 +0000.137460][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1037:182] [2022-07-25 00:32:46 +0000.181120][443f] DTS queue for
Generator:0x6ec2eb2cb8 3659
[1037:248] [2022-07-25 00:32:46 +0000.247391][4394] The convert RGB to YUV take 2
[1037:348] [2022-07-25 00:32:46 +0000.347105][4398] Run AGC when audioType = 0
[1037:512] [2022-07-25 00:32:46 +0000.511641][4438] AF_SpeedFilter::PullFrame eof4
[1037:519] [2022-07-25 00:32:46 +0000.518280][4438]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1037:555] [2022-07-25 00:32:46 +0000.554168][443f] h264 add frame header cdr flag
[1037:556] [2022-07-25 00:32:46 +0000.554979][443f] Received key frame:3993
[1037:580] [2022-07-25 00:32:46 +0000.579315][4440] get the H.264 IDR frame
[1037:598] [2022-07-25 00:32:46 +0000.597753][443e]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 3993queue_audio_frame_:8
[1037:610] [2022-07-25 00:32:46 +0000.609321][443f]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:4091
[1037:638] [2022-07-25 00:32:46 +0000.637761][4394] The read pixel from buffer
take: 2 width:1920 height:1080 frameType:0
[1037:706] [2022-07-25 00:32:46 +0000.705617][4394] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[1037:706] [2022-07-25 00:32:46 +0000.705691][4394] GPUImageProcessing: input frame
width1920 X 1080
[1037:707] [2022-07-25 00:32:46 +0000.706658][4394] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[1037:707] [2022-07-25 00:32:46 +0000.706745][4394] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[1037:714] [2022-07-25 00:32:46 +0000.713311][443f] Push an pts:4195 to dts queue.
[1037:745] [2022-07-25 00:32:46 +0000.744749][4394] The convert RGB to YUV take 2
[1037:750] [2022-07-25 00:32:46 +0000.749294][443f] last dts:4156 currentPts:4195
ppsOrSPS:0 queue length:2
[1037:956] [2022-07-25 00:32:46 +0000.955679][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1038:021] [2022-07-25 00:32:47 +0000.20759][443f] DTS queue for
Generator:0x6ec2eb2cb8 4461 4500
[1038:138] [2022-07-25 00:32:47 +0000.137257][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1038:242] [2022-07-25 00:32:47 +0000.240975][4394] The convert RGB to YUV take 4
[1038:415] [2022-07-25 00:32:47 +0000.414705][4438] AF_SpeedFilter audio
0x6f0c4b9880 PullFrame
[1038:418] [2022-07-25 00:32:47 +0000.417161][443f] SendFrame
encodedImage._timeStamp:4862encodedImage->_length:41328
[1038:447] [2022-07-25 00:32:47 +0000.446481][4398] haveEnoughProcessedData
internalAudioStream.length: 0
[1038:518] [2022-07-25 00:32:47 +0000.517291][443f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4964 pts:4964
[1038:555] [2022-07-25 00:32:47 +0000.554596][4438] resampled_data_size:0
[1038:641] [2022-07-25 00:32:47 +0000.640775][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1038:738] [2022-07-25 00:32:47 +0000.737405][4394] The convert RGB to YUV take 2
[1038:739] [2022-07-25 00:32:47 +0000.738250][4438]
RecordAudioSource::PullAudioFrame
[1038:768] [2022-07-25 00:32:47 +0000.767357][4394] webrtc common_video plane
old ..... (1/1000) new: 17001 delete: 16978 diff: 23
[1038:817] [2022-07-25 00:32:47 +0000.816552][443f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:5296
[1038:817] [2022-07-25 00:32:47 +0000.816716][443f] push video frame to H264
encoder. (100 frame for one log)

[1038:818] [2022-07-25 00:32:47 +0000.816816][443f] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1038:818] [2022-07-25 00:32:47 +0000.816869][443f] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:5296(100 frame for one
log)

[1038:818] [2022-07-25 00:32:47 +0000.816937][443f] The input pts:5296 fps:30


[1038:845] [2022-07-25 00:32:47 +0000.844322][443f] DTS queue for
Generator:0x6ec2eb2cb8 5296 5325
[1038:847] [2022-07-25 00:32:47 +0000.846449][443f] H264Encode::H264SWEncoder get
callback, length:72640 type:1 nalType:1length:72636
[1038:950] [2022-07-25 00:32:47 +0000.949786][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1039:045] [2022-07-25 00:32:48 +0000.44149][443f] Push an pts:5525 to dts queue.
[1039:086] [2022-07-25 00:32:48 +0000.85040][443f] last dts:5493 currentPts:5525
ppsOrSPS:0 queue length:2
[1039:145] [2022-07-25 00:32:48 +0000.144252][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1039:250] [2022-07-25 00:32:48 +0000.248896][4394] The convert RGB to YUV take 4
[1039:347] [2022-07-25 00:32:48 +0000.346292][4398] Run AGC when audioType = 0
[1039:347] [2022-07-25 00:32:48 +0000.346482][4398]
AudioDeviceDataHandler::MixAndSendOutFrame
[1039:543] [2022-07-25 00:32:48 +0000.541926][443f] h264 add frame header cdr flag
[1039:543] [2022-07-25 00:32:48 +0000.542142][443f] Received key frame:5988
[1039:583] [2022-07-25 00:32:48 +0000.582104][4440] get the H.264 IDR frame
[1039:636] [2022-07-25 00:32:48 +0000.634834][4394] The read pixel from buffer
take: 1 width:1920 height:1080 frameType:0
[1039:646] [2022-07-25 00:32:48 +0000.644886][443f] DTS queue for
Generator:0x6ec2eb2cb8 6123
[1039:741] [2022-07-25 00:32:48 +0000.740198][4394] The convert RGB to YUV take 4
[1039:844] [2022-07-25 00:32:48 +0000.843622][4438] AF_SpeedFilter::PullFrame eof4
[1039:851] [2022-07-25 00:32:48 +0000.850120][4438]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1039:858] [2022-07-25 00:32:48 +0000.857638][443e]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6315queue_audio_frame_:2
[1039:956] [2022-07-25 00:32:48 +0000.955173][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1040:036] [2022-07-25 00:32:49 +0000.35317][4438] AF_SpeedFilter audio
0x6f0c4b9880 PullFrame
[1040:103] [2022-07-25 00:32:49 +0000.102641][4394] drawYUV420 render
OpenGLRenderProgram:0x6f87516e98
[1040:139] [2022-07-25 00:32:49 +0000.137981][4394] The read pixel from buffer
take: 1 width:1920 height:1080 frameType:0
[1040:168] [2022-07-25 00:32:49 +0000.167585][4398] haveEnoughProcessedData
internalAudioStream.length: 0
[1040:238] [2022-07-25 00:32:49 +0000.237117][4394] The convert RGB to YUV take 3
[1040:378] [2022-07-25 00:32:49 +0000.377758][443f] Push an pts:6859 to dts queue.
[1040:410] [2022-07-25 00:32:49 +0000.409422][443f] last dts:6824 currentPts:6859
ppsOrSPS:0 queue length:2
[1040:478] [2022-07-25 00:32:49 +0000.477759][443f] DTS queue for
Generator:0x6ec2eb2cb8 6959
[1040:631] [2022-07-25 00:32:49 +0000.629914][4438]
RecordAudioSource::PullAudioFrame
[1040:636] [2022-07-25 00:32:49 +0000.635444][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1040:739] [2022-07-25 00:32:49 +0000.738698][4394] The convert RGB to YUV take 2
[1040:800] [2022-07-25 00:32:49 +0000.799587][4438] resampled_data_size:9216
[1040:846] [2022-07-25 00:32:49 +0000.845186][4394] webrtc common_video plane
old ..... (1/1000) new: 18001 delete: 17982 diff: 19
[1040:940] [2022-07-25 00:32:49 +0000.939296][443f]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:7424
[1040:953] [2022-07-25 00:32:49 +0000.952809][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1041:068] [2022-07-25 00:32:50 +0000.66947][4394] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[1041:068] [2022-07-25 00:32:50 +0000.67312][4394] GPUImageProcessing: input frame
width1920 X 1080
[1041:069] [2022-07-25 00:32:50 +0000.68113][4394] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[1041:069] [2022-07-25 00:32:50 +0000.68173][4394] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[1041:136] [2022-07-25 00:32:50 +0000.135184][4394] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[1041:137] [2022-07-25 00:32:50 +0000.136608][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1041:241] [2022-07-25 00:32:50 +0000.239896][4394] The convert RGB to YUV take 6
[1041:315] [2022-07-25 00:32:50 +0000.314584][443f] DTS queue for
Generator:0x6ec2eb2cb8 7791
[1041:348] [2022-07-25 00:32:50 +0000.347261][4398] Run AGC when audioType = 0
[1041:546] [2022-07-25 00:32:50 +0000.545124][443f] h264 add frame header cdr flag
[1041:546] [2022-07-25 00:32:50 +0000.545597][443f] Received key frame:7986
[1041:577] [2022-07-25 00:32:50 +0000.575908][4440] get the H.264 IDR frame
[1041:633] [2022-07-25 00:32:50 +0000.631944][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1041:659] [2022-07-25 00:32:50 +0000.658720][4438] AF_SpeedFilter audio
0x6f0c4b9880 PullFrame
[1041:711] [2022-07-25 00:32:50 +0000.710428][443f] Push an pts:8191 to dts queue.
[1041:744] [2022-07-25 00:32:50 +0000.743490][4394] The convert RGB to YUV take 9
[1041:748] [2022-07-25 00:32:50 +0000.746811][443f] SendFrame
encodedImage._timeStamp:8191encodedImage->_length:26832
[1041:748] [2022-07-25 00:32:50 +0000.746937][443f] last dts:8154 currentPts:8191
ppsOrSPS:0 queue length:2
[1041:881] [2022-07-25 00:32:50 +0000.880313][443f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:8327 pts:8327
[1041:894] [2022-07-25 00:32:50 +0000.892920][4398] haveEnoughProcessedData
internalAudioStream.length: 0
[1041:950] [2022-07-25 00:32:50 +0000.949268][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1042:137] [2022-07-25 00:32:51 +0000.136224][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1042:145] [2022-07-25 00:32:51 +0000.144733][443f] DTS queue for
Generator:0x6ec2eb2cb8 8592 8624
[1042:171] [2022-07-25 00:32:51 +0000.170596][443f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:8655
[1042:171] [2022-07-25 00:32:51 +0000.170653][443f] push video frame to H264
encoder. (100 frame for one log)

[1042:171] [2022-07-25 00:32:51 +0000.170693][443f] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1042:171] [2022-07-25 00:32:51 +0000.170714][443f] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:8655(100 frame for one
log)

[1042:171] [2022-07-25 00:32:51 +0000.170740][443f] The input pts:8655 fps:30


[1042:203] [2022-07-25 00:32:51 +0000.201860][4438] AF_SpeedFilter::PullFrame eof4
[1042:209] [2022-07-25 00:32:51 +0000.208529][4438]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1042:210] [2022-07-25 00:32:51 +0000.209075][443f] H264Encode::H264SWEncoder get
callback, length:52448 type:1 nalType:1length:52444
[1042:223] [2022-07-25 00:32:51 +0000.222360][443e]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 8637queue_audio_frame_:5
[1042:242] [2022-07-25 00:32:51 +0000.240871][4394] The convert RGB to YUV take 7
[1042:541] [2022-07-25 00:32:51 +0000.540723][4438]
RecordAudioSource::PullAudioFrame
[1042:644] [2022-07-25 00:32:51 +0000.643502][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1042:739] [2022-07-25 00:32:51 +0000.737938][4394] The convert RGB to YUV take 3
[1042:857] [2022-07-25 00:32:51 +0000.856037][4439] The output timestamp from audio
mixer change:94941285
[1042:928] [2022-07-25 00:32:51 +0000.927771][4398] On audio frame the broadcast
with timestamp:94941365 samples:480. (1000 frame for one log)

[1042:936] [2022-07-25 00:32:51 +0000.935310][4394] webrtc common_video plane


old ..... (1/1000) new: 19001 delete: 18978 diff: 23
[1042:952] [2022-07-25 00:32:51 +0000.951661][4439] Get data in mic source, which
has byte length:1764micAudioStream->length():20
[1042:952] [2022-07-25 00:32:51 +0000.951765][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1042:976] [2022-07-25 00:32:51 +0000.974892][443f] DTS queue for
Generator:0x6ec2eb2cb8 9423 9458
[1043:040] [2022-07-25 00:32:52 +0000.38970][443f] Push an pts:9522 to dts queue.
[1043:059] [2022-07-25 00:32:52 +0000.57850][4438] resampled_data_size:0
[1043:080] [2022-07-25 00:32:52 +0000.79566][443f] last dts:9496 currentPts:9522
ppsOrSPS:0 queue length:2
[1043:141] [2022-07-25 00:32:52 +0000.140788][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1043:240] [2022-07-25 00:32:52 +0000.239628][4394] The convert RGB to YUV take 2
[1043:273] [2022-07-25 00:32:52 +0000.272563][4438] AF_SpeedFilter audio
0x6f0c4b9880 PullFrame
[1043:346] [2022-07-25 00:32:52 +0000.345237][4399] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1043:346] [2022-07-25 00:32:52 +0000.345391][4399] _deviceSampleRate:48000

[1043:351] [2022-07-25 00:32:52 +0000.350628][4398] Run AGC when audioType = 0


[1043:353] [2022-07-25 00:32:52 +0000.352615][4398]
AudioDeviceDataHandler::MixAndSendOutFrame
[1043:441] [2022-07-25 00:32:52 +0000.440036][4394] drawYUV420 render
OpenGLRenderProgram:0x6f87516e98
[1043:543] [2022-07-25 00:32:52 +0000.542178][443f] h264 add frame header cdr flag
[1043:543] [2022-07-25 00:32:52 +0000.542700][443f] Received key frame:9990
[1043:580] [2022-07-25 00:32:52 +0000.579772][4440] get the H.264 IDR frame
[1043:613] [2022-07-25 00:32:52 +0000.612544][4398] haveEnoughProcessedData
internalAudioStream.length: 0
[1043:639] [2022-07-25 00:32:52 +0000.638464][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1043:741] [2022-07-25 00:32:52 +0000.740368][4394] The convert RGB to YUV take 4
[1043:774] [2022-07-25 00:32:52 +0000.773290][443f] DTS queue for
Generator:0x6ec2eb2cb8 10256
[1043:952] [2022-07-25 00:32:52 +0000.951479][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1044:037] [2022-07-25 00:32:53 +0000.36413][4438] AF_SpeedFilter audio time,
0x6f0c4b9880 rcv time: 94942464
[1044:037] [2022-07-25 00:32:53 +0000.36507][4438] AF_SpeedFilter audio time,
0x6f0c4b9880 rcv time: 94942464in_nSamples:441
[1044:100] [2022-07-25 00:32:53 +0000.99565][4438]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 94942467
[1044:100] [2022-07-25 00:32:53 +0000.99657][4438]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[1044:138] [2022-07-25 00:32:53 +0000.137127][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1044:238] [2022-07-25 00:32:53 +0000.237092][4394] The convert RGB to YUV take 4
[1044:282] [2022-07-25 00:32:53 +0000.281138][443f]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:10759
[1044:373] [2022-07-25 00:32:53 +0000.372720][443f] Push an pts:10857 to dts queue.
[1044:394] [2022-07-25 00:32:53 +0000.392987][4438]
RecordAudioSource::PullAudioFrame
[1044:408] [2022-07-25 00:32:53 +0000.407429][443f] last dts:10822 currentPts:10857
ppsOrSPS:0 queue length:2
[1044:430] [2022-07-25 00:32:53 +0000.429657][4394] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[1044:430] [2022-07-25 00:32:53 +0000.429708][4394] GPUImageProcessing: input frame
width1920 X 1080
[1044:431] [2022-07-25 00:32:53 +0000.430466][4394] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[1044:431] [2022-07-25 00:32:53 +0000.430525][4394] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[1044:472] [2022-07-25 00:32:53 +0000.471603][4438] AF_SpeedFilter::PullFrame eof4
[1044:481] [2022-07-25 00:32:53 +0000.479834][4438]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1044:576] [2022-07-25 00:32:53 +0000.575391][443e]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 10959queue_audio_frame_:8
[1044:627] [2022-07-25 00:32:53 +0000.626543][443f] DTS queue for
Generator:0x6ec2eb2cb8 11107
[1044:638] [2022-07-25 00:32:53 +0000.637349][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1044:741] [2022-07-25 00:32:53 +0000.740414][4394] The convert RGB to YUV take 3
[1044:856] [2022-07-25 00:32:53 +0000.855254][4438] AF_SpeedFilter audio
0x6f0c4b9880 PullFrame
[1044:948] [2022-07-25 00:32:53 +0000.947272][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1044:952] [2022-07-25 00:32:53 +0000.951398][4438] FilterPipeline2::OnAudioFrame
pts 11480 last_audio_timestamp_ 11480
[1044:998] [2022-07-25 00:32:53 +0000.997779][4394] webrtc common_video plane
old ..... (1/1000) new: 20001 delete: 19982 diff: 19
[1045:071] [2022-07-25 00:32:54 +0000.69967][443f] SendFrame
encodedImage._timeStamp:11518encodedImage->_length:61264
[1045:130] [2022-07-25 00:32:54 +0000.129396][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1045:235] [2022-07-25 00:32:54 +0000.233966][4394] The convert RGB to YUV take 4
[1045:236] [2022-07-25 00:32:54 +0000.235466][4438] resampled_data_size:12288
[1045:240] [2022-07-25 00:32:54 +0000.238888][443f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:11698 pts:11698
[1045:330] [2022-07-25 00:32:54 +0000.329586][4398] haveEnoughProcessedData
internalAudioStream.length: 0
[1045:347] [2022-07-25 00:32:54 +0000.346125][4398] Run AGC when audioType = 0
[1045:440] [2022-07-25 00:32:54 +0000.439770][443f] DTS queue for
Generator:0x6ec2eb2cb8 11922
[1045:545] [2022-07-25 00:32:54 +0000.543981][443f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:12028
[1045:545] [2022-07-25 00:32:54 +0000.544093][443f] push video frame to H264
encoder. (100 frame for one log)

[1045:545] [2022-07-25 00:32:54 +0000.544156][443f] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1045:545] [2022-07-25 00:32:54 +0000.544220][443f] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:12028(100 frame for one
log)

[1045:545] [2022-07-25 00:32:54 +0000.544356][443f] The input pts:12028 fps:30


[1045:549] [2022-07-25 00:32:54 +0000.548485][443f] h264 add frame header cdr flag
[1045:550] [2022-07-25 00:32:54 +0000.548851][443f] Received key frame:11997
[1045:579] [2022-07-25 00:32:54 +0000.578423][443f] H264Encode::H264SWEncoder get
callback, length:57200 type:1 nalType:1length:57196
[1045:580] [2022-07-25 00:32:54 +0000.579049][4440] get the H.264 IDR frame
[1045:638] [2022-07-25 00:32:54 +0000.637694][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1045:706] [2022-07-25 00:32:54 +0000.704921][443f] Push an pts:12188 to dts queue.
[1045:737] [2022-07-25 00:32:54 +0000.736151][4394] The convert RGB to YUV take 4
[1045:741] [2022-07-25 00:32:54 +0000.740525][443f] last dts:12154 currentPts:12188
ppsOrSPS:0 queue length:2
[1045:948] [2022-07-25 00:32:54 +0000.947802][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1046:136] [2022-07-25 00:32:55 +0000.134998][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1046:226] [2022-07-25 00:32:55 +0000.224866][4438]
RecordAudioSource::PullAudioFrame
[1046:238] [2022-07-25 00:32:55 +0000.236886][4394] The convert RGB to YUV take 3
[1046:275] [2022-07-25 00:32:55 +0000.273991][443f] DTS queue for
Generator:0x6ec2eb2cb8 12722 12757
[1046:428] [2022-07-25 00:32:55 +0000.426946][4438] AF_SpeedFilter audio
0x6f0c4b9880 PullFrame
[1046:631] [2022-07-25 00:32:55 +0000.630692][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1046:712] [2022-07-25 00:32:55 +0000.711778][4438] AF_SpeedFilter::PullFrame eof4
[1046:719] [2022-07-25 00:32:55 +0000.718121][4438]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1046:740] [2022-07-25 00:32:55 +0000.739426][4394] The convert RGB to YUV take 5
[1046:767] [2022-07-25 00:32:55 +0000.766492][4394] drawYUV420 render
OpenGLRenderProgram:0x6f87516e98
[1046:844] [2022-07-25 00:32:55 +0000.843642][443e]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 13281queue_audio_frame_:2
[1046:953] [2022-07-25 00:32:55 +0000.952779][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1047:043] [2022-07-25 00:32:56 +0000.42762][443f] Push an pts:13525 to dts queue.
[1047:048] [2022-07-25 00:32:56 +0000.47411][4398] haveEnoughProcessedData
internalAudioStream.length: 10
[1047:072] [2022-07-25 00:32:56 +0000.71594][443f] last dts:13480 currentPts:13525
ppsOrSPS:0 queue length:2
[1047:097] [2022-07-25 00:32:56 +0000.96356][4394] webrtc common_video plane
old ..... (1/1000) new: 21001 delete: 20978 diff: 23
[1047:105] [2022-07-25 00:32:56 +0000.103967][443f] DTS queue for
Generator:0x6ec2eb2cb8 13551 13586
[1047:132] [2022-07-25 00:32:56 +0000.131280][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1047:239] [2022-07-25 00:32:56 +0000.238170][4394] The convert RGB to YUV take 3
[1047:348] [2022-07-25 00:32:56 +0000.347128][4398] Run AGC when audioType = 0
[1047:348] [2022-07-25 00:32:56 +0000.347281][4398]
AudioDeviceDataHandler::MixAndSendOutFrame
[1047:367] [2022-07-25 00:32:56 +0000.366355][4394]
MediaFilterCamera::NeedProcessTexture
[1047:467] [2022-07-25 00:32:56 +0000.466590][4394] CameraSource::PushExtraFrame
pkt_dts: 13989, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x6f0c4b9280
[1047:468] [2022-07-25 00:32:56 +0000.467224][4394] CropFilter::OnVideoFrame
outputtexture :12
[1047:495] [2022-07-25 00:32:56 +0000.494664][4438] resampled_data_size:3072
[1047:507] [2022-07-25 00:32:56 +0000.506127][4394]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:13990
[1047:541] [2022-07-25 00:32:56 +0000.540512][443f] h264 add frame header cdr flag
[1047:542] [2022-07-25 00:32:56 +0000.541010][443f] Received key frame:13990
[1047:578] [2022-07-25 00:32:56 +0000.576936][4440] get the H.264 IDR frame
[1047:611] [2022-07-25 00:32:56 +0000.610261][443f]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:14094
[1047:635] [2022-07-25 00:32:56 +0000.634637][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1047:675] [2022-07-25 00:32:56 +0000.673876][4438] AF_SpeedFilter audio time 111,
0x6f0c4b9880 out time: 94946047 org time: 94946047
[1047:735] [2022-07-25 00:32:56 +0000.734123][4394] The convert RGB to YUV take 3
[1047:778] [2022-07-25 00:32:56 +0000.777414][4438] AF_SpeedFilter audio time
[1047:799] [2022-07-25 00:32:56 +0000.798665][4394] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[1047:799] [2022-07-25 00:32:56 +0000.798751][4394] GPUImageProcessing: input frame
width1920 X 1080
[1047:800] [2022-07-25 00:32:56 +0000.799326][4394] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[1047:800] [2022-07-25 00:32:56 +0000.799424][4394] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[1047:907] [2022-07-25 00:32:56 +0000.906485][443f] DTS queue for
Generator:0x6ec2eb2cb8 14386
[1047:956] [2022-07-25 00:32:56 +0000.955685][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1048:009] [2022-07-25 00:32:57 +0000.7921][4438] AF_SpeedFilter audio 0x6f0c4b9880
PullFrame
[1048:064] [2022-07-25 00:32:57 +0000.63125][4438]
RecordAudioSource::PullAudioFrame
[1048:133] [2022-07-25 00:32:57 +0000.132609][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1048:235] [2022-07-25 00:32:57 +0000.234366][4394] The convert RGB to YUV take 2
[1048:375] [2022-07-25 00:32:57 +0000.374460][443f] Push an pts:14856 to dts queue.
[1048:409] [2022-07-25 00:32:57 +0000.407859][443f] SendFrame
encodedImage._timeStamp:14856encodedImage->_length:54560
[1048:409] [2022-07-25 00:32:57 +0000.407984][443f] last dts:14820 currentPts:14856
ppsOrSPS:0 queue length:2
[1048:608] [2022-07-25 00:32:57 +0000.606958][443f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:15056 pts:15056
[1048:637] [2022-07-25 00:32:57 +0000.636600][4394] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1048:701] [2022-07-25 00:32:57 +0000.700147][4394] StopRecording:
[1048:702] [2022-07-25 00:32:57 +0000.700860][4394] OnNeedStopRecording:
[1048:706] [2022-07-25 00:32:57 +0000.705219][4438] PullAudioFrame: PullFrame audio
finished.
[1048:706] [2022-07-25 00:32:57 +0000.705366][4438]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[1048:708] [2022-07-25 00:32:57 +0000.707528][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[1048:708] [2022-07-25 00:32:57 +0000.707780][4394] operator(): Stop
[1048:709] [2022-07-25 00:32:57 +0000.707836][4394] StopPullFrameAndWriteMp4
time:94947146 enter.

[1048:709] [2022-07-25 00:32:57 +0000.707884][4394] StopRecording:


[1048:712] [2022-07-25 00:32:57 +0000.710819][443f]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:456
[1048:713] [2022-07-25 00:32:57 +0000.711913][4393] stop recording
[1048:713] [2022-07-25 00:32:57 +0000.711991][4393]
RecordingSessionInternalSimple:destroy media processers
[1048:713] [2022-07-25 00:32:57 +0000.712045][4393] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[1048:713] [2022-07-25 00:32:57 +0000.712093][4393] H264Encode::flushing hareware
Encoder
[1048:713] [2022-07-25 00:32:57 +0000.712291][4393] Flush time:94947150 enter.

[1048:713] [2022-07-25 00:32:57 +0000.712397][4393] H264Encoder encoder flush


[1048:713] [2022-07-25 00:32:57 +0000.712451][4393] flush output queue
[1048:767] [2022-07-25 00:32:57 +0000.766149][4398] haveEnoughProcessedData
internalAudioStream.length: 20
[1048:956] [2022-07-25 00:32:57 +0000.955211][4439] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1049:042] [2022-07-25 00:32:58 +0000.40898][4393] Flush leave. expire time = 329
ms

[1049:042] [2022-07-25 00:32:58 +0000.41195][4393] ~H264EncodeWrap:


[1049:042] [2022-07-25 00:32:58 +0000.41246][4393] ~H264Encode:
[1049:042] [2022-07-25 00:32:58 +0000.41280][4393] teardownCompressionSession:
H264Encode::destroying Encoder
[1049:042] [2022-07-25 00:32:58 +0000.41315][4393] Release time:94947479 enter.

[1049:042] [2022-07-25 00:32:58 +0000.41547][4393] Release:


MediaCodecVideoEncoder::Release _inited:1
[1049:042] [2022-07-25 00:32:58 +0000.41595][4393] Destroy time:94947479 enter.

[1049:042] [2022-07-25 00:32:58 +0000.41630][4393] H264Encoder encoderDestroy


[1049:042] [2022-07-25 00:32:58 +0000.41664][4393]
AndroidMediaCodecVideoEncoder::release env: 0x6ea6d86b00
[1049:042] [2022-07-25 00:32:58 +0000.41699][4393]
AndroidMediaCodecVideoEncoder::Destroy
[1049:085] [2022-07-25 00:32:58 +0000.84017][4393] Destroy leave. expire time = 43
ms

[1049:085] [2022-07-25 00:32:58 +0000.84422][4393] Release leave. expire time = 43


ms

[1049:085] [2022-07-25 00:32:58 +0000.84493][4393] ~AndroidHwAvcEncoder


time:94947522 enter.

[1049:085] [2022-07-25 00:32:58 +0000.84724][4393] Release time:94947522 enter.

[1049:086] [2022-07-25 00:32:58 +0000.84802][4393] Release:


MediaCodecVideoEncoder:: has been released before, just return
[1049:086] [2022-07-25 00:32:58 +0000.84841][4393] Release leave. expire time = 1
ms

[1049:086] [2022-07-25 00:32:58 +0000.84876][4393] ~AndroidMediaCodecVideoEncoder


[1049:086] [2022-07-25 00:32:58 +0000.84908][4393] ~WrapAndroidMediaCodec
time:94947523 enter.

[1049:086] [2022-07-25 00:32:58 +0000.85040][4393] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[1049:086] [2022-07-25 00:32:58 +0000.85087][4393] video hevc hw codec


destructor:0x6eb1c07f50

[1049:086] [2022-07-25 00:32:58 +0000.85201][4393] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[1049:086] [2022-07-25 00:32:58 +0000.85325][4393] teardownCompressionSession:


H264Encode::destroyed Encoder
[1049:086] [2022-07-25 00:32:58 +0000.85405][4393]
RecordingSessionInternalSimple:destroy aac encoder output!
[1049:086] [2022-07-25 00:32:58 +0000.85444][4393] AACSWEncode destructor
[1049:103] [2022-07-25 00:32:58 +0000.101984][4440] MP4 close file successfully
[1049:103] [2022-07-25 00:32:58 +0000.102076][4440] Recording session Internal:
notify recording ok
[1049:103] [2022-07-25 00:32:58 +0000.102119][4440] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4,
output_video_timestamp_:15185 last_video_pts_:15155
[1049:103] [2022-07-25 00:32:58 +0000.102185][4440] OnRecordFinish:
[1049:103] [2022-07-25 00:32:58 +0000.102676][4440] onRecordingOk: net seek
pos:0record video duration:15188record audio duration:15162
[1049:104] [2022-07-25 00:32:58 +0000.103267][4439] destructMicSource_w:
[1049:104] [2022-07-25 00:32:58 +0000.103317][4439] setOutput_w:
MicSource::setOutput() 0x0
[1049:106] [2022-07-25 00:32:58 +0000.104829][4394] releaseThread 0x6f0c4b8980
[1049:106] [2022-07-25 00:32:58 +0000.104874][4394] ~MicSource: Mic source
destroyed:0x6f87542880
[1049:107] [2022-07-25 00:32:58 +0000.105918][4394] StopPullFrameAndWriteMp4
leave. expire time = 398 ms

[1049:107] [2022-07-25 00:32:58 +0000.105966][4394] DestroyPipelineAndFilters


time:94947544 enter.

[1049:107] [2022-07-25 00:32:58 +0000.106013][4394] UnbindInputFilter 0x6f0c4b93c0


this 0x6f875170c0
[1049:107] [2022-07-25 00:32:58 +0000.106059][4394] UnbindInputFilter 0x6f0c4b9558
this 0x6f0c4b99d0
[1049:107] [2022-07-25 00:32:58 +0000.106106][4394] UnbindInputFilter 0x6f875170c0
this 0x6f875c5ae0
[1049:107] [2022-07-25 00:32:58 +0000.106148][4394] filter: filter pipeline destroy
this: 0x6f875c5a40
[1049:107] [2022-07-25 00:32:58 +0000.106334][4394] ClearVideoOfSources: recodring
total frames:0
[1049:107] [2022-07-25 00:32:58 +0000.106382][4394] ClearVideoOfSources:
[1049:107] [2022-07-25 00:32:58 +0000.106427][4394] GPUImageProcessing destruct.
[1049:107] [2022-07-25 00:32:58 +0000.106507][4394] destroy TrivalImageDrawer
0x6f0c3d9480
[1049:107] [2022-07-25 00:32:58 +0000.106544][4394] The shader has been initialize,
clean up them.

[1049:107] [2022-07-25 00:32:58 +0000.106607][4394] ~OpenGLFrameBuffer:


[1049:109] [2022-07-25 00:32:58 +0000.108365][4394] ~OpenGLFrameBuffer:
[1049:109] [2022-07-25 00:32:58 +0000.108452][4394] ~OpenGLFrameBuffer:
[1049:109] [2022-07-25 00:32:58 +0000.108528][4394] ~OpenGLFrameBuffer:
[1049:109] [2022-07-25 00:32:58 +0000.108604][4394] ~OpenGLFrameBuffer:
[1049:109] [2022-07-25 00:32:58 +0000.108686][4394] ~OpenGLFrameBuffer:
[1049:110] [2022-07-25 00:32:58 +0000.108887][4394] GPUImageProcessing destruct
finish.
[1049:110] [2022-07-25 00:32:58 +0000.108941][4394] GPURGBAFrame destruct.
[1049:110] [2022-07-25 00:32:58 +0000.109098][4394] destroy OpenGLRenderProgram
0x6f87516e98
[1049:110] [2022-07-25 00:32:58 +0000.109133][4394] ~CameraSource time:94947547
enter.

[1049:110] [2022-07-25 00:32:58 +0000.109161][4394] ~CameraSource leave. expire


time = 0 ms

[1049:110] [2022-07-25 00:32:58 +0000.109194][4394] ~RecordAudioSource


time:94947547 enter.

[1049:110] [2022-07-25 00:32:58 +0000.109219][4394] ~RecordAudioSource leave.


expire time = 0 ms

[1049:110] [2022-07-25 00:32:58 +0000.109246][4394] DestroyPipelineAndFilters


leave. expire time = 3 ms

[1049:131] [2022-07-25 00:32:58 +0000.129880][ebb]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[1049:131] [2022-07-25 00:32:58 +0000.130757][ebb] machine model :poco
[1049:132] [2022-07-25 00:32:58 +0000.130806][ebb] Support this machine model :poco
[1049:132] [2022-07-25 00:32:58 +0000.130901][ebb] global inited! current sdk
version: 07-20-936c45f
[1049:132] [2022-07-25 00:32:58 +0000.131119][ebb] filter: filter pipeline
construtc this: 0x6ea6cfbd80
[1049:132] [2022-07-25 00:32:58 +0000.131156][ebb] MediaFilterGraph:
MediaFilterGraph construct
[1049:132] [2022-07-25 00:32:58 +0000.131184][ebb] GLESContext:
[1049:132] [2022-07-25 00:32:58 +0000.131239][ebb] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[1049:133] [2022-07-25 00:32:58 +0000.132247][ebb] The result of creation:
0x6eb1b97900
[1049:133] [2022-07-25 00:32:58 +0000.132365][ebb] The result of
eglCreatePbufferSurface is: 0x6eb1bcd300
[1049:133] [2022-07-25 00:32:58 +0000.132499][ebb] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4
[1049:133] [2022-07-25 00:32:58 +0000.132543][ebb] The source 0 speed:1
[1049:133] [2022-07-25 00:32:58 +0000.132580][ebb] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4,
delay: 0
[1049:133] [2022-07-25 00:32:58 +0000.132618][ebb] CreateDecoderByVideoSource
time:94947570 enter.
[1049:134] [2022-07-25 00:32:58 +0000.133100][ebb] running_decoder_count:0max
count:2
[1049:134] [2022-07-25 00:32:58 +0000.133144][ebb] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x6ec2efcc00
[1049:139] [2022-07-25 00:32:58 +0000.138170][4490] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6f8756da00] Current FFmpeg version git-2021-06-16-
97cea6f

[1049:270] [2022-07-25 00:32:58 +0000.269486][4490] OnStreamInfoFound: video


duration_: 15188
[1049:271] [2022-07-25 00:32:58 +0000.270521][ebb] start decoder
[1049:271] [2022-07-25 00:32:58 +0000.270597][ebb] CreateDecoderByVideoSource
leave. expire time = 138 ms

[1049:271] [2022-07-25 00:32:58 +0000.270664][ebb] BindInputFilter 0x6e80a96720


this 0x6ea71eba18
[1049:271] [2022-07-25 00:32:58 +0000.270724][ebb] BindInputFilter 0x6ea71eba18
this 0x6ea71ebad8
[1049:271] [2022-07-25 00:32:58 +0000.270770][ebb] BindInputFilter 0x6e80a96720
this 0x6ea71ebb98
[1049:272] [2022-07-25 00:32:58 +0000.270829][ebb] BindInputFilter 0x6ea71ebb98
this 0x6ea71ebf58
[1049:272] [2022-07-25 00:32:58 +0000.270867][ebb] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4
[1049:272] [2022-07-25 00:32:58 +0000.270920][ebb] BindInputFilter 0x6ea71ebad8
this 0x6ea71ec018
[1049:272] [2022-07-25 00:32:58 +0000.270974][ebb] BindInputFilter 0x6ea71ec018
this 0x6ea6cfbe20
[1049:272] [2022-07-25 00:32:58 +0000.271029][ebb] BindInputFilter 0x6ea71ebf58
this 0x6ea71ec0d8
[1049:272] [2022-07-25 00:32:58 +0000.271082][ebb] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4
[1049:272] [2022-07-25 00:32:58 +0000.271186][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[1049:272] [2022-07-25 00:32:58 +0000.271709][ebb] machine model :poco
[1049:272] [2022-07-25 00:32:58 +0000.271767][ebb] Support this machine model :poco
[1049:273] [2022-07-25 00:32:58 +0000.271803][ebb] global inited! current sdk
version: 07-20-936c45f
[1049:273] [2022-07-25 00:32:58 +0000.271909][ebb] GetPipeline:
-----------------------------------------
[1049:273] [2022-07-25 00:32:58 +0000.271953][ebb] GetPipeline: source:
0x6e80a96500
[1049:273] [2022-07-25 00:32:58 +0000.271996][ebb] GetPipeline: filter: NULLFilter
[1049:273] [2022-07-25 00:32:58 +0000.272037][ebb] GetPipeline: filter: NULLFilter
[1049:273] [2022-07-25 00:32:58 +0000.272077][ebb] GetPipeline: filter: NULLFilter
[1049:273] [2022-07-25 00:32:58 +0000.272120][ebb] GetPipeline: audio filter:
AuidoNULLFilter
[1049:273] [2022-07-25 00:32:58 +0000.272162][ebb] GetPipeline: audio filter:
AuidoNULLFilter
[1049:273] [2022-07-25 00:32:58 +0000.272205][ebb] GetPipeline: audio filter:
AudioNUllFilter
[1049:273] [2022-07-25 00:32:58 +0000.272254][ebb] GetPipeline:
------------------------------------------
[1049:273] [2022-07-25 00:32:58 +0000.272334][ebb] filter: filter pipeline2 update
pattern: 0
[1049:274] [2022-07-25 00:32:58 +0000.273201][4491] NO get frame from decoder
[1049:274] [2022-07-25 00:32:58 +0000.273514][ebb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[1049:275] [2022-07-25 00:32:58 +0000.274023][ebb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[1049:275] [2022-07-25 00:32:58 +0000.274136][ebb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[1049:275] [2022-07-25 00:32:58 +0000.274413][ebb] DeviceInit:
[1049:275] [2022-07-25 00:32:58 +0000.274665][ebb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1049:276] [2022-07-25 00:32:58 +0000.274999][ebb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1049:276] [2022-07-25 00:32:58 +0000.275266][ebb] CreatePlatformSpecificObjects:
[1049:276] [2022-07-25 00:32:58 +0000.275330][ebb] audio device use null audio
input and opensl output
[1049:276] [2022-07-25 00:32:58 +0000.275406][ebb] Create OpenSLES output module
with java VM support.

[1049:276] [2022-07-25 00:32:58 +0000.275535][ebb] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1049:276] [2022-07-25 00:32:58 +0000.275664][4491] NO get frame from decoder
[1049:276] [2022-07-25 00:32:58 +0000.275743][ebb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1049:277] [2022-07-25 00:32:58 +0000.275989][ebb] Create OpenSLES output module
with buffer num:2

[1049:277] [2022-07-25 00:32:58 +0000.276064][ebb] Error(trace.cc:40): Init the


output and input for audio device template.
[1049:277] [2022-07-25 00:32:58 +0000.276115][ebb] Init the output device.

[1049:277] [2022-07-25 00:32:58 +0000.276157][ebb] Set the playout as stereo:1


[1049:277] [2022-07-25 00:32:58 +0000.276220][ebb] Set the sample rate to be:44100

[1049:277] [2022-07-25 00:32:58 +0000.276292][ebb] Low latency buffer size:144 low


sample rate:48000
[1049:277] [2022-07-25 00:32:58 +0000.276339][ebb] DeviceInit: Done
[1049:277] [2022-07-25 00:32:58 +0000.276486][ebb] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[1049:278] [2022-07-25 00:32:58 +0000.277188][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[1049:278] [2022-07-25 00:32:58 +0000.277300][ebb]
MediaFilterPlayer::SetPlayerNotify 0x6ea6f62ba0
[1049:278] [2022-07-25 00:32:58 +0000.277375][ebb]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[1049:278] [2022-07-25 00:32:58 +0000.277426][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[1049:278] [2022-07-25 00:32:58 +0000.277480][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[1049:278] [2022-07-25 00:32:58 +0000.277621][ebb] SetGraphLoop: SetGraphLoop 1
[1049:278] [2022-07-25 00:32:58 +0000.277667][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[1049:278] [2022-07-25 00:32:58 +0000.277729][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[1049:279] [2022-07-25 00:32:58 +0000.278297][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[1049:279] [2022-07-25 00:32:58 +0000.278707][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[1049:280] [2022-07-25 00:32:58 +0000.278906][449e] Start:
[1049:280] [2022-07-25 00:32:58 +0000.279192][449d] operator(): video render
started.
[1049:280] [2022-07-25 00:32:58 +0000.279329][449e] Start:
[1049:280] [2022-07-25 00:32:58 +0000.279595][449e] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[1049:280] [2022-07-25 00:32:58 +0000.279670][449e] Reset: history total size: 98
[1049:280] [2022-07-25 00:32:58 +0000.279716][449e] DeviceStart:
audioDevice_:0x6ea6b49000
[1049:280] [2022-07-25 00:32:58 +0000.279753][449e] DeviceStart: time profile
playout init before
[1049:281] [2022-07-25 00:32:58 +0000.279857][449e] DeviceStart: time profile
playout init end
[1049:281] [2022-07-25 00:32:58 +0000.280791][449e] OpenSlesOutput:Start playout

[1049:281] [2022-07-25 00:32:58 +0000.280652][4491] NO get frame from decoder


[1049:277] [2022-07-25 00:32:58 +0000.276484][449c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e8074ba18
[1049:282] [2022-07-25 00:32:58 +0000.281681][449e] Create the opensl output
player. streamtype before:0

[1049:282] [2022-07-25 00:32:58 +0000.281765][449e] Create the opensl output


player. streamtype after:3

[1049:291] [2022-07-25 00:32:58 +0000.290109][4491] NO get frame from decoder


[1049:295] [2022-07-25 00:32:58 +0000.294052][4491] NO get frame from decoder
[1049:298] [2022-07-25 00:32:58 +0000.296974][4491] NO get frame from decoder
[1049:303] [2022-07-25 00:32:58 +0000.302523][4491] NO get frame from decoder
[1049:305] [2022-07-25 00:32:58 +0000.304720][4491] NO get frame from decoder
[1049:320] [2022-07-25 00:32:58 +0000.319653][449e] Enqueue opensl buffer size:1764
[1049:347] [2022-07-25 00:32:58 +0000.346111][4398] Run AGC when audioType = 0
[1049:350] [2022-07-25 00:32:58 +0000.349256][449e] DeviceStart: time profile
playout all end
[1049:350] [2022-07-25 00:32:58 +0000.349315][449e] operator(): Audio playback
started.
[1049:350] [2022-07-25 00:32:58 +0000.349380][449e] operator(): Started now!
[1049:350] [2022-07-25 00:32:58 +0000.349634][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:351] [2022-07-25 00:32:58 +0000.349903][44a0] Pull audio failed.(wait video!)
[1049:351] [2022-07-25 00:32:58 +0000.350326][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:351] [2022-07-25 00:32:58 +0000.350548][44a0] Pull audio failed.(wait video!)
[1049:352] [2022-07-25 00:32:58 +0000.350968][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:352] [2022-07-25 00:32:58 +0000.351180][44a0] Pull audio failed.(wait video!)
[1049:352] [2022-07-25 00:32:58 +0000.351606][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:353] [2022-07-25 00:32:58 +0000.351815][44a0] Pull audio failed.(wait video!)
[1049:354] [2022-07-25 00:32:58 +0000.353456][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:354] [2022-07-25 00:32:58 +0000.353688][44a0] Pull audio failed.(wait video!)
[1049:355] [2022-07-25 00:32:58 +0000.354143][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:355] [2022-07-25 00:32:58 +0000.354356][44a0] Pull audio failed.(wait video!)
[1049:355] [2022-07-25 00:32:58 +0000.354787][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:356] [2022-07-25 00:32:58 +0000.354994][44a0] Pull audio failed.(wait video!)
[1049:356] [2022-07-25 00:32:58 +0000.355433][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:356] [2022-07-25 00:32:58 +0000.355676][44a0] Pull audio failed.(wait video!)
[1049:357] [2022-07-25 00:32:58 +0000.356132][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:357] [2022-07-25 00:32:58 +0000.356368][44a0] Pull audio failed.(wait video!)
[1049:358] [2022-07-25 00:32:58 +0000.356839][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:358] [2022-07-25 00:32:58 +0000.357048][44a0] Pull audio failed.(wait video!)
[1049:358] [2022-07-25 00:32:58 +0000.357491][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:358] [2022-07-25 00:32:58 +0000.357701][44a0] Pull audio failed.(wait video!)
[1049:361] [2022-07-25 00:32:58 +0000.360112][44a0] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[1049:361] [2022-07-25 00:32:58 +0000.360287][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:364] [2022-07-25 00:32:58 +0000.363614][44a0] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[1049:365] [2022-07-25 00:32:58 +0000.363833][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:365] [2022-07-25 00:32:58 +0000.364465][44a0] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[1049:365] [2022-07-25 00:32:58 +0000.364645][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:366] [2022-07-25 00:32:58 +0000.365173][44a0] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[1049:366] [2022-07-25 00:32:58 +0000.365304][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:367] [2022-07-25 00:32:58 +0000.365851][44a0] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[1049:367] [2022-07-25 00:32:58 +0000.365985][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:367] [2022-07-25 00:32:58 +0000.366614][44a0] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[1049:367] [2022-07-25 00:32:58 +0000.366758][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:368] [2022-07-25 00:32:58 +0000.367279][44a0] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[1049:368] [2022-07-25 00:32:58 +0000.367488][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:369] [2022-07-25 00:32:58 +0000.368120][44a0] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[1049:369] [2022-07-25 00:32:58 +0000.368268][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:369] [2022-07-25 00:32:58 +0000.368779][44a0] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[1049:370] [2022-07-25 00:32:58 +0000.368917][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:370] [2022-07-25 00:32:58 +0000.369421][44a0] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[1049:370] [2022-07-25 00:32:58 +0000.369616][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:371] [2022-07-25 00:32:58 +0000.370188][44a0] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[1049:371] [2022-07-25 00:32:58 +0000.370323][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:372] [2022-07-25 00:32:58 +0000.370881][44a0] audio frame wait video
frame.last_video_timestamp:37 last_audio_timestamp:138.957
[1049:372] [2022-07-25 00:32:58 +0000.371023][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:372] [2022-07-25 00:32:58 +0000.371529][44a0] audio frame wait video
frame.last_video_timestamp:37 last_audio_timestamp:138.957
[1049:372] [2022-07-25 00:32:58 +0000.371693][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:373] [2022-07-25 00:32:58 +0000.372209][44a0] audio frame wait video
frame.last_video_timestamp:37 last_audio_timestamp:138.957
[1049:373] [2022-07-25 00:32:58 +0000.372347][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:374] [2022-07-25 00:32:58 +0000.372866][44a0] audio frame wait video
frame.last_video_timestamp:37 last_audio_timestamp:138.957
[1049:374] [2022-07-25 00:32:58 +0000.373007][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:374] [2022-07-25 00:32:58 +0000.373516][44a0] audio frame wait video
frame.last_video_timestamp:37 last_audio_timestamp:138.957
[1049:374] [2022-07-25 00:32:58 +0000.373652][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:375] [2022-07-25 00:32:58 +0000.374278][44a0] audio frame wait video
frame.last_video_timestamp:37 last_audio_timestamp:138.957
[1049:375] [2022-07-25 00:32:58 +0000.374416][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:376] [2022-07-25 00:32:58 +0000.374920][44a0] audio frame wait video
frame.last_video_timestamp:37 last_audio_timestamp:138.957
[1049:376] [2022-07-25 00:32:58 +0000.375106][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:376] [2022-07-25 00:32:58 +0000.375666][44a0] audio frame wait video
frame.last_video_timestamp:37 last_audio_timestamp:138.957
[1049:377] [2022-07-25 00:32:58 +0000.375874][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:377] [2022-07-25 00:32:58 +0000.376395][44a0] audio frame wait video
frame.last_video_timestamp:67 last_audio_timestamp:184.943
[1049:377] [2022-07-25 00:32:58 +0000.376538][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:378] [2022-07-25 00:32:58 +0000.377066][44a0] audio frame wait video
frame.last_video_timestamp:67 last_audio_timestamp:184.943
[1049:378] [2022-07-25 00:32:58 +0000.377215][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:378] [2022-07-25 00:32:58 +0000.377747][44a0] audio frame wait video
frame.last_video_timestamp:67 last_audio_timestamp:184.943
[1049:379] [2022-07-25 00:32:58 +0000.377922][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:379] [2022-07-25 00:32:58 +0000.378670][44a0] audio frame wait video
frame.last_video_timestamp:67 last_audio_timestamp:184.943
[1049:380] [2022-07-25 00:32:58 +0000.379265][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:380] [2022-07-25 00:32:58 +0000.379786][44a0] audio frame wait video
frame.last_video_timestamp:67 last_audio_timestamp:184.943
[1049:381] [2022-07-25 00:32:58 +0000.379944][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:381] [2022-07-25 00:32:58 +0000.380464][44a0] audio frame wait video
frame.last_video_timestamp:67 last_audio_timestamp:184.943
[1049:381] [2022-07-25 00:32:58 +0000.380604][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:382] [2022-07-25 00:32:58 +0000.381186][44a0] audio frame wait video
frame.last_video_timestamp:103 last_audio_timestamp:207.937
[1049:382] [2022-07-25 00:32:58 +0000.381343][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:383] [2022-07-25 00:32:58 +0000.381912][44a0] audio frame wait video
frame.last_video_timestamp:103 last_audio_timestamp:207.937
[1049:383] [2022-07-25 00:32:58 +0000.382080][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:383] [2022-07-25 00:32:58 +0000.382635][44a0] audio frame wait video
frame.last_video_timestamp:103 last_audio_timestamp:207.937
[1049:383] [2022-07-25 00:32:58 +0000.382788][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:384] [2022-07-25 00:32:58 +0000.383307][44a0] audio frame wait video
frame.last_video_timestamp:103 last_audio_timestamp:207.937
[1049:384] [2022-07-25 00:32:58 +0000.383454][44a0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1049:385] [2022-07-25 00:32:58 +0000.383906][449e] Create the audio converter
44100 Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[1049:385] [2022-07-25 00:32:58 +0000.384017][449e] First audio frame rendering
[1049:386] [2022-07-25 00:32:58 +0000.385717][449d] lipsync_debug: First video
frame rendering.
[1049:434] [2022-07-25 00:32:58 +0000.433608][449d]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:30 timeDelta:30 last
video ts:3330 frame->pts:6030 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[1049:434] [2022-07-25 00:32:58 +0000.433666][449d] lipsync_debug: tsDelta -
timeDelta = 0
[1049:471] [2022-07-25 00:32:58 +0000.470770][44a3] video frame wait audio frame:
last_video_timestamp:329 last_audio_timestamp:207.937
[1049:481] [2022-07-25 00:32:58 +0000.480657][44a3] Error(video_source.cc:430):
wait decoder a frame: 0
[1049:516] [2022-07-25 00:32:58 +0000.515182][44a0] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 15342
[1049:516] [2022-07-25 00:32:58 +0000.515259][44a0] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[1049:665] [2022-07-25 00:32:58 +0000.664341][44a4]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[1049:675] [2022-07-25 00:32:58 +0000.674108][449e] The audio playback speed:100
(1/100)
[1049:675] [2022-07-25 00:32:58 +0000.674177][449e] lipsync_debug: The current
played audio timestamp is:19442(1/50)
[1049:775] [2022-07-25 00:32:58 +0000.774371][449d] lipsync_debug:displaying video
ts:36450 The current displayed video timestamp is:94948212
[1049:916] [2022-07-25 00:32:58 +0000.915579][449d] lipsync_debug:remaining time:10
tsDelta - timeDelta:19
[1049:916] [2022-07-25 00:32:58 +0000.915679][449d] lipsync_debug:result remaining
time:10
[1050:001] [2022-07-25 00:32:59 +0000.659][44a3] webrtc common_video plane
old ..... (1/1000) new: 22001 delete: 21994 diff: 7
[1050:155] [2022-07-25 00:32:59 +0000.154215][44a3] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 99270pts ms:1.103e+06
[1050:162] [2022-07-25 00:32:59 +0000.161376][44a3] OnVideoFrameReady(1/200)
[1050:162] [2022-07-25 00:32:59 +0000.161767][449d] operator() frame->pts-
9223372036854775808 queue_ size: 10 (1/200)
[1050:492] [2022-07-25 00:32:59 +0000.491597][449d] lipsync_debug:displaying video
ts:96480 The current displayed video timestamp is:94948929
[1050:494] [2022-07-25 00:32:59 +0000.493066][4398] haveEnoughProcessedData
internalAudioStream.length: 0
[1050:632] [2022-07-25 00:32:59 +0000.631024][44a4]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[1050:777] [2022-07-25 00:32:59 +0000.776396][449d] DriveRender working... (1/200)
[1050:871] [2022-07-25 00:32:59 +0000.870552][44a3] Error(video_source.cc:430):
wait decoder a frame: 0
[1051:038] [2022-07-25 00:33:00 +0000.37626][449d]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:34 timeDelta:13 last
video ts:137700 frame->pts:140760 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[1051:038] [2022-07-25 00:33:00 +0000.37724][449d] lipsync_debug: tsDelta -
timeDelta = 21
[1051:233] [2022-07-25 00:33:00 +0000.232060][449d] lipsync_debug:displaying video
ts:155700 The current displayed video timestamp is:94949670
[1051:238] [2022-07-25 00:33:00 +0000.237122][449d] lipsync_debug: render a video
frame
[1051:322] [2022-07-25 00:33:00 +0000.320811][449d] lipsync_debug:result remaining
time:0
[1051:322] [2022-07-25 00:33:00 +0000.320888][449d] dynamic updated lipsync delay:0
[1051:349] [2022-07-25 00:33:00 +0000.348551][4398] Run AGC when audioType = 0
[1051:349] [2022-07-25 00:33:00 +0000.348692][4398]
AudioDeviceDataHandler::MixAndSendOutFrame
[1051:668] [2022-07-25 00:33:00 +0000.667095][44a4]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[1051:836] [2022-07-25 00:33:00 +0000.834832][44a0] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 117710
[1051:836] [2022-07-25 00:33:00 +0000.834930][44a0] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[1051:885] [2022-07-25 00:33:00 +0000.884765][449d] lipsync_debug:displaying video
ts:216000 The current displayed video timestamp is:94950322
[1052:055] [2022-07-25 00:33:01 +0000.53894][449d] lipsync_debug:remaining time:10
tsDelta - timeDelta:33
[1052:055] [2022-07-25 00:33:01 +0000.54030][449d] lipsync_debug:result remaining
time:10
[1052:079] [2022-07-25 00:33:01 +0000.78568][449e] The audio playback speed:100
(1/100)
[1052:080] [2022-07-25 00:33:01 +0000.78821][449e] lipsync_debug: The current
played audio timestamp is:121810(1/50)
[1052:182] [2022-07-25 00:33:01 +0000.180999][44a3] Error(video_source.cc:430):
wait decoder a frame: 0
[1052:226] [2022-07-25 00:33:01 +0000.224806][4398] haveEnoughProcessedData
internalAudioStream.length: 10
[1052:413] [2022-07-25 00:33:01 +0000.412290][449d] DriveRender working... (1/200)
[1052:528] [2022-07-25 00:33:01 +0000.526944][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[1052:529] [2022-07-25 00:33:01 +0000.528276][449e] Stop:
[1052:529] [2022-07-25 00:33:01 +0000.528502][449d] operator(): Video Render
stopped.
[1052:529] [2022-07-25 00:33:01 +0000.528709][449e] Stop:
[1052:530] [2022-07-25 00:33:01 +0000.529004][449e] DeviceStop:
audioDevice_:0x6ea6b49000
[1052:530] [2022-07-25 00:33:01 +0000.529180][449e] OpenSlesOutput:Stop playout

[1052:534] [2022-07-25 00:33:01 +0000.533577][449e] DeviceStop: Done


[1052:536] [2022-07-25 00:33:01 +0000.535572][449e] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[1052:536] [2022-07-25 00:33:01 +0000.535674][449e] operator(): Stop now!
[1052:588] [2022-07-25 00:33:01 +0000.587264][ebb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[1052:588] [2022-07-25 00:33:01 +0000.587407][ebb] StopPreView: Have Stopped,
operation cancel
[1052:588] [2022-07-25 00:33:01 +0000.587451][ebb] Stop:
[1052:589] [2022-07-25 00:33:01 +0000.587994][449e] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[1052:590] [2022-07-25 00:33:01 +0000.589495][ebb] DeviceRelease:
audioDevice_:0x6ea6b49000
[1052:590] [2022-07-25 00:33:01 +0000.589553][ebb] OpenSlesOutput:Stop playout
[1052:590] [2022-07-25 00:33:01 +0000.589761][ebb] DeviceRelease: Release the
webrtc device object.
[1052:591] [2022-07-25 00:33:01 +0000.590440][ebb] OpenSlesOutput destruct.

[1052:591] [2022-07-25 00:33:01 +0000.590531][ebb] DeviceRelease: Done


[1052:591] [2022-07-25 00:33:01 +0000.590645][ebb] Stop:
[1052:591] [2022-07-25 00:33:01 +0000.590747][449d] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[1052:596] [2022-07-25 00:33:01 +0000.595585][ebb] global uninited!
[1052:596] [2022-07-25 00:33:01 +0000.595707][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[1052:597] [2022-07-25 00:33:01 +0000.595810][ebb] ~MediaFilterGraph:
MediaFilterGraph destruct
[1052:597] [2022-07-25 00:33:01 +0000.595848][ebb] RemoveVideoBackGroud: hava not
add video backgroud
[1052:597] [2022-07-25 00:33:01 +0000.595904][ebb] UnbindInputFilter 0x6ea71ec018
this 0x6ea6cfbe20
[1052:597] [2022-07-25 00:33:01 +0000.595950][ebb] ClearAllSource: remove source
filter, sourceid: 0x6e80a96500
[1052:597] [2022-07-25 00:33:01 +0000.595982][ebb] DestoryDecoderByVideoSource
time:94951034 enter.

[1052:597] [2022-07-25 00:33:01 +0000.596016][ebb] ~VideoBindDecoder time:94951034


enter.

[1052:597] [2022-07-25 00:33:01 +0000.596239][ebb] CleanUp time:94951034 enter.

[1052:609] [2022-07-25 00:33:01 +0000.608215][ebb] CleanUp leave. expire time = 12


ms

[1052:609] [2022-07-25 00:33:01 +0000.608333][ebb] CleanUp time:94951046 enter.

[1052:610] [2022-07-25 00:33:01 +0000.609284][ebb] CleanUp leave. expire time = 1


ms

[1052:612] [2022-07-25 00:33:01 +0000.610804][ebb] ~VideoBindDecoder leave. expire


time = 15 ms

[1052:612] [2022-07-25 00:33:01 +0000.610845][ebb] DestoryDecoderByVideoSource


leave. expire time = 15 ms

[1052:612] [2022-07-25 00:33:01 +0000.610925][ebb] UnbindInputFilter 0x6ea71ebad8


this 0x6ea71ec018
[1052:612] [2022-07-25 00:33:01 +0000.610969][ebb] UnbindInputFilter 0x6ea71eba18
this 0x6ea71ebad8
[1052:612] [2022-07-25 00:33:01 +0000.611012][ebb] UnbindInputFilter 0x6e80a96720
this 0x6ea71eba18
[1052:612] [2022-07-25 00:33:01 +0000.611053][ebb] UnbindInputFilter 0x6ea71ebf58
this 0x6ea71ec0d8
[1052:612] [2022-07-25 00:33:01 +0000.611091][ebb] UnbindInputFilter 0x6ea71ebb98
this 0x6ea71ebf58
[1052:612] [2022-07-25 00:33:01 +0000.611130][ebb] UnbindInputFilter 0x6e80a96720
this 0x6ea71ebb98
[1052:616] [2022-07-25 00:33:01 +0000.615551][ebb] ~GLESContext:
[1052:620] [2022-07-25 00:33:01 +0000.619710][ebb] GLESContext destruct finish.
[1052:620] [2022-07-25 00:33:01 +0000.619776][ebb] filter: filter pipeline destroy
this: 0x6ea6cfbd80
[1052:622] [2022-07-25 00:33:01 +0000.620896][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[1052:622] [2022-07-25 00:33:01 +0000.621337][ebb] machine model :poco
[1052:622] [2022-07-25 00:33:01 +0000.621364][ebb] Support this machine model :poco
[1052:622] [2022-07-25 00:33:01 +0000.621389][ebb] global inited! current sdk
version: 07-20-936c45f
[1052:622] [2022-07-25 00:33:01 +0000.621533][ebb] filter: filter pipeline
construtc this: 0x6ea6cfbd80
[1052:622] [2022-07-25 00:33:01 +0000.621596][ebb] MediaFilterGraph:
MediaFilterGraph construct
[1052:622] [2022-07-25 00:33:01 +0000.621619][ebb] GLESContext:
[1052:622] [2022-07-25 00:33:01 +0000.621659][ebb] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[1052:624] [2022-07-25 00:33:01 +0000.623290][ebb] The result of creation:
0x6eb1b97080
[1052:624] [2022-07-25 00:33:01 +0000.623393][ebb] The result of
eglCreatePbufferSurface is: 0x6eb1b97380
[1052:624] [2022-07-25 00:33:01 +0000.623516][ebb] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4
[1052:624] [2022-07-25 00:33:01 +0000.623559][ebb] The source 0 speed:1
[1052:624] [2022-07-25 00:33:01 +0000.623602][ebb] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4,
delay: 0
[1052:624] [2022-07-25 00:33:01 +0000.623644][ebb] CreateDecoderByVideoSource
time:94951061 enter.

[1052:625] [2022-07-25 00:33:01 +0000.623849][ebb] running_decoder_count:0max


count:2
[1052:625] [2022-07-25 00:33:01 +0000.623880][ebb] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x6ec2efcc00
[1052:626] [2022-07-25 00:33:01 +0000.624953][44ae] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6ea6c89a00] Current FFmpeg version git-2021-06-16-
97cea6f

[1052:754] [2022-07-25 00:33:01 +0000.753221][44ae] OnStreamInfoFound: video


duration_: 15188
[1052:760] [2022-07-25 00:33:01 +0000.759020][ebb] start decoder
[1052:760] [2022-07-25 00:33:01 +0000.759134][ebb] CreateDecoderByVideoSource
leave. expire time = 136 ms

[1052:760] [2022-07-25 00:33:01 +0000.759291][ebb] BindInputFilter 0x6e80a96720


this 0x6ea71eb898
[1052:760] [2022-07-25 00:33:01 +0000.759401][ebb] BindInputFilter 0x6ea71eb898
this 0x6ea71eb958
[1052:760] [2022-07-25 00:33:01 +0000.759496][ebb] BindInputFilter 0x6e80a96720
this 0x6ea71eba18
[1052:760] [2022-07-25 00:33:01 +0000.759585][ebb] BindInputFilter 0x6ea71eba18
this 0x6ea71ebad8
[1052:760] [2022-07-25 00:33:01 +0000.759640][ebb] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4
[1052:760] [2022-07-25 00:33:01 +0000.759725][ebb] BindInputFilter 0x6ea71eb958
this 0x6ea71ec498
[1052:761] [2022-07-25 00:33:01 +0000.759807][ebb] BindInputFilter 0x6ea71ec498
this 0x6ea6cfbe20
[1052:761] [2022-07-25 00:33:01 +0000.759896][ebb] BindInputFilter 0x6ea71ebad8
this 0x6ea71ec558
[1052:761] [2022-07-25 00:33:01 +0000.759977][ebb] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_94931736.mp4
[1052:761] [2022-07-25 00:33:01 +0000.760081][ebb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[1052:761] [2022-07-25 00:33:01 +0000.760251][ebb] MediaComposeFile time:94951198
enter.

[1052:761] [2022-07-25 00:33:01 +0000.760298][ebb] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[1052:761] [2022-07-25 00:33:01 +0000.760402][ebb] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1052:761] [2022-07-25 00:33:01 +0000.760444][ebb] Recording session using default
bitrate support by app:31457280
[1052:761] [2022-07-25 00:33:01 +0000.760448][44b9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e41a67740
[1052:761] [2022-07-25 00:33:01 +0000.760559][44b9] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1052:761] [2022-07-25 00:33:01 +0000.760657][ebb] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1052:761] [2022-07-25 00:33:01 +0000.760787][ebb] GetPipeline:
-----------------------------------------
[1052:762] [2022-07-25 00:33:01 +0000.760832][ebb] GetPipeline: source:
0x6e80a96500
[1052:762] [2022-07-25 00:33:01 +0000.760876][ebb] GetPipeline: filter: NULLFilter
[1052:762] [2022-07-25 00:33:01 +0000.760920][ebb] GetPipeline: filter: NULLFilter
[1052:762] [2022-07-25 00:33:01 +0000.761006][ebb] GetPipeline: filter: NULLFilter
[1052:762] [2022-07-25 00:33:01 +0000.761038][ebb] GetPipeline: audio filter:
AuidoNULLFilter
[1052:762] [2022-07-25 00:33:01 +0000.761066][ebb] GetPipeline: audio filter:
AuidoNULLFilter
[1052:762] [2022-07-25 00:33:01 +0000.761095][ebb] GetPipeline: audio filter:
AudioNUllFilter
[1052:762] [2022-07-25 00:33:01 +0000.761123][ebb] GetPipeline:
------------------------------------------
[1052:762] [2022-07-25 00:33:01 +0000.761152][ebb] filter: filter pipeline2 update
pattern: 2
[1052:762] [2022-07-25 00:33:01 +0000.761413][ebb] MediaComposeFile leave. expire
time = 1 ms

[1052:763] [2022-07-25 00:33:01 +0000.761985][44af] NO get frame from decoder


[1052:763] [2022-07-25 00:33:01 +0000.762095][ebb] machine model :poco
[1052:763] [2022-07-25 00:33:01 +0000.762191][ebb] Support this machine model :poco
[1052:763] [2022-07-25 00:33:01 +0000.762254][ebb] global inited! current sdk
version: 07-20-936c45f
[1052:765] [2022-07-25 00:33:01 +0000.764115][44af] NO get frame from decoder
[1052:767] [2022-07-25 00:33:01 +0000.766016][44af] NO get frame from decoder
[1052:768] [2022-07-25 00:33:01 +0000.767025][44af] NO get frame from decoder
[1052:782] [2022-07-25 00:33:01 +0000.781389][ebb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[1052:782] [2022-07-25 00:33:01 +0000.781544][ebb] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 312
[1052:782] [2022-07-25 00:33:01 +0000.781645][ebb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[1052:782] [2022-07-25 00:33:01 +0000.781705][ebb] BeginCompose: BeginCompose, is
composing 0
[1052:798] [2022-07-25 00:33:01 +0000.797174][44b9] start recording, file path:
[1052:798] [2022-07-25 00:33:01 +0000.797354][44b9] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 312 audio_timescale:44100
video_timescale:90000
[1052:798] [2022-07-25 00:33:01 +0000.797391][44b9] 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
[1052:798] [2022-07-25 00:33:01 +0000.797663][44b9] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 312
[1052:798] [2022-07-25 00:33:01 +0000.797631][44bf] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f87400698
[1052:798] [2022-07-25 00:33:01 +0000.797707][44b9] fd_open successed
handle:0xb40000705450f0b0
[1052:799] [2022-07-25 00:33:01 +0000.797947][44b9] create mp4 file:320
m_fileHandle: 0x6f8752d800
[1052:799] [2022-07-25 00:33:01 +0000.797976][44b9] MP4 file: is opened
successfully
[1052:799] [2022-07-25 00:33:01 +0000.798013][44b9] setupMediaProcessers:
[1052:799] [2022-07-25 00:33:01 +0000.798045][44b9]
RecordingSessionInternalSimple:setup media processers.
[1052:799] [2022-07-25 00:33:01 +0000.798079][44b9] construct AAC encoder
[1052:799] [2022-07-25 00:33:01 +0000.798402][44b9] H264Encoder creating:
ultrafast012323
[1052:799] [2022-07-25 00:33:01 +0000.798421][44af] NO get frame from decoder
[1052:799] [2022-07-25 00:33:01 +0000.798436][44b9] H264Encode::H264Encoder
creating with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[1052:800] [2022-07-25 00:33:01 +0000.798817][44b9] H264Encode::GetMachineModel is
M2012K11AG
[1052:800] [2022-07-25 00:33:01 +0000.798870][44b9] H264Encoder machine_mode
is:M2012K11AG
[1052:800] [2022-07-25 00:33:01 +0000.798896][44b9] H264Encode::machine size :9
machine_mode:M2012K11AG
[1052:800] [2022-07-25 00:33:01 +0000.798935][44b9] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[1052:800] [2022-07-25 00:33:01 +0000.798969][44b9] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[1052:800] [2022-07-25 00:33:01 +0000.799004][44b9] setupCompressionSession:
[1052:800] [2022-07-25 00:33:01 +0000.799039][44b9] H264Encode::creating hareware
Encoder
[1052:800] [2022-07-25 00:33:01 +0000.799050][44af] NO get frame from decoder
[1052:800] [2022-07-25 00:33:01 +0000.799075][44b9] AndroidHwAvcEncoder
time:94951237 enter.

[1052:800] [2022-07-25 00:33:01 +0000.799600][44af] NO get frame from decoder


[1052:800] [2022-07-25 00:33:01 +0000.799639][44b9] AndroidHwAvcEncoder:
g_jvm_encoder_ :0xb40000705443f540 address:0x6e70b5c760
[1052:801] [2022-07-25 00:33:01 +0000.799801][44b9] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[1052:801] [2022-07-25 00:33:01 +0000.799820][44b9] The video avc hw codec address
is 0x6f8741fec8
[1052:801] [2022-07-25 00:33:01 +0000.799882][44b9] AndroidHwAvcEncoder leave.
expire time = 1 ms

[1052:801] [2022-07-25 00:33:01 +0000.799897][44b9] RegisterEncodeCompleteCallback


time:94951238 enter.

[1052:801] [2022-07-25 00:33:01 +0000.800133][44af] NO get frame from decoder


[1052:801] [2022-07-25 00:33:01 +0000.800214][44b9] RegisterEncodeCompleteCallback
leave. expire time = 0 ms

[1052:801] [2022-07-25 00:33:01 +0000.800233][44b9] InitEncode time:94951238


enter.

[1052:801] [2022-07-25 00:33:01 +0000.800270][44b9] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[1052:801] [2022-07-25 00:33:01 +0000.800286][44b9] Create time:94951238 enter.

[1052:801] [2022-07-25 00:33:01 +0000.800297][44b9] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[1052:801] [2022-07-25 00:33:01 +0000.800311][44b9]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x6f875c5d40
[1052:801] [2022-07-25 00:33:01 +0000.800458][44b9]
supported_type:image/vnd.android.heic
[1052:801] [2022-07-25 00:33:01 +0000.800486][44b9] supported_type:video/avc
[1052:801] [2022-07-25 00:33:01 +0000.800518][44b9] name:OMX.qcom.video.encoder.avc
mime:video/avc
[1052:801] [2022-07-25 00:33:01 +0000.800540][44b9] hwCodecPrefix :OMX.qcom.
[1052:801] [2022-07-25 00:33:01 +0000.800555][44b9] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[1052:801] [2022-07-25 00:33:01 +0000.800567][44b9] mediacodec_createCodecByName
time:94951238 enter.

[1052:801] [2022-07-25 00:33:01 +0000.800591][44b9] WrapAndroidMediaCodec


time:94951238 enter.

[1052:801] [2022-07-25 00:33:01 +0000.800666][44b9] WrapAndroidMediaCodec leave.


expire time = 0 ms

[1052:833] [2022-07-25 00:33:01 +0000.831951][44b9] mediacodec_createCodecByName


leave. expire time = 32 ms

[1052:833] [2022-07-25 00:33:01 +0000.832023][44b9] WrapAndroidMediaFromat


time:94951270 enter.

[1052:833] [2022-07-25 00:33:01 +0000.832073][44b9] WrapAndroidMediaFromat leave.


expire time = 0 ms

[1052:864] [2022-07-25 00:33:01 +0000.863301][44b9] Destroy time:94951301 enter.

[1052:864] [2022-07-25 00:33:01 +0000.863359][44b9] WrapAndroidMediaFromat::


Destroy
[1052:864] [2022-07-25 00:33:01 +0000.863375][44b9] Destroy leave. expire time = 0
ms

[1052:864] [2022-07-25 00:33:01 +0000.863390][44b9] ~WrapAndroidMediaFromat


time:94951301 enter.

[1052:864] [2022-07-25 00:33:01 +0000.863404][44b9] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[1052:864] [2022-07-25 00:33:01 +0000.863419][44b9] Create leave. expire time = 63


ms

[1052:864] [2022-07-25 00:33:01 +0000.863433][44b9] isSemiPlanarSupport


time:94951301 enter.

[1052:864] [2022-07-25 00:33:01 +0000.863447][44b9] H264Encoder isSemiPlanarSupport


[1052:864] [2022-07-25 00:33:01 +0000.863462][44b9] isSemiPlanarSupport leave.
expire time = 0 ms
[1052:864] [2022-07-25 00:33:01 +0000.863477][44b9] creat hw H264Encoder success,
isSemiPlanar:1
[1052:864] [2022-07-25 00:33:01 +0000.863547][44b9] InitEncode leave. expire time
= 63 ms

[1052:864] [2022-07-25 00:33:01 +0000.863585][44b9] H264Encode::created Encoder


[1052:864] [2022-07-25 00:33:01 +0000.863601][44b9] H264Encode:: H264 encoder
created.
[1052:864] [2022-07-25 00:33:01 +0000.863614][44b9] H264 encoder created.
[1052:864] [2022-07-25 00:33:01 +0000.863657][44b9]
RecordingSessionInternalSimple:created avc encoder avc: 0x6f0c3d9840
[1052:864] [2022-07-25 00:33:01 +0000.863673][44b9] setOutput:
[1052:864] [2022-07-25 00:33:01 +0000.863752][44b9]
RecordingSessionInternalSimple:encoder set output to muxer!
[1052:865] [2022-07-25 00:33:01 +0000.863804][44b9] request a key frame
[1052:865] [2022-07-25 00:33:01 +0000.863819][44b9] H264Encode:: request a key
frame
[1052:868] [2022-07-25 00:33:01 +0000.866873][44b9] setDisplayRotate :90
[1052:868] [2022-07-25 00:33:01 +0000.866926][44b9] 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
[1052:869] [2022-07-25 00:33:01 +0000.867802][44bf] add aac audio track with id:1
[1052:869] [2022-07-25 00:33:01 +0000.867859][44bf] audio start ts:0
[1052:869] [2022-07-25 00:33:01 +0000.867913][44bf] the audio frame has been
written into MP4 file
[1052:870] [2022-07-25 00:33:01 +0000.869009][44ba]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[1052:919] [2022-07-25 00:33:01 +0000.917982][44ba] DTS queue for
Generator:0x6f874de4b8 10 37 67
[1052:947] [2022-07-25 00:33:01 +0000.946033][44ba] h264 add frame header cdr flag
[1052:950] [2022-07-25 00:33:01 +0000.949173][44ba] h264 add frame header cdr flag
[1052:958] [2022-07-25 00:33:01 +0000.957750][44ba] Received key frame:10
[1052:959] [2022-07-25 00:33:01 +0000.957901][44ba] H264Encode:: get a sps pps
header!headerSize:32
[1052:959] [2022-07-25 00:33:01 +0000.958102][44bf] get the H.264 SPS parameter
[1052:959] [2022-07-25 00:33:01 +0000.958305][44bf] add video track with id:2
[1052:960] [2022-07-25 00:33:01 +0000.959446][44bf] get the H.264 PPS parameter
[1052:966] [2022-07-25 00:33:01 +0000.965729][44bf] get the H.264 IDR frame
[1052:967] [2022-07-25 00:33:01 +0000.965900][44bf] resss:true
[1052:967] [2022-07-25 00:33:01 +0000.965944][44bf] video start ts:10
[1052:967] [2022-07-25 00:33:01 +0000.966105][44bf] the video frame has been
written into MP4 file
[1052:974] [2022-07-25 00:33:01 +0000.973776][44ba] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:207
[1052:975] [2022-07-25 00:33:01 +0000.974363][44ba] push video frame to H264
encoder. (100 frame for one log)

[1052:975] [2022-07-25 00:33:01 +0000.974402][44ba] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1052:975] [2022-07-25 00:33:01 +0000.974418][44ba] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:207(100 frame for one
log)

[1052:975] [2022-07-25 00:33:01 +0000.974441][44ba] The input pts:207 fps:30


[1053:011] [2022-07-25 00:33:02 +0000.10492][44ba] H264Encode::H264SWEncoder get
callback, length:29872 type:1 nalType:1length:29868
[1053:054] [2022-07-25 00:33:02 +0000.53338][44bd] Error(video_source.cc:430): wait
decoder a frame: 0
[1053:105] [2022-07-25 00:33:02 +0000.103973][44ba] DTS queue for
Generator:0x6f874de4b8 738 774 800 832 863 899 934 964
[1053:107] [2022-07-25 00:33:02 +0000.106741][44ba] Push an pts:998 to dts queue.
[1053:169] [2022-07-25 00:33:02 +0000.167896][44ba] last dts:964 currentPts:998
ppsOrSPS:0 queue length:9
[1053:184] [2022-07-25 00:33:02 +0000.183768][44bd] webrtc common_video plane
old ..... (1/1000) new: 23001 delete: 22958 diff: 43
[1053:252] [2022-07-25 00:33:02 +0000.251375][44ba] DTS queue for
Generator:0x6f874de4b8 1564 1601 1629 1662 1701 1730 1761 1794
[1053:345] [2022-07-25 00:33:02 +0000.344207][4399] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1053:345] [2022-07-25 00:33:02 +0000.344274][4399] _deviceSampleRate:48000

[1053:349] [2022-07-25 00:33:02 +0000.347824][4398] Run AGC when audioType = 0


[1053:380] [2022-07-25 00:33:02 +0000.379513][44b9] setDisplayRotate :90
[1053:380] [2022-07-25 00:33:02 +0000.379602][44b9] 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
[1053:385] [2022-07-25 00:33:02 +0000.384268][44ba] h264 add frame header cdr flag
[1053:385] [2022-07-25 00:33:02 +0000.384421][44ba] Received key frame:1992
[1053:390] [2022-07-25 00:33:02 +0000.389547][44bf] get the H.264 IDR frame
[1053:397] [2022-07-25 00:33:02 +0000.395996][44ba] Push an pts:2332 to dts queue.
[1053:398] [2022-07-25 00:33:02 +0000.396947][44bd] Error(video_source.cc:430):
wait decoder a frame: 0
[1053:440] [2022-07-25 00:33:02 +0000.439720][44ba] last dts:2295 currentPts:2332
ppsOrSPS:0 queue length:8
[1053:456] [2022-07-25 00:33:02 +0000.455232][44ba] DTS queue for
Generator:0x6f874de4b8 2400 2430 2458 2499 2528 2564 2603
[1053:495] [2022-07-25 00:33:02 +0000.494374][44be] audio_frame_list_ empty
[1053:560] [2022-07-25 00:33:02 +0000.559574][44ba] SendFrame
encodedImage._timeStamp:2994encodedImage->_length:14368
[1053:580] [2022-07-25 00:33:02 +0000.579378][44b9] setDisplayRotate :90
[1053:580] [2022-07-25 00:33:02 +0000.579445][44b9] 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
[1053:610] [2022-07-25 00:33:02 +0000.608841][44ba] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3159 pts:3159
[1053:610] [2022-07-25 00:33:02 +0000.609480][44ba] DTS queue for
Generator:0x6f874de4b8 3224 3258 3292 3325 3363 3395 3440
[1053:620] [2022-07-25 00:33:02 +0000.619435][44ba] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3556
[1053:620] [2022-07-25 00:33:02 +0000.619499][44ba] push video frame to H264
encoder. (100 frame for one log)

[1053:620] [2022-07-25 00:33:02 +0000.619551][44ba] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1053:620] [2022-07-25 00:33:02 +0000.619575][44ba] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3556(100 frame for one
log)

[1053:620] [2022-07-25 00:33:02 +0000.619603][44ba] The input pts:3556 fps:30


[1053:623] [2022-07-25 00:33:02 +0000.622165][44bd] Error(video_source.cc:430):
wait decoder a frame: 0
[1053:633] [2022-07-25 00:33:02 +0000.632791][44ba] Push an pts:3659 to dts queue.
[1053:677] [2022-07-25 00:33:02 +0000.676115][44ba] H264Encode::H264SWEncoder get
callback, length:24640 type:1 nalType:1length:24636
[1053:690] [2022-07-25 00:33:02 +0000.688984][44ba] last dts:3626 currentPts:3659
ppsOrSPS:0 queue length:9
[1053:737] [2022-07-25 00:33:02 +0000.736492][44ba] h264 add frame header cdr flag
[1053:737] [2022-07-25 00:33:02 +0000.736632][44ba] Received key frame:3993
[1053:737] [2022-07-25 00:33:02 +0000.736654][44ba] DTS queue for
Generator:0x6f874de4b8 4033 4060 4091 4124 4156 4195 4228 4265
[1053:752] [2022-07-25 00:33:02 +0000.751128][44b9] setDisplayRotate :90
[1053:752] [2022-07-25 00:33:02 +0000.751177][44b9] 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
[1053:758] [2022-07-25 00:33:02 +0000.757497][44bf] get the H.264 IDR frame
[1053:835] [2022-07-25 00:33:02 +0000.834151][44bd] Error(video_source.cc:430):
wait decoder a frame: 0
[1053:865] [2022-07-25 00:33:02 +0000.864694][44ba] Push an pts:4995 to dts queue.
[1053:878] [2022-07-25 00:33:02 +0000.876796][44ba] DTS queue for
Generator:0x6f874de4b8 4862 4896 4927 4964 4995 5030 5063 5100
[1053:910] [2022-07-25 00:33:02 +0000.909789][44ba] last dts:4964 currentPts:4995
ppsOrSPS:0 queue length:9
[1053:956] [2022-07-25 00:33:02 +0000.955331][4398] haveEnoughProcessedData
internalAudioStream.length: 0
[1053:976] [2022-07-25 00:33:02 +0000.975269][44bd] webrtc common_video plane
old ..... (1/1000) new: 24001 delete: 23966 diff: 35
[1054:031] [2022-07-25 00:33:03 +0000.30534][44ba] DTS queue for
Generator:0x6f874de4b8 5696 5734 5765 5795 5824 5860 5888 5923
[1054:094] [2022-07-25 00:33:03 +0000.92974][44ba] h264 add frame header cdr flag
[1054:094] [2022-07-25 00:33:03 +0000.93171][44ba] Received key frame:5988
[1054:095] [2022-07-25 00:33:03 +0000.94674][44bf] get the H.264 IDR frame
[1054:096] [2022-07-25 00:33:03 +0000.95032][44ba] Push an pts:6326 to dts queue.
[1054:114] [2022-07-25 00:33:03 +0000.113123][44bd] Error(video_source.cc:430):
wait decoder a frame: 8
[1054:159] [2022-07-25 00:33:03 +0000.158776][44ba] SendFrame
encodedImage._timeStamp:6326encodedImage->_length:40816
[1054:160] [2022-07-25 00:33:03 +0000.158867][44ba] last dts:6288 currentPts:6326
ppsOrSPS:0 queue length:10
[1054:172] [2022-07-25 00:33:03 +0000.171435][44ba] DTS queue for
Generator:0x6f874de4b8 6492 6519 6554 6591 6627 6657 6690 6723 6757
[1054:191] [2022-07-25 00:33:03 +0000.190320][44ba] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6519 pts:6519
[1054:203] [2022-07-25 00:33:03 +0000.202207][44ba] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6924
[1054:203] [2022-07-25 00:33:03 +0000.202387][44ba] push video frame to H264
encoder. (100 frame for one log)

[1054:203] [2022-07-25 00:33:03 +0000.202428][44ba] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1054:203] [2022-07-25 00:33:03 +0000.202446][44ba] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6924(100 frame for one
log)

[1054:203] [2022-07-25 00:33:03 +0000.202475][44ba] The input pts:6924 fps:30


[1054:253] [2022-07-25 00:33:03 +0000.252010][44bd] FilterPipeline2::OnVideoFrame
pts 650160 last_video_timestamp_ 7224
[1054:257] [2022-07-25 00:33:03 +0000.256551][44ba] H264Encode::H264SWEncoder get
callback, length:42688 type:1 nalType:1length:42684
[1054:259] [2022-07-25 00:33:03 +0000.258480][44be] audio_frame_list_ empty
[1054:266] [2022-07-25 00:33:03 +0000.265105][44b9] setDisplayRotate :90
[1054:266] [2022-07-25 00:33:03 +0000.265165][44b9] 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
[1054:364] [2022-07-25 00:33:03 +0000.363345][44b9] setDisplayRotate :90
[1054:364] [2022-07-25 00:33:03 +0000.363524][44b9] 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
[1054:410] [2022-07-25 00:33:03 +0000.409563][44ba] DTS queue for
Generator:0x6f874de4b8 7325 7357 7396 7424 7453 7488 7523 7557 7597
[1054:413] [2022-07-25 00:33:03 +0000.412642][44bd] Error(video_source.cc:430):
wait decoder a frame: 0
[1054:419] [2022-07-25 00:33:03 +0000.418254][44ba] Push an pts:7657 to dts queue.
[1054:475] [2022-07-25 00:33:03 +0000.474103][44ba] last dts:7625 currentPts:7657
ppsOrSPS:0 queue length:9
[1054:530] [2022-07-25 00:33:03 +0000.528935][44ba] h264 add frame header cdr flag
[1054:530] [2022-07-25 00:33:03 +0000.529124][44ba] Received key frame:7986
[1054:531] [2022-07-25 00:33:03 +0000.530060][44bf] get the H.264 IDR frame
[1054:579] [2022-07-25 00:33:03 +0000.578440][44b9] setDisplayRotate :90
[1054:579] [2022-07-25 00:33:03 +0000.578511][44b9] 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
[1054:586] [2022-07-25 00:33:03 +0000.585237][44ba] DTS queue for
Generator:0x6f874de4b8 8154 8191 8223 8256 8293 8327 8359 8391
[1054:675] [2022-07-25 00:33:03 +0000.674396][44be] audio_frame_list_ empty
[1054:696] [2022-07-25 00:33:03 +0000.694852][44bd] Error(video_source.cc:430):
wait decoder a frame: 11
[1054:699] [2022-07-25 00:33:03 +0000.698397][44ba] Push an pts:8990 to dts queue.
[1054:748] [2022-07-25 00:33:03 +0000.747122][44ba] DTS queue for
Generator:0x6f874de4b8 8990 9030 9053 9093 9132 9154 9191 9224
[1054:754] [2022-07-25 00:33:03 +0000.752967][44ba] last dts:8955 currentPts:8990
ppsOrSPS:0 queue length:9
[1054:847] [2022-07-25 00:33:03 +0000.846461][44b9] setDisplayRotate :90
[1054:847] [2022-07-25 00:33:03 +0000.846547][44b9] 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
[1054:897] [2022-07-25 00:33:03 +0000.896693][44bd] webrtc common_video plane
old ..... (1/1000) new: 25001 delete: 24954 diff: 47
[1054:973] [2022-07-25 00:33:03 +0000.971992][44ba] SendFrame
encodedImage._timeStamp:9656encodedImage->_length:68576
[1054:999] [2022-07-25 00:33:03 +0000.998200][44ba] DTS queue for
Generator:0x6f874de4b8 9794 9827 9862 9899 9929 9954 9990 10022 10057 10098
[1055:014] [2022-07-25 00:33:04 +0000.13607][44ba] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:9899 pts:9899
[1055:032] [2022-07-25 00:33:04 +0000.30814][44be] audio_frame_list_ empty
[1055:034] [2022-07-25 00:33:04 +0000.33502][44ba] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:10294
[1055:034] [2022-07-25 00:33:04 +0000.33564][44ba] push video frame to H264
encoder. (100 frame for one log)

[1055:034] [2022-07-25 00:33:04 +0000.33594][44ba] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1055:034] [2022-07-25 00:33:04 +0000.33612][44ba] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:10294(100 frame for one
log)
[1055:034] [2022-07-25 00:33:04 +0000.33638][44ba] The input pts:10294 fps:30
[1055:038] [2022-07-25 00:33:04 +0000.37435][44ba] h264 add frame header cdr flag
[1055:038] [2022-07-25 00:33:04 +0000.37633][44ba] Received key frame:9990
[1055:040] [2022-07-25 00:33:04 +0000.39201][44bf] get the H.264 IDR frame
[1055:040] [2022-07-25 00:33:04 +0000.39732][44ba] Push an pts:10326 to dts queue.
[1055:151] [2022-07-25 00:33:04 +0000.150519][44b9] setDisplayRotate :90
[1055:152] [2022-07-25 00:33:04 +0000.150798][44b9] 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
[1055:163] [2022-07-25 00:33:04 +0000.162016][44bd] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[1055:165] [2022-07-25 00:33:04 +0000.164285][44bd] Error(video_source.cc:430):
wait decoder a frame: 0
[1055:199] [2022-07-25 00:33:04 +0000.198107][44be] FilterPipeline2::OnAudioFrame
pts 486226 last_audio_timestamp_ 11025.5
[1055:212] [2022-07-25 00:33:04 +0000.211616][44ba] H264Encode::H264SWEncoder get
callback, length:65744 type:1 nalType:1length:65740
[1055:216] [2022-07-25 00:33:04 +0000.214835][44ba] last dts:10294 currentPts:10326
ppsOrSPS:0 queue length:7
[1055:301] [2022-07-25 00:33:04 +0000.300605][44ba] DTS queue for
Generator:0x6f874de4b8 10656 10696 10722 10759 10790 10822 10857
[1055:347] [2022-07-25 00:33:04 +0000.346145][4398] Run AGC when audioType = 0
[1055:347] [2022-07-25 00:33:04 +0000.346203][4398]
AudioDeviceDataHandler::MixAndSendOutFrame
[1055:395] [2022-07-25 00:33:04 +0000.394045][44be] audio_frame_list_ empty
[1055:481] [2022-07-25 00:33:04 +0000.480002][44b9] setDisplayRotate :90
[1055:481] [2022-07-25 00:33:04 +0000.480065][44b9] 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
[1055:530] [2022-07-25 00:33:04 +0000.529369][44bd] Error(video_source.cc:430):
wait decoder a frame: 0
[1055:540] [2022-07-25 00:33:04 +0000.539583][44ba] Push an pts:11661 to dts queue.
[1055:548] [2022-07-25 00:33:04 +0000.546862][44ba] DTS queue for
Generator:0x6f874de4b8 11483 11518 11553 11596 11619 11661 11698
[1055:591] [2022-07-25 00:33:04 +0000.590763][44ba] last dts:11619 currentPts:11661
ppsOrSPS:0 queue length:10
[1055:654] [2022-07-25 00:33:04 +0000.653654][44ba] h264 add frame header cdr flag
[1055:656] [2022-07-25 00:33:04 +0000.655352][44ba] Received key frame:11997
[1055:657] [2022-07-25 00:33:04 +0000.656173][44bf] get the H.264 IDR frame
[1055:713] [2022-07-25 00:33:04 +0000.712577][44b9] setDisplayRotate :90
[1055:713] [2022-07-25 00:33:04 +0000.712631][44b9] 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
[1055:719] [2022-07-25 00:33:04 +0000.718282][44ba] DTS queue for
Generator:0x6f874de4b8 12325 12355 12387 12422 12454 12488
[1055:728] [2022-07-25 00:33:04 +0000.727087][44b9] setDisplayRotate :90
[1055:728] [2022-07-25 00:33:04 +0000.727141][44b9] 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
[1055:737] [2022-07-25 00:33:04 +0000.736724][4398] haveEnoughProcessedData
internalAudioStream.length: 0
[1055:803] [2022-07-25 00:33:04 +0000.802440][44be] audio_frame_list_ empty
[1055:809] [2022-07-25 00:33:04 +0000.807891][44bd] Error(video_source.cc:430):
wait decoder a frame: 5
[1055:832] [2022-07-25 00:33:04 +0000.830903][44ba] Push an pts:12986 to dts queue.
[1055:882] [2022-07-25 00:33:04 +0000.881601][44ba] SendFrame
encodedImage._timeStamp:12986encodedImage->_length:24368
[1055:882] [2022-07-25 00:33:04 +0000.881681][44ba] last dts:12954 currentPts:12986
ppsOrSPS:0 queue length:8
[1055:899] [2022-07-25 00:33:04 +0000.898057][44ba] DTS queue for
Generator:0x6f874de4b8 13120 13161 13195 13223 13255 13290 13321 13355
[1055:960] [2022-07-25 00:33:04 +0000.959058][44ba] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:13255 pts:13255
[1055:973] [2022-07-25 00:33:04 +0000.972501][44b9] setDisplayRotate :90
[1055:973] [2022-07-25 00:33:04 +0000.972555][44b9] 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
[1055:993] [2022-07-25 00:33:04 +0000.992211][44ba] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:13659
[1055:993] [2022-07-25 00:33:04 +0000.992262][44ba] push video frame to H264
encoder. (100 frame for one log)

[1055:993] [2022-07-25 00:33:04 +0000.992295][44ba] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1055:993] [2022-07-25 00:33:04 +0000.992316][44ba] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:13659(100 frame for one
log)

[1055:993] [2022-07-25 00:33:04 +0000.992348][44ba] The input pts:13659 fps:30


[1056:035] [2022-07-25 00:33:05 +0000.34289][44bd] webrtc common_video plane
old ..... (1/1000) new: 26001 delete: 25962 diff: 39
[1056:044] [2022-07-25 00:33:05 +0000.43664][44ba] H264Encode::H264SWEncoder get
callback, length:47552 type:1 nalType:1length:47548
[1056:056] [2022-07-25 00:33:05 +0000.54859][44ba] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[1056:090] [2022-07-25 00:33:05 +0000.89174][44ba] DTS queue for
Generator:0x6f874de4b8 13956 13990 14022 14058 14094 14123 14156 14189
[1056:121] [2022-07-25 00:33:05 +0000.120674][44ba] h264 add frame header cdr flag
[1056:122] [2022-07-25 00:33:05 +0000.120875][44ba] Received key frame:13990
[1056:126] [2022-07-25 00:33:05 +0000.124976][44bf] get the H.264 IDR frame
[1056:129] [2022-07-25 00:33:05 +0000.128278][44ba] Push an pts:14324 to dts queue.
[1056:166] [2022-07-25 00:33:05 +0000.165465][44b9] setDisplayRotate :90
[1056:166] [2022-07-25 00:33:05 +0000.165578][44b9] 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
[1056:182] [2022-07-25 00:33:05 +0000.181129][44bd] Error(video_source.cc:430):
wait decoder a frame: 0
[1056:186] [2022-07-25 00:33:05 +0000.184834][44ba] last dts:14287 currentPts:14324
ppsOrSPS:0 queue length:7
[1056:247] [2022-07-25 00:33:05 +0000.246207][44b9] setDisplayRotate :90
[1056:247] [2022-07-25 00:33:05 +0000.246261][44b9] 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
[1056:251] [2022-07-25 00:33:05 +0000.250216][44af] av_read_frame AVERROR_EOF
[1056:269] [2022-07-25 00:33:05 +0000.268054][44b9] setDisplayRotate :90
[1056:269] [2022-07-25 00:33:05 +0000.268107][44b9] 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
[1056:288] [2022-07-25 00:33:05 +0000.287473][44ba] DTS queue for
Generator:0x6f874de4b8 14750 14789 14820 14856 14888 14923 14954 14988 15019
[1056:296] [2022-07-25 00:33:05 +0000.295358][44af] OnReceiveEOF:
[1056:296] [2022-07-25 00:33:05 +0000.295449][44af] OnDecoderEOF time:94954733
enter.

[1056:296] [2022-07-25 00:33:05 +0000.295483][44af] OnDecoderEOF leave. expire


time = 0 ms
[1056:296] [2022-07-25 00:33:05 +0000.295496][44af] OnDecoderFinished:
OnDecoderFinished total decoder frames:456 this:0x6e80a96500
[1056:296] [2022-07-25 00:33:05 +0000.295501][44ad] CleanUp time:94954733 enter.

[1056:299] [2022-07-25 00:33:05 +0000.298427][44be] PullAudioFrame: PullFrame audio


finished.
[1056:299] [2022-07-25 00:33:05 +0000.298488][44be] OnAudioTimer: OnAudioTimer
return
[1056:301] [2022-07-25 00:33:05 +0000.300235][44bd] OnVideoTimer: OnVideoTimer
EndComposeFile
[1056:301] [2022-07-25 00:33:05 +0000.300275][44bd] EndComposeFile:
EndComposeFile, is composing 1
[1056:307] [2022-07-25 00:33:05 +0000.306554][44ad] CleanUp leave. expire time =
11 ms

[1056:307] [2022-07-25 00:33:05 +0000.306643][44ad] clean up


[1056:307] [2022-07-25 00:33:05 +0000.306663][44ad] running_decoder_count:0max
count:2
[1056:318] [2022-07-25 00:33:05 +0000.317327][44ba]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:456
[1056:318] [2022-07-25 00:33:05 +0000.317397][44ba]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x6f874c4000
[1056:320] [2022-07-25 00:33:05 +0000.318917][44bb]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[1056:320] [2022-07-25 00:33:05 +0000.319043][44bb]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[1056:320] [2022-07-25 00:33:05 +0000.319567][44b9] stop recording
[1056:320] [2022-07-25 00:33:05 +0000.319650][44b9]
RecordingSessionInternalSimple:destroy media processers
[1056:320] [2022-07-25 00:33:05 +0000.319681][44b9] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[1056:320] [2022-07-25 00:33:05 +0000.319711][44b9] H264Encode::flushing hareware
Encoder
[1056:321] [2022-07-25 00:33:05 +0000.319871][44b9] Flush time:94954758 enter.

[1056:321] [2022-07-25 00:33:05 +0000.320007][44b9] H264Encoder encoder flush


[1056:321] [2022-07-25 00:33:05 +0000.320029][44b9] flush output queue
[1056:644] [2022-07-25 00:33:05 +0000.643164][44b9] Flush leave. expire time = 323
ms

[1056:644] [2022-07-25 00:33:05 +0000.643642][44b9] ~H264EncodeWrap:


[1056:644] [2022-07-25 00:33:05 +0000.643719][44b9] ~H264Encode:
[1056:644] [2022-07-25 00:33:05 +0000.643753][44b9] teardownCompressionSession:
H264Encode::destroying Encoder
[1056:645] [2022-07-25 00:33:05 +0000.644541][44b9] Release time:94955082 enter.

[1056:645] [2022-07-25 00:33:05 +0000.644724][44b9] Release:


MediaCodecVideoEncoder::Release _inited:1
[1056:645] [2022-07-25 00:33:05 +0000.644788][44b9] Destroy time:94955082 enter.

[1056:646] [2022-07-25 00:33:05 +0000.644823][44b9] H264Encoder encoderDestroy


[1056:646] [2022-07-25 00:33:05 +0000.644860][44b9]
AndroidMediaCodecVideoEncoder::release env: 0x6f0c3d9980
[1056:646] [2022-07-25 00:33:05 +0000.645104][44b9]
AndroidMediaCodecVideoEncoder::Destroy
[1056:686] [2022-07-25 00:33:05 +0000.684824][44b9] Destroy leave. expire time =
41 ms
[1056:686] [2022-07-25 00:33:05 +0000.684964][44b9] Release leave. expire time =
41 ms

[1056:686] [2022-07-25 00:33:05 +0000.684995][44b9] ~AndroidHwAvcEncoder


time:94955123 enter.

[1056:686] [2022-07-25 00:33:05 +0000.685264][44b9] Release time:94955123 enter.

[1056:686] [2022-07-25 00:33:05 +0000.685302][44b9] Release:


MediaCodecVideoEncoder:: has been released before, just return
[1056:686] [2022-07-25 00:33:05 +0000.685324][44b9] Release leave. expire time = 0
ms

[1056:686] [2022-07-25 00:33:05 +0000.685347][44b9] ~AndroidMediaCodecVideoEncoder


[1056:686] [2022-07-25 00:33:05 +0000.685373][44b9] ~WrapAndroidMediaCodec
time:94955123 enter.

[1056:686] [2022-07-25 00:33:05 +0000.685399][44b9] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[1056:686] [2022-07-25 00:33:05 +0000.685423][44b9] video hevc hw codec


destructor:0x6f8741fec8

[1056:686] [2022-07-25 00:33:05 +0000.685578][44b9] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[1056:686] [2022-07-25 00:33:05 +0000.685618][44b9] teardownCompressionSession:


H264Encode::destroyed Encoder
[1056:686] [2022-07-25 00:33:05 +0000.685690][44b9]
RecordingSessionInternalSimple:destroy aac encoder output!
[1056:686] [2022-07-25 00:33:05 +0000.685715][44b9] AACSWEncode destructor
[1056:689] [2022-07-25 00:33:05 +0000.688242][44bf] fd_close successed!
[1056:697] [2022-07-25 00:33:05 +0000.696245][44bf] MP4 close file successfully
[1056:697] [2022-07-25 00:33:05 +0000.696322][44bf] Recording session Internal:
notify recording ok
[1056:697] [2022-07-25 00:33:05 +0000.696345][44bf] onRecordingOk: Recording Ok,
compose use time: 3915, averagefps 0
[1056:697] [2022-07-25 00:33:05 +0000.696365][44bf] OnReceiveEOF:
[1056:700] [2022-07-25 00:33:05 +0000.699444][44bd] OnVideoTimer: OnVideoTimer
return
[1056:715] [2022-07-25 00:33:05 +0000.714358][ebb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[1056:715] [2022-07-25 00:33:05 +0000.714449][ebb] ~MediaComposeFile time:94955152
enter.

[1056:715] [2022-07-25 00:33:05 +0000.714493][ebb] CancelCompose: CancelCompose,


is composing 0
[1056:715] [2022-07-25 00:33:05 +0000.714571][44b9] stop recording
[1056:715] [2022-07-25 00:33:05 +0000.714602][44b9] we have stopped recording
before
[1056:716] [2022-07-25 00:33:05 +0000.714886][ebb] ~MediaComposeFile leave. expire
time = 1 ms

[1056:716] [2022-07-25 00:33:05 +0000.714957][ebb] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[1056:716] [2022-07-25 00:33:05 +0000.715373][ebb] global uninited!
[1056:716] [2022-07-25 00:33:05 +0000.715424][ebb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[1056:716] [2022-07-25 00:33:05 +0000.715484][ebb] ~MediaFilterGraph:
MediaFilterGraph destruct
[1056:716] [2022-07-25 00:33:05 +0000.715512][ebb] RemoveVideoBackGroud: hava not
add video backgroud
[1056:716] [2022-07-25 00:33:05 +0000.715564][ebb] UnbindInputFilter 0x6ea71ec498
this 0x6ea6cfbe20
[1056:716] [2022-07-25 00:33:05 +0000.715607][ebb] ClearAllSource: remove source
filter, sourceid: 0x6e80a96500
[1056:716] [2022-07-25 00:33:05 +0000.715648][ebb] DestoryDecoderByVideoSource
time:94955153 enter.

[1056:716] [2022-07-25 00:33:05 +0000.715683][ebb] ~VideoBindDecoder time:94955153


enter.

[1056:717] [2022-07-25 00:33:05 +0000.715874][ebb] CleanUp time:94955154 enter.

[1056:717] [2022-07-25 00:33:05 +0000.716157][ebb] CleanUp leave. expire time = 0


ms

[1056:717] [2022-07-25 00:33:05 +0000.716182][ebb] CleanUp time:94955154 enter.

[1056:718] [2022-07-25 00:33:05 +0000.717183][ebb] CleanUp leave. expire time = 1


ms

[1056:720] [2022-07-25 00:33:05 +0000.719012][ebb] ~VideoBindDecoder leave. expire


time = 4 ms

[1056:720] [2022-07-25 00:33:05 +0000.719072][ebb] DestoryDecoderByVideoSource


leave. expire time = 4 ms

[1056:720] [2022-07-25 00:33:05 +0000.719111][ebb] UnbindInputFilter 0x6ea71eb958


this 0x6ea71ec498
[1056:720] [2022-07-25 00:33:05 +0000.719151][ebb] UnbindInputFilter 0x6ea71eb898
this 0x6ea71eb958
[1056:720] [2022-07-25 00:33:05 +0000.719192][ebb] UnbindInputFilter 0x6e80a96720
this 0x6ea71eb898
[1056:720] [2022-07-25 00:33:05 +0000.719229][ebb] UnbindInputFilter 0x6ea71ebad8
this 0x6ea71ec558
[1056:720] [2022-07-25 00:33:05 +0000.719267][ebb] UnbindInputFilter 0x6ea71eba18
this 0x6ea71ebad8
[1056:720] [2022-07-25 00:33:05 +0000.719299][ebb] UnbindInputFilter 0x6e80a96720
this 0x6ea71eba18
[1056:720] [2022-07-25 00:33:05 +0000.719345][ebb] ~GLESContext:
[1056:723] [2022-07-25 00:33:05 +0000.722545][ebb] GLESContext destruct finish.
[1056:723] [2022-07-25 00:33:05 +0000.722688][ebb] filter: filter pipeline destroy
this: 0x6ea6cfbd80
[1057:348] [2022-07-25 00:33:06 +0000.347320][4398] Run AGC when audioType = 0
[1057:467] [2022-07-25 00:33:06 +0000.466470][4398] haveEnoughProcessedData
internalAudioStream.length: 10
[1059:187] [2022-07-25 00:33:08 +0000.185918][4398] haveEnoughProcessedData
internalAudioStream.length: 20
[1059:351] [2022-07-25 00:33:08 +0000.349873][4398] Run AGC when audioType = 0
[1059:351] [2022-07-25 00:33:08 +0000.350048][4398]
AudioDeviceDataHandler::MixAndSendOutFrame
[1060:122] [2022-07-25 00:33:09 +0000.121587][ef6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[1060:123] [2022-07-25 00:33:09 +0000.122661][ef6] ~MediaFilterCamera time:94958560
enter.

[1060:123] [2022-07-25 00:33:09 +0000.122728][ef6] StopPullFrameAndWriteMp4


time:94958560 enter.

[1060:127] [2022-07-25 00:33:09 +0000.125837][4393] stop recording


[1060:127] [2022-07-25 00:33:09 +0000.125881][4393] we have stopped recording
before
[1060:127] [2022-07-25 00:33:09 +0000.126252][ef6] StopPullFrameAndWriteMp4 leave.
expire time = 4 ms

[1060:140] [2022-07-25 00:33:09 +0000.139703][ef6] DestroyPipelineAndFilters


time:94958577 enter.

[1060:141] [2022-07-25 00:33:09 +0000.139794][ef6] DestroyPipelineAndFilters


leave. expire time = 1 ms

[1060:141] [2022-07-25 00:33:09 +0000.139833][ef6] AppDeviceManagerStopMic

[1060:141] [2022-07-25 00:33:09 +0000.139927][ef6] AppDeviceManagerStopMic::mic


status is on
[1060:141] [2022-07-25 00:33:09 +0000.139963][ef6] Try to stop webrtc device.

[1060:141] [2022-07-25 00:33:09 +0000.139997][ef6] Set record state to


stopped.threadID:3830

[1060:193] [2022-07-25 00:33:09 +0000.191872][ef6] Try to destory the


recorder.threadID:3830

[1060:405] [2022-07-25 00:33:09 +0000.404008][ef6] DestroyAudioRecorder:


[1060:405] [2022-07-25 00:33:09 +0000.404130][ef6] Cleanup the buffer queue in the
recorder.
[1060:405] [2022-07-25 00:33:09 +0000.404197][ef6] Destroy the recorder.

[1060:407] [2022-07-25 00:33:09 +0000.406696][ef6] StopRecording finished.

[1060:408] [2022-07-25 00:33:09 +0000.406827][ef6] The stop recording success.

[1060:408] [2022-07-25 00:33:09 +0000.406899][ef6]


AudioDeviceDataHandler::StopMicProcess

[1060:409] [2022-07-25 00:33:09 +0000.408197][ef6] AppDeviceManager stop.

[1060:409] [2022-07-25 00:33:09 +0000.408306][ef6] Rlease the webrtc device object.

[1060:411] [2022-07-25 00:33:09 +0000.409922][ef6] OpenSlesInput destruct.

[1060:411] [2022-07-25 00:33:09 +0000.410005][ef6] OpenSlesOutput destruct.

[1060:411] [2022-07-25 00:33:09 +0000.410712][ef6] EventDispatchServerScope


destruct
[1060:411] [2022-07-25 00:33:09 +0000.410773][ef6]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[1060:412] [2022-07-25 00:33:09 +0000.410859][ef6] ~AudioDeviceDataHandler

[1060:413] [2022-07-25 00:33:09 +0000.412689][ef6] AppDeviceManagerDestruct.

[1060:413] [2022-07-25 00:33:09 +0000.412752][ef6] ~AppDeviceManager:


[1060:414] [2022-07-25 00:33:09 +0000.412832][ef6] ~CpuOverloadDetect time:94958851
enter.

[1060:414] [2022-07-25 00:33:09 +0000.413160][ef6] ~CpuOverloadDetect leave.


expire time = 0 ms

[1060:416] [2022-07-25 00:33:09 +0000.414940][ef6] Destruct BeautifyReader begin...


[1060:416] [2022-07-25 00:33:09 +0000.415008][ef6] Destruct BeautifyReader done.
[1060:416] [2022-07-25 00:33:09 +0000.415073][ef6] ~MediaFilterCamera leave.
expire time = 293 ms

[1060:416] [2022-07-25 00:33:09 +0000.415311][ef6] ~GLESContext:


[1060:422] [2022-07-25 00:33:09 +0000.421596][ef6] GLESContext destruct finish.
[1060:422] [2022-07-25 00:33:09 +0000.421708][ef6] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[1060:423] [2022-07-25 00:33:09 +0000.422187][ef6] global uninited!
[1060:423] [2022-07-25 00:33:09 +0000.422658][ef6] clear AppID 50011
[1060:423] [2022-07-25 00:33:09 +0000.422721][ef6] UnRegister JVM for Xplatform
util
[1060:423] [2022-07-25 00:33:09 +0000.422774][ef6] Dispose::unregister webrtc video
engine
[1060:424] [2022-07-25 00:33:09 +0000.422820][ef6] Init the android object with
jvm:0x0 env:0x0 context:0x0

[1060:424] [2022-07-25 00:33:09 +0000.422874][ef6] SetAndroidMediaCodecObjects


time:94958861 enter.

[1060:424] [2022-07-25 00:33:09 +0000.422922][ef6] ClearAndroidMediaCodecObjects


time:94958861 enter.

[1060:424] [2022-07-25 00:33:09 +0000.422972][ef6] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[1060:424] [2022-07-25 00:33:09 +0000.423020][ef6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1060:424] [2022-07-25 00:33:09 +0000.423067][ef6] SetAndroidMediaCodecObjects


time:94958861 enter.

[1060:424] [2022-07-25 00:33:09 +0000.423178][ef6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[1060:424] [2022-07-25 00:33:09 +0000.423229][ef6] ClearAndroidMediaCodecObjects
time:94958861 enter.

[1060:424] [2022-07-25 00:33:09 +0000.423278][ef6] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[1060:424] [2022-07-25 00:33:09 +0000.423334][ef6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[1060:424] [2022-07-25 00:33:09 +0000.423388][ef6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1060:424] [2022-07-25 00:33:09 +0000.423439][ef6] Dispose::unregister webrtc voice


engine
[1060:424] [2022-07-25 00:33:09 +0000.423484][ef6] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[1060:424] [2022-07-25 00:33:09 +0000.423534][ef6] SystemUtil UnInit done


[1083:537] [2022-07-25 00:33:32 +0000.536794][ef6] Register JVM for xplatform util
[1083:541] [2022-07-25 00:33:32 +0000.540569][ef6] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
25 00:33:32 +0000
[1083:541] [2022-07-25 00:33:32 +0000.540607][ef6] set AppID=50011 old AppID=-1
[1083:541] [2022-07-25 00:33:32 +0000.540625][ef6] Init the android object with
jvm:0xb40000705443f540 env:0x6f9cbe4e80 context:0x6f13249a88

[1083:541] [2022-07-25 00:33:32 +0000.540658][ef6] SetAndroidMediaCodecObjects


time:94981978 enter.

[1083:541] [2022-07-25 00:33:32 +0000.540695][ef6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1083:541] [2022-07-25 00:33:32 +0000.540731][ef6] SetAndroidMediaCodecObjects


time:94981978 enter.

[1083:541] [2022-07-25 00:33:32 +0000.540764][ef6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000705443f540
[1083:542] [2022-07-25 00:33:32 +0000.540799][ef6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000705443f540 address:0x6e70b5c760
[1083:542] [2022-07-25 00:33:32 +0000.540832][ef6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000705443f540
address:0x6e70b5c760
[1083:542] [2022-07-25 00:33:32 +0000.540864][ef6] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[1083:542] [2022-07-25 00:33:32 +0000.540897][ef6] Set the android objects with


jvm:0xb40000705443f540 env:0x6f9cbe4e80 context:0x6f13249a88

[1083:542] [2022-07-25 00:33:32 +0000.540931][ef6] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6f9cbe4e80
[1083:542] [2022-07-25 00:33:32 +0000.540970][ef6] SystemUtil Init done
[1083:542] [2022-07-25 00:33:32 +0000.541289][ef6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[1083:542] [2022-07-25 00:33:32 +0000.541462][ef6] MediaFilterCamera
[1083:542] [2022-07-25 00:33:32 +0000.541526][ef6] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[1083:542] [2022-07-25 00:33:32 +0000.541623][ef6] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1083:542] [2022-07-25 00:33:32 +0000.541652][ef6] Recording session using default
bitrate support by app:31457280
[1083:542] [2022-07-25 00:33:32 +0000.541659][47a4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6eb178a040
[1083:542] [2022-07-25 00:33:32 +0000.541728][47a4] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1083:543] [2022-07-25 00:33:32 +0000.541818][ef6] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1083:543] [2022-07-25 00:33:32 +0000.542404][ef6] Error(ini.cc:191): Open the file
failed. error:2
[1083:543] [2022-07-25 00:33:32 +0000.542434][ef6]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[1083:543] [2022-07-25 00:33:32 +0000.542451][ef6] The device model: m2012k11ag
usingSoftwareAEC value: 0
[1083:545] [2022-07-25 00:33:32 +0000.544453][ef6] Error(ini.cc:191): Open the file
failed. error:2
[1083:545] [2022-07-25 00:33:32 +0000.544497][ef6]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[1083:545] [2022-07-25 00:33:32 +0000.544523][ef6] The device model: m2012k11ag
usingHardwareAEC value: 0
[1083:545] [2022-07-25 00:33:32 +0000.544568][ef6] The machine device: m2012k11ag
usingHardwareAEC value: 0
[1083:545] [2022-07-25 00:33:32 +0000.544601][ef6] Using Default AEC type: software
AEC
[1083:546] [2022-07-25 00:33:32 +0000.545597][ef6] The device model: m2012k11ag
enum value: 0
[1083:547] [2022-07-25 00:33:32 +0000.546157][ef6] GetMachineModel is M2012K11AG
[1083:547] [2022-07-25 00:33:32 +0000.546251][ef6] GetMachineInfo: M2012K11AG
[1083:547] [2022-07-25 00:33:32 +0000.546270][ef6] Construct BeautifyReader
begin...
[1083:547] [2022-07-25 00:33:32 +0000.546287][ef6] dumpStickerRgba:0
dumpStickerYuv:0
[1083:547] [2022-07-25 00:33:32 +0000.546306][ef6] Construct BeautifyReader done.
[1083:550] [2022-07-25 00:33:32 +0000.549044][ef6] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[1083:550] [2022-07-25 00:33:32 +0000.549116][ef6] AppDeviceManager telnet server
for statistics started......
[1083:550] [2022-07-25 00:33:32 +0000.549195][47a7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f0c4602a0
[1083:550] [2022-07-25 00:33:32 +0000.549569][ef6] CpuOverloadDetect time:94981987
enter.

[1083:550] [2022-07-25 00:33:32 +0000.549643][ef6] CpuOverloadDetect leave. expire


time = 0 ms

[1083:551] [2022-07-25 00:33:32 +0000.549970][ef6] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[1083:551] [2022-07-25 00:33:32 +0000.550008][ef6] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[1083:551] [2022-07-25 00:33:32 +0000.550147][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1083:551] [2022-07-25 00:33:32 +0000.550151][47a8] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f8749c4c0
[1083:551] [2022-07-25 00:33:32 +0000.550420][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1083:551] [2022-07-25 00:33:32 +0000.550601][ef6] CreatePlatformSpecificObjects:
[1083:551] [2022-07-25 00:33:32 +0000.550628][ef6] audio device use opensle input
and opensl output
[1083:551] [2022-07-25 00:33:32 +0000.550644][ef6] Create OpenSLES output module
with java VM support.

[1083:551] [2022-07-25 00:33:32 +0000.550716][ef6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1083:552] [2022-07-25 00:33:32 +0000.550820][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1083:552] [2022-07-25 00:33:32 +0000.550915][ef6] Create OpenSLES output module
with buffer num:1

[1083:552] [2022-07-25 00:33:32 +0000.550980][ef6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1083:552] [2022-07-25 00:33:32 +0000.551058][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1083:552] [2022-07-25 00:33:32 +0000.551143][ef6] Create OpenSLES input module
with java VM support.

[1083:552] [2022-07-25 00:33:32 +0000.551167][ef6] Create OpenSLES input module


with buffer num:1

[1083:552] [2022-07-25 00:33:32 +0000.551183][ef6] Error(trace.cc:40): Init the


output and input for audio device template.
[1083:552] [2022-07-25 00:33:32 +0000.551201][ef6] Init the output device.
[1083:552] [2022-07-25 00:33:32 +0000.551212][ef6] Init the opensl input.
[1083:552] [2022-07-25 00:33:32 +0000.551240][ef6] AppDeviceManager get setting
samplerate: 0
[1083:552] [2022-07-25 00:33:32 +0000.551408][ef6] The device model: m2012k11ag
enum value: 0
[1083:552] [2022-07-25 00:33:32 +0000.551661][ef6] The device model: m2012k11ag
enum value: 0
[1083:552] [2022-07-25 00:33:32 +0000.551679][ef6] Set the sample rate to be:48000

[1083:552] [2022-07-25 00:33:32 +0000.551689][ef6] Enable the recording stereo:0


[1083:552] [2022-07-25 00:33:32 +0000.551699][ef6] Set the playout as stereo:1
[1083:552] [2022-07-25 00:33:32 +0000.551709][ef6] Init the microphone.
[1083:553] [2022-07-25 00:33:32 +0000.551989][ef6] Update the recording sample rate
to be: 48000
[1083:553] [2022-07-25 00:33:32 +0000.552020][ef6] Init the speaker.
[1083:553] [2022-07-25 00:33:32 +0000.552036][ef6] Low latency buffer size:144 low
sample rate:48000
[1083:553] [2022-07-25 00:33:32 +0000.552231][ef6] Using 1 x 10ms for an audio
frame.

[1083:556] [2022-07-25 00:33:32 +0000.554979][ef6] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[1083:556] [2022-07-25 00:33:32 +0000.555054][ef6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1083:556] [2022-07-25 00:33:32 +0000.555074][ef6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1083:559] [2022-07-25 00:33:32 +0000.558763][ef6] The device model:m2012k11ag

[1083:560] [2022-07-25 00:33:32 +0000.558821][ef6] speaker output factor:100


defaultFactor: 100

[1083:560] [2022-07-25 00:33:32 +0000.558833][ef6] headset output factor:100


defaultFactor: 100

[1083:560] [2022-07-25 00:33:32 +0000.559037][ef6] AppDeviceManagerStart finished.


[1083:560] [2022-07-25 00:33:32 +0000.559058][ef6] AppDeviceManagerStartMic::mic
status is off
[1083:560] [2022-07-25 00:33:32 +0000.559111][ef6] AppDeviceManagerStartMic update
aec type: 2

[1083:560] [2022-07-25 00:33:32 +0000.559127][ef6] AppDeviceManagerStartMic update


voiceChangeMode: 4

[1083:560] [2022-07-25 00:33:32 +0000.559137][ef6]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[1083:560] [2022-07-25 00:33:32 +0000.559165][ef6]
AudioDeviceDataHandler::StartMicProcess

[1083:560] [2022-07-25 00:33:32 +0000.559257][ef6] Try to start webrtc recording


device.

[1083:560] [2022-07-25 00:33:32 +0000.559274][ef6] StartRecording. threadID:3830

[1083:560] [2022-07-25 00:33:32 +0000.559305][ef6] default mode: Set the recording


mode to voice communication to enable HW AEC .

[1083:560] [2022-07-25 00:33:32 +0000.559319][ef6] Set the recording mode before


getSetting: 4
[1083:560] [2022-07-25 00:33:32 +0000.559334][ef6] Set the recording mode after
getSetting: 1
[1083:560] [2022-07-25 00:33:32 +0000.559406][47a9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[1083:606] [2022-07-25 00:33:32 +0000.605256][ef6] StartRecording finished.

[1083:606] [2022-07-25 00:33:32 +0000.605375][ef6] audio: start the audio mic


checker timer.

[1083:606] [2022-07-25 00:33:32 +0000.605685][ef6] machine model :poco


[1083:606] [2022-07-25 00:33:32 +0000.605714][ef6] Support this machine model :poco
[1083:606] [2022-07-25 00:33:32 +0000.605780][ef6] global inited! current sdk
version: 07-20-936c45f
[1083:800] [2022-07-25 00:33:32 +0000.799480][23d6]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[1083:800] [2022-07-25 00:33:32 +0000.799730][47a5] MediaFilterCamera, recording
file context:0x6f7a7d9f00 input texture:12
[1083:800] [2022-07-25 00:33:32 +0000.799775][47a5] GLESContext:
[1083:801] [2022-07-25 00:33:32 +0000.799824][47a5] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[1083:801] [2022-07-25 00:33:32 +0000.800291][47a5] The result of creation:
0x6f0c470000
[1083:801] [2022-07-25 00:33:32 +0000.800345][47a5] The result of
eglCreatePbufferSurface is: 0x6f0c470280
[1083:801] [2022-07-25 00:33:32 +0000.800405][23d6]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6f7a7d9f00 input_texture: 12
[1084:171] [2022-07-25 00:33:33 +0000.170138][47a9] haveEnoughProcessedData
internalAudioStream.length: 10
[1084:874] [2022-07-25 00:33:33 +0000.873125][47a9] Run AGC when audioType = 0
[1085:889] [2022-07-25 00:33:34 +0000.888777][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1086:872] [2022-07-25 00:33:35 +0000.871394][47aa] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1086:872] [2022-07-25 00:33:35 +0000.871592][47aa] _deviceSampleRate:48000

[1086:877] [2022-07-25 00:33:35 +0000.876772][47a9] Run AGC when audioType = 0


[1086:878] [2022-07-25 00:33:35 +0000.876930][47a9]
AudioDeviceDataHandler::MixAndSendOutFrame
[1087:605] [2022-07-25 00:33:36 +0000.603863][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1087:608] [2022-07-25 00:33:36 +0000.607329][26fe]
monitorTime:4002totalDuration:3940
[1088:871] [2022-07-25 00:33:37 +0000.870747][47a9] Run AGC when audioType = 0
[1089:322] [2022-07-25 00:33:38 +0000.321302][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1090:875] [2022-07-25 00:33:39 +0000.874747][47a9] Run AGC when audioType = 0
[1090:876] [2022-07-25 00:33:39 +0000.875127][47a9]
AudioDeviceDataHandler::MixAndSendOutFrame
[1091:040] [2022-07-25 00:33:40 +0000.39386][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1092:764] [2022-07-25 00:33:41 +0000.763678][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1092:875] [2022-07-25 00:33:41 +0000.874522][47a9] Run AGC when audioType = 0
[1094:486] [2022-07-25 00:33:43 +0000.485212][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1094:875] [2022-07-25 00:33:43 +0000.874285][47a9] Run AGC when audioType = 0
[1094:875] [2022-07-25 00:33:43 +0000.874391][47a9]
AudioDeviceDataHandler::MixAndSendOutFrame
[1096:207] [2022-07-25 00:33:45 +0000.206222][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1096:872] [2022-07-25 00:33:45 +0000.871388][47aa] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1096:872] [2022-07-25 00:33:45 +0000.871559][47aa] _deviceSampleRate:48000

[1096:873] [2022-07-25 00:33:45 +0000.871949][47a9] Run AGC when audioType = 0


[1097:925] [2022-07-25 00:33:46 +0000.924044][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1098:873] [2022-07-25 00:33:47 +0000.872794][47a9] Run AGC when audioType = 0
[1098:874] [2022-07-25 00:33:47 +0000.873033][47a9]
AudioDeviceDataHandler::MixAndSendOutFrame
[1099:647] [2022-07-25 00:33:48 +0000.646499][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1100:872] [2022-07-25 00:33:49 +0000.871548][47a9] Run AGC when audioType = 0
[1101:365] [2022-07-25 00:33:50 +0000.363970][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1102:876] [2022-07-25 00:33:51 +0000.875198][47a9] Run AGC when audioType = 0
[1102:876] [2022-07-25 00:33:51 +0000.875475][47a9]
AudioDeviceDataHandler::MixAndSendOutFrame
[1103:092] [2022-07-25 00:33:52 +0000.91812][47a9] haveEnoughProcessedData
internalAudioStream.length: 20
[1104:811] [2022-07-25 00:33:53 +0000.810713][47a9] haveEnoughProcessedData
internalAudioStream.length: 20
[1104:876] [2022-07-25 00:33:53 +0000.875771][47a9] Run AGC when audioType = 0
[1106:534] [2022-07-25 00:33:55 +0000.533730][47a9] haveEnoughProcessedData
internalAudioStream.length: 20
[1106:872] [2022-07-25 00:33:55 +0000.871217][47aa] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1106:872] [2022-07-25 00:33:55 +0000.871429][47aa] _deviceSampleRate:48000

[1106:872] [2022-07-25 00:33:55 +0000.871591][47a9] Run AGC when audioType = 0


[1106:873] [2022-07-25 00:33:55 +0000.872011][47a9]
AudioDeviceDataHandler::MixAndSendOutFrame
[1108:259] [2022-07-25 00:33:57 +0000.258234][47a9] haveEnoughProcessedData
internalAudioStream.length: 20
[1108:873] [2022-07-25 00:33:57 +0000.872504][47a9] Run AGC when audioType = 0
[1109:972] [2022-07-25 00:33:58 +0000.971700][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1110:874] [2022-07-25 00:33:59 +0000.873574][47a9] Run AGC when audioType = 0
[1110:875] [2022-07-25 00:33:59 +0000.873845][47a9]
AudioDeviceDataHandler::MixAndSendOutFrame
[1111:692] [2022-07-25 00:34:00 +0000.691376][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1112:874] [2022-07-25 00:34:01 +0000.873707][47a9] Run AGC when audioType = 0
[1113:415] [2022-07-25 00:34:02 +0000.414446][47a9] haveEnoughProcessedData
internalAudioStream.length: 10
[1114:875] [2022-07-25 00:34:03 +0000.874236][47a9] Run AGC when audioType = 0
[1114:875] [2022-07-25 00:34:03 +0000.874738][47a9]
AudioDeviceDataHandler::MixAndSendOutFrame
[1115:134] [2022-07-25 00:34:04 +0000.133278][47a9] haveEnoughProcessedData
internalAudioStream.length: 10
[1116:857] [2022-07-25 00:34:05 +0000.856202][47a9] haveEnoughProcessedData
internalAudioStream.length: 20
[1116:872] [2022-07-25 00:34:05 +0000.871098][47aa] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1116:872] [2022-07-25 00:34:05 +0000.871431][47aa] _deviceSampleRate:48000

[1116:873] [2022-07-25 00:34:05 +0000.872158][47a9] Run AGC when audioType = 0


[1118:574] [2022-07-25 00:34:07 +0000.573709][47a9] haveEnoughProcessedData
internalAudioStream.length: 10
[1118:878] [2022-07-25 00:34:07 +0000.877191][47a9] Run AGC when audioType = 0
[1118:878] [2022-07-25 00:34:07 +0000.877405][47a9]
AudioDeviceDataHandler::MixAndSendOutFrame
[1120:293] [2022-07-25 00:34:09 +0000.292290][47a9] haveEnoughProcessedData
internalAudioStream.length: 10
[1120:873] [2022-07-25 00:34:09 +0000.872434][47a9] Run AGC when audioType = 0
[1122:023] [2022-07-25 00:34:11 +0000.22607][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1122:875] [2022-07-25 00:34:11 +0000.874287][47a9] Run AGC when audioType = 0
[1122:875] [2022-07-25 00:34:11 +0000.874524][47a9]
AudioDeviceDataHandler::MixAndSendOutFrame
[1123:746] [2022-07-25 00:34:12 +0000.744893][47a9] haveEnoughProcessedData
internalAudioStream.length: 0
[1124:877] [2022-07-25 00:34:13 +0000.876038][47a9] Run AGC when audioType = 0
[1125:475] [2022-07-25 00:34:14 +0000.474520][47a9] haveEnoughProcessedData
internalAudioStream.length: 20
[1126:872] [2022-07-25 00:34:15 +0000.871059][47aa] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1126:872] [2022-07-25 00:34:15 +0000.871237][47aa] _deviceSampleRate:48000

[1126:874] [2022-07-25 00:34:15 +0000.872858][47a9] Run AGC when audioType = 0


[1126:874] [2022-07-25 00:34:15 +0000.873015][47a9]
AudioDeviceDataHandler::MixAndSendOutFrame
[1127:197] [2022-07-25 00:34:16 +0000.196032][47a9] haveEnoughProcessedData
internalAudioStream.length: 20
[1128:052] [2022-07-25 00:34:17 +0000.51381][ef6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[1128:052] [2022-07-25 00:34:17 +0000.51627][ef6] ~MediaFilterCamera time:95026489
enter.

[1128:052] [2022-07-25 00:34:17 +0000.51767][ef6] StopPullFrameAndWriteMp4


time:95026489 enter.

[1128:053] [2022-07-25 00:34:17 +0000.52762][47a4] stop recording


[1128:054] [2022-07-25 00:34:17 +0000.52796][47a4] we have stopped recording before
[1128:054] [2022-07-25 00:34:17 +0000.53345][ef6] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[1128:055] [2022-07-25 00:34:17 +0000.54461][ef6] DestroyPipelineAndFilters


time:95026492 enter.

[1128:055] [2022-07-25 00:34:17 +0000.54536][ef6] DestroyPipelineAndFilters leave.


expire time = 0 ms

[1128:055] [2022-07-25 00:34:17 +0000.54579][ef6] AppDeviceManagerStopMic

[1128:055] [2022-07-25 00:34:17 +0000.54668][ef6] AppDeviceManagerStopMic::mic


status is on
[1128:055] [2022-07-25 00:34:17 +0000.54714][ef6] Try to stop webrtc device.

[1128:055] [2022-07-25 00:34:17 +0000.54748][ef6] Set record state to


stopped.threadID:3830

[1128:103] [2022-07-25 00:34:17 +0000.102320][ef6] Try to destory the


recorder.threadID:3830

[1128:327] [2022-07-25 00:34:17 +0000.326024][ef6] DestroyAudioRecorder:


[1128:327] [2022-07-25 00:34:17 +0000.326197][ef6] Cleanup the buffer queue in the
recorder.
[1128:327] [2022-07-25 00:34:17 +0000.326292][ef6] Destroy the recorder.

[1128:330] [2022-07-25 00:34:17 +0000.329071][ef6] StopRecording finished.

[1128:330] [2022-07-25 00:34:17 +0000.329201][ef6] The stop recording success.

[1128:330] [2022-07-25 00:34:17 +0000.329253][ef6]


AudioDeviceDataHandler::StopMicProcess

[1128:332] [2022-07-25 00:34:17 +0000.331716][ef6] AppDeviceManager stop.

[1128:333] [2022-07-25 00:34:17 +0000.331901][ef6] Rlease the webrtc device object.

[1128:338] [2022-07-25 00:34:17 +0000.337022][ef6] OpenSlesInput destruct.

[1128:338] [2022-07-25 00:34:17 +0000.337163][ef6] OpenSlesOutput destruct.

[1128:343] [2022-07-25 00:34:17 +0000.342209][ef6] EventDispatchServerScope


destruct
[1128:343] [2022-07-25 00:34:17 +0000.342312][ef6]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[1128:343] [2022-07-25 00:34:17 +0000.342404][ef6] ~AudioDeviceDataHandler

[1128:346] [2022-07-25 00:34:17 +0000.345039][ef6] AppDeviceManagerDestruct.

[1128:346] [2022-07-25 00:34:17 +0000.345111][ef6] ~AppDeviceManager:


[1128:346] [2022-07-25 00:34:17 +0000.345202][ef6] ~CpuOverloadDetect time:95026783
enter.

[1128:346] [2022-07-25 00:34:17 +0000.345649][ef6] ~CpuOverloadDetect leave.


expire time = 0 ms

[1128:348] [2022-07-25 00:34:17 +0000.347145][ef6] Destruct BeautifyReader begin...


[1128:348] [2022-07-25 00:34:17 +0000.347215][ef6] Destruct BeautifyReader done.
[1128:348] [2022-07-25 00:34:17 +0000.347281][ef6] ~MediaFilterCamera leave.
expire time = 296 ms

[1128:348] [2022-07-25 00:34:17 +0000.347514][ef6] ~GLESContext:


[1128:349] [2022-07-25 00:34:17 +0000.348726][ef6] GLESContext destruct finish.
[1128:350] [2022-07-25 00:34:17 +0000.348798][ef6] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[1128:350] [2022-07-25 00:34:17 +0000.349132][ef6] global uninited!
[1128:350] [2022-07-25 00:34:17 +0000.349573][ef6] clear AppID 50011
[1128:350] [2022-07-25 00:34:17 +0000.349633][ef6] UnRegister JVM for Xplatform
util
[1128:350] [2022-07-25 00:34:17 +0000.349687][ef6] Dispose::unregister webrtc video
engine
[1128:350] [2022-07-25 00:34:17 +0000.349733][ef6] Init the android object with
jvm:0x0 env:0x0 context:0x0

[1128:350] [2022-07-25 00:34:17 +0000.349789][ef6] SetAndroidMediaCodecObjects


time:95026787 enter.

[1128:351] [2022-07-25 00:34:17 +0000.349881][ef6] ClearAndroidMediaCodecObjects


time:95026788 enter.

[1128:351] [2022-07-25 00:34:17 +0000.349921][ef6] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[1128:351] [2022-07-25 00:34:17 +0000.349969][ef6] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[1128:351] [2022-07-25 00:34:17 +0000.350016][ef6] SetAndroidMediaCodecObjects


time:95026788 enter.

[1128:351] [2022-07-25 00:34:17 +0000.350063][ef6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[1128:351] [2022-07-25 00:34:17 +0000.350097][ef6] ClearAndroidMediaCodecObjects
time:95026788 enter.

[1128:351] [2022-07-25 00:34:17 +0000.350143][ef6] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[1128:351] [2022-07-25 00:34:17 +0000.350218][ef6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[1128:351] [2022-07-25 00:34:17 +0000.350413][ef6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1128:351] [2022-07-25 00:34:17 +0000.350466][ef6] Dispose::unregister webrtc voice


engine
[1128:351] [2022-07-25 00:34:17 +0000.350511][ef6] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[1128:351] [2022-07-25 00:34:17 +0000.350563][ef6] SystemUtil UnInit done


[1925:882] [2022-07-25 00:47:34 +0000.881304][ef6] Register JVM for xplatform util
[1925:892] [2022-07-25 00:47:34 +0000.890960][ef6] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
25 00:47:34 +0000
[1925:892] [2022-07-25 00:47:34 +0000.891027][ef6] set AppID=50011 old AppID=-1
[1925:892] [2022-07-25 00:47:34 +0000.891070][ef6] Init the android object with
jvm:0xb40000705443f540 env:0x6f9cbe4e80 context:0x6f13249a88

[1925:892] [2022-07-25 00:47:34 +0000.891084][ef6] SetAndroidMediaCodecObjects


time:95824329 enter.

[1925:892] [2022-07-25 00:47:34 +0000.891125][ef6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1925:892] [2022-07-25 00:47:34 +0000.891137][ef6] SetAndroidMediaCodecObjects


time:95824329 enter.

[1925:892] [2022-07-25 00:47:34 +0000.891173][ef6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000705443f540
[1925:892] [2022-07-25 00:47:34 +0000.891186][ef6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000705443f540 address:0x6e70b5c760
[1925:892] [2022-07-25 00:47:34 +0000.891197][ef6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000705443f540
address:0x6e70b5c760
[1925:892] [2022-07-25 00:47:34 +0000.891207][ef6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1925:892] [2022-07-25 00:47:34 +0000.891241][ef6] Set the android objects with


jvm:0xb40000705443f540 env:0x6f9cbe4e80 context:0x6f13249a88

[1925:892] [2022-07-25 00:47:34 +0000.891252][ef6] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6f9cbe4e80
[1925:892] [2022-07-25 00:47:34 +0000.891265][ef6] SystemUtil Init done
[1925:892] [2022-07-25 00:47:34 +0000.891560][ef6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[1925:892] [2022-07-25 00:47:34 +0000.891683][ef6] MediaFilterCamera
[1925:892] [2022-07-25 00:47:34 +0000.891709][ef6] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[1925:893] [2022-07-25 00:47:34 +0000.891803][ef6] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1925:893] [2022-07-25 00:47:34 +0000.891825][ef6] Recording session using default
bitrate support by app:31457280
[1925:893] [2022-07-25 00:47:34 +0000.892351][5ec2] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6eb178a040
[1925:893] [2022-07-25 00:47:34 +0000.892443][5ec2] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1925:893] [2022-07-25 00:47:34 +0000.892511][ef6] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1925:894] [2022-07-25 00:47:34 +0000.893273][ef6] Error(ini.cc:191): Open the file
failed. error:2
[1925:894] [2022-07-25 00:47:34 +0000.893309][ef6]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[1925:894] [2022-07-25 00:47:34 +0000.893330][ef6] The device model: m2012k11ag
usingSoftwareAEC value: 0
[1925:896] [2022-07-25 00:47:34 +0000.895455][ef6] Error(ini.cc:191): Open the file
failed. error:2
[1925:896] [2022-07-25 00:47:34 +0000.895490][ef6]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[1925:896] [2022-07-25 00:47:34 +0000.895521][ef6] The device model: m2012k11ag
usingHardwareAEC value: 0
[1925:896] [2022-07-25 00:47:34 +0000.895542][ef6] The machine device: m2012k11ag
usingHardwareAEC value: 0
[1925:896] [2022-07-25 00:47:34 +0000.895554][ef6] Using Default AEC type: software
AEC
[1925:897] [2022-07-25 00:47:34 +0000.896316][ef6] The device model: m2012k11ag
enum value: 0
[1925:897] [2022-07-25 00:47:34 +0000.896547][ef6] GetMachineModel is M2012K11AG
[1925:897] [2022-07-25 00:47:34 +0000.896566][ef6] GetMachineInfo: M2012K11AG
[1925:897] [2022-07-25 00:47:34 +0000.896576][ef6] Construct BeautifyReader
begin...
[1925:897] [2022-07-25 00:47:34 +0000.896586][ef6] dumpStickerRgba:0
dumpStickerYuv:0
[1925:897] [2022-07-25 00:47:34 +0000.896619][ef6] Construct BeautifyReader done.
[1925:900] [2022-07-25 00:47:34 +0000.899285][ef6] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[1925:900] [2022-07-25 00:47:34 +0000.899342][ef6] AppDeviceManager telnet server
for statistics started......
[1925:900] [2022-07-25 00:47:34 +0000.899412][5ec5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f0c4609a0
[1925:900] [2022-07-25 00:47:34 +0000.899776][ef6] CpuOverloadDetect time:95824337
enter.
[1925:901] [2022-07-25 00:47:34 +0000.899834][ef6] CpuOverloadDetect leave. expire
time = 1 ms

[1925:901] [2022-07-25 00:47:34 +0000.899865][5ec6] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6f8749ca00
[1925:901] [2022-07-25 00:47:34 +0000.900137][ef6] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[1925:901] [2022-07-25 00:47:34 +0000.900155][ef6] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[1925:901] [2022-07-25 00:47:34 +0000.900309][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1925:901] [2022-07-25 00:47:34 +0000.900547][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1925:901] [2022-07-25 00:47:34 +0000.900657][ef6] CreatePlatformSpecificObjects:
[1925:901] [2022-07-25 00:47:34 +0000.900679][ef6] audio device use opensle input
and opensl output
[1925:901] [2022-07-25 00:47:34 +0000.900694][ef6] Create OpenSLES output module
with java VM support.

[1925:901] [2022-07-25 00:47:34 +0000.900757][ef6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1925:902] [2022-07-25 00:47:34 +0000.900828][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1925:902] [2022-07-25 00:47:34 +0000.900912][ef6] Create OpenSLES output module
with buffer num:1

[1925:902] [2022-07-25 00:47:34 +0000.900981][ef6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1925:902] [2022-07-25 00:47:34 +0000.901054][ef6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1925:902] [2022-07-25 00:47:34 +0000.901132][ef6] Create OpenSLES input module
with java VM support.

[1925:902] [2022-07-25 00:47:34 +0000.901155][ef6] Create OpenSLES input module


with buffer num:1

[1925:902] [2022-07-25 00:47:34 +0000.901171][ef6] Error(trace.cc:40): Init the


output and input for audio device template.
[1925:902] [2022-07-25 00:47:34 +0000.901198][ef6] Init the output device.

[1925:902] [2022-07-25 00:47:34 +0000.901209][ef6] Init the opensl input.


[1925:902] [2022-07-25 00:47:34 +0000.901246][ef6] AppDeviceManager get setting
samplerate: 0
[1925:902] [2022-07-25 00:47:34 +0000.901389][ef6] The device model: m2012k11ag
enum value: 0
[1925:902] [2022-07-25 00:47:34 +0000.901634][ef6] The device model: m2012k11ag
enum value: 0
[1925:902] [2022-07-25 00:47:34 +0000.901650][ef6] Set the sample rate to be:48000

[1925:902] [2022-07-25 00:47:34 +0000.901661][ef6] Enable the recording stereo:0


[1925:902] [2022-07-25 00:47:34 +0000.901698][ef6] Set the playout as stereo:1
[1925:902] [2022-07-25 00:47:34 +0000.901707][ef6] Init the microphone.
[1925:904] [2022-07-25 00:47:34 +0000.903613][ef6] Update the recording sample rate
to be: 48000
[1925:904] [2022-07-25 00:47:34 +0000.903658][ef6] Init the speaker.
[1925:904] [2022-07-25 00:47:34 +0000.903745][ef6] Low latency buffer size:144 low
sample rate:48000
[1925:905] [2022-07-25 00:47:34 +0000.904057][ef6] Using 1 x 10ms for an audio
frame.

[1925:908] [2022-07-25 00:47:34 +0000.907322][ef6] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[1925:908] [2022-07-25 00:47:34 +0000.907410][ef6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1925:908] [2022-07-25 00:47:34 +0000.907457][ef6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1925:912] [2022-07-25 00:47:34 +0000.911764][ef6] The device model:m2012k11ag

[1925:913] [2022-07-25 00:47:34 +0000.911817][ef6] speaker output factor:100


defaultFactor: 100

[1925:913] [2022-07-25 00:47:34 +0000.911835][ef6] headset output factor:100


defaultFactor: 100

[1925:913] [2022-07-25 00:47:34 +0000.912157][ef6] AppDeviceManagerStart finished.


[1925:913] [2022-07-25 00:47:34 +0000.912184][ef6] AppDeviceManagerStartMic::mic
status is off
[1925:913] [2022-07-25 00:47:34 +0000.912233][ef6] AppDeviceManagerStartMic update
aec type: 2

[1925:913] [2022-07-25 00:47:34 +0000.912254][ef6] AppDeviceManagerStartMic update


voiceChangeMode: 4

[1925:913] [2022-07-25 00:47:34 +0000.912269][ef6]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[1925:913] [2022-07-25 00:47:34 +0000.912300][ef6]
AudioDeviceDataHandler::StartMicProcess

[1925:913] [2022-07-25 00:47:34 +0000.912379][ef6] Try to start webrtc recording


device.

[1925:913] [2022-07-25 00:47:34 +0000.912404][ef6] StartRecording. threadID:3830

[1925:913] [2022-07-25 00:47:34 +0000.912407][5ec7] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[1925:913] [2022-07-25 00:47:34 +0000.912461][ef6] default mode: Set the recording
mode to voice communication to enable HW AEC .

[1925:913] [2022-07-25 00:47:34 +0000.912536][ef6] Set the recording mode before


getSetting: 4
[1925:913] [2022-07-25 00:47:34 +0000.912578][ef6] Set the recording mode after
getSetting: 1
[1926:014] [2022-07-25 00:47:35 +0000.13157][ef6] StartRecording finished.

[1926:014] [2022-07-25 00:47:35 +0000.13208][ef6] audio: start the audio mic


checker timer.

[1926:014] [2022-07-25 00:47:35 +0000.13566][ef6] machine model :poco


[1926:014] [2022-07-25 00:47:35 +0000.13596][ef6] Support this machine model :poco
[1926:014] [2022-07-25 00:47:35 +0000.13695][ef6] global inited! current sdk
version: 07-20-936c45f
[1926:242] [2022-07-25 00:47:35 +0000.240942][23d6]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[1926:242] [2022-07-25 00:47:35 +0000.241033][5ec3] MediaFilterCamera, recording
file context:0x6f7a7d9f00 input texture:14
[1926:242] [2022-07-25 00:47:35 +0000.241088][5ec3] GLESContext:
[1926:242] [2022-07-25 00:47:35 +0000.241164][5ec3] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[1926:243] [2022-07-25 00:47:35 +0000.241840][5ec3] The result of creation:
0x6f0c470700
[1926:243] [2022-07-25 00:47:35 +0000.241896][5ec3] The result of
eglCreatePbufferSurface is: 0x6f0c470800
[1926:243] [2022-07-25 00:47:35 +0000.241961][23d6]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6f7a7d9f00 input_texture: 14
[1926:632] [2022-07-25 00:47:35 +0000.631295][5ec7] haveEnoughProcessedData
internalAudioStream.length: 0
[1926:892] [2022-07-25 00:47:35 +0000.890996][5ec7] Run AGC when audioType = 0
[1928:009] [2022-07-25 00:47:37 +0000.7872][ef6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[1928:009] [2022-07-25 00:47:37 +0000.8019][ef6] ~MediaFilterCamera time:95826446
enter.

[1928:009] [2022-07-25 00:47:37 +0000.8044][ef6] StopPullFrameAndWriteMp4


time:95826446 enter.

[1928:011] [2022-07-25 00:47:37 +0000.9965][5ec2] stop recording


[1928:011] [2022-07-25 00:47:37 +0000.10003][5ec2] we have stopped recording before
[1928:011] [2022-07-25 00:47:37 +0000.10050][ef6] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[1928:011] [2022-07-25 00:47:37 +0000.10513][ef6] DestroyPipelineAndFilters


time:95826448 enter.

[1928:011] [2022-07-25 00:47:37 +0000.10543][ef6] DestroyPipelineAndFilters leave.


expire time = 0 ms

[1928:011] [2022-07-25 00:47:37 +0000.10565][ef6] AppDeviceManagerStopMic

[1928:012] [2022-07-25 00:47:37 +0000.11273][ef6] AppDeviceManagerStopMic::mic


status is on
[1928:014] [2022-07-25 00:47:37 +0000.13458][ef6] Try to stop webrtc device.

[1928:014] [2022-07-25 00:47:37 +0000.13750][ef6] Set record state to


stopped.threadID:3830

[1928:067] [2022-07-25 00:47:37 +0000.66299][ef6] Try to destory the


recorder.threadID:3830

[1928:267] [2022-07-25 00:47:37 +0000.266463][ef6] DestroyAudioRecorder:


[1928:267] [2022-07-25 00:47:37 +0000.266610][ef6] Cleanup the buffer queue in the
recorder.
[1928:267] [2022-07-25 00:47:37 +0000.266641][ef6] Destroy the recorder.

[1928:2[000:035] [2022-07-25 03:00:01 +0000.330388][56bc] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
25 03:00:01 +0000
[000:035] [2022-07-25 03:00:01 +0000.330781][56bc] set AppID=50011 old AppID=-1
[000:035] [2022-07-25 03:00:01 +0000.330809][56bc] Init the android object with
jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21458

[000:035] [2022-07-25 03:00:01 +0000.330856][56bc] SetAndroidMediaCodecObjects


time:103732361 enter.

[000:035] [2022-07-25 03:00:01 +0000.330871][56bc] SetAndroidMediaCodecObjects


leave. expire time = 0 ms
[000:035] [2022-07-25 03:00:01 +0000.330897][56bc] SetAndroidMediaCodecObjects
time:103732361 enter.

[000:035] [2022-07-25 03:00:01 +0000.330908][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000705443f540
[000:035] [2022-07-25 03:00:01 +0000.330936][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000705443f540 address:0x6e5cebe760
[000:035] [2022-07-25 03:00:01 +0000.330950][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000705443f540
address:0x6e5cebe760
[000:035] [2022-07-25 03:00:01 +0000.330993][56bc] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:035] [2022-07-25 03:00:01 +0000.331018][56bc] Set the android objects with


jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21458

[000:036] [2022-07-25 03:00:01 +0000.331791][56bc] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6f9cbe4480
[000:036] [2022-07-25 03:00:01 +0000.331832][56bc] SystemUtil Init done
[000:038] [2022-07-25 03:00:01 +0000.333870][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:039] [2022-07-25 03:00:01 +0000.334959][56bc] MediaFilterCamera
[000:039] [2022-07-25 03:00:01 +0000.335001][56bc] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:040] [2022-07-25 03:00:01 +0000.335096][56bc] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:040] [2022-07-25 03:00:01 +0000.335125][56bc] Recording session using default
bitrate support by app:31457280
[000:040] [2022-07-25 03:00:01 +0000.335122][6227] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f0d109c40
[000:040] [2022-07-25 03:00:01 +0000.335343][6227] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:040] [2022-07-25 03:00:01 +0000.335392][56bc] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:040] [2022-07-25 03:00:01 +0000.335804][56bc] Error(ini.cc:191): Open the file
failed. error:2
[000:040] [2022-07-25 03:00:01 +0000.335830][56bc]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:040] [2022-07-25 03:00:01 +0000.335866][56bc] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:042] [2022-07-25 03:00:01 +0000.337804][56bc] Error(ini.cc:191): Open the file
failed. error:2
[000:042] [2022-07-25 03:00:01 +0000.337840][56bc]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:042] [2022-07-25 03:00:01 +0000.337884][56bc] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:042] [2022-07-25 03:00:01 +0000.337899][56bc] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:042] [2022-07-25 03:00:01 +0000.337932][56bc] Using Default AEC type: software
AEC
[000:043] [2022-07-25 03:00:01 +0000.338671][56bc] The device model: m2012k11ag
enum value: 0
[000:043] [2022-07-25 03:00:01 +0000.338936][56bc] GetMachineModel is M2012K11AG
[000:043] [2022-07-25 03:00:01 +0000.338961][56bc] GetMachineInfo: M2012K11AG
[000:043] [2022-07-25 03:00:01 +0000.339001][56bc] Construct BeautifyReader
begin...
[000:043] [2022-07-25 03:00:01 +0000.339022][56bc] dumpStickerRgba:0
dumpStickerYuv:0
[000:043] [2022-07-25 03:00:01 +0000.339048][56bc] Construct BeautifyReader done.
[000:046] [2022-07-25 03:00:01 +0000.341872][56bc] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:046] [2022-07-25 03:00:01 +0000.341890][622c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f0d19a0a0
[000:047] [2022-07-25 03:00:01 +0000.342181][56bc] AppDeviceManager telnet server
for statistics started......
[000:047] [2022-07-25 03:00:01 +0000.342570][56bc] CpuOverloadDetect time:103732373
enter.

[000:047] [2022-07-25 03:00:01 +0000.342643][56bc] CpuOverloadDetect leave. expire


time = 0 ms

[000:047] [2022-07-25 03:00:01 +0000.342649][622d] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6e99074bc0
[000:047] [2022-07-25 03:00:01 +0000.342982][56bc] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:047] [2022-07-25 03:00:01 +0000.343005][56bc] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:048] [2022-07-25 03:00:01 +0000.343181][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:048] [2022-07-25 03:00:01 +0000.343462][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:048] [2022-07-25 03:00:01 +0000.343719][56bc] CreatePlatformSpecificObjects:
[000:048] [2022-07-25 03:00:01 +0000.343755][56bc] audio device use opensle input
and opensl output
[000:048] [2022-07-25 03:00:01 +0000.343795][56bc] Create OpenSLES output module
with java VM support.

[000:048] [2022-07-25 03:00:01 +0000.343861][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:048] [2022-07-25 03:00:01 +0000.343970][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:048] [2022-07-25 03:00:01 +0000.344092][56bc] Create OpenSLES output module
with buffer num:1

[000:049] [2022-07-25 03:00:01 +0000.344187][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:049] [2022-07-25 03:00:01 +0000.344291][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:049] [2022-07-25 03:00:01 +0000.344408][56bc] Create OpenSLES input module
with java VM support.

[000:049] [2022-07-25 03:00:01 +0000.344440][56bc] Create OpenSLES input module


with buffer num:1

[000:049] [2022-07-25 03:00:01 +0000.344489][56bc] Error(trace.cc:40): Init the


output and input for audio device template.
[000:049] [2022-07-25 03:00:01 +0000.344513][56bc] Init the output device.

[000:049] [2022-07-25 03:00:01 +0000.344529][56bc] Init the opensl input.


[000:049] [2022-07-25 03:00:01 +0000.344555][56bc] AppDeviceManager get setting
samplerate: 0
[000:049] [2022-07-25 03:00:01 +0000.344755][56bc] The device model: m2012k11ag
enum value: 0
[000:049] [2022-07-25 03:00:01 +0000.345084][56bc] The device model: m2012k11ag
enum value: 0
[000:050] [2022-07-25 03:00:01 +0000.345124][56bc] Set the sample rate to be:48000
[000:050] [2022-07-25 03:00:01 +0000.345152][56bc] Enable the recording stereo:0
[000:050] [2022-07-25 03:00:01 +0000.345178][56bc] Set the playout as stereo:1
[000:050] [2022-07-25 03:00:01 +0000.345204][56bc] Init the microphone.
[000:050] [2022-07-25 03:00:01 +0000.345627][56bc] Update the recording sample rate
to be: 48000
[000:050] [2022-07-25 03:00:01 +0000.345654][56bc] Init the speaker.
[000:050] [2022-07-25 03:00:01 +0000.345680][56bc] Low latency buffer size:144 low
sample rate:48000
[000:050] [2022-07-25 03:00:01 +0000.345902][56bc] Using 1 x 10ms for an audio
frame.

[000:053] [2022-07-25 03:00:01 +0000.348906][56bc] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:053] [2022-07-25 03:00:01 +0000.349019][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:053] [2022-07-25 03:00:01 +0000.349052][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:057] [2022-07-25 03:00:01 +0000.352987][56bc] The device model:m2012k11ag

[000:057] [2022-07-25 03:00:01 +0000.353042][56bc] speaker output factor:100


defaultFactor: 100

[000:057] [2022-07-25 03:00:01 +0000.353058][56bc] headset output factor:100


defaultFactor: 100

[000:058] [2022-07-25 03:00:01 +0000.353381][56bc] AppDeviceManagerStart finished.


[000:058] [2022-07-25 03:00:01 +0000.353404][56bc] AppDeviceManagerStartMic::mic
status is off
[000:058] [2022-07-25 03:00:01 +0000.353466][56bc] AppDeviceManagerStartMic update
aec type: 2

[000:058] [2022-07-25 03:00:01 +0000.353486][56bc] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:058] [2022-07-25 03:00:01 +0000.353513][56bc]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:058] [2022-07-25 03:00:01 +0000.353537][56bc]
AudioDeviceDataHandler::StartMicProcess

[000:058] [2022-07-25 03:00:01 +0000.353643][56bc] Try to start webrtc recording


device.

[000:058] [2022-07-25 03:00:01 +0000.353667][56bc] StartRecording. threadID:22204

[000:058] [2022-07-25 03:00:01 +0000.353659][622e] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:058] [2022-07-25 03:00:01 +0000.353725][622e] haveEnoughProcessedData
internalAudioStream.length: 0
[000:058] [2022-07-25 03:00:01 +0000.353900][56bc] The machine model:M2012K11AG

[000:058] [2022-07-25 03:00:01 +0000.353939][56bc] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:058] [2022-07-25 03:00:01 +0000.353960][56bc] Set the recording mode before


getSetting: 4
[000:058] [2022-07-25 03:00:01 +0000.353990][56bc] Set the recording mode after
getSetting: 1
[000:084] [2022-07-25 03:00:01 +0000.379393][56bc] StartRecording finished.
[000:084] [2022-07-25 03:00:01 +0000.379443][56bc] audio: start the audio mic
checker timer.

[000:084] [2022-07-25 03:00:01 +0000.379838][56bc] machine model :poco


[000:084] [2022-07-25 03:00:01 +0000.379866][56bc] Support this machine model :poco
[000:092] [2022-07-25 03:00:01 +0000.387520][56bc] global inited! current sdk
version: 07-20-936c45f
[000:147] [2022-07-25 03:00:01 +0000.442321][622f] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:147] [2022-07-25 03:00:01 +0000.442448][622f] _deviceSampleRate:48000

[000:150] [2022-07-25 03:00:01 +0000.445531][622e] Run AGC when audioType = 0


[000:150] [2022-07-25 03:00:01 +0000.445610][622e]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:321] [2022-07-25 03:00:01 +0000.616754][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:321] [2022-07-25 03:00:01 +0000.616851][6228] MediaFilterCamera, recording
file context:0x6f87414800 input texture:21
[000:321] [2022-07-25 03:00:01 +0000.616896][6228] GLESContext:
[000:321] [2022-07-25 03:00:01 +0000.616931][6228] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[000:322] [2022-07-25 03:00:01 +0000.617713][6228] The result of creation:
0x6ea547f600
[000:322] [2022-07-25 03:00:01 +0000.617772][6228] The result of
eglCreatePbufferSurface is: 0x6ea547f700
[000:322] [2022-07-25 03:00:01 +0000.617826][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6f87414800 input_texture: 21
[001:780] [2022-07-25 03:00:03 +0000.75564][5631] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[001:780] [2022-07-25 03:00:03 +0000.75620][5631]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[001:781] [2022-07-25 03:00:03 +0000.76601][5631]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[001:781] [2022-07-25 03:00:03 +0000.76740][6228] operator() time:103734107 enter.

[001:781] [2022-07-25 03:00:03 +0000.76799][6228] MediaFilterCamera, recording


file context:0x6f87414800 input texture:21
[001:783] [2022-07-25 03:00:03 +0000.78659][6228] MicSource: Mic source
created:10x6ea926b700
[001:784] [2022-07-25 03:00:03 +0000.79231][6228] received external audio stream

[001:784] [2022-07-25 03:00:03 +0000.79273][6228] alloc thread: 0x6ea5678700


name:worker1 thread id:474130398384 to Mic_source
[001:784] [2022-07-25 03:00:03 +0000.79298][6228] audio: start the audio sender
thread.

[001:784] [2022-07-25 03:00:03 +0000.79377][6228] construct OpenGLRenderProgram


0x6ea53a5598
[001:784] [2022-07-25 03:00:03 +0000.79437][6228] CropFilter::SetOrientation
orientation: 90
[001:784] [2022-07-25 03:00:03 +0000.79579][6228] filter: filter pipeline construtc
this: 0x6ea906fc00
[001:784] [2022-07-25 03:00:03 +0000.79610][6228] filter: filter pipeline2 update
pattern: 1
[001:784] [2022-07-25 03:00:03 +0000.79666][6228] CameraSource::source_id_:1
[001:784] [2022-07-25 03:00:03 +0000.79690][6228] RecordAudioSource::source_id_:2
[001:784] [2022-07-25 03:00:03 +0000.79909][6228] BindInputFilter 0x6ea5678cc0
this 0x6ea53a57c0
[001:784] [2022-07-25 03:00:03 +0000.79945][6228] BindInputFilter 0x6ea5678e58
this 0x6ea5678fd0
[001:784] [2022-07-25 03:00:03 +0000.79973][6228] BindInputFilter 0x6ea53a57c0
this 0x6ea906fca0
[001:784] [2022-07-25 03:00:03 +0000.80008][6228] setParamentForFilters:
speed:1.000000
[001:784] [2022-07-25 03:00:03 +0000.80027][6228] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[001:784] [2022-07-25 03:00:03 +0000.80048][6228] SetParamForFilter time:103734110
enter.

[001:784] [2022-07-25 03:00:03 +0000.80067][6228] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[001:784] [2022-07-25 03:00:03 +0000.80087][6228] SetParamForFilter: Params video
index is: 0
[001:785] [2022-07-25 03:00:03 +0000.80106][6228] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[001:785] [2022-07-25 03:00:03 +0000.80132][6228] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[001:785] [2022-07-25 03:00:03 +0000.80153][6228] crop filter mode tpye:
citytravelvideo index:0
[001:789] [2022-07-25 03:00:03 +0000.84809][6228]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:789] [2022-07-25 03:00:03 +0000.84887][6228]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:789] [2022-07-25 03:00:03 +0000.84914][6228]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:789] [2022-07-25 03:00:03 +0000.84936][6228]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:789] [2022-07-25 03:00:03 +0000.84985][6228]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:789] [2022-07-25 03:00:03 +0000.85022][6228]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:789] [2022-07-25 03:00:03 +0000.85085][6228]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:790] [2022-07-25 03:00:03 +0000.85140][6228]
Warning(parse_template_json.cc:81): json parament no found the parament
[001:790] [2022-07-25 03:00:03 +0000.85161][6228]
Warning(parse_template_json.cc:81): json parament no found the parament
[001:790] [2022-07-25 03:00:03 +0000.85181][6228]
Warning(parse_template_json.cc:67): json parament no found the parament
[001:790] [2022-07-25 03:00:03 +0000.85199][6228]
Warning(parse_template_json.cc:93): json parament no found the duration
[001:790] [2022-07-25 03:00:03 +0000.85219][6228] SetParamForFilter leave. expire
time = 6 ms

[001:790] [2022-07-25 03:00:03 +0000.85384][6228] OnOutputSizeChanged width 1920


height 1080
[001:790] [2022-07-25 03:00:03 +0000.85419][6228] OpenGLFrameBuffer: width:1920
height:1080
[001:790] [2022-07-25 03:00:03 +0000.85532][6228] OpenGLFrameBuffer: width:1920
height:1080
[001:790] [2022-07-25 03:00:03 +0000.85556][6228] OpenGLFrameBuffer: width:1920
height:1080
[001:790] [2022-07-25 03:00:03 +0000.85575][6228] OpenGLFrameBuffer: width:1920
height:1080
[001:790] [2022-07-25 03:00:03 +0000.85594][6228] OpenGLFrameBuffer: width:1920
height:1080
[001:790] [2022-07-25 03:00:03 +0000.85612][6228] OpenGLFrameBuffer: width:1920
height:1080
[001:790] [2022-07-25 03:00:03 +0000.85651][6228] construct TrivalImageDrawer
0x6ea55cdcc0
[001:790] [2022-07-25 03:00:03 +0000.85693][6228] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x6ea55cdcc0 context 0x6f8743f600
[001:790] [2022-07-25 03:00:03 +0000.85729][6228] setupGLES:
[001:790] [2022-07-25 03:00:03 +0000.86093][6228] OpenGLRenderProgram::Initialize.
[001:791] [2022-07-25 03:00:03 +0000.86176][6228] The version of the OpenGL: OpenGL
ES GLSL ES 3.20
[001:791] [2022-07-25 03:00:03 +0000.86207][6228] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[001:791] [2022-07-25 03:00:03 +0000.86268][6228] Init open gl render: 0x6ea53a5598
[001:791] [2022-07-25 03:00:03 +0000.86308][6228] Fragement shader path:
[001:791] [2022-07-25 03:00:03 +0000.86361][6228] Fragement shader path:
[001:791] [2022-07-25 03:00:03 +0000.86390][6228] create opengl program object.
[001:791] [2022-07-25 03:00:03 +0000.86426][6228] create shader: vertex
[001:791] [2022-07-25 03:00:03 +0000.86670][6228] create shader: fragment
[001:792] [2022-07-25 03:00:03 +0000.87211][622e] haveEnoughProcessedData
internalAudioStream.length: 20
[001:792] [2022-07-25 03:00:03 +0000.87437][622e] On audio frame the broadcast with
timestamp:103734118 samples:480. (1000 frame for one log)

[001:792] [2022-07-25 03:00:03 +0000.88110][6228] Have not extra filter filename!


[001:793] [2022-07-25 03:00:03 +0000.88178][6228] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[001:793] [2022-07-25 03:00:03 +0000.88217][6228] OpenGLRenderProgram::Initialize
success.
[001:793] [2022-07-25 03:00:03 +0000.88311][6228] Setup the OpenGL result:1
[001:793] [2022-07-25 03:00:03 +0000.88530][6227] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4
[001:793] [2022-07-25 03:00:03 +0000.88666][6227] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[001:793] [2022-07-25 03:00:03 +0000.88686][62ab] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f7a62e698
[001:793] [2022-07-25 03:00:03 +0000.88715][6227] 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
[001:793] [2022-07-25 03:00:03 +0000.88758][6227] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4
fileFD: -1
[001:793] [2022-07-25 03:00:03 +0000.89010][6227] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4
is opened successfully
[001:793] [2022-07-25 03:00:03 +0000.89041][6227] setupMediaProcessers:
[001:794] [2022-07-25 03:00:03 +0000.89130][6227]
RecordingSessionInternalSimple:setup media processers.
[001:794] [2022-07-25 03:00:03 +0000.89163][6227] construct AAC encoder
[001:795] [2022-07-25 03:00:03 +0000.90484][6227] H264Encoder creating:
superfast011818
[001:795] [2022-07-25 03:00:03 +0000.90534][6227] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[001:795] [2022-07-25 03:00:03 +0000.90984][6227] H264Encode::GetMachineModel is
M2012K11AG
[001:795] [2022-07-25 03:00:03 +0000.91023][6227] H264Encoder machine_mode
is:M2012K11AG
[001:795] [2022-07-25 03:00:03 +0000.91042][6227] H264Encode::machine size :9
machine_mode:M2012K11AG
[001:795] [2022-07-25 03:00:03 +0000.91061][6227] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[001:795] [2022-07-25 03:00:03 +0000.91081][6227] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[001:796] [2022-07-25 03:00:03 +0000.91101][6227] setupCompressionSession:
[001:796] [2022-07-25 03:00:03 +0000.91121][6227] H264Encode::creating hareware
Encoder
[001:796] [2022-07-25 03:00:03 +0000.91141][6227] AndroidHwAvcEncoder
time:103734122 enter.

[001:796] [2022-07-25 03:00:03 +0000.91278][62a5] Get data in mic source, which has
byte length:1764micAudioStream->length():20
[001:796] [2022-07-25 03:00:03 +0000.91358][6227] AndroidHwAvcEncoder:
g_jvm_encoder_ :0xb40000705443f540 address:0x6e5cebe760
[001:796] [2022-07-25 03:00:03 +0000.91475][6227] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[001:796] [2022-07-25 03:00:03 +0000.91511][6227] The video avc hw codec address is
0x6f0d02bc98
[001:796] [2022-07-25 03:00:03 +0000.91581][6227] AndroidHwAvcEncoder leave.
expire time = 0 ms

[001:796] [2022-07-25 03:00:03 +0000.91615][6227] RegisterEncodeCompleteCallback


time:103734122 enter.

[001:796] [2022-07-25 03:00:03 +0000.91662][62a5] The output timestamp from audio


mixer change:103734118
[001:796] [2022-07-25 03:00:03 +0000.91702][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[001:796] [2022-07-25 03:00:03 +0000.91713][6227] RegisterEncodeCompleteCallback
leave. expire time = 0 ms

[001:796] [2022-07-25 03:00:03 +0000.91793][6227] InitEncode time:103734122 enter.

[001:796] [2022-07-25 03:00:03 +0000.91869][6227] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[001:796] [2022-07-25 03:00:03 +0000.91899][6227] Create time:103734122 enter.

[001:796] [2022-07-25 03:00:03 +0000.91944][6227] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[001:796] [2022-07-25 03:00:03 +0000.91969][6227]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x6e99079f00
[001:808] [2022-07-25 03:00:03 +0000.103138][6227]
supported_type:image/vnd.android.heic
[001:808] [2022-07-25 03:00:03 +0000.103227][6227] supported_type:video/avc
[001:808] [2022-07-25 03:00:03 +0000.103291][6227] name:OMX.qcom.video.encoder.avc
mime:video/avc
[001:808] [2022-07-25 03:00:03 +0000.103321][6227] hwCodecPrefix :OMX.qcom.
[001:808] [2022-07-25 03:00:03 +0000.103340][6227] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[001:808] [2022-07-25 03:00:03 +0000.103360][6227] mediacodec_createCodecByName
time:103734134 enter.

[001:808] [2022-07-25 03:00:03 +0000.103378][6227] WrapAndroidMediaCodec


time:103734134 enter.

[001:808] [2022-07-25 03:00:03 +0000.103481][6227] WrapAndroidMediaCodec leave.


expire time = 0 ms

[001:846] [2022-07-25 03:00:03 +0000.141329][6227] mediacodec_createCodecByName


leave. expire time = 38 ms

[001:846] [2022-07-25 03:00:03 +0000.141395][6227] WrapAndroidMediaFromat


time:103734172 enter.

[001:846] [2022-07-25 03:00:03 +0000.141477][6227] WrapAndroidMediaFromat leave.


expire time = 0 ms

[001:899] [2022-07-25 03:00:03 +0000.194125][6227] Destroy time:103734225 enter.

[001:899] [2022-07-25 03:00:03 +0000.194183][6227] WrapAndroidMediaFromat::


Destroy
[001:899] [2022-07-25 03:00:03 +0000.194226][6227] Destroy leave. expire time = 0
ms
[001:899] [2022-07-25 03:00:03 +0000.194262][6227] ~WrapAndroidMediaFromat
time:103734225 enter.

[001:899] [2022-07-25 03:00:03 +0000.194299][6227] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[001:899] [2022-07-25 03:00:03 +0000.194337][6227] Create leave. expire time = 103


ms

[001:899] [2022-07-25 03:00:03 +0000.194376][6227] isSemiPlanarSupport


time:103734225 enter.

[001:899] [2022-07-25 03:00:03 +0000.194411][6227] H264Encoder isSemiPlanarSupport


[001:899] [2022-07-25 03:00:03 +0000.194449][6227] isSemiPlanarSupport leave.
expire time = 0 ms

[001:899] [2022-07-25 03:00:03 +0000.194465][6227] creat hw H264Encoder success,


isSemiPlanar:1
[001:899] [2022-07-25 03:00:03 +0000.194552][6227] InitEncode leave. expire time =
103 ms

[001:899] [2022-07-25 03:00:03 +0000.194572][6227] H264Encode::created Encoder


[001:899] [2022-07-25 03:00:03 +0000.194587][6227] H264Encode:: H264 encoder
created.
[001:899] [2022-07-25 03:00:03 +0000.194601][6227] H264 encoder created.
[001:899] [2022-07-25 03:00:03 +0000.194616][6227]
RecordingSessionInternalSimple:created avc encoder avc: 0x6f0ced2c00
[001:899] [2022-07-25 03:00:03 +0000.194631][6227] setOutput:
[001:899] [2022-07-25 03:00:03 +0000.194646][6227]
RecordingSessionInternalSimple:encoder set output to muxer!
[001:899] [2022-07-25 03:00:03 +0000.194660][6227] request a key frame
[001:899] [2022-07-25 03:00:03 +0000.194674][6227] H264Encode:: request a key frame
[001:899] [2022-07-25 03:00:03 +0000.194760][6227] setDisplayRotate :90
[001:899] [2022-07-25 03:00:03 +0000.194780][6227] 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
[001:899] [2022-07-25 03:00:03 +0000.194824][6228] StartRecording:
[001:899] [2022-07-25 03:00:03 +0000.194870][62a5] operator(): Set the recording
session in mic source. recording session: 0x6ea5678d00
[001:899] [2022-07-25 03:00:03 +0000.194956][6228] operator() leave. expire time =
118 ms

[001:899] [2022-07-25 03:00:03 +0000.194948][62a3] AF_SpeedFilter audio


0x6ea5678e80 PullFrame
[001:899] [2022-07-25 03:00:03 +0000.195023][62a3]
RecordAudioSource::PullAudioFrame
[001:899] [2022-07-25 03:00:03 +0000.195045][62a3] AF_SpeedFilter::PullFrame eof4
[001:902] [2022-07-25 03:00:03 +0000.197140][62a3]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[001:920] [2022-07-25 03:00:03 +0000.216017][62a3] AF_SpeedFilter audio time,
0x6ea5678e80 rcv time: 103734237
[001:920] [2022-07-25 03:00:03 +0000.216088][62a3] AF_SpeedFilter audio time,
0x6ea5678e80 rcv time: 103734237in_nSamples:441
[001:921] [2022-07-25 03:00:03 +0000.216188][62a3] resampled_data_size:0
[001:964] [2022-07-25 03:00:03 +0000.259438][6228]
MediaFilterCamera::NeedProcessTexture
[001:964] [2022-07-25 03:00:03 +0000.259532][6228] begine recode to first frame
spend time:183
[001:964] [2022-07-25 03:00:03 +0000.259567][6228] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x6ea5678b80
[001:965] [2022-07-25 03:00:03 +0000.260438][6228] blur_distance_:0
[001:965] [2022-07-25 03:00:03 +0000.260469][6228] blur_direction_angle_:-90
[001:965] [2022-07-25 03:00:03 +0000.260504][6228]
GPUImageProcessing::SetOrientation orientation: 90
[001:965] [2022-07-25 03:00:03 +0000.260536][6228] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[001:965] [2022-07-25 03:00:03 +0000.260598][6228] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[001:965] [2022-07-25 03:00:03 +0000.260714][6228] GPUImageProcessing: input frame
width1920 X 1080
[001:966] [2022-07-25 03:00:03 +0000.261617][6228] drawYUV420 render
OpenGLRenderProgram:0x6ea53a5598
[001:967] [2022-07-25 03:00:03 +0000.262770][6228] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[001:967] [2022-07-25 03:00:03 +0000.262878][6228] CropFilter::OnVideoFrame
outputtexture :23
[001:967] [2022-07-25 03:00:03 +0000.262919][6228] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[001:969] [2022-07-25 03:00:03 +0000.264228][6228] The read pixel from buffer take:
2 width:1920 height:1080 frameType:0
[001:993] [2022-07-25 03:00:03 +0000.288438][6228] drawYUV420 render
OpenGLRenderProgram:0x6ea53a5598
[001:999] [2022-07-25 03:00:03 +0000.294556][6228] The convert RGB to YUV take 4
[001:999] [2022-07-25 03:00:03 +0000.295064][6228] FilterPipeline2::OnVideoFrame
pts 27 last_video_timestamp_ 27
[002:000] [2022-07-25 03:00:03 +0000.295175][6228]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[002:001] [2022-07-25 03:00:03 +0000.296488][62aa]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[002:001] [2022-07-25 03:00:03 +0000.296554][62aa] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[002:001] [2022-07-25 03:00:03 +0000.296616][62aa] push video frame to H264
encoder. (100 frame for one log)

[002:001] [2022-07-25 03:00:03 +0000.296666][62aa] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[002:001] [2022-07-25 03:00:03 +0000.296706][62aa] H264Encode::push video frame to


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

[002:001] [2022-07-25 03:00:03 +0000.296744][62aa] Push an pts:0 to dts queue.


[002:001] [2022-07-25 03:00:03 +0000.296864][62aa] DTS queue for
Generator:0x6f7a705cb8 0
[002:001] [2022-07-25 03:00:03 +0000.296900][62aa] The input pts:0 fps:30
[002:003] [2022-07-25 03:00:03 +0000.298750][62aa]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[002:026] [2022-07-25 03:00:03 +0000.321198][6228] drawYUV420 render
OpenGLRenderProgram:0x6ea53a5598
[002:039] [2022-07-25 03:00:03 +0000.334236][62a3] AF_SpeedFilter audio time 222,
0x6ea5678e80 out time: 103734237 org time: 103734237
[002:039] [2022-07-25 03:00:03 +0000.334315][62a3] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[002:039] [2022-07-25 03:00:03 +0000.334555][62a3]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 103734237
[002:039] [2022-07-25 03:00:03 +0000.334600][62a3]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[002:039] [2022-07-25 03:00:03 +0000.334664][62a3] AF_SpeedFilter audio time
[002:039] [2022-07-25 03:00:03 +0000.334701][62a3] AF_SpeedFilter audio time 111,
0x6ea5678e80 out time: 103734247 org time: 103734247
[002:042] [2022-07-25 03:00:03 +0000.337346][62a9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[002:042] [2022-07-25 03:00:03 +0000.337813][62ab] add aac audio track with id:1
[002:100] [2022-07-25 03:00:03 +0000.396074][62aa] h264 add frame header cdr flag
[002:103] [2022-07-25 03:00:03 +0000.398690][62aa] h264 add frame header cdr flag
[002:104] [2022-07-25 03:00:03 +0000.399631][62aa] SendFrame
encodedImage._timeStamp:0encodedImage->_length:384048
[002:104] [2022-07-25 03:00:03 +0000.399739][62aa] Received key frame:0
[002:104] [2022-07-25 03:00:03 +0000.399775][62aa] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[002:104] [2022-07-25 03:00:03 +0000.399804][62aa] H264Encode::H264SWEncoder get
callback, length:384048 type:0 nalType:7length:19
[002:104] [2022-07-25 03:00:03 +0000.399827][62aa] H264Encode:: get a sps pps
header!headerSize:32
[002:104] [2022-07-25 03:00:03 +0000.399854][62aa] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[002:104] [2022-07-25 03:00:03 +0000.399965][62ab] get the H.264 SPS parameter
[002:105] [2022-07-25 03:00:03 +0000.400217][62ab] add video track with id:2
[002:107] [2022-07-25 03:00:03 +0000.402615][62ab] get the H.264 PPS parameter
[002:108] [2022-07-25 03:00:03 +0000.403975][62ab] get the H.264 IDR frame
[002:108] [2022-07-25 03:00:03 +0000.404043][62ab] resss:true
[002:108] [2022-07-25 03:00:03 +0000.404081][62ab] video start ts:0
[002:109] [2022-07-25 03:00:03 +0000.404360][62ab] the video frame has been written
into MP4 file
[002:139] [2022-07-25 03:00:03 +0000.434412][62ab] audio start ts:0
[002:139] [2022-07-25 03:00:03 +0000.434497][62ab] the audio frame has been written
into MP4 file
[002:151] [2022-07-25 03:00:03 +0000.446860][622e] Run AGC when audioType = 0
[002:454] [2022-07-25 03:00:03 +0000.750038][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[002:492] [2022-07-25 03:00:03 +0000.787596][6228] The convert RGB to YUV take 2
[002:799] [2022-07-25 03:00:04 +0000.94853][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[002:826] [2022-07-25 03:00:04 +0000.121924][62aa] DTS queue for
Generator:0x6f7a705cb8 796 831
[002:956] [2022-07-25 03:00:04 +0000.251891][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[002:993] [2022-07-25 03:00:04 +0000.288535][6228] The convert RGB to YUV take 4
[003:330] [2022-07-25 03:00:04 +0000.625284][62aa] Push an pts:1330 to dts queue.
[003:368] [2022-07-25 03:00:04 +0000.663597][62aa] last dts:1295 currentPts:1330
ppsOrSPS:0 queue length:2
[003:457] [2022-07-25 03:00:04 +0000.752416][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[003:488] [2022-07-25 03:00:04 +0000.783206][6228] The convert RGB to YUV take 3
[003:509] [2022-07-25 03:00:04 +0000.804654][622e] haveEnoughProcessedData
internalAudioStream.length: 20
[003:533] [2022-07-25 03:00:04 +0000.828780][62a3] AF_SpeedFilter audio
0x6ea5678e80 PullFrame
[003:660] [2022-07-25 03:00:04 +0000.955412][62aa] DTS queue for
Generator:0x6f7a705cb8 1633 1664
[003:799] [2022-07-25 03:00:05 +0000.94304][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[003:812] [2022-07-25 03:00:05 +0000.107860][62a3]
RecordAudioSource::PullAudioFrame
[003:952] [2022-07-25 03:00:05 +0000.247972][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[003:991] [2022-07-25 03:00:05 +0000.287231][6228] The convert RGB to YUV take 2
[004:016] [2022-07-25 03:00:05 +0000.311371][6228] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[004:024] [2022-07-25 03:00:05 +0000.319144][62aa] h264 add frame header cdr flag
[004:024] [2022-07-25 03:00:05 +0000.319455][62aa] Received key frame:1995
[004:065] [2022-07-25 03:00:05 +0000.360234][62ab] get the H.264 IDR frame
[004:087] [2022-07-25 03:00:05 +0000.382275][6223]
monitorTime:4003totalDuration:3940
[004:153] [2022-07-25 03:00:05 +0000.448430][622e] Run AGC when audioType = 0
[004:153] [2022-07-25 03:00:05 +0000.448618][622e]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:196] [2022-07-25 03:00:05 +0000.491739][62a3] resampled_data_size:7168
[004:292] [2022-07-25 03:00:05 +0000.588068][62a3] AF_SpeedFilter::PullFrame eof4
[004:295] [2022-07-25 03:00:05 +0000.590263][62a3]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[004:377] [2022-07-25 03:00:05 +0000.672397][62a9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:4
[004:456] [2022-07-25 03:00:05 +0000.752074][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[004:466] [2022-07-25 03:00:05 +0000.761960][62aa] DTS queue for
Generator:0x6f7a705cb8 2464
[004:492] [2022-07-25 03:00:05 +0000.788099][6228] The convert RGB to YUV take 3
[004:666] [2022-07-25 03:00:05 +0000.961225][62aa] Push an pts:2666 to dts queue.
[004:703] [2022-07-25 03:00:05 +0000.998939][62aa] last dts:2631 currentPts:2666
ppsOrSPS:0 queue length:2
[004:802] [2022-07-25 03:00:06 +0000.97778][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:962] [2022-07-25 03:00:06 +0000.257647][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[004:998] [2022-07-25 03:00:06 +0000.293684][6228] The convert RGB to YUV take 7
[005:202] [2022-07-25 03:00:06 +0000.497397][62a3] AF_SpeedFilter audio
0x6ea5678e80 PullFrame
[005:237] [2022-07-25 03:00:06 +0000.533089][622e] haveEnoughProcessedData
internalAudioStream.length: 0
[005:254] [2022-07-25 03:00:06 +0000.549495][6228] drawYUV420 render
OpenGLRenderProgram:0x6ea53a5598
[005:297] [2022-07-25 03:00:06 +0000.592155][62aa] DTS queue for
Generator:0x6f7a705cb8 3296
[005:321] [2022-07-25 03:00:06 +0000.616479][6228] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[005:321] [2022-07-25 03:00:06 +0000.616588][6228] GPUImageProcessing: input frame
width1920 X 1080
[005:321] [2022-07-25 03:00:06 +0000.616960][6228] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[005:321] [2022-07-25 03:00:06 +0000.617034][6228] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[005:328] [2022-07-25 03:00:06 +0000.623759][62aa]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3329
[005:330] [2022-07-25 03:00:06 +0000.625772][62aa] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3296 pts:3296
[005:360] [2022-07-25 03:00:06 +0000.655474][62aa] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3361
[005:360] [2022-07-25 03:00:06 +0000.655567][62aa] push video frame to H264
encoder. (100 frame for one log)

[005:360] [2022-07-25 03:00:06 +0000.655744][62aa] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080
[005:360] [2022-07-25 03:00:06 +0000.655798][62aa] H264Encode::push video frame to
H264 encoder, using hw H264:1 width:1920 height:1080 pts:3361(100 frame for one
log)

[005:360] [2022-07-25 03:00:06 +0000.655854][62aa] The input pts:3361 fps:30


[005:362] [2022-07-25 03:00:06 +0000.658033][62aa] SendFrame
encodedImage._timeStamp:3329encodedImage->_length:138384
[005:398] [2022-07-25 03:00:06 +0000.693513][62aa] H264Encode::H264SWEncoder get
callback, length:164256 type:1 nalType:1length:164252
[005:453] [2022-07-25 03:00:06 +0000.748453][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:494] [2022-07-25 03:00:06 +0000.789659][6228] The convert RGB to YUV take 5
[005:729] [2022-07-25 03:00:07 +0000.24960][62a3] RecordAudioSource::PullAudioFrame
[005:793] [2022-07-25 03:00:07 +0000.88566][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[005:954] [2022-07-25 03:00:07 +0000.249728][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:991] [2022-07-25 03:00:07 +0000.286253][6228] The convert RGB to YUV take 3
[005:992] [2022-07-25 03:00:07 +0000.287997][62aa] Push an pts:3994 to dts queue.
[006:032] [2022-07-25 03:00:07 +0000.327415][62aa] h264 add frame header cdr flag
[006:032] [2022-07-25 03:00:07 +0000.327992][62aa] Received key frame:3994
[006:032] [2022-07-25 03:00:07 +0000.328063][62aa] last dts:3963 currentPts:3994
ppsOrSPS:0 queue length:2
[006:063] [2022-07-25 03:00:07 +0000.358518][62ab] get the H.264 IDR frame
[006:096] [2022-07-25 03:00:07 +0000.391819][6228] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[006:134] [2022-07-25 03:00:07 +0000.429461][62aa] DTS queue for
Generator:0x6f7a705cb8 4100 4136
[006:149] [2022-07-25 03:00:07 +0000.445020][622e] Run AGC when audioType = 0
[006:393] [2022-07-25 03:00:07 +0000.688838][62a3] resampled_data_size:0
[006:459] [2022-07-25 03:00:07 +0000.754400][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:491] [2022-07-25 03:00:07 +0000.786683][6228] The convert RGB to YUV take 3
[006:641] [2022-07-25 03:00:07 +0000.937052][62a3] AF_SpeedFilter::PullFrame eof4
[006:644] [2022-07-25 03:00:07 +0000.939259][62a3]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[006:735] [2022-07-25 03:00:08 +0000.30659][62a9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:8
[006:797] [2022-07-25 03:00:08 +0000.92386][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:825] [2022-07-25 03:00:08 +0000.120109][62a3] AF_SpeedFilter audio
0x6ea5678e80 PullFrame
[006:951] [2022-07-25 03:00:08 +0000.246895][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:952] [2022-07-25 03:00:08 +0000.247198][622e] haveEnoughProcessedData
internalAudioStream.length: 0
[006:957] [2022-07-25 03:00:08 +0000.252579][62aa] DTS queue for
Generator:0x6f7a705cb8 4927 4958
[006:989] [2022-07-25 03:00:08 +0000.284994][6228] The convert RGB to YUV take 2
[007:332] [2022-07-25 03:00:08 +0000.627276][62aa] Push an pts:5332 to dts queue.
[007:360] [2022-07-25 03:00:08 +0000.655927][62aa] last dts:5296 currentPts:5332
ppsOrSPS:0 queue length:2
[007:449] [2022-07-25 03:00:08 +0000.744524][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:487] [2022-07-25 03:00:08 +0000.782721][6228] The convert RGB to YUV take 3
[007:643] [2022-07-25 03:00:08 +0000.938683][62a3]
RecordAudioSource::PullAudioFrame
[007:791] [2022-07-25 03:00:09 +0000.86336][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[007:792] [2022-07-25 03:00:09 +0000.87661][62aa] DTS queue for
Generator:0x6f7a705cb8 5758 5794
[007:952] [2022-07-25 03:00:09 +0000.247527][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:990] [2022-07-25 03:00:09 +0000.285924][6228] The convert RGB to YUV take 3
[008:024] [2022-07-25 03:00:09 +0000.319506][62aa] h264 add frame header cdr flag
[008:024] [2022-07-25 03:00:09 +0000.319911][62aa] Received key frame:5992
[008:064] [2022-07-25 03:00:09 +0000.359969][62ab] get the H.264 IDR frame
[008:150] [2022-07-25 03:00:09 +0000.445547][622e] Run AGC when audioType = 0
[008:150] [2022-07-25 03:00:09 +0000.445827][622e]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:183] [2022-07-25 03:00:09 +0000.479092][6228] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[008:451] [2022-07-25 03:00:09 +0000.747097][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:452] [2022-07-25 03:00:09 +0000.747275][62a3] AF_SpeedFilter audio
0x6ea5678e80 PullFrame
[008:499] [2022-07-25 03:00:09 +0000.794847][6228] The convert RGB to YUV take 5
[008:586] [2022-07-25 03:00:09 +0000.881673][6228] drawYUV420 render
OpenGLRenderProgram:0x6ea53a5598
[008:595] [2022-07-25 03:00:09 +0000.890897][62aa] DTS queue for
Generator:0x6f7a705cb8 6594
[008:613] [2022-07-25 03:00:09 +0000.908242][62a3] resampled_data_size:10240
[008:658] [2022-07-25 03:00:09 +0000.953781][62aa]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6660
[008:658] [2022-07-25 03:00:09 +0000.954026][62aa] Push an pts:6660 to dts queue.
[008:664] [2022-07-25 03:00:09 +0000.960036][622e] haveEnoughProcessedData
internalAudioStream.length: 0
[008:687] [2022-07-25 03:00:09 +0000.983085][6228] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[008:688] [2022-07-25 03:00:09 +0000.983400][6228] GPUImageProcessing: input frame
width1920 X 1080
[008:690] [2022-07-25 03:00:09 +0000.985193][6228] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[008:690] [2022-07-25 03:00:09 +0000.985284][6228] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[008:696] [2022-07-25 03:00:09 +0000.991234][62aa] SendFrame
encodedImage._timeStamp:6660encodedImage->_length:149072
[008:696] [2022-07-25 03:00:09 +0000.991335][62aa] last dts:6632 currentPts:6660
ppsOrSPS:0 queue length:2
[008:696] [2022-07-25 03:00:09 +0000.991371][62aa] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6660 pts:6660
[008:725] [2022-07-25 03:00:10 +0000.20988][62aa] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6728
[008:726] [2022-07-25 03:00:10 +0000.21363][62aa] push video frame to H264 encoder.
(100 frame for one log)

[008:726] [2022-07-25 03:00:10 +0000.21413][62aa] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[008:726] [2022-07-25 03:00:10 +0000.21455][62aa] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6728(100 frame for one
log)

[008:726] [2022-07-25 03:00:10 +0000.21500][62aa] The input pts:6728 fps:30


[008:759] [2022-07-25 03:00:10 +0000.54908][62aa] H264Encode::H264SWEncoder get
callback, length:132848 type:1 nalType:1length:132844
[008:797] [2022-07-25 03:00:10 +0000.93129][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[008:951] [2022-07-25 03:00:10 +0000.246606][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:985] [2022-07-25 03:00:10 +0000.280823][6228] The convert RGB to YUV take 2
[009:003] [2022-07-25 03:00:10 +0000.298584][62a9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6965queue_audio_frame_:2
[009:024] [2022-07-25 03:00:10 +0000.319216][62a3] AF_SpeedFilter::PullFrame eof4
[009:027] [2022-07-25 03:00:10 +0000.322891][62a3]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[009:426] [2022-07-25 03:00:10 +0000.721290][62aa] DTS queue for
Generator:0x6f7a705cb8 7425
[009:450] [2022-07-25 03:00:10 +0000.746072][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:487] [2022-07-25 03:00:10 +0000.782757][6228] The convert RGB to YUV take 3
[009:580] [2022-07-25 03:00:10 +0000.875789][62a3]
RecordAudioSource::PullAudioFrame
[009:797] [2022-07-25 03:00:11 +0000.92832][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[009:952] [2022-07-25 03:00:11 +0000.247156][6228] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[009:990] [2022-07-25 03:00:11 +0000.285327][6228] The convert RGB to YUV take 9
[009:991] [2022-07-25 03:00:11 +0000.286886][62aa] Push an pts:7990 to dts queue.
[010:027] [2022-07-25 03:00:11 +0000.322677][62aa] h264 add frame header cdr flag
[010:027] [2022-07-25 03:00:11 +0000.322993][62aa] Received key frame:7990
[010:027] [2022-07-25 03:00:11 +0000.323024][62aa] last dts:7960 currentPts:7990
ppsOrSPS:0 queue length:2
[010:065] [2022-07-25 03:00:11 +0000.360205][62ab] get the H.264 IDR frame
[010:122] [2022-07-25 03:00:11 +0000.418065][62a3] AF_SpeedFilter audio
0x6ea5678e80 PullFrame
[010:148] [2022-07-25 03:00:11 +0000.443464][622f] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:148] [2022-07-25 03:00:11 +0000.443593][622f] _deviceSampleRate:48000

[010:152] [2022-07-25 03:00:11 +0000.447509][622e] Run AGC when audioType = 0


[010:252] [2022-07-25 03:00:11 +0000.547760][6228] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3984 diff: 17
[010:254] [2022-07-25 03:00:11 +0000.550036][62aa] DTS queue for
Generator:0x6f7a705cb8 8223 8256
[010:384] [2022-07-25 03:00:11 +0000.679535][622e] haveEnoughProcessedData
internalAudioStream.length: 0
[010:453] [2022-07-25 03:00:11 +0000.748591][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[010:490] [2022-07-25 03:00:11 +0000.786071][6228] The convert RGB to YUV take 4
[010:801] [2022-07-25 03:00:12 +0000.96921][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[010:886] [2022-07-25 03:00:12 +0000.181947][62a3] resampled_data_size:1024
[010:949] [2022-07-25 03:00:12 +0000.245047][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[010:989] [2022-07-25 03:00:12 +0000.284538][6228] The convert RGB to YUV take 4
[011:087] [2022-07-25 03:00:12 +0000.383028][62aa] DTS queue for
Generator:0x6f7a705cb8 9056 9089
[011:323] [2022-07-25 03:00:12 +0000.618994][62aa] Push an pts:9325 to dts queue.
[011:356] [2022-07-25 03:00:12 +0000.651147][62a9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9287queue_audio_frame_:4
[011:360] [2022-07-25 03:00:12 +0000.655445][62aa] last dts:9288 currentPts:9325
ppsOrSPS:0 queue length:2
[011:424] [2022-07-25 03:00:12 +0000.719595][62a3] AF_SpeedFilter::PullFrame eof4
[011:428] [2022-07-25 03:00:12 +0000.723587][62a3]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[011:452] [2022-07-25 03:00:12 +0000.747582][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[011:484] [2022-07-25 03:00:12 +0000.779426][6228] The convert RGB to YUV take 3
[011:516] [2022-07-25 03:00:12 +0000.811936][62a3]
RecordAudioSource::PullAudioFrame
[011:758] [2022-07-25 03:00:13 +0000.53657][62a5] The output timestamp from audio
mixer change:103744077
[011:768] [2022-07-25 03:00:13 +0000.63824][62a3] AF_SpeedFilter audio 0x6ea5678e80
PullFrame
[011:793] [2022-07-25 03:00:13 +0000.88963][622e] On audio frame the broadcast with
timestamp:103744119 samples:480. (1000 frame for one log)

[011:799] [2022-07-25 03:00:13 +0000.94566][62a5] Get data in mic source, which has
byte length:1764micAudioStream->length():20
[011:799] [2022-07-25 03:00:13 +0000.94676][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[011:911] [2022-07-25 03:00:13 +0000.206755][6228] drawYUV420 render
OpenGLRenderProgram:0x6ea53a5598
[011:915] [2022-07-25 03:00:13 +0000.210172][62a3] AF_SpeedFilter audio time,
0x6ea5678e80 rcv time: 103744234
[011:915] [2022-07-25 03:00:13 +0000.210250][62a3] AF_SpeedFilter audio time,
0x6ea5678e80 rcv time: 103744234in_nSamples:441
[011:916] [2022-07-25 03:00:13 +0000.211691][62aa] DTS queue for
Generator:0x6f7a705cb8 9890 9920
[011:947] [2022-07-25 03:00:13 +0000.242860][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[011:991] [2022-07-25 03:00:13 +0000.286313][6228] The convert RGB to YUV take 8
[011:993] [2022-07-25 03:00:13 +0000.288624][62aa]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:9990
[012:012] [2022-07-25 03:00:13 +0000.307264][62a3] FilterPipeline2::OnAudioFrame
pts 10010 last_audio_timestamp_ 10010
[012:012] [2022-07-25 03:00:13 +0000.307332][62a3]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 103744237
[012:013] [2022-07-25 03:00:13 +0000.308317][62a3]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[012:024] [2022-07-25 03:00:13 +0000.319345][62aa] h264 add frame header cdr flag
[012:024] [2022-07-25 03:00:13 +0000.319656][62aa] SendFrame
encodedImage._timeStamp:9990encodedImage->_length:230832
[012:024] [2022-07-25 03:00:13 +0000.319688][62aa] Received key frame:9990
[012:046] [2022-07-25 03:00:13 +0000.341668][6228] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[012:046] [2022-07-25 03:00:13 +0000.341886][6228] GPUImageProcessing: input frame
width1920 X 1080
[012:047] [2022-07-25 03:00:13 +0000.342180][6228] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[012:047] [2022-07-25 03:00:13 +0000.342234][6228] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[012:055] [2022-07-25 03:00:13 +0000.350353][62aa] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10022 pts:10022
[012:055] [2022-07-25 03:00:13 +0000.351089][62ab] get the H.264 IDR frame
[012:088] [2022-07-25 03:00:13 +0000.383456][62aa] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:10090
[012:088] [2022-07-25 03:00:13 +0000.383663][62aa] push video frame to H264
encoder. (100 frame for one log)
[012:088] [2022-07-25 03:00:13 +0000.383729][62aa] push video frame to H264
encoder. (100 frame for one log) used width:1920 height:1080

[012:088] [2022-07-25 03:00:13 +0000.383758][62aa] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:10090(100 frame for one
log)

[012:088] [2022-07-25 03:00:13 +0000.383798][62aa] The input pts:10090 fps:30


[012:108] [2022-07-25 03:00:13 +0000.403757][622e] haveEnoughProcessedData
internalAudioStream.length: 20
[012:135] [2022-07-25 03:00:13 +0000.430443][62aa] H264Encode::H264SWEncoder get
callback, length:126944 type:1 nalType:1length:126940
[012:150] [2022-07-25 03:00:13 +0000.445693][622e] Run AGC when audioType = 0
[012:150] [2022-07-25 03:00:13 +0000.445885][622e]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:345] [2022-07-25 03:00:13 +0000.640935][6228] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4980 diff: 21
[012:449] [2022-07-25 03:00:13 +0000.744790][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[012:482] [2022-07-25 03:00:13 +0000.777728][6228] The convert RGB to YUV take 3
[012:651] [2022-07-25 03:00:13 +0000.946311][62aa] Push an pts:10652 to dts queue.
[012:691] [2022-07-25 03:00:13 +0000.986703][62aa] last dts:10621 currentPts:10652
ppsOrSPS:0 queue length:2
[012:724] [2022-07-25 03:00:14 +0000.19117][62aa] DTS queue for
Generator:0x6f7a705cb8 10723
[012:797] [2022-07-25 03:00:14 +0000.92262][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[012:949] [2022-07-25 03:00:14 +0000.244665][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[012:984] [2022-07-25 03:00:14 +0000.279376][6228] The convert RGB to YUV take 4
[013:061] [2022-07-25 03:00:14 +0000.356874][62a3] resampled_data_size:13312
[013:078] [2022-07-25 03:00:14 +0000.373626][6228] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[013:134] [2022-07-25 03:00:14 +0000.429807][62a3] AF_SpeedFilter audio time
[013:134] [2022-07-25 03:00:14 +0000.429893][62a3] AF_SpeedFilter audio time 111,
0x6ea5678e80 out time: 103745427 org time: 103745427
[013:421] [2022-07-25 03:00:14 +0000.716645][62a3] AF_SpeedFilter audio
0x6ea5678e80 PullFrame
[013:447] [2022-07-25 03:00:14 +0000.742536][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[013:462] [2022-07-25 03:00:14 +0000.757297][62a3]
RecordAudioSource::PullAudioFrame
[013:483] [2022-07-25 03:00:14 +0000.778623][6228] The convert RGB to YUV take 4
[013:551] [2022-07-25 03:00:14 +0000.846237][62aa] DTS queue for
Generator:0x6f7a705cb8 11554
[013:723] [2022-07-25 03:00:15 +0000.18307][62a9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 11609queue_audio_frame_:8
[013:799] [2022-07-25 03:00:15 +0000.94799][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[013:821] [2022-07-25 03:00:15 +0000.116773][622e] haveEnoughProcessedData
internalAudioStream.length: 0
[013:828] [2022-07-25 03:00:15 +0000.123686][62a3] AF_SpeedFilter::PullFrame eof4
[013:830] [2022-07-25 03:00:15 +0000.125846][62a3]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[013:943] [2022-07-25 03:00:15 +0000.238421][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[013:985] [2022-07-25 03:00:15 +0000.280920][6228] The convert RGB to YUV take 4
[013:987] [2022-07-25 03:00:15 +0000.282238][62aa] Push an pts:11989 to dts queue.
[014:027] [2022-07-25 03:00:15 +0000.322469][62aa] h264 add frame header cdr flag
[014:027] [2022-07-25 03:00:15 +0000.322979][62aa] Received key frame:11989
[014:027] [2022-07-25 03:00:15 +0000.323045][62aa] last dts:11950 currentPts:11989
ppsOrSPS:0 queue length:2
[014:057] [2022-07-25 03:00:15 +0000.353087][62ab] get the H.264 IDR frame
[014:149] [2022-07-25 03:00:15 +0000.444646][622e] Run AGC when audioType = 0
[014:388] [2022-07-25 03:00:15 +0000.683127][62aa] DTS queue for
Generator:0x6f7a705cb8 12349 12386
[014:421] [2022-07-25 03:00:15 +0000.716345][6228] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5984 diff: 17
[014:448] [2022-07-25 03:00:15 +0000.743673][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[014:485] [2022-07-25 03:00:15 +0000.780412][6228] The convert RGB to YUV take 5
[014:800] [2022-07-25 03:00:16 +0000.95813][62a5] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[014:945] [2022-07-25 03:00:16 +0000.240199][6228] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[014:962] [2022-07-25 03:00:16 +0000.257167][5631]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[014:962] [2022-07-25 03:00:16 +0000.257340][6228] operator(): Stop
[014:962] [2022-07-25 03:00:16 +0000.257377][6228] StopPullFrameAndWriteMp4
time:103747288 enter.

[014:962] [2022-07-25 03:00:16 +0000.257409][6228] StopRecording:


[014:963] [2022-07-25 03:00:16 +0000.258497][62a3] resampled_data_size:512
[014:963] [2022-07-25 03:00:16 +0000.258531][62a3] AF_SpeedFilter audio time 222,
0x6ea5678e80 out time: 103747227 org time: 103747227
[014:963] [2022-07-25 03:00:16 +0000.258584][62a3] PullAudioFrame: PullFrame audio
finished.
[014:963] [2022-07-25 03:00:16 +0000.258602][62a3]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[014:964] [2022-07-25 03:00:16 +0000.259437][62aa]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:390
[014:967] [2022-07-25 03:00:16 +0000.262490][6227] stop recording
[014:967] [2022-07-25 03:00:16 +0000.262539][6227]
RecordingSessionInternalSimple:destroy media processers
[014:967] [2022-07-25 03:00:16 +0000.262560][6227] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[014:967] [2022-07-25 03:00:16 +0000.262578][6227] H264Encode::flushing hareware
Encoder
[014:967] [2022-07-25 03:00:16 +0000.262734][6227] Flush time:103747293 enter.

[014:967] [2022-07-25 03:00:16 +0000.262769][6227] H264Encoder encoder flush


[014:967] [2022-07-25 03:00:16 +0000.262804][6227] flush output queue
[015:292] [2022-07-25 03:00:16 +0000.587887][6227] Flush leave. expire time = 325
ms

[015:293] [2022-07-25 03:00:16 +0000.588120][6227] ~H264EncodeWrap:


[015:293] [2022-07-25 03:00:16 +0000.588157][6227] ~H264Encode:
[015:293] [2022-07-25 03:00:16 +0000.588189][6227] teardownCompressionSession:
H264Encode::destroying Encoder
[015:293] [2022-07-25 03:00:16 +0000.588223][6227] Release time:103747619 enter.

[015:293] [2022-07-25 03:00:16 +0000.588348][6227] Release:


MediaCodecVideoEncoder::Release _inited:1
[015:293] [2022-07-25 03:00:16 +0000.588391][6227] Destroy time:103747619 enter.

[015:293] [2022-07-25 03:00:16 +0000.588412][6227] H264Encoder encoderDestroy


[015:293] [2022-07-25 03:00:16 +0000.588445][6227]
AndroidMediaCodecVideoEncoder::release env: 0x6f0ced3740
[015:293] [2022-07-25 03:00:16 +0000.588480][6227]
AndroidMediaCodecVideoEncoder::Destroy
[015:333] [2022-07-25 03:00:16 +0000.628167][6227] Destroy leave. expire time = 40
ms

[015:333] [2022-07-25 03:00:16 +0000.628504][6227] Release leave. expire time = 40


ms

[015:333] [2022-07-25 03:00:16 +0000.628538][6227] ~AndroidHwAvcEncoder


time:103747659 enter.

[015:333] [2022-07-25 03:00:16 +0000.628665][6227] Release time:103747659 enter.

[015:333] [2022-07-25 03:00:16 +0000.628702][6227] Release:


MediaCodecVideoEncoder:: has been released before, just return
[015:333] [2022-07-25 03:00:16 +0000.628738][6227] Release leave. expire time = 0
ms

[015:333] [2022-07-25 03:00:16 +0000.628780][6227] ~AndroidMediaCodecVideoEncoder


[015:333] [2022-07-25 03:00:16 +0000.628800][6227] ~WrapAndroidMediaCodec
time:103747659 enter.

[015:333] [2022-07-25 03:00:16 +0000.628820][6227] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[015:333] [2022-07-25 03:00:16 +0000.628857][6227] video hevc hw codec


destructor:0x6f0d02bc98

[015:333] [2022-07-25 03:00:16 +0000.628893][6227] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[015:333] [2022-07-25 03:00:16 +0000.628930][6227] teardownCompressionSession:


H264Encode::destroyed Encoder
[015:333] [2022-07-25 03:00:16 +0000.629008][6227]
RecordingSessionInternalSimple:destroy aac encoder output!
[015:333] [2022-07-25 03:00:16 +0000.629036][6227] AACSWEncode destructor
[015:346] [2022-07-25 03:00:16 +0000.641331][62ab] MP4 close file successfully
[015:346] [2022-07-25 03:00:16 +0000.641472][62ab] Recording session Internal:
notify recording ok
[015:346] [2022-07-25 03:00:16 +0000.641499][62ab] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4,
output_video_timestamp_:12951 last_video_pts_:12951
[015:346] [2022-07-25 03:00:16 +0000.641528][62ab] OnRecordFinish:
[015:349] [2022-07-25 03:00:16 +0000.645594][62ab] onRecordingOk: net seek
pos:0record video duration:12984record audio duration:12956
[015:351] [2022-07-25 03:00:16 +0000.646257][62a5] destructMicSource_w:
[015:351] [2022-07-25 03:00:16 +0000.646297][62a5] setOutput_w:
MicSource::setOutput() 0x0
[015:351] [2022-07-25 03:00:16 +0000.646342][62a5] close external audio stream

[015:351] [2022-07-25 03:00:16 +0000.646435][6228] releaseThread 0x6ea5678700


[015:351] [2022-07-25 03:00:16 +0000.646469][6228] ~MicSource: Mic source
destroyed:0x6ea926b700
[015:352] [2022-07-25 03:00:16 +0000.647212][6228] StopPullFrameAndWriteMp4 leave.
expire time = 390 ms
[015:352] [2022-07-25 03:00:16 +0000.647239][6228] DestroyPipelineAndFilters
time:103747678 enter.

[015:352] [2022-07-25 03:00:16 +0000.647266][6228] UnbindInputFilter 0x6ea5678cc0


this 0x6ea53a57c0
[015:352] [2022-07-25 03:00:16 +0000.647291][6228] UnbindInputFilter 0x6ea5678e58
this 0x6ea5678fd0
[015:352] [2022-07-25 03:00:16 +0000.647326][6228] UnbindInputFilter 0x6ea53a57c0
this 0x6ea906fca0
[015:352] [2022-07-25 03:00:16 +0000.647343][6228] filter: filter pipeline destroy
this: 0x6ea906fc00
[015:352] [2022-07-25 03:00:16 +0000.647504][6228] ClearVideoOfSources: recodring
total frames:0
[015:352] [2022-07-25 03:00:16 +0000.647528][6228] ClearVideoOfSources:
[015:352] [2022-07-25 03:00:16 +0000.647558][6228] GPUImageProcessing destruct.
[015:352] [2022-07-25 03:00:16 +0000.647606][6228] destroy TrivalImageDrawer
0x6ea55cdcc0
[015:352] [2022-07-25 03:00:16 +0000.647629][6228] The shader has been initialize,
clean up them.

[015:352] [2022-07-25 03:00:16 +0000.647688][6228] ~OpenGLFrameBuffer:


[015:352] [2022-07-25 03:00:16 +0000.647757][6228] ~OpenGLFrameBuffer:
[015:352] [2022-07-25 03:00:16 +0000.647812][6228] ~OpenGLFrameBuffer:
[015:353] [2022-07-25 03:00:16 +0000.648128][6228] ~OpenGLFrameBuffer:
[015:353] [2022-07-25 03:00:16 +0000.648173][6228] ~OpenGLFrameBuffer:
[015:353] [2022-07-25 03:00:16 +0000.648218][6228] ~OpenGLFrameBuffer:
[015:353] [2022-07-25 03:00:16 +0000.648357][6228] GPUImageProcessing destruct
finish.
[015:353] [2022-07-25 03:00:16 +0000.648392][6228] GPURGBAFrame destruct.
[015:353] [2022-07-25 03:00:16 +0000.648422][6228] destroy OpenGLRenderProgram
0x6ea53a5598
[015:353] [2022-07-25 03:00:16 +0000.648441][6228] ~CameraSource time:103747679
enter.

[015:353] [2022-07-25 03:00:16 +0000.648455][6228] ~CameraSource leave. expire


time = 0 ms

[015:353] [2022-07-25 03:00:16 +0000.648473][6228] ~RecordAudioSource


time:103747679 enter.

[015:353] [2022-07-25 03:00:16 +0000.648486][6228] ~RecordAudioSource leave.


expire time = 0 ms

[015:353] [2022-07-25 03:00:16 +0000.648502][6228] DestroyPipelineAndFilters


leave. expire time = 1 ms

[015:368] [2022-07-25 03:00:16 +0000.663344][5631]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[015:368] [2022-07-25 03:00:16 +0000.663901][5631] machine model :poco
[015:368] [2022-07-25 03:00:16 +0000.663931][5631] Support this machine model :poco
[015:368] [2022-07-25 03:00:16 +0000.663947][5631] global inited! current sdk
version: 07-20-936c45f
[015:369] [2022-07-25 03:00:16 +0000.664128][5631] filter: filter pipeline
construtc this: 0x6ec0636380
[015:369] [2022-07-25 03:00:16 +0000.664158][5631] MediaFilterGraph:
MediaFilterGraph construct
[015:369] [2022-07-25 03:00:16 +0000.664212][5631] GLESContext:
[015:369] [2022-07-25 03:00:16 +0000.664244][5631] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[015:370] [2022-07-25 03:00:16 +0000.665189][5631] The result of creation:
0x6ec05d3380
[015:370] [2022-07-25 03:00:16 +0000.665271][5631] The result of
eglCreatePbufferSurface is: 0x6ec05d3d80
[015:370] [2022-07-25 03:00:16 +0000.665897][5631] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4
[015:370] [2022-07-25 03:00:16 +0000.665922][5631] The source 0 speed:1
[015:370] [2022-07-25 03:00:16 +0000.665945][5631] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4,
delay: 0
[015:370] [2022-07-25 03:00:16 +0000.665967][5631] CreateDecoderByVideoSource
time:103747696 enter.

[015:371] [2022-07-25 03:00:16 +0000.666203][5631] running_decoder_count:0max


count:2
[015:371] [2022-07-25 03:00:16 +0000.666224][5631] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x6f9cb71c00
[015:386] [2022-07-25 03:00:16 +0000.681835][6462] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6f8747b800] Current FFmpeg version git-2021-06-16-
97cea6f

[015:443] [2022-07-25 03:00:16 +0000.738539][6462] OnStreamInfoFound: video


duration_: 12984
[015:444] [2022-07-25 03:00:16 +0000.739643][5631] start decoder
[015:444] [2022-07-25 03:00:16 +0000.739714][5631] CreateDecoderByVideoSource
leave. expire time = 74 ms

[015:444] [2022-07-25 03:00:16 +0000.739788][5631] BindInputFilter 0x6e81514da0


this 0x6e993b3218
[015:444] [2022-07-25 03:00:16 +0000.739839][5631] BindInputFilter 0x6e993b3218
this 0x6e993b32d8
[015:444] [2022-07-25 03:00:16 +0000.739883][5631] BindInputFilter 0x6e81514da0
this 0x6e993b3398
[015:444] [2022-07-25 03:00:16 +0000.739923][5631] BindInputFilter 0x6e993b3398
this 0x6e993b3458
[015:444] [2022-07-25 03:00:16 +0000.739946][5631] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4
[015:444] [2022-07-25 03:00:16 +0000.739973][5631] BindInputFilter 0x6e993b32d8
this 0x6e993b3518
[015:444] [2022-07-25 03:00:16 +0000.739996][5631] BindInputFilter 0x6e993b3518
this 0x6ec0636420
[015:444] [2022-07-25 03:00:16 +0000.740018][5631] BindInputFilter 0x6e993b3458
this 0x6e993b35d8
[015:444] [2022-07-25 03:00:16 +0000.740040][5631] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4
[015:445] [2022-07-25 03:00:16 +0000.740793][5631]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[015:445] [2022-07-25 03:00:16 +0000.740834][6464] NO get frame from decoder
[015:446] [2022-07-25 03:00:16 +0000.742057][5631] machine model :poco
[015:447] [2022-07-25 03:00:16 +0000.742116][5631] Support this machine model :poco
[015:447] [2022-07-25 03:00:16 +0000.742163][5631] global inited! current sdk
version: 07-20-936c45f
[015:447] [2022-07-25 03:00:16 +0000.742248][5631] GetPipeline:
-----------------------------------------
[015:447] [2022-07-25 03:00:16 +0000.742283][5631] GetPipeline: source:
0x6e81514b80
[015:447] [2022-07-25 03:00:16 +0000.742332][5631] GetPipeline: filter: NULLFilter
[015:447] [2022-07-25 03:00:16 +0000.742367][5631] GetPipeline: filter: NULLFilter
[015:447] [2022-07-25 03:00:16 +0000.742402][5631] GetPipeline: filter: NULLFilter
[015:447] [2022-07-25 03:00:16 +0000.742464][5631] GetPipeline: audio filter:
AuidoNULLFilter
[015:447] [2022-07-25 03:00:16 +0000.742537][5631] GetPipeline: audio filter:
AuidoNULLFilter
[015:447] [2022-07-25 03:00:16 +0000.742597][5631] GetPipeline: audio filter:
AudioNUllFilter
[015:447] [2022-07-25 03:00:16 +0000.742662][5631] GetPipeline:
------------------------------------------
[015:447] [2022-07-25 03:00:16 +0000.742731][5631] filter: filter pipeline2 update
pattern: 0
[015:448] [2022-07-25 03:00:16 +0000.743273][6464] NO get frame from decoder
[015:450] [2022-07-25 03:00:16 +0000.745767][5631] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[015:451] [2022-07-25 03:00:16 +0000.746275][5631] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[015:451] [2022-07-25 03:00:16 +0000.746369][5631] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[015:451] [2022-07-25 03:00:16 +0000.746726][5631] DeviceInit:
[015:451] [2022-07-25 03:00:16 +0000.746990][5631] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[015:452] [2022-07-25 03:00:16 +0000.747321][5631] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[015:452] [2022-07-25 03:00:16 +0000.747581][5631] CreatePlatformSpecificObjects:
[015:452] [2022-07-25 03:00:16 +0000.747634][5631] audio device use null audio
input and opensl output
[015:452] [2022-07-25 03:00:16 +0000.747679][5631] Create OpenSLES output module
with java VM support.

[015:452] [2022-07-25 03:00:16 +0000.747736][6464] NO get frame from decoder


[015:452] [2022-07-25 03:00:16 +0000.747803][5631] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[015:452] [2022-07-25 03:00:16 +0000.747993][5631] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[015:453] [2022-07-25 03:00:16 +0000.748193][5631] Create OpenSLES output module
with buffer num:2

[015:453] [2022-07-25 03:00:16 +0000.748255][5631] Error(trace.cc:40): Init the


output and input for audio device template.
[015:453] [2022-07-25 03:00:16 +0000.748296][5631] Init the output device.

[015:453] [2022-07-25 03:00:16 +0000.748337][5631] Set the playout as stereo:1


[015:453] [2022-07-25 03:00:16 +0000.748376][5631] Set the sample rate to be:44100

[015:453] [2022-07-25 03:00:16 +0000.748428][5631] Low latency buffer size:144 low


sample rate:48000
[015:453] [2022-07-25 03:00:16 +0000.748470][5631] DeviceInit: Done
[015:453] [2022-07-25 03:00:16 +0000.748635][5631] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[015:455] [2022-07-25 03:00:16 +0000.750950][5631]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[015:455] [2022-07-25 03:00:16 +0000.751092][5631]
MediaFilterPlayer::SetPlayerNotify 0x6ec04c5ca0
[015:459] [2022-07-25 03:00:16 +0000.754205][5631]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[015:459] [2022-07-25 03:00:16 +0000.754297][5631]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[015:453] [2022-07-25 03:00:16 +0000.748639][6470] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e8f7d5a18
[015:459] [2022-07-25 03:00:16 +0000.754989][6464] NO get frame from decoder
[015:460] [2022-07-25 03:00:16 +0000.755490][5631]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[015:461] [2022-07-25 03:00:16 +0000.756305][5631] SetGraphLoop: SetGraphLoop 1
[015:461] [2022-07-25 03:00:16 +0000.756360][5631]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[015:461] [2022-07-25 03:00:16 +0000.757058][5631]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[015:463] [2022-07-25 03:00:16 +0000.758694][5631]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[015:464] [2022-07-25 03:00:16 +0000.759406][5631]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[015:464] [2022-07-25 03:00:16 +0000.759560][6473] Start:
[015:466] [2022-07-25 03:00:16 +0000.761360][6464] NO get frame from decoder
[015:466] [2022-07-25 03:00:16 +0000.761636][6472] operator(): video render
started.
[015:466] [2022-07-25 03:00:16 +0000.761691][6472] DriveRender working... (1/200)
[015:466] [2022-07-25 03:00:16 +0000.761757][6472] Warning(video_render.cc:390): No
picture to display (1/50)
[015:466] [2022-07-25 03:00:16 +0000.761809][6473] Start:
[015:466] [2022-07-25 03:00:16 +0000.761897][6473] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[015:466] [2022-07-25 03:00:16 +0000.761999][6473] Reset: history total size: 98
[015:466] [2022-07-25 03:00:16 +0000.762027][6473] DeviceStart:
audioDevice_:0x6ec0606000
[015:466] [2022-07-25 03:00:16 +0000.762044][6473] DeviceStart: time profile
playout init before
[015:466] [2022-07-25 03:00:16 +0000.762066][6473] DeviceStart: time profile
playout init end
[015:466] [2022-07-25 03:00:16 +0000.762082][6473] OpenSlesOutput:Start playout

[015:468] [2022-07-25 03:00:16 +0000.764005][6473] Create the opensl output player.


streamtype before:0

[015:468] [2022-07-25 03:00:16 +0000.764062][6473] Create the opensl output player.


streamtype after:3

[015:479] [2022-07-25 03:00:16 +0000.774964][6464] NO get frame from decoder


[015:486] [2022-07-25 03:00:16 +0000.781602][6464] NO get frame from decoder
[015:491] [2022-07-25 03:00:16 +0000.786714][6464] NO get frame from decoder
[015:523] [2022-07-25 03:00:16 +0000.818985][6473] Enqueue opensl buffer size:1764
[015:551] [2022-07-25 03:00:16 +0000.846280][622e] haveEnoughProcessedData
internalAudioStream.length: 20
[015:553] [2022-07-25 03:00:16 +0000.848377][6473] DeviceStart: time profile
playout all end
[015:553] [2022-07-25 03:00:16 +0000.848424][6473] operator(): Audio playback
started.
[015:553] [2022-07-25 03:00:16 +0000.848432][6485]
PlayerSimpleBufferQueueCallbackHandler function
[015:553] [2022-07-25 03:00:16 +0000.848486][6473] operator(): Started now!
[015:553] [2022-07-25 03:00:16 +0000.848508][6485] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[015:553] [2022-07-25 03:00:16 +0000.848519][6475] Error(video_source.cc:430): wait
decoder a frame: 0
[015:553] [2022-07-25 03:00:16 +0000.848533][6485]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[015:553] [2022-07-25 03:00:16 +0000.849609][6474] Pull audio failed.(wait video!)
[015:554] [2022-07-25 03:00:16 +0000.849807][6474]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[015:555] [2022-07-25 03:00:16 +0000.850381][6475] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[015:558] [2022-07-25 03:00:16 +0000.854082][6475] OnVideoFrameReady(1/200)
[015:559] [2022-07-25 03:00:16 +0000.854281][6472] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[015:560] [2022-07-25 03:00:16 +0000.855440][6472] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:103747886
[015:561] [2022-07-25 03:00:16 +0000.856815][6474] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[015:563] [2022-07-25 03:00:16 +0000.858808][6474] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[015:564] [2022-07-25 03:00:16 +0000.859621][6473] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[015:564] [2022-07-25 03:00:16 +0000.859705][6473] The audio playback speed:100
(1/100)
[015:564] [2022-07-25 03:00:16 +0000.859731][6473] lipsync_debug: The current
played audio timestamp is:0(1/50)
[015:564] [2022-07-25 03:00:16 +0000.859748][6473] First audio frame rendering
[015:573] [2022-07-25 03:00:16 +0000.869040][6472] lipsync_debug: render a video
frame
[015:574] [2022-07-25 03:00:16 +0000.869230][6472] lipsync_debug: First video frame
rendering.
[015:579] [2022-07-25 03:00:16 +0000.874377][6474] audio frame wait video
frame.last_video_timestamp:33 last_audio_timestamp:138.957
[015:579] [2022-07-25 03:00:16 +0000.874963][6474]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[015:580] [2022-07-25 03:00:16 +0000.875169][6474] audio frame wait video
frame.last_video_timestamp:33 last_audio_timestamp:138.957
[015:580] [2022-07-25 03:00:16 +0000.876089][6474]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[015:581] [2022-07-25 03:00:16 +0000.876204][6474] audio frame wait video
frame.last_video_timestamp:33 last_audio_timestamp:138.957
[015:581] [2022-07-25 03:00:16 +0000.876760][6474]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[015:581] [2022-07-25 03:00:16 +0000.876866][6474] audio frame wait video
frame.last_video_timestamp:33 last_audio_timestamp:138.957
[015:582] [2022-07-25 03:00:16 +0000.877487][6474]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[015:584] [2022-07-25 03:00:16 +0000.879387][6472]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:23 timeDelta:24 last
video ts:900 frame->pts:2970 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[015:584] [2022-07-25 03:00:16 +0000.879473][6472] lipsync_debug: tsDelta -
timeDelta = -1
[015:584] [2022-07-25 03:00:16 +0000.879487][6472] lipsync_debug:result remaining
time:0
[015:584] [2022-07-25 03:00:16 +0000.879498][6472] dynamic updated lipsync delay:0
[015:597] [2022-07-25 03:00:16 +0000.893057][6472] lipsync_debug:remaining time:10
tsDelta - timeDelta:20
[015:598] [2022-07-25 03:00:16 +0000.893140][6472] lipsync_debug:result remaining
time:10
[015:652] [2022-07-25 03:00:16 +0000.947652][6475] video frame wait audio frame:
last_video_timestamp:300 last_audio_timestamp:184.943
[015:652] [2022-07-25 03:00:16 +0000.947713][6475]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[016:148] [2022-07-25 03:00:17 +0000.443432][622e] Run AGC when audioType = 0
[016:148] [2022-07-25 03:00:17 +0000.443615][622e]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:214] [2022-07-25 03:00:17 +0000.510077][6472] lipsync_debug:displaying video
ts:59760 The current displayed video timestamp is:103748540
[016:475] [2022-07-25 03:00:17 +0000.770381][6485]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[016:553] [2022-07-25 03:00:17 +0000.848334][6473] do work DoLipsync!
[016:553] [2022-07-25 03:00:17 +0000.848387][6473] total delay:222 videoTsMS:998
audioTsMS:776 diff:222
[016:553] [2022-07-25 03:00:17 +0000.848406][6473] Set the lipsync delay:222
[016:559] [2022-07-25 03:00:17 +0000.854521][6474] audio frame wait video
frame.last_video_timestamp:1193 last_audio_timestamp:1299.59
[016:579] [2022-07-25 03:00:17 +0000.874974][6475] Error(video_source.cc:430): wait
decoder a frame: 0
[017:044] [2022-07-25 03:00:18 +0000.339409][6472] lipsync_debug:displaying video
ts:119700 The current displayed video timestamp is:103749370
[017:139] [2022-07-25 03:00:18 +0000.434142][6472] DriveRender working... (1/200)
[017:237] [2022-07-25 03:00:18 +0000.532965][6472]
lipsync_debug:lipsync_threadhold: lipsync_delta:9 tsDelta:45 timeDelta:45 last
video ts:128610 frame->pts:131850 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[017:237] [2022-07-25 03:00:18 +0000.533028][6472] lipsync_debug: tsDelta -
timeDelta = 0
[017:280] [2022-07-25 03:00:18 +0000.576057][622e] haveEnoughProcessedData
internalAudioStream.length: 0
[017:293] [2022-07-25 03:00:18 +0000.588329][5631]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[017:294] [2022-07-25 03:00:18 +0000.589395][6473] Stop:
[017:294] [2022-07-25 03:00:18 +0000.589583][6472] operator(): Video Render
stopped.
[017:295] [2022-07-25 03:00:18 +0000.590178][6473] Stop:
[017:295] [2022-07-25 03:00:18 +0000.590447][6473] DeviceStop:
audioDevice_:0x6ec0606000
[017:295] [2022-07-25 03:00:18 +0000.590479][6473] OpenSlesOutput:Stop playout

[017:297] [2022-07-25 03:00:18 +0000.593065][6473] DeviceStop: Done


[017:298] [2022-07-25 03:00:18 +0000.593249][6473] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[017:298] [2022-07-25 03:00:18 +0000.593292][6473] operator(): Stop now!
[017:317] [2022-07-25 03:00:18 +0000.612674][5631]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[017:317] [2022-07-25 03:00:18 +0000.612783][5631] StopPreView: Have Stopped,
operation cancel
[017:317] [2022-07-25 03:00:18 +0000.612809][5631] Stop:
[017:317] [2022-07-25 03:00:18 +0000.613050][6473] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[017:318] [2022-07-25 03:00:18 +0000.613236][5631] DeviceRelease:
audioDevice_:0x6ec0606000
[017:318] [2022-07-25 03:00:18 +0000.613258][5631] OpenSlesOutput:Stop playout

[017:318] [2022-07-25 03:00:18 +0000.613317][5631] DeviceRelease: Release the


webrtc device object.
[017:318] [2022-07-25 03:00:18 +0000.613451][5631] OpenSlesOutput destruct.

[017:318] [2022-07-25 03:00:18 +0000.613489][5631] DeviceRelease: Done


[017:318] [2022-07-25 03:00:18 +0000.613548][5631] Stop:
[017:318] [2022-07-25 03:00:18 +0000.613742][6472] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[017:323] [2022-07-25 03:00:18 +0000.618724][5631] global uninited!
[017:324] [2022-07-25 03:00:18 +0000.619355][5631]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[017:324] [2022-07-25 03:00:18 +0000.619426][5631] ~MediaFilterGraph:
MediaFilterGraph destruct
[017:324] [2022-07-25 03:00:18 +0000.619448][5631] RemoveVideoBackGroud: hava not
add video backgroud
[017:324] [2022-07-25 03:00:18 +0000.619487][5631] UnbindInputFilter 0x6e993b3518
this 0x6ec0636420
[017:324] [2022-07-25 03:00:18 +0000.619511][5631] ClearAllSource: remove source
filter, sourceid: 0x6e81514b80
[017:324] [2022-07-25 03:00:18 +0000.619536][5631] DestoryDecoderByVideoSource
time:103749650 enter.

[017:324] [2022-07-25 03:00:18 +0000.619567][5631] ~VideoBindDecoder time:103749650


enter.

[017:324] [2022-07-25 03:00:18 +0000.619664][5631] CleanUp time:103749650 enter.

[017:327] [2022-07-25 03:00:18 +0000.622881][5631] CleanUp leave. expire time = 3


ms

[017:327] [2022-07-25 03:00:18 +0000.622939][5631] CleanUp time:103749653 enter.

[017:328] [2022-07-25 03:00:18 +0000.623115][5631] CleanUp leave. expire time = 1


ms

[017:328] [2022-07-25 03:00:18 +0000.623411][5631] ~VideoBindDecoder leave. expire


time = 4 ms

[017:328] [2022-07-25 03:00:18 +0000.623435][5631] DestoryDecoderByVideoSource


leave. expire time = 4 ms

[017:328] [2022-07-25 03:00:18 +0000.623477][5631] UnbindInputFilter 0x6e993b32d8


this 0x6e993b3518
[017:328] [2022-07-25 03:00:18 +0000.623507][5631] UnbindInputFilter 0x6e993b3218
this 0x6e993b32d8
[017:328] [2022-07-25 03:00:18 +0000.623539][5631] UnbindInputFilter 0x6e81514da0
this 0x6e993b3218
[017:328] [2022-07-25 03:00:18 +0000.623567][5631] UnbindInputFilter 0x6e993b3458
this 0x6e993b35d8
[017:328] [2022-07-25 03:00:18 +0000.623595][5631] UnbindInputFilter 0x6e993b3398
this 0x6e993b3458
[017:328] [2022-07-25 03:00:18 +0000.623613][5631] UnbindInputFilter 0x6e81514da0
this 0x6e993b3398
[017:328] [2022-07-25 03:00:18 +0000.623775][5631] ~GLESContext:
[017:329] [2022-07-25 03:00:18 +0000.624167][5631] GLESContext destruct finish.
[017:329] [2022-07-25 03:00:18 +0000.624197][5631] filter: filter pipeline destroy
this: 0x6ec0636380
[017:329] [2022-07-25 03:00:18 +0000.624527][5631]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[017:329] [2022-07-25 03:00:18 +0000.625014][5631] machine model :poco
[017:329] [2022-07-25 03:00:18 +0000.625045][5631] Support this machine model :poco
[017:329] [2022-07-25 03:00:18 +0000.625065][5631] global inited! current sdk
version: 07-20-936c45f
[017:330] [2022-07-25 03:00:18 +0000.625338][5631] filter: filter pipeline
construtc this: 0x6ec0636380
[017:330] [2022-07-25 03:00:18 +0000.625376][5631] MediaFilterGraph:
MediaFilterGraph construct
[017:330] [2022-07-25 03:00:18 +0000.625393][5631] GLESContext:
[017:330] [2022-07-25 03:00:18 +0000.625420][5631] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[017:332] [2022-07-25 03:00:18 +0000.627583][5631] The result of creation:
0x6f7a654280
[017:332] [2022-07-25 03:00:18 +0000.627675][5631] The result of
eglCreatePbufferSurface is: 0x6f7a7be300
[017:332] [2022-07-25 03:00:18 +0000.627791][5631] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4
[017:332] [2022-07-25 03:00:18 +0000.627822][5631] The source 0 speed:1
[017:332] [2022-07-25 03:00:18 +0000.627856][5631] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4,
delay: 0
[017:332] [2022-07-25 03:00:18 +0000.627896][5631] CreateDecoderByVideoSource
time:103749658 enter.

[017:333] [2022-07-25 03:00:18 +0000.628105][5631] running_decoder_count:0max


count:2
[017:333] [2022-07-25 03:00:18 +0000.628142][5631] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x6f9cb71c00
[017:333] [2022-07-25 03:00:18 +0000.628769][64ab] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x6f8754b600] Current FFmpeg version git-2021-06-16-
97cea6f

[017:374] [2022-07-25 03:00:18 +0000.669204][64ab] OnStreamInfoFound: video


duration_: 12984
[017:377] [2022-07-25 03:00:18 +0000.672336][5631] start decoder
[017:377] [2022-07-25 03:00:18 +0000.672398][5631] CreateDecoderByVideoSource
leave. expire time = 45 ms

[017:377] [2022-07-25 03:00:18 +0000.672431][5631] BindInputFilter 0x6e81514da0


this 0x6e993b3158
[017:377] [2022-07-25 03:00:18 +0000.672452][5631] BindInputFilter 0x6e993b3158
this 0x6e993b3218
[017:377] [2022-07-25 03:00:18 +0000.672472][5631] BindInputFilter 0x6e81514da0
this 0x6e993b32d8
[017:377] [2022-07-25 03:00:18 +0000.672494][5631] BindInputFilter 0x6e993b32d8
this 0x6e993b3398
[017:377] [2022-07-25 03:00:18 +0000.672508][5631] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4
[017:377] [2022-07-25 03:00:18 +0000.672531][5631] BindInputFilter 0x6e993b3218
this 0x6e993b3458
[017:377] [2022-07-25 03:00:18 +0000.672551][5631] BindInputFilter 0x6e993b3458
this 0x6ec0636420
[017:377] [2022-07-25 03:00:18 +0000.672571][5631] BindInputFilter 0x6e993b3398
this 0x6e993b3518
[017:377] [2022-07-25 03:00:18 +0000.672591][5631] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_103734119.mp4
[017:382] [2022-07-25 03:00:18 +0000.677154][5631]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[017:382] [2022-07-25 03:00:18 +0000.677280][5631] MediaComposeFile time:103749708
enter.
[017:382] [2022-07-25 03:00:18 +0000.677312][5631] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[017:382] [2022-07-25 03:00:18 +0000.677398][5631] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[017:382] [2022-07-25 03:00:18 +0000.677417][5631] Recording session using default
bitrate support by app:31457280
[017:382] [2022-07-25 03:00:18 +0000.677468][64bb] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e8fbd92c0
[017:382] [2022-07-25 03:00:18 +0000.677495][64bb] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[017:382] [2022-07-25 03:00:18 +0000.677551][5631] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[017:382] [2022-07-25 03:00:18 +0000.677734][5631] GetPipeline:
-----------------------------------------
[017:382] [2022-07-25 03:00:18 +0000.677760][5631] GetPipeline: source:
0x6e81514b80
[017:382] [2022-07-25 03:00:18 +0000.677780][5631] GetPipeline: filter: NULLFilter
[017:382] [2022-07-25 03:00:18 +0000.677798][5631] GetPipeline: filter: NULLFilter
[017:382] [2022-07-25 03:00:18 +0000.677814][5631] GetPipeline: filter: NULLFilter
[017:382] [2022-07-25 03:00:18 +0000.677832][5631] GetPipeline: audio filter:
AuidoNULLFilter
[017:382] [2022-07-25 03:00:18 +0000.677848][5631] GetPipeline: audio filter:
AuidoNULLFilter
[017:382] [2022-07-25 03:00:18 +0000.677865][5631] GetPipeline: audio filter:
AudioNUllFilter
[017:382] [2022-07-25 03:00:18 +0000.677880][5631] GetPipeline:
------------------------------------------
[017:382] [2022-07-25 03:00:18 +0000.677897][5631] filter: filter pipeline2 update
pattern: 2
[017:383] [2022-07-25 03:00:18 +0000.678132][5631] MediaComposeFile leave. expire
time = 1 ms

[017:383] [2022-07-25 03:00:18 +0000.678467][5631] machine model :poco


[017:383] [2022-07-25 03:00:18 +0000.678527][5631] Support this machine model :poco
[017:383] [2022-07-25 03:00:18 +0000.678542][5631] global inited! current sdk
version: 07-20-936c45f
[017:384] [2022-07-25 03:00:18 +0000.679786][64ac] NO get frame from decoder
[017:387] [2022-07-25 03:00:18 +0000.682219][64ac] NO get frame from decoder
[017:388] [2022-07-25 03:00:18 +0000.683516][64ac] NO get frame from decoder
[017:389] [2022-07-25 03:00:18 +0000.684669][64ac] NO get frame from decoder
[017:390] [2022-07-25 03:00:18 +0000.685616][64ac] NO get frame from decoder
[017:391] [2022-07-25 03:00:18 +0000.686674][64ac] NO get frame from decoder
[017:392] [2022-07-25 03:00:18 +0000.687306][64ac] NO get frame from decoder
[017:392] [2022-07-25 03:00:18 +0000.688021][64ac] NO get frame from decoder
[017:400] [2022-07-25 03:00:18 +0000.695381][5631]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[017:400] [2022-07-25 03:00:18 +0000.695550][5631] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 256
[017:400] [2022-07-25 03:00:18 +0000.696024][5631]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[017:400] [2022-07-25 03:00:18 +0000.696061][5631] BeginCompose: BeginCompose, is
composing 0
[017:401] [2022-07-25 03:00:18 +0000.696185][64bb] start recording, file path:
[017:401] [2022-07-25 03:00:18 +0000.696302][64bb] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 256 audio_timescale:44100
video_timescale:90000
[017:401] [2022-07-25 03:00:18 +0000.696335][64bb] 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
[017:401] [2022-07-25 03:00:18 +0000.696359][64bb] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 256
[017:401] [2022-07-25 03:00:18 +0000.696385][64bb] fd_open successed
handle:0xb40000705450f0b0
[017:401] [2022-07-25 03:00:18 +0000.696511][64bb] create mp4 file:320
m_fileHandle: 0x6ea9123500
[017:401] [2022-07-25 03:00:18 +0000.696529][64bb] MP4 file: is opened successfully
[017:401] [2022-07-25 03:00:18 +0000.696543][64bb] setupMediaProcessers:
[017:401] [2022-07-25 03:00:18 +0000.696557][64bb]
RecordingSessionInternalSimple:setup media processers.
[017:401] [2022-07-25 03:00:18 +0000.696571][64bb] construct AAC encoder
[017:401] [2022-07-25 03:00:18 +0000.696838][64bb] H264Encoder creating:
ultrafast012323
[017:401] [2022-07-25 03:00:18 +0000.696862][64bb] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[017:402] [2022-07-25 03:00:18 +0000.697158][64bb] H264Encode::GetMachineModel is
M2012K11AG
[017:402] [2022-07-25 03:00:18 +0000.697184][64bb] H264Encoder machine_mode
is:M2012K11AG
[017:402] [2022-07-25 03:00:18 +0000.697196][64bb] H264Encode::machine size :9
machine_mode:M2012K11AG
[017:402] [2022-07-25 03:00:18 +0000.697210][64bb] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[017:402] [2022-07-25 03:00:18 +0000.697225][64bb] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[017:402] [2022-07-25 03:00:18 +0000.697238][64bb] setupCompressionSession:
[017:402] [2022-07-25 03:00:18 +0000.697253][64bb] H264Encode::creating hareware
Encoder
[017:402] [2022-07-25 03:00:18 +0000.697268][64bb] AndroidHwAvcEncoder
time:103749728 enter.

[017:402] [2022-07-25 03:00:18 +0000.697419][64bb] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb40000705443f540 address:0x6e5cebe760
[017:402] [2022-07-25 03:00:18 +0000.697511][64bb] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[017:402] [2022-07-25 03:00:18 +0000.697534][64bb] The video avc hw codec address
is 0x6ea9185490
[017:402] [2022-07-25 03:00:18 +0000.697579][64bb] AndroidHwAvcEncoder leave.
expire time = 0 ms

[017:402] [2022-07-25 03:00:18 +0000.697599][64bb] RegisterEncodeCompleteCallback


time:103749728 enter.

[017:402] [2022-07-25 03:00:18 +0000.697667][64bb] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[017:402] [2022-07-25 03:00:18 +0000.697692][64bb] InitEncode time:103749728


enter.

[017:402] [2022-07-25 03:00:18 +0000.697740][64bb] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[017:402] [2022-07-25 03:00:18 +0000.697765][64bb] Create time:103749728 enter.

[017:402] [2022-07-25 03:00:18 +0000.697818][64bb] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[017:402] [2022-07-25 03:00:18 +0000.697842][64bb]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x6f084f0b80
[017:402] [2022-07-25 03:00:18 +0000.697978][64bb]
supported_type:image/vnd.android.heic
[017:402] [2022-07-25 03:00:18 +0000.698055][64bb] supported_type:video/avc
[017:403] [2022-07-25 03:00:18 +0000.698187][64bb] name:OMX.qcom.video.encoder.avc
mime:video/avc
[017:403] [2022-07-25 03:00:18 +0000.698253][64bb] hwCodecPrefix :OMX.qcom.
[017:403] [2022-07-25 03:00:18 +0000.698274][64bb] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[017:403] [2022-07-25 03:00:18 +0000.698293][64bb] mediacodec_createCodecByName
time:103749729 enter.

[017:403] [2022-07-25 03:00:18 +0000.698310][64bb] WrapAndroidMediaCodec


time:103749729 enter.

[017:403] [2022-07-25 03:00:18 +0000.698394][64bb] WrapAndroidMediaCodec leave.


expire time = 0 ms

[017:403] [2022-07-25 03:00:18 +0000.698162][64c0] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6ea595f298
[017:434] [2022-07-25 03:00:18 +0000.729983][64bb] mediacodec_createCodecByName
leave. expire time = 31 ms

[017:434] [2022-07-25 03:00:18 +0000.730040][64bb] WrapAndroidMediaFromat


time:103749760 enter.

[017:434] [2022-07-25 03:00:18 +0000.730093][64bb] WrapAndroidMediaFromat leave.


expire time = 1 ms

[017:492] [2022-07-25 03:00:18 +0000.787785][64bb] Destroy time:103749818 enter.

[017:492] [2022-07-25 03:00:18 +0000.787867][64bb] WrapAndroidMediaFromat::


Destroy
[017:492] [2022-07-25 03:00:18 +0000.787893][64bb] Destroy leave. expire time = 0
ms

[017:492] [2022-07-25 03:00:18 +0000.787910][64bb] ~WrapAndroidMediaFromat


time:103749818 enter.

[017:492] [2022-07-25 03:00:18 +0000.787927][64bb] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[017:492] [2022-07-25 03:00:18 +0000.787945][64bb] Create leave. expire time = 90


ms

[017:492] [2022-07-25 03:00:18 +0000.787962][64bb] isSemiPlanarSupport


time:103749818 enter.

[017:492] [2022-07-25 03:00:18 +0000.788013][64bb] H264Encoder isSemiPlanarSupport


[017:492] [2022-07-25 03:00:18 +0000.788030][64bb] isSemiPlanarSupport leave.
expire time = 0 ms

[017:492] [2022-07-25 03:00:18 +0000.788044][64bb] creat hw H264Encoder success,


isSemiPlanar:1
[017:493] [2022-07-25 03:00:18 +0000.788131][64bb] InitEncode leave. expire time =
91 ms

[017:493] [2022-07-25 03:00:18 +0000.788191][64bb] H264Encode::created Encoder


[017:493] [2022-07-25 03:00:18 +0000.788208][64bb] H264Encode:: H264 encoder
created.
[017:493] [2022-07-25 03:00:18 +0000.788221][64bb] H264 encoder created.
[017:493] [2022-07-25 03:00:18 +0000.788234][64bb]
RecordingSessionInternalSimple:created avc encoder avc: 0x6ea5103dc0
[017:493] [2022-07-25 03:00:18 +0000.788251][64bb] setOutput:
[017:493] [2022-07-25 03:00:18 +0000.788268][64bb]
RecordingSessionInternalSimple:encoder set output to muxer!
[017:493] [2022-07-25 03:00:18 +0000.788283][64bb] request a key frame
[017:493] [2022-07-25 03:00:18 +0000.788296][64bb] H264Encode:: request a key frame
[017:494] [2022-07-25 03:00:18 +0000.789562][64bb] setDisplayRotate :90
[017:494] [2022-07-25 03:00:18 +0000.789757][64bb] 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
[017:497] [2022-07-25 03:00:18 +0000.792259][64bc] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[017:497] [2022-07-25 03:00:18 +0000.792358][64c0] add aac audio track with id:1
[017:497] [2022-07-25 03:00:18 +0000.792415][64c0] audio start ts:0
[017:497] [2022-07-25 03:00:18 +0000.792440][64c0] the audio frame has been written
into MP4 file
[017:497] [2022-07-25 03:00:18 +0000.792939][64bc]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[017:585] [2022-07-25 03:00:18 +0000.881133][64bc] h264 add frame header cdr flag
[017:587] [2022-07-25 03:00:18 +0000.882371][64bc] h264 add frame header cdr flag
[017:587] [2022-07-25 03:00:18 +0000.882781][64bc] Received key frame:10
[017:587] [2022-07-25 03:00:18 +0000.882815][64bc] H264Encode:: get a sps pps
header!headerSize:32
[017:587] [2022-07-25 03:00:18 +0000.882894][64c0] get the H.264 SPS parameter
[017:587] [2022-07-25 03:00:18 +0000.883088][64c0] add video track with id:2
[017:588] [2022-07-25 03:00:18 +0000.884037][64bc] DTS queue for
Generator:0x6ea595fcb8 100 133 165 201 230 265 300
[017:588] [2022-07-25 03:00:18 +0000.884051][64c0] get the H.264 PPS parameter
[017:589] [2022-07-25 03:00:18 +0000.884426][64bc] Push an pts:330 to dts queue.
[017:589] [2022-07-25 03:00:18 +0000.884726][64c0] get the H.264 IDR frame
[017:589] [2022-07-25 03:00:18 +0000.884781][64c0] resss:true
[017:589] [2022-07-25 03:00:18 +0000.884804][64c0] video start ts:10
[017:589] [2022-07-25 03:00:18 +0000.884901][64c0] the video frame has been written
into MP4 file
[017:643] [2022-07-25 03:00:18 +0000.938757][64bc] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:462
[017:643] [2022-07-25 03:00:18 +0000.938839][64bc] push video frame to H264
encoder. (100 frame for one log)

[017:643] [2022-07-25 03:00:18 +0000.938879][64bc] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[017:643] [2022-07-25 03:00:18 +0000.938897][64bc] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:462(100 frame for one
log)

[017:643] [2022-07-25 03:00:18 +0000.938923][64bc] The input pts:462 fps:30


[017:663] [2022-07-25 03:00:18 +0000.958264][64bc] SendFrame
encodedImage._timeStamp:330encodedImage->_length:85856
[017:663] [2022-07-25 03:00:18 +0000.958363][64bc] last dts:300 currentPts:330
ppsOrSPS:0 queue length:7
[017:663] [2022-07-25 03:00:18 +0000.958382][64bc] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:330 pts:330
[017:684] [2022-07-25 03:00:18 +0000.979340][64bc] H264Encode::H264SWEncoder get
callback, length:105040 type:1 nalType:1length:105036
[017:698] [2022-07-25 03:00:18 +0000.993601][64be] Error(video_source.cc:430): wait
decoder a frame: 19
[017:699] [2022-07-25 03:00:18 +0000.995077][64bb] setDisplayRotate :90
[017:700] [2022-07-25 03:00:18 +0000.995139][64bb] 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
[017:730] [2022-07-25 03:00:19 +0000.25357][64bb] setDisplayRotate :90
[017:730] [2022-07-25 03:00:19 +0000.25421][64bb] 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
[017:734] [2022-07-25 03:00:19 +0000.29430][64bf] audio_frame_list_ empty
[017:748] [2022-07-25 03:00:19 +0000.43788][64bb] setDisplayRotate :90
[017:748] [2022-07-25 03:00:19 +0000.43834][64bb] 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
[017:768] [2022-07-25 03:00:19 +0000.63127][64bb] setDisplayRotate :90
[017:768] [2022-07-25 03:00:19 +0000.63189][64bb] 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
[017:770] [2022-07-25 03:00:19 +0000.65440][64be] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6988 diff: 13
[017:830] [2022-07-25 03:00:19 +0000.125280][64bc] DTS queue for
Generator:0x6ea595fcb8 897 930 963 998 1028 1063 1099 1132 1162
[017:839] [2022-07-25 03:00:19 +0000.134402][64bb] setDisplayRotate :90
[017:839] [2022-07-25 03:00:19 +0000.134447][64bb] 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
[017:962] [2022-07-25 03:00:19 +0000.257986][64bb] setDisplayRotate :90
[017:962] [2022-07-25 03:00:19 +0000.258036][64bb] 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
[018:048] [2022-07-25 03:00:19 +0000.344066][64be] Error(video_source.cc:430): wait
decoder a frame: 6
[018:061] [2022-07-25 03:00:19 +0000.356217][64bc] Push an pts:1664 to dts queue.
[018:080] [2022-07-25 03:00:19 +0000.375627][64bf] audio_frame_list_ empty
[018:124] [2022-07-25 03:00:19 +0000.419527][64bc] last dts:1633 currentPts:1664
ppsOrSPS:0 queue length:9
[018:128] [2022-07-25 03:00:19 +0000.423486][64bc] DTS queue for
Generator:0x6ea595fcb8 1734 1769 1806 1832 1862 1899 1927 1960 1995
[018:165] [2022-07-25 03:00:19 +0000.461060][622e] Run AGC when audioType = 0
[018:181] [2022-07-25 03:00:19 +0000.476409][64bc] h264 add frame header cdr flag
[018:182] [2022-07-25 03:00:19 +0000.477352][64bc] Received key frame:1995
[018:237] [2022-07-25 03:00:19 +0000.532964][64bb] setDisplayRotate :90
[018:237] [2022-07-25 03:00:19 +0000.533013][64bb] 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
[018:244] [2022-07-25 03:00:19 +0000.539933][64c0] get the H.264 IDR frame
[018:337] [2022-07-25 03:00:19 +0000.632964][64bc] DTS queue for
Generator:0x6ea595fcb8 2562 2598 2631 2666 2703 2730 2766 2796
[018:381] [2022-07-25 03:00:19 +0000.676953][64bc] Push an pts:2997 to dts queue.
[018:425] [2022-07-25 03:00:19 +0000.720504][64bf] audio_frame_list_ empty
[018:449] [2022-07-25 03:00:19 +0000.745060][64bc] last dts:2964 currentPts:2997
ppsOrSPS:0 queue length:9
[018:535] [2022-07-25 03:00:19 +0000.830606][64bb] setDisplayRotate :90
[018:535] [2022-07-25 03:00:19 +0000.830650][64bb] 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
[018:547] [2022-07-25 03:00:19 +0000.842964][64be] Error(video_source.cc:430): wait
decoder a frame: 0
[018:605] [2022-07-25 03:00:19 +0000.900304][64bc] DTS queue for
Generator:0x6ea595fcb8 3398 3425 3460 3497 3528 3563 3596 3631
[018:653] [2022-07-25 03:00:19 +0000.948576][64bc] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3831
[018:653] [2022-07-25 03:00:19 +0000.948716][64bc] push video frame to H264
encoder. (100 frame for one log)

[018:653] [2022-07-25 03:00:19 +0000.948741][64bc] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[018:653] [2022-07-25 03:00:19 +0000.948752][64bc] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3831(100 frame for one
log)

[018:653] [2022-07-25 03:00:19 +0000.948769][64bc] The input pts:3831 fps:30


[018:672] [2022-07-25 03:00:19 +0000.967955][64bc] SendFrame
encodedImage._timeStamp:3665encodedImage->_length:74960
[018:685] [2022-07-25 03:00:19 +0000.980287][64bc] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3698 pts:3698
[018:724] [2022-07-25 03:00:20 +0000.19151][64bc] H264Encode::H264SWEncoder get
callback, length:124064 type:1 nalType:1length:124060
[018:761] [2022-07-25 03:00:20 +0000.56515][64bc] h264 add frame header cdr flag
[018:761] [2022-07-25 03:00:20 +0000.56757][64bc] Received key frame:3994
[018:777] [2022-07-25 03:00:20 +0000.72744][64bf] audio_frame_list_ empty
[018:852] [2022-07-25 03:00:20 +0000.147459][64bb] setDisplayRotate :90
[018:852] [2022-07-25 03:00:20 +0000.147524][64bb] 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
[018:858] [2022-07-25 03:00:20 +0000.153675][64c0] get the H.264 IDR frame
[018:863] [2022-07-25 03:00:20 +0000.158774][64bc] Push an pts:4330 to dts queue.
[018:885] [2022-07-25 03:00:20 +0000.180889][64bc] DTS queue for
Generator:0x6ea595fcb8 4230 4263 4296 4330 4364 4395 4432
[018:901] [2022-07-25 03:00:20 +0000.196424][64be] Error(video_source.cc:430): wait
decoder a frame: 0
[018:920] [2022-07-25 03:00:20 +0000.215905][64bc] last dts:4296 currentPts:4330
ppsOrSPS:0 queue length:7
[018:994] [2022-07-25 03:00:20 +0000.289270][64be] webrtc common_video plane
old ..... (1/1000) new: 8001 delete: 7944 diff: 57
[019:049] [2022-07-25 03:00:20 +0000.344889][622e] haveEnoughProcessedData
internalAudioStream.length: 20
[019:113] [2022-07-25 03:00:20 +0000.408345][64bc] DTS queue for
Generator:0x6ea595fcb8 5025 5061 5095 5137 5164 5196 5228 5261 5296
[019:145] [2022-07-25 03:00:20 +0000.440788][64bf] audio_frame_list_ empty
[019:182] [2022-07-25 03:00:20 +0000.477511][64bb] setDisplayRotate :90
[019:182] [2022-07-25 03:00:20 +0000.477563][64bb] 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
[019:203] [2022-07-25 03:00:20 +0000.499049][64bb] setDisplayRotate :90
[019:204] [2022-07-25 03:00:20 +0000.499114][64bb] 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
[019:264] [2022-07-25 03:00:20 +0000.559422][64bc] Push an pts:5665 to dts queue.
[019:290] [2022-07-25 03:00:20 +0000.585781][64be] Error(video_source.cc:430): wait
decoder a frame: 6
[019:314] [2022-07-25 03:00:20 +0000.609444][64bc] last dts:5634 currentPts:5665
ppsOrSPS:0 queue length:10
[019:341] [2022-07-25 03:00:20 +0000.636266][64bc] DTS queue for
Generator:0x6ea595fcb8 5860 5892 5926 5959 5992 6024 6062 6090 6130
[019:380] [2022-07-25 03:00:20 +0000.676061][64bc] h264 add frame header cdr flag
[019:381] [2022-07-25 03:00:20 +0000.676364][64bc] Received key frame:5992
[019:416] [2022-07-25 03:00:20 +0000.711461][64c0] get the H.264 IDR frame
[019:582] [2022-07-25 03:00:20 +0000.877781][64bc] DTS queue for
Generator:0x6ea595fcb8 6728 6759 6793 6827 6862 6893
[019:613] [2022-07-25 03:00:20 +0000.908433][64bc] Push an pts:6989 to dts queue.
[019:634] [2022-07-25 03:00:20 +0000.929638][64bc] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:7195
[019:634] [2022-07-25 03:00:20 +0000.929698][64bc] push video frame to H264
encoder. (100 frame for one log)

[019:634] [2022-07-25 03:00:20 +0000.929726][64bc] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[019:634] [2022-07-25 03:00:20 +0000.929742][64bc] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:7195(100 frame for one
log)

[019:634] [2022-07-25 03:00:20 +0000.929766][64bc] The input pts:7195 fps:30


[019:656] [2022-07-25 03:00:20 +0000.951451][64bc] SendFrame
encodedImage._timeStamp:6989encodedImage->_length:122336
[019:656] [2022-07-25 03:00:20 +0000.951536][64bc] last dts:6958 currentPts:6989
ppsOrSPS:0 queue length:8
[019:668] [2022-07-25 03:00:20 +0000.963670][64bc] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:7064 pts:7064
[019:681] [2022-07-25 03:00:20 +0000.976878][64be] Error(video_source.cc:430): wait
decoder a frame: 0
[019:693] [2022-07-25 03:00:20 +0000.988733][64bc] H264Encode::H264SWEncoder get
callback, length:104416 type:1 nalType:1length:104412
[019:771] [2022-07-25 03:00:21 +0000.66394][64bc] DTS queue for
Generator:0x6ea595fcb8 7523 7561 7591 7629 7658 7687 7722 7760
[019:830] [2022-07-25 03:00:21 +0000.125484][64bb] setDisplayRotate :90
[019:830] [2022-07-25 03:00:21 +0000.125570][64bb] 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
[019:849] [2022-07-25 03:00:21 +0000.144702][64bb] setDisplayRotate :90
[019:849] [2022-07-25 03:00:21 +0000.144773][64bb] 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
[019:858] [2022-07-25 03:00:21 +0000.153766][64bb] setDisplayRotate :90
[019:858] [2022-07-25 03:00:21 +0000.153821][64bb] 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
[019:870] [2022-07-25 03:00:21 +0000.165890][64bb] setDisplayRotate :90
[019:870] [2022-07-25 03:00:21 +0000.165932][64bb] 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
[019:877] [2022-07-25 03:00:21 +0000.172660][64bb] setDisplayRotate :90
[019:877] [2022-07-25 03:00:21 +0000.172758][64bb] 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
[019:886] [2022-07-25 03:00:21 +0000.182025][64bc] h264 add frame header cdr flag
[019:887] [2022-07-25 03:00:21 +0000.182338][64bc] Received key frame:7990
[019:901] [2022-07-25 03:00:21 +0000.196476][64c0] get the H.264 IDR frame
[019:902] [2022-07-25 03:00:21 +0000.197642][64bc] Push an pts:8328 to dts queue.
[019:922] [2022-07-25 03:00:21 +0000.217581][64bb] setDisplayRotate :90
[019:922] [2022-07-25 03:00:21 +0000.217627][64bb] 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
[020:023] [2022-07-25 03:00:21 +0000.318193][64bf] audio_frame_list_ empty
[020:040] [2022-07-25 03:00:21 +0000.335545][64bb] setDisplayRotate :90
[020:040] [2022-07-25 03:00:21 +0000.335604][64bb] 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
[020:052] [2022-07-25 03:00:21 +0000.347282][64bc] last dts:8293 currentPts:8328
ppsOrSPS:0 queue length:3
[020:077] [2022-07-25 03:00:21 +0000.372272][64bc] DTS queue for
Generator:0x6ea595fcb8 8396 8426 8459 8494 8525
[020:094] [2022-07-25 03:00:21 +0000.390098][64be] Error(video_source.cc:430): wait
decoder a frame: 0
[020:149] [2022-07-25 03:00:21 +0000.444100][622f] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:149] [2022-07-25 03:00:21 +0000.444151][622f] _deviceSampleRate:48000

[020:152] [2022-07-25 03:00:21 +0000.447939][622e] Run AGC when audioType = 0


[020:152] [2022-07-25 03:00:21 +0000.448023][622e]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:162] [2022-07-25 03:00:21 +0000.457958][64be] webrtc common_video plane
old ..... (1/1000) new: 9001 delete: 8952 diff: 49
[020:253] [2022-07-25 03:00:21 +0000.548601][64bc] DTS queue for
Generator:0x6ea595fcb8 9224 9259 9288 9325 9358
[020:313] [2022-07-25 03:00:21 +0000.608521][64bb] setDisplayRotate :90
[020:313] [2022-07-25 03:00:21 +0000.608567][64bb] 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
[020:322] [2022-07-25 03:00:21 +0000.617948][64bb] setDisplayRotate :90
[020:322] [2022-07-25 03:00:21 +0000.618067][64bb] 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
[020:325] [2022-07-25 03:00:21 +0000.620858][64bb] setDisplayRotate :90
[020:325] [2022-07-25 03:00:21 +0000.620904][64bb] 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
[020:355] [2022-07-25 03:00:21 +0000.650595][64bc] Push an pts:9656 to dts queue.
[020:404] [2022-07-25 03:00:21 +0000.699950][64bc] last dts:9631 currentPts:9656
ppsOrSPS:0 queue length:6
[020:407] [2022-07-25 03:00:21 +0000.703005][64be] Error(video_source.cc:430): wait
decoder a frame: 0
[020:429] [2022-07-25 03:00:21 +0000.725168][64bf] audio_frame_list_ empty
[020:477] [2022-07-25 03:00:21 +0000.773018][64bc] DTS queue for
Generator:0x6ea595fcb8 9990 10022 10054 10090 10132 10154 10190 10223 10257
[020:487] [2022-07-25 03:00:21 +0000.782405][64bc] h264 add frame header cdr flag
[020:487] [2022-07-25 03:00:21 +0000.782640][64bc] Received key frame:9990
[020:488] [2022-07-25 03:00:21 +0000.783860][64c0] get the H.264 IDR frame
[020:568] [2022-07-25 03:00:21 +0000.863333][64bb] setDisplayRotate :90
[020:568] [2022-07-25 03:00:21 +0000.863376][64bb] 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
[020:589] [2022-07-25 03:00:21 +0000.884594][64bc] SendFrame
encodedImage._timeStamp:10324encodedImage->_length:113552
[020:603] [2022-07-25 03:00:21 +0000.898624][64bc] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:10553
[020:603] [2022-07-25 03:00:21 +0000.898701][64bc] push video frame to H264
encoder. (100 frame for one log)

[020:603] [2022-07-25 03:00:21 +0000.898736][64bc] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[020:603] [2022-07-25 03:00:21 +0000.898753][64bc] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:10553(100 frame for one
log)

[020:603] [2022-07-25 03:00:21 +0000.898774][64bc] The input pts:10553 fps:30


[020:616] [2022-07-25 03:00:21 +0000.912063][64bc] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10420 pts:10420
[020:652] [2022-07-25 03:00:21 +0000.947135][64bc] H264Encode::H264SWEncoder get
callback, length:107488 type:1 nalType:1length:107484
[020:674] [2022-07-25 03:00:21 +0000.969383][64bc] Push an pts:10988 to dts queue.
[020:691] [2022-07-25 03:00:21 +0000.987051][64bc] DTS queue for
Generator:0x6ea595fcb8 10786 10822 10856 10889 10921 10958 10988 11023 11055 11086
[020:755] [2022-07-25 03:00:22 +0000.50982][64bc] last dts:10958 currentPts:10988
ppsOrSPS:0 queue length:10
[020:792] [2022-07-25 03:00:22 +0000.87807][64bf] audio_frame_list_ empty
[020:808] [2022-07-25 03:00:22 +0000.103756][622e] haveEnoughProcessedData
internalAudioStream.length: 0
[020:855] [2022-07-25 03:00:22 +0000.150768][64bb] setDisplayRotate :90
[020:855] [2022-07-25 03:00:22 +0000.150867][64bb] 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
[020:872] [2022-07-25 03:00:22 +0000.167377][64be] Error(video_source.cc:430): wait
decoder a frame: 0
[020:949] [2022-07-25 03:00:22 +0000.244127][64bc] DTS queue for
Generator:0x6ea595fcb8 11686 11722 11751 11785 11819 11854
[021:039] [2022-07-25 03:00:22 +0000.334245][64bc] Push an pts:12320 to dts queue.
[021:041] [2022-07-25 03:00:22 +0000.336774][64bc] h264 add frame header cdr flag
[021:041] [2022-07-25 03:00:22 +0000.337040][64bc] Received key frame:11989
[021:043] [2022-07-25 03:00:22 +0000.338781][64c0] get the H.264 IDR frame
[021:077] [2022-07-25 03:00:22 +0000.372152][64ac] av_read_frame AVERROR_EOF
[021:095] [2022-07-25 03:00:22 +0000.390611][64bc] last dts:12285 currentPts:12320
ppsOrSPS:0 queue length:10
[021:109] [2022-07-25 03:00:22 +0000.404345][64bc] DTS queue for
Generator:0x6ea595fcb8 12456 12488 12523 12556 12585 12623 12656 12686 12723
[021:128] [2022-07-25 03:00:22 +0000.423824][64ac] OnReceiveEOF:
[021:128] [2022-07-25 03:00:22 +0000.423894][64ac] OnDecoderEOF time:103753454
enter.

[021:128] [2022-07-25 03:00:22 +0000.423927][64ac] OnDecoderEOF leave. expire time


= 0 ms

[021:128] [2022-07-25 03:00:22 +0000.423945][64ac] OnDecoderFinished:


OnDecoderFinished total decoder frames:390 this:0x6e81514b80
[021:128] [2022-07-25 03:00:22 +0000.423952][64aa] CleanUp time:103753454 enter.

[021:128] [2022-07-25 03:00:22 +0000.423973][64ac] NULLFilter::OnVideoSourceEOF


0x6e81514b80 this 0x6e993b30c0
[021:128] [2022-07-25 03:00:22 +0000.424058][64ac] NULLFilter::OnVideoSourceEOF
0x6e993b30c0 this 0x6e993b3180
[021:128] [2022-07-25 03:00:22 +0000.424089][64ac] NULLFilter::OnVideoSourceEOF
0x6e993b3180 this 0x6e993b33c0
[021:131] [2022-07-25 03:00:22 +0000.426560][64bf] PullAudioFrame: PullFrame audio
finished.
[021:131] [2022-07-25 03:00:22 +0000.426668][64bf]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[021:131] [2022-07-25 03:00:22 +0000.426707][64bf] OnAudioTimer: OnAudioTimer
return
[021:131] [2022-07-25 03:00:22 +0000.426981][64be]
Warning(media_filter_composefile.cc:321): pull video frame failed:8
[021:131] [2022-07-25 03:00:22 +0000.427040][64be] OnVideoTimer: OnVideoTimer
EndComposeFile
[021:131] [2022-07-25 03:00:22 +0000.427086][64be] EndComposeFile: EndComposeFile,
is composing 1
[021:132] [2022-07-25 03:00:22 +0000.427917][64aa] CleanUp leave. expire time = 4
ms

[021:132] [2022-07-25 03:00:22 +0000.428007][64aa] clean up


[021:132] [2022-07-25 03:00:22 +0000.428062][64aa] running_decoder_count:0max
count:2
[021:145] [2022-07-25 03:00:22 +0000.440196][64bc]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:390
[021:145] [2022-07-25 03:00:22 +0000.440280][64bc]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x6f084bc800
[021:145] [2022-07-25 03:00:22 +0000.440705][64bd]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[021:145] [2022-07-25 03:00:22 +0000.440745][64bd]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[021:145] [2022-07-25 03:00:22 +0000.440945][64bb] stop recording
[021:145] [2022-07-25 03:00:22 +0000.441022][64bb]
RecordingSessionInternalSimple:destroy media processers
[021:145] [2022-07-25 03:00:22 +0000.441060][64bb] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[021:145] [2022-07-25 03:00:22 +0000.441132][64bb] H264Encode::flushing hareware
Encoder
[021:146] [2022-07-25 03:00:22 +0000.441411][64bb] Flush time:103753472 enter.

[021:146] [2022-07-25 03:00:22 +0000.441491][64bb] H264Encoder encoder flush


[021:146] [2022-07-25 03:00:22 +0000.441533][64bb] flush output queue
[021:474] [2022-07-25 03:00:22 +0000.769274][64bb] Flush leave. expire time = 328
ms

[021:474] [2022-07-25 03:00:22 +0000.769717][64bb] ~H264EncodeWrap:


[021:474] [2022-07-25 03:00:22 +0000.769882][64bb] ~H264Encode:
[021:474] [2022-07-25 03:00:22 +0000.770039][64bb] teardownCompressionSession:
H264Encode::destroying Encoder
[021:475] [2022-07-25 03:00:22 +0000.770141][64bb] Release time:103753801 enter.

[021:476] [2022-07-25 03:00:22 +0000.771579][64bb] Release:


MediaCodecVideoEncoder::Release _inited:1
[021:476] [2022-07-25 03:00:22 +0000.771800][64bb] Destroy time:103753802 enter.

[021:477] [2022-07-25 03:00:22 +0000.772119][64bb] H264Encoder encoderDestroy


[021:477] [2022-07-25 03:00:22 +0000.772223][64bb]
AndroidMediaCodecVideoEncoder::release env: 0x6ea5103f00
[021:477] [2022-07-25 03:00:22 +0000.772333][64bb]
AndroidMediaCodecVideoEncoder::Destroy
[021:523] [2022-07-25 03:00:22 +0000.818644][64bb] Destroy leave. expire time = 47
ms

[021:523] [2022-07-25 03:00:22 +0000.818817][64bb] Release leave. expire time = 48


ms

[021:523] [2022-07-25 03:00:22 +0000.818861][64bb] ~AndroidHwAvcEncoder


time:103753849 enter.

[021:523] [2022-07-25 03:00:22 +0000.819019][64bb] Release time:103753849 enter.

[021:523] [2022-07-25 03:00:22 +0000.819084][64bb] Release:


MediaCodecVideoEncoder:: has been released before, just return
[021:524] [2022-07-25 03:00:22 +0000.819139][64bb] Release leave. expire time = 1
ms

[021:524] [2022-07-25 03:00:22 +0000.819180][64bb] ~AndroidMediaCodecVideoEncoder


[021:524] [2022-07-25 03:00:22 +0000.819217][64bb] ~WrapAndroidMediaCodec
time:103753850 enter.

[021:524] [2022-07-25 03:00:22 +0000.819264][64bb] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[021:524] [2022-07-25 03:00:22 +0000.819295][64bb] video hevc hw codec


destructor:0x6ea9185490

[021:524] [2022-07-25 03:00:22 +0000.819356][64bb] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[021:524] [2022-07-25 03:00:22 +0000.819474][64bb] teardownCompressionSession:


H264Encode::destroyed Encoder
[021:524] [2022-07-25 03:00:22 +0000.819522][64bb]
RecordingSessionInternalSimple:destroy aac encoder output!
[021:524] [2022-07-25 03:00:22 +0000.819579][64bb] AACSWEncode destructor
[021:532] [2022-07-25 03:00:22 +0000.827475][64c0] fd_close successed!
[021:532] [2022-07-25 03:00:22 +0000.827726][64c0] MP4 close file successfully
[021:533] [2022-07-25 03:00:22 +0000.828502][64c0] Recording session Internal:
notify recording ok
[021:533] [2022-07-25 03:00:22 +0000.828565][64c0] onRecordingOk: Recording Ok,
compose use time: 4133, averagefps 0
[021:533] [2022-07-25 03:00:22 +0000.828620][64c0] OnReceiveEOF:
[021:535] [2022-07-25 03:00:22 +0000.830681][64be] OnVideoTimer: OnVideoTimer
return
[021:542] [2022-07-25 03:00:22 +0000.837782][5631]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[021:542] [2022-07-25 03:00:22 +0000.838061][5631] ~MediaComposeFile time:103753868
enter.

[021:543] [2022-07-25 03:00:22 +0000.838103][5631] CancelCompose: CancelCompose,


is composing 0
[021:543] [2022-07-25 03:00:22 +0000.838829][64bb] stop recording
[021:544] [2022-07-25 03:00:22 +0000.839293][64bb] we have stopped recording before
[021:544] [2022-07-25 03:00:22 +0000.839982][5631] ~MediaComposeFile leave. expire
time = 2 ms

[021:545] [2022-07-25 03:00:22 +0000.840214][5631] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[021:546] [2022-07-25 03:00:22 +0000.841858][5631] global uninited!
[021:547] [2022-07-25 03:00:22 +0000.842349][5631]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[021:547] [2022-07-25 03:00:22 +0000.842447][5631] ~MediaFilterGraph:
MediaFilterGraph destruct
[021:547] [2022-07-25 03:00:22 +0000.842488][5631] RemoveVideoBackGroud: hava not
add video backgroud
[021:547] [2022-07-25 03:00:22 +0000.842548][5631] UnbindInputFilter 0x6e993b3458
this 0x6ec0636420
[021:547] [2022-07-25 03:00:22 +0000.842602][5631] ClearAllSource: remove source
filter, sourceid: 0x6e81514b80
[021:547] [2022-07-25 03:00:22 +0000.842626][5631] DestoryDecoderByVideoSource
time:103753873 enter.

[021:547] [2022-07-25 03:00:22 +0000.842653][5631] ~VideoBindDecoder time:103753873


enter.

[021:547] [2022-07-25 03:00:22 +0000.842805][5631] CleanUp time:103753873 enter.

[021:547] [2022-07-25 03:00:22 +0000.843051][5631] CleanUp leave. expire time = 0


ms

[021:547] [2022-07-25 03:00:22 +0000.843095][5631] CleanUp time:103753873 enter.

[021:548] [2022-07-25 03:00:22 +0000.843360][5631] CleanUp leave. expire time = 1


ms

[021:548] [2022-07-25 03:00:22 +0000.844029][5631] ~VideoBindDecoder leave. expire


time = 1 ms

[021:548] [2022-07-25 03:00:22 +0000.844082][5631] DestoryDecoderByVideoSource


leave. expire time = 1 ms

[021:549] [2022-07-25 03:00:22 +0000.844143][5631] UnbindInputFilter 0x6e993b3218


this 0x6e993b3458
[021:549] [2022-07-25 03:00:22 +0000.844185][5631] UnbindInputFilter 0x6e993b3158
this 0x6e993b3218
[021:549] [2022-07-25 03:00:22 +0000.844245][5631] UnbindInputFilter 0x6e81514da0
this 0x6e993b3158
[021:549] [2022-07-25 03:00:22 +0000.844293][5631] UnbindInputFilter 0x6e993b3398
this 0x6e993b3518
[021:549] [2022-07-25 03:00:22 +0000.844334][5631] UnbindInputFilter 0x6e993b32d8
this 0x6e993b3398
[021:549] [2022-07-25 03:00:22 +0000.844400][5631] UnbindInputFilter 0x6e81514da0
this 0x6e993b32d8
[021:549] [2022-07-25 03:00:22 +0000.844439][5631] ~GLESContext:
[021:553] [2022-07-25 03:00:22 +0000.848195][5631] GLESContext destruct finish.
[021:553] [2022-07-25 03:00:22 +0000.848260][5631] filter: filter pipeline destroy
this: 0x6ec0636380
[022:149] [2022-07-25 03:00:23 +0000.444317][622e] Run AGC when audioType = 0
[022:529] [2022-07-25 03:00:23 +0000.824551][622e] haveEnoughProcessedData
internalAudioStream.length: 0
[023:404] [2022-07-25 03:00:24 +0000.699793][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[023:404] [2022-07-25 03:00:24 +0000.699904][56bc] ~MediaFilterCamera
time:103755730 enter.

[023:404] [2022-07-25 03:00:24 +0000.699927][56bc] StopPullFrameAndWriteMp4


time:103755730 enter.

[023:405] [2022-07-25 03:00:24 +0000.700238][6227] stop recording


[023:405] [2022-07-25 03:00:24 +0000.700263][6227] we have stopped recording before
[023:405] [2022-07-25 03:00:24 +0000.700642][56bc] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[023:405] [2022-07-25 03:00:24 +0000.700966][56bc] DestroyPipelineAndFilters


time:103755731 enter.
[023:405] [2022-07-25 03:00:24 +0000.700996][56bc] DestroyPipelineAndFilters
leave. expire time = 0 ms

[023:405] [2022-07-25 03:00:24 +0000.701016][56bc] AppDeviceManagerStopMic

[023:405] [2022-07-25 03:00:24 +0000.701069][56bc] AppDeviceManagerStopMic::mic


status is on
[023:405] [2022-07-25 03:00:24 +0000.701090][56bc] Try to stop webrtc device.

[023:406] [2022-07-25 03:00:24 +0000.701146][56bc] Set record state to


stopped.threadID:22204

[023:435] [2022-07-25 03:00:24 +0000.731100][56bc] Try to destory the


recorder.threadID:22204

[023:636] [2022-07-25 03:00:24 +0000.931245][56bc] DestroyAudioRecorder:


[023:636] [2022-07-25 03:00:24 +0000.931421][56bc] Cleanup the buffer queue in the
recorder.
[023:636] [2022-07-25 03:00:24 +0000.931474][56bc] Destroy the recorder.

[023:637] [2022-07-25 03:00:24 +0000.932391][56bc] StopRecording finished.

[023:637] [2022-07-25 03:00:24 +0000.932452][56bc] The stop recording success.

[023:637] [2022-07-25 03:00:24 +0000.932496][56bc]


AudioDeviceDataHandler::StopMicProcess

[023:641] [2022-07-25 03:00:24 +0000.936712][56bc] AppDeviceManager stop.

[023:641] [2022-07-25 03:00:24 +0000.936801][56bc] Rlease the webrtc device object.

[023:641] [2022-07-25 03:00:24 +0000.937018][56bc] OpenSlesInput destruct.

[023:641] [2022-07-25 03:00:24 +0000.937057][56bc] OpenSlesOutput destruct.

[023:642] [2022-07-25 03:00:24 +0000.937511][56bc] EventDispatchServerScope


destruct
[023:642] [2022-07-25 03:00:24 +0000.937549][56bc]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[023:642] [2022-07-25 03:00:24 +0000.937624][56bc] ~AudioDeviceDataHandler

[023:642] [2022-07-25 03:00:24 +0000.937921][56bc] AppDeviceManagerDestruct.

[023:642] [2022-07-25 03:00:24 +0000.937954][56bc] ~AppDeviceManager:


[023:642] [2022-07-25 03:00:24 +0000.937988][56bc] ~CpuOverloadDetect
time:103755968 enter.

[023:643] [2022-07-25 03:00:24 +0000.938133][56bc] ~CpuOverloadDetect leave.


expire time = 1 ms

[023:644] [2022-07-25 03:00:24 +0000.939142][56bc] Destruct BeautifyReader begin...


[023:644] [2022-07-25 03:00:24 +0000.939189][56bc] Destruct BeautifyReader done.
[023:644] [2022-07-25 03:00:24 +0000.939231][56bc] ~MediaFilterCamera leave.
expire time = 240 ms

[023:644] [2022-07-25 03:00:24 +0000.939337][56bc] ~GLESContext:


[023:645] [2022-07-25 03:00:24 +0000.940772][56bc] GLESContext destruct finish.
[023:645] [2022-07-25 03:00:24 +0000.940829][56bc] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[023:648] [2022-07-25 03:00:24 +0000.943125][56bc] global uninited!
[023:648] [2022-07-25 03:00:24 +0000.943913][56bc] clear AppID 50011
[023:648] [2022-07-25 03:00:24 +0000.943947][56bc] UnRegister JVM for Xplatform
util
[023:648] [2022-07-25 03:00:24 +0000.943965][56bc] Dispose::unregister webrtc video
engine
[023:648] [2022-07-25 03:00:24 +0000.943980][56bc] Init the android object with
jvm:0x0 env:0x0 context:0x0

[023:648] [2022-07-25 03:00:24 +0000.944007][56bc] SetAndroidMediaCodecObjects


time:103755974 enter.

[023:648] [2022-07-25 03:00:24 +0000.944036][56bc] ClearAndroidMediaCodecObjects


time:103755974 enter.

[023:648] [2022-07-25 03:00:24 +0000.944065][56bc] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[023:648] [2022-07-25 03:00:24 +0000.944090][56bc] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[023:649] [2022-07-25 03:00:24 +0000.944120][56bc] SetAndroidMediaCodecObjects


time:103755975 enter.

[023:649] [2022-07-25 03:00:24 +0000.944146][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[023:649] [2022-07-25 03:00:24 +0000.944172][56bc] ClearAndroidMediaCodecObjects
time:103755975 enter.

[023:649] [2022-07-25 03:00:24 +0000.944199][56bc] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[023:649] [2022-07-25 03:00:24 +0000.944225][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[023:649] [2022-07-25 03:00:24 +0000.944252][56bc] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[023:649] [2022-07-25 03:00:24 +0000.944279][56bc] Dispose::unregister webrtc voice


engine
[023:649] [2022-07-25 03:00:24 +0000.944305][56bc] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[023:649] [2022-07-25 03:00:24 +0000.944334][56bc] SystemUtil UnInit done


[481:657] [2022-07-25 03:08:02 +0000.952722][56bc] Register JVM for xplatform util
[481:662] [2022-07-25 03:08:02 +0000.957774][56bc] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
25 03:08:02 +0000
[481:662] [2022-07-25 03:08:02 +0000.957851][56bc] set AppID=50011 old AppID=-1
[481:662] [2022-07-25 03:08:02 +0000.957884][56bc] Init the android object with
jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21a88

[481:662] [2022-07-25 03:08:02 +0000.957946][56bc] SetAndroidMediaCodecObjects


time:104213988 enter.

[481:662] [2022-07-25 03:08:02 +0000.957979][56bc] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[481:662] [2022-07-25 03:08:02 +0000.958013][56bc] SetAndroidMediaCodecObjects


time:104213988 enter.
[481:662] [2022-07-25 03:08:02 +0000.958050][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects:: jvm :0xb40000705443f540
[481:662] [2022-07-25 03:08:02 +0000.958068][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000705443f540 address:0x6e5cebe760
[481:663] [2022-07-25 03:08:02 +0000.958107][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000705443f540
address:0x6e5cebe760
[481:663] [2022-07-25 03:08:02 +0000.958154][56bc] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[481:663] [2022-07-25 03:08:02 +0000.958191][56bc] Set the android objects with


jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21a88

[481:663] [2022-07-25 03:08:02 +0000.958224][56bc] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6f9cbe4480
[481:663] [2022-07-25 03:08:02 +0000.958261][56bc] SystemUtil Init done
[481:663] [2022-07-25 03:08:02 +0000.958609][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[481:663] [2022-07-25 03:08:02 +0000.958775][56bc] MediaFilterCamera
[481:663] [2022-07-25 03:08:02 +0000.958810][56bc] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[481:663] [2022-07-25 03:08:02 +0000.959075][56bc] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[481:664] [2022-07-25 03:08:02 +0000.959106][56bc] Recording session using default
bitrate support by app:31457280
[481:664] [2022-07-25 03:08:02 +0000.959108][7488] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f0d109c40
[481:664] [2022-07-25 03:08:02 +0000.959333][7488] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[481:664] [2022-07-25 03:08:02 +0000.959385][56bc] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[481:664] [2022-07-25 03:08:02 +0000.960005][56bc] Error(ini.cc:191): Open the file
failed. error:2
[481:664] [2022-07-25 03:08:02 +0000.960034][56bc]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[481:664] [2022-07-25 03:08:02 +0000.960068][56bc] The device model: m2012k11ag
usingSoftwareAEC value: 0
[481:666] [2022-07-25 03:08:02 +0000.962094][56bc] Error(ini.cc:191): Open the file
failed. error:2
[481:667] [2022-07-25 03:08:02 +0000.962129][56bc]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[481:667] [2022-07-25 03:08:02 +0000.962150][56bc] The device model: m2012k11ag
usingHardwareAEC value: 0
[481:667] [2022-07-25 03:08:02 +0000.962174][56bc] The machine device: m2012k11ag
usingHardwareAEC value: 0
[481:667] [2022-07-25 03:08:02 +0000.962203][56bc] Using Default AEC type: software
AEC
[481:667] [2022-07-25 03:08:02 +0000.962944][56bc] The device model: m2012k11ag
enum value: 0
[481:668] [2022-07-25 03:08:02 +0000.963199][56bc] GetMachineModel is M2012K11AG
[481:668] [2022-07-25 03:08:02 +0000.963227][56bc] GetMachineInfo: M2012K11AG
[481:668] [2022-07-25 03:08:02 +0000.963258][56bc] Construct BeautifyReader
begin...
[481:668] [2022-07-25 03:08:02 +0000.963286][56bc] dumpStickerRgba:0
dumpStickerYuv:0
[481:668] [2022-07-25 03:08:02 +0000.963313][56bc] Construct BeautifyReader done.
[481:670] [2022-07-25 03:08:02 +0000.966028][56bc] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[481:670] [2022-07-25 03:08:02 +0000.966059][748b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6ea90e26a0
[481:670] [2022-07-25 03:08:02 +0000.966086][56bc] AppDeviceManager telnet server
for statistics started......
[481:671] [2022-07-25 03:08:02 +0000.966457][56bc] CpuOverloadDetect time:104213997
enter.

[481:671] [2022-07-25 03:08:02 +0000.966506][56bc] CpuOverloadDetect leave. expire


time = 0 ms

[481:671] [2022-07-25 03:08:02 +0000.966533][748c] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6e99075640
[481:671] [2022-07-25 03:08:02 +0000.966787][56bc] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[481:671] [2022-07-25 03:08:02 +0000.966805][56bc] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[481:671] [2022-07-25 03:08:02 +0000.966923][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[481:672] [2022-07-25 03:08:02 +0000.967136][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[481:672] [2022-07-25 03:08:02 +0000.967256][56bc] CreatePlatformSpecificObjects:
[481:672] [2022-07-25 03:08:02 +0000.967275][56bc] audio device use opensle input
and opensl output
[481:672] [2022-07-25 03:08:02 +0000.967289][56bc] Create OpenSLES output module
with java VM support.

[481:672] [2022-07-25 03:08:02 +0000.967342][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[481:672] [2022-07-25 03:08:02 +0000.967410][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[481:672] [2022-07-25 03:08:02 +0000.967507][56bc] Create OpenSLES output module
with buffer num:1

[481:672] [2022-07-25 03:08:02 +0000.967595][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[481:672] [2022-07-25 03:08:02 +0000.967662][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[481:672] [2022-07-25 03:08:02 +0000.967736][56bc] Create OpenSLES input module
with java VM support.

[481:672] [2022-07-25 03:08:02 +0000.967753][56bc] Create OpenSLES input module


with buffer num:1

[481:672] [2022-07-25 03:08:02 +0000.967767][56bc] Error(trace.cc:40): Init the


output and input for audio device template.
[481:672] [2022-07-25 03:08:02 +0000.967777][56bc] Init the output device.

[481:672] [2022-07-25 03:08:02 +0000.967810][56bc] Init the opensl input.


[481:672] [2022-07-25 03:08:02 +0000.967821][56bc] AppDeviceManager get setting
samplerate: 0
[481:672] [2022-07-25 03:08:02 +0000.967984][56bc] The device model: m2012k11ag
enum value: 0
[481:673] [2022-07-25 03:08:02 +0000.968230][56bc] The device model: m2012k11ag
enum value: 0
[481:673] [2022-07-25 03:08:02 +0000.968245][56bc] Set the sample rate to be:48000

[481:673] [2022-07-25 03:08:02 +0000.968256][56bc] Enable the recording stereo:0


[481:673] [2022-07-25 03:08:02 +0000.968266][56bc] Set the playout as stereo:1
[481:673] [2022-07-25 03:08:02 +0000.968284][56bc] Init the microphone.
[481:673] [2022-07-25 03:08:02 +0000.968567][56bc] Update the recording sample rate
to be: 48000
[481:673] [2022-07-25 03:08:02 +0000.968593][56bc] Init the speaker.
[481:673] [2022-07-25 03:08:02 +0000.968609][56bc] Low latency buffer size:144 low
sample rate:48000
[481:673] [2022-07-25 03:08:02 +0000.968787][56bc] Using 1 x 10ms for an audio
frame.

[481:676] [2022-07-25 03:08:02 +0000.971389][56bc] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[481:676] [2022-07-25 03:08:02 +0000.971461][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[481:676] [2022-07-25 03:08:02 +0000.971493][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[481:680] [2022-07-25 03:08:02 +0000.975548][56bc] The device model:m2012k11ag

[481:680] [2022-07-25 03:08:02 +0000.975606][56bc] speaker output factor:100


defaultFactor: 100

[481:680] [2022-07-25 03:08:02 +0000.975617][56bc] headset output factor:100


defaultFactor: 100

[481:680] [2022-07-25 03:08:02 +0000.975842][56bc] AppDeviceManagerStart finished.


[481:680] [2022-07-25 03:08:02 +0000.975857][56bc] AppDeviceManagerStartMic::mic
status is off
[481:680] [2022-07-25 03:08:02 +0000.975919][56bc] AppDeviceManagerStartMic update
aec type: 2

[481:680] [2022-07-25 03:08:02 +0000.975934][56bc] AppDeviceManagerStartMic update


voiceChangeMode: 4

[481:680] [2022-07-25 03:08:02 +0000.975943][56bc]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[481:680] [2022-07-25 03:08:02 +0000.975966][56bc]
AudioDeviceDataHandler::StartMicProcess

[481:680] [2022-07-25 03:08:02 +0000.976049][56bc] Try to start webrtc recording


device.

[481:680] [2022-07-25 03:08:02 +0000.976067][56bc] StartRecording. threadID:22204

[481:681] [2022-07-25 03:08:02 +0000.976094][56bc] default mode: Set the recording


mode to voice communication to enable HW AEC .

[481:680] [2022-07-25 03:08:02 +0000.976079][748d] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[481:681] [2022-07-25 03:08:02 +0000.976117][56bc] Set the recording mode before
getSetting: 4
[481:681] [2022-07-25 03:08:02 +0000.976159][56bc] Set the recording mode after
getSetting: 1
[481:708] [2022-07-25 03:08:03 +0000.4062][56bc] StartRecording finished.

[481:709] [2022-07-25 03:08:03 +0000.4135][56bc] audio: start the audio mic checker
timer.

[481:709] [2022-07-25 03:08:03 +0000.4464][56bc] machine model :poco


[481:709] [2022-07-25 03:08:03 +0000.4491][56bc] Support this machine model :poco
[481:709] [2022-07-25 03:08:03 +0000.4541][56bc] global inited! current sdk
version: 07-20-936c45f
[481:960] [2022-07-25 03:08:03 +0000.255517][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[481:960] [2022-07-25 03:08:03 +0000.255626][7489] MediaFilterCamera, recording
file context:0x6f87414800 input texture:23
[481:960] [2022-07-25 03:08:03 +0000.255690][7489] GLESContext:
[481:960] [2022-07-25 03:08:03 +0000.255745][7489] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[481:961] [2022-07-25 03:08:03 +0000.256543][7489] The result of creation:
0x6f084e0300
[481:961] [2022-07-25 03:08:03 +0000.256642][7489] The result of
eglCreatePbufferSurface is: 0x6f084e0680
[481:961] [2022-07-25 03:08:03 +0000.256762][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6f87414800 input_texture: 23
[482:100] [2022-07-25 03:08:03 +0000.395483][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[482:100] [2022-07-25 03:08:03 +0000.395589][56bc] ~MediaFilterCamera
time:104214426 enter.

[482:100] [2022-07-25 03:08:03 +0000.395664][56bc] StopPullFrameAndWriteMp4


time:104214426 enter.

[482:100] [2022-07-25 03:08:03 +0000.395934][7488] stop recording


[482:100] [2022-07-25 03:08:03 +0000.395961][7488] we have stopped recording before
[482:100] [2022-07-25 03:08:03 +0000.396070][56bc] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[482:101] [2022-07-25 03:08:03 +0000.396321][56bc] DestroyPipelineAndFilters


time:104214427 enter.

[482:101] [2022-07-25 03:08:03 +0000.396348][56bc] DestroyPipelineAndFilters


leave. expire time = 0 ms

[482:101] [2022-07-25 03:08:03 +0000.396364][56bc] AppDeviceManagerStopMic

[482:101] [2022-07-25 03:08:03 +0000.396425][56bc] AppDeviceManagerStopMic::mic


status is on
[482:101] [2022-07-25 03:08:03 +0000.396443][56bc] Try to stop webrtc device.

[482:101] [2022-07-25 03:08:03 +0000.396461][56bc] Set record state to


stopped.threadID:22204

[482:125] [2022-07-25 03:08:03 +0000.420552][56bc] Try to destory the


recorder.threadID:22204

[482:326] [2022-07-25 03:08:03 +0000.621364][56bc] DestroyAudioRecorder:


[482:326] [2022-07-25 03:08:03 +0000.621530][56bc] Cleanup the buffer queue in the
recorder.
[482:326] [2022-07-25 03:08:03 +0000.621568][56bc] Destroy the recorder.

[482:327] [2022-07-25 03:08:03 +0000.622412][56bc] StopRecording finished.

[482:327] [2022-07-25 03:08:03 +0000.622473][56bc] The stop recording success.

[482:327] [2022-07-25 03:08:03 +0000.622491][56bc]


AudioDeviceDataHandler::StopMicProcess

[482:332] [2022-07-25 03:08:03 +0000.627477][56bc] AppDeviceManager stop.


[482:332] [2022-07-25 03:08:03 +0000.627557][56bc] Rlease the webrtc device object.

[482:332] [2022-07-25 03:08:03 +0000.627734][56bc] OpenSlesInput destruct.

[482:332] [2022-07-25 03:08:03 +0000.627769][56bc] OpenSlesOutput destruct.

[482:332] [2022-07-25 03:08:03 +0000.628048][56bc] EventDispatchServerScope


destruct
[482:332] [2022-07-25 03:08:03 +0000.628087][56bc]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[482:333] [2022-07-25 03:08:03 +0000.628120][56bc] ~AudioDeviceDataHandler

[482:333] [2022-07-25 03:08:03 +0000.628416][56bc] AppDeviceManagerDestruct.

[482:333] [2022-07-25 03:08:03 +0000.628442][56bc] ~AppDeviceManager:


[482:333] [2022-07-25 03:08:03 +0000.628492][56bc] ~CpuOverloadDetect
time:104214659 enter.

[482:333] [2022-07-25 03:08:03 +0000.628635][56bc] ~CpuOverloadDetect leave.


expire time = 0 ms

[482:334] [2022-07-25 03:08:03 +0000.629469][56bc] Destruct BeautifyReader begin...


[482:334] [2022-07-25 03:08:03 +0000.629508][56bc] Destruct BeautifyReader done.
[482:334] [2022-07-25 03:08:03 +0000.629528][56bc] ~MediaFilterCamera leave.
expire time = 234 ms

[482:334] [2022-07-25 03:08:03 +0000.629616][56bc] ~GLESContext:


[482:335] [2022-07-25 03:08:03 +0000.630408][56bc] GLESContext destruct finish.
[482:335] [2022-07-25 03:08:03 +0000.630444][56bc] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[482:335] [2022-07-25 03:08:03 +0000.630623][56bc] global uninited!
[482:335] [2022-07-25 03:08:03 +0000.630847][56bc] clear AppID 50011
[482:335] [2022-07-25 03:08:03 +0000.630867][56bc] UnRegister JVM for Xplatform
util
[482:335] [2022-07-25 03:08:03 +0000.630895][56bc] Dispose::unregister webrtc video
engine
[482:335] [2022-07-25 03:08:03 +0000.630924][56bc] Init the android object with
jvm:0x0 env:0x0 context:0x0

[482:335] [2022-07-25 03:08:03 +0000.630954][56bc] SetAndroidMediaCodecObjects


time:104214661 enter.

[482:335] [2022-07-25 03:08:03 +0000.630985][56bc] ClearAndroidMediaCodecObjects


time:104214661 enter.

[482:335] [2022-07-25 03:08:03 +0000.631004][56bc] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[482:335] [2022-07-25 03:08:03 +0000.631018][56bc] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[482:335] [2022-07-25 03:08:03 +0000.631035][56bc] SetAndroidMediaCodecObjects


time:104214661 enter.

[482:335] [2022-07-25 03:08:03 +0000.631049][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[482:335] [2022-07-25 03:08:03 +0000.631064][56bc] ClearAndroidMediaCodecObjects
time:104214661 enter.
[482:335] [2022-07-25 03:08:03 +0000.631078][56bc] ClearAndroidMediaCodecObjects
leave. expire time = 0 ms

[482:335] [2022-07-25 03:08:03 +0000.631092][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[482:336] [2022-07-25 03:08:03 +0000.631106][56bc] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[482:336] [2022-07-25 03:08:03 +0000.631120][56bc] Dispose::unregister webrtc voice


engine
[482:336] [2022-07-25 03:08:03 +0000.631134][56bc] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[482:336] [2022-07-25 03:08:03 +0000.631150][56bc] SystemUtil UnInit done


[483:551] [2022-07-25 03:08:04 +0000.847082][56bc] Register JVM for xplatform util
[483:555] [2022-07-25 03:08:04 +0000.850903][56bc] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
25 03:08:04 +0000
[483:555] [2022-07-25 03:08:04 +0000.850937][56bc] set AppID=50011 old AppID=-1
[483:555] [2022-07-25 03:08:04 +0000.850972][56bc] Init the android object with
jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21a88

[483:555] [2022-07-25 03:08:04 +0000.851001][56bc] SetAndroidMediaCodecObjects


time:104215881 enter.

[483:555] [2022-07-25 03:08:04 +0000.851028][56bc] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[483:555] [2022-07-25 03:08:04 +0000.851056][56bc] SetAndroidMediaCodecObjects


time:104215881 enter.

[483:555] [2022-07-25 03:08:04 +0000.851082][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000705443f540
[483:556] [2022-07-25 03:08:04 +0000.851098][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000705443f540 address:0x6e5cebe760
[483:556] [2022-07-25 03:08:04 +0000.851114][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000705443f540
address:0x6e5cebe760
[483:556] [2022-07-25 03:08:04 +0000.851129][56bc] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[483:556] [2022-07-25 03:08:04 +0000.851145][56bc] Set the android objects with


jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21a88

[483:556] [2022-07-25 03:08:04 +0000.851161][56bc] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6f9cbe4480
[483:556] [2022-07-25 03:08:04 +0000.851178][56bc] SystemUtil Init done
[483:556] [2022-07-25 03:08:04 +0000.851403][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[483:556] [2022-07-25 03:08:04 +0000.851483][56bc] MediaFilterCamera
[483:556] [2022-07-25 03:08:04 +0000.851516][56bc] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[483:556] [2022-07-25 03:08:04 +0000.851757][56bc] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[483:556] [2022-07-25 03:08:04 +0000.851786][56bc] Recording session using default
bitrate support by app:31457280
[483:556] [2022-07-25 03:08:04 +0000.851787][74fe] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6ec05c81c0
[483:556] [2022-07-25 03:08:04 +0000.851995][74fe] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[483:556] [2022-07-25 03:08:04 +0000.852042][56bc] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[483:557] [2022-07-25 03:08:04 +0000.852579][56bc] Error(ini.cc:191): Open the file
failed. error:2
[483:557] [2022-07-25 03:08:04 +0000.852606][56bc]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[483:557] [2022-07-25 03:08:04 +0000.852636][56bc] The device model: m2012k11ag
usingSoftwareAEC value: 0
[483:558] [2022-07-25 03:08:04 +0000.854067][56bc] Error(ini.cc:191): Open the file
failed. error:2
[483:558] [2022-07-25 03:08:04 +0000.854094][56bc]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[483:559] [2022-07-25 03:08:04 +0000.854112][56bc] The device model: m2012k11ag
usingHardwareAEC value: 0
[483:559] [2022-07-25 03:08:04 +0000.854134][56bc] The machine device: m2012k11ag
usingHardwareAEC value: 0
[483:559] [2022-07-25 03:08:04 +0000.854146][56bc] Using Default AEC type: software
AEC
[483:559] [2022-07-25 03:08:04 +0000.854799][56bc] The device model: m2012k11ag
enum value: 0
[483:559] [2022-07-25 03:08:04 +0000.855018][56bc] GetMachineModel is M2012K11AG
[483:559] [2022-07-25 03:08:04 +0000.855039][56bc] GetMachineInfo: M2012K11AG
[483:559] [2022-07-25 03:08:04 +0000.855049][56bc] Construct BeautifyReader
begin...
[483:559] [2022-07-25 03:08:04 +0000.855059][56bc] dumpStickerRgba:0
dumpStickerYuv:0
[483:559] [2022-07-25 03:08:04 +0000.855084][56bc] Construct BeautifyReader done.
[483:561] [2022-07-25 03:08:04 +0000.856778][56bc] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[483:561] [2022-07-25 03:08:04 +0000.856844][56bc] AppDeviceManager telnet server
for statistics started......
[483:561] [2022-07-25 03:08:04 +0000.856931][7501] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e9904c4a0
[483:563] [2022-07-25 03:08:04 +0000.858385][56bc] CpuOverloadDetect time:104215889
enter.

[483:563] [2022-07-25 03:08:04 +0000.858487][56bc] CpuOverloadDetect leave. expire


time = 0 ms

[483:563] [2022-07-25 03:08:04 +0000.858522][7502] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6e99072380
[483:563] [2022-07-25 03:08:04 +0000.858805][56bc] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[483:563] [2022-07-25 03:08:04 +0000.858826][56bc] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[483:563] [2022-07-25 03:08:04 +0000.858954][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[483:564] [2022-07-25 03:08:04 +0000.859181][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[483:564] [2022-07-25 03:08:04 +0000.859309][56bc] CreatePlatformSpecificObjects:
[483:564] [2022-07-25 03:08:04 +0000.859336][56bc] audio device use opensle input
and opensl output
[483:564] [2022-07-25 03:08:04 +0000.859351][56bc] Create OpenSLES output module
with java VM support.

[483:564] [2022-07-25 03:08:04 +0000.859418][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[483:564] [2022-07-25 03:08:04 +0000.859508][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[483:564] [2022-07-25 03:08:04 +0000.859607][56bc] Create OpenSLES output module
with buffer num:1

[483:564] [2022-07-25 03:08:04 +0000.859676][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[483:564] [2022-07-25 03:08:04 +0000.859767][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[483:564] [2022-07-25 03:08:04 +0000.859860][56bc] Create OpenSLES input module
with java VM support.

[483:564] [2022-07-25 03:08:04 +0000.859885][56bc] Create OpenSLES input module


with buffer num:1

[483:564] [2022-07-25 03:08:04 +0000.859906][56bc] Error(trace.cc:40): Init the


output and input for audio device template.
[483:564] [2022-07-25 03:08:04 +0000.859921][56bc] Init the output device.

[483:564] [2022-07-25 03:08:04 +0000.859931][56bc] Init the opensl input.


[483:564] [2022-07-25 03:08:04 +0000.859956][56bc] AppDeviceManager get setting
samplerate: 0
[483:565] [2022-07-25 03:08:04 +0000.860132][56bc] The device model: m2012k11ag
enum value: 0
[483:565] [2022-07-25 03:08:04 +0000.860380][56bc] The device model: m2012k11ag
enum value: 0
[483:565] [2022-07-25 03:08:04 +0000.860397][56bc] Set the sample rate to be:48000

[483:565] [2022-07-25 03:08:04 +0000.860408][56bc] Enable the recording stereo:0


[483:565] [2022-07-25 03:08:04 +0000.860431][56bc] Set the playout as stereo:1
[483:565] [2022-07-25 03:08:04 +0000.860442][56bc] Init the microphone.
[483:565] [2022-07-25 03:08:04 +0000.860779][56bc] Update the recording sample rate
to be: 48000
[483:565] [2022-07-25 03:08:04 +0000.860808][56bc] Init the speaker.
[483:565] [2022-07-25 03:08:04 +0000.860825][56bc] Low latency buffer size:144 low
sample rate:48000
[483:565] [2022-07-25 03:08:04 +0000.861007][56bc] Using 1 x 10ms for an audio
frame.

[483:568] [2022-07-25 03:08:04 +0000.863710][56bc] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[483:568] [2022-07-25 03:08:04 +0000.863766][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[483:568] [2022-07-25 03:08:04 +0000.863795][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[483:572] [2022-07-25 03:08:04 +0000.867267][56bc] The device model:m2012k11ag

[483:572] [2022-07-25 03:08:04 +0000.867302][56bc] speaker output factor:100


defaultFactor: 100

[483:572] [2022-07-25 03:08:04 +0000.867314][56bc] headset output factor:100


defaultFactor: 100

[483:572] [2022-07-25 03:08:04 +0000.867508][56bc] AppDeviceManagerStart finished.


[483:572] [2022-07-25 03:08:04 +0000.867526][56bc] AppDeviceManagerStartMic::mic
status is off
[483:572] [2022-07-25 03:08:04 +0000.867570][56bc] AppDeviceManagerStartMic update
aec type: 2
[483:572] [2022-07-25 03:08:04 +0000.867580][56bc] AppDeviceManagerStartMic update
voiceChangeMode: 4

[483:572] [2022-07-25 03:08:04 +0000.867590][56bc]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[483:572] [2022-07-25 03:08:04 +0000.867600][56bc]
AudioDeviceDataHandler::StartMicProcess

[483:572] [2022-07-25 03:08:04 +0000.867683][56bc] Try to start webrtc recording


device.

[483:572] [2022-07-25 03:08:04 +0000.867697][56bc] StartRecording. threadID:22204

[483:572] [2022-07-25 03:08:04 +0000.867726][56bc] default mode: Set the recording


mode to voice communication to enable HW AEC .

[483:572] [2022-07-25 03:08:04 +0000.867713][7503] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[483:572] [2022-07-25 03:08:04 +0000.867736][56bc] Set the recording mode before
getSetting: 4
[483:572] [2022-07-25 03:08:04 +0000.867774][56bc] Set the recording mode after
getSetting: 1
[483:596] [2022-07-25 03:08:04 +0000.891539][56bc] StartRecording finished.

[483:596] [2022-07-25 03:08:04 +0000.891586][56bc] audio: start the audio mic


checker timer.

[483:597] [2022-07-25 03:08:04 +0000.892708][56bc] machine model :poco


[483:597] [2022-07-25 03:08:04 +0000.892746][56bc] Support this machine model :poco
[483:597] [2022-07-25 03:08:04 +0000.892761][56bc] global inited! current sdk
version: 07-20-936c45f
[483:742] [2022-07-25 03:08:05 +0000.37260][7503] haveEnoughProcessedData
internalAudioStream.length: 0
[483:810] [2022-07-25 03:08:05 +0000.105678][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[483:810] [2022-07-25 03:08:05 +0000.105823][74ff] MediaFilterCamera, recording
file context:0x6f87414800 input texture:23
[483:810] [2022-07-25 03:08:05 +0000.105868][74ff] GLESContext:
[483:810] [2022-07-25 03:08:05 +0000.105894][74ff] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[483:811] [2022-07-25 03:08:05 +0000.106492][74ff] The result of creation:
0x6ea9163300
[483:811] [2022-07-25 03:08:05 +0000.106558][74ff] The result of
eglCreatePbufferSurface is: 0x6ea9163880
[483:811] [2022-07-25 03:08:05 +0000.106655][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6f87414800 input_texture: 23
[484:078] [2022-07-25 03:08:05 +0000.373658][7503] Run AGC when audioType = 0
[484:078] [2022-07-25 03:08:05 +0000.373813][7503]
AudioDeviceDataHandler::MixAndSendOutFrame
[484:334] [2022-07-25 03:08:05 +0000.629203][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[484:334] [2022-07-25 03:08:05 +0000.629306][56bc] ~MediaFilterCamera
time:104216660 enter.

[484:334] [2022-07-25 03:08:05 +0000.629335][56bc] StopPullFrameAndWriteMp4


time:104216660 enter.
[484:336] [2022-07-25 03:08:05 +0000.631638][74fe] stop recording
[484:336] [2022-07-25 03:08:05 +0000.631682][74fe] we have stopped recording before
[484:336] [2022-07-25 03:08:05 +0000.632051][56bc] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[484:338] [2022-07-25 03:08:05 +0000.633548][56bc] DestroyPipelineAndFilters


time:104216664 enter.

[484:338] [2022-07-25 03:08:05 +0000.633692][56bc] DestroyPipelineAndFilters


leave. expire time = 0 ms

[484:338] [2022-07-25 03:08:05 +0000.633710][56bc] AppDeviceManagerStopMic

[484:338] [2022-07-25 03:08:05 +0000.633773][56bc] AppDeviceManagerStopMic::mic


status is on
[484:338] [2022-07-25 03:08:05 +0000.633787][56bc] Try to stop webrtc device.

[484:338] [2022-07-25 03:08:05 +0000.633802][56bc] Set record state to


stopped.threadID:22204

[484:380] [2022-07-25 03:08:05 +0000.675183][56bc] Try to destory the


recorder.threadID:22204

[484:580] [2022-07-25 03:08:05 +0000.875336][56bc] DestroyAudioRecorder:


[484:580] [2022-07-25 03:08:05 +0000.875419][56bc] Cleanup the buffer queue in the
recorder.
[484:580] [2022-07-25 03:08:05 +0000.875494][56bc] Destroy the recorder.

[484:581] [2022-07-25 03:08:05 +0000.876150][56bc] StopRecording finished.

[484:581] [2022-07-25 03:08:05 +0000.876208][56bc] The stop recording success.

[484:581] [2022-07-25 03:08:05 +0000.876222][56bc]


AudioDeviceDataHandler::StopMicProcess

[484:586] [2022-07-25 03:08:05 +0000.881145][56bc] AppDeviceManager stop.

[484:586] [2022-07-25 03:08:05 +0000.881259][56bc] Rlease the webrtc device object.

[484:588] [2022-07-25 03:08:05 +0000.883894][56bc] OpenSlesInput destruct.

[484:588] [2022-07-25 03:08:05 +0000.883941][56bc] OpenSlesOutput destruct.

[484:589] [2022-07-25 03:08:05 +0000.884207][56bc] EventDispatchServerScope


destruct
[484:589] [2022-07-25 03:08:05 +0000.884231][56bc]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[484:589] [2022-07-25 03:08:05 +0000.884254][56bc] ~AudioDeviceDataHandler

[484:589] [2022-07-25 03:08:05 +0000.884553][56bc] AppDeviceManagerDestruct.

[484:589] [2022-07-25 03:08:05 +0000.884576][56bc] ~AppDeviceManager:


[484:589] [2022-07-25 03:08:05 +0000.884596][56bc] ~CpuOverloadDetect
time:104216915 enter.

[484:589] [2022-07-25 03:08:05 +0000.884721][56bc] ~CpuOverloadDetect leave.


expire time = 0 ms

[484:590] [2022-07-25 03:08:05 +0000.885454][56bc] Destruct BeautifyReader begin...


[484:590] [2022-07-25 03:08:05 +0000.885480][56bc] Destruct BeautifyReader done.
[484:590] [2022-07-25 03:08:05 +0000.885493][56bc] ~MediaFilterCamera leave.
expire time = 256 ms

[484:590] [2022-07-25 03:08:05 +0000.885550][56bc] ~GLESContext:


[484:590] [2022-07-25 03:08:05 +0000.885913][56bc] GLESContext destruct finish.
[484:590] [2022-07-25 03:08:05 +0000.885940][56bc] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[484:590] [2022-07-25 03:08:05 +0000.886078][56bc] global uninited!
[484:591] [2022-07-25 03:08:05 +0000.886220][56bc] clear AppID 50011
[484:591] [2022-07-25 03:08:05 +0000.886236][56bc] UnRegister JVM for Xplatform
util
[484:591] [2022-07-25 03:08:05 +0000.886258][56bc] Dispose::unregister webrtc video
engine
[484:591] [2022-07-25 03:08:05 +0000.886270][56bc] Init the android object with
jvm:0x0 env:0x0 context:0x0

[484:591] [2022-07-25 03:08:05 +0000.886290][56bc] SetAndroidMediaCodecObjects


time:104216917 enter.

[484:591] [2022-07-25 03:08:05 +0000.886301][56bc] ClearAndroidMediaCodecObjects


time:104216917 enter.

[484:591] [2022-07-25 03:08:05 +0000.886320][56bc] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[484:591] [2022-07-25 03:08:05 +0000.886332][56bc] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[484:591] [2022-07-25 03:08:05 +0000.886349][56bc] SetAndroidMediaCodecObjects


time:104216917 enter.

[484:591] [2022-07-25 03:08:05 +0000.886359][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[484:591] [2022-07-25 03:08:05 +0000.886379][56bc] ClearAndroidMediaCodecObjects
time:104216917 enter.

[484:591] [2022-07-25 03:08:05 +0000.886390][56bc] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[484:591] [2022-07-25 03:08:05 +0000.886408][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[484:591] [2022-07-25 03:08:05 +0000.886419][56bc] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[484:591] [2022-07-25 03:08:05 +0000.886439][56bc] Dispose::unregister webrtc voice


engine
[484:591] [2022-07-25 03:08:05 +0000.886450][56bc] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[484:591] [2022-07-25 03:08:05 +0000.886470][56bc] SystemUtil UnInit done


[487:911] [2022-07-25 03:08:09 +0000.206951][56bc] Register JVM for xplatform util
[487:914] [2022-07-25 03:08:09 +0000.210080][56bc] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
25 03:08:09 +0000
[487:915] [2022-07-25 03:08:09 +0000.210112][56bc] set AppID=50011 old AppID=-1
[487:915] [2022-07-25 03:08:09 +0000.210141][56bc] Init the android object with
jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21a88
[487:915] [2022-07-25 03:08:09 +0000.210155][56bc] SetAndroidMediaCodecObjects
time:104220241 enter.

[487:915] [2022-07-25 03:08:09 +0000.210175][56bc] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[487:915] [2022-07-25 03:08:09 +0000.210186][56bc] SetAndroidMediaCodecObjects


time:104220241 enter.

[487:915] [2022-07-25 03:08:09 +0000.210205][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000705443f540
[487:915] [2022-07-25 03:08:09 +0000.210216][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000705443f540 address:0x6e5cebe760
[487:915] [2022-07-25 03:08:09 +0000.210237][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000705443f540
address:0x6e5cebe760
[487:915] [2022-07-25 03:08:09 +0000.210248][56bc] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[487:915] [2022-07-25 03:08:09 +0000.210267][56bc] Set the android objects with


jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21a88

[487:915] [2022-07-25 03:08:09 +0000.210279][56bc] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6f9cbe4480
[487:915] [2022-07-25 03:08:09 +0000.210299][56bc] SystemUtil Init done
[487:915] [2022-07-25 03:08:09 +0000.210459][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[487:915] [2022-07-25 03:08:09 +0000.210535][56bc] MediaFilterCamera
[487:915] [2022-07-25 03:08:09 +0000.210557][56bc] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[487:915] [2022-07-25 03:08:09 +0000.210640][56bc] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[487:915] [2022-07-25 03:08:09 +0000.210660][56bc] Recording session using default
bitrate support by app:31457280
[487:915] [2022-07-25 03:08:09 +0000.210678][7635] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6ec05c81c0
[487:915] [2022-07-25 03:08:09 +0000.210834][7635] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[487:915] [2022-07-25 03:08:09 +0000.210886][56bc] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[487:916] [2022-07-25 03:08:09 +0000.211326][56bc] Error(ini.cc:191): Open the file
failed. error:2
[487:916] [2022-07-25 03:08:09 +0000.211347][56bc]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[487:916] [2022-07-25 03:08:09 +0000.211358][56bc] The device model: m2012k11ag
usingSoftwareAEC value: 0
[487:917] [2022-07-25 03:08:09 +0000.212532][56bc] Error(ini.cc:191): Open the file
failed. error:2
[487:917] [2022-07-25 03:08:09 +0000.212558][56bc]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[487:917] [2022-07-25 03:08:09 +0000.212575][56bc] The device model: m2012k11ag
usingHardwareAEC value: 0
[487:917] [2022-07-25 03:08:09 +0000.212600][56bc] The machine device: m2012k11ag
usingHardwareAEC value: 0
[487:917] [2022-07-25 03:08:09 +0000.212612][56bc] Using Default AEC type: software
AEC
[487:918] [2022-07-25 03:08:09 +0000.213247][56bc] The device model: m2012k11ag
enum value: 0
[487:918] [2022-07-25 03:08:09 +0000.213460][56bc] GetMachineModel is M2012K11AG
[487:918] [2022-07-25 03:08:09 +0000.213478][56bc] GetMachineInfo: M2012K11AG
[487:918] [2022-07-25 03:08:09 +0000.213489][56bc] Construct BeautifyReader
begin...
[487:918] [2022-07-25 03:08:09 +0000.213510][56bc] dumpStickerRgba:0
dumpStickerYuv:0
[487:918] [2022-07-25 03:08:09 +0000.213521][56bc] Construct BeautifyReader done.
[487:919] [2022-07-25 03:08:09 +0000.214974][56bc] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[487:919] [2022-07-25 03:08:09 +0000.215017][56bc] AppDeviceManager telnet server
for statistics started......
[487:919] [2022-07-25 03:08:09 +0000.215003][7638] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e99052da0
[487:920] [2022-07-25 03:08:09 +0000.215360][56bc] CpuOverloadDetect time:104220246
enter.

[487:920] [2022-07-25 03:08:09 +0000.215411][56bc] CpuOverloadDetect leave. expire


time = 0 ms

[487:920] [2022-07-25 03:08:09 +0000.215438][7639] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6e990744c0
[487:920] [2022-07-25 03:08:09 +0000.215664][56bc] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[487:920] [2022-07-25 03:08:09 +0000.215681][56bc] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[487:920] [2022-07-25 03:08:09 +0000.215787][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[487:920] [2022-07-25 03:08:09 +0000.215925][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[487:920] [2022-07-25 03:08:09 +0000.216073][56bc] CreatePlatformSpecificObjects:
[487:921] [2022-07-25 03:08:09 +0000.216098][56bc] audio device use opensle input
and opensl output
[487:921] [2022-07-25 03:08:09 +0000.216111][56bc] Create OpenSLES output module
with java VM support.

[487:921] [2022-07-25 03:08:09 +0000.216175][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[487:921] [2022-07-25 03:08:09 +0000.216247][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[487:921] [2022-07-25 03:08:09 +0000.216331][56bc] Create OpenSLES output module
with buffer num:1

[487:921] [2022-07-25 03:08:09 +0000.216390][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[487:921] [2022-07-25 03:08:09 +0000.216458][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[487:921] [2022-07-25 03:08:09 +0000.216543][56bc] Create OpenSLES input module
with java VM support.

[487:921] [2022-07-25 03:08:09 +0000.216566][56bc] Create OpenSLES input module


with buffer num:1

[487:921] [2022-07-25 03:08:09 +0000.216581][56bc] Error(trace.cc:40): Init the


output and input for audio device template.
[487:921] [2022-07-25 03:08:09 +0000.216599][56bc] Init the output device.

[487:921] [2022-07-25 03:08:09 +0000.216609][56bc] Init the opensl input.


[487:921] [2022-07-25 03:08:09 +0000.216635][56bc] AppDeviceManager get setting
samplerate: 0
[487:921] [2022-07-25 03:08:09 +0000.216782][56bc] The device model: m2012k11ag
enum value: 0
[487:921] [2022-07-25 03:08:09 +0000.217057][56bc] The device model: m2012k11ag
enum value: 0
[487:921] [2022-07-25 03:08:09 +0000.217076][56bc] Set the sample rate to be:48000

[487:921] [2022-07-25 03:08:09 +0000.217087][56bc] Enable the recording stereo:0


[487:922] [2022-07-25 03:08:09 +0000.217126][56bc] Set the playout as stereo:1
[487:922] [2022-07-25 03:08:09 +0000.217137][56bc] Init the microphone.
[487:922] [2022-07-25 03:08:09 +0000.217703][56bc] Update the recording sample rate
to be: 48000
[487:922] [2022-07-25 03:08:09 +0000.217736][56bc] Init the speaker.
[487:922] [2022-07-25 03:08:09 +0000.217758][56bc] Low latency buffer size:144 low
sample rate:48000
[487:922] [2022-07-25 03:08:09 +0000.217974][56bc] Using 1 x 10ms for an audio
frame.

[487:925] [2022-07-25 03:08:09 +0000.220613][56bc] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[487:925] [2022-07-25 03:08:09 +0000.220673][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[487:925] [2022-07-25 03:08:09 +0000.220691][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[487:929] [2022-07-25 03:08:09 +0000.224110][56bc] The device model:m2012k11ag

[487:929] [2022-07-25 03:08:09 +0000.224151][56bc] speaker output factor:100


defaultFactor: 100

[487:929] [2022-07-25 03:08:09 +0000.224162][56bc] headset output factor:100


defaultFactor: 100

[487:929] [2022-07-25 03:08:09 +0000.224347][56bc] AppDeviceManagerStart finished.


[487:929] [2022-07-25 03:08:09 +0000.224365][56bc] AppDeviceManagerStartMic::mic
status is off
[487:929] [2022-07-25 03:08:09 +0000.224407][56bc] AppDeviceManagerStartMic update
aec type: 2

[487:929] [2022-07-25 03:08:09 +0000.224421][56bc] AppDeviceManagerStartMic update


voiceChangeMode: 4

[487:929] [2022-07-25 03:08:09 +0000.224431][56bc]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[487:929] [2022-07-25 03:08:09 +0000.224440][56bc]
AudioDeviceDataHandler::StartMicProcess

[487:929] [2022-07-25 03:08:09 +0000.224526][56bc] Try to start webrtc recording


device.

[487:929] [2022-07-25 03:08:09 +0000.224543][56bc] StartRecording. threadID:22204

[487:929] [2022-07-25 03:08:09 +0000.224573][56bc] default mode: Set the recording


mode to voice communication to enable HW AEC .

[487:929] [2022-07-25 03:08:09 +0000.224558][763a] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[487:929] [2022-07-25 03:08:09 +0000.224593][56bc] Set the recording mode before
getSetting: 4
[487:929] [2022-07-25 03:08:09 +0000.224634][56bc] Set the recording mode after
getSetting: 1
[487:949] [2022-07-25 03:08:09 +0000.244868][56bc] StartRecording finished.

[487:949] [2022-07-25 03:08:09 +0000.244922][56bc] audio: start the audio mic


checker timer.

[487:950] [2022-07-25 03:08:09 +0000.245263][56bc] machine model :poco


[487:950] [2022-07-25 03:08:09 +0000.245295][56bc] Support this machine model :poco
[487:950] [2022-07-25 03:08:09 +0000.245315][56bc] global inited! current sdk
version: 07-20-936c45f
[488:171] [2022-07-25 03:08:09 +0000.466851][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[488:172] [2022-07-25 03:08:09 +0000.467166][7636] MediaFilterCamera, recording
file context:0x6f87414800 input texture:23
[488:172] [2022-07-25 03:08:09 +0000.467238][7636] GLESContext:
[488:172] [2022-07-25 03:08:09 +0000.467267][7636] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[488:172] [2022-07-25 03:08:09 +0000.467862][7636] The result of creation:
0x6ea91bf800
[488:172] [2022-07-25 03:08:09 +0000.467943][7636] The result of
eglCreatePbufferSurface is: 0x6ea9215780
[488:173] [2022-07-25 03:08:09 +0000.468133][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6f87414800 input_texture: 23
[488:556] [2022-07-25 03:08:09 +0000.852025][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[488:557] [2022-07-25 03:08:09 +0000.852132][56bc] ~MediaFilterCamera
time:104220883 enter.

[488:557] [2022-07-25 03:08:09 +0000.852267][56bc] StopPullFrameAndWriteMp4


time:104220883 enter.

[488:557] [2022-07-25 03:08:09 +0000.852700][7635] stop recording


[488:557] [2022-07-25 03:08:09 +0000.852739][7635] we have stopped recording before
[488:557] [2022-07-25 03:08:09 +0000.852841][56bc] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[488:558] [2022-07-25 03:08:09 +0000.853315][56bc] DestroyPipelineAndFilters


time:104220884 enter.

[488:558] [2022-07-25 03:08:09 +0000.853340][56bc] DestroyPipelineAndFilters


leave. expire time = 0 ms

[488:558] [2022-07-25 03:08:09 +0000.853352][56bc] AppDeviceManagerStopMic

[488:558] [2022-07-25 03:08:09 +0000.853395][56bc] AppDeviceManagerStopMic::mic


status is on
[488:558] [2022-07-25 03:08:09 +0000.853406][56bc] Try to stop webrtc device.

[488:558] [2022-07-25 03:08:09 +0000.853419][56bc] Set record state to


stopped.threadID:22204

[488:593] [2022-07-25 03:08:09 +0000.888997][56bc] Try to destory the


recorder.threadID:22204

[488:794] [2022-07-25 03:08:10 +0000.89145][56bc] DestroyAudioRecorder:


[488:794] [2022-07-25 03:08:10 +0000.89235][56bc] Cleanup the buffer queue in the
recorder.
[488:794] [2022-07-25 03:08:10 +0000.89258][56bc] Destroy the recorder.
[488:795] [2022-07-25 03:08:10 +0000.90699][56bc] StopRecording finished.

[488:795] [2022-07-25 03:08:10 +0000.90803][56bc] The stop recording success.

[488:795] [2022-07-25 03:08:10 +0000.90958][56bc]


AudioDeviceDataHandler::StopMicProcess

[488:797] [2022-07-25 03:08:10 +0000.92709][56bc] AppDeviceManager stop.

[488:797] [2022-07-25 03:08:10 +0000.92888][56bc] Rlease the webrtc device object.

[488:802] [2022-07-25 03:08:10 +0000.97451][56bc] OpenSlesInput destruct.

[488:805] [2022-07-25 03:08:10 +0000.100533][56bc] OpenSlesOutput destruct.

[488:805] [2022-07-25 03:08:10 +0000.101122][56bc] EventDispatchServerScope


destruct
[488:806] [2022-07-25 03:08:10 +0000.101169][56bc]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[488:806] [2022-07-25 03:08:10 +0000.101245][56bc] ~AudioDeviceDataHandler

[488:806] [2022-07-25 03:08:10 +0000.101590][56bc] AppDeviceManagerDestruct.

[488:806] [2022-07-25 03:08:10 +0000.101623][56bc] ~AppDeviceManager:


[488:806] [2022-07-25 03:08:10 +0000.101657][56bc] ~CpuOverloadDetect
time:104221132 enter.

[488:806] [2022-07-25 03:08:10 +0000.101831][56bc] ~CpuOverloadDetect leave.


expire time = 0 ms

[488:807] [2022-07-25 03:08:10 +0000.102662][56bc] Destruct BeautifyReader begin...


[488:807] [2022-07-25 03:08:10 +0000.102697][56bc] Destruct BeautifyReader done.
[488:807] [2022-07-25 03:08:10 +0000.102720][56bc] ~MediaFilterCamera leave.
expire time = 250 ms

[488:807] [2022-07-25 03:08:10 +0000.102801][56bc] ~GLESContext:


[488:808] [2022-07-25 03:08:10 +0000.103202][56bc] GLESContext destruct finish.
[488:808] [2022-07-25 03:08:10 +0000.103237][56bc] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[488:808] [2022-07-25 03:08:10 +0000.103396][56bc] global uninited!
[488:808] [2022-07-25 03:08:10 +0000.103577][56bc] clear AppID 50011
[488:808] [2022-07-25 03:08:10 +0000.103607][56bc] UnRegister JVM for Xplatform
util
[488:808] [2022-07-25 03:08:10 +0000.103640][56bc] Dispose::unregister webrtc video
engine
[488:808] [2022-07-25 03:08:10 +0000.103667][56bc] Init the android object with
jvm:0x0 env:0x0 context:0x0

[488:808] [2022-07-25 03:08:10 +0000.103696][56bc] SetAndroidMediaCodecObjects


time:104221134 enter.

[488:808] [2022-07-25 03:08:10 +0000.103723][56bc] ClearAndroidMediaCodecObjects


time:104221134 enter.

[488:808] [2022-07-25 03:08:10 +0000.103749][56bc] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[488:808] [2022-07-25 03:08:10 +0000.103775][56bc] SetAndroidMediaCodecObjects


leave. expire time = 0 ms
[488:808] [2022-07-25 03:08:10 +0000.103800][56bc] SetAndroidMediaCodecObjects
time:104221134 enter.

[488:808] [2022-07-25 03:08:10 +0000.103827][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[488:808] [2022-07-25 03:08:10 +0000.103852][56bc] ClearAndroidMediaCodecObjects
time:104221134 enter.

[488:808] [2022-07-25 03:08:10 +0000.103880][56bc] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[488:808] [2022-07-25 03:08:10 +0000.103904][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[488:808] [2022-07-25 03:08:10 +0000.103932][56bc] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[488:808] [2022-07-25 03:08:10 +0000.103956][56bc] Dispose::unregister webrtc voice


engine
[488:808] [2022-07-25 03:08:10 +0000.103983][56bc] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[488:808] [2022-07-25 03:08:10 +0000.104008][56bc] SystemUtil UnInit done


[1730:190] [2022-07-25 03:28:51 +0000.488432][56bc] Register JVM for xplatform util
[1730:210] [2022-07-25 03:28:51 +0000.505506][56bc] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
25 03:28:51 +0000
[1730:210] [2022-07-25 03:28:51 +0000.505583][56bc] set AppID=50011 old AppID=-1
[1730:210] [2022-07-25 03:28:51 +0000.505597][56bc] Init the android object with
jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21a88

[1730:210] [2022-07-25 03:28:51 +0000.505655][56bc] SetAndroidMediaCodecObjects


time:105462536 enter.

[1730:210] [2022-07-25 03:28:51 +0000.505702][56bc] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1730:210] [2022-07-25 03:28:51 +0000.505722][56bc] SetAndroidMediaCodecObjects


time:105462536 enter.

[1730:210] [2022-07-25 03:28:51 +0000.505734][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000705443f540
[1730:210] [2022-07-25 03:28:51 +0000.505761][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000705443f540 address:0x6e5cebe760
[1730:210] [2022-07-25 03:28:51 +0000.505797][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000705443f540
address:0x6e5cebe760
[1730:210] [2022-07-25 03:28:51 +0000.505810][56bc] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1730:210] [2022-07-25 03:28:51 +0000.505849][56bc] Set the android objects with


jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21a88

[1730:212] [2022-07-25 03:28:51 +0000.507764][56bc] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6f9cbe4480
[1730:212] [2022-07-25 03:28:51 +0000.507828][56bc] SystemUtil Init done
[1730:214] [2022-07-25 03:28:51 +0000.509660][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[1730:217] [2022-07-25 03:28:51 +0000.512111][56bc] MediaFilterCamera
[1730:217] [2022-07-25 03:28:51 +0000.512178][56bc] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[1730:217] [2022-07-25 03:28:51 +0000.512500][56bc] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1730:217] [2022-07-25 03:28:51 +0000.512534][56bc] Recording session using default
bitrate support by app:31457280
[1730:217] [2022-07-25 03:28:51 +0000.512531][2fcf] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6ec05c8940
[1730:217] [2022-07-25 03:28:51 +0000.512764][2fcf] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1730:217] [2022-07-25 03:28:51 +0000.512822][56bc] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1730:220] [2022-07-25 03:28:51 +0000.515246][56bc] Error(ini.cc:191): Open the
file failed. error:2
[1730:220] [2022-07-25 03:28:51 +0000.515281][56bc]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[1730:220] [2022-07-25 03:28:51 +0000.515310][56bc] The device model: m2012k11ag
usingSoftwareAEC value: 0
[1730:222] [2022-07-25 03:28:51 +0000.517182][56bc] Error(ini.cc:191): Open the
file failed. error:2
[1730:222] [2022-07-25 03:28:51 +0000.517216][56bc]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[1730:222] [2022-07-25 03:28:51 +0000.517255][56bc] The device model: m2012k11ag
usingHardwareAEC value: 0
[1730:222] [2022-07-25 03:28:51 +0000.517279][56bc] The machine device: m2012k11ag
usingHardwareAEC value: 0
[1730:222] [2022-07-25 03:28:51 +0000.517308][56bc] Using Default AEC type:
software AEC
[1730:222] [2022-07-25 03:28:51 +0000.518057][56bc] The device model: m2012k11ag
enum value: 0
[1730:223] [2022-07-25 03:28:51 +0000.518335][56bc] GetMachineModel is M2012K11AG
[1730:223] [2022-07-25 03:28:51 +0000.518362][56bc] GetMachineInfo: M2012K11AG
[1730:223] [2022-07-25 03:28:51 +0000.518400][56bc] Construct BeautifyReader
begin...
[1730:223] [2022-07-25 03:28:51 +0000.518421][56bc] dumpStickerRgba:0
dumpStickerYuv:0
[1730:223] [2022-07-25 03:28:51 +0000.518449][56bc] Construct BeautifyReader done.
[1730:226] [2022-07-25 03:28:51 +0000.521263][56bc]
AppDeviceManagerStartCamera::The result of start thread is: 1 micOn:0
[1730:226] [2022-07-25 03:28:51 +0000.521337][56bc] AppDeviceManager telnet server
for statistics started......
[1730:226] [2022-07-25 03:28:51 +0000.521501][2fd5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e9904e7a0
[1730:226] [2022-07-25 03:28:51 +0000.522031][56bc] CpuOverloadDetect
time:105462552 enter.

[1730:227] [2022-07-25 03:28:51 +0000.522137][56bc] CpuOverloadDetect leave.


expire time = 1 ms

[1730:227] [2022-07-25 03:28:51 +0000.522167][2fd8] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6ec05878c0
[1730:227] [2022-07-25 03:28:51 +0000.522454][56bc] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[1730:227] [2022-07-25 03:28:51 +0000.522475][56bc] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[1730:227] [2022-07-25 03:28:51 +0000.522621][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1730:227] [2022-07-25 03:28:51 +0000.522858][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1730:227] [2022-07-25 03:28:51 +0000.522995][56bc] CreatePlatformSpecificObjects:
[1730:227] [2022-07-25 03:28:51 +0000.523021][56bc] audio device use opensle input
and opensl output
[1730:227] [2022-07-25 03:28:51 +0000.523047][56bc] Create OpenSLES output module
with java VM support.

[1730:228] [2022-07-25 03:28:51 +0000.523107][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1730:228] [2022-07-25 03:28:51 +0000.523200][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1730:228] [2022-07-25 03:28:51 +0000.523299][56bc] Create OpenSLES output module
with buffer num:1

[1730:228] [2022-07-25 03:28:51 +0000.523363][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1730:228] [2022-07-25 03:28:51 +0000.523452][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1730:228] [2022-07-25 03:28:51 +0000.523544][56bc] Create OpenSLES input module
with java VM support.

[1730:228] [2022-07-25 03:28:51 +0000.523568][56bc] Create OpenSLES input module


with buffer num:1

[1730:228] [2022-07-25 03:28:51 +0000.523594][56bc] Error(trace.cc:40): Init the


output and input for audio device template.
[1730:228] [2022-07-25 03:28:51 +0000.523609][56bc] Init the output device.

[1730:228] [2022-07-25 03:28:51 +0000.523621][56bc] Init the opensl input.


[1730:228] [2022-07-25 03:28:51 +0000.523651][56bc] AppDeviceManager get setting
samplerate: 0
[1730:228] [2022-07-25 03:28:51 +0000.523807][56bc] The device model: m2012k11ag
enum value: 0
[1730:228] [2022-07-25 03:28:51 +0000.524064][56bc] The device model: m2012k11ag
enum value: 0
[1730:228] [2022-07-25 03:28:51 +0000.524082][56bc] Set the sample rate to be:48000

[1730:229] [2022-07-25 03:28:51 +0000.524117][56bc] Enable the recording stereo:0


[1730:229] [2022-07-25 03:28:51 +0000.524129][56bc] Set the playout as stereo:1
[1730:229] [2022-07-25 03:28:51 +0000.524154][56bc] Init the microphone.
[1730:232] [2022-07-25 03:28:51 +0000.527443][56bc] Update the recording sample
rate to be: 48000
[1730:232] [2022-07-25 03:28:51 +0000.527481][56bc] Init the speaker.
[1730:232] [2022-07-25 03:28:51 +0000.527498][56bc] Low latency buffer size:144 low
sample rate:48000
[1730:232] [2022-07-25 03:28:51 +0000.527703][56bc] Using 1 x 10ms for an audio
frame.

[1730:235] [2022-07-25 03:28:51 +0000.530598][56bc] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[1730:237] [2022-07-25 03:28:51 +0000.532116][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1730:237] [2022-07-25 03:28:51 +0000.532163][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1730:240] [2022-07-25 03:28:51 +0000.536033][56bc] The device model:m2012k11ag

[1730:240] [2022-07-25 03:28:51 +0000.536089][56bc] speaker output factor:100


defaultFactor: 100
[1730:241] [2022-07-25 03:28:51 +0000.536106][56bc] headset output factor:100
defaultFactor: 100

[1730:241] [2022-07-25 03:28:51 +0000.536369][56bc] AppDeviceManagerStart finished.


[1730:241] [2022-07-25 03:28:51 +0000.536396][56bc] AppDeviceManagerStartMic::mic
status is off
[1730:241] [2022-07-25 03:28:51 +0000.536456][56bc] AppDeviceManagerStartMic update
aec type: 2

[1730:241] [2022-07-25 03:28:51 +0000.536480][56bc] AppDeviceManagerStartMic update


voiceChangeMode: 4

[1730:241] [2022-07-25 03:28:51 +0000.536517][56bc]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[1730:241] [2022-07-25 03:28:51 +0000.536550][56bc]
AudioDeviceDataHandler::StartMicProcess

[1730:241] [2022-07-25 03:28:51 +0000.536684][56bc] Try to start webrtc recording


device.

[1730:241] [2022-07-25 03:28:51 +0000.536712][56bc] StartRecording. threadID:22204

[1730:241] [2022-07-25 03:28:51 +0000.536742][2fda] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[1730:241] [2022-07-25 03:28:51 +0000.536789][56bc] default mode: Set the recording
mode to voice communication to enable HW AEC .

[1730:241] [2022-07-25 03:28:51 +0000.536807][56bc] Set the recording mode before


getSetting: 4
[1730:241] [2022-07-25 03:28:51 +0000.536840][56bc] Set the recording mode after
getSetting: 1
[1730:270] [2022-07-25 03:28:51 +0000.565635][56bc] StartRecording finished.

[1730:270] [2022-07-25 03:28:51 +0000.565696][56bc] audio: start the audio mic


checker timer.

[1730:270] [2022-07-25 03:28:51 +0000.566013][56bc] machine model :poco


[1730:270] [2022-07-25 03:28:51 +0000.566043][56bc] Support this machine
model :poco
[1730:288] [2022-07-25 03:28:51 +0000.584091][56bc] global inited! current sdk
version: 07-20-936c45f
[1730:441] [2022-07-25 03:28:51 +0000.736801][2fda] haveEnoughProcessedData
internalAudioStream.length: 0
[1730:524] [2022-07-25 03:28:51 +0000.819169][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[1730:524] [2022-07-25 03:28:51 +0000.819315][2fd2] MediaFilterCamera, recording
file context:0x6f87414800 input texture:28
[1730:524] [2022-07-25 03:28:51 +0000.819371][2fd2] GLESContext:
[1730:524] [2022-07-25 03:28:51 +0000.819424][2fd2] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[1730:525] [2022-07-25 03:28:51 +0000.820099][2fd2] The result of creation:
0x6ec05bc880
[1730:525] [2022-07-25 03:28:51 +0000.820186][2fd2] The result of
eglCreatePbufferSurface is: 0x6ec05bc980
[1730:525] [2022-07-25 03:28:51 +0000.820445][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6f87414800 input_texture: 28
[1730:761] [2022-07-25 03:28:52 +0000.56536][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[1730:761] [2022-07-25 03:28:52 +0000.56647][56bc] ~MediaFilterCamera
time:105463087 enter.

[1730:761] [2022-07-25 03:28:52 +0000.56666][56bc] StopPullFrameAndWriteMp4


time:105463087 enter.

[1730:762] [2022-07-25 03:28:52 +0000.57130][2fcf] stop recording


[1730:762] [2022-07-25 03:28:52 +0000.57154][2fcf] we have stopped recording before
[1730:762] [2022-07-25 03:28:52 +0000.57478][56bc] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[1730:763] [2022-07-25 03:28:52 +0000.58793][56bc] DestroyPipelineAndFilters


time:105463089 enter.

[1730:764] [2022-07-25 03:28:52 +0000.59613][56bc] DestroyPipelineAndFilters


leave. expire time = 1 ms

[1730:764] [2022-07-25 03:28:52 +0000.59845][56bc] AppDeviceManagerStopMic

[1730:764] [2022-07-25 03:28:52 +0000.59901][56bc] AppDeviceManagerStopMic::mic


status is on
[1730:764] [2022-07-25 03:28:52 +0000.59916][56bc] Try to stop webrtc device.

[1730:764] [2022-07-25 03:28:52 +0000.59929][56bc] Set record state to


stopped.threadID:22204

[1730:794] [2022-07-25 03:28:52 +0000.89481][56bc] Try to destory the


recorder.threadID:22204

[1730:994] [2022-07-25 03:28:52 +0000.289610][56bc] DestroyAudioRecorder:


[1730:994] [2022-07-25 03:28:52 +0000.289673][56bc] Cleanup the buffer queue in the
recorder.
[1730:994] [2022-07-25 03:28:52 +0000.289694][56bc] Destroy the recorder.

[1730:995] [2022-07-25 03:28:52 +0000.290677][56bc] StopRecording finished.

[1730:995] [2022-07-25 03:28:52 +0000.290718][56bc] The stop recording success.

[1730:995] [2022-07-25 03:28:52 +0000.290731][56bc]


AudioDeviceDataHandler::StopMicProcess

[1730:996] [2022-07-25 03:28:52 +0000.292079][56bc] AppDeviceManager stop.

[1730:997] [2022-07-25 03:28:52 +0000.292146][56bc] Rlease the webrtc device


object.

[1730:997] [2022-07-25 03:28:52 +0000.292367][56bc] OpenSlesInput destruct.

[1730:997] [2022-07-25 03:28:52 +0000.292405][56bc] OpenSlesOutput destruct.

[1730:998] [2022-07-25 03:28:52 +0000.293837][56bc] EventDispatchServerScope


destruct
[1730:998] [2022-07-25 03:28:52 +0000.293871][56bc]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[1730:998] [2022-07-25 03:28:52 +0000.293907][56bc] ~AudioDeviceDataHandler

[1730:999] [2022-07-25 03:28:52 +0000.294215][56bc] AppDeviceManagerDestruct.

[1730:999] [2022-07-25 03:28:52 +0000.294247][56bc] ~AppDeviceManager:


[1730:999] [2022-07-25 03:28:52 +0000.294290][56bc] ~CpuOverloadDetect
time:105463325 enter.

[1730:999] [2022-07-25 03:28:52 +0000.294506][56bc] ~CpuOverloadDetect leave.


expire time = 0 ms

[1731:000] [2022-07-25 03:28:52 +0000.295414][56bc] Destruct BeautifyReader


begin...
[1731:000] [2022-07-25 03:28:52 +0000.295447][56bc] Destruct BeautifyReader done.
[1731:000] [2022-07-25 03:28:52 +0000.295469][56bc] ~MediaFilterCamera leave.
expire time = 239 ms

[1731:001] [2022-07-25 03:28:52 +0000.296639][56bc] ~GLESContext:


[1731:002] [2022-07-25 03:28:52 +0000.297127][56bc] GLESContext destruct finish.
[1731:002] [2022-07-25 03:28:52 +0000.297183][56bc]
~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[1731:003] [2022-07-25 03:28:52 +0000.298374][56bc] global uninited!
[1731:003] [2022-07-25 03:28:52 +0000.298570][56bc] clear AppID 50011
[1731:003] [2022-07-25 03:28:52 +0000.298601][56bc] UnRegister JVM for Xplatform
util
[1731:003] [2022-07-25 03:28:52 +0000.298615][56bc] Dispose::unregister webrtc
video engine
[1731:003] [2022-07-25 03:28:52 +0000.298634][56bc] Init the android object with
jvm:0x0 env:0x0 context:0x0

[1731:003] [2022-07-25 03:28:52 +0000.298648][56bc] SetAndroidMediaCodecObjects


time:105463329 enter.

[1731:003] [2022-07-25 03:28:52 +0000.298666][56bc] ClearAndroidMediaCodecObjects


time:105463329 enter.

[1731:003] [2022-07-25 03:28:52 +0000.298680][56bc] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[1731:003] [2022-07-25 03:28:52 +0000.298698][56bc] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1731:003] [2022-07-25 03:28:52 +0000.298711][56bc] SetAndroidMediaCodecObjects


time:105463329 enter.

[1731:003] [2022-07-25 03:28:52 +0000.298729][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[1731:003] [2022-07-25 03:28:52 +0000.298740][56bc] ClearAndroidMediaCodecObjects
time:105463329 enter.

[1731:003] [2022-07-25 03:28:52 +0000.298750][56bc] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[1731:003] [2022-07-25 03:28:52 +0000.298761][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[1731:003] [2022-07-25 03:28:52 +0000.298783][56bc] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1731:003] [2022-07-25 03:28:52 +0000.298794][56bc] Dispose::unregister webrtc


voice engine
[1731:003] [2022-07-25 03:28:52 +0000.298816][56bc] Set the android objects with
jvm:0x0 env:0x0 context:0x0
[1731:003] [2022-07-25 03:28:52 +0000.298828][56bc] SystemUtil UnInit done
[1764:083] [2022-07-25 03:29:25 +0000.379039][56bc] Register JVM for xplatform util
[1764:087] [2022-07-25 03:29:25 +0000.383020][56bc] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
25 03:29:25 +0000
[1764:087] [2022-07-25 03:29:25 +0000.383089][56bc] set AppID=50011 old AppID=-1
[1764:088] [2022-07-25 03:29:25 +0000.383102][56bc] Init the android object with
jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21a88

[1764:088] [2022-07-25 03:29:25 +0000.383116][56bc] SetAndroidMediaCodecObjects


time:105496414 enter.

[1764:088] [2022-07-25 03:29:25 +0000.383141][56bc] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1764:088] [2022-07-25 03:29:25 +0000.383153][56bc] SetAndroidMediaCodecObjects


time:105496414 enter.

[1764:088] [2022-07-25 03:29:25 +0000.383173][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000705443f540
[1764:088] [2022-07-25 03:29:25 +0000.383184][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000705443f540 address:0x6e5cebe760
[1764:088] [2022-07-25 03:29:25 +0000.383205][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000705443f540
address:0x6e5cebe760
[1764:088] [2022-07-25 03:29:25 +0000.383217][56bc] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1764:088] [2022-07-25 03:29:25 +0000.383238][56bc] Set the android objects with


jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21a88

[1764:088] [2022-07-25 03:29:25 +0000.383250][56bc] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6f9cbe4480
[1764:088] [2022-07-25 03:29:25 +0000.383269][56bc] SystemUtil Init done
[1764:088] [2022-07-25 03:29:25 +0000.383472][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[1764:088] [2022-07-25 03:29:25 +0000.383557][56bc] MediaFilterCamera
[1764:088] [2022-07-25 03:29:25 +0000.383578][56bc] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[1764:088] [2022-07-25 03:29:25 +0000.383684][56bc] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1764:088] [2022-07-25 03:29:25 +0000.383705][56bc] Recording session using default
bitrate support by app:31457280
[1764:088] [2022-07-25 03:29:25 +0000.383723][3aa1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6ec05c8940
[1764:088] [2022-07-25 03:29:25 +0000.383897][3aa1] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1764:088] [2022-07-25 03:29:25 +0000.383965][56bc] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1764:089] [2022-07-25 03:29:25 +0000.384453][56bc] Error(ini.cc:191): Open the
file failed. error:2
[1764:089] [2022-07-25 03:29:25 +0000.384474][56bc]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[1764:089] [2022-07-25 03:29:25 +0000.384486][56bc] The device model: m2012k11ag
usingSoftwareAEC value: 0
[1764:090] [2022-07-25 03:29:25 +0000.385913][56bc] Error(ini.cc:191): Open the
file failed. error:2
[1764:090] [2022-07-25 03:29:25 +0000.385942][56bc]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[1764:090] [2022-07-25 03:29:25 +0000.385959][56bc] The device model: m2012k11ag
usingHardwareAEC value: 0
[1764:090] [2022-07-25 03:29:25 +0000.385988][56bc] The machine device: m2012k11ag
usingHardwareAEC value: 0
[1764:090] [2022-07-25 03:29:25 +0000.385998][56bc] Using Default AEC type:
software AEC
[1764:091] [2022-07-25 03:29:25 +0000.386703][56bc] The device model: m2012k11ag
enum value: 0
[1764:091] [2022-07-25 03:29:25 +0000.386919][56bc] GetMachineModel is M2012K11AG
[1764:091] [2022-07-25 03:29:25 +0000.386937][56bc] GetMachineInfo: M2012K11AG
[1764:091] [2022-07-25 03:29:25 +0000.386948][56bc] Construct BeautifyReader
begin...
[1764:091] [2022-07-25 03:29:25 +0000.386970][56bc] dumpStickerRgba:0
dumpStickerYuv:0
[1764:091] [2022-07-25 03:29:25 +0000.386981][56bc] Construct BeautifyReader done.
[1764:093] [2022-07-25 03:29:25 +0000.388499][56bc]
AppDeviceManagerStartCamera::The result of start thread is: 1 micOn:0
[1764:093] [2022-07-25 03:29:25 +0000.388550][56bc] AppDeviceManager telnet server
for statistics started......
[1764:093] [2022-07-25 03:29:25 +0000.388533][3aa4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e99050aa0
[1764:094] [2022-07-25 03:29:25 +0000.389406][56bc] CpuOverloadDetect
time:105496420 enter.

[1764:094] [2022-07-25 03:29:25 +0000.389525][56bc] CpuOverloadDetect leave.


expire time = 0 ms

[1764:094] [2022-07-25 03:29:25 +0000.389811][56bc] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[1764:094] [2022-07-25 03:29:25 +0000.389830][56bc] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[1764:094] [2022-07-25 03:29:25 +0000.389948][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1764:095] [2022-07-25 03:29:25 +0000.390163][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1764:095] [2022-07-25 03:29:25 +0000.390287][56bc] CreatePlatformSpecificObjects:
[1764:095] [2022-07-25 03:29:25 +0000.390311][56bc] audio device use opensle input
and opensl output
[1764:095] [2022-07-25 03:29:25 +0000.390326][56bc] Create OpenSLES output module
with java VM support.

[1764:095] [2022-07-25 03:29:25 +0000.390406][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1764:095] [2022-07-25 03:29:25 +0000.390498][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1764:095] [2022-07-25 03:29:25 +0000.390606][56bc] Create OpenSLES output module
with buffer num:1

[1764:095] [2022-07-25 03:29:25 +0000.390681][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1764:095] [2022-07-25 03:29:25 +0000.390764][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1764:095] [2022-07-25 03:29:25 +0000.390855][56bc] Create OpenSLES input module
with java VM support.

[1764:095] [2022-07-25 03:29:25 +0000.390881][56bc] Create OpenSLES input module


with buffer num:1
[1764:095] [2022-07-25 03:29:25 +0000.390897][56bc] Error(trace.cc:40): Init the
output and input for audio device template.
[1764:095] [2022-07-25 03:29:25 +0000.390919][56bc] Init the output device.

[1764:095] [2022-07-25 03:29:25 +0000.390930][56bc] Init the opensl input.


[1764:095] [2022-07-25 03:29:25 +0000.390965][56bc] AppDeviceManager get setting
samplerate: 0
[1764:096] [2022-07-25 03:29:25 +0000.391128][56bc] The device model: m2012k11ag
enum value: 0
[1764:096] [2022-07-25 03:29:25 +0000.391380][56bc] The device model: m2012k11ag
enum value: 0
[1764:096] [2022-07-25 03:29:25 +0000.391397][56bc] Set the sample rate to be:48000

[1764:096] [2022-07-25 03:29:25 +0000.391407][56bc] Enable the recording stereo:0


[1764:096] [2022-07-25 03:29:25 +0000.391441][56bc] Set the playout as stereo:1
[1764:096] [2022-07-25 03:29:25 +0000.391452][56bc] Init the microphone.
[1764:096] [2022-07-25 03:29:25 +0000.391606][3aa5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e99074840
[1764:096] [2022-07-25 03:29:25 +0000.391796][56bc] Update the recording sample
rate to be: 48000
[1764:096] [2022-07-25 03:29:25 +0000.391828][56bc] Init the speaker.
[1764:096] [2022-07-25 03:29:25 +0000.391847][56bc] Low latency buffer size:144 low
sample rate:48000
[1764:096] [2022-07-25 03:29:25 +0000.392001][56bc] Using 1 x 10ms for an audio
frame.

[1764:099] [2022-07-25 03:29:25 +0000.394675][56bc] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[1764:099] [2022-07-25 03:29:25 +0000.394736][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1764:099] [2022-07-25 03:29:25 +0000.394755][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1764:103] [2022-07-25 03:29:25 +0000.398124][56bc] The device model:m2012k11ag

[1764:103] [2022-07-25 03:29:25 +0000.398167][56bc] speaker output factor:100


defaultFactor: 100

[1764:103] [2022-07-25 03:29:25 +0000.398178][56bc] headset output factor:100


defaultFactor: 100

[1764:103] [2022-07-25 03:29:25 +0000.398368][56bc] AppDeviceManagerStart finished.


[1764:103] [2022-07-25 03:29:25 +0000.398385][56bc] AppDeviceManagerStartMic::mic
status is off
[1764:103] [2022-07-25 03:29:25 +0000.398428][56bc] AppDeviceManagerStartMic update
aec type: 2

[1764:103] [2022-07-25 03:29:25 +0000.398442][56bc] AppDeviceManagerStartMic update


voiceChangeMode: 4

[1764:103] [2022-07-25 03:29:25 +0000.398452][56bc]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[1764:103] [2022-07-25 03:29:25 +0000.398462][56bc]
AudioDeviceDataHandler::StartMicProcess

[1764:103] [2022-07-25 03:29:25 +0000.398538][56bc] Try to start webrtc recording


device.

[1764:103] [2022-07-25 03:29:25 +0000.398554][56bc] StartRecording. threadID:22204


[1764:103] [2022-07-25 03:29:25 +0000.398582][56bc] default mode: Set the recording
mode to voice communication to enable HW AEC .

[1764:103] [2022-07-25 03:29:25 +0000.398568][3aa6] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[1764:103] [2022-07-25 03:29:25 +0000.398596][56bc] Set the recording mode before
getSetting: 4
[1764:103] [2022-07-25 03:29:25 +0000.398636][56bc] Set the recording mode after
getSetting: 1
[1764:127] [2022-07-25 03:29:25 +0000.422427][56bc] StartRecording finished.

[1764:127] [2022-07-25 03:29:25 +0000.422485][56bc] audio: start the audio mic


checker timer.

[1764:127] [2022-07-25 03:29:25 +0000.422842][56bc] machine model :poco


[1764:127] [2022-07-25 03:29:25 +0000.422973][56bc] Support this machine
model :poco
[1764:127] [2022-07-25 03:29:25 +0000.422995][56bc] global inited! current sdk
version: 07-20-936c45f
[1764:327] [2022-07-25 03:29:25 +0000.622939][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[1764:327] [2022-07-25 03:29:25 +0000.623075][3aa2] MediaFilterCamera, recording
file context:0x6f87414800 input texture:30
[1764:328] [2022-07-25 03:29:25 +0000.623123][3aa2] GLESContext:
[1764:328] [2022-07-25 03:29:25 +0000.623146][3aa2] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[1764:328] [2022-07-25 03:29:25 +0000.623637][3aa2] The result of creation:
0x6e98eb9500
[1764:328] [2022-07-25 03:29:25 +0000.623694][3aa2] The result of
eglCreatePbufferSurface is: 0x6e98eb9600
[1764:328] [2022-07-25 03:29:25 +0000.623754][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6f87414800 input_texture: 30
[1764:647] [2022-07-25 03:29:25 +0000.942671][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[1764:647] [2022-07-25 03:29:25 +0000.942778][56bc] ~MediaFilterCamera
time:105496973 enter.

[1764:647] [2022-07-25 03:29:25 +0000.942837][56bc] StopPullFrameAndWriteMp4


time:105496973 enter.

[1764:647] [2022-07-25 03:29:25 +0000.943092][3aa1] stop recording


[1764:648] [2022-07-25 03:29:25 +0000.943119][3aa1] we have stopped recording
before
[1764:648] [2022-07-25 03:29:25 +0000.943185][56bc] StopPullFrameAndWriteMp4
leave. expire time = 1 ms

[1764:648] [2022-07-25 03:29:25 +0000.943440][56bc] DestroyPipelineAndFilters


time:105496974 enter.

[1764:648] [2022-07-25 03:29:25 +0000.943698][56bc] DestroyPipelineAndFilters


leave. expire time = 0 ms

[1764:648] [2022-07-25 03:29:25 +0000.943784][56bc] AppDeviceManagerStopMic

[1764:648] [2022-07-25 03:29:25 +0000.943831][56bc] AppDeviceManagerStopMic::mic


status is on
[1764:648] [2022-07-25 03:29:25 +0000.943849][56bc] Try to stop webrtc device.
[1764:648] [2022-07-25 03:29:25 +0000.943868][56bc] Set record state to
stopped.threadID:22204

[1764:684] [2022-07-25 03:29:25 +0000.979886][56bc] Try to destory the


recorder.threadID:22204

[1764:884] [2022-07-25 03:29:26 +0000.180084][56bc] DestroyAudioRecorder:


[1764:885] [2022-07-25 03:29:26 +0000.180133][56bc] Cleanup the buffer queue in the
recorder.
[1764:885] [2022-07-25 03:29:26 +0000.180152][56bc] Destroy the recorder.

[1764:885] [2022-07-25 03:29:26 +0000.180589][56bc] StopRecording finished.

[1764:885] [2022-07-25 03:29:26 +0000.180655][56bc] The stop recording success.

[1764:885] [2022-07-25 03:29:26 +0000.180685][56bc]


AudioDeviceDataHandler::StopMicProcess

[1764:888] [2022-07-25 03:29:26 +0000.183732][56bc] AppDeviceManager stop.

[1764:888] [2022-07-25 03:29:26 +0000.183846][56bc] Rlease the webrtc device


object.

[1764:889] [2022-07-25 03:29:26 +0000.184444][56bc] OpenSlesInput destruct.

[1764:889] [2022-07-25 03:29:26 +0000.184522][56bc] OpenSlesOutput destruct.

[1764:892] [2022-07-25 03:29:26 +0000.187221][56bc] EventDispatchServerScope


destruct
[1764:892] [2022-07-25 03:29:26 +0000.187296][56bc]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[1764:892] [2022-07-25 03:29:26 +0000.187353][56bc] ~AudioDeviceDataHandler

[1764:892] [2022-07-25 03:29:26 +0000.187842][56bc] AppDeviceManagerDestruct.

[1764:892] [2022-07-25 03:29:26 +0000.187893][56bc] ~AppDeviceManager:


[1764:892] [2022-07-25 03:29:26 +0000.187957][56bc] ~CpuOverloadDetect
time:105497218 enter.

[1764:893] [2022-07-25 03:29:26 +0000.188215][56bc] ~CpuOverloadDetect leave.


expire time = 1 ms

[1764:894] [2022-07-25 03:29:26 +0000.189516][56bc] Destruct BeautifyReader


begin...
[1764:894] [2022-07-25 03:29:26 +0000.189546][56bc] Destruct BeautifyReader done.
[1764:894] [2022-07-25 03:29:26 +0000.189561][56bc] ~MediaFilterCamera leave.
expire time = 247 ms

[1764:894] [2022-07-25 03:29:26 +0000.189634][56bc] ~GLESContext:


[1764:895] [2022-07-25 03:29:26 +0000.190143][56bc] GLESContext destruct finish.
[1764:895] [2022-07-25 03:29:26 +0000.190170][56bc]
~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[1764:895] [2022-07-25 03:29:26 +0000.190316][56bc] global uninited!
[1764:895] [2022-07-25 03:29:26 +0000.190466][56bc] clear AppID 50011
[1764:895] [2022-07-25 03:29:26 +0000.190496][56bc] UnRegister JVM for Xplatform
util
[1764:895] [2022-07-25 03:29:26 +0000.190508][56bc] Dispose::unregister webrtc
video engine
[1764:895] [2022-07-25 03:29:26 +0000.190530][56bc] Init the android object with
jvm:0x0 env:0x0 context:0x0

[1764:895] [2022-07-25 03:29:26 +0000.190556][56bc] SetAndroidMediaCodecObjects


time:105497221 enter.

[1764:895] [2022-07-25 03:29:26 +0000.190567][56bc] ClearAndroidMediaCodecObjects


time:105497221 enter.

[1764:895] [2022-07-25 03:29:26 +0000.190586][56bc] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[1764:895] [2022-07-25 03:29:26 +0000.190598][56bc] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1764:895] [2022-07-25 03:29:26 +0000.190609][56bc] SetAndroidMediaCodecObjects


time:105497221 enter.

[1764:895] [2022-07-25 03:29:26 +0000.190632][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[1764:895] [2022-07-25 03:29:26 +0000.190643][56bc] ClearAndroidMediaCodecObjects
time:105497221 enter.

[1764:895] [2022-07-25 03:29:26 +0000.190661][56bc] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[1764:895] [2022-07-25 03:29:26 +0000.190672][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[1764:895] [2022-07-25 03:29:26 +0000.190692][56bc] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1764:895] [2022-07-25 03:29:26 +0000.190702][56bc] Dispose::unregister webrtc


voice engine
[1764:895] [2022-07-25 03:29:26 +0000.190723][56bc] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[1764:895] [2022-07-25 03:29:26 +0000.190735][56bc] SystemUtil UnInit done


[1784:012] [2022-07-25 03:29:45 +0000.307287][56bc] Register JVM for xplatform util
[1784:015] [2022-07-25 03:29:45 +0000.311080][56bc] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-07-
25 03:29:45 +0000
[1784:016] [2022-07-25 03:29:45 +0000.311113][56bc] set AppID=50011 old AppID=-1
[1784:016] [2022-07-25 03:29:45 +0000.311148][56bc] Init the android object with
jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21a88

[1784:016] [2022-07-25 03:29:45 +0000.311185][56bc] SetAndroidMediaCodecObjects


time:105516342 enter.

[1784:016] [2022-07-25 03:29:45 +0000.311219][56bc] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1784:016] [2022-07-25 03:29:45 +0000.311251][56bc] SetAndroidMediaCodecObjects


time:105516342 enter.

[1784:016] [2022-07-25 03:29:45 +0000.311305][56bc] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000705443f540
[1784:016] [2022-07-25 03:29:45 +0000.311325][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000705443f540 address:0x6e5cebe760
[1784:016] [2022-07-25 03:29:45 +0000.311361][56bc] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000705443f540
address:0x6e5cebe760
[1784:016] [2022-07-25 03:29:45 +0000.311395][56bc] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1784:016] [2022-07-25 03:29:45 +0000.311429][56bc] Set the android objects with


jvm:0xb40000705443f540 env:0x6f9cbe4480 context:0x6f14a21a88

[1784:016] [2022-07-25 03:29:45 +0000.311462][56bc] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x6f9cbe4480
[1784:016] [2022-07-25 03:29:45 +0000.311496][56bc] SystemUtil Init done
[1784:016] [2022-07-25 03:29:45 +0000.311751][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[1784:016] [2022-07-25 03:29:45 +0000.311834][56bc] MediaFilterCamera
[1784:016] [2022-07-25 03:29:45 +0000.311862][56bc] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[1784:016] [2022-07-25 03:29:45 +0000.311951][56bc] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1784:016] [2022-07-25 03:29:45 +0000.311976][56bc] Recording session using default
bitrate support by app:31457280
[1784:016] [2022-07-25 03:29:45 +0000.311989][41be] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f0d108d40
[1784:017] [2022-07-25 03:29:45 +0000.312186][41be] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1784:017] [2022-07-25 03:29:45 +0000.312247][56bc] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1784:017] [2022-07-25 03:29:45 +0000.312821][56bc] Error(ini.cc:191): Open the
file failed. error:2
[1784:017] [2022-07-25 03:29:45 +0000.312846][56bc]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[1784:017] [2022-07-25 03:29:45 +0000.312874][56bc] The device model: m2012k11ag
usingSoftwareAEC value: 0
[1784:019] [2022-07-25 03:29:45 +0000.314613][56bc] Error(ini.cc:191): Open the
file failed. error:2
[1784:019] [2022-07-25 03:29:45 +0000.314646][56bc]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[1784:019] [2022-07-25 03:29:45 +0000.314691][56bc] The device model: m2012k11ag
usingHardwareAEC value: 0
[1784:019] [2022-07-25 03:29:45 +0000.314721][56bc] The machine device: m2012k11ag
usingHardwareAEC value: 0
[1784:019] [2022-07-25 03:29:45 +0000.314745][56bc] Using Default AEC type:
software AEC
[1784:020] [2022-07-25 03:29:45 +0000.315562][56bc] The device model: m2012k11ag
enum value: 0
[1784:020] [2022-07-25 03:29:45 +0000.315855][56bc] GetMachineModel is M2012K11AG
[1784:020] [2022-07-25 03:29:45 +0000.315886][56bc] GetMachineInfo: M2012K11AG
[1784:020] [2022-07-25 03:29:45 +0000.315902][56bc] Construct BeautifyReader
begin...
[1784:020] [2022-07-25 03:29:45 +0000.315933][56bc] dumpStickerRgba:0
dumpStickerYuv:0
[1784:020] [2022-07-25 03:29:45 +0000.315947][56bc] Construct BeautifyReader done.
[1784:023] [2022-07-25 03:29:45 +0000.318702][56bc]
AppDeviceManagerStartCamera::The result of start thread is: 1 micOn:0
[1784:023] [2022-07-25 03:29:45 +0000.318731][41c1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6f0d19c3a0
[1784:023] [2022-07-25 03:29:45 +0000.318768][56bc] AppDeviceManager telnet server
for statistics started......
[1784:024] [2022-07-25 03:29:45 +0000.319160][56bc] CpuOverloadDetect
time:105516350 enter.

[1784:024] [2022-07-25 03:29:45 +0000.319232][56bc] CpuOverloadDetect leave.


expire time = 0 ms

[1784:024] [2022-07-25 03:29:45 +0000.319255][41c2] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6ec0587fc0
[1784:024] [2022-07-25 03:29:45 +0000.319601][56bc] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[1784:024] [2022-07-25 03:29:45 +0000.319622][56bc] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[1784:024] [2022-07-25 03:29:45 +0000.319757][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1784:024] [2022-07-25 03:29:45 +0000.319954][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1784:024] [2022-07-25 03:29:45 +0000.320086][56bc] CreatePlatformSpecificObjects:
[1784:025] [2022-07-25 03:29:45 +0000.320115][56bc] audio device use opensle input
and opensl output
[1784:025] [2022-07-25 03:29:45 +0000.320155][56bc] Create OpenSLES output module
with java VM support.

[1784:025] [2022-07-25 03:29:45 +0000.320235][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1784:025] [2022-07-25 03:29:45 +0000.320321][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1784:025] [2022-07-25 03:29:45 +0000.320426][56bc] Create OpenSLES output module
with buffer num:1

[1784:025] [2022-07-25 03:29:45 +0000.320502][56bc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1784:025] [2022-07-25 03:29:45 +0000.320591][56bc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1784:025] [2022-07-25 03:29:45 +0000.320689][56bc] Create OpenSLES input module
with java VM support.

[1784:025] [2022-07-25 03:29:45 +0000.320718][56bc] Create OpenSLES input module


with buffer num:1

[1784:025] [2022-07-25 03:29:45 +0000.320754][56bc] Error(trace.cc:40): Init the


output and input for audio device template.
[1784:025] [2022-07-25 03:29:45 +0000.320779][56bc] Init the output device.

[1784:025] [2022-07-25 03:29:45 +0000.320810][56bc] Init the opensl input.


[1784:025] [2022-07-25 03:29:45 +0000.320825][56bc] AppDeviceManager get setting
samplerate: 0
[1784:025] [2022-07-25 03:29:45 +0000.321023][56bc] The device model: m2012k11ag
enum value: 0
[1784:026] [2022-07-25 03:29:45 +0000.321365][56bc] The device model: m2012k11ag
enum value: 0
[1784:026] [2022-07-25 03:29:45 +0000.321385][56bc] Set the sample rate to be:48000

[1784:026] [2022-07-25 03:29:45 +0000.321399][56bc] Enable the recording stereo:0


[1784:026] [2022-07-25 03:29:45 +0000.321425][56bc] Set the playout as stereo:1
[1784:026] [2022-07-25 03:29:45 +0000.321457][56bc] Init the microphone.
[1784:026] [2022-07-25 03:29:45 +0000.321743][56bc] Update the recording sample
rate to be: 48000
[1784:026] [2022-07-25 03:29:45 +0000.321770][56bc] Init the speaker.
[1784:026] [2022-07-25 03:29:45 +0000.321790][56bc] Low latency buffer size:144 low
sample rate:48000
[1784:026] [2022-07-25 03:29:45 +0000.321956][56bc] Using 1 x 10ms for an audio
frame.

[1784:029] [2022-07-25 03:29:45 +0000.324878][56bc] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[1784:029] [2022-07-25 03:29:45 +0000.324938][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1784:029] [2022-07-25 03:29:45 +0000.324963][56bc] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1784:033] [2022-07-25 03:29:45 +0000.328748][56bc] The device model:m2012k11ag

[1784:033] [2022-07-25 03:29:45 +0000.328789][56bc] speaker output factor:100


defaultFactor: 100

[1784:033] [2022-07-25 03:29:45 +0000.328802][56bc] headset output factor:100


defaultFactor: 100

[1784:033] [2022-07-25 03:29:45 +0000.329042][56bc] AppDeviceManagerStart finished.


[1784:033] [2022-07-25 03:29:45 +0000.329063][56bc] AppDeviceManagerStartMic::mic
status is off
[1784:034] [2022-07-25 03:29:45 +0000.329130][56bc] AppDeviceManagerStartMic update
aec type: 2

[1784:034] [2022-07-25 03:29:45 +0000.329147][56bc] AppDeviceManagerStartMic update


voiceChangeMode: 4

[1784:034] [2022-07-25 03:29:45 +0000.329162][56bc]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[1784:034] [2022-07-25 03:29:45 +0000.329198][56bc]
AudioDeviceDataHandler::StartMicProcess

[1784:034] [2022-07-25 03:29:45 +0000.329288][56bc] Try to start webrtc recording


device.

[1784:034] [2022-07-25 03:29:45 +0000.329309][56bc] StartRecording. threadID:22204

[1784:034] [2022-07-25 03:29:45 +0000.329323][41c3] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[1784:034] [2022-07-25 03:29:45 +0000.329369][56bc] default mode: Set the recording
mode to voice communication to enable HW AEC .

[1784:034] [2022-07-25 03:29:45 +0000.329418][56bc] Set the recording mode before


getSetting: 4
[1784:034] [2022-07-25 03:29:45 +0000.329457][56bc] Set the recording mode after
getSetting: 1
[1784:068] [2022-07-25 03:29:45 +0000.363896][56bc] StartRecording finished.

[1784:068] [2022-07-25 03:29:45 +0000.363977][56bc] audio: start the audio mic


checker timer.

[1784:069] [2022-07-25 03:29:45 +0000.364325][56bc] machine model :poco


[1784:069] [2022-07-25 03:29:45 +0000.364431][56bc] Support this machine
model :poco
[1784:069] [2022-07-25 03:29:45 +0000.364483][56bc] global inited! current sdk
version: 07-20-936c45f
[1784:269] [2022-07-25 03:29:45 +0000.564400][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[1784:269] [2022-07-25 03:29:45 +0000.564538][41bf] MediaFilterCamera, recording
file context:0x6f87414800 input texture:31
[1784:269] [2022-07-25 03:29:45 +0000.564587][41bf] GLESContext:
[1784:269] [2022-07-25 03:29:45 +0000.564625][41bf] The result of eglGetDisplay is:
0xb400006f9cbe1a00
[1784:270] [2022-07-25 03:29:45 +0000.565256][41bf] The result of creation:
0x6f875ce500
[1784:270] [2022-07-25 03:29:45 +0000.565334][41bf] The result of
eglCreatePbufferSurface is: 0x6f875ceb80
[1784:270] [2022-07-25 03:29:45 +0000.565403][6d97]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6f87414800 input_texture: 31
[1784:391] [2022-07-25 03:29:45 +0000.686540][41c3] Run AGC when audioType = 0
[1784:605] [2022-07-25 03:29:45 +0000.900905][41c3] haveEnoughProcessedData
internalAudioStream.length: 0
[1784:610] [2022-07-25 03:29:45 +0000.905414][56bc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[1784:610] [2022-07-25 03:29:45 +0000.905492][56bc] ~MediaFilterCamera
time:105516936 enter.

[1784:610] [2022-07-25 03:29:45 +0000.905519][56bc] StopPullFrameAndWriteMp4


time:105516936 enter.

[1784:612] [2022-07-25 03:29:45 +0000.907522][41be] stop recording


[1784:612] [2022-07-25 03:29:45 +0000.907561][41be] we have stopped recording
before
[1784:612] [2022-07-25 03:29:45 +0000.907620][56bc] StopPullFrameAndWriteMp4
leave. expire time = 2 ms

[1784:613] [2022-07-25 03:29:45 +0000.908996][56bc] DestroyPipelineAndFilters


time:105516939 enter.

[1784:613] [2022-07-25 03:29:45 +0000.909030][56bc] DestroyPipelineAndFilters


leave. expire time = 0 ms

[1784:613] [2022-07-25 03:29:45 +0000.909046][56bc] AppDeviceManagerStopMic

[1784:614] [2022-07-25 03:29:45 +0000.909134][56bc] AppDeviceManagerStopMic::mic


status is on
[1784:614] [2022-07-25 03:29:45 +0000.909151][56bc] Try to stop webrtc device.

[1784:614] [2022-07-25 03:29:45 +0000.909168][56bc] Set record state to


stopped.threadID:22204

[1784:655] [2022-07-25 03:29:45 +0000.950403][56bc] Try to destory the


recorder.threadID:22204

[1784:855] [2022-07-25 03:29:46 +0000.150552][56bc] DestroyAudioRecorder:


[1784:855] [2022-07-25 03:29:46 +0000.150606[000:017] [2022-08-06 14:27:26
+0000.381553][709b] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-08-
06 14:27:26 +0000
[000:017] [2022-08-06 14:27:26 +0000.381585][709b] set AppID=50011 old AppID=-1
[000:017] [2022-08-06 14:27:26 +0000.381598][709b] Init the android object with
jvm:0xb4000078b91a9540 env:0x780862ee80 context:0x77850dc588

[000:017] [2022-08-06 14:27:26 +0000.381611][709b] SetAndroidMediaCodecObjects


time:499235019 enter.

[000:017] [2022-08-06 14:27:26 +0000.381652][709b] SetAndroidMediaCodecObjects


leave. expire time = 0 ms
[000:017] [2022-08-06 14:27:26 +0000.381663][709b] SetAndroidMediaCodecObjects
time:499235019 enter.

[000:017] [2022-08-06 14:27:26 +0000.381692][709b] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000078b91a9540
[000:017] [2022-08-06 14:27:26 +0000.381702][709b] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000078b91a9540 address:0x76e62eb760
[000:017] [2022-08-06 14:27:26 +0000.381734][709b] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000078b91a9540
address:0x76e62eb760
[000:017] [2022-08-06 14:27:26 +0000.381745][709b] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:017] [2022-08-06 14:27:26 +0000.381786][709b] Set the android objects with


jvm:0xb4000078b91a9540 env:0x780862ee80 context:0x77850dc588

[000:019] [2022-08-06 14:27:26 +0000.383055][709b] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x780862ee80
[000:019] [2022-08-06 14:27:26 +0000.383123][709b] SystemUtil Init done
[000:020] [2022-08-06 14:27:26 +0000.384368][709b]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:021] [2022-08-06 14:27:26 +0000.385801][709b] MediaFilterCamera
[000:021] [2022-08-06 14:27:26 +0000.385834][709b] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:021] [2022-08-06 14:27:26 +0000.385945][709b] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:021] [2022-08-06 14:27:26 +0000.385967][709b] Recording session using default
bitrate support by app:31457280
[000:021] [2022-08-06 14:27:26 +0000.385983][11fd] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x771a3e1ec0
[000:022] [2022-08-06 14:27:26 +0000.386256][11fd] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:022] [2022-08-06 14:27:26 +0000.386363][709b] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:022] [2022-08-06 14:27:26 +0000.386716][709b] Error(ini.cc:191): Open the file
failed. error:2
[000:022] [2022-08-06 14:27:26 +0000.386734][709b]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:022] [2022-08-06 14:27:26 +0000.386752][709b] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:024] [2022-08-06 14:27:26 +0000.388146][709b] Error(ini.cc:191): Open the file
failed. error:2
[000:024] [2022-08-06 14:27:26 +0000.388172][709b]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:024] [2022-08-06 14:27:26 +0000.388189][709b] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:024] [2022-08-06 14:27:26 +0000.388214][709b] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:024] [2022-08-06 14:27:26 +0000.388226][709b] Using Default AEC type: software
AEC
[000:024] [2022-08-06 14:27:26 +0000.388797][709b] The device model: m2012k11ag
enum value: 0
[000:024] [2022-08-06 14:27:26 +0000.389007][709b] GetMachineModel is M2012K11AG
[000:024] [2022-08-06 14:27:26 +0000.389025][709b] GetMachineInfo: M2012K11AG
[000:025] [2022-08-06 14:27:26 +0000.389044][709b] Construct BeautifyReader
begin...
[000:025] [2022-08-06 14:27:26 +0000.389066][709b] dumpStickerRgba:0
dumpStickerYuv:0
[000:025] [2022-08-06 14:27:26 +0000.389077][709b] Construct BeautifyReader done.
[000:027] [2022-08-06 14:27:26 +0000.391267][709b] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:027] [2022-08-06 14:27:26 +0000.391296][1200] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78b91df5a0
[000:027] [2022-08-06 14:27:26 +0000.391463][709b] AppDeviceManager telnet server
for statistics started......
[000:027] [2022-08-06 14:27:26 +0000.391810][709b] CpuOverloadDetect time:499235029
enter.

[000:027] [2022-08-06 14:27:26 +0000.391860][709b] CpuOverloadDetect leave. expire


time = 0 ms

[000:027] [2022-08-06 14:27:26 +0000.391889][1201] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x76f57db8c0
[000:028] [2022-08-06 14:27:26 +0000.392131][709b] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:028] [2022-08-06 14:27:26 +0000.392147][709b] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:028] [2022-08-06 14:27:26 +0000.392308][709b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:028] [2022-08-06 14:27:26 +0000.392847][709b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:029] [2022-08-06 14:27:26 +0000.393033][709b] CreatePlatformSpecificObjects:
[000:029] [2022-08-06 14:27:26 +0000.393057][709b] audio device use opensle input
and opensl output
[000:029] [2022-08-06 14:27:26 +0000.393082][709b] Create OpenSLES output module
with java VM support.

[000:029] [2022-08-06 14:27:26 +0000.393142][709b] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:029] [2022-08-06 14:27:26 +0000.393219][709b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:029] [2022-08-06 14:27:26 +0000.393313][709b] Create OpenSLES output module
with buffer num:1

[000:029] [2022-08-06 14:27:26 +0000.393397][709b] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:029] [2022-08-06 14:27:26 +0000.393466][709b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:029] [2022-08-06 14:27:26 +0000.393542][709b] Create OpenSLES input module
with java VM support.

[000:029] [2022-08-06 14:27:26 +0000.393565][709b] Create OpenSLES input module


with buffer num:1

[000:029] [2022-08-06 14:27:26 +0000.393608][709b] Error(trace.cc:40): Init the


output and input for audio device template.
[000:029] [2022-08-06 14:27:26 +0000.393623][709b] Init the output device.

[000:029] [2022-08-06 14:27:26 +0000.393633][709b] Init the opensl input.


[000:029] [2022-08-06 14:27:26 +0000.393643][709b] AppDeviceManager get setting
samplerate: 0
[000:029] [2022-08-06 14:27:26 +0000.393799][709b] The device model: m2012k11ag
enum value: 0
[000:030] [2022-08-06 14:27:26 +0000.394061][709b] The device model: m2012k11ag
enum value: 0
[000:030] [2022-08-06 14:27:26 +0000.394081][709b] Set the sample rate to be:48000
[000:030] [2022-08-06 14:27:26 +0000.394093][709b] Enable the recording stereo:0
[000:030] [2022-08-06 14:27:26 +0000.394113][709b] Set the playout as stereo:1
[000:030] [2022-08-06 14:27:26 +0000.394124][709b] Init the microphone.
[000:031] [2022-08-06 14:27:26 +0000.395742][709b] Update the recording sample rate
to be: 48000
[000:031] [2022-08-06 14:27:26 +0000.395765][709b] Init the speaker.
[000:031] [2022-08-06 14:27:26 +0000.395784][709b] Low latency buffer size:144 low
sample rate:48000
[000:031] [2022-08-06 14:27:26 +0000.395939][709b] Using 1 x 10ms for an audio
frame.

[000:034] [2022-08-06 14:27:26 +0000.398692][709b] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:034] [2022-08-06 14:27:26 +0000.398762][709b] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:034] [2022-08-06 14:27:26 +0000.398798][709b] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:038] [2022-08-06 14:27:26 +0000.402405][709b] The device model:m2012k11ag

[000:038] [2022-08-06 14:27:26 +0000.402445][709b] speaker output factor:100


defaultFactor: 100

[000:038] [2022-08-06 14:27:26 +0000.402455][709b] headset output factor:100


defaultFactor: 100

[000:038] [2022-08-06 14:27:26 +0000.402680][709b] AppDeviceManagerStart finished.


[000:038] [2022-08-06 14:27:26 +0000.402698][709b] AppDeviceManagerStartMic::mic
status is off
[000:038] [2022-08-06 14:27:26 +0000.402738][709b] AppDeviceManagerStartMic update
aec type: 2

[000:038] [2022-08-06 14:27:26 +0000.402752][709b] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:038] [2022-08-06 14:27:26 +0000.402763][709b]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:038] [2022-08-06 14:27:26 +0000.402784][709b]
AudioDeviceDataHandler::StartMicProcess

[000:038] [2022-08-06 14:27:26 +0000.402856][709b] Try to start webrtc recording


device.

[000:038] [2022-08-06 14:27:26 +0000.402872][709b] StartRecording. threadID:28827

[000:038] [2022-08-06 14:27:26 +0000.402885][1202] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:038] [2022-08-06 14:27:26 +0000.402947][1202] haveEnoughProcessedData
internalAudioStream.length: 0
[000:039] [2022-08-06 14:27:26 +0000.403037][709b] The machine model:M2012K11AG

[000:039] [2022-08-06 14:27:26 +0000.403063][709b] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:039] [2022-08-06 14:27:26 +0000.403080][709b] Set the recording mode before


getSetting: 4
[000:039] [2022-08-06 14:27:26 +0000.403092][709b] Set the recording mode after
getSetting: 1
[000:067] [2022-08-06 14:27:26 +0000.431893][709b] StartRecording finished.
[000:067] [2022-08-06 14:27:26 +0000.431962][709b] audio: start the audio mic
checker timer.

[000:068] [2022-08-06 14:27:26 +0000.432311][709b] machine model :poco


[000:068] [2022-08-06 14:27:26 +0000.432341][709b] Support this machine model :poco
[000:070] [2022-08-06 14:27:26 +0000.434524][709b] global inited! current sdk
version: 07-20-936c45f
[000:140] [2022-08-06 14:27:26 +0000.504574][1203] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:140] [2022-08-06 14:27:26 +0000.504655][1203] _deviceSampleRate:48000

[000:141] [2022-08-06 14:27:26 +0000.505273][1202] Run AGC when audioType = 0


[000:141] [2022-08-06 14:27:26 +0000.505351][1202]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:284] [2022-08-06 14:27:26 +0000.648328][f39]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:284] [2022-08-06 14:27:26 +0000.648443][11fe] MediaFilterCamera, recording
file context:0x77f8805b00 input texture:10
[000:284] [2022-08-06 14:27:26 +0000.648482][11fe] GLESContext:
[000:284] [2022-08-06 14:27:26 +0000.648504][11fe] The result of eglGetDisplay is:
0xb40000780862bf00
[000:284] [2022-08-06 14:27:26 +0000.648986][11fe] The result of creation:
0x7709c52e00
[000:285] [2022-08-06 14:27:26 +0000.649046][11fe] The result of
eglCreatePbufferSurface is: 0x7709859000
[000:285] [2022-08-06 14:27:26 +0000.649105][f39]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x77f8805b00 input_texture: 10
[001:778] [2022-08-06 14:27:28 +0000.142513][1202] haveEnoughProcessedData
internalAudioStream.length: 0
[002:142] [2022-08-06 14:27:28 +0000.506905][1202] Run AGC when audioType = 0
[002:483] [2022-08-06 14:27:28 +0000.847948][707e] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[002:483] [2022-08-06 14:27:28 +0000.848015][707e]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[002:485] [2022-08-06 14:27:28 +0000.849055][707e]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[002:485] [2022-08-06 14:27:28 +0000.849295][11fe] operator() time:499237487
enter.

[002:485] [2022-08-06 14:27:28 +0000.849365][11fe] MediaFilterCamera, recording


file context:0x77f8805b00 input texture:10
[002:488] [2022-08-06 14:27:28 +0000.852838][11fe] MicSource: Mic source
created:10x78b91d6500
[002:489] [2022-08-06 14:27:28 +0000.853328][11fe] received external audio stream

[002:489] [2022-08-06 14:27:28 +0000.853387][11fe] alloc thread: 0x77099d5f80


name:worker0 thread id:511057407152 to Mic_source
[002:489] [2022-08-06 14:27:28 +0000.853495][11fe] audio: start the audio sender
thread.

[002:489] [2022-08-06 14:27:28 +0000.853587][11fe] construct OpenGLRenderProgram


0x77098d1498
[002:489] [2022-08-06 14:27:28 +0000.853614][11fe] CropFilter::SetOrientation
orientation: 90
[002:489] [2022-08-06 14:27:28 +0000.853779][11fe] filter: filter pipeline
construtc this: 0x77ed527c00
[002:489] [2022-08-06 14:27:28 +0000.853820][11fe] filter: filter pipeline2 update
pattern: 1
[002:489] [2022-08-06 14:27:28 +0000.853900][11fe] CameraSource::source_id_:1
[002:489] [2022-08-06 14:27:28 +0000.853971][11fe] RecordAudioSource::source_id_:2
[002:490] [2022-08-06 14:27:28 +0000.854261][11fe] BindInputFilter 0x77099d66c0
this 0x77098d16c0
[002:490] [2022-08-06 14:27:28 +0000.854290][11fe] BindInputFilter 0x77099d6858
this 0x77099d6cd0
[002:490] [2022-08-06 14:27:28 +0000.854314][11fe] BindInputFilter 0x77098d16c0
this 0x77ed527ca0
[002:490] [2022-08-06 14:27:28 +0000.854342][11fe] setParamentForFilters:
speed:1.000000
[002:490] [2022-08-06 14:27:28 +0000.854358][11fe] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[002:490] [2022-08-06 14:27:28 +0000.854375][11fe] SetParamForFilter time:499237492
enter.

[002:490] [2022-08-06 14:27:28 +0000.854391][11fe] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[002:490] [2022-08-06 14:27:28 +0000.854408][11fe] SetParamForFilter: Params video
index is: 0
[002:490] [2022-08-06 14:27:28 +0000.854422][11fe] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[002:490] [2022-08-06 14:27:28 +0000.854437][11fe] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[002:490] [2022-08-06 14:27:28 +0000.854451][11fe] crop filter mode tpye:
citytravelvideo index:0
[002:493] [2022-08-06 14:27:28 +0000.857511][11fe]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:493] [2022-08-06 14:27:28 +0000.857547][11fe]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:493] [2022-08-06 14:27:28 +0000.857586][11fe]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:493] [2022-08-06 14:27:28 +0000.857615][11fe]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:493] [2022-08-06 14:27:28 +0000.857645][11fe]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:493] [2022-08-06 14:27:28 +0000.857672][11fe]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:493] [2022-08-06 14:27:28 +0000.857702][11fe]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:493] [2022-08-06 14:27:28 +0000.857730][11fe]
Warning(parse_template_json.cc:81): json parament no found the parament
[002:493] [2022-08-06 14:27:28 +0000.857743][11fe]
Warning(parse_template_json.cc:81): json parament no found the parament
[002:493] [2022-08-06 14:27:28 +0000.857757][11fe]
Warning(parse_template_json.cc:67): json parament no found the parament
[002:493] [2022-08-06 14:27:28 +0000.857777][11fe]
Warning(parse_template_json.cc:93): json parament no found the duration
[002:493] [2022-08-06 14:27:28 +0000.857822][11fe] SetParamForFilter leave. expire
time = 3 ms

[002:493] [2022-08-06 14:27:28 +0000.857949][11fe] OnOutputSizeChanged width 1920


height 1080
[002:493] [2022-08-06 14:27:28 +0000.857976][11fe] OpenGLFrameBuffer: width:1920
height:1080
[002:493] [2022-08-06 14:27:28 +0000.858013][11fe] OpenGLFrameBuffer: width:1920
height:1080
[002:494] [2022-08-06 14:27:28 +0000.858047][11fe] OpenGLFrameBuffer: width:1920
height:1080
[002:494] [2022-08-06 14:27:28 +0000.858065][11fe] OpenGLFrameBuffer: width:1920
height:1080
[002:494] [2022-08-06 14:27:28 +0000.858090][11fe] OpenGLFrameBuffer: width:1920
height:1080
[002:494] [2022-08-06 14:27:28 +0000.858105][11fe] OpenGLFrameBuffer: width:1920
height:1080
[002:494] [2022-08-06 14:27:28 +0000.858133][11fe] construct TrivalImageDrawer
0x76f5705340
[002:494] [2022-08-06 14:27:28 +0000.858191][11fe] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x76f5705340 context 0x7709711000
[002:494] [2022-08-06 14:27:28 +0000.858210][11fe] setupGLES:
[002:494] [2022-08-06 14:27:28 +0000.858481][11fe] OpenGLRenderProgram::Initialize.
[002:494] [2022-08-06 14:27:28 +0000.858519][11fe] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[002:494] [2022-08-06 14:27:28 +0000.858545][11fe] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[002:494] [2022-08-06 14:27:28 +0000.858585][11fe] Init open gl render:
0x77098d1498
[002:494] [2022-08-06 14:27:28 +0000.858605][11fe] Fragement shader path:
[002:494] [2022-08-06 14:27:28 +0000.858629][11fe] Fragement shader path:
[002:494] [2022-08-06 14:27:28 +0000.858657][11fe] create opengl program object.
[002:494] [2022-08-06 14:27:28 +0000.858686][11fe] create shader: vertex
[002:494] [2022-08-06 14:27:28 +0000.858803][11fe] create shader: fragment
[002:495] [2022-08-06 14:27:28 +0000.859947][11fe] Have not extra filter filename!
[002:495] [2022-08-06 14:27:28 +0000.859980][11fe] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[002:495] [2022-08-06 14:27:28 +0000.859998][11fe] OpenGLRenderProgram::Initialize
success.
[002:496] [2022-08-06 14:27:28 +0000.860057][11fe] Setup the OpenGL result:1
[002:496] [2022-08-06 14:27:28 +0000.860259][11fd] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4
[002:496] [2022-08-06 14:27:28 +0000.860391][11fd] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[002:496] [2022-08-06 14:27:28 +0000.860408][123f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x778186f098
[002:496] [2022-08-06 14:27:28 +0000.860431][11fd] 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
[002:496] [2022-08-06 14:27:28 +0000.860477][11fd] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4
fileFD: -1
[002:496] [2022-08-06 14:27:28 +0000.860868][11fd] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4
is opened successfully
[002:496] [2022-08-06 14:27:28 +0000.860895][11fd] setupMediaProcessers:
[002:496] [2022-08-06 14:27:28 +0000.860916][11fd]
RecordingSessionInternalSimple:setup media processers.
[002:496] [2022-08-06 14:27:28 +0000.860963][11fd] construct AAC encoder
[002:498] [2022-08-06 14:27:28 +0000.862063][11fd] H264Encoder creating:
superfast011818
[002:498] [2022-08-06 14:27:28 +0000.862094][11fd] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[002:498] [2022-08-06 14:27:28 +0000.862590][11fd] H264Encode::GetMachineModel is
M2012K11AG
[002:498] [2022-08-06 14:27:28 +0000.862622][11fd] H264Encoder machine_mode
is:M2012K11AG
[002:498] [2022-08-06 14:27:28 +0000.862637][11fd] H264Encode::machine size :9
machine_mode:M2012K11AG
[002:498] [2022-08-06 14:27:28 +0000.862674][11fd] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[002:498] [2022-08-06 14:27:28 +0000.862691][11fd] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[002:498] [2022-08-06 14:27:28 +0000.862705][11fd] setupCompressionSession:
[002:498] [2022-08-06 14:27:28 +0000.862733][11fd] H264Encode::creating hareware
Encoder
[002:498] [2022-08-06 14:27:28 +0000.862748][11fd] AndroidHwAvcEncoder
time:499237500 enter.

[002:498] [2022-08-06 14:27:28 +0000.862911][11fd] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000078b91a9540 address:0x76e62eb760
[002:498] [2022-08-06 14:27:28 +0000.863032][11fd] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[002:499] [2022-08-06 14:27:28 +0000.863055][11fd] The video avc hw codec address
is 0x77f881f9f8
[002:499] [2022-08-06 14:27:28 +0000.863104][11fd] AndroidHwAvcEncoder leave.
expire time = 1 ms

[002:499] [2022-08-06 14:27:28 +0000.863133][11fd] RegisterEncodeCompleteCallback


time:499237501 enter.

[002:499] [2022-08-06 14:27:28 +0000.863229][11fd] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[002:499] [2022-08-06 14:27:28 +0000.863273][11fd] InitEncode time:499237501


enter.

[002:499] [2022-08-06 14:27:28 +0000.863326][11fd] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[002:499] [2022-08-06 14:27:28 +0000.863359][11fd] Create time:499237501 enter.

[002:499] [2022-08-06 14:27:28 +0000.863391][11fd] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[002:499] [2022-08-06 14:27:28 +0000.863424][11fd]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x770068fd00
[002:502] [2022-08-06 14:27:28 +0000.866655][1202] On audio frame the broadcast
with timestamp:499237504 samples:480. (1000 frame for one log)

[002:509] [2022-08-06 14:27:28 +0000.873780][1238] Get data in mic source, which


has byte length:1764micAudioStream->length():20
[002:510] [2022-08-06 14:27:28 +0000.874077][1238] The output timestamp from audio
mixer change:499237504
[002:510] [2022-08-06 14:27:28 +0000.874099][1238] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[002:513] [2022-08-06 14:27:28 +0000.877097][11fd]
supported_type:image/vnd.android.heic
[002:513] [2022-08-06 14:27:28 +0000.877150][11fd] supported_type:video/avc
[002:513] [2022-08-06 14:27:28 +0000.877186][11fd] name:OMX.qcom.video.encoder.avc
mime:video/avc
[002:513] [2022-08-06 14:27:28 +0000.877212][11fd] hwCodecPrefix :OMX.qcom.
[002:513] [2022-08-06 14:27:28 +0000.877236][11fd] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[002:513] [2022-08-06 14:27:28 +0000.877256][11fd] mediacodec_createCodecByName
time:499237515 enter.

[002:513] [2022-08-06 14:27:28 +0000.877281][11fd] WrapAndroidMediaCodec


time:499237515 enter.

[002:513] [2022-08-06 14:27:28 +0000.877387][11fd] WrapAndroidMediaCodec leave.


expire time = 0 ms

[002:571] [2022-08-06 14:27:28 +0000.935570][11fd] mediacodec_createCodecByName


leave. expire time = 58 ms

[002:571] [2022-08-06 14:27:28 +0000.935674][11fd] WrapAndroidMediaFromat


time:499237573 enter.

[002:571] [2022-08-06 14:27:28 +0000.935809][11fd] WrapAndroidMediaFromat leave.


expire time = 0 ms

[002:624] [2022-08-06 14:27:28 +0000.988199][11fd] Destroy time:499237626 enter.

[002:624] [2022-08-06 14:27:28 +0000.988266][11fd] WrapAndroidMediaFromat::


Destroy
[002:624] [2022-08-06 14:27:28 +0000.988285][11fd] Destroy leave. expire time = 0
ms

[002:624] [2022-08-06 14:27:28 +0000.988299][11fd] ~WrapAndroidMediaFromat


time:499237626 enter.

[002:624] [2022-08-06 14:27:28 +0000.988314][11fd] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[002:624] [2022-08-06 14:27:28 +0000.988330][11fd] Create leave. expire time = 125


ms

[002:624] [2022-08-06 14:27:28 +0000.988345][11fd] isSemiPlanarSupport


time:499237626 enter.

[002:624] [2022-08-06 14:27:28 +0000.988359][11fd] H264Encoder isSemiPlanarSupport


[002:624] [2022-08-06 14:27:28 +0000.988396][11fd] isSemiPlanarSupport leave.
expire time = 0 ms

[002:624] [2022-08-06 14:27:28 +0000.988411][11fd] creat hw H264Encoder success,


isSemiPlanar:1
[002:624] [2022-08-06 14:27:28 +0000.988495][11fd] InitEncode leave. expire time =
125 ms

[002:624] [2022-08-06 14:27:28 +0000.988524][11fd] H264Encode::created Encoder


[002:624] [2022-08-06 14:27:28 +0000.988542][11fd] H264Encode:: H264 encoder
created.
[002:624] [2022-08-06 14:27:28 +0000.988556][11fd] H264 encoder created.
[002:624] [2022-08-06 14:27:28 +0000.988571][11fd]
RecordingSessionInternalSimple:created avc encoder avc: 0x77f89c9d00
[002:624] [2022-08-06 14:27:28 +0000.988586][11fd] setOutput:
[002:624] [2022-08-06 14:27:28 +0000.988615][11fd]
RecordingSessionInternalSimple:encoder set output to muxer!
[002:624] [2022-08-06 14:27:28 +0000.988629][11fd] request a key frame
[002:624] [2022-08-06 14:27:28 +0000.988643][11fd] H264Encode:: request a key frame
[002:624] [2022-08-06 14:27:28 +0000.988708][11fd] setDisplayRotate :90
[002:624] [2022-08-06 14:27:28 +0000.988727][11fd] 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
[002:624] [2022-08-06 14:27:28 +0000.988766][11fe] StartRecording:
[002:624] [2022-08-06 14:27:28 +0000.988823][1238] operator(): Set the recording
session in mic source. recording session: 0x77099d6700
[002:624] [2022-08-06 14:27:28 +0000.988894][11fe] operator() leave. expire time =
139 ms

[002:624] [2022-08-06 14:27:28 +0000.988891][1237] AF_SpeedFilter audio


0x77099d6b80 PullFrame
[002:624] [2022-08-06 14:27:28 +0000.988936][1237]
RecordAudioSource::PullAudioFrame
[002:624] [2022-08-06 14:27:28 +0000.988951][1237] AF_SpeedFilter::PullFrame eof4
[002:627] [2022-08-06 14:27:28 +0000.991077][1237]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[002:645] [2022-08-06 14:27:29 +0000.9226][1237] AF_SpeedFilter audio time,
0x77099d6b80 rcv time: 499237645
[002:645] [2022-08-06 14:27:29 +0000.9273][1237] AF_SpeedFilter audio time,
0x77099d6b80 rcv time: 499237645in_nSamples:441
[002:645] [2022-08-06 14:27:29 +0000.9340][1237] resampled_data_size:0
[002:679] [2022-08-06 14:27:29 +0000.43117][11fe]
MediaFilterCamera::NeedProcessTexture
[002:679] [2022-08-06 14:27:29 +0000.43205][11fe] begine recode to first frame
spend time:194
[002:679] [2022-08-06 14:27:29 +0000.43240][11fe] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x77099d6580
[002:679] [2022-08-06 14:27:29 +0000.43365][11fe] blur_distance_:0
[002:679] [2022-08-06 14:27:29 +0000.43503][11fe] blur_direction_angle_:-90
[002:679] [2022-08-06 14:27:29 +0000.43642][11fe]
GPUImageProcessing::SetOrientation orientation: 90
[002:679] [2022-08-06 14:27:29 +0000.43786][11fe] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[002:680] [2022-08-06 14:27:29 +0000.44037][11fe] GPUImageProcessing: process video
frame with resolution 1920 X 1080
[002:680] [2022-08-06 14:27:29 +0000.44082][11fe] GPUImageProcessing: input frame
width1920 X 1080
[002:683] [2022-08-06 14:27:29 +0000.47467][11fe] drawYUV420 render
OpenGLRenderProgram:0x77098d1498
[002:684] [2022-08-06 14:27:29 +0000.48190][11fe] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[002:684] [2022-08-06 14:27:29 +0000.48460][11fe] CropFilter::OnVideoFrame
outputtexture :12
[002:684] [2022-08-06 14:27:29 +0000.48492][11fe] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[002:692] [2022-08-06 14:27:29 +0000.56951][11fe] The read pixel from buffer take:
8 width:1920 height:1080 frameType:0
[002:716] [2022-08-06 14:27:29 +0000.80800][11fe] drawYUV420 render
OpenGLRenderProgram:0x77098d1498
[002:726] [2022-08-06 14:27:29 +0000.90840][11fe] The convert RGB to YUV take 2
[002:727] [2022-08-06 14:27:29 +0000.91118][11fe] FilterPipeline2::OnVideoFrame pts
32 last_video_timestamp_ 32
[002:727] [2022-08-06 14:27:29 +0000.91177][11fe]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[002:729] [2022-08-06 14:27:29 +0000.93605][123e]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[002:729] [2022-08-06 14:27:29 +0000.93681][123e] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[002:729] [2022-08-06 14:27:29 +0000.93704][123e] push video frame to H264 encoder.
(100 frame for one log)

[002:729] [2022-08-06 14:27:29 +0000.93744][123e] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[002:729] [2022-08-06 14:27:29 +0000.93762][123e] H264Encode::push video frame to


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

[002:729] [2022-08-06 14:27:29 +0000.93797][123e] Push an pts:0 to dts queue.


[002:729] [2022-08-06 14:27:29 +0000.93823][123e] DTS queue for
Generator:0x77818726b8 0
[002:729] [2022-08-06 14:27:29 +0000.93838][123e] The input pts:0 fps:30
[002:731] [2022-08-06 14:27:29 +0000.95533][123e]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[002:749] [2022-08-06 14:27:29 +0000.113361][11fe] drawYUV420 render
OpenGLRenderProgram:0x77098d1498
[002:770] [2022-08-06 14:27:29 +0000.134543][1237] AF_SpeedFilter audio time 222,
0x77099d6b80 out time: 499237645 org time: 499237645
[002:770] [2022-08-06 14:27:29 +0000.134600][1237] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[002:770] [2022-08-06 14:27:29 +0000.134624][1237]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 499237645
[002:770] [2022-08-06 14:27:29 +0000.134640][1237]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[002:770] [2022-08-06 14:27:29 +0000.134702][1237] AF_SpeedFilter audio time
[002:770] [2022-08-06 14:27:29 +0000.134735][1237] AF_SpeedFilter audio time 111,
0x77099d6b80 out time: 499237655 org time: 499237655
[002:771] [2022-08-06 14:27:29 +0000.135539][123d]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:3
[002:772] [2022-08-06 14:27:29 +0000.136944][123f] add aac audio track with id:1
[002:772] [2022-08-06 14:27:29 +0000.137033][123f] audio start ts:0
[002:773] [2022-08-06 14:27:29 +0000.137092][123f] the audio frame has been written
into MP4 file
[002:824] [2022-08-06 14:27:29 +0000.188365][123e] h264 add frame header cdr flag
[002:825] [2022-08-06 14:27:29 +0000.189388][123e] h264 add frame header cdr flag
[002:826] [2022-08-06 14:27:29 +0000.190934][123e] SendFrame
encodedImage._timeStamp:0encodedImage->_length:480496
[002:826] [2022-08-06 14:27:29 +0000.190983][123e] Received key frame:0
[002:826] [2022-08-06 14:27:29 +0000.191004][123e] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[002:826] [2022-08-06 14:27:29 +0000.191024][123e] H264Encode::H264SWEncoder get
callback, length:480496 type:0 nalType:7length:19
[002:827] [2022-08-06 14:27:29 +0000.191039][123e] H264Encode:: get a sps pps
header!headerSize:32
[002:827] [2022-08-06 14:27:29 +0000.191054][123e] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[002:827] [2022-08-06 14:27:29 +0000.191210][123f] get the H.264 SPS parameter
[002:827] [2022-08-06 14:27:29 +0000.191398][123f] add video track with id:2
[002:829] [2022-08-06 14:27:29 +0000.193963][123f] get the H.264 PPS parameter
[002:830] [2022-08-06 14:27:29 +0000.194714][123f] get the H.264 IDR frame
[002:830] [2022-08-06 14:27:29 +0000.194762][123f] resss:true
[002:830] [2022-08-06 14:27:29 +0000.194780][123f] video start ts:0
[002:831] [2022-08-06 14:27:29 +0000.195097][123f] the video frame has been written
into MP4 file
[003:176] [2022-08-06 14:27:29 +0000.540584][11fe] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[003:221] [2022-08-06 14:27:29 +0000.585616][11fe] The convert RGB to YUV take 4
[003:490] [2022-08-06 14:27:29 +0000.855042][1202] haveEnoughProcessedData
internalAudioStream.length: 0
[003:505] [2022-08-06 14:27:29 +0000.869057][1238] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[003:550] [2022-08-06 14:27:29 +0000.914828][123e] DTS queue for
Generator:0x77818726b8 803 834
[003:678] [2022-08-06 14:27:30 +0000.42899][11fe] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[003:720] [2022-08-06 14:27:30 +0000.84448][11fe] The convert RGB to YUV take 6
[004:053] [2022-08-06 14:27:30 +0000.417120][123e] Push an pts:1335 to dts queue.
[004:071] [2022-08-06 14:27:30 +0000.435126][11f8]
monitorTime:4004totalDuration:3940
[004:089] [2022-08-06 14:27:30 +0000.453555][123e] last dts:1298 currentPts:1335
ppsOrSPS:0 queue length:2
[004:142] [2022-08-06 14:27:30 +0000.506127][1202] Run AGC when audioType = 0
[004:142] [2022-08-06 14:27:30 +0000.506348][1202]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:182] [2022-08-06 14:27:30 +0000.546976][11fe] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[004:204] [2022-08-06 14:27:30 +0000.568380][1237] AF_SpeedFilter audio
0x77099d6b80 PullFrame
[004:218] [2022-08-06 14:27:30 +0000.582141][11fe] The convert RGB to YUV take 5
[004:385] [2022-08-06 14:27:30 +0000.749418][123e] DTS queue for
Generator:0x77818726b8 1635 1666
[004:446] [2022-08-06 14:27:30 +0000.810139][1237]
RecordAudioSource::PullAudioFrame
[004:506] [2022-08-06 14:27:30 +0000.870543][1238] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:682] [2022-08-06 14:27:31 +0000.46693][11fe] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[004:720] [2022-08-06 14:27:31 +0000.84659][11fe] The convert RGB to YUV take 4
[004:745] [2022-08-06 14:27:31 +0000.109637][11fe] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[004:755] [2022-08-06 14:27:31 +0000.119382][123e] h264 add frame header cdr flag
[004:755] [2022-08-06 14:27:31 +0000.119971][123e] Received key frame:2004
[004:794] [2022-08-06 14:27:31 +0000.158246][123f] get the H.264 IDR frame
[004:858] [2022-08-06 14:27:31 +0000.222900][1237] AF_SpeedFilter::PullFrame eof4
[004:861] [2022-08-06 14:27:31 +0000.225067][1237]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[004:930] [2022-08-06 14:27:31 +0000.294603][1237] resampled_data_size:7168
[005:121] [2022-08-06 14:27:31 +0000.485484][123d]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:6
[005:180] [2022-08-06 14:27:31 +0000.544846][11fe] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:188] [2022-08-06 14:27:31 +0000.552825][123e] DTS queue for
Generator:0x77818726b8 2469
[005:200] [2022-08-06 14:27:31 +0000.564386][1202] haveEnoughProcessedData
internalAudioStream.length: 0
[005:220] [2022-08-06 14:27:31 +0000.584273][11fe] The convert RGB to YUV take 5
[005:395] [2022-08-06 14:27:31 +0000.759843][123e] Push an pts:2672 to dts queue.
[005:422] [2022-08-06 14:27:31 +0000.786174][123e] last dts:2641 currentPts:2672
ppsOrSPS:0 queue length:2
[005:512] [2022-08-06 14:27:31 +0000.876146][1238] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[005:679] [2022-08-06 14:27:32 +0000.43834][11fe] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:717] [2022-08-06 14:27:32 +0000.81279][11fe] The convert RGB to YUV take 4
[005:788] [2022-08-06 14:27:32 +0000.152389][1237] AF_SpeedFilter audio
0x77099d6b80 PullFrame
[005:980] [2022-08-06 14:27:32 +0000.344213][11fe] drawYUV420 render
OpenGLRenderProgram:0x77098d1498
[006:020] [2022-08-06 14:27:32 +0000.384356][123e] DTS queue for
Generator:0x77818726b8 3299
[006:046] [2022-08-06 14:27:32 +0000.410807][11fe] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[006:046] [2022-08-06 14:27:32 +0000.410913][11fe] GPUImageProcessing: input frame
width1920 X 1080
[006:047] [2022-08-06 14:27:32 +0000.411389][11fe] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[006:047] [2022-08-06 14:27:32 +0000.411513][11fe] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[006:058] [2022-08-06 14:27:32 +0000.422503][123e]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3335
[006:060] [2022-08-06 14:27:32 +0000.424792][123e] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3299 pts:3299
[006:087] [2022-08-06 14:27:32 +0000.451208][123e] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3367
[006:087] [2022-08-06 14:27:32 +0000.451316][123e] push video frame to H264
encoder. (100 frame for one log)
[006:087] [2022-08-06 14:27:32 +0000.451357][123e] push video frame to H264
encoder. (100 frame for one log) used width:1920 height:1080

[006:087] [2022-08-06 14:27:32 +0000.451408][123e] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3367(100 frame for one
log)

[006:087] [2022-08-06 14:27:32 +0000.451454][123e] The input pts:3367 fps:30


[006:090] [2022-08-06 14:27:32 +0000.454459][123e] SendFrame
encodedImage._timeStamp:3335encodedImage->_length:143520
[006:122] [2022-08-06 14:27:32 +0000.486278][123e] H264Encode::H264SWEncoder get
callback, length:136048 type:1 nalType:1length:136044
[006:143] [2022-08-06 14:27:32 +0000.507426][1202] Run AGC when audioType = 0
[006:181] [2022-08-06 14:27:32 +0000.545162][11fe] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:217] [2022-08-06 14:27:32 +0000.581666][11fe] The convert RGB to YUV take 5
[006:313] [2022-08-06 14:27:32 +0000.677200][1237]
RecordAudioSource::PullAudioFrame
[006:511] [2022-08-06 14:27:32 +0000.875111][1238] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:679] [2022-08-06 14:27:33 +0000.43568][11fe] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:717] [2022-08-06 14:27:33 +0000.81986][11fe] The convert RGB to YUV take 4
[006:718] [2022-08-06 14:27:33 +0000.82711][123e] Push an pts:4000 to dts queue.
[006:755] [2022-08-06 14:27:33 +0000.119489][123e] h264 add frame header cdr flag
[006:756] [2022-08-06 14:27:33 +0000.120415][123e] Received key frame:4000
[006:756] [2022-08-06 14:27:33 +0000.120488][123e] last dts:3967 currentPts:4000
ppsOrSPS:0 queue length:2
[006:790] [2022-08-06 14:27:33 +0000.154154][123f] get the H.264 IDR frame
[006:816] [2022-08-06 14:27:33 +0000.180693][11fe] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[006:853] [2022-08-06 14:27:33 +0000.217697][123e] DTS queue for
Generator:0x77818726b8 4099 4134
[006:919] [2022-08-06 14:27:33 +0000.283504][1202] haveEnoughProcessedData
internalAudioStream.length: 0
[007:127] [2022-08-06 14:27:33 +0000.491160][1237] resampled_data_size:0
[007:179] [2022-08-06 14:27:33 +0000.543977][11fe] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:200] [2022-08-06 14:27:33 +0000.564100][1237] AF_SpeedFilter::PullFrame eof4
[007:202] [2022-08-06 14:27:33 +0000.566279][1237]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[007:217] [2022-08-06 14:27:33 +0000.581281][11fe] The convert RGB to YUV take 4
[007:432] [2022-08-06 14:27:33 +0000.796411][1237] AF_SpeedFilter audio
0x77099d6b80 PullFrame
[007:471] [2022-08-06 14:27:33 +0000.835808][123d]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:10
[007:508] [2022-08-06 14:27:33 +0000.872397][1238] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[007:680] [2022-08-06 14:27:34 +0000.44703][11fe] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:684] [2022-08-06 14:27:34 +0000.48841][123e] DTS queue for
Generator:0x77818726b8 4934 4968
[007:716] [2022-08-06 14:27:34 +0000.80809][11fe] The convert RGB to YUV take 4
[008:051] [2022-08-06 14:27:34 +0000.415390][123e] Push an pts:5333 to dts queue.
[008:088] [2022-08-06 14:27:34 +0000.452231][123e] last dts:5300 currentPts:5333
ppsOrSPS:0 queue length:2
[008:146] [2022-08-06 14:27:34 +0000.511061][1202] Run AGC when audioType = 0
[008:147] [2022-08-06 14:27:34 +0000.511602][1202]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:179] [2022-08-06 14:27:34 +0000.543171][11fe] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:217] [2022-08-06 14:27:34 +0000.581393][11fe] The convert RGB to YUV take 3
[008:237] [2022-08-06 14:27:34 +0000.601176][1237]
RecordAudioSource::PullAudioFrame
[008:514] [2022-08-06 14:27:34 +0000.879006][1238] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[008:516] [2022-08-06 14:27:34 +0000.880698][123e] DTS queue for
Generator:0x77818726b8 5766 5799
[008:635] [2022-08-06 14:27:34 +0000.999697][1202] haveEnoughProcessedData
internalAudioStream.length: 0
[008:678] [2022-08-06 14:27:35 +0000.42088][11fe] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[008:717] [2022-08-06 14:27:35 +0000.81903][11fe] The convert RGB to YUV take 2
[008:755] [2022-08-06 14:27:35 +0000.120042][123e] h264 add frame header cdr flag
[008:756] [2022-08-06 14:27:35 +0000.120664][123e] Received key frame:6001
[008:785] [2022-08-06 14:27:35 +0000.149578][123f] get the H.264 IDR frame
[008:911] [2022-08-06 14:27:35 +0000.275551][11fe] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[009:072] [2022-08-06 14:27:35 +0000.436368][1237] AF_SpeedFilter audio
0x77099d6b80 PullFrame
[009:181] [2022-08-06 14:27:35 +0000.545600][11fe] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:217] [2022-08-06 14:27:35 +0000.581673][11fe] The convert RGB to YUV take 4
[009:310] [2022-08-06 14:27:35 +0000.674168][11fe] drawYUV420 render
OpenGLRenderProgram:0x77098d1498
[009:319] [2022-08-06 14:27:35 +0000.683899][123e] DTS queue for
Generator:0x77818726b8 6598
[009:358] [2022-08-06 14:27:35 +0000.722833][1237] resampled_data_size:10240
[009:385] [2022-08-06 14:27:35 +0000.749065][123e]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6665
[009:385] [2022-08-06 14:27:35 +0000.749180][123e] Push an pts:6665 to dts queue.
[009:409] [2022-08-06 14:27:35 +0000.773474][11fe] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[009:409] [2022-08-06 14:27:35 +0000.773551][11fe] GPUImageProcessing: input frame
width1920 X 1080
[009:409] [2022-08-06 14:27:35 +0000.773952][11fe] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[009:410] [2022-08-06 14:27:35 +0000.774207][11fe] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[009:418] [2022-08-06 14:27:35 +0000.782426][123e] SendFrame
encodedImage._timeStamp:6665encodedImage->_length:141184
[009:418] [2022-08-06 14:27:35 +0000.782546][123e] last dts:6630 currentPts:6665
ppsOrSPS:0 queue length:2
[009:418] [2022-08-06 14:27:35 +0000.782583][123e] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6665 pts:6665
[009:453] [2022-08-06 14:27:35 +0000.817274][123e] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6736
[009:453] [2022-08-06 14:27:35 +0000.817363][123e] push video frame to H264
encoder. (100 frame for one log)

[009:453] [2022-08-06 14:27:35 +0000.817423][123e] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[009:453] [2022-08-06 14:27:35 +0000.817469][123e] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6736(100 frame for one
log)
[009:453] [2022-08-06 14:27:35 +0000.817524][123e] The input pts:6736 fps:30
[009:487] [2022-08-06 14:27:35 +0000.851554][123e] H264Encode::H264SWEncoder get
callback, length:121776 type:1 nalType:1length:121772
[009:506] [2022-08-06 14:27:35 +0000.870135][1238] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[009:529] [2022-08-06 14:27:35 +0000.893723][707e]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[009:529] [2022-08-06 14:27:35 +0000.893936][11fe] operator(): Stop
[009:529] [2022-08-06 14:27:35 +0000.893998][11fe] StopPullFrameAndWriteMp4
time:499244531 enter.

[009:529] [2022-08-06 14:27:35 +0000.894140][11fe] StopRecording:


[009:535] [2022-08-06 14:27:35 +0000.899561][1237] resampled_data_size:512
[009:535] [2022-08-06 14:27:35 +0000.899668][1237] AF_SpeedFilter audio time 222,
0x77099d6b80 out time: 499244425 org time: 499244425
[009:535] [2022-08-06 14:27:35 +0000.899842][1237] PullAudioFrame: PullFrame audio
finished.
[009:535] [2022-08-06 14:27:35 +0000.899895][1237]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[009:539] [2022-08-06 14:27:35 +0000.903458][123e]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:205
[009:544] [2022-08-06 14:27:35 +0000.908196][11fd] stop recording
[009:544] [2022-08-06 14:27:35 +0000.908274][11fd]
RecordingSessionInternalSimple:destroy media processers
[009:544] [2022-08-06 14:27:35 +0000.908309][11fd] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[009:544] [2022-08-06 14:27:35 +0000.908340][11fd] H264Encode::flushing hareware
Encoder
[009:544] [2022-08-06 14:27:35 +0000.908699][11fd] Flush time:499244546 enter.

[009:544] [2022-08-06 14:27:35 +0000.908794][11fd] H264Encoder encoder flush


[009:544] [2022-08-06 14:27:35 +0000.908851][11fd] flush output queue
[009:882] [2022-08-06 14:27:36 +0000.246399][11fd] Flush leave. expire time = 338
ms

[009:882] [2022-08-06 14:27:36 +0000.246637][11fd] ~H264EncodeWrap:


[009:882] [2022-08-06 14:27:36 +0000.246688][11fd] ~H264Encode:
[009:882] [2022-08-06 14:27:36 +0000.246723][11fd] teardownCompressionSession:
H264Encode::destroying Encoder
[009:882] [2022-08-06 14:27:36 +0000.246760][11fd] Release time:499244884 enter.

[009:882] [2022-08-06 14:27:36 +0000.246956][11fd] Release:


MediaCodecVideoEncoder::Release _inited:1
[009:882] [2022-08-06 14:27:36 +0000.247009][11fd] Destroy time:499244884 enter.

[009:883] [2022-08-06 14:27:36 +0000.247046][11fd] H264Encoder encoderDestroy


[009:883] [2022-08-06 14:27:36 +0000.247080][11fd]
AndroidMediaCodecVideoEncoder::release env: 0x7781a92180
[009:883] [2022-08-06 14:27:36 +0000.247118][11fd]
AndroidMediaCodecVideoEncoder::Destroy
[009:933] [2022-08-06 14:27:36 +0000.297302][11fd] Destroy leave. expire time = 51
ms

[009:933] [2022-08-06 14:27:36 +0000.297513][11fd] Release leave. expire time = 51


ms

[009:933] [2022-08-06 14:27:36 +0000.297584][11fd] ~AndroidHwAvcEncoder


time:499244935 enter.

[009:933] [2022-08-06 14:27:36 +0000.297813][11fd] Release time:499244935 enter.

[009:933] [2022-08-06 14:27:36 +0000.297891][11fd] Release:


MediaCodecVideoEncoder:: has been released before, just return
[009:933] [2022-08-06 14:27:36 +0000.297926][11fd] Release leave. expire time = 0
ms

[009:933] [2022-08-06 14:27:36 +0000.297958][11fd] ~AndroidMediaCodecVideoEncoder


[009:933] [2022-08-06 14:27:36 +0000.297988][11fd] ~WrapAndroidMediaCodec
time:499244935 enter.

[009:933] [2022-08-06 14:27:36 +0000.298021][11fd] ~WrapAndroidMediaCodec leave.


expire time = 1 ms

[009:934] [2022-08-06 14:27:36 +0000.298086][11fd] video hevc hw codec


destructor:0x77f881f9f8

[009:934] [2022-08-06 14:27:36 +0000.298153][11fd] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[009:934] [2022-08-06 14:27:36 +0000.298212][11fd] teardownCompressionSession:


H264Encode::destroyed Encoder
[009:934] [2022-08-06 14:27:36 +0000.298250][11fd]
RecordingSessionInternalSimple:destroy aac encoder output!
[009:934] [2022-08-06 14:27:36 +0000.298282][11fd] AACSWEncode destructor
[009:947] [2022-08-06 14:27:36 +0000.311274][123f] MP4 close file successfully
[009:947] [2022-08-06 14:27:36 +0000.311338][123f] Recording session Internal:
notify recording ok
[009:947] [2022-08-06 14:27:36 +0000.311364][123f] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4,
output_video_timestamp_:6798 last_video_pts_:6798
[009:947] [2022-08-06 14:27:36 +0000.311397][123f] OnRecordFinish:
[009:948] [2022-08-06 14:27:36 +0000.312228][123f] onRecordingOk: net seek
pos:0record video duration:6831record audio duration:6803
[009:948] [2022-08-06 14:27:36 +0000.312917][1238] destructMicSource_w:
[009:948] [2022-08-06 14:27:36 +0000.312997][1238] setOutput_w:
MicSource::setOutput() 0x0
[009:949] [2022-08-06 14:27:36 +0000.313052][1238] close external audio stream

[009:949] [2022-08-06 14:27:36 +0000.313734][11fe] releaseThread 0x77099d5f80


[009:949] [2022-08-06 14:27:36 +0000.313785][11fe] ~MicSource: Mic source
destroyed:0x78b91d6500
[009:950] [2022-08-06 14:27:36 +0000.314703][11fe] StopPullFrameAndWriteMp4 leave.
expire time = 421 ms

[009:950] [2022-08-06 14:27:36 +0000.314749][11fe] DestroyPipelineAndFilters


time:499244952 enter.

[009:950] [2022-08-06 14:27:36 +0000.314805][11fe] UnbindInputFilter 0x77099d66c0


this 0x77098d16c0
[009:950] [2022-08-06 14:27:36 +0000.314843][11fe] UnbindInputFilter 0x77099d6858
this 0x77099d6cd0
[009:950] [2022-08-06 14:27:36 +0000.314890][11fe] UnbindInputFilter 0x77098d16c0
this 0x77ed527ca0
[009:950] [2022-08-06 14:27:36 +0000.314915][11fe] filter: filter pipeline destroy
this: 0x77ed527c00
[009:952] [2022-08-06 14:27:36 +0000.316151][11fe] ClearVideoOfSources: recodring
total frames:0
[009:952] [2022-08-06 14:27:36 +0000.316206][11fe] ClearVideoOfSources:
[009:952] [2022-08-06 14:27:36 +0000.316246][11fe] GPUImageProcessing destruct.
[009:952] [2022-08-06 14:27:36 +0000.316298][11fe] destroy TrivalImageDrawer
0x76f5705340
[009:952] [2022-08-06 14:27:36 +0000.316328][11fe] The shader has been initialize,
clean up them.

[009:952] [2022-08-06 14:27:36 +0000.316389][11fe] ~OpenGLFrameBuffer:


[009:952] [2022-08-06 14:27:36 +0000.316484][11fe] ~OpenGLFrameBuffer:
[009:952] [2022-08-06 14:27:36 +0000.316746][11fe] ~OpenGLFrameBuffer:
[009:952] [2022-08-06 14:27:36 +0000.316812][11fe] ~OpenGLFrameBuffer:
[009:952] [2022-08-06 14:27:36 +0000.316873][11fe] ~OpenGLFrameBuffer:
[009:952] [2022-08-06 14:27:36 +0000.316937][11fe] ~OpenGLFrameBuffer:
[009:953] [2022-08-06 14:27:36 +0000.317108][11fe] GPUImageProcessing destruct
finish.
[009:953] [2022-08-06 14:27:36 +0000.317150][11fe] GPURGBAFrame destruct.
[009:953] [2022-08-06 14:27:36 +0000.317199][11fe] destroy OpenGLRenderProgram
0x77098d1498
[009:953] [2022-08-06 14:27:36 +0000.317239][11fe] ~CameraSource time:499244955
enter.

[009:953] [2022-08-06 14:27:36 +0000.317264][11fe] ~CameraSource leave. expire


time = 0 ms

[009:953] [2022-08-06 14:27:36 +0000.317289][11fe] ~RecordAudioSource


time:499244955 enter.

[009:953] [2022-08-06 14:27:36 +0000.317363][11fe] ~RecordAudioSource leave.


expire time = 0 ms

[009:953] [2022-08-06 14:27:36 +0000.317389][11fe] DestroyPipelineAndFilters


leave. expire time = 3 ms

[009:972] [2022-08-06 14:27:36 +0000.336409][707e]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[009:973] [2022-08-06 14:27:36 +0000.337251][707e] machine model :poco
[009:973] [2022-08-06 14:27:36 +0000.337306][707e] Support this machine model :poco
[009:973] [2022-08-06 14:27:36 +0000.337351][707e] global inited! current sdk
version: 07-20-936c45f
[009:973] [2022-08-06 14:27:36 +0000.337819][707e] filter: filter pipeline
construtc this: 0x7709863200
[009:973] [2022-08-06 14:27:36 +0000.337873][707e] MediaFilterGraph:
MediaFilterGraph construct
[009:973] [2022-08-06 14:27:36 +0000.337915][707e] GLESContext:
[009:973] [2022-08-06 14:27:36 +0000.337979][707e] The result of eglGetDisplay is:
0xb40000780862bf00
[009:976] [2022-08-06 14:27:36 +0000.340445][707e] The result of creation:
0x771a2f5a80
[009:976] [2022-08-06 14:27:36 +0000.340614][707e] The result of
eglCreatePbufferSurface is: 0x771a35fe80
[009:979] [2022-08-06 14:27:36 +0000.343098][707e] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4
[009:979] [2022-08-06 14:27:36 +0000.343172][707e] The source 0 speed:1
[009:979] [2022-08-06 14:27:36 +0000.343244][707e] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4,
delay: 0
[009:979] [2022-08-06 14:27:36 +0000.343280][707e] CreateDecoderByVideoSource
time:499244981 enter.

[009:979] [2022-08-06 14:27:36 +0000.343543][707e] running_decoder_count:0max


count:2
[009:979] [2022-08-06 14:27:36 +0000.343584][707e] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x771a0eb800
[009:993] [2022-08-06 14:27:36 +0000.357789][1252] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7781866600] Current FFmpeg version git-2021-06-16-
97cea6f

[010:059] [2022-08-06 14:27:36 +0000.423809][1252] OnStreamInfoFound: video


duration_: 6831
[010:065] [2022-08-06 14:27:36 +0000.429220][1254] NO get frame from decoder
[010:065] [2022-08-06 14:27:36 +0000.429236][707e] start decoder
[010:065] [2022-08-06 14:27:36 +0000.429866][707e] CreateDecoderByVideoSource
leave. expire time = 86 ms

[010:065] [2022-08-06 14:27:36 +0000.430024][707e] BindInputFilter 0x77099a42a0


this 0x7709755e58
[010:066] [2022-08-06 14:27:36 +0000.430241][707e] BindInputFilter 0x7709755e58
this 0x7709755f18
[010:066] [2022-08-06 14:27:36 +0000.430397][707e] BindInputFilter 0x77099a42a0
this 0x7709755fd8
[010:066] [2022-08-06 14:27:36 +0000.430524][707e] BindInputFilter 0x7709755fd8
this 0x7709830098
[010:066] [2022-08-06 14:27:36 +0000.430615][707e] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4
[010:066] [2022-08-06 14:27:36 +0000.430719][707e] BindInputFilter 0x7709755f18
this 0x7709830158
[010:066] [2022-08-06 14:27:36 +0000.430778][707e] BindInputFilter 0x7709830158
this 0x77098632a0
[010:066] [2022-08-06 14:27:36 +0000.430837][707e] BindInputFilter 0x7709830098
this 0x7709830218
[010:066] [2022-08-06 14:27:36 +0000.430889][707e] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4
[010:068] [2022-08-06 14:27:36 +0000.432267][707e]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[010:068] [2022-08-06 14:27:36 +0000.432893][707e] machine model :poco
[010:068] [2022-08-06 14:27:36 +0000.432946][707e] Support this machine model :poco
[010:068] [2022-08-06 14:27:36 +0000.433008][707e] global inited! current sdk
version: 07-20-936c45f
[010:069] [2022-08-06 14:27:36 +0000.433133][707e] GetPipeline:
-----------------------------------------
[010:069] [2022-08-06 14:27:36 +0000.433180][707e] GetPipeline: source:
0x77099a4080
[010:069] [2022-08-06 14:27:36 +0000.433240][707e] GetPipeline: filter: NULLFilter
[010:069] [2022-08-06 14:27:36 +0000.433351][707e] GetPipeline: filter: NULLFilter
[010:069] [2022-08-06 14:27:36 +0000.433398][707e] GetPipeline: filter: NULLFilter
[010:069] [2022-08-06 14:27:36 +0000.433452][707e] GetPipeline: audio filter:
AuidoNULLFilter
[010:069] [2022-08-06 14:27:36 +0000.433508][707e] GetPipeline: audio filter:
AuidoNULLFilter
[010:069] [2022-08-06 14:27:36 +0000.433559][707e] GetPipeline: audio filter:
AudioNUllFilter
[010:069] [2022-08-06 14:27:36 +0000.433667][707e] GetPipeline:
------------------------------------------
[010:069] [2022-08-06 14:27:36 +0000.433726][707e] filter: filter pipeline2 update
pattern: 0
[010:071] [2022-08-06 14:27:36 +0000.435344][707e] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[010:071] [2022-08-06 14:27:36 +0000.435756][707e] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[010:071] [2022-08-06 14:27:36 +0000.435888][707e] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[010:072] [2022-08-06 14:27:36 +0000.436225][707e] DeviceInit:
[010:072] [2022-08-06 14:27:36 +0000.436543][707e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[010:073] [2022-08-06 14:27:36 +0000.437303][707e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[010:073] [2022-08-06 14:27:36 +0000.437667][707e] CreatePlatformSpecificObjects:
[010:073] [2022-08-06 14:27:36 +0000.437753][707e] audio device use null audio
input and opensl output
[010:073] [2022-08-06 14:27:36 +0000.437815][707e] Create OpenSLES output module
with java VM support.

[010:073] [2022-08-06 14:27:36 +0000.438021][707e] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[010:074] [2022-08-06 14:27:36 +0000.438437][707e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[010:074] [2022-08-06 14:27:36 +0000.438715][1254] NO get frame from decoder
[010:074] [2022-08-06 14:27:36 +0000.438742][707e] Create OpenSLES output module
with buffer num:2

[010:075] [2022-08-06 14:27:36 +0000.439041][707e] Error(trace.cc:40): Init the


output and input for audio device template.
[010:075] [2022-08-06 14:27:36 +0000.439151][707e] Init the output device.

[010:075] [2022-08-06 14:27:36 +0000.439227][707e] Set the playout as stereo:1


[010:075] [2022-08-06 14:27:36 +0000.439331][707e] Set the sample rate to be:44100

[010:075] [2022-08-06 14:27:36 +0000.439486][707e] Low latency buffer size:144 low


sample rate:48000
[010:075] [2022-08-06 14:27:36 +0000.439642][707e] DeviceInit: Done
[010:075] [2022-08-06 14:27:36 +0000.439990][707e] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[010:076] [2022-08-06 14:27:36 +0000.440989][126a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7709ba4f18
[010:077] [2022-08-06 14:27:36 +0000.441710][707e]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[010:077] [2022-08-06 14:27:36 +0000.441832][707e]
MediaFilterPlayer::SetPlayerNotify 0x7709c81200
[010:078] [2022-08-06 14:27:36 +0000.442897][707e]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[010:078] [2022-08-06 14:27:36 +0000.442950][707e]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[010:080] [2022-08-06 14:27:36 +0000.444144][707e]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[010:080] [2022-08-06 14:27:36 +0000.444173][1254] NO get frame from decoder
[010:081] [2022-08-06 14:27:36 +0000.445272][707e] SetGraphLoop: SetGraphLoop 1
[010:081] [2022-08-06 14:27:36 +0000.445332][707e]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[010:081] [2022-08-06 14:27:36 +0000.446025][707e]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[010:085] [2022-08-06 14:27:36 +0000.449403][707e]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[010:086] [2022-08-06 14:27:36 +0000.450675][707e]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[010:088] [2022-08-06 14:27:36 +0000.452428][1254] NO get frame from decoder
[010:088] [2022-08-06 14:27:36 +0000.452535][126d] Start:
[010:088] [2022-08-06 14:27:36 +0000.452734][126b] operator(): video render
started.
[010:088] [2022-08-06 14:27:36 +0000.452822][126b] DriveRender working... (1/200)
[010:088] [2022-08-06 14:27:36 +0000.452927][126d] Start:
[010:089] [2022-08-06 14:27:36 +0000.453039][126d] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[010:089] [2022-08-06 14:27:36 +0000.453114][126d] Reset: history total size: 98
[010:089] [2022-08-06 14:27:36 +0000.453144][126d] DeviceStart:
audioDevice_:0x7709b14000
[010:089] [2022-08-06 14:27:36 +0000.453167][126d] DeviceStart: time profile
playout init before
[010:089] [2022-08-06 14:27:36 +0000.453195][126d] DeviceStart: time profile
playout init end
[010:089] [2022-08-06 14:27:36 +0000.453233][126d] OpenSlesOutput:Start playout

[010:089] [2022-08-06 14:27:36 +0000.453607][126b] Warning(video_render.cc:390): No


picture to display (1/50)
[010:090] [2022-08-06 14:27:36 +0000.455014][126d] Create the opensl output player.
streamtype before:0

[010:091] [2022-08-06 14:27:36 +0000.455055][126d] Create the opensl output player.


streamtype after:3

[010:094] [2022-08-06 14:27:36 +0000.458826][1254] NO get frame from decoder


[010:100] [2022-08-06 14:27:36 +0000.464338][1254] NO get frame from decoder
[010:103] [2022-08-06 14:27:36 +0000.467879][1254] NO get frame from decoder
[010:113] [2022-08-06 14:27:36 +0000.477642][1254] NO get frame from decoder
[010:118] [2022-08-06 14:27:36 +0000.482703][126d] Enqueue opensl buffer size:1764
[010:141] [2022-08-06 14:27:36 +0000.505239][1203] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:141] [2022-08-06 14:27:36 +0000.505376][1203] _deviceSampleRate:48000

[010:141] [2022-08-06 14:27:36 +0000.506026][1202] Run AGC when audioType = 0


[010:156] [2022-08-06 14:27:36 +0000.520230][126d] DeviceStart: time profile
playout all end
[010:156] [2022-08-06 14:27:36 +0000.520321][126d] operator(): Audio playback
started.
[010:156] [2022-08-06 14:27:36 +0000.520385][126d] operator(): Started now!
[010:156] [2022-08-06 14:27:36 +0000.520495][1270]
PlayerSimpleBufferQueueCallbackHandler function
[010:156] [2022-08-06 14:27:36 +0000.520575][1270] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[010:156] [2022-08-06 14:27:36 +0000.520601][1270]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[010:156] [2022-08-06 14:27:36 +0000.520408][126e] Pull audio failed.(wait video!)
[010:160] [2022-08-06 14:27:36 +0000.524362][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:160] [2022-08-06 14:27:36 +0000.525007][126e] Pull audio failed.(wait video!)
[010:161] [2022-08-06 14:27:36 +0000.525039][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:161] [2022-08-06 14:27:36 +0000.525668][126e] Pull audio failed.(wait video!)
[010:161] [2022-08-06 14:27:36 +0000.525726][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:164] [2022-08-06 14:27:36 +0000.528976][126e] Pull audio failed.(wait video!)
[010:165] [2022-08-06 14:27:36 +0000.529067][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:165] [2022-08-06 14:27:36 +0000.529681][126e] Pull audio failed.(wait video!)
[010:165] [2022-08-06 14:27:36 +0000.529733][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:165] [2022-08-06 14:27:36 +0000.529929][126f] Error(video_source.cc:430): wait
decoder a frame: 0
[010:173] [2022-08-06 14:27:36 +0000.537185][126e] Pull audio failed.(wait video!)
[010:173] [2022-08-06 14:27:36 +0000.537246][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:174] [2022-08-06 14:27:36 +0000.538206][126e] Pull audio failed.(wait video!)
[010:176] [2022-08-06 14:27:36 +0000.540538][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:179] [2022-08-06 14:27:36 +0000.543213][126e] Pull audio failed.(wait video!)
[010:179] [2022-08-06 14:27:36 +0000.543297][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:180] [2022-08-06 14:27:36 +0000.544576][126e] Pull audio failed.(wait video!)
[010:180] [2022-08-06 14:27:36 +0000.544632][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:181] [2022-08-06 14:27:36 +0000.545636][126e] Pull audio failed.(wait video!)
[010:181] [2022-08-06 14:27:36 +0000.545685][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:182] [2022-08-06 14:27:36 +0000.547011][126e] Pull audio failed.(wait video!)
[010:183] [2022-08-06 14:27:36 +0000.547073][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:184] [2022-08-06 14:27:36 +0000.548562][126e] Pull audio failed.(wait video!)
[010:184] [2022-08-06 14:27:36 +0000.548640][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:185] [2022-08-06 14:27:36 +0000.549813][126e] Pull audio failed.(wait video!)
[010:185] [2022-08-06 14:27:36 +0000.549887][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:186] [2022-08-06 14:27:36 +0000.550961][126e] Pull audio failed.(wait video!)
[010:187] [2022-08-06 14:27:36 +0000.551040][126e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:187] [2022-08-06 14:27:36 +0000.551191][126f] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[010:190] [2022-08-06 14:27:36 +0000.554304][126e] audio_frame_list_ empty
[010:190] [2022-08-06 14:27:36 +0000.554351][126f] OnVideoFrameReady(1/200)
[010:190] [2022-08-06 14:27:36 +0000.554531][126b] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[010:192] [2022-08-06 14:27:36 +0000.556661][126b] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:499245194
[010:203] [2022-08-06 14:27:36 +0000.567964][126b] lipsync_debug: render a video
frame
[010:204] [2022-08-06 14:27:36 +0000.568085][126b] lipsync_debug: First video frame
rendering.
[010:211] [2022-08-06 14:27:36 +0000.575831][126f]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[010:215] [2022-08-06 14:27:36 +0000.579469][126b]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:24 timeDelta:23 last
video ts:900 frame->pts:3060 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[010:215] [2022-08-06 14:27:36 +0000.579643][126b] lipsync_debug: tsDelta -
timeDelta = 1
[010:215] [2022-08-06 14:27:36 +0000.579714][126b] lipsync_debug:remaining time:10
tsDelta - timeDelta:1
[010:215] [2022-08-06 14:27:36 +0000.579813][126b] lipsync_debug:result remaining
time:1
[010:217] [2022-08-06 14:27:36 +0000.581771][126b] lipsync_debug:result remaining
time:0
[010:217] [2022-08-06 14:27:36 +0000.581821][126b] dynamic updated lipsync delay:0
[010:373] [2022-08-06 14:27:36 +0000.737490][1202] haveEnoughProcessedData
internalAudioStream.length: 0
[010:390] [2022-08-06 14:27:36 +0000.754343][126e] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[010:390] [2022-08-06 14:27:36 +0000.754395][126e] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[010:390] [2022-08-06 14:27:36 +0000.754577][126d] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[010:390] [2022-08-06 14:27:36 +0000.754628][126e] audio frame wait video
frame.last_video_timestamp:102 last_audio_timestamp:207.937
[010:390] [2022-08-06 14:27:36 +0000.754719][126d] The audio playback speed:100
(1/100)
[010:390] [2022-08-06 14:27:36 +0000.754770][126d] lipsync_debug: The current
played audio timestamp is:0(1/50)
[010:390] [2022-08-06 14:27:36 +0000.754808][126d] First audio frame rendering
[010:461] [2022-08-06 14:27:36 +0000.825943][126f] video frame wait audio frame:
last_video_timestamp:405 last_audio_timestamp:277.914
[010:850] [2022-08-06 14:27:37 +0000.214809][126b] lipsync_debug:displaying video
ts:60120 The current displayed video timestamp is:499245852
[011:156] [2022-08-06 14:27:37 +0000.520850][126d] do work DoLipsync!
[011:156] [2022-08-06 14:27:37 +0000.520916][126d] total delay:291 videoTsMS:966
audioTsMS:675 diff:291
[011:156] [2022-08-06 14:27:37 +0000.520936][126d] Set the lipsync delay:291
[011:238] [2022-08-06 14:27:37 +0000.602819][1270]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[011:340] [2022-08-06 14:27:37 +0000.704250][126f] Error(video_source.cc:430): wait
decoder a frame: 0
[011:595] [2022-08-06 14:27:37 +0000.960024][707e]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[011:596] [2022-08-06 14:27:37 +0000.960728][126d] Stop:
[011:596] [2022-08-06 14:27:37 +0000.960897][126b] operator(): Video Render
stopped.
[011:596] [2022-08-06 14:27:37 +0000.961004][126d] Stop:
[011:597] [2022-08-06 14:27:37 +0000.961169][126d] DeviceStop:
audioDevice_:0x7709b14000
[011:597] [2022-08-06 14:27:37 +0000.961214][126d] OpenSlesOutput:Stop playout

[011:603] [2022-08-06 14:27:37 +0000.969269][126d] DeviceStop: Done


[011:605] [2022-08-06 14:27:37 +0000.969397][126d] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[011:605] [2022-08-06 14:27:37 +0000.969578][126d] operator(): Stop now!
[011:783] [2022-08-06 14:27:38 +0000.147588][709b]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[011:783] [2022-08-06 14:27:38 +0000.147928][709b] ~MediaFilterCamera
time:499246785 enter.

[011:783] [2022-08-06 14:27:38 +0000.147986][709b] StopPullFrameAndWriteMp4


time:499246785 enter.

[011:789] [2022-08-06 14:27:38 +0000.153892][11fd] stop recording


[011:790] [2022-08-06 14:27:38 +0000.154104][11fd] we have stopped recording before
[011:790] [2022-08-06 14:27:38 +0000.154803][709b] StopPullFrameAndWriteMp4 leave.
expire time = 7 ms

[011:791] [2022-08-06 14:27:38 +0000.155751][709b] DestroyPipelineAndFilters


time:499246793 enter.

[011:791] [2022-08-06 14:27:38 +0000.155833][709b] DestroyPipelineAndFilters


leave. expire time = 0 ms

[011:791] [2022-08-06 14:27:38 +0000.155919][709b] AppDeviceManagerStopMic

[011:791] [2022-08-06 14:27:38 +0000.156029][709b] AppDeviceManagerStopMic::mic


status is on
[011:792] [2022-08-06 14:27:38 +0000.156080][709b] Try to stop webrtc device.

[011:793] [2022-08-06 14:27:38 +0000.157219][709b] Set record state to


stopped.threadID:28827

[011:839] [2022-08-06 14:27:38 +0000.203303][709b] Try to destory the


recorder.threadID:28827

[012:079] [2022-08-06 14:27:38 +0000.443577][709b] DestroyAudioRecorder:


[012:079] [2022-08-06 14:27:38 +0000.444008][709b] Cleanup the buffer queue in the
recorder.
[012:080] [2022-08-06 14:27:38 +0000.444129][709b] Destroy the recorder.

[012:084] [2022-08-06 14:27:38 +0000.448983][709b] StopRecording finished.

[012:085] [2022-08-06 14:27:38 +0000.449828][709b] The stop recording success.

[012:085] [2022-08-06 14:27:38 +0000.449920][709b]


AudioDeviceDataHandler::StopMicProcess

[012:101] [2022-08-06 14:27:38 +0000.465696][709b] AppDeviceManager stop.

[012:101] [2022-08-06 14:27:38 +0000.465867][709b] Rlease the webrtc device object.

[012:102] [2022-08-06 14:27:38 +0000.466719][709b] OpenSlesInput destruct.

[012:102] [2022-08-06 14:27:38 +0000.466812][709b] OpenSlesOutput destruct.

[012:103] [2022-08-06 14:27:38 +0000.468012][709b] EventDispatchServerScope


destruct
[012:104] [2022-08-06 14:27:38 +0000.468088][709b]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[012:104] [2022-08-06 14:27:38 +0000.468184][709b] ~AudioDeviceDataHandler

[012:110] [2022-08-06 14:27:38 +0000.474763][709b] AppDeviceManagerDestruct.

[012:110] [2022-08-06 14:27:38 +0000.474848][709b] ~AppDeviceManager:


[012:110] [2022-08-06 14:27:38 +0000.474978][709b] ~CpuOverloadDetect
time:499247112 enter.

[012:111] [2022-08-06 14:27:38 +0000.475971][709b] ~CpuOverloadDetect leave.


expire time = 1 ms

[012:115] [2022-08-06 14:27:38 +0000.479177][709b] Destruct BeautifyReader begin...


[012:115] [2022-08-06 14:27:38 +0000.479291][709b] Destruct BeautifyReader done.
[012:115] [2022-08-06 14:27:38 +0000.479352][709b] ~MediaFilterCamera leave.
expire time = 332 ms

[012:115] [2022-08-06 14:27:38 +0000.479610][709b] ~GLESContext:


[012:119] [2022-08-06 14:27:38 +0000.483937][709b] GLESContext destruct finish.
[012:120] [2022-08-06 14:27:38 +0000.484046][709b] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[012:120] [2022-08-06 14:27:38 +0000.485009][709b] global uninited!
[063:222] [2022-08-06 14:28:29 +0000.586408][709b]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[063:222] [2022-08-06 14:28:29 +0000.586598][709b] MediaFilterCamera
[063:222] [2022-08-06 14:28:29 +0000.586627][709b] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[063:222] [2022-08-06 14:28:29 +0000.586828][709b] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[063:222] [2022-08-06 14:28:29 +0000.586867][709b] Recording session using default
bitrate support by app:31457280
[063:222] [2022-08-06 14:28:29 +0000.586947][16b3] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x771a3e1ec0
[063:223] [2022-08-06 14:28:29 +0000.587466][16b3] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[063:223] [2022-08-06 14:28:29 +0000.587777][709b] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[063:224] [2022-08-06 14:28:29 +0000.588469][709b] Error(ini.cc:191): Open the file
failed. error:2
[063:224] [2022-08-06 14:28:29 +0000.588501][709b]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[063:224] [2022-08-06 14:28:29 +0000.588530][709b] The device model: m2012k11ag
usingSoftwareAEC value: 0
[063:232] [2022-08-06 14:28:29 +0000.596296][709b] Error(ini.cc:191): Open the file
failed. error:2
[063:232] [2022-08-06 14:28:29 +0000.596401][709b]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[063:232] [2022-08-06 14:28:29 +0000.596430][709b] The device model: m2012k11ag
usingHardwareAEC value: 0
[063:232] [2022-08-06 14:28:29 +0000.596449][709b] The machine device: m2012k11ag
usingHardwareAEC value: 0
[063:232] [2022-08-06 14:28:29 +0000.596467][709b] Using Default AEC type: software
AEC
[063:233] [2022-08-06 14:28:29 +0000.597243][709b] The device model: m2012k11ag
enum value: 0
[063:233] [2022-08-06 14:28:29 +0000.598024][709b] GetMachineModel is M2012K11AG
[063:234] [2022-08-06 14:28:29 +0000.598092][709b] GetMachineInfo: M2012K11AG
[063:234] [2022-08-06 14:28:29 +0000.598111][709b] Construct BeautifyReader
begin...
[063:234] [2022-08-06 14:28:29 +0000.598128][709b] dumpStickerRgba:0
dumpStickerYuv:0
[063:234] [2022-08-06 14:28:29 +0000.598143][709b] Construct BeautifyReader done.
[063:239] [2022-08-06 14:28:29 +0000.603386][709b] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[063:239] [2022-08-06 14:28:29 +0000.603447][709b] AppDeviceManager telnet server
for statistics started......
[063:239] [2022-08-06 14:28:29 +0000.603554][16b9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77890d4aa0
[063:256] [2022-08-06 14:28:29 +0000.620356][709b] CpuOverloadDetect time:499298258
enter.

[063:256] [2022-08-06 14:28:29 +0000.620500][709b] CpuOverloadDetect leave. expire


time = 0 ms
[063:257] [2022-08-06 14:28:29 +0000.621225][709b] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[063:257] [2022-08-06 14:28:29 +0000.621256][709b] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[063:257] [2022-08-06 14:28:29 +0000.621427][709b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[063:257] [2022-08-06 14:28:29 +0000.621863][709b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[063:258] [2022-08-06 14:28:29 +0000.622122][709b] CreatePlatformSpecificObjects:
[063:258] [2022-08-06 14:28:29 +0000.622191][709b] audio device use opensle input
and opensl output
[063:258] [2022-08-06 14:28:29 +0000.622216][709b] Create OpenSLES output module
with java VM support.

[063:258] [2022-08-06 14:28:29 +0000.622459][16c0] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x771a588400
[063:261] [2022-08-06 14:28:29 +0000.625595][709b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[063:261] [2022-08-06 14:28:29 +0000.625903][709b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[063:262] [2022-08-06 14:28:29 +0000.626229][709b] Create OpenSLES output module
with buffer num:1

[063:262] [2022-08-06 14:28:29 +0000.626365][709b] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[063:262] [2022-08-06 14:28:29 +0000.626765][709b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[063:263] [2022-08-06 14:28:29 +0000.627125][709b] Create OpenSLES input module
with java VM support.

[063:263] [2022-08-06 14:28:29 +0000.627164][709b] Create OpenSLES input module


with buffer num:1

[063:263] [2022-08-06 14:28:29 +0000.627190][709b] Error(trace.cc:40): Init the


output and input for audio device template.
[063:263] [2022-08-06 14:28:29 +0000.627206][709b] Init the output device.

[063:263] [2022-08-06 14:28:29 +0000.627221][709b] Init the opensl input.


[063:263] [2022-08-06 14:28:29 +0000.627237][709b] AppDeviceManager get setting
samplerate: 0
[063:265] [2022-08-06 14:28:29 +0000.629240][709b] The device model: m2012k11ag
enum value: 0
[063:265] [2022-08-06 14:28:29 +0000.629666][709b] The device model: m2012k11ag
enum value: 0
[063:265] [2022-08-06 14:28:29 +0000.629703][709b] Set the sample rate to be:48000

[063:265] [2022-08-06 14:28:29 +0000.629723][709b] Enable the recording stereo:0


[063:265] [2022-08-06 14:28:29 +0000.629741][709b] Set the playout as stereo:1
[063:265] [2022-08-06 14:28:29 +0000.629756][709b] Init the microphone.
[063:265] [2022-08-06 14:28:29 +0000.629778][709b] Update the recording sample rate
to be: 48000
[063:265] [2022-08-06 14:28:29 +0000.629796][709b] Init the speaker.
[063:265] [2022-08-06 14:28:29 +0000.629822][709b] Low latency buffer size:144 low
sample rate:48000
[063:265] [2022-08-06 14:28:29 +0000.630027][709b] Using 1 x 10ms for an audio
frame.

[063:269] [2022-08-06 14:28:29 +0000.633507][709b] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[063:269] [2022-08-06 14:28:29 +0000.633612][709b] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[063:269] [2022-08-06 14:28:29 +0000.633648][709b] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[063:281] [2022-08-06 14:28:29 +0000.645990][709b] The device model:m2012k11ag

[063:282] [2022-08-06 14:28:29 +0000.646311][709b] speaker output factor:100


defaultFactor: 100

[063:282] [2022-08-06 14:28:29 +0000.646334][709b] headset output factor:100


defaultFactor: 100

[063:282] [2022-08-06 14:28:29 +0000.646925][709b] AppDeviceManagerStart finished.


[063:282] [2022-08-06 14:28:29 +0000.646960][709b] AppDeviceManagerStartMic::mic
status is off
[063:282] [2022-08-06 14:28:29 +0000.647026][709b] AppDeviceManagerStartMic update
aec type: 2

[063:283] [2022-08-06 14:28:29 +0000.647043][709b] AppDeviceManagerStartMic update


voiceChangeMode: 4

[063:283] [2022-08-06 14:28:29 +0000.647060][709b]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[063:283] [2022-08-06 14:28:29 +0000.647075][709b]
AudioDeviceDataHandler::StartMicProcess

[063:284] [2022-08-06 14:28:29 +0000.648434][709b] Try to start webrtc recording


device.

[063:284] [2022-08-06 14:28:29 +0000.648480][709b] StartRecording. threadID:28827

[063:284] [2022-08-06 14:28:29 +0000.648522][709b] default mode: Set the recording


mode to voice communication to enable HW AEC .

[063:284] [2022-08-06 14:28:29 +0000.648544][709b] Set the recording mode before


getSetting: 4
[063:284] [2022-08-06 14:28:29 +0000.648564][709b] Set the recording mode after
getSetting: 1
[063:287] [2022-08-06 14:28:29 +0000.651368][16c6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[063:412] [2022-08-06 14:28:29 +0000.776261][709b] StartRecording finished.

[063:412] [2022-08-06 14:28:29 +0000.776358][709b] audio: start the audio mic


checker timer.

[063:413] [2022-08-06 14:28:29 +0000.777548][709b] machine model :poco


[063:413] [2022-08-06 14:28:29 +0000.777590][709b] Support this machine model :poco
[063:413] [2022-08-06 14:28:29 +0000.777606][709b] global inited! current sdk
version: 07-20-936c45f
[063:499] [2022-08-06 14:28:29 +0000.863131][16c6] haveEnoughProcessedData
internalAudioStream.length: 0
[063:703] [2022-08-06 14:28:30 +0000.67541][f39]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[063:703] [2022-08-06 14:28:30 +0000.67873][16b4] MediaFilterCamera, recording file
context:0x77f8805b00 input texture:12
[063:703] [2022-08-06 14:28:30 +0000.67920][16b4] GLESContext:
[063:703] [2022-08-06 14:28:30 +0000.67962][16b4] The result of eglGetDisplay is:
0xb40000780862bf00
[063:704] [2022-08-06 14:28:30 +0000.68515][16b4] The result of creation:
0x771a35f380
[063:704] [2022-08-06 14:28:30 +0000.68593][16b4] The result of
eglCreatePbufferSurface is: 0x771a35f780
[063:704] [2022-08-06 14:28:30 +0000.68678][f39]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x77f8805b00 input_texture: 12
[063:842] [2022-08-06 14:28:30 +0000.206155][16c6] Run AGC when audioType = 0
[063:842] [2022-08-06 14:28:30 +0000.206246][16c6]
AudioDeviceDataHandler::MixAndSendOutFrame
[065:222] [2022-08-06 14:28:31 +0000.586319][16c6] haveEnoughProcessedData
internalAudioStream.length: 20
[065:393] [2022-08-06 14:28:31 +0000.757935][707e]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[065:394] [2022-08-06 14:28:31 +0000.758106][707e] StopPreView: Have Stopped,
operation cancel
[065:394] [2022-08-06 14:28:31 +0000.758147][707e] Stop:
[065:394] [2022-08-06 14:28:31 +0000.758338][126d] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[065:394] [2022-08-06 14:28:31 +0000.758833][707e] DeviceRelease:
audioDevice_:0x7709b14000
[065:394] [2022-08-06 14:28:31 +0000.758876][707e] OpenSlesOutput:Stop playout

[065:394] [2022-08-06 14:28:31 +0000.758941][707e] DeviceRelease: Release the


webrtc device object.
[065:395] [2022-08-06 14:28:31 +0000.759439][707e] OpenSlesOutput destruct.

[065:395] [2022-08-06 14:28:31 +0000.759532][707e] DeviceRelease: Done


[065:395] [2022-08-06 14:28:31 +0000.759760][707e] Stop:
[065:396] [2022-08-06 14:28:31 +0000.760155][126b] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[065:399] [2022-08-06 14:28:31 +0000.763871][707e] global uninited!
[065:400] [2022-08-06 14:28:31 +0000.764865][707e]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[065:400] [2022-08-06 14:28:31 +0000.764978][707e] ~MediaFilterGraph:
MediaFilterGraph destruct
[065:400] [2022-08-06 14:28:31 +0000.765004][707e] RemoveVideoBackGroud: hava not
add video backgroud
[065:401] [2022-08-06 14:28:31 +0000.765039][707e] UnbindInputFilter 0x7709830158
this 0x77098632a0
[065:401] [2022-08-06 14:28:31 +0000.765070][707e] ClearAllSource: remove source
filter, sourceid: 0x77099a4080
[065:401] [2022-08-06 14:28:31 +0000.765089][707e] DestoryDecoderByVideoSource
time:499300403 enter.

[065:401] [2022-08-06 14:28:31 +0000.765114][707e] ~VideoBindDecoder time:499300403


enter.

[065:402] [2022-08-06 14:28:31 +0000.766129][707e] CleanUp time:499300404 enter.

[065:405] [2022-08-06 14:28:31 +0000.769833][707e] CleanUp leave. expire time = 3


ms

[065:405] [2022-08-06 14:28:31 +0000.769891][707e] CleanUp time:499300407 enter.

[065:407] [2022-08-06 14:28:31 +0000.771726][707e] CleanUp leave. expire time = 2


ms

[065:408] [2022-08-06 14:28:31 +0000.772274][707e] ~VideoBindDecoder leave. expire


time = 7 ms

[065:408] [2022-08-06 14:28:31 +0000.772338][707e] DestoryDecoderByVideoSource


leave. expire time = 7 ms

[065:408] [2022-08-06 14:28:31 +0000.772375][707e] UnbindInputFilter 0x7709755f18


this 0x7709830158
[065:408] [2022-08-06 14:28:31 +0000.772413][707e] UnbindInputFilter 0x7709755e58
this 0x7709755f18
[065:408] [2022-08-06 14:28:31 +0000.772452][707e] UnbindInputFilter 0x77099a42a0
this 0x7709755e58
[065:408] [2022-08-06 14:28:31 +0000.772503][707e] UnbindInputFilter 0x7709830098
this 0x7709830218
[065:408] [2022-08-06 14:28:31 +0000.772535][707e] UnbindInputFilter 0x7709755fd8
this 0x7709830098
[065:408] [2022-08-06 14:28:31 +0000.772565][707e] UnbindInputFilter 0x77099a42a0
this 0x7709755fd8
[065:408] [2022-08-06 14:28:31 +0000.772690][707e] ~GLESContext:
[065:409] [2022-08-06 14:28:31 +0000.773161][707e] GLESContext destruct finish.
[065:409] [2022-08-06 14:28:31 +0000.773192][707e] filter: filter pipeline destroy
this: 0x7709863200
[065:409] [2022-08-06 14:28:31 +0000.773552][707e]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[065:410] [2022-08-06 14:28:31 +0000.774121][707e] machine model :poco
[065:410] [2022-08-06 14:28:31 +0000.774152][707e] Support this machine model :poco
[065:410] [2022-08-06 14:28:31 +0000.774172][707e] global inited! current sdk
version: 07-20-936c45f
[065:410] [2022-08-06 14:28:31 +0000.774293][707e] filter: filter pipeline
construtc this: 0x7709863200
[065:410] [2022-08-06 14:28:31 +0000.774314][707e] MediaFilterGraph:
MediaFilterGraph construct
[065:410] [2022-08-06 14:28:31 +0000.774330][707e] GLESContext:
[065:410] [2022-08-06 14:28:31 +0000.774358][707e] The result of eglGetDisplay is:
0xb40000780862bf00
[065:411] [2022-08-06 14:28:31 +0000.775152][707e] The result of creation:
0x771a0ec600
[065:411] [2022-08-06 14:28:31 +0000.775221][707e] The result of
eglCreatePbufferSurface is: 0x771a1e2c00
[065:411] [2022-08-06 14:28:31 +0000.775298][707e] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4
[065:411] [2022-08-06 14:28:31 +0000.775321][707e] The source 0 speed:1
[065:411] [2022-08-06 14:28:31 +0000.775345][707e] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4,
delay: 0
[065:411] [2022-08-06 14:28:31 +0000.775366][707e] CreateDecoderByVideoSource
time:499300413 enter.

[065:411] [2022-08-06 14:28:31 +0000.775489][707e] running_decoder_count:0max


count:2
[065:411] [2022-08-06 14:28:31 +0000.775533][707e] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x771a0eb800
[065:412] [2022-08-06 14:28:31 +0000.776093][173c] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x771a49d000] Current FFmpeg version git-2021-06-16-
97cea6f

[065:461] [2022-08-06 14:28:31 +0000.825424][173c] OnStreamInfoFound: video


duration_: 6831
[065:464] [2022-08-06 14:28:31 +0000.828877][707e] start decoder
[065:464] [2022-08-06 14:28:31 +0000.828930][707e] CreateDecoderByVideoSource
leave. expire time = 53 ms

[065:464] [2022-08-06 14:28:31 +0000.828961][707e] BindInputFilter 0x77099a42a0


this 0x77096b7118
[065:464] [2022-08-06 14:28:31 +0000.828983][707e] BindInputFilter 0x77096b7118
this 0x77096b71d8
[065:464] [2022-08-06 14:28:31 +0000.829003][707e] BindInputFilter 0x77099a42a0
this 0x77096b7598
[065:464] [2022-08-06 14:28:31 +0000.829022][707e] BindInputFilter 0x77096b7598
this 0x77096b7658
[065:465] [2022-08-06 14:28:31 +0000.829035][707e] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4
[065:465] [2022-08-06 14:28:31 +0000.829056][707e] BindInputFilter 0x77096b71d8
this 0x77096b7718
[065:465] [2022-08-06 14:28:31 +0000.829076][707e] BindInputFilter 0x77096b7718
this 0x77098632a0
[065:465] [2022-08-06 14:28:31 +0000.829094][707e] BindInputFilter 0x77096b7658
this 0x77096b77d8
[065:465] [2022-08-06 14:28:31 +0000.829115][707e] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_499237498.mp4
[065:465] [2022-08-06 14:28:31 +0000.829891][707e]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[065:465] [2022-08-06 14:28:31 +0000.830020][707e] MediaComposeFile time:499300467
enter.

[065:466] [2022-08-06 14:28:31 +0000.830100][707e] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[065:466] [2022-08-06 14:28:31 +0000.830187][707e] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[065:466] [2022-08-06 14:28:31 +0000.830198][173d] NO get frame from decoder
[065:466] [2022-08-06 14:28:31 +0000.830229][707e] Recording session using default
bitrate support by app:31457280
[065:466] [2022-08-06 14:28:31 +0000.830395][1747] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x76eef5fb40
[065:466] [2022-08-06 14:28:31 +0000.830427][1747] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[065:466] [2022-08-06 14:28:31 +0000.830503][707e] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[065:466] [2022-08-06 14:28:31 +0000.830588][707e] GetPipeline:
-----------------------------------------
[065:466] [2022-08-06 14:28:31 +0000.830606][707e] GetPipeline: source:
0x77099a4080
[065:466] [2022-08-06 14:28:31 +0000.830621][707e] GetPipeline: filter: NULLFilter
[065:466] [2022-08-06 14:28:31 +0000.830634][707e] GetPipeline: filter: NULLFilter
[065:466] [2022-08-06 14:28:31 +0000.830648][707e] GetPipeline: filter: NULLFilter
[065:466] [2022-08-06 14:28:31 +0000.830661][707e] GetPipeline: audio filter:
AuidoNULLFilter
[065:466] [2022-08-06 14:28:31 +0000.830674][707e] GetPipeline: audio filter:
AuidoNULLFilter
[065:466] [2022-08-06 14:28:31 +0000.830687][707e] GetPipeline: audio filter:
AudioNUllFilter
[065:466] [2022-08-06 14:28:31 +0000.830701][707e] GetPipeline:
------------------------------------------
[065:466] [2022-08-06 14:28:31 +0000.830717][707e] filter: filter pipeline2 update
pattern: 2
[065:466] [2022-08-06 14:28:31 +0000.831031][707e] MediaComposeFile leave. expire
time = 2 ms

[065:467] [2022-08-06 14:28:31 +0000.831280][707e] machine model :poco


[065:467] [2022-08-06 14:28:31 +0000.831298][707e] Support this machine model :poco
[065:467] [2022-08-06 14:28:31 +0000.831312][707e] global inited! current sdk
version: 07-20-936c45f
[065:467] [2022-08-06 14:28:31 +0000.831636][173d] NO get frame from decoder
[065:468] [2022-08-06 14:28:31 +0000.832592][173d] NO get frame from decoder
[065:469] [2022-08-06 14:28:31 +0000.833351][173d] NO get frame from decoder
[065:469] [2022-08-06 14:28:31 +0000.834011][173d] NO get frame from decoder
[065:470] [2022-08-06 14:28:31 +0000.834601][173d] NO get frame from decoder
[065:473] [2022-08-06 14:28:31 +0000.837670][173d] NO get frame from decoder
[065:475] [2022-08-06 14:28:31 +0000.839923][173d] NO get frame from decoder
[065:484] [2022-08-06 14:28:31 +0000.848239][707e]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[065:484] [2022-08-06 14:28:31 +0000.848354][707e] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 286
[065:484] [2022-08-06 14:28:31 +0000.848845][707e]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[065:484] [2022-08-06 14:28:31 +0000.848890][707e] BeginCompose: BeginCompose, is
composing 0
[065:484] [2022-08-06 14:28:31 +0000.848970][1747] start recording, file path:
[065:485] [2022-08-06 14:28:31 +0000.849121][1747] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 286 audio_timescale:44100
video_timescale:90000
[065:485] [2022-08-06 14:28:31 +0000.849158][1747] 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
[065:485] [2022-08-06 14:28:31 +0000.849189][1747] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 286
[065:485] [2022-08-06 14:28:31 +0000.849230][1747] fd_open successed
handle:0xb4000078b92790b0
[065:485] [2022-08-06 14:28:31 +0000.849400][1747] create mp4 file:323
m_fileHandle: 0x77817dc800
[065:485] [2022-08-06 14:28:31 +0000.849430][1747] MP4 file: is opened successfully
[065:485] [2022-08-06 14:28:31 +0000.849446][1747] setupMediaProcessers:
[065:485] [2022-08-06 14:28:31 +0000.849461][1747]
RecordingSessionInternalSimple:setup media processers.
[065:485] [2022-08-06 14:28:31 +0000.849504][1747] construct AAC encoder
[065:485] [2022-08-06 14:28:31 +0000.849733][1747] H264Encoder creating:
ultrafast012323
[065:485] [2022-08-06 14:28:31 +0000.849759][1747] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[065:485] [2022-08-06 14:28:31 +0000.850009][1747] H264Encode::GetMachineModel is
M2012K11AG
[065:486] [2022-08-06 14:28:31 +0000.850081][1747] H264Encoder machine_mode
is:M2012K11AG
[065:486] [2022-08-06 14:28:31 +0000.850098][1747] H264Encode::machine size :9
machine_mode:M2012K11AG
[065:486] [2022-08-06 14:28:31 +0000.850118][1747] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[065:486] [2022-08-06 14:28:31 +0000.850165][1747] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[065:486] [2022-08-06 14:28:31 +0000.850179][1747] setupCompressionSession:
[065:486] [2022-08-06 14:28:31 +0000.850194][1747] H264Encode::creating hareware
Encoder
[065:486] [2022-08-06 14:28:31 +0000.850208][1747] AndroidHwAvcEncoder
time:499300488 enter.

[065:486] [2022-08-06 14:28:31 +0000.850348][1747] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000078b91a9540 address:0x76e62eb760
[065:486] [2022-08-06 14:28:31 +0000.850427][1747] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[065:486] [2022-08-06 14:28:31 +0000.850453][1747] The video avc hw codec address
is 0x77f881fac0
[065:486] [2022-08-06 14:28:31 +0000.850497][1747] AndroidHwAvcEncoder leave.
expire time = 0 ms

[065:486] [2022-08-06 14:28:31 +0000.850537][1747] RegisterEncodeCompleteCallback


time:499300488 enter.

[065:486] [2022-08-06 14:28:31 +0000.850600][1747] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[065:486] [2022-08-06 14:28:31 +0000.850630][1747] InitEncode time:499300488


enter.

[065:486] [2022-08-06 14:28:31 +0000.850691][1747] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[065:486] [2022-08-06 14:28:31 +0000.850719][1747] Create time:499300488 enter.

[065:486] [2022-08-06 14:28:31 +0000.850752][1747] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[065:486] [2022-08-06 14:28:31 +0000.850784][1747]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x77f89d2e80
[065:486] [2022-08-06 14:28:31 +0000.850928][1747]
supported_type:image/vnd.android.heic
[065:486] [2022-08-06 14:28:31 +0000.850965][1747] supported_type:video/avc
[065:486] [2022-08-06 14:28:31 +0000.850992][1747] name:OMX.qcom.video.encoder.avc
mime:video/avc
[065:487] [2022-08-06 14:28:31 +0000.851037][1747] hwCodecPrefix :OMX.qcom.
[065:487] [2022-08-06 14:28:31 +0000.851084][1747] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[065:487] [2022-08-06 14:28:31 +0000.851102][1747] mediacodec_createCodecByName
time:499300489 enter.

[065:487] [2022-08-06 14:28:31 +0000.851134][1747] WrapAndroidMediaCodec


time:499300489 enter.

[065:487] [2022-08-06 14:28:31 +0000.851225][1747] WrapAndroidMediaCodec leave.


expire time = 0 ms

[065:488] [2022-08-06 14:28:31 +0000.852697][174c] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x77f88b2a98
[065:530] [2022-08-06 14:28:31 +0000.894237][1747] mediacodec_createCodecByName
leave. expire time = 43 ms

[065:530] [2022-08-06 14:28:31 +0000.894358][1747] WrapAndroidMediaFromat


time:499300532 enter.

[065:530] [2022-08-06 14:28:31 +0000.894419][1747] WrapAndroidMediaFromat leave.


expire time = 0 ms

[065:577] [2022-08-06 14:28:31 +0000.942118][1747] Destroy time:499300579 enter.


[065:578] [2022-08-06 14:28:31 +0000.942188][1747] WrapAndroidMediaFromat::
Destroy
[065:578] [2022-08-06 14:28:31 +0000.942251][1747] Destroy leave. expire time = 1
ms

[065:578] [2022-08-06 14:28:31 +0000.942269][1747] ~WrapAndroidMediaFromat


time:499300580 enter.

[065:578] [2022-08-06 14:28:31 +0000.942285][1747] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[065:578] [2022-08-06 14:28:31 +0000.942301][1747] Create leave. expire time = 92


ms

[065:578] [2022-08-06 14:28:31 +0000.942316][1747] isSemiPlanarSupport


time:499300580 enter.

[065:578] [2022-08-06 14:28:31 +0000.942329][1747] H264Encoder isSemiPlanarSupport


[065:578] [2022-08-06 14:28:31 +0000.942345][1747] isSemiPlanarSupport leave.
expire time = 0 ms

[065:578] [2022-08-06 14:28:31 +0000.942408][1747] creat hw H264Encoder success,


isSemiPlanar:1
[065:578] [2022-08-06 14:28:31 +0000.942511][1747] InitEncode leave. expire time =
92 ms

[065:578] [2022-08-06 14:28:31 +0000.942528][1747] H264Encode::created Encoder


[065:578] [2022-08-06 14:28:31 +0000.942540][1747] H264Encode:: H264 encoder
created.
[065:578] [2022-08-06 14:28:31 +0000.942551][1747] H264 encoder created.
[065:578] [2022-08-06 14:28:31 +0000.942562][1747]
RecordingSessionInternalSimple:created avc encoder avc: 0x7781a92a40
[065:578] [2022-08-06 14:28:31 +0000.942574][1747] setOutput:
[065:578] [2022-08-06 14:28:31 +0000.942584][1747]
RecordingSessionInternalSimple:encoder set output to muxer!
[065:578] [2022-08-06 14:28:31 +0000.942595][1747] request a key frame
[065:578] [2022-08-06 14:28:31 +0000.942604][1747] H264Encode:: request a key frame
[065:580] [2022-08-06 14:28:31 +0000.944613][1747] setDisplayRotate :90
[065:580] [2022-08-06 14:28:31 +0000.944686][1747] 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
[065:584] [2022-08-06 14:28:31 +0000.948906][1748] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[065:586] [2022-08-06 14:28:31 +0000.950826][1748]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[065:740] [2022-08-06 14:28:32 +0000.104263][1747] setDisplayRotate :90
[065:740] [2022-08-06 14:28:32 +0000.104553][1747] 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
[065:744] [2022-08-06 14:28:32 +0000.108117][174c] add aac audio track with id:1
[065:744] [2022-08-06 14:28:32 +0000.108255][174c] audio start ts:0
[065:744] [2022-08-06 14:28:32 +0000.108314][174c] the audio frame has been written
into MP4 file
[065:750] [2022-08-06 14:28:32 +0000.114935][1748] h264 add frame header cdr flag
[065:751] [2022-08-06 14:28:32 +0000.115432][1748] h264 add frame header cdr flag
[065:752] [2022-08-06 14:28:32 +0000.116405][1748] Received key frame:10
[065:752] [2022-08-06 14:28:32 +0000.116449][1748] H264Encode:: get a sps pps
header!headerSize:32
[065:752] [2022-08-06 14:28:32 +0000.116521][174c] get the H.264 SPS parameter
[065:752] [2022-08-06 14:28:32 +0000.116694][174c] add video track with id:2
[065:753] [2022-08-06 14:28:32 +0000.117901][174c] get the H.264 PPS parameter
[065:755] [2022-08-06 14:28:32 +0000.120018][174c] get the H.264 IDR frame
[065:756] [2022-08-06 14:28:32 +0000.120127][174c] resss:true
[065:756] [2022-08-06 14:28:32 +0000.120163][174c] video start ts:10
[065:756] [2022-08-06 14:28:32 +0000.120269][174c] the video frame has been written
into MP4 file
[065:815] [2022-08-06 14:28:32 +0000.179431][174b] audio_frame_list_ empty
[065:838] [2022-08-06 14:28:32 +0000.202323][1748] DTS queue for
Generator:0x77f88b2cb8 504 533 566 601 634 668
[065:839] [2022-08-06 14:28:32 +0000.203489][16c6] Run AGC when audioType = 0
[065:884] [2022-08-06 14:28:32 +0000.248262][174a] Error(video_source.cc:430): wait
decoder a frame: 5
[065:934] [2022-08-06 14:28:32 +0000.298445][1748] Push an pts:1165 to dts queue.
[066:017] [2022-08-06 14:28:32 +0000.381886][1747] setDisplayRotate :90
[066:017] [2022-08-06 14:28:32 +0000.381929][1747] 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
[066:033] [2022-08-06 14:28:32 +0000.397199][174a] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3980 diff: 21
[066:070] [2022-08-06 14:28:32 +0000.435031][1748] last dts:1134 currentPts:1165
ppsOrSPS:0 queue length:9
[066:084] [2022-08-06 14:28:32 +0000.448657][1748] DTS queue for
Generator:0x77f88b2cb8 1335 1369 1400 1435 1470 1501
[066:168] [2022-08-06 14:28:32 +0000.532864][174b] audio_frame_list_ empty
[066:258] [2022-08-06 14:28:32 +0000.622857][1747] setDisplayRotate :90
[066:258] [2022-08-06 14:28:32 +0000.622934][1747] 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
[066:267] [2022-08-06 14:28:32 +0000.631560][1748] h264 add frame header cdr flag
[066:267] [2022-08-06 14:28:32 +0000.631805][1748] Received key frame:2004
[066:272] [2022-08-06 14:28:32 +0000.636518][174c] get the H.264 IDR frame
[066:280] [2022-08-06 14:28:32 +0000.644170][1748] DTS queue for
Generator:0x77f88b2cb8 2136 2168 2206 2236 2266 2302 2333
[066:282] [2022-08-06 14:28:32 +0000.646495][174a] Error(video_source.cc:430): wait
decoder a frame: 0
[066:315] [2022-08-06 14:28:32 +0000.679947][1748] Push an pts:2503 to dts queue.
[066:423] [2022-08-06 14:28:32 +0000.787386][1748] last dts:2469 currentPts:2503
ppsOrSPS:0 queue length:8
[066:523] [2022-08-06 14:28:32 +0000.887154][1748] DTS queue for
Generator:0x77f88b2cb8 2966 3000 3033 3068 3101 3133 3169
[066:536] [2022-08-06 14:28:32 +0000.900247][1748] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3267
[066:536] [2022-08-06 14:28:32 +0000.900317][1748] push video frame to H264
encoder. (100 frame for one log)

[066:536] [2022-08-06 14:28:32 +0000.900354][1748] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[066:536] [2022-08-06 14:28:32 +0000.900372][1748] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3267(100 frame for one
log)

[066:536] [2022-08-06 14:28:32 +0000.900398][1748] The input pts:3267 fps:30


[066:544] [2022-08-06 14:28:32 +0000.908502][174b] audio_frame_list_ empty
[066:637] [2022-08-06 14:28:33 +0000.1890][1747] setDisplayRotate :90
[066:637] [2022-08-06 14:28:33 +0000.1949][1747] 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
[066:649] [2022-08-06 14:28:33 +0000.13949][1748] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3133 pts:3133
[066:666] [2022-08-06 14:28:33 +0000.30228][1748] SendFrame
encodedImage._timeStamp:3169encodedImage->_length:58880
[066:679] [2022-08-06 14:28:33 +0000.43525][1748] H264Encode::H264SWEncoder get
callback, length:58752 type:1 nalType:1length:58748
[066:707] [2022-08-06 14:28:33 +0000.71276][174a] Error(video_source.cc:430): wait
decoder a frame: 0
[066:748] [2022-08-06 14:28:33 +0000.112818][1748] Push an pts:3836 to dts queue.
[066:789] [2022-08-06 14:28:33 +0000.153357][1748] DTS queue for
Generator:0x77f88b2cb8 3806 3836 3867 3902 3933 3967 4000
[066:797] [2022-08-06 14:28:33 +0000.161194][1748] last dts:3806 currentPts:3836
ppsOrSPS:0 queue length:8
[066:832] [2022-08-06 14:28:33 +0000.197006][1748] h264 add frame header cdr flag
[066:833] [2022-08-06 14:28:33 +0000.197224][1748] Received key frame:4000
[066:909] [2022-08-06 14:28:33 +0000.273048][174b] audio_frame_list_ empty
[066:923] [2022-08-06 14:28:33 +0000.287357][1747] setDisplayRotate :90
[066:923] [2022-08-06 14:28:33 +0000.287413][1747] 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
[066:930] [2022-08-06 14:28:33 +0000.294904][174c] get the H.264 IDR frame
[066:982] [2022-08-06 14:28:33 +0000.346121][16c6] haveEnoughProcessedData
internalAudioStream.length: 20
[067:043] [2022-08-06 14:28:33 +0000.407137][1748] DTS queue for
Generator:0x77f88b2cb8 4634 4667 4699 4735 4770 4800
[067:095] [2022-08-06 14:28:33 +0000.459826][1748] Push an pts:5166 to dts queue.
[067:122] [2022-08-06 14:28:33 +0000.486213][1747] setDisplayRotate :90
[067:122] [2022-08-06 14:28:33 +0000.486429][1747] 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
[067:125] [2022-08-06 14:28:33 +0000.489603][174a] Error(video_source.cc:430): wait
decoder a frame: 3
[067:276] [2022-08-06 14:28:33 +0000.640410][1747] setDisplayRotate :90
[067:276] [2022-08-06 14:28:33 +0000.640468][1747] 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
[067:287] [2022-08-06 14:28:33 +0000.651772][1748] last dts:5132 currentPts:5166
ppsOrSPS:0 queue length:6
[067:294] [2022-08-06 14:28:33 +0000.658969][174a] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4980 diff: 21
[067:323] [2022-08-06 14:28:33 +0000.687086][174b] FilterPipeline2::OnAudioFrame
pts 253848 last_audio_timestamp_ 5756.19
[067:356] [2022-08-06 14:28:33 +0000.720759][1748] DTS queue for
Generator:0x77f88b2cb8 5466 5499 5534 5566 5599 5630
[067:414] [2022-08-06 14:28:33 +0000.778924][11f8]
monitorTime:4002totalDuration:3920
[067:492] [2022-08-06 14:28:33 +0000.856201][1748] h264 add frame header cdr flag
[067:492] [2022-08-06 14:28:33 +0000.856418][1748] Received key frame:6001
[067:497] [2022-08-06 14:28:33 +0000.861871][174c] get the H.264 IDR frame
[067:516] [2022-08-06 14:28:33 +0000.880263][1747] setDisplayRotate :90
[067:516] [2022-08-06 14:28:33 +0000.880358][1747] 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
[067:538] [2022-08-06 14:28:33 +0000.902913][1747] setDisplayRotate :90
[067:538] [2022-08-06 14:28:33 +0000.903006][1747] 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
[067:546] [2022-08-06 14:28:33 +0000.910204][1748] DTS queue for
Generator:0x77f88b2cb8 6299 6340 6366 6400 6432
[067:550] [2022-08-06 14:28:33 +0000.914418][1747] setDisplayRotate :90
[067:550] [2022-08-06 14:28:33 +0000.914596][1747] 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
[067:553] [2022-08-06 14:28:33 +0000.917328][173d] av_read_frame AVERROR_EOF
[067:556] [2022-08-06 14:28:33 +0000.920745][1748] Push an pts:6501 to dts queue.
[067:577] [2022-08-06 14:28:33 +0000.941070][1747] setDisplayRotate :90
[067:577] [2022-08-06 14:28:33 +0000.941197][1747] 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
[067:586] [2022-08-06 14:28:33 +0000.950636][1747] setDisplayRotate :90
[067:586] [2022-08-06 14:28:33 +0000.950733][1747] 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
[067:589] [2022-08-06 14:28:33 +0000.953953][174a] Error(video_source.cc:430): wait
decoder a frame: 3
[067:590] [2022-08-06 14:28:33 +0000.954625][1747] setDisplayRotate :90
[067:590] [2022-08-06 14:28:33 +0000.954796][1747] 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
[067:591] [2022-08-06 14:28:33 +0000.955795][1748] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6630
[067:591] [2022-08-06 14:28:33 +0000.955922][1748] push video frame to H264
encoder. (100 frame for one log)

[067:591] [2022-08-06 14:28:33 +0000.955991][1748] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[067:591] [2022-08-06 14:28:33 +0000.956031][1748] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6630(100 frame for one
log)

[067:592] [2022-08-06 14:28:33 +0000.956094][1748] The input pts:6630 fps:30


[067:594] [2022-08-06 14:28:33 +0000.958434][174b] audio_frame_list_ empty
[067:607] [2022-08-06 14:28:33 +0000.971946][1747] setDisplayRotate :90
[067:608] [2022-08-06 14:28:33 +0000.972191][1747] 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
[067:613] [2022-08-06 14:28:33 +0000.977799][1748] SendFrame
encodedImage._timeStamp:6501encodedImage->_length:57504
[067:613] [2022-08-06 14:28:33 +0000.977894][1748] last dts:6469 currentPts:6501
ppsOrSPS:0 queue length:6
[067:613] [2022-08-06 14:28:33 +0000.977944][1748] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6501 pts:6501
[067:622] [2022-08-06 14:28:33 +0000.986112][173d] OnReceiveEOF:
[067:622] [2022-08-06 14:28:33 +0000.986324][173d] OnDecoderEOF time:499302624
enter.

[067:622] [2022-08-06 14:28:33 +0000.986508][173b] CleanUp time:499302624 enter.

[067:622] [2022-08-06 14:28:33 +0000.986536][173d] OnDecoderEOF leave. expire time


= 0 ms

[067:622] [2022-08-06 14:28:33 +0000.986652][173d] OnDecoderFinished:


OnDecoderFinished total decoder frames:205 this:0x77099a4080
[067:622] [2022-08-06 14:28:33 +0000.986680][173d] NULLFilter::OnVideoSourceEOF
0x77099a4080 this 0x77096b7080
[067:622] [2022-08-06 14:28:33 +0000.986703][173d] NULLFilter::OnVideoSourceEOF
0x77096b7080 this 0x77096b7140
[067:622] [2022-08-06 14:28:33 +0000.986729][173d] NULLFilter::OnVideoSourceEOF
0x77096b7140 this 0x77096b7680
[067:622] [2022-08-06 14:28:33 +0000.986760][174a]
Warning(media_filter_composefile.cc:321): pull video frame failed:8
[067:622] [2022-08-06 14:28:33 +0000.986798][174a] OnVideoTimer: OnVideoTimer
return
[067:624] [2022-08-06 14:28:33 +0000.989029][174b] PullAudioFrame: PullFrame audio
finished.
[067:625] [2022-08-06 14:28:33 +0000.989089][174b]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[067:625] [2022-08-06 14:28:33 +0000.989112][174b] OnAudioTimer: OnAudioTimer
EndComposeFile
[067:625] [2022-08-06 14:28:33 +0000.989156][174b] EndComposeFile: EndComposeFile,
is composing 1
[067:625] [2022-08-06 14:28:33 +0000.989649][173b] CleanUp leave. expire time = 3
ms

[067:625] [2022-08-06 14:28:33 +0000.989681][173b] clean up


[067:625] [2022-08-06 14:28:33 +0000.989698][173b] running_decoder_count:0max
count:2
[067:631] [2022-08-06 14:28:33 +0000.995568][1748] H264Encode::H264SWEncoder get
callback, length:75424 type:1 nalType:1length:75420
[067:640] [2022-08-06 14:28:34 +0000.4753][1748]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:205
[067:640] [2022-08-06 14:28:34 +0000.4813][1748]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x770061e800
[067:641] [2022-08-06 14:28:34 +0000.6024][1749]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[067:642] [2022-08-06 14:28:34 +0000.6080][1749]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[067:642] [2022-08-06 14:28:34 +0000.6257][1747] stop recording
[067:642] [2022-08-06 14:28:34 +0000.6346][1747]
RecordingSessionInternalSimple:destroy media processers
[067:642] [2022-08-06 14:28:34 +0000.6387][1747] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[067:642] [2022-08-06 14:28:34 +0000.6423][1747] H264Encode::flushing hareware
Encoder
[067:642] [2022-08-06 14:28:34 +0000.6635][1747] Flush time:499302644 enter.

[067:642] [2022-08-06 14:28:34 +0000.6709][1747] H264Encoder encoder flush


[067:642] [2022-08-06 14:28:34 +0000.6748][1747] flush output queue
[067:839] [2022-08-06 14:28:34 +0000.203407][16c6] Run AGC when audioType = 0
[067:839] [2022-08-06 14:28:34 +0000.203609][16c6]
AudioDeviceDataHandler::MixAndSendOutFrame
[067:975] [2022-08-06 14:28:34 +0000.339358][1747] Flush leave. expire time = 333
ms

[067:975] [2022-08-06 14:28:34 +0000.339661][1747] ~H264EncodeWrap:


[067:975] [2022-08-06 14:28:34 +0000.339721][1747] ~H264Encode:
[067:975] [2022-08-06 14:28:34 +0000.339758][1747] teardownCompressionSession:
H264Encode::destroying Encoder
[067:975] [2022-08-06 14:28:34 +0000.339794][1747] Release time:499302977 enter.

[067:975] [2022-08-06 14:28:34 +0000.340028][1747] Release:


MediaCodecVideoEncoder::Release _inited:1
[067:976] [2022-08-06 14:28:34 +0000.340185][1747] Destroy time:499302978 enter.
[067:976] [2022-08-06 14:28:34 +0000.340251][1747] H264Encoder encoderDestroy
[067:976] [2022-08-06 14:28:34 +0000.340290][1747]
AndroidMediaCodecVideoEncoder::release env: 0x7781a92cc0
[067:976] [2022-08-06 14:28:34 +0000.340327][1747]
AndroidMediaCodecVideoEncoder::Destroy
[068:013] [2022-08-06 14:28:34 +0000.377383][1747] Destroy leave. expire time = 37
ms

[068:013] [2022-08-06 14:28:34 +0000.377608][1747] Release leave. expire time = 38


ms

[068:013] [2022-08-06 14:28:34 +0000.377651][1747] ~AndroidHwAvcEncoder


time:499303015 enter.

[068:013] [2022-08-06 14:28:34 +0000.377868][1747] Release time:499303015 enter.

[068:013] [2022-08-06 14:28:34 +0000.377944][1747] Release:


MediaCodecVideoEncoder:: has been released before, just return
[068:013] [2022-08-06 14:28:34 +0000.377979][1747] Release leave. expire time = 0
ms

[068:013] [2022-08-06 14:28:34 +0000.378012][1747] ~AndroidMediaCodecVideoEncoder


[068:014] [2022-08-06 14:28:34 +0000.378148][1747] ~WrapAndroidMediaCodec
time:499303016 enter.

[068:014] [2022-08-06 14:28:34 +0000.378186][1747] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[068:014] [2022-08-06 14:28:34 +0000.378220][1747] video hevc hw codec


destructor:0x77f881fac0

[068:014] [2022-08-06 14:28:34 +0000.378298][1747] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[068:014] [2022-08-06 14:28:34 +0000.378358][1747] teardownCompressionSession:


H264Encode::destroyed Encoder
[068:014] [2022-08-06 14:28:34 +0000.378401][1747]
RecordingSessionInternalSimple:destroy aac encoder output!
[068:014] [2022-08-06 14:28:34 +0000.378434][1747] AACSWEncode destructor
[068:022] [2022-08-06 14:28:34 +0000.387053][174c] fd_close successed!
[068:034] [2022-08-06 14:28:34 +0000.398294][174c] MP4 close file successfully
[068:034] [2022-08-06 14:28:34 +0000.398367][174c] Recording session Internal:
notify recording ok
[068:034] [2022-08-06 14:28:34 +0000.398404][174c] onRecordingOk: Recording Ok,
compose use time: 2550, averagefps 0
[068:034] [2022-08-06 14:28:34 +0000.398453][174c] OnReceiveEOF:
[068:036] [2022-08-06 14:28:34 +0000.400103][174b] OnAudioTimer: OnAudioTimer
return
[068:047] [2022-08-06 14:28:34 +0000.411132][707e]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[068:047] [2022-08-06 14:28:34 +0000.411233][707e] ~MediaComposeFile time:499303049
enter.

[068:047] [2022-08-06 14:28:34 +0000.411258][707e] CancelCompose: CancelCompose,


is composing 0
[068:047] [2022-08-06 14:28:34 +0000.411413][1747] stop recording
[068:047] [2022-08-06 14:28:34 +0000.411486][1747] we have stopped recording before
[068:048] [2022-08-06 14:28:34 +0000.412348][707e] ~MediaComposeFile leave. expire
time = 1 ms

[068:051] [2022-08-06 14:28:34 +0000.415927][707e] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[068:053] [2022-08-06 14:28:34 +0000.417208][707e] global uninited!
[068:053] [2022-08-06 14:28:34 +0000.417281][707e]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[068:053] [2022-08-06 14:28:34 +0000.417355][707e] ~MediaFilterGraph:
MediaFilterGraph destruct
[068:053] [2022-08-06 14:28:34 +0000.417380][707e] RemoveVideoBackGroud: hava not
add video backgroud
[068:053] [2022-08-06 14:28:34 +0000.417412][707e] UnbindInputFilter 0x77096b7718
this 0x77098632a0
[068:053] [2022-08-06 14:28:34 +0000.417438][707e] ClearAllSource: remove source
filter, sourceid: 0x77099a4080
[068:053] [2022-08-06 14:28:34 +0000.417456][707e] DestoryDecoderByVideoSource
time:499303055 enter.

[068:053] [2022-08-06 14:28:34 +0000.417477][707e] ~VideoBindDecoder time:499303055


enter.

[068:053] [2022-08-06 14:28:34 +0000.417635][707e] CleanUp time:499303055 enter.

[068:054] [2022-08-06 14:28:34 +0000.418100][707e] CleanUp leave. expire time = 1


ms

[068:054] [2022-08-06 14:28:34 +0000.418128][707e] CleanUp time:499303056 enter.

[068:054] [2022-08-06 14:28:34 +0000.418375][707e] CleanUp leave. expire time = 0


ms

[068:055] [2022-08-06 14:28:34 +0000.419498][707e] ~VideoBindDecoder leave. expire


time = 2 ms

[068:055] [2022-08-06 14:28:34 +0000.419553][707e] DestoryDecoderByVideoSource


leave. expire time = 2 ms

[068:055] [2022-08-06 14:28:34 +0000.419591][707e] UnbindInputFilter 0x77096b71d8


this 0x77096b7718
[068:055] [2022-08-06 14:28:34 +0000.419621][707e] UnbindInputFilter 0x77096b7118
this 0x77096b71d8
[068:055] [2022-08-06 14:28:34 +0000.419648][707e] UnbindInputFilter 0x77099a42a0
this 0x77096b7118
[068:055] [2022-08-06 14:28:34 +0000.419675][707e] UnbindInputFilter 0x77096b7658
this 0x77096b77d8
[068:055] [2022-08-06 14:28:34 +0000.419702][707e] UnbindInputFilter 0x77096b7598
this 0x77096b7658
[068:055] [2022-08-06 14:28:34 +0000.419729][707e] UnbindInputFilter 0x77099a42a0
this 0x77096b7598
[068:055] [2022-08-06 14:28:34 +0000.419782][707e] ~GLESContext:
[068:056] [2022-08-06 14:28:34 +0000.420218][707e] GLESContext destruct finish.
[068:056] [2022-08-06 14:28:34 +0000.420252][707e] filter: filter pipeline destroy
this: 0x7709863200
[068:730] [2022-08-06 14:28:35 +0000.94383][16c6] haveEnoughProcessedData
internalAudioStream.length: 0
[069:075] [2022-08-06 14:28:35 +0000.439141][709b]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[069:075] [2022-08-06 14:28:35 +0000.439497][709b] ~MediaFilterCamera
time:499304077 enter.
[069:075] [2022-08-06 14:28:35 +0000.439559][709b] StopPullFrameAndWriteMp4
time:499304077 enter.

[069:083] [2022-08-06 14:28:35 +0000.447188][16b3] stop recording


[069:083] [2022-08-06 14:28:35 +0000.447226][16b3] we have stopped recording before
[069:094] [2022-08-06 14:28:35 +0000.458856][709b] StopPullFrameAndWriteMp4 leave.
expire time = 19 ms

[069:101] [2022-08-06 14:28:35 +0000.465816][709b] DestroyPipelineAndFilters


time:499304103 enter.

[069:101] [2022-08-06 14:28:35 +0000.465946][709b] DestroyPipelineAndFilters


leave. expire time = 0 ms

[069:104] [2022-08-06 14:28:35 +0000.468372][709b] AppDeviceManagerStopMic

[069:104] [2022-08-06 14:28:35 +0000.468627][709b] AppDeviceManagerStopMic::mic


status is on
[069:104] [2022-08-06 14:28:35 +0000.468685][709b] Try to stop webrtc device.

[069:104] [2022-08-06 14:28:35 +0000.468729][709b] Set record state to


stopped.threadID:28827

[069:176] [2022-08-06 14:28:35 +0000.540288][709b] Try to destory the


recorder.threadID:28827

[069:413] [2022-08-06 14:28:35 +0000.777880][709b] DestroyAudioRecorder:


[069:414] [2022-08-06 14:28:35 +0000.778540][709b] Cleanup the buffer queue in the
recorder.
[069:414] [2022-08-06 14:28:35 +0000.778668][709b] Destroy the recorder.

[069:417] [2022-08-06 14:28:35 +0000.781076][709b] StopRecording finished.

[069:417] [2022-08-06 14:28:35 +0000.781177][709b] The stop recording success.

[069:417] [2022-08-06 14:28:35 +0000.781228][709b]


AudioDeviceDataHandler::StopMicProcess

[069:419] [2022-08-06 14:28:35 +0000.783395][709b] AppDeviceManager stop.

[069:419] [2022-08-06 14:28:35 +0000.783636][709b] Rlease the webrtc device object.

[069:421] [2022-08-06 14:28:35 +0000.785344][709b] OpenSlesInput destruct.

[069:421] [2022-08-06 14:28:35 +0000.785530][709b] OpenSlesOutput destruct.

[069:423] [2022-08-06 14:28:35 +0000.787339][709b] EventDispatchServerScope


destruct
[069:423] [2022-08-06 14:28:35 +0000.787442][709b]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[069:423] [2022-08-06 14:28:35 +0000.787534][709b] ~AudioDeviceDataHandler

[069:427] [2022-08-06 14:28:35 +0000.791762][709b] AppDeviceManagerDestruct.

[069:428] [2022-08-06 14:28:35 +0000.792119][709b] ~AppDeviceManager:


[069:428] [2022-08-06 14:28:35 +0000.792223][709b] ~CpuOverloadDetect
time:499304430 enter.
[069:429] [2022-08-06 14:28:35 +0000.793093][709b] ~CpuOverloadDetect leave.
expire time = 1 ms

[069:431] [2022-08-06 14:28:35 +0000.796028][709b] Destruct BeautifyReader begin...


[069:432] [2022-08-06 14:28:35 +0000.796126][709b] Destruct BeautifyReader done.
[069:439] [2022-08-06 14:28:35 +0000.803576][000:019] [2022-08-06 17:59:51
+0000.956640][73b6] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-08-
06 17:59:51 +0000
[000:019] [2022-08-06 17:59:51 +0000.956677][73b6] set AppID=50011 old AppID=-1
[000:019] [2022-08-06 17:59:51 +0000.956715][73b6] Init the android object with
jvm:0xb4000078b91a9540 env:0x780862e980 context:0x77875e6588

[000:019] [2022-08-06 17:59:51 +0000.956730][73b6] SetAndroidMediaCodecObjects


time:510905215 enter.

[000:019] [2022-08-06 17:59:51 +0000.956765][73b6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:019] [2022-08-06 17:59:51 +0000.956802][73b6] SetAndroidMediaCodecObjects


time:510905215 enter.

[000:019] [2022-08-06 17:59:51 +0000.956814][73b6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000078b91a9540
[000:019] [2022-08-06 17:59:51 +0000.956842][73b6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000078b91a9540 address:0x77128ae760
[000:019] [2022-08-06 17:59:51 +0000.956854][73b6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000078b91a9540
address:0x77128ae760
[000:019] [2022-08-06 17:59:51 +0000.956885][73b6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:019] [2022-08-06 17:59:51 +0000.956915][73b6] Set the android objects with


jvm:0xb4000078b91a9540 env:0x780862e980 context:0x77875e6588

[000:020] [2022-08-06 17:59:51 +0000.958085][73b6] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x780862e980
[000:020] [2022-08-06 17:59:51 +0000.958130][73b6] SystemUtil Init done
[000:021] [2022-08-06 17:59:51 +0000.959268][73b6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:023] [2022-08-06 17:59:51 +0000.960613][73b6] MediaFilterCamera
[000:023] [2022-08-06 17:59:51 +0000.961376][73b6] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:024] [2022-08-06 17:59:51 +0000.961570][73b6] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:024] [2022-08-06 17:59:51 +0000.961598][73b6] Recording session using default
bitrate support by app:31457280
[000:024] [2022-08-06 17:59:51 +0000.961856][7af8] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77f8927740
[000:024] [2022-08-06 17:59:51 +0000.961949][7af8] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:024] [2022-08-06 17:59:51 +0000.962038][73b6] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:025] [2022-08-06 17:59:51 +0000.962458][73b6] Error(ini.cc:191): Open the file
failed. error:2
[000:025] [2022-08-06 17:59:51 +0000.962485][73b6]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:025] [2022-08-06 17:59:51 +0000.962515][73b6] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:029] [2022-08-06 17:59:51 +0000.966451][73b6] Error(ini.cc:191): Open the file
failed. error:2
[000:029] [2022-08-06 17:59:51 +0000.966514][73b6]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:029] [2022-08-06 17:59:51 +0000.966552][73b6] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:029] [2022-08-06 17:59:51 +0000.966585][73b6] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:029] [2022-08-06 17:59:51 +0000.966624][73b6] Using Default AEC type: software
AEC
[000:030] [2022-08-06 17:59:51 +0000.967480][73b6] The device model: m2012k11ag
enum value: 0
[000:030] [2022-08-06 17:59:51 +0000.967792][73b6] GetMachineModel is M2012K11AG
[000:030] [2022-08-06 17:59:51 +0000.967828][73b6] GetMachineInfo: M2012K11AG
[000:030] [2022-08-06 17:59:51 +0000.967862][73b6] Construct BeautifyReader
begin...
[000:030] [2022-08-06 17:59:51 +0000.967882][73b6] dumpStickerRgba:0
dumpStickerYuv:0
[000:030] [2022-08-06 17:59:51 +0000.967927][73b6] Construct BeautifyReader done.
[000:033] [2022-08-06 17:59:51 +0000.970773][73b6] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:033] [2022-08-06 17:59:51 +0000.970798][7afd] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x772b5677a0
[000:033] [2022-08-06 17:59:51 +0000.971092][73b6] AppDeviceManager telnet server
for statistics started......
[000:034] [2022-08-06 17:59:51 +0000.972177][73b6] CpuOverloadDetect time:510905230
enter.

[000:034] [2022-08-06 17:59:51 +0000.972309][73b6] CpuOverloadDetect leave. expire


time = 0 ms

[000:034] [2022-08-06 17:59:51 +0000.972325][7afe] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x77f887f980
[000:035] [2022-08-06 17:59:51 +0000.972707][73b6] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:035] [2022-08-06 17:59:51 +0000.972737][73b6] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:035] [2022-08-06 17:59:51 +0000.972957][73b6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:038] [2022-08-06 17:59:51 +0000.975513][73b6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:038] [2022-08-06 17:59:51 +0000.975903][73b6] CreatePlatformSpecificObjects:
[000:038] [2022-08-06 17:59:51 +0000.975943][73b6] audio device use opensle input
and opensl output
[000:038] [2022-08-06 17:59:51 +0000.976006][73b6] Create OpenSLES output module
with java VM support.

[000:038] [2022-08-06 17:59:51 +0000.976126][73b6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:038] [2022-08-06 17:59:51 +0000.976275][73b6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:038] [2022-08-06 17:59:51 +0000.976418][73b6] Create OpenSLES output module
with buffer num:1

[000:039] [2022-08-06 17:59:51 +0000.976578][73b6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:039] [2022-08-06 17:59:51 +0000.976711][73b6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:039] [2022-08-06 17:59:51 +0000.976858][73b6] Create OpenSLES input module
with java VM support.

[000:039] [2022-08-06 17:59:51 +0000.977103][73b6] Create OpenSLES input module


with buffer num:1

[000:039] [2022-08-06 17:59:51 +0000.977159][73b6] Error(trace.cc:40): Init the


output and input for audio device template.
[000:039] [2022-08-06 17:59:51 +0000.977178][73b6] Init the output device.

[000:039] [2022-08-06 17:59:51 +0000.977195][73b6] Init the opensl input.


[000:039] [2022-08-06 17:59:51 +0000.977212][73b6] AppDeviceManager get setting
samplerate: 0
[000:040] [2022-08-06 17:59:51 +0000.977509][73b6] The device model: m2012k11ag
enum value: 0
[000:040] [2022-08-06 17:59:51 +0000.977876][73b6] The device model: m2012k11ag
enum value: 0
[000:040] [2022-08-06 17:59:51 +0000.977907][73b6] Set the sample rate to be:48000

[000:040] [2022-08-06 17:59:51 +0000.977925][73b6] Enable the recording stereo:0


[000:040] [2022-08-06 17:59:51 +0000.977941][73b6] Set the playout as stereo:1
[000:040] [2022-08-06 17:59:51 +0000.977957][73b6] Init the microphone.
[000:043] [2022-08-06 17:59:51 +0000.980481][73b6] Update the recording sample rate
to be: 48000
[000:043] [2022-08-06 17:59:51 +0000.980535][73b6] Init the speaker.
[000:043] [2022-08-06 17:59:51 +0000.980585][73b6] Low latency buffer size:144 low
sample rate:48000
[000:043] [2022-08-06 17:59:51 +0000.980813][73b6] Using 1 x 10ms for an audio
frame.

[000:046] [2022-08-06 17:59:51 +0000.983775][73b6] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:046] [2022-08-06 17:59:51 +0000.983858][73b6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:046] [2022-08-06 17:59:51 +0000.983877][73b6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:049] [2022-08-06 17:59:51 +0000.987280][73b6] The device model:m2012k11ag

[000:049] [2022-08-06 17:59:51 +0000.987319][73b6] speaker output factor:100


defaultFactor: 100

[000:049] [2022-08-06 17:59:51 +0000.987330][73b6] headset output factor:100


defaultFactor: 100

[000:050] [2022-08-06 17:59:51 +0000.987558][73b6] AppDeviceManagerStart finished.


[000:050] [2022-08-06 17:59:51 +0000.987577][73b6] AppDeviceManagerStartMic::mic
status is off
[000:050] [2022-08-06 17:59:51 +0000.987610][73b6] AppDeviceManagerStartMic update
aec type: 2

[000:050] [2022-08-06 17:59:51 +0000.987624][73b6] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:050] [2022-08-06 17:59:51 +0000.987635][73b6]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:050] [2022-08-06 17:59:51 +0000.987664][73b6]
AudioDeviceDataHandler::StartMicProcess

[000:050] [2022-08-06 17:59:51 +0000.987724][73b6] Try to start webrtc recording


device.

[000:050] [2022-08-06 17:59:51 +0000.987742][73b6] StartRecording. threadID:29622

[000:050] [2022-08-06 17:59:51 +0000.987752][7b00] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:050] [2022-08-06 17:59:51 +0000.987819][7b00] haveEnoughProcessedData
internalAudioStream.length: 0
[000:050] [2022-08-06 17:59:51 +0000.987921][73b6] The machine model:M2012K11AG

[000:050] [2022-08-06 17:59:51 +0000.987950][73b6] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:050] [2022-08-06 17:59:51 +0000.987960][73b6] Set the recording mode before


getSetting: 4
[000:050] [2022-08-06 17:59:51 +0000.987989][73b6] Set the recording mode after
getSetting: 1
[000:086] [2022-08-06 17:59:52 +0000.23990][73b6] StartRecording finished.

[000:086] [2022-08-06 17:59:52 +0000.24066][73b6] audio: start the audio mic


checker timer.

[000:087] [2022-08-06 17:59:52 +0000.24510][73b6] machine model :poco


[000:087] [2022-08-06 17:59:52 +0000.24549][73b6] Support this machine model :poco
[000:092] [2022-08-06 17:59:52 +0000.29885][73b6] global inited! current sdk
version: 07-20-936c45f
[000:176] [2022-08-06 17:59:52 +0000.113842][7b01] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:176] [2022-08-06 17:59:52 +0000.113913][7b01] _deviceSampleRate:48000

[000:179] [2022-08-06 17:59:52 +0000.117081][7b00] Run AGC when audioType = 0


[000:179] [2022-08-06 17:59:52 +0000.117166][7b00]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:433] [2022-08-06 17:59:52 +0000.370737][7a68]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:435] [2022-08-06 17:59:52 +0000.373170][7af9] MediaFilterCamera, recording
file context:0x773cef5f80 input texture:4
[000:435] [2022-08-06 17:59:52 +0000.373294][7af9] GLESContext:
[000:435] [2022-08-06 17:59:52 +0000.373339][7af9] The result of eglGetDisplay is:
0xb40000780862bf00
[000:439] [2022-08-06 17:59:52 +0000.376819][7af9] The result of creation:
0x77f86c4780
[000:439] [2022-08-06 17:59:52 +0000.376894][7af9] The result of
eglCreatePbufferSurface is: 0x77f86c4900
[000:440] [2022-08-06 17:59:52 +0000.378307][7a68]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x773cef5f80 input_texture: 4
[001:719] [2022-08-06 17:59:53 +0000.656530][73b6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[001:719] [2022-08-06 17:59:53 +0000.656670][73b6] ~MediaFilterCamera
time:510906915 enter.

[001:719] [2022-08-06 17:59:53 +0000.656700][73b6] StopPullFrameAndWriteMp4


time:510906915 enter.

[001:723] [2022-08-06 17:59:53 +0000.661151][7af8] stop recording


[001:723] [2022-08-06 17:59:53 +0000.661183][7af8] we have stopped recording before
[001:723] [2022-08-06 17:59:53 +0000.661297][73b6] StopPullFrameAndWriteMp4 leave.
expire time = 4 ms

[001:726] [2022-08-06 17:59:53 +0000.664096][73b6] DestroyPipelineAndFilters


time:510906922 enter.

[001:726] [2022-08-06 17:59:53 +0000.664135][73b6] DestroyPipelineAndFilters


leave. expire time = 0 ms

[001:726] [2022-08-06 17:59:53 +0000.664153][73b6] AppDeviceManagerStopMic

[001:726] [2022-08-06 17:59:53 +0000.664353][73b6] AppDeviceManagerStopMic::mic


status is on
[001:726] [2022-08-06 17:59:53 +0000.664382][73b6] Try to stop webrtc device.

[001:72[000:032] [2022-08-06 23:53:21 +0000.397690][4fb9] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-08-
06 23:53:21 +0000
[000:032] [2022-08-06 23:53:21 +0000.397737][4fb9] set AppID=50011 old AppID=-1
[000:032] [2022-08-06 23:53:21 +0000.397780][4fb9] Init the android object with
jvm:0xb4000078b91a9540 env:0x780862e980 context:0x7785af0588

[000:032] [2022-08-06 23:53:21 +0000.397839][4fb9] SetAndroidMediaCodecObjects


time:531699274 enter.

[000:032] [2022-08-06 23:53:21 +0000.397867][4fb9] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:032] [2022-08-06 23:53:21 +0000.397902][4fb9] SetAndroidMediaCodecObjects


time:531699274 enter.

[000:032] [2022-08-06 23:53:21 +0000.397937][4fb9] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000078b91a9540
[000:032] [2022-08-06 23:53:21 +0000.397955][4fb9] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000078b91a9540 address:0x76f390f760
[000:032] [2022-08-06 23:53:21 +0000.397993][4fb9] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000078b91a9540
address:0x76f390f760
[000:032] [2022-08-06 23:53:21 +0000.398030][4fb9] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:032] [2022-08-06 23:53:21 +0000.398084][4fb9] Set the android objects with


jvm:0xb4000078b91a9540 env:0x780862e980 context:0x7785af0588

[000:033] [2022-08-06 23:53:21 +0000.399354][4fb9] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x780862e980
[000:033] [2022-08-06 23:53:21 +0000.399418][4fb9] SystemUtil Init done
[000:036] [2022-08-06 23:53:21 +0000.401804][4fb9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:037] [2022-08-06 23:53:21 +0000.403212][4fb9] MediaFilterCamera
[000:037] [2022-08-06 23:53:21 +0000.403269][4fb9] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:037] [2022-08-06 23:53:21 +0000.403401][4fb9] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:037] [2022-08-06 23:53:21 +0000.403433][4fb9] Recording session using default
bitrate support by app:31457280
[000:037] [2022-08-06 23:53:21 +0000.403446][2e23] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77f89046c0
[000:038] [2022-08-06 23:53:21 +0000.403782][2e23] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:038] [2022-08-06 23:53:21 +0000.403870][4fb9] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:038] [2022-08-06 23:53:21 +0000.404409][4fb9] Error(ini.cc:191): Open the file
failed. error:2
[000:038] [2022-08-06 23:53:21 +0000.404441][4fb9]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:038] [2022-08-06 23:53:21 +0000.404472][4fb9] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:041] [2022-08-06 23:53:21 +0000.406774][4fb9] Error(ini.cc:191): Open the file
failed. error:2
[000:041] [2022-08-06 23:53:21 +0000.406816][4fb9]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:041] [2022-08-06 23:53:21 +0000.406844][4fb9] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:041] [2022-08-06 23:53:21 +0000.406870][4fb9] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:041] [2022-08-06 23:53:21 +0000.406902][4fb9] Using Default AEC type: software
AEC
[000:042] [2022-08-06 23:53:21 +0000.407806][4fb9] The device model: m2012k11ag
enum value: 0
[000:042] [2022-08-06 23:53:21 +0000.408149][4fb9] GetMachineModel is M2012K11AG
[000:042] [2022-08-06 23:53:21 +0000.408179][4fb9] GetMachineInfo: M2012K11AG
[000:042] [2022-08-06 23:53:21 +0000.408225][4fb9] Construct BeautifyReader
begin...
[000:042] [2022-08-06 23:53:21 +0000.408245][4fb9] dumpStickerRgba:0
dumpStickerYuv:0
[000:042] [2022-08-06 23:53:21 +0000.408274][4fb9] Construct BeautifyReader done.
[000:045] [2022-08-06 23:53:21 +0000.411450][4fb9] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:045] [2022-08-06 23:53:21 +0000.411483][2e27] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7710de6ea0
[000:046] [2022-08-06 23:53:21 +0000.411707][4fb9] AppDeviceManager telnet server
for statistics started......
[000:046] [2022-08-06 23:53:21 +0000.412273][4fb9] CpuOverloadDetect time:531699288
enter.

[000:046] [2022-08-06 23:53:21 +0000.412380][4fb9] CpuOverloadDetect leave. expire


time = 0 ms

[000:046] [2022-08-06 23:53:21 +0000.412414][2e28] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7787725240
[000:047] [2022-08-06 23:53:21 +0000.412906][4fb9] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:047] [2022-08-06 23:53:21 +0000.412941][4fb9] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:047] [2022-08-06 23:53:21 +0000.413206][4fb9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:047] [2022-08-06 23:53:21 +0000.413616][4fb9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:048] [2022-08-06 23:53:21 +0000.413984][4fb9] CreatePlatformSpecificObjects:
[000:048] [2022-08-06 23:53:21 +0000.414033][4fb9] audio device use opensle input
and opensl output
[000:048] [2022-08-06 23:53:21 +0000.414075][4fb9] Create OpenSLES output module
with java VM support.

[000:048] [2022-08-06 23:53:21 +0000.414202][4fb9] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:048] [2022-08-06 23:53:21 +0000.414366][4fb9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:048] [2022-08-06 23:53:21 +0000.414543][4fb9] Create OpenSLES output module
with buffer num:1

[000:049] [2022-08-06 23:53:21 +0000.414699][4fb9] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:049] [2022-08-06 23:53:21 +0000.414847][4fb9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:049] [2022-08-06 23:53:21 +0000.415021][4fb9] Create OpenSLES input module
with java VM support.

[000:049] [2022-08-06 23:53:21 +0000.415067][4fb9] Create OpenSLES input module


with buffer num:1

[000:049] [2022-08-06 23:53:21 +0000.415139][4fb9] Error(trace.cc:40): Init the


output and input for audio device template.
[000:049] [2022-08-06 23:53:21 +0000.415171][4fb9] Init the output device.

[000:049] [2022-08-06 23:53:21 +0000.415207][4fb9] Init the opensl input.


[000:049] [2022-08-06 23:53:21 +0000.415230][4fb9] AppDeviceManager get setting
samplerate: 0
[000:049] [2022-08-06 23:53:21 +0000.415537][4fb9] The device model: m2012k11ag
enum value: 0
[000:050] [2022-08-06 23:53:21 +0000.416104][4fb9] The device model: m2012k11ag
enum value: 0
[000:050] [2022-08-06 23:53:21 +0000.416137][4fb9] Set the sample rate to be:48000

[000:050] [2022-08-06 23:53:21 +0000.416170][4fb9] Enable the recording stereo:0


[000:050] [2022-08-06 23:53:21 +0000.416198][4fb9] Set the playout as stereo:1
[000:050] [2022-08-06 23:53:21 +0000.416223][4fb9] Init the microphone.
[000:051] [2022-08-06 23:53:21 +0000.416729][4fb9] Update the recording sample rate
to be: 48000
[000:051] [2022-08-06 23:53:21 +0000.416766][4fb9] Init the speaker.
[000:051] [2022-08-06 23:53:21 +0000.416801][4fb9] Low latency buffer size:144 low
sample rate:48000
[000:051] [2022-08-06 23:53:21 +0000.417109][4fb9] Using 1 x 10ms for an audio
frame.

[000:055] [2022-08-06 23:53:21 +0000.421282][4fb9] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:055] [2022-08-06 23:53:21 +0000.421369][4fb9] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:055] [2022-08-06 23:53:21 +0000.421416][4fb9] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:061] [2022-08-06 23:53:21 +0000.426795][4fb9] The device model:m2012k11ag

[000:061] [2022-08-06 23:53:21 +0000.426849][4fb9] speaker output factor:100


defaultFactor: 100

[000:061] [2022-08-06 23:53:21 +0000.426872][4fb9] headset output factor:100


defaultFactor: 100

[000:061] [2022-08-06 23:53:21 +0000.427258][4fb9] AppDeviceManagerStart finished.


[000:061] [2022-08-06 23:53:21 +0000.427289][4fb9] AppDeviceManagerStartMic::mic
status is off
[000:061] [2022-08-06 23:53:21 +0000.427367][4fb9] AppDeviceManagerStartMic update
aec type: 2
[000:061] [2022-08-06 23:53:21 +0000.427392][4fb9] AppDeviceManagerStartMic update
voiceChangeMode: 4

[000:061] [2022-08-06 23:53:21 +0000.427426][4fb9]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:061] [2022-08-06 23:53:21 +0000.427453][4fb9]
AudioDeviceDataHandler::StartMicProcess

[000:061] [2022-08-06 23:53:21 +0000.427562][4fb9] Try to start webrtc recording


device.

[000:061] [2022-08-06 23:53:21 +0000.427592][4fb9] StartRecording. threadID:20409

[000:061] [2022-08-06 23:53:21 +0000.427595][2e2a] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:062] [2022-08-06 23:53:21 +0000.427737][2e2a] haveEnoughProcessedData
internalAudioStream.length: 0
[000:062] [2022-08-06 23:53:21 +0000.427952][4fb9] The machine model:M2012K11AG

[000:062] [2022-08-06 23:53:21 +0000.428003][4fb9] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:062] [2022-08-06 23:53:21 +0000.428029][4fb9] Set the recording mode before


getSetting: 4
[000:062] [2022-08-06 23:53:21 +0000.428052][4fb9] Set the recording mode after
getSetting: 1
[000:103] [2022-08-06 23:53:21 +0000.468715][4fb9] StartRecording finished.

[000:103] [2022-08-06 23:53:21 +0000.468782][4fb9] audio: start the audio mic


checker timer.

[000:103] [2022-08-06 23:53:21 +0000.469329][4fb9] machine model :poco


[000:103] [2022-08-06 23:53:21 +0000.469409][4fb9] Support this machine model :poco
[000:106] [2022-08-06 23:53:21 +0000.472586][4fb9] global inited! current sdk
version: 07-20-936c45f
[000:185] [2022-08-06 23:53:21 +0000.550914][2e2b] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:185] [2022-08-06 23:53:21 +0000.551037][2e2b] _deviceSampleRate:48000

[000:189] [2022-08-06 23:53:21 +0000.555528][2e2a] Run AGC when audioType = 0


[000:189] [2022-08-06 23:53:21 +0000.555615][2e2a]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:364] [2022-08-06 23:53:21 +0000.730387][7625]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:364] [2022-08-06 23:53:21 +0000.730571][2e24] MediaFilterCamera, recording
file context:0x7808611780 input texture:10
[000:364] [2022-08-06 23:53:21 +0000.730666][2e24] GLESContext:
[000:365] [2022-08-06 23:53:21 +0000.730769][2e24] The result of eglGetDisplay is:
0xb40000780862bf00
[000:366] [2022-08-06 23:53:21 +0000.732269][2e24] The result of creation:
0x77f8941700
[000:366] [2022-08-06 23:53:21 +0000.732382][2e24] The result of
eglCreatePbufferSurface is: 0x77f8941800
[000:367] [2022-08-06 23:53:21 +0000.733515][7625]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7808611780 input_texture: 10
[000:417] [2022-08-06 23:53:21 +0000.783556][4fb9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:417] [2022-08-06 23:53:21 +0000.783634][4fb9] ~MediaFilterCamera
time:531699659 enter.

[000:417] [2022-08-06 23:53:21 +0000.783653][4fb9] StopPullFrameAndWriteMp4


time:531699659 enter.

[000:418] [2022-08-06 23:53:21 +0000.784413][2e23] stop recording


[000:418] [2022-08-06 23:53:21 +0000.784453][2e23] we have stopped recording before
[000:418] [2022-08-06 23:53:21 +0000.784536][4fb9] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[000:419] [2022-08-06 23:53:21 +0000.785169][4fb9] DestroyPipelineAndFilters


time:531699661 enter.

[000:419] [2022-08-06 23:53:21 +0000.785194][4fb9] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:419] [2022-08-06 23:53:21 +0000.785209][4fb9] AppDeviceManagerStopMic

[000:420] [2022-08-06 23:53:21 +0000.786293][4fb9] AppDeviceManagerStopMic::mic


status is on
[000:420] [2022-08-06 23:53:21 +0000.786319][4fb9] Try to stop webrtc device.

[000:420] [2022-08-06 23:53:21 +0000.786451][4fb9] Set record state to


stopped.threadID:20409

[000:458] [2022-08-06 23:53:21 +0000.824237][4fb9] Try to destory the


recorder.threadID:20409

[000:658] [2022-08-06 23:53:22 +0000.24379][4fb9] DestroyAudioRecorder:


[000:658] [2022-08-06 23:53:22 +0000.24454][4fb9] Cleanup the buffer queue in the
recorder.
[000:658] [2022-08-06 23:53:22 +0000.24476][4fb9] Destroy the recorder.

[000:661] [2022-08-06 23:53:22 +0000.27622][4fb9] StopRecording finished.

[000:662] [2022-08-06 23:53:22 +0000.27831][4fb9] The stop recording success.

[000:662] [2022-08-06 23:53:22 +0000.27865][4fb9]


AudioDeviceDataHandler::StopMicProcess

[000:666] [2022-08-06 23:53:22 +0000.31908][4fb9] AppDeviceManager stop.

[000:666] [2022-08-06 23:53:22 +0000.32003][4fb9] Rlease the webrtc device object.

[000:666] [2022-08-06 23:53:22 +0000.32349][4fb9] OpenSlesInput destruct.

[000:666] [2022-08-06 23:53:22 +0000.32388][4fb9] OpenSlesOutput destruct.

[000:667] [2022-08-06 23:53:22 +0000.32750][4fb9] EventDispatchServerScope destruct


[000:667] [2022-08-06 23:53:22 +0000.32786][4fb9]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[000:667] [2022-08-06 23:53:22 +0000.32815][4fb9] ~AudioDeviceDataHandler

[000:667] [2022-08-06 23:53:22 +0000.33443][4fb9] AppDeviceManagerDestruct.

[000:667] [2022-08-06 23:53:22 +0000.33496][4fb9] ~AppDeviceManager:


[000:667] [2022-08-06 23:53:22 +0000.33558][4fb9] ~CpuOverloadDetect time:531699909
enter.

[000:668] [2022-08-06 23:53:22 +0000.33781][4fb9] ~CpuOverloadDetect leave. expire


time = 1 ms

[000:669] [2022-08-06 23:53:22 +0000.34867][4fb9] Destruct BeautifyReader begin...


[000:669] [2022-08-06 23:53:22 +0000.34905][4fb9] Destruct BeautifyReader done.
[000:669] [2022-08-06 23:53:22 +0000.34925][4fb9] ~MediaFilterCamera leave. expire
time = 252 ms

[000:669] [2022-08-06 23:53:22 +0000.35028][4fb9] ~GLESContext:


[000:669] [2022-08-06 23:53:22 +0000.35492][4fb9] GLESContext destruct finish.
[000:669] [2022-08-06 23:53:22 +0000.35530][4fb9] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[000:670] [2022-08-06 23:53:22 +0000.35782][4fb9] global uninited!
[000:672] [2022-08-06 23:53:22 +0000.38399][4fb9] clear AppID 50011
[000:672] [2022-08-06 23:53:22 +0000.38439][4fb9] UnRegister JVM for Xplatform util
[000:672] [2022-08-06 23:53:22 +0000.38458][4fb9] Dispose::unregister webrtc video
engine
[000:672] [2022-08-06 23:53:22 +0000.38493][4fb9] Init the android object with
jvm:0x0 env:0x0 context:0x0

[000:672] [2022-08-06 23:53:22 +0000.38523][4fb9] SetAndroidMediaCodecObjects


time:531699914 enter.

[000:672] [2022-08-06 23:53:22 +0000.38550][4fb9] ClearAndroidMediaCodecObjects


time:531699914 enter.

[000:672] [2022-08-06 23:53:22 +0000.38578][4fb9] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:672] [2022-08-06 23:53:22 +0000.38605][4fb9] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:672] [2022-08-06 23:53:22 +0000.38636][4fb9] SetAndroidMediaCodecObjects


time:531699914 enter.

[000:672] [2022-08-06 23:53:22 +0000.38664][4fb9] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[000:673] [2022-08-06 23:53:22 +0000.38693][4fb9] ClearAndroidMediaCodecObjects
time:531699915 enter.

[000:673] [2022-08-06 23:53:22 +0000.38721][4fb9] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:673] [2022-08-06 23:53:22 +0000.38748][4fb9] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[000:673] [2022-08-06 23:53:22 +0000.38775][4fb9] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[000:673] [2022-08-06 23:53:22 +0000.38790][4fb9] Dispose::unregister webrtc voice


engine
[000:673] [2022-08-06 23:53:22 +0000.38817][4fb9] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[000:673] [2022-08-06 23:53:22 +0000.38846][4fb9] SystemUtil UnInit done


[008:094] [2022-08-06 23:53:29 +0000.460542][4fb9] Register JVM for xplatform util
[008:100] [2022-08-06 23:53:29 +0000.465731][4fb9] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-08-
06 23:53:29 +0000
[008:100] [2022-08-06 23:53:29 +0000.465781][4fb9] set AppID=50011 old AppID=-1
[008:100] [2022-08-06 23:53:29 +0000.465802][4fb9] Init the android object with
jvm:0xb4000078b91a9540 env:0x780862e980 context:0x7785af0bb8

[008:100] [2022-08-06 23:53:29 +0000.465840][4fb9] SetAndroidMediaCodecObjects


time:531707342 enter.

[008:100] [2022-08-06 23:53:29 +0000.465880][4fb9] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[008:100] [2022-08-06 23:53:29 +0000.465915][4fb9] SetAndroidMediaCodecObjects


time:531707342 enter.

[008:100] [2022-08-06 23:53:29 +0000.465949][4fb9] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000078b91a9540
[008:100] [2022-08-06 23:53:29 +0000.465982][4fb9] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000078b91a9540 address:0x76f390f760
[008:100] [2022-08-06 23:53:29 +0000.466017][4fb9] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000078b91a9540
address:0x76f390f760
[008:100] [2022-08-06 23:53:29 +0000.466048][4fb9] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[008:100] [2022-08-06 23:53:29 +0000.466081][4fb9] Set the android objects with


jvm:0xb4000078b91a9540 env:0x780862e980 context:0x7785af0bb8

[008:100] [2022-08-06 23:53:29 +0000.466112][4fb9] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x780862e980
[008:100] [2022-08-06 23:53:29 +0000.466148][4fb9] SystemUtil Init done
[008:100] [2022-08-06 23:53:29 +0000.466475][4fb9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[008:100] [2022-08-06 23:53:29 +0000.466590][4fb9] MediaFilterCamera
[008:100] [2022-08-06 23:53:29 +0000.466621][4fb9] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[008:101] [2022-08-06 23:53:29 +0000.466916][4fb9] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[008:101] [2022-08-06 23:53:29 +0000.466955][4fb9] Recording session using default
bitrate support by app:31457280
[008:101] [2022-08-06 23:53:29 +0000.466962][302a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77f89046c0
[008:101] [2022-08-06 23:53:29 +0000.467214][302a] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[008:101] [2022-08-06 23:53:29 +0000.467299][4fb9] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[008:102] [2022-08-06 23:53:29 +0000.468000][4fb9] Error(ini.cc:191): Open the file
failed. error:2
[008:102] [2022-08-06 23:53:29 +0000.468032][4fb9]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[008:102] [2022-08-06 23:53:29 +0000.468078][4fb9] The device model: m2012k11ag
usingSoftwareAEC value: 0
[008:104] [2022-08-06 23:53:29 +0000.470346][4fb9] Error(ini.cc:191): Open the file
failed. error:2
[008:104] [2022-08-06 23:53:29 +0000.470388][4fb9]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[008:104] [2022-08-06 23:53:29 +0000.470433][4fb9] The device model: m2012k11ag
usingHardwareAEC value: 0
[008:104] [2022-08-06 23:53:29 +0000.470459][4fb9] The machine device: m2012k11ag
usingHardwareAEC value: 0
[008:104] [2022-08-06 23:53:29 +0000.470491][4fb9] Using Default AEC type: software
AEC
[008:105] [2022-08-06 23:53:29 +0000.471483][4fb9] The device model: m2012k11ag
enum value: 0
[008:106] [2022-08-06 23:53:29 +0000.471836][4fb9] GetMachineModel is M2012K11AG
[008:106] [2022-08-06 23:53:29 +0000.471870][4fb9] GetMachineInfo: M2012K11AG
[008:106] [2022-08-06 23:53:29 +0000.471906][4fb9] Construct BeautifyReader
begin...
[008:106] [2022-08-06 23:53:29 +0000.471937][4fb9] dumpStickerRgba:0
dumpStickerYuv:0
[008:106] [2022-08-06 23:53:29 +0000.471969][4fb9] Construct BeautifyReader done.
[008:108] [2022-08-06 23:53:29 +0000.474541][4fb9] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[008:108] [2022-08-06 23:53:29 +0000.474579][302d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77876a68a0
[008:108] [2022-08-06 23:53:29 +0000.474613][4fb9] AppDeviceManager telnet server
for statistics started......
[008:109] [2022-08-06 23:53:29 +0000.475129][4fb9] CpuOverloadDetect time:531707351
enter.

[008:109] [2022-08-06 23:53:29 +0000.475226][4fb9] CpuOverloadDetect leave. expire


time = 0 ms

[008:109] [2022-08-06 23:53:29 +0000.475261][302f] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7787726200
[008:109] [2022-08-06 23:53:29 +0000.475675][4fb9] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[008:110] [2022-08-06 23:53:29 +0000.475774][4fb9] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[008:110] [2022-08-06 23:53:29 +0000.475980][4fb9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[008:110] [2022-08-06 23:53:29 +0000.476275][4fb9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[008:110] [2022-08-06 23:53:29 +0000.476460][4fb9] CreatePlatformSpecificObjects:
[008:110] [2022-08-06 23:53:29 +0000.476495][4fb9] audio device use opensle input
and opensl output
[008:110] [2022-08-06 23:53:29 +0000.476534][4fb9] Create OpenSLES output module
with java VM support.

[008:110] [2022-08-06 23:53:29 +0000.476627][4fb9] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[008:111] [2022-08-06 23:53:29 +0000.476746][4fb9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[008:111] [2022-08-06 23:53:29 +0000.476891][4fb9] Create OpenSLES output module
with buffer num:1

[008:111] [2022-08-06 23:53:29 +0000.476988][4fb9] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[008:111] [2022-08-06 23:53:29 +0000.477101][4fb9] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[008:111] [2022-08-06 23:53:29 +0000.477229][4fb9] Create OpenSLES input module
with java VM support.

[008:111] [2022-08-06 23:53:29 +0000.477265][4fb9] Create OpenSLES input module


with buffer num:1

[008:111] [2022-08-06 23:53:29 +0000.477307][4fb9] Error(trace.cc:40): Init the


output and input for audio device template.
[008:111] [2022-08-06 23:53:29 +0000.477330][4fb9] Init the output device.

[008:111] [2022-08-06 23:53:29 +0000.477360][4fb9] Init the opensl input.


[008:111] [2022-08-06 23:53:29 +0000.477392][4fb9] AppDeviceManager get setting
samplerate: 0
[008:111] [2022-08-06 23:53:29 +0000.477647][4fb9] The device model: m2012k11ag
enum value: 0
[008:112] [2022-08-06 23:53:29 +0000.478058][4fb9] The device model: m2012k11ag
enum value: 0
[008:112] [2022-08-06 23:53:29 +0000.478085][4fb9] Set the sample rate to be:48000

[008:112] [2022-08-06 23:53:29 +0000.478122][4fb9] Enable the recording stereo:0


[008:112] [2022-08-06 23:53:29 +0000.478156][4fb9] Set the playout as stereo:1
[008:112] [2022-08-06 23:53:29 +0000.478184][4fb9] Init the microphone.
[008:112] [2022-08-06 23:53:29 +0000.478564][4fb9] Update the recording sample rate
to be: 48000
[008:113] [2022-08-06 23:53:29 +0000.478799][4fb9] Init the speaker.
[008:113] [2022-08-06 23:53:29 +0000.478851][4fb9] Low latency buffer size:144 low
sample rate:48000
[008:113] [2022-08-06 23:53:29 +0000.479088][4fb9] Using 1 x 10ms for an audio
frame.

[008:117] [2022-08-06 23:53:29 +0000.483069][4fb9] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[008:117] [2022-08-06 23:53:29 +0000.483155][4fb9] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[008:117] [2022-08-06 23:53:29 +0000.483199][4fb9] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[008:122] [2022-08-06 23:53:29 +0000.488260][4fb9] The device model:m2012k11ag

[008:122] [2022-08-06 23:53:29 +0000.488316][4fb9] speaker output factor:100


defaultFactor: 100

[008:122] [2022-08-06 23:53:29 +0000.488334][4fb9] headset output factor:100


defaultFactor: 100

[008:122] [2022-08-06 23:53:29 +0000.488654][4fb9] AppDeviceManagerStart finished.


[008:122] [2022-08-06 23:53:29 +0000.488682][4fb9] AppDeviceManagerStartMic::mic
status is off
[008:123] [2022-08-06 23:53:29 +0000.488751][4fb9] AppDeviceManagerStartMic update
aec type: 2

[008:123] [2022-08-06 23:53:29 +0000.488772][4fb9] AppDeviceManagerStartMic update


voiceChangeMode: 4

[008:123] [2022-08-06 23:53:29 +0000.488799][4fb9]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[008:123] [2022-08-06 23:53:29 +0000.488825][4fb9]
AudioDeviceDataHandler::StartMicProcess

[008:123] [2022-08-06 23:53:29 +0000.488956][4fb9] Try to start webrtc recording


device.

[008:123] [2022-08-06 23:53:29 +0000.488984][4fb9] StartRecording. threadID:20409

[008:123] [2022-08-06 23:53:29 +0000.489000][3030] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[008:123] [2022-08-06 23:53:29 +0000.489031][4fb9] default mode: Set the recording
mode to voice communication to enable HW AEC .
[008:123] [2022-08-06 23:53:29 +0000.489093][4fb9] Set the recording mode before
getSetting: 4
[008:123] [2022-08-06 23:53:29 +0000.489127][4fb9] Set the recording mode after
getSetting: 1
[008:150] [2022-08-06 23:53:29 +0000.516369][4fb9] StartRecording finished.

[008:150] [2022-08-06 23:53:29 +0000.516449][4fb9] audio: start the audio mic


checker timer.

[008:151] [2022-08-06 23:53:29 +0000.516871][4fb9] machine model :poco


[008:151] [2022-08-06 23:53:29 +0000.516896][4fb9] Support this machine model :poco
[008:151] [2022-08-06 23:53:29 +0000.516941][4fb9] global inited! current sdk
version: 07-20-936c45f
[008:414] [2022-08-06 23:53:29 +0000.780674][7625]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[008:415] [2022-08-06 23:53:29 +0000.780941][302b] MediaFilterCamera, recording
file context:0x7808611780 input texture:14
[008:415] [2022-08-06 23:53:29 +0000.780987][302b] GLESContext:
[008:415] [2022-08-06 23:53:29 +0000.781013][302b] The result of eglGetDisplay is:
0xb40000780862bf00
[008:415] [2022-08-06 23:53:29 +0000.781509][302b] The result of creation:
0x77f8941600
[008:415] [2022-08-06 23:53:29 +0000.781569][302b] The result of
eglCreatePbufferSurface is: 0x77f8941780
[008:415] [2022-08-06 23:53:29 +0000.781631][7625]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7808611780 input_texture: 14
[009:378] [2022-08-06 23:53:30 +0000.744499][3030] haveEnoughProcessedData
internalAudioStream.length: 10
[009:993] [2022-08-06 23:53:31 +0000.359630][3030] Run AGC when audioType = 0
[011:102] [2022-08-06 23:53:32 +0000.468527][3030] haveEnoughProcessedData
internalAudioStream.length: 0
[011:996] [2022-08-06 23:53:33 +0000.362352][3030] Run AGC when audioType = 0
[011:996] [2022-08-06 23:53:33 +0000.362573][3030]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:155] [2022-08-06 23:53:33 +0000.520702][2e1d]
monitorTime:4004totalDuration:3940
[012:637] [2022-08-06 23:53:34 +0000.3578][4f9a] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[012:637] [2022-08-06 23:53:34 +0000.3644][4f9a]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[012:639] [2022-08-06 23:53:34 +0000.4704][4f9a]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[012:639] [2022-08-06 23:53:34 +0000.4927][302b] operator() time:531711881 enter.

[012:639] [2022-08-06 23:53:34 +0000.4969][302b] MediaFilterCamera, recording file


context:0x7808611780 input texture:14
[012:640] [2022-08-06 23:53:34 +0000.6299][302b] MicSource: Mic source
created:10x77f894d380
[012:641] [2022-08-06 23:53:34 +0000.6986][302b] received external audio stream

[012:641] [2022-08-06 23:53:34 +0000.7035][302b] alloc thread: 0x77f86a0780


name:worker0 thread id:510628625584 to Mic_source
[012:641] [2022-08-06 23:53:34 +0000.7060][302b] audio: start the audio sender
thread.

[012:641] [2022-08-06 23:53:34 +0000.7124][302b] construct OpenGLRenderProgram


0x7710bd6998
[012:641] [2022-08-06 23:53:34 +0000.7188][302b] CropFilter::SetOrientation
orientation: 90
[012:641] [2022-08-06 23:53:34 +0000.7408][302b] filter: filter pipeline construtc
this: 0x77f886b040
[012:641] [2022-08-06 23:53:34 +0000.7442][302b] filter: filter pipeline2 update
pattern: 1
[012:641] [2022-08-06 23:53:34 +0000.7512][302b] CameraSource::source_id_:1
[012:641] [2022-08-06 23:53:34 +0000.7548][302b] RecordAudioSource::source_id_:2
[012:642] [2022-08-06 23:53:34 +0000.8146][302b] BindInputFilter 0x77f86a1ac0 this
0x7710bd6bc0
[012:642] [2022-08-06 23:53:34 +0000.8198][302b] BindInputFilter 0x77f86a1c58 this
0x77f86a1dd0
[012:642] [2022-08-06 23:53:34 +0000.8242][302b] BindInputFilter 0x7710bd6bc0 this
0x77f886b0e0
[012:642] [2022-08-06 23:53:34 +0000.8290][302b] setParamentForFilters:
speed:1.000000
[012:642] [2022-08-06 23:53:34 +0000.8321][302b] SetParamForFilter: AF_SpeedFilter
params:, speed_ 1
[012:642] [2022-08-06 23:53:34 +0000.8350][302b] SetParamForFilter time:531711884
enter.

[012:642] [2022-08-06 23:53:34 +0000.8375][302b] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[012:642] [2022-08-06 23:53:34 +0000.8405][302b] SetParamForFilter: Params video
index is: 0
[012:642] [2022-08-06 23:53:34 +0000.8439][302b] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[012:642] [2022-08-06 23:53:34 +0000.8461][302b] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[012:642] [2022-08-06 23:53:34 +0000.8484][302b] crop filter mode tpye:
citytravelvideo index:0
[012:646] [2022-08-06 23:53:34 +0000.12665][302b]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:647] [2022-08-06 23:53:34 +0000.12717][302b]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:647] [2022-08-06 23:53:34 +0000.12741][302b]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:647] [2022-08-06 23:53:34 +0000.12764][302b]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:647] [2022-08-06 23:53:34 +0000.12817][302b]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:647] [2022-08-06 23:53:34 +0000.12840][302b]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:647] [2022-08-06 23:53:34 +0000.12881][302b]
Warning(parse_template_json.cc:45): json parament no found the parament
[012:647] [2022-08-06 23:53:34 +0000.12920][302b]
Warning(parse_template_json.cc:81): json parament no found the parament
[012:647] [2022-08-06 23:53:34 +0000.12944][302b]
Warning(parse_template_json.cc:81): json parament no found the parament
[012:647] [2022-08-06 23:53:34 +0000.12977][302b]
Warning(parse_template_json.cc:67): json parament no found the parament
[012:647] [2022-08-06 23:53:34 +0000.13033][302b]
Warning(parse_template_json.cc:93): json parament no found the duration
[012:647] [2022-08-06 23:53:34 +0000.13062][302b] SetParamForFilter leave. expire
time = 5 ms

[012:647] [2022-08-06 23:53:34 +0000.13224][302b] OnOutputSizeChanged width 1920


height 1080
[012:647] [2022-08-06 23:53:34 +0000.13258][302b] OpenGLFrameBuffer: width:1920
height:1080
[012:647] [2022-08-06 23:53:34 +0000.13285][302b] OpenGLFrameBuffer: width:1920
height:1080
[012:647] [2022-08-06 23:53:34 +0000.13309][302b] OpenGLFrameBuffer: width:1920
height:1080
[012:647] [2022-08-06 23:53:34 +0000.13333][302b] OpenGLFrameBuffer: width:1920
height:1080
[012:647] [2022-08-06 23:53:34 +0000.13358][302b] OpenGLFrameBuffer: width:1920
height:1080
[012:647] [2022-08-06 23:53:34 +0000.13425][302b] OpenGLFrameBuffer: width:1920
height:1080
[012:647] [2022-08-06 23:53:34 +0000.13449][302b] construct TrivalImageDrawer
0x77f881ce80
[012:647] [2022-08-06 23:53:34 +0000.13475][302b] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x77f881ce80 context 0x77f899cfc0
[012:647] [2022-08-06 23:53:34 +0000.13518][302b] setupGLES:
[012:648] [2022-08-06 23:53:34 +0000.13835][302b] OpenGLRenderProgram::Initialize.
[012:648] [2022-08-06 23:53:34 +0000.13874][302b] The version of the OpenGL: OpenGL
ES GLSL ES 3.20
[012:648] [2022-08-06 23:53:34 +0000.13947][302b] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[012:648] [2022-08-06 23:53:34 +0000.14003][302b] Init open gl render: 0x7710bd6998
[012:648] [2022-08-06 23:53:34 +0000.14049][302b] Fragement shader path:
[012:648] [2022-08-06 23:53:34 +0000.14081][302b] Fragement shader path:
[012:648] [2022-08-06 23:53:34 +0000.14111][302b] create opengl program object.
[012:648] [2022-08-06 23:53:34 +0000.14141][302b] create shader: vertex
[012:648] [2022-08-06 23:53:34 +0000.14390][302b] create shader: fragment
[012:650] [2022-08-06 23:53:34 +0000.16017][302b] Have not extra filter filename!
[012:650] [2022-08-06 23:53:34 +0000.16059][302b] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[012:650] [2022-08-06 23:53:34 +0000.16082][302b] OpenGLRenderProgram::Initialize
success.
[012:650] [2022-08-06 23:53:34 +0000.16155][302b] Setup the OpenGL result:1
[012:650] [2022-08-06 23:53:34 +0000.16437][302a] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4
[012:650] [2022-08-06 23:53:34 +0000.16568][302a] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[012:650] [2022-08-06 23:53:34 +0000.16592][30a7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x770602ce98
[012:650] [2022-08-06 23:53:34 +0000.16649][302a] 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
[012:651] [2022-08-06 23:53:34 +0000.16688][302a] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4
fileFD: -1
[012:651] [2022-08-06 23:53:34 +0000.17043][302a] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4
is opened successfully
[012:651] [2022-08-06 23:53:34 +0000.17082][302a] setupMediaProcessers:
[012:651] [2022-08-06 23:53:34 +0000.17109][302a]
RecordingSessionInternalSimple:setup media processers.
[012:651] [2022-08-06 23:53:34 +0000.17156][302a] construct AAC encoder
[012:651] [2022-08-06 23:53:34 +0000.17679][302a] H264Encoder creating:
superfast011818
[012:652] [2022-08-06 23:53:34 +0000.17723][302a] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[012:652] [2022-08-06 23:53:34 +0000.18098][302a] H264Encode::GetMachineModel is
M2012K11AG
[012:652] [2022-08-06 23:53:34 +0000.18139][302a] H264Encoder machine_mode
is:M2012K11AG
[012:652] [2022-08-06 23:53:34 +0000.18164][302a] H264Encode::machine size :9
machine_mode:M2012K11AG
[012:652] [2022-08-06 23:53:34 +0000.18196][302a] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[012:652] [2022-08-06 23:53:34 +0000.18229][302a] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[012:652] [2022-08-06 23:53:34 +0000.18259][302a] setupCompressionSession:
[012:652] [2022-08-06 23:53:34 +0000.18288][302a] H264Encode::creating hareware
Encoder
[012:652] [2022-08-06 23:53:34 +0000.18319][302a] AndroidHwAvcEncoder
time:531711894 enter.

[012:652] [2022-08-06 23:53:34 +0000.18529][302a] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000078b91a9540 address:0x76f390f760
[012:652] [2022-08-06 23:53:34 +0000.18664][302a] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[012:653] [2022-08-06 23:53:34 +0000.18704][302a] The video avc hw codec address is
0x77195e0550
[012:653] [2022-08-06 23:53:34 +0000.18775][302a] AndroidHwAvcEncoder leave.
expire time = 1 ms

[012:653] [2022-08-06 23:53:34 +0000.18830][302a] RegisterEncodeCompleteCallback


time:531711895 enter.

[012:653] [2022-08-06 23:53:34 +0000.18934][302a] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[012:653] [2022-08-06 23:53:34 +0000.18981][302a] InitEncode time:531711895 enter.

[012:653] [2022-08-06 23:53:34 +0000.19059][302a] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[012:653] [2022-08-06 23:53:34 +0000.19102][302a] Create time:531711895 enter.

[012:653] [2022-08-06 23:53:34 +0000.19136][302a] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[012:653] [2022-08-06 23:53:34 +0000.19173][302a]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x77191e6d80
[012:656] [2022-08-06 23:53:34 +0000.21822][3030] On audio frame the broadcast with
timestamp:531711898 samples:480. (1000 frame for one log)

[012:663] [2022-08-06 23:53:34 +0000.28978][30a0] Get data in mic source, which has
byte length:1764micAudioStream->length():20
[012:663] [2022-08-06 23:53:34 +0000.29446][30a0] The output timestamp from audio
mixer change:531711898
[012:663] [2022-08-06 23:53:34 +0000.29486][30a0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[012:669] [2022-08-06 23:53:34 +0000.35440][302a]
supported_type:image/vnd.android.heic
[012:669] [2022-08-06 23:53:34 +0000.35517][302a] supported_type:video/avc
[012:669] [2022-08-06 23:53:34 +0000.35563][302a] name:OMX.qcom.video.encoder.avc
mime:video/avc
[012:669] [2022-08-06 23:53:34 +0000.35636][302a] hwCodecPrefix :OMX.qcom.
[012:670] [2022-08-06 23:53:34 +0000.35979][302a] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[012:670] [2022-08-06 23:53:34 +0000.36024][302a] mediacodec_createCodecByName
time:531711912 enter.

[012:670] [2022-08-06 23:53:34 +0000.36067][302a] WrapAndroidMediaCodec


time:531711912 enter.

[012:670] [2022-08-06 23:53:34 +0000.36241][302a] WrapAndroidMediaCodec leave.


expire time = 0 ms

[012:693] [2022-08-06 23:53:34 +0000.58861][302a] mediacodec_createCodecByName


leave. expire time = 23 ms

[012:693] [2022-08-06 23:53:34 +0000.58983][302a] WrapAndroidMediaFromat


time:531711935 enter.

[012:693] [2022-08-06 23:53:34 +0000.59101][302a] WrapAndroidMediaFromat leave.


expire time = 0 ms

[012:751] [2022-08-06 23:53:34 +0000.116850][302a] Destroy time:531711993 enter.


[012:751] [2022-08-06 23:53:34 +0000.116913][302a] WrapAndroidMediaFromat::
Destroy
[012:751] [2022-08-06 23:53:34 +0000.116937][302a] Destroy leave. expire time = 0
ms

[012:751] [2022-08-06 23:53:34 +0000.116959][302a] ~WrapAndroidMediaFromat


time:531711993 enter.

[012:751] [2022-08-06 23:53:34 +0000.116981][302a] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[012:751] [2022-08-06 23:53:34 +0000.117005][302a] Create leave. expire time = 98


ms

[012:751] [2022-08-06 23:53:34 +0000.117026][302a] isSemiPlanarSupport


time:531711993 enter.

[012:751] [2022-08-06 23:53:34 +0000.117050][302a] H264Encoder isSemiPlanarSupport


[012:751] [2022-08-06 23:53:34 +0000.117072][302a] isSemiPlanarSupport leave.
expire time = 0 ms

[012:751] [2022-08-06 23:53:34 +0000.117094][302a] creat hw H264Encoder success,


isSemiPlanar:1
[012:751] [2022-08-06 23:53:34 +0000.117196][302a] InitEncode leave. expire time =
98 ms

[012:751] [2022-08-06 23:53:34 +0000.117273][302a] H264Encode::created Encoder


[012:751] [2022-08-06 23:53:34 +0000.117297][302a] H264Encode:: H264 encoder
created.
[012:751] [2022-08-06 23:53:34 +0000.117318][302a] H264 encoder created.
[012:751] [2022-08-06 23:53:34 +0000.117339][302a]
RecordingSessionInternalSimple:created avc encoder avc: 0x770b0d7fc0
[012:751] [2022-08-06 23:53:34 +0000.117365][302a] setOutput:
[012:751] [2022-08-06 23:53:34 +0000.117384][302a]
RecordingSessionInternalSimple:encoder set output to muxer!
[012:751] [2022-08-06 23:53:34 +0000.117405][302a] request a key frame
[012:751] [2022-08-06 23:53:34 +0000.117427][302a] H264Encode:: request a key frame
[012:751] [2022-08-06 23:53:34 +0000.117527][302a] setDisplayRotate :90
[012:751] [2022-08-06 23:53:34 +0000.117557][302a] 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
[012:751] [2022-08-06 23:53:34 +0000.117651][302b] StartRecording:
[012:752] [2022-08-06 23:53:34 +0000.117731][30a0] operator(): Set the recording
session in mic source. recording session: 0x77f86a1b00
[012:752] [2022-08-06 23:53:34 +0000.117844][302b] operator() leave. expire time =
113 ms

[012:752] [2022-08-06 23:53:34 +0000.117838][309f] AF_SpeedFilter audio


0x77f86a1c80 PullFrame
[012:752] [2022-08-06 23:53:34 +0000.117931][309f]
RecordAudioSource::PullAudioFrame
[012:752] [2022-08-06 23:53:34 +0000.117954][309f] AF_SpeedFilter::PullFrame eof4
[012:754] [2022-08-06 23:53:34 +0000.120075][309f]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[012:766] [2022-08-06 23:53:34 +0000.132580][309f] AF_SpeedFilter audio time,
0x77f86a1c80 rcv time: 531711998
[012:766] [2022-08-06 23:53:34 +0000.132660][309f] AF_SpeedFilter audio time,
0x77f86a1c80 rcv time: 531711998in_nSamples:441
[012:767] [2022-08-06 23:53:34 +0000.132761][309f] resampled_data_size:0
[012:813] [2022-08-06 23:53:34 +0000.179178][3030] haveEnoughProcessedData
internalAudioStream.length: 0
[012:817] [2022-08-06 23:53:34 +0000.183224][302b]
MediaFilterCamera::NeedProcessTexture
[012:817] [2022-08-06 23:53:34 +0000.183311][302b] begine recode to first frame
spend time:178
[012:817] [2022-08-06 23:53:34 +0000.183347][302b] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x77f86a1980
[012:817] [2022-08-06 23:53:34 +0000.183433][302b] blur_distance_:0
[012:817] [2022-08-06 23:53:34 +0000.183472][302b] blur_direction_angle_:-90
[012:817] [2022-08-06 23:53:34 +0000.183508][302b]
GPUImageProcessing::SetOrientation orientation: 90
[012:817] [2022-08-06 23:53:34 +0000.183544][302b] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[012:817] [2022-08-06 23:53:34 +0000.183607][302b] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[012:817] [2022-08-06 23:53:34 +0000.183650][302b] GPUImageProcessing: input frame
width1920 X 1080
[012:818] [2022-08-06 23:53:34 +0000.184505][302b] drawYUV420 render
OpenGLRenderProgram:0x7710bd6998
[012:819] [2022-08-06 23:53:34 +0000.185000][302b] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[012:819] [2022-08-06 23:53:34 +0000.185073][302b] CropFilter::OnVideoFrame
outputtexture :16
[012:819] [2022-08-06 23:53:34 +0000.185107][302b] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[012:820] [2022-08-06 23:53:34 +0000.186046][302b] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[012:850] [2022-08-06 23:53:34 +0000.216663][302b] drawYUV420 render
OpenGLRenderProgram:0x7710bd6998
[012:856] [2022-08-06 23:53:34 +0000.221772][302b] The convert RGB to YUV take 4
[012:856] [2022-08-06 23:53:34 +0000.222044][302b] FilterPipeline2::OnVideoFrame
pts 28 last_video_timestamp_ 28
[012:856] [2022-08-06 23:53:34 +0000.222127][302b]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[012:856] [2022-08-06 23:53:34 +0000.222348][30a6]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[012:856] [2022-08-06 23:53:34 +0000.222437][30a6] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[012:856] [2022-08-06 23:53:34 +0000.222493][30a6] push video frame to H264
encoder. (100 frame for one log)

[012:856] [2022-08-06 23:53:34 +0000.222544][30a6] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[012:856] [2022-08-06 23:53:34 +0000.222623][30a6] H264Encode::push video frame to


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

[012:857] [2022-08-06 23:53:34 +0000.222959][30a6] Push an pts:0 to dts queue.


[012:857] [2022-08-06 23:53:34 +0000.223117][30a6] DTS queue for
Generator:0x770b3260b8 0
[012:857] [2022-08-06 23:53:34 +0000.223150][30a6] The input pts:0 fps:30
[012:859] [2022-08-06 23:53:34 +0000.225609][30a6]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[012:877] [2022-08-06 23:53:34 +0000.243347][302b] drawYUV420 render
OpenGLRenderProgram:0x7710bd6998
[012:884] [2022-08-06 23:53:34 +0000.250102][309f] AF_SpeedFilter audio time 222,
0x77f86a1c80 out time: 531711998 org time: 531711998
[012:884] [2022-08-06 23:53:34 +0000.250196][309f] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[012:884] [2022-08-06 23:53:34 +0000.250232][309f]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 531711998
[012:884] [2022-08-06 23:53:34 +0000.250272][309f]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[012:884] [2022-08-06 23:53:34 +0000.250331][309f] AF_SpeedFilter audio time
[012:884] [2022-08-06 23:53:34 +0000.250380][309f] AF_SpeedFilter audio time 111,
0x77f86a1c80 out time: 531712008 org time: 531712008
[012:886] [2022-08-06 23:53:34 +0000.252502][30a5]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[012:890] [2022-08-06 23:53:34 +0000.255818][30a7] add aac audio track with id:1
[012:957] [2022-08-06 23:53:34 +0000.322978][30a6] h264 add frame header cdr flag
[012:957] [2022-08-06 23:53:34 +0000.323553][30a6] h264 add frame header cdr flag
[012:960] [2022-08-06 23:53:34 +0000.325807][30a6] SendFrame
encodedImage._timeStamp:0encodedImage->_length:391856
[012:960] [2022-08-06 23:53:34 +0000.325891][30a6] Received key frame:0
[012:960] [2022-08-06 23:53:34 +0000.325939][30a6] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[012:960] [2022-08-06 23:53:34 +0000.326044][30a6] H264Encode::H264SWEncoder get
callback, length:391856 type:0 nalType:7length:19
[012:960] [2022-08-06 23:53:34 +0000.326085][30a6] H264Encode:: get a sps pps
header!headerSize:32
[012:960] [2022-08-06 23:53:34 +0000.326117][30a6] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[012:960] [2022-08-06 23:53:34 +0000.326276][30a7] get the H.264 SPS parameter
[012:960] [2022-08-06 23:53:34 +0000.326556][30a7] add video track with id:2
[012:963] [2022-08-06 23:53:34 +0000.329173][30a7] get the H.264 PPS parameter
[012:964] [2022-08-06 23:53:34 +0000.330602][30a7] get the H.264 IDR frame
[012:964] [2022-08-06 23:53:34 +0000.330675][30a7] resss:true
[012:965] [2022-08-06 23:53:34 +0000.330729][30a7] video start ts:0
[012:965] [2022-08-06 23:53:34 +0000.330968][30a7] the video frame has been written
into MP4 file
[012:967] [2022-08-06 23:53:34 +0000.333685][30a7] audio start ts:0
[012:968] [2022-08-06 23:53:34 +0000.333770][30a7] the audio frame has been written
into MP4 file
[013:310] [2022-08-06 23:53:34 +0000.676318][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[013:349] [2022-08-06 23:53:34 +0000.714697][302b] The convert RGB to YUV take 3
[013:666] [2022-08-06 23:53:35 +0000.32061][30a0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[013:683] [2022-08-06 23:53:35 +0000.49493][30a6] DTS queue for
Generator:0x770b3260b8 803 836
[013:810] [2022-08-06 23:53:35 +0000.176460][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[013:849] [2022-08-06 23:53:35 +0000.215164][302b] The convert RGB to YUV take 4
[013:993] [2022-08-06 23:53:35 +0000.358856][3030] Run AGC when audioType = 0
[014:188] [2022-08-06 23:53:35 +0000.554218][30a6] Push an pts:1337 to dts queue.
[014:223] [2022-08-06 23:53:35 +0000.588729][30a6] last dts:1303 currentPts:1337
ppsOrSPS:0 queue length:2
[014:319] [2022-08-06 23:53:35 +0000.685107][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[014:352] [2022-08-06 23:53:35 +0000.718343][302b] The convert RGB to YUV take 3
[014:386] [2022-08-06 23:53:35 +0000.752552][309f] AF_SpeedFilter audio
0x77f86a1c80 PullFrame
[014:522] [2022-08-06 23:53:35 +0000.887728][30a6] DTS queue for
Generator:0x770b3260b8 1634 1672
[014:543] [2022-08-06 23:53:35 +0000.909427][3030] haveEnoughProcessedData
internalAudioStream.length: 20
[014:642] [2022-08-06 23:53:36 +0000.8054][309f] RecordAudioSource::PullAudioFrame
[014:660] [2022-08-06 23:53:36 +0000.26421][30a0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[014:812] [2022-08-06 23:53:36 +0000.178646][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[014:849] [2022-08-06 23:53:36 +0000.214711][302b] The convert RGB to YUV take 5
[014:876] [2022-08-06 23:53:36 +0000.242260][302b] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[014:886] [2022-08-06 23:53:36 +0000.252376][30a6] h264 add frame header cdr flag
[014:887] [2022-08-06 23:53:36 +0000.252776][30a6] Received key frame:2002
[014:923] [2022-08-06 23:53:36 +0000.288800][30a7] get the H.264 IDR frame
[015:049] [2022-08-06 23:53:36 +0000.415143][309f] resampled_data_size:7168
[015:086] [2022-08-06 23:53:36 +0000.452571][309f] AF_SpeedFilter::PullFrame eof4
[015:089] [2022-08-06 23:53:36 +0000.455176][309f]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[015:219] [2022-08-06 23:53:36 +0000.584914][30a5]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:4
[015:312] [2022-08-06 23:53:36 +0000.678324][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:321] [2022-08-06 23:53:36 +0000.686817][30a6] DTS queue for
Generator:0x770b3260b8 2470
[015:348] [2022-08-06 23:53:36 +0000.713898][302b] The convert RGB to YUV take 4
[015:520] [2022-08-06 23:53:36 +0000.886041][30a6] Push an pts:2674 to dts queue.
[015:550] [2022-08-06 23:53:36 +0000.915982][30a6] last dts:2634 currentPts:2674
ppsOrSPS:0 queue length:2
[015:657] [2022-08-06 23:53:37 +0000.23214][30a0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[015:809] [2022-08-06 23:53:37 +0000.174752][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:852] [2022-08-06 23:53:37 +0000.218213][302b] The convert RGB to YUV take 5
[015:996] [2022-08-06 23:53:37 +0000.362092][309f] AF_SpeedFilter audio
0x77f86a1c80 PullFrame
[015:997] [2022-08-06 23:53:37 +0000.362968][3030] Run AGC when audioType = 0
[015:997] [2022-08-06 23:53:37 +0000.363071][3030]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:109] [2022-08-06 23:53:37 +0000.474897][302b] drawYUV420 render
OpenGLRenderProgram:0x7710bd6998
[016:152] [2022-08-06 23:53:37 +0000.518260][30a6] DTS queue for
Generator:0x770b3260b8 3300
[016:175] [2022-08-06 23:53:37 +0000.541632][302b] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[016:176] [2022-08-06 23:53:37 +0000.541737][302b] GPUImageProcessing: input frame
width1920 X 1080
[016:176] [2022-08-06 23:53:37 +0000.542203][302b] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[016:176] [2022-08-06 23:53:37 +0000.542293][302b] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[016:185] [2022-08-06 23:53:37 +0000.550814][30a6]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3334
[016:188] [2022-08-06 23:53:37 +0000.553894][30a6] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3300 pts:3300
[016:219] [2022-08-06 23:53:37 +0000.585190][30a6] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3368
[016:219] [2022-08-06 23:53:37 +0000.585307][30a6] push video frame to H264
encoder. (100 frame for one log)
[016:219] [2022-08-06 23:53:37 +0000.585371][30a6] push video frame to H264
encoder. (100 frame for one log) used width:1920 height:1080

[016:219] [2022-08-06 23:53:37 +0000.585407][30a6] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3368(100 frame for one
log)

[016:219] [2022-08-06 23:53:37 +0000.585470][30a6] The input pts:3368 fps:30


[016:221] [2022-08-06 23:53:37 +0000.587571][30a6] SendFrame
encodedImage._timeStamp:3334encodedImage->_length:100624
[016:259] [2022-08-06 23:53:37 +0000.624712][30a6] H264Encode::H264SWEncoder get
callback, length:123680 type:1 nalType:1length:123676
[016:265] [2022-08-06 23:53:37 +0000.631312][3030] haveEnoughProcessedData
internalAudioStream.length: 0
[016:315] [2022-08-06 23:53:37 +0000.681405][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[016:345] [2022-08-06 23:53:37 +0000.711053][302b] The convert RGB to YUV take 3
[016:545] [2022-08-06 23:53:37 +0000.912944][309f]
RecordAudioSource::PullAudioFrame
[016:662] [2022-08-06 23:53:38 +0000.28279][30a0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[016:812] [2022-08-06 23:53:38 +0000.177722][302b] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[016:848] [2022-08-06 23:53:38 +0000.214601][302b] The convert RGB to YUV take 3
[016:849] [2022-08-06 23:53:38 +0000.215547][30a6] Push an pts:4001 to dts queue.
[016:883] [2022-08-06 23:53:38 +0000.248910][30a6] h264 add frame header cdr flag
[016:884] [2022-08-06 23:53:38 +0000.249701][30a6] Received key frame:4001
[016:884] [2022-08-06 23:53:38 +0000.249782][30a6] last dts:3969 currentPts:4001
ppsOrSPS:0 queue length:2
[016:920] [2022-08-06 23:53:38 +0000.286558][30a7] get the H.264 IDR frame
[016:950] [2022-08-06 23:53:38 +0000.316319][302b] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[016:985] [2022-08-06 23:53:38 +0000.350886][30a6] DTS queue for
Generator:0x770b3260b8 4103 4135
[017:240] [2022-08-06 23:53:38 +0000.605841][309f] resampled_data_size:0
[017:309] [2022-08-06 23:53:38 +0000.674841][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[017:347] [2022-08-06 23:53:38 +0000.712986][302b] The convert RGB to YUV take 3
[017:450] [2022-08-06 23:53:38 +0000.816356][309f] AF_SpeedFilter::PullFrame eof4
[017:452] [2022-08-06 23:53:38 +0000.818533][309f]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[017:589] [2022-08-06 23:53:38 +0000.955591][30a5]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:8
[017:645] [2022-08-06 23:53:39 +0000.11642][309f] AF_SpeedFilter audio 0x77f86a1c80
PullFrame
[017:656] [2022-08-06 23:53:39 +0000.21836][30a0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[017:806] [2022-08-06 23:53:39 +0000.171859][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[017:811] [2022-08-06 23:53:39 +0000.177170][30a6] DTS queue for
Generator:0x770b3260b8 4936 4964
[017:846] [2022-08-06 23:53:39 +0000.212685][302b] The convert RGB to YUV take 5
[017:993] [2022-08-06 23:53:39 +0000.359092][3031] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[017:993] [2022-08-06 23:53:39 +0000.359262][3031] _deviceSampleRate:48000

[017:998] [2022-08-06 23:53:39 +0000.363980][3030] Run AGC when audioType = 0


[017:998] [2022-08-06 23:53:39 +0000.364116][3030] haveEnoughProcessedData
internalAudioStream.length: 0
[018:177] [2022-08-06 23:53:39 +0000.543420][30a6] Push an pts:5330 to dts queue.
[018:219] [2022-08-06 23:53:39 +0000.584806][30a6] last dts:5298 currentPts:5330
ppsOrSPS:0 queue length:2
[018:308] [2022-08-06 23:53:39 +0000.673696][302b] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[018:344] [2022-08-06 23:53:39 +0000.710362][302b] The convert RGB to YUV take 4
[018:483] [2022-08-06 23:53:39 +0000.849485][309f]
RecordAudioSource::PullAudioFrame
[018:643] [2022-08-06 23:53:40 +0000.8912][30a6] DTS queue for
Generator:0x770b3260b8 5763 5796
[018:655] [2022-08-06 23:53:40 +0000.21542][30a0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[018:806] [2022-08-06 23:53:40 +0000.171920][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[018:846] [2022-08-06 23:53:40 +0000.211994][302b] The convert RGB to YUV take 4
[018:879] [2022-08-06 23:53:40 +0000.245273][30a6] h264 add frame header cdr flag
[018:880] [2022-08-06 23:53:40 +0000.245755][30a6] Received key frame:6000
[018:916] [2022-08-06 23:53:40 +0000.282002][30a7] get the H.264 IDR frame
[019:043] [2022-08-06 23:53:40 +0000.409108][302b] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[019:297] [2022-08-06 23:53:40 +0000.663652][309f] AF_SpeedFilter audio
0x77f86a1c80 PullFrame
[019:306] [2022-08-06 23:53:40 +0000.672653][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[019:345] [2022-08-06 23:53:40 +0000.710754][302b] The convert RGB to YUV take 4
[019:441] [2022-08-06 23:53:40 +0000.807014][302b] drawYUV420 render
OpenGLRenderProgram:0x7710bd6998
[019:451] [2022-08-06 23:53:40 +0000.816762][30a6] DTS queue for
Generator:0x770b3260b8 6599
[019:461] [2022-08-06 23:53:40 +0000.826776][309f] resampled_data_size:10240
[019:516] [2022-08-06 23:53:40 +0000.882651][30a6]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6668
[019:517] [2022-08-06 23:53:40 +0000.882768][30a6] Push an pts:6668 to dts queue.
[019:540] [2022-08-06 23:53:40 +0000.906216][302b] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[019:540] [2022-08-06 23:53:40 +0000.906296][302b] GPUImageProcessing: input frame
width1920 X 1080
[019:540] [2022-08-06 23:53:40 +0000.906627][302b] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[019:541] [2022-08-06 23:53:40 +0000.906695][302b] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[019:552] [2022-08-06 23:53:40 +0000.917755][30a6] SendFrame
encodedImage._timeStamp:6668encodedImage->_length:108400
[019:552] [2022-08-06 23:53:40 +0000.917912][30a6] last dts:6635 currentPts:6668
ppsOrSPS:0 queue length:2
[019:552] [2022-08-06 23:53:40 +0000.918026][30a6] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6668 pts:6668
[019:580] [2022-08-06 23:53:40 +0000.946480][30a6] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6732
[019:580] [2022-08-06 23:53:40 +0000.946593][30a6] push video frame to H264
encoder. (100 frame for one log)

[019:580] [2022-08-06 23:53:40 +0000.946651][30a6] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[019:581] [2022-08-06 23:53:40 +0000.946710][30a6] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6732(100 frame for one
log)

[019:581] [2022-08-06 23:53:40 +0000.946770][30a6] The input pts:6732 fps:30


[019:617] [2022-08-06 23:53:40 +0000.983072][30a6] H264Encode::H264SWEncoder get
callback, length:21024 type:1 nalType:1length:21020
[019:663] [2022-08-06 23:53:41 +0000.28851][30a0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[019:724] [2022-08-06 23:53:41 +0000.90366][3030] haveEnoughProcessedData
internalAudioStream.length: 0
[019:805] [2022-08-06 23:53:41 +0000.171487][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[019:839] [2022-08-06 23:53:41 +0000.204713][309f] AF_SpeedFilter::PullFrame eof4
[019:846] [2022-08-06 23:53:41 +0000.211914][309f]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[019:847] [2022-08-06 23:53:41 +0000.213117][302b] The convert RGB to YUV take 3
[019:847] [2022-08-06 23:53:41 +0000.213373][30a5]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6965queue_audio_frame_:2
[019:996] [2022-08-06 23:53:41 +0000.362573][3030] Run AGC when audioType = 0
[019:997] [2022-08-06 23:53:41 +0000.363400][3030]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:291] [2022-08-06 23:53:41 +0000.657180][30a6] DTS queue for
Generator:0x770b3260b8 7439
[020:308] [2022-08-06 23:53:41 +0000.673868][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[020:342] [2022-08-06 23:53:41 +0000.708664][302b] The convert RGB to YUV take 4
[020:401] [2022-08-06 23:53:41 +0000.767103][309f]
RecordAudioSource::PullAudioFrame
[020:665] [2022-08-06 23:53:42 +0000.31112][30a0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[020:805] [2022-08-06 23:53:42 +0000.171432][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[020:845] [2022-08-06 23:53:42 +0000.210910][302b] The convert RGB to YUV take 6
[020:848] [2022-08-06 23:53:42 +0000.214167][30a6] Push an pts:7998 to dts queue.
[020:913] [2022-08-06 23:53:42 +0000.279509][30a6] h264 add frame header cdr flag
[020:914] [2022-08-06 23:53:42 +0000.280057][30a6] Received key frame:7998
[020:914] [2022-08-06 23:53:42 +0000.280119][30a6] last dts:7964 currentPts:7998
ppsOrSPS:0 queue length:3
[020:916] [2022-08-06 23:53:42 +0000.282328][30a7] get the H.264 IDR frame
[020:933] [2022-08-06 23:53:42 +0000.299206][309f] AF_SpeedFilter audio
0x77f86a1c80 PullFrame
[021:110] [2022-08-06 23:53:42 +0000.476318][302b] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3984 diff: 17
[021:112] [2022-08-06 23:53:42 +0000.478198][30a6] DTS queue for
Generator:0x770b3260b8 8231 8260
[021:305] [2022-08-06 23:53:42 +0000.671759][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[021:345] [2022-08-06 23:53:42 +0000.711285][302b] The convert RGB to YUV take 4
[021:449] [2022-08-06 23:53:42 +0000.815626][3030] haveEnoughProcessedData
internalAudioStream.length: 0
[021:663] [2022-08-06 23:53:43 +0000.28967][30a0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[021:720] [2022-08-06 23:53:43 +0000.85956][309f] resampled_data_size:1024
[021:808] [2022-08-06 23:53:43 +0000.174679][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[021:843] [2022-08-06 23:53:43 +0000.208849][302b] The convert RGB to YUV take 6
[021:943] [2022-08-06 23:53:43 +0000.309519][30a6] DTS queue for
Generator:0x770b3260b8 9065 9095
[021:997] [2022-08-06 23:53:43 +0000.362968][3030] Run AGC when audioType = 0
[022:179] [2022-08-06 23:53:43 +0000.545409][30a6] Push an pts:9330 to dts queue.
[022:203] [2022-08-06 23:53:43 +0000.568808][30a5]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9287queue_audio_frame_:4
[022:215] [2022-08-06 23:53:43 +0000.581352][30a6] last dts:9296 currentPts:9330
ppsOrSPS:0 queue length:2
[022:244] [2022-08-06 23:53:43 +0000.610132][309f] AF_SpeedFilter::PullFrame eof4
[022:246] [2022-08-06 23:53:43 +0000.612323][309f]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[022:303] [2022-08-06 23:53:43 +0000.669161][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[022:342] [2022-08-06 23:53:43 +0000.708355][309f]
RecordAudioSource::PullAudioFrame
[022:347] [2022-08-06 23:53:43 +0000.713355][302b] The convert RGB to YUV take 10
[022:583] [2022-08-06 23:53:43 +0000.949678][309f] AF_SpeedFilter audio
0x77f86a1c80 PullFrame
[022:614] [2022-08-06 23:53:43 +0000.980305][30a0] The output timestamp from audio
mixer change:531721854
[022:654] [2022-08-06 23:53:44 +0000.20334][3030] On audio frame the broadcast with
timestamp:531721896 samples:480. (1000 frame for one log)

[022:656] [2022-08-06 23:53:44 +0000.22185][30a0] Get data in mic source, which has
byte length:1764micAudioStream->length():20
[022:656] [2022-08-06 23:53:44 +0000.22528][30a0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[022:765] [2022-08-06 23:53:44 +0000.130713][309f] AF_SpeedFilter audio time,
0x77f86a1c80 rcv time: 531721995
[022:765] [2022-08-06 23:53:44 +0000.130804][309f] AF_SpeedFilter audio time,
0x77f86a1c80 rcv time: 531721995in_nSamples:441
[022:778] [2022-08-06 23:53:44 +0000.144046][302b] drawYUV420 render
OpenGLRenderProgram:0x7710bd6998
[022:784] [2022-08-06 23:53:44 +0000.149957][30a6] DTS queue for
Generator:0x770b3260b8 9894 9936
[022:804] [2022-08-06 23:53:44 +0000.170508][302b] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[022:844] [2022-08-06 23:53:44 +0000.210282][302b] The convert RGB to YUV take 8
[022:846] [2022-08-06 23:53:44 +0000.211740][30a6]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:9995
[022:864] [2022-08-06 23:53:44 +0000.229860][309f] FilterPipeline2::OnAudioFrame
pts 10010 last_audio_timestamp_ 10010
[022:864] [2022-08-06 23:53:44 +0000.229976][309f]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 531721998
[022:864] [2022-08-06 23:53:44 +0000.230013][309f]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[022:884] [2022-08-06 23:53:44 +0000.250454][30a6] h264 add frame header cdr flag
[022:885] [2022-08-06 23:53:44 +0000.250912][30a6] SendFrame
encodedImage._timeStamp:9995encodedImage->_length:269888
[022:885] [2022-08-06 23:53:44 +0000.250958][30a6] Received key frame:9995
[022:902] [2022-08-06 23:53:44 +0000.268031][302b] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[022:902] [2022-08-06 23:53:44 +0000.268118][302b] GPUImageProcessing: input frame
width1920 X 1080
[022:902] [2022-08-06 23:53:44 +0000.268452][302b] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[022:902] [2022-08-06 23:53:44 +0000.268533][302b] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[022:912] [2022-08-06 23:53:44 +0000.278074][30a6] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10030 pts:10030
[022:913] [2022-08-06 23:53:44 +0000.279245][30a7] get the H.264 IDR frame
[022:943] [2022-08-06 23:53:44 +0000.309625][30a6] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:10095
[022:944] [2022-08-06 23:53:44 +0000.309707][30a6] push video frame to H264
encoder. (100 frame for one log)

[022:944] [2022-08-06 23:53:44 +0000.309742][30a6] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[022:944] [2022-08-06 23:53:44 +0000.309833][30a6] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:10095(100 frame for one
log)

[022:944] [2022-08-06 23:53:44 +0000.309883][30a6] The input pts:10095 fps:30


[022:975] [2022-08-06 23:53:44 +0000.341407][30a6] H264Encode::H264SWEncoder get
callback, length:104944 type:1 nalType:1length:104940
[023:173] [2022-08-06 23:53:44 +0000.539316][3030] haveEnoughProcessedData
internalAudioStream.length: 0
[023:204] [2022-08-06 23:53:44 +0000.570305][302b] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4980 diff: 21
[023:251] [2022-08-06 23:53:44 +0000.617038][4f9a]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[023:251] [2022-08-06 23:53:44 +0000.617404][302b] operator(): Stop
[023:251] [2022-08-06 23:53:44 +0000.617450][302b] StopPullFrameAndWriteMp4
time:531722493 enter.

[023:251] [2022-08-06 23:53:44 +0000.617480][302b] StopRecording:


[023:254] [2022-08-06 23:53:44 +0000.620636][309f] resampled_data_size:512
[023:255] [2022-08-06 23:53:44 +0000.620708][309f] AF_SpeedFilter audio time 222,
0x77f86a1c80 out time: 531722448 org time: 531722448
[023:255] [2022-08-06 23:53:44 +0000.620814][309f] PullAudioFrame: PullFrame audio
finished.
[023:255] [2022-08-06 23:53:44 +0000.620856][309f]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[023:256] [2022-08-06 23:53:44 +0000.621950][30a6]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:313
[023:258] [2022-08-06 23:53:44 +0000.624176][302a] stop recording
[023:258] [2022-08-06 23:53:44 +0000.624219][302a]
RecordingSessionInternalSimple:destroy media processers
[023:258] [2022-08-06 23:53:44 +0000.624244][302a] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[023:258] [2022-08-06 23:53:44 +0000.624283][302a] H264Encode::flushing hareware
Encoder
[023:258] [2022-08-06 23:53:44 +0000.624482][302a] Flush time:531722500 enter.

[023:258] [2022-08-06 23:53:44 +0000.624534][302a] H264Encoder encoder flush


[023:258] [2022-08-06 23:53:44 +0000.624576][302a] flush output queue
[023:594] [2022-08-06 23:53:44 +0000.960085][302a] Flush leave. expire time = 336
ms

[023:594] [2022-08-06 23:53:44 +0000.960294][302a] ~H264EncodeWrap:


[023:595] [2022-08-06 23:53:44 +0000.960909][302a] ~H264Encode:
[023:595] [2022-08-06 23:53:44 +0000.960961][302a] teardownCompressionSession:
H264Encode::destroying Encoder
[023:595] [2022-08-06 23:53:44 +0000.961034][302a] Release time:531722837 enter.

[023:595] [2022-08-06 23:53:44 +0000.961221][302a] Release:


MediaCodecVideoEncoder::Release _inited:1
[023:595] [2022-08-06 23:53:44 +0000.961289][302a] Destroy time:531722837 enter.

[023:595] [2022-08-06 23:53:44 +0000.961345][302a] H264Encoder encoderDestroy


[023:595] [2022-08-06 23:53:44 +0000.961399][302a]
AndroidMediaCodecVideoEncoder::release env: 0x770b0d8100
[023:595] [2022-08-06 23:53:44 +0000.961455][302a]
AndroidMediaCodecVideoEncoder::Destroy
[023:645] [2022-08-06 23:53:45 +0000.11638][302a] Destroy leave. expire time = 50
ms

[023:646] [2022-08-06 23:53:45 +0000.11848][302a] Release leave. expire time = 51


ms

[023:646] [2022-08-06 23:53:45 +0000.11895][302a] ~AndroidHwAvcEncoder


time:531722888 enter.

[023:646] [2022-08-06 23:53:45 +0000.12033][302a] Release time:531722888 enter.

[023:646] [2022-08-06 23:53:45 +0000.12092][302a] Release: MediaCodecVideoEncoder::


has been released before, just return
[023:646] [2022-08-06 23:53:45 +0000.12358][302a] Release leave. expire time = 0
ms

[023:646] [2022-08-06 23:53:45 +0000.12396][302a] ~AndroidMediaCodecVideoEncoder


[023:646] [2022-08-06 23:53:45 +0000.12422][302a] ~WrapAndroidMediaCodec
time:531722888 enter.

[023:646] [2022-08-06 23:53:45 +0000.12504][302a] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[023:646] [2022-08-06 23:53:45 +0000.12562][302a] video hevc hw codec


destructor:0x77195e0550

[023:646] [2022-08-06 23:53:45 +0000.12623][302a] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[023:647] [2022-08-06 23:53:45 +0000.12723][302a] teardownCompressionSession:


H264Encode::destroyed Encoder
[023:647] [2022-08-06 23:53:45 +0000.12760][302a]
RecordingSessionInternalSimple:destroy aac encoder output!
[023:647] [2022-08-06 23:53:45 +0000.12812][302a] AACSWEncode destructor
[023:650] [2022-08-06 23:53:45 +0000.16459][30a7] MP4 close file successfully
[023:650] [2022-08-06 23:53:45 +0000.16520][30a7] Recording session Internal:
notify recording ok
[023:650] [2022-08-06 23:53:45 +0000.16555][30a7] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4,
output_video_timestamp_:10392 last_video_pts_:10392
[023:650] [2022-08-06 23:53:45 +0000.16600][30a7] OnRecordFinish:
[023:651] [2022-08-06 23:53:45 +0000.17452][30a7] onRecordingOk: net seek
pos:0record video duration:10425record audio duration:10402
[023:652] [2022-08-06 23:53:45 +0000.17972][30a0] destructMicSource_w:
[023:652] [2022-08-06 23:53:45 +0000.18047][30a0] setOutput_w:
MicSource::setOutput() 0x0
[023:652] [2022-08-06 23:53:45 +0000.18088][30a0] close external audio stream

[023:653] [2022-08-06 23:53:45 +0000.18863][302b] releaseThread 0x77f86a0780


[023:653] [2022-08-06 23:53:45 +0000.18920][302b] ~MicSource: Mic source
destroyed:0x77f894d380
[023:655] [2022-08-06 23:53:45 +0000.21307][302b] StopPullFrameAndWriteMp4 leave.
expire time = 404 ms

[023:655] [2022-08-06 23:53:45 +0000.21369][302b] DestroyPipelineAndFilters


time:531722897 enter.

[023:655] [2022-08-06 23:53:45 +0000.21408][302b] UnbindInputFilter 0x77f86a1ac0


this 0x7710bd6bc0
[023:655] [2022-08-06 23:53:45 +0000.21448][302b] UnbindInputFilter 0x77f86a1c58
this 0x77f86a1dd0
[023:655] [2022-08-06 23:53:45 +0000.21494][302b] UnbindInputFilter 0x7710bd6bc0
this 0x77f886b0e0
[023:655] [2022-08-06 23:53:45 +0000.21522][302b] filter: filter pipeline destroy
this: 0x77f886b040
[023:656] [2022-08-06 23:53:45 +0000.22171][302b] ClearVideoOfSources: recodring
total frames:0
[023:656] [2022-08-06 23:53:45 +0000.22223][302b] ClearVideoOfSources:
[023:656] [2022-08-06 23:53:45 +0000.22263][302b] GPUImageProcessing destruct.
[023:656] [2022-08-06 23:53:45 +0000.22329][302b] destroy TrivalImageDrawer
0x77f881ce80
[023:656] [2022-08-06 23:53:45 +0000.22376][302b] The shader has been initialize,
clean up them.

[023:656] [2022-08-06 23:53:45 +0000.22438][302b] ~OpenGLFrameBuffer:


[023:656] [2022-08-06 23:53:45 +0000.22532][302b] ~OpenGLFrameBuffer:
[023:656] [2022-08-06 23:53:45 +0000.22624][302b] ~OpenGLFrameBuffer:
[023:657] [2022-08-06 23:53:45 +0000.22698][302b] ~OpenGLFrameBuffer:
[023:658] [2022-08-06 23:53:45 +0000.24465][302b] ~OpenGLFrameBuffer:
[023:658] [2022-08-06 23:53:45 +0000.24555][302b] ~OpenGLFrameBuffer:
[023:659] [2022-08-06 23:53:45 +0000.24762][302b] GPUImageProcessing destruct
finish.
[023:659] [2022-08-06 23:53:45 +0000.24809][302b] GPURGBAFrame destruct.
[023:659] [2022-08-06 23:53:45 +0000.24850][302b] destroy OpenGLRenderProgram
0x7710bd6998
[023:659] [2022-08-06 23:53:45 +0000.24877][302b] ~CameraSource time:531722901
enter.

[023:659] [2022-08-06 23:53:45 +0000.24898][302b] ~CameraSource leave. expire time


= 0 ms

[023:659] [2022-08-06 23:53:45 +0000.24923][302b] ~RecordAudioSource time:531722901


enter.

[023:659] [2022-08-06 23:53:45 +0000.24978][302b] ~RecordAudioSource leave. expire


time = 0 ms

[023:659] [2022-08-06 23:53:45 +0000.25004][302b] DestroyPipelineAndFilters leave.


expire time = 4 ms

[023:677] [2022-08-06 23:53:45 +0000.43044][4f9a]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[023:678] [2022-08-06 23:53:45 +0000.43958][4f9a] machine model :poco
[023:678] [2022-08-06 23:53:45 +0000.44012][4f9a] Support this machine model :poco
[023:678] [2022-08-06 23:53:45 +0000.44040][4f9a] global inited! current sdk
version: 07-20-936c45f
[023:678] [2022-08-06 23:53:45 +0000.44231][4f9a] filter: filter pipeline construtc
this: 0x7719759580
[023:678] [2022-08-06 23:53:45 +0000.44304][4f9a] MediaFilterGraph:
MediaFilterGraph construct
[023:678] [2022-08-06 23:53:45 +0000.44382][4f9a] GLESContext:
[023:678] [2022-08-06 23:53:45 +0000.44500][4f9a] The result of eglGetDisplay is:
0xb40000780862bf00
[023:680] [2022-08-06 23:53:45 +0000.46644][4f9a] The result of creation:
0x773b29bd00
[023:681] [2022-08-06 23:53:45 +0000.46768][4f9a] The result of
eglCreatePbufferSurface is: 0x772e9ca680
[023:682] [2022-08-06 23:53:45 +0000.48622][4f9a] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4
[023:682] [2022-08-06 23:53:45 +0000.48672][4f9a] The source 0 speed:1
[023:683] [2022-08-06 23:53:45 +0000.48708][4f9a] AddVideoSource: add video source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4,
delay: 0
[023:683] [2022-08-06 23:53:45 +0000.48745][4f9a] CreateDecoderByVideoSource
time:531722925 enter.

[023:683] [2022-08-06 23:53:45 +0000.48974][4f9a] running_decoder_count:0max


count:2
[023:683] [2022-08-06 23:53:45 +0000.49014][4f9a] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7706174400
[023:699] [2022-08-06 23:53:45 +0000.65583][3173] FFMpeg=> [mov,mp4,m4a,3gp,3g2,mj2
@ 0x77191d8c00] Current FFmpeg version git-2021-06-16-97cea6f

[023:769] [2022-08-06 23:53:45 +0000.135490][3173] OnStreamInfoFound: video


duration_: 10425
[023:773] [2022-08-06 23:53:45 +0000.139732][4f9a] start decoder
[023:774] [2022-08-06 23:53:45 +0000.139817][4f9a] CreateDecoderByVideoSource
leave. expire time = 91 ms

[023:774] [2022-08-06 23:53:45 +0000.139880][4f9a] BindInputFilter 0x76f1d50220


this 0x77191e7e98
[023:774] [2022-08-06 23:53:45 +0000.139931][4f9a] BindInputFilter 0x77191e7e98
this 0x77191e7f58
[023:774] [2022-08-06 23:53:45 +0000.139978][4f9a] BindInputFilter 0x76f1d50220
this 0x77191e8018
[023:774] [2022-08-06 23:53:45 +0000.140030][4f9a] BindInputFilter 0x77191e8018
this 0x77191e8198
[023:774] [2022-08-06 23:53:45 +0000.140067][4f9a] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4
[023:774] [2022-08-06 23:53:45 +0000.140130][4f9a] BindInputFilter 0x77191e7f58
this 0x77191e8318
[023:774] [2022-08-06 23:53:45 +0000.140347][4f9a] BindInputFilter 0x77191e8318
this 0x7719759620
[023:774] [2022-08-06 23:53:45 +0000.140394][4f9a] BindInputFilter 0x77191e8198
this 0x77191e8cd8
[023:774] [2022-08-06 23:53:45 +0000.140441][4f9a] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4
[023:776] [2022-08-06 23:53:45 +0000.141816][4f9a]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[023:776] [2022-08-06 23:53:45 +0000.142391][4f9a] machine model :poco
[023:776] [2022-08-06 23:53:45 +0000.142432][4f9a] Support this machine model :poco
[023:776] [2022-08-06 23:53:45 +0000.142495][4f9a] global inited! current sdk
version: 07-20-936c45f
[023:776] [2022-08-06 23:53:45 +0000.142584][4f9a] GetPipeline:
-----------------------------------------
[023:776] [2022-08-06 23:53:45 +0000.142626][4f9a] GetPipeline: source:
0x76f1d50000
[023:776] [2022-08-06 23:53:45 +0000.142686][4f9a] GetPipeline: filter: NULLFilter
[023:777] [2022-08-06 23:53:45 +0000.142717][4f9a] GetPipeline: filter: NULLFilter
[023:777] [2022-08-06 23:53:45 +0000.142747][4f9a] GetPipeline: filter: NULLFilter
[023:777] [2022-08-06 23:53:45 +0000.142785][4f9a] GetPipeline: audio filter:
AuidoNULLFilter
[023:777] [2022-08-06 23:53:45 +0000.142826][4f9a] GetPipeline: audio filter:
AuidoNULLFilter
[023:777] [2022-08-06 23:53:45 +0000.142865][4f9a] GetPipeline: audio filter:
AudioNUllFilter
[023:777] [2022-08-06 23:53:45 +0000.142906][4f9a] GetPipeline:
------------------------------------------
[023:777] [2022-08-06 23:53:45 +0000.142948][4f9a] filter: filter pipeline2 update
pattern: 0
[023:778] [2022-08-06 23:53:45 +0000.143875][4f9a] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[023:778] [2022-08-06 23:53:45 +0000.144048][3174] NO get frame from decoder
[023:780] [2022-08-06 23:53:45 +0000.146527][4f9a] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[023:781] [2022-08-06 23:53:45 +0000.146855][4f9a] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[023:781] [2022-08-06 23:53:45 +0000.147193][4f9a] DeviceInit:
[023:781] [2022-08-06 23:53:45 +0000.147520][4f9a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[023:782] [2022-08-06 23:53:45 +0000.147986][4f9a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[023:782] [2022-08-06 23:53:45 +0000.148325][4f9a] CreatePlatformSpecificObjects:
[023:782] [2022-08-06 23:53:45 +0000.148393][4f9a] audio device use null audio
input and opensl output
[023:782] [2022-08-06 23:53:45 +0000.148456][4f9a] Create OpenSLES output module
with java VM support.

[023:782] [2022-08-06 23:53:45 +0000.148629][4f9a] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[023:783] [2022-08-06 23:53:45 +0000.148862][4f9a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[023:783] [2022-08-06 23:53:45 +0000.149140][4f9a] Create OpenSLES output module
with buffer num:2

[023:783] [2022-08-06 23:53:45 +0000.149229][4f9a] Error(trace.cc:40): Init the


output and input for audio device template.
[023:783] [2022-08-06 23:53:45 +0000.149287][4f9a] Init the output device.

[023:783] [2022-08-06 23:53:45 +0000.149342][4f9a] Set the playout as stereo:1


[023:783] [2022-08-06 23:53:45 +0000.149393][4f9a] Set the sample rate to be:44100

[023:783] [2022-08-06 23:53:45 +0000.149463][4f9a] Low latency buffer size:144 low


sample rate:48000
[023:783] [2022-08-06 23:53:45 +0000.149523][4f9a] DeviceInit: Done
[023:784] [2022-08-06 23:53:45 +0000.149740][4f9a] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[023:784] [2022-08-06 23:53:45 +0000.149760][317f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x770b3b1918
[023:784] [2022-08-06 23:53:45 +0000.150405][3174] NO get frame from decoder
[023:785] [2022-08-06 23:53:45 +0000.151502][4f9a]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[023:785] [2022-08-06 23:53:45 +0000.151665][4f9a]
MediaFilterPlayer::SetPlayerNotify 0x7706145b40
[023:787] [2022-08-06 23:53:45 +0000.152724][4f9a]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[023:787] [2022-08-06 23:53:45 +0000.152788][4f9a]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[023:788] [2022-08-06 23:53:45 +0000.154006][4f9a]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[023:789] [2022-08-06 23:53:45 +0000.155020][4f9a] SetGraphLoop: SetGraphLoop 1
[023:789] [2022-08-06 23:53:45 +0000.155085][4f9a]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[023:790] [2022-08-06 23:53:45 +0000.156074][4f9a]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[023:791] [2022-08-06 23:53:45 +0000.157361][4f9a]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[023:792] [2022-08-06 23:53:45 +0000.158610][4f9a]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[023:795] [2022-08-06 23:53:45 +0000.161453][3174] NO get frame from decoder
[023:796] [2022-08-06 23:53:45 +0000.161851][3182] Start:
[023:796] [2022-08-06 23:53:45 +0000.162007][3180] operator(): video render
started.
[023:796] [2022-08-06 23:53:45 +0000.162055][3180] DriveRender working... (1/200)
[023:796] [2022-08-06 23:53:45 +0000.162096][3180] Warning(video_render.cc:390): No
picture to display (1/50)
[023:796] [2022-08-06 23:53:45 +0000.162175][3182] Start:
[023:796] [2022-08-06 23:53:45 +0000.162297][3182] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[023:796] [2022-08-06 23:53:45 +0000.162352][3182] Reset: history total size: 98
[023:796] [2022-08-06 23:53:45 +0000.162449][3182] DeviceStart:
audioDevice_:0x770b19f000
[023:796] [2022-08-06 23:53:45 +0000.162476][3182] DeviceStart: time profile
playout init before
[023:796] [2022-08-06 23:53:45 +0000.162502][3182] DeviceStart: time profile
playout init end
[023:796] [2022-08-06 23:53:45 +0000.162522][3182] OpenSlesOutput:Start playout

[023:797] [2022-08-06 23:53:45 +0000.163503][3182] Create the opensl output player.


streamtype before:0

[023:797] [2022-08-06 23:53:45 +0000.163551][3182] Create the opensl output player.


streamtype after:3

[023:801] [2022-08-06 23:53:45 +0000.167118][3174] NO get frame from decoder


[023:807] [2022-08-06 23:53:45 +0000.172705][3174] NO get frame from decoder
[023:811] [2022-08-06 23:53:45 +0000.177004][3174] NO get frame from decoder
[023:817] [2022-08-06 23:53:45 +0000.182814][3174] NO get frame from decoder
[023:822] [2022-08-06 23:53:45 +0000.188022][3174] NO get frame from decoder
[023:850] [2022-08-06 23:53:45 +0000.215916][3182] Enqueue opensl buffer size:1764
[023:877] [2022-08-06 23:53:45 +0000.242942][3182] DeviceStart: time profile
playout all end
[023:877] [2022-08-06 23:53:45 +0000.243031][3182] operator(): Audio playback
started.
[023:877] [2022-08-06 23:53:45 +0000.243097][3186]
PlayerSimpleBufferQueueCallbackHandler function
[023:877] [2022-08-06 23:53:45 +0000.243128][3182] operator(): Started now!
[023:877] [2022-08-06 23:53:45 +0000.243178][3186] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[023:877] [2022-08-06 23:53:45 +0000.243204][3186]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[023:877] [2022-08-06 23:53:45 +0000.243384][3183] Pull audio failed.(wait video!)
[023:877] [2022-08-06 23:53:45 +0000.243417][3183]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[023:878] [2022-08-06 23:53:45 +0000.243893][3184] Error(video_source.cc:430): wait
decoder a frame: 0
[023:878] [2022-08-06 23:53:45 +0000.244226][3183] Pull audio failed.(wait video!)
[023:878] [2022-08-06 23:53:45 +0000.244248][3183]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[023:879] [2022-08-06 23:53:45 +0000.245025][3183] Pull audio failed.(wait video!)
[023:879] [2022-08-06 23:53:45 +0000.245054][3183]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[023:880] [2022-08-06 23:53:45 +0000.246319][3183] Pull audio failed.(wait video!)
[023:880] [2022-08-06 23:53:45 +0000.246379][3183]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[023:881] [2022-08-06 23:53:45 +0000.247159][3183] Pull audio failed.(wait video!)
[023:881] [2022-08-06 23:53:45 +0000.247199][3183]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[023:881] [2022-08-06 23:53:45 +0000.247376][3184] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[023:884] [2022-08-06 23:53:45 +0000.250514][3183] audio_frame_list_ empty
[023:893] [2022-08-06 23:53:45 +0000.258713][3184] OnVideoFrameReady(1/200)
[023:893] [2022-08-06 23:53:45 +0000.258943][3180] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[023:899] [2022-08-06 23:53:45 +0000.264793][3180] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:531723141
[023:915] [2022-08-06 23:53:45 +0000.280796][3180] lipsync_debug: render a video
frame
[023:915] [2022-08-06 23:53:45 +0000.280944][3180] lipsync_debug: First video frame
rendering.
[023:925] [2022-08-06 23:53:45 +0000.291046][3180]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:25 timeDelta:26 last
video ts:900 frame->pts:3150 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[023:925] [2022-08-06 23:53:45 +0000.291116][3180] lipsync_debug: tsDelta -
timeDelta = -1
[023:925] [2022-08-06 23:53:45 +0000.291138][3180] lipsync_debug:result remaining
time:0
[023:925] [2022-08-06 23:53:45 +0000.291157][3180] dynamic updated lipsync delay:0
[023:941] [2022-08-06 23:53:45 +0000.306944][3180] lipsync_debug:remaining time:10
tsDelta - timeDelta:22
[023:941] [2022-08-06 23:53:45 +0000.307023][3180] lipsync_debug:result remaining
time:10
[023:950] [2022-08-06 23:53:45 +0000.315910][3184]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[023:993] [2022-08-06 23:53:45 +0000.359784][3030] Run AGC when audioType = 0
[023:995] [2022-08-06 23:53:45 +0000.361557][3030]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:103] [2022-08-06 23:53:45 +0000.469537][3183] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[024:105] [2022-08-06 23:53:45 +0000.470754][3183] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[024:105] [2022-08-06 23:53:45 +0000.470830][3182] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[024:105] [2022-08-06 23:53:45 +0000.470899][3182] The audio playback speed:100
(1/100)
[024:105] [2022-08-06 23:53:45 +0000.470928][3182] lipsync_debug: The current
played audio timestamp is:0(1/50)
[024:105] [2022-08-06 23:53:45 +0000.470952][3182] First audio frame rendering
[024:105] [2022-08-06 23:53:45 +0000.470981][3183] audio frame wait video
frame.last_video_timestamp:103 last_audio_timestamp:207.937
[024:185] [2022-08-06 23:53:45 +0000.550783][3184] video frame wait audio frame:
last_video_timestamp:403 last_audio_timestamp:277.914
[024:557] [2022-08-06 23:53:45 +0000.923413][3180] lipsync_debug:displaying video
ts:60120 The current displayed video timestamp is:531723799
[024:843] [2022-08-06 23:53:46 +0000.208787][3186]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[024:877] [2022-08-06 23:53:46 +0000.243503][3182] do work DoLipsync!
[024:878] [2022-08-06 23:53:46 +0000.243798][3182] total delay:291 videoTsMS:967
audioTsMS:676 diff:291
[024:878] [2022-08-06 23:53:46 +0000.243993][3182] Set the lipsync delay:291
[024:955] [2022-08-06 23:53:46 +0000.320732][3030] haveEnoughProcessedData
internalAudioStream.length: 0
[025:017] [2022-08-06 23:53:46 +0000.382948][4f9a]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_PausePreViewJni:
[025:017] [2022-08-06 23:53:46 +0000.383067][4f9a] PausePreView:
[025:023] [2022-08-06 23:53:46 +0000.389117][3182] operator():
[025:023] [2022-08-06 23:53:46 +0000.389240][3182] Warning(audio_playback.cc:748):
operator(): Audio playback paused.
[025:023] [2022-08-06 23:53:46 +0000.389276][3182] Pause:
[025:023] [2022-08-06 23:53:46 +0000.389356][3180] operator(): video render paused.
[025:024] [2022-08-06 23:53:46 +0000.390344][3182] operator(): Player paused.
[025:080] [2022-08-06 23:53:46 +0000.446235][3186] NeedMorePlayData: Scale the
volume to zero now!
[025:880] [2022-08-06 23:53:47 +0000.245793][3186]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[025:996] [2022-08-06 23:53:47 +0000.362659][3030] Run AGC when audioType = 0
[026:674] [2022-08-06 23:53:48 +0000.40502][3030] haveEnoughProcessedData
internalAudioStream.length: 0
[026:849] [2022-08-06 23:53:48 +0000.214882][3186]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[027:881] [2022-08-06 23:53:49 +0000.246754][3186]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[027:992] [2022-08-06 23:53:49 +0000.358155][3031] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[027:992] [2022-08-06 23:53:49 +0000.358348][3031] _deviceSampleRate:48000

[027:995] [2022-08-06 23:53:49 +0000.361636][3030] Run AGC when audioType = 0


[027:996] [2022-08-06 23:53:49 +0000.361980][3030]
AudioDeviceDataHandler::MixAndSendOutFrame
[028:400] [2022-08-06 23:53:49 +0000.766048][3030] haveEnoughProcessedData
internalAudioStream.length: 10
[028:861] [2022-08-06 23:53:50 +0000.227272][3186]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[029:880] [2022-08-06 23:53:51 +0000.246325][3186]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[029:994] [2022-08-06 23:53:51 +0000.359955][3030] Run AGC when audioType = 0
[030:115] [2022-08-06 23:53:51 +0000.481193][3030] haveEnoughProcessedData
internalAudioStream.length: 0
[030:857] [2022-08-06 23:53:52 +0000.222796][3186]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[031:837] [2022-08-06 23:53:53 +0000.202853][3030] haveEnoughProcessedData
internalAudioStream.length: 0
[031:881] [2022-08-06 23:53:53 +0000.246811][3186]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[031:999] [2022-08-06 23:53:53 +0000.365099][3030] Run AGC when audioType = 0
[031:999] [2022-08-06 23:53:53 +0000.365658][3030]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:319] [2022-08-06 23:53:53 +0000.685345][4f9a]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[032:320] [2022-08-06 23:53:53 +0000.685957][3182] Stop:
[032:320] [2022-08-06 23:53:53 +0000.686160][3180] operator(): Video Render
stopped.
[032:320] [2022-08-06 23:53:53 +0000.686352][3182] Stop:
[032:320] [2022-08-06 23:53:53 +0000.686650][3182] DeviceStop:
audioDevice_:0x770b19f000
[032:321] [2022-08-06 23:53:53 +0000.686782][3182] OpenSlesOutput:Stop playout

[032:326] [2022-08-06 23:53:53 +0000.692631][3182] DeviceStop: Done


[032:329] [2022-08-06 23:53:53 +0000.695369][3182] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[032:329] [2022-08-06 23:53:53 +0000.695533][3182] operator(): Stop now!
[032:371] [2022-08-06 23:53:53 +0000.737078][4f9a]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[032:371] [2022-08-06 23:53:53 +0000.737215][4f9a] StopPreView: Have Stopped,
operation cancel
[032:371] [2022-08-06 23:53:53 +0000.737248][4f9a] Stop:
[032:371] [2022-08-06 23:53:53 +0000.737406][3182] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[032:371] [2022-08-06 23:53:53 +0000.737615][4f9a] DeviceRelease:
audioDevice_:0x770b19f000
[032:371] [2022-08-06 23:53:53 +0000.737659][4f9a] OpenSlesOutput:Stop playout

[032:372] [2022-08-06 23:53:53 +0000.737724][4f9a] DeviceRelease: Release the


webrtc device object.
[032:372] [2022-08-06 23:53:53 +0000.737932][4f9a] OpenSlesOutput destruct.

[032:372] [2022-08-06 23:53:53 +0000.737989][4f9a] DeviceRelease: Done


[032:372] [2022-08-06 23:53:53 +0000.738082][4f9a] Stop:
[032:372] [2022-08-06 23:53:53 +0000.738220][3180] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[032:374] [2022-08-06 23:53:53 +0000.740417][4f9a] global uninited!
[032:375] [2022-08-06 23:53:53 +0000.741588][4f9a]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[032:376] [2022-08-06 23:53:53 +0000.741704][4f9a] ~MediaFilterGraph:
MediaFilterGraph destruct
[032:376] [2022-08-06 23:53:53 +0000.741734][4f9a] RemoveVideoBackGroud: hava not
add video backgroud
[032:376] [2022-08-06 23:53:53 +0000.741774][4f9a] UnbindInputFilter 0x77191e8318
this 0x7719759620
[032:376] [2022-08-06 23:53:53 +0000.741807][4f9a] ClearAllSource: remove source
filter, sourceid: 0x76f1d50000
[032:376] [2022-08-06 23:53:53 +0000.741829][4f9a] DestoryDecoderByVideoSource
time:531731618 enter.

[032:376] [2022-08-06 23:53:53 +0000.741856][4f9a] ~VideoBindDecoder time:531731618


enter.

[032:377] [2022-08-06 23:53:53 +0000.743458][4f9a] CleanUp time:531731619 enter.

[032:383] [2022-08-06 23:53:53 +0000.749359][4f9a] CleanUp leave. expire time = 6


ms

[032:383] [2022-08-06 23:53:53 +0000.749446][4f9a] CleanUp time:531731625 enter.


[032:384] [2022-08-06 23:53:53 +0000.749913][4f9a] CleanUp leave. expire time = 1
ms

[032:384] [2022-08-06 23:53:53 +0000.750529][4f9a] ~VideoBindDecoder leave. expire


time = 8 ms

[032:384] [2022-08-06 23:53:53 +0000.750570][4f9a] DestoryDecoderByVideoSource


leave. expire time = 8 ms

[032:384] [2022-08-06 23:53:53 +0000.750621][4f9a] UnbindInputFilter 0x77191e7f58


this 0x77191e8318
[032:384] [2022-08-06 23:53:53 +0000.750666][4f9a] UnbindInputFilter 0x77191e7e98
this 0x77191e7f58
[032:385] [2022-08-06 23:53:53 +0000.750712][4f9a] UnbindInputFilter 0x76f1d50220
this 0x77191e7e98
[032:385] [2022-08-06 23:53:53 +0000.750756][4f9a] UnbindInputFilter 0x77191e8198
this 0x77191e8cd8
[032:385] [2022-08-06 23:53:53 +0000.750853][4f9a] UnbindInputFilter 0x77191e8018
this 0x77191e8198
[032:385] [2022-08-06 23:53:53 +0000.750896][4f9a] UnbindInputFilter 0x76f1d50220
this 0x77191e8018
[032:385] [2022-08-06 23:53:53 +0000.751076][4f9a] ~GLESContext:
[032:386] [2022-08-06 23:53:53 +0000.751770][4f9a] GLESContext destruct finish.
[032:386] [2022-08-06 23:53:53 +0000.751812][4f9a] filter: filter pipeline destroy
this: 0x7719759580
[032:386] [2022-08-06 23:53:53 +0000.752641][4f9a]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[032:387] [2022-08-06 23:53:53 +0000.753315][4f9a] machine model :poco
[032:387] [2022-08-06 23:53:53 +0000.753361][4f9a] Support this machine model :poco
[032:387] [2022-08-06 23:53:53 +0000.753470][4f9a] global inited! current sdk
version: 07-20-936c45f
[032:388] [2022-08-06 23:53:53 +0000.753880][4f9a] filter: filter pipeline
construtc this: 0x7719759580
[032:388] [2022-08-06 23:53:53 +0000.753913][4f9a] MediaFilterGraph:
MediaFilterGraph construct
[032:388] [2022-08-06 23:53:53 +0000.753937][4f9a] GLESContext:
[032:388] [2022-08-06 23:53:53 +0000.754209][4f9a] The result of eglGetDisplay is:
0xb40000780862bf00
[032:389] [2022-08-06 23:53:53 +0000.755178][4f9a] The result of creation:
0x77877e6780
[032:389] [2022-08-06 23:53:53 +0000.755286][4f9a] The result of
eglCreatePbufferSurface is: 0x773b1b4100
[032:389] [2022-08-06 23:53:53 +0000.755402][4f9a] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4
[032:389] [2022-08-06 23:53:53 +0000.755440][4f9a] The source 0 speed:1
[032:389] [2022-08-06 23:53:53 +0000.755482][4f9a] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4,
delay: 0
[032:389] [2022-08-06 23:53:53 +0000.755523][4f9a] CreateDecoderByVideoSource
time:531731631 enter.

[032:390] [2022-08-06 23:53:53 +0000.755795][4f9a] running_decoder_count:0max


count:2
[032:390] [2022-08-06 23:53:53 +0000.755829][4f9a] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7706174400
[032:391] [2022-08-06 23:53:53 +0000.757301][322e] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x77f88d3600] Current FFmpeg version git-2021-06-16-
97cea6f

[032:453] [2022-08-06 23:53:53 +0000.819509][322e] OnStreamInfoFound: video


duration_: 10425
[032:455] [2022-08-06 23:53:53 +0000.821148][322f] NO get frame from decoder
[032:455] [2022-08-06 23:53:53 +0000.821162][4f9a] start decoder
[032:455] [2022-08-06 23:53:53 +0000.821568][4f9a] CreateDecoderByVideoSource
leave. expire time = 66 ms

[032:455] [2022-08-06 23:53:53 +0000.821634][4f9a] BindInputFilter 0x76f1d50220


this 0x77191e7dd8
[032:456] [2022-08-06 23:53:53 +0000.821703][4f9a] BindInputFilter 0x77191e7dd8
this 0x77191e7e98
[032:456] [2022-08-06 23:53:53 +0000.821764][4f9a] BindInputFilter 0x76f1d50220
this 0x77191e7f58
[032:456] [2022-08-06 23:53:53 +0000.821804][4f9a] BindInputFilter 0x77191e7f58
this 0x77191e8018
[032:456] [2022-08-06 23:53:53 +0000.821840][4f9a] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4
[032:456] [2022-08-06 23:53:53 +0000.821885][4f9a] BindInputFilter 0x77191e7e98
this 0x77191e8198
[032:456] [2022-08-06 23:53:53 +0000.821985][4f9a] BindInputFilter 0x77191e8198
this 0x7719759620
[032:456] [2022-08-06 23:53:53 +0000.822036][4f9a] BindInputFilter 0x77191e8018
this 0x77191e8318
[032:456] [2022-08-06 23:53:53 +0000.822113][4f9a] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_531711892.mp4
[032:457] [2022-08-06 23:53:53 +0000.823497][4f9a]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[032:459] [2022-08-06 23:53:53 +0000.825616][4f9a] MediaComposeFile time:531731701
enter.

[032:459] [2022-08-06 23:53:53 +0000.825634][322f] NO get frame from decoder


[032:460] [2022-08-06 23:53:53 +0000.825686][4f9a] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[032:460] [2022-08-06 23:53:53 +0000.825915][4f9a] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[032:460] [2022-08-06 23:53:53 +0000.825971][4f9a] Recording session using default
bitrate support by app:31457280
[032:460] [2022-08-06 23:53:53 +0000.826101][323e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x770f0605c0
[032:460] [2022-08-06 23:53:53 +0000.826164][323e] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[032:460] [2022-08-06 23:53:53 +0000.826301][4f9a] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[032:460] [2022-08-06 23:53:53 +0000.826521][4f9a] GetPipeline:
-----------------------------------------
[032:460] [2022-08-06 23:53:53 +0000.826560][4f9a] GetPipeline: source:
0x76f1d50000
[032:460] [2022-08-06 23:53:53 +0000.826585][4f9a] GetPipeline: filter: NULLFilter
[032:460] [2022-08-06 23:53:53 +0000.826609][4f9a] GetPipeline: filter: NULLFilter
[032:460] [2022-08-06 23:53:53 +0000.826634][4f9a] GetPipeline: filter: NULLFilter
[032:460] [2022-08-06 23:53:53 +0000.826660][4f9a] GetPipeline: audio filter:
AuidoNULLFilter
[032:461] [2022-08-06 23:53:53 +0000.826686][4f9a] GetPipeline: audio filter:
AuidoNULLFilter
[032:461] [2022-08-06 23:53:53 +0000.826711][4f9a] GetPipeline: audio filter:
AudioNUllFilter
[032:461] [2022-08-06 23:53:53 +0000.826736][4f9a] GetPipeline:
------------------------------------------
[032:461] [2022-08-06 23:53:53 +0000.826765][4f9a] filter: filter pipeline2 update
pattern: 2
[032:461] [2022-08-06 23:53:53 +0000.827284][322f] NO get frame from decoder
[032:464] [2022-08-06 23:53:53 +0000.830160][322f] NO get frame from decoder
[032:464] [2022-08-06 23:53:53 +0000.830599][4f9a] MediaComposeFile leave. expire
time = 5 ms

[032:465] [2022-08-06 23:53:53 +0000.831062][4f9a] machine model :poco


[032:465] [2022-08-06 23:53:53 +0000.831107][4f9a] Support this machine model :poco
[032:465] [2022-08-06 23:53:53 +0000.831138][4f9a] global inited! current sdk
version: 07-20-936c45f
[032:467] [2022-08-06 23:53:53 +0000.832836][322f] NO get frame from decoder
[032:468] [2022-08-06 23:53:53 +0000.834172][322f] NO get frame from decoder
[032:469] [2022-08-06 23:53:53 +0000.835556][322f] NO get frame from decoder
[032:478] [2022-08-06 23:53:53 +0000.844560][322f] NO get frame from decoder
[032:484] [2022-08-06 23:53:53 +0000.850305][4f9a]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[032:484] [2022-08-06 23:53:53 +0000.850436][4f9a] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 256
[032:485] [2022-08-06 23:53:53 +0000.851162][4f9a]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[032:485] [2022-08-06 23:53:53 +0000.851224][4f9a] BeginCompose: BeginCompose, is
composing 0
[032:485] [2022-08-06 23:53:53 +0000.851586][323e] start recording, file path:
[032:486] [2022-08-06 23:53:53 +0000.851888][323e] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 256 audio_timescale:44100
video_timescale:90000
[032:486] [2022-08-06 23:53:53 +0000.851957][323e] 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
[032:486] [2022-08-06 23:53:53 +0000.852009][323e] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 256
[032:486] [2022-08-06 23:53:53 +0000.852103][323e] fd_open successed
handle:0xb4000078b92790b0
[032:486] [2022-08-06 23:53:53 +0000.852665][323e] create mp4 file:325
m_fileHandle: 0x770b349200
[032:487] [2022-08-06 23:53:53 +0000.852712][323e] MP4 file: is opened successfully
[032:487] [2022-08-06 23:53:53 +0000.852746][323e] setupMediaProcessers:
[032:487] [2022-08-06 23:53:53 +0000.852777][323e]
RecordingSessionInternalSimple:setup media processers.
[032:487] [2022-08-06 23:53:53 +0000.852808][323e] construct AAC encoder
[032:487] [2022-08-06 23:53:53 +0000.853375][323e] H264Encoder creating:
ultrafast012323
[032:487] [2022-08-06 23:53:53 +0000.853437][323e] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[032:488] [2022-08-06 23:53:53 +0000.854347][323e] H264Encode::GetMachineModel is
M2012K11AG
[032:488] [2022-08-06 23:53:53 +0000.854406][323e] H264Encoder machine_mode
is:M2012K11AG
[032:488] [2022-08-06 23:53:53 +0000.854439][323e] H264Encode::machine size :9
machine_mode:M2012K11AG
[032:488] [2022-08-06 23:53:53 +0000.854474][323e] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[032:488] [2022-08-06 23:53:53 +0000.854507][323e] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[032:488] [2022-08-06 23:53:53 +0000.854538][323e] setupCompressionSession:
[032:488] [2022-08-06 23:53:53 +0000.854569][323e] H264Encode::creating hareware
Encoder
[032:488] [2022-08-06 23:53:53 +0000.854601][323e] AndroidHwAvcEncoder
time:531731730 enter.

[032:489] [2022-08-06 23:53:53 +0000.854872][323e] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000078b91a9540 address:0x76f390f760
[032:489] [2022-08-06 23:53:53 +0000.855042][323e] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[032:489] [2022-08-06 23:53:53 +0000.855098][323e] The video avc hw codec address
is 0x77195e06a8
[032:489] [2022-08-06 23:53:53 +0000.855193][323e] AndroidHwAvcEncoder leave.
expire time = 1 ms

[032:489] [2022-08-06 23:53:53 +0000.855232][323e] RegisterEncodeCompleteCallback


time:531731731 enter.

[032:489] [2022-08-06 23:53:53 +0000.855347][323e] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[032:489] [2022-08-06 23:53:53 +0000.855396][323e] InitEncode time:531731731


enter.

[032:489] [2022-08-06 23:53:53 +0000.855485][323e] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[032:489] [2022-08-06 23:53:53 +0000.855531][323e] Create time:531731731 enter.

[032:489] [2022-08-06 23:53:53 +0000.855567][323e] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[032:489] [2022-08-06 23:53:53 +0000.855609][323e]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7719203680
[032:490] [2022-08-06 23:53:53 +0000.856088][323e]
supported_type:image/vnd.android.heic
[032:490] [2022-08-06 23:53:53 +0000.856162][323e] supported_type:video/avc
[032:490] [2022-08-06 23:53:53 +0000.856198][323e] name:OMX.qcom.video.encoder.avc
mime:video/avc
[032:490] [2022-08-06 23:53:53 +0000.856254][323e] hwCodecPrefix :OMX.qcom.
[032:490] [2022-08-06 23:53:53 +0000.856293][323e] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[032:490] [2022-08-06 23:53:53 +0000.856334][323e] mediacodec_createCodecByName
time:531731732 enter.

[032:490] [2022-08-06 23:53:53 +0000.856371][323e] WrapAndroidMediaCodec


time:531731732 enter.

[032:490] [2022-08-06 23:53:53 +0000.856575][323e] WrapAndroidMediaCodec leave.


expire time = 0 ms

[032:491] [2022-08-06 23:53:53 +0000.857235][3247] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x771923e498
[032:560] [2022-08-06 23:53:53 +0000.926674][323e] mediacodec_createCodecByName
leave. expire time = 71 ms

[032:561] [2022-08-06 23:53:53 +0000.926942][323e] WrapAndroidMediaFromat


time:531731803 enter.
[032:562] [2022-08-06 23:53:53 +0000.928232][323e] WrapAndroidMediaFromat leave.
expire time = 1 ms

[032:601] [2022-08-06 23:53:53 +0000.967658][323e] Destroy time:531731843 enter.

[032:602] [2022-08-06 23:53:53 +0000.967764][323e] WrapAndroidMediaFromat::


Destroy
[032:602] [2022-08-06 23:53:53 +0000.967792][323e] Destroy leave. expire time = 1
ms

[032:602] [2022-08-06 23:53:53 +0000.967815][323e] ~WrapAndroidMediaFromat


time:531731844 enter.

[032:602] [2022-08-06 23:53:53 +0000.967837][323e] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[032:602] [2022-08-06 23:53:53 +0000.967860][323e] Create leave. expire time = 113


ms

[032:602] [2022-08-06 23:53:53 +0000.967883][323e] isSemiPlanarSupport


time:531731844 enter.

[032:602] [2022-08-06 23:53:53 +0000.967951][323e] H264Encoder isSemiPlanarSupport


[032:602] [2022-08-06 23:53:53 +0000.967978][323e] isSemiPlanarSupport leave.
expire time = 0 ms

[032:602] [2022-08-06 23:53:53 +0000.968069][323e] creat hw H264Encoder success,


isSemiPlanar:1
[032:602] [2022-08-06 23:53:53 +0000.968157][323e] InitEncode leave. expire time =
113 ms

[032:602] [2022-08-06 23:53:53 +0000.968205][323e] H264Encode::created Encoder


[032:602] [2022-08-06 23:53:53 +0000.968230][323e] H264Encode:: H264 encoder
created.
[032:602] [2022-08-06 23:53:53 +0000.968251][323e] H264 encoder created.
[032:602] [2022-08-06 23:53:53 +0000.968271][323e]
RecordingSessionInternalSimple:created avc encoder avc: 0x770af30c00
[032:602] [2022-08-06 23:53:53 +0000.968294][323e] setOutput:
[032:602] [2022-08-06 23:53:53 +0000.968314][323e]
RecordingSessionInternalSimple:encoder set output to muxer!
[032:602] [2022-08-06 23:53:53 +0000.968335][323e] request a key frame
[032:602] [2022-08-06 23:53:53 +0000.968355][323e] H264Encode:: request a key frame
[032:607] [2022-08-06 23:53:53 +0000.972783][323e] setDisplayRotate :90
[032:607] [2022-08-06 23:53:53 +0000.972932][323e] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[032:610] [2022-08-06 23:53:53 +0000.976157][323f] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[032:613] [2022-08-06 23:53:53 +0000.979231][323f]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[032:613] [2022-08-06 23:53:53 +0000.979641][3241] Error(video_source.cc:430): wait
decoder a frame: 0
[032:693] [2022-08-06 23:53:54 +0000.58906][3242] audio_frame_list_ empty
[032:810] [2022-08-06 23:53:54 +0000.175982][323e] setDisplayRotate :90
[032:810] [2022-08-06 23:53:54 +0000.176092][323e] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[032:810] [2022-08-06 23:53:54 +0000.176243][3247] add aac audio track with id:1
[032:810] [2022-08-06 23:53:54 +0000.176357][3247] audio start ts:0
[032:810] [2022-08-06 23:53:54 +0000.176412][3247] the audio frame has been written
into MP4 file
[032:813] [2022-08-06 23:53:54 +0000.178698][323f] Push an pts:235 to dts queue.
[032:824] [2022-08-06 23:53:54 +0000.190029][323f] h264 add frame header cdr flag
[032:825] [2022-08-06 23:53:54 +0000.191095][323f] h264 add frame header cdr flag
[032:827] [2022-08-06 23:53:54 +0000.193557][323f] Received key frame:10
[032:828] [2022-08-06 23:53:54 +0000.193720][323f] H264Encode:: get a sps pps
header!headerSize:32
[032:828] [2022-08-06 23:53:54 +0000.193868][3247] get the H.264 SPS parameter
[032:828] [2022-08-06 23:53:54 +0000.194092][3247] add video track with id:2
[032:829] [2022-08-06 23:53:54 +0000.195626][3247] get the H.264 PPS parameter
[032:830] [2022-08-06 23:53:54 +0000.196571][3247] get the H.264 IDR frame
[032:830] [2022-08-06 23:53:54 +0000.196638][3247] resss:true
[032:830] [2022-08-06 23:53:54 +0000.196666][3247] video start ts:10
[032:831] [2022-08-06 23:53:54 +0000.196794][3247] the video frame has been written
into MP4 file
[032:895] [2022-08-06 23:53:54 +0000.260835][323f] DTS queue for
Generator:0x771923e6b8 203 235 269 306 336 368
[032:908] [2022-08-06 23:53:54 +0000.273814][323f] last dts:203 currentPts:235
ppsOrSPS:0 queue length:6
[033:136] [2022-08-06 23:53:54 +0000.502282][3242] audio_frame_list_ empty
[033:167] [2022-08-06 23:53:54 +0000.532734][323f] DTS queue for
Generator:0x771923e6b8 1066 1101 1136 1164
[033:325] [2022-08-06 23:53:54 +0000.690824][323e] setDisplayRotate :90
[033:325] [2022-08-06 23:53:54 +0000.690900][323e] 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
[033:338] [2022-08-06 23:53:54 +0000.704587][323e] setDisplayRotate :90
[033:338] [2022-08-06 23:53:54 +0000.704667][323e] 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
[033:346] [2022-08-06 23:53:54 +0000.712477][323e] setDisplayRotate :90
[033:346] [2022-08-06 23:53:54 +0000.712555][323e] 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
[033:354] [2022-08-06 23:53:54 +0000.719856][3241] Error(video_source.cc:430): wait
decoder a frame: 0
[033:445] [2022-08-06 23:53:54 +0000.811424][3241] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[033:457] [2022-08-06 23:53:54 +0000.823267][323f] Push an pts:1570 to dts queue.
[033:547] [2022-08-06 23:53:54 +0000.913558][323f] last dts:1537 currentPts:1570
ppsOrSPS:0 queue length:7
[033:563] [2022-08-06 23:53:54 +0000.929004][3242] audio_frame_list_ empty
[033:657] [2022-08-06 23:53:55 +0000.23237][323f] DTS queue for
Generator:0x771923e6b8 1869 1900 1936 1969 2002 2035
[033:720] [2022-08-06 23:53:55 +0000.86069][3030] haveEnoughProcessedData
internalAudioStream.length: 0
[033:864] [2022-08-06 23:53:55 +0000.230174][323e] setDisplayRotate :90
[033:866] [2022-08-06 23:53:55 +0000.231854][323e] 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
[033:874] [2022-08-06 23:53:55 +0000.240762][323f] h264 add frame header cdr flag
[033:875] [2022-08-06 23:53:55 +0000.241339][323f] Received key frame:2002
[033:880] [2022-08-06 23:53:55 +0000.246686][3247] get the H.264 IDR frame
[033:930] [2022-08-06 23:53:55 +0000.296594][3241] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5952 diff: 49
[033:940] [2022-08-06 23:53:55 +0000.306342][3241] Error(video_source.cc:430): wait
decoder a frame: 0
[033:996] [2022-08-06 23:53:55 +0000.362397][3030] Run AGC when audioType = 0
[034:000] [2022-08-06 23:53:55 +0000.365955][3242] audio_frame_list_ empty
[034:125] [2022-08-06 23:53:55 +0000.491489][323f] Push an pts:2902 to dts queue.
[034:126] [2022-08-06 23:53:55 +0000.491939][323f] DTS queue for
Generator:0x771923e6b8 2634 2674 2701 2735 2766 2800 2836 2867 2902
[034:188] [2022-08-06 23:53:55 +0000.554419][323f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3035
[034:188] [2022-08-06 23:53:55 +0000.554517][323f] push video frame to H264
encoder. (100 frame for one log)

[034:188] [2022-08-06 23:53:55 +0000.554561][323f] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[034:188] [2022-08-06 23:53:55 +0000.554589][323f] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3035(100 frame for one
log)

[034:188] [2022-08-06 23:53:55 +0000.554632][323f] The input pts:3035 fps:30


[034:253] [2022-08-06 23:53:55 +0000.619081][323f] SendFrame
encodedImage._timeStamp:2902encodedImage->_length:158784
[034:253] [2022-08-06 23:53:55 +0000.619171][323f] last dts:2867 currentPts:2902
ppsOrSPS:0 queue length:9
[034:253] [2022-08-06 23:53:55 +0000.619215][323f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2902 pts:2902
[034:288] [2022-08-06 23:53:55 +0000.654609][323f] H264Encode::H264SWEncoder get
callback, length:115200 type:1 nalType:1length:115196
[034:328] [2022-08-06 23:53:55 +0000.693927][3242] audio_frame_list_ empty
[034:421] [2022-08-06 23:53:55 +0000.787554][323e] setDisplayRotate :90
[034:422] [2022-08-06 23:53:55 +0000.787786][323e] 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
[034:599] [2022-08-06 23:53:55 +0000.964735][323f] DTS queue for
Generator:0x771923e6b8 3499 3534 3566 3600 3640 3672 3700
[034:614] [2022-08-06 23:53:55 +0000.980660][3241] Error(video_source.cc:430): wait
decoder a frame: 0
[034:693] [2022-08-06 23:53:56 +0000.59525][4fb9]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[034:694] [2022-08-06 23:53:56 +0000.60039][4fb9] ~MediaFilterCamera time:531733935
enter.

[034:695] [2022-08-06 23:53:56 +0000.60890][4fb9] StopPullFrameAndWriteMp4


time:531733937 enter.

[034:696] [2022-08-06 23:53:56 +0000.62601][302a] stop recording


[034:696] [2022-08-06 23:53:56 +0000.62650][302a] we have stopped recording before
[034:706] [2022-08-06 23:53:56 +0000.71879][4fb9] StopPullFrameAndWriteMp4 leave.
expire time = 11 ms

[034:707] [2022-08-06 23:53:56 +0000.72909][4fb9] DestroyPipelineAndFilters


time:531733949 enter.

[034:707] [2022-08-06 23:53:56 +0000.73049][4fb9] DestroyPipelineAndFilters leave.


expire time = 0 ms

[034:707] [2022-08-06 23:53:56 +0000.73171][4fb9] AppDeviceManagerStopMic

[034:707] [2022-08-06 23:53:56 +0000.73290][4fb9] AppDeviceManagerStopMic::mic


status is on
[034:707] [2022-08-06 23:53:56 +0000.73329][4fb9] Try to stop webrtc device.
[034:707] [2022-08-06 23:53:56 +0000.73366][4fb9] Set record state to
stopped.threadID:20409

[034:709] [2022-08-06 23:53:56 +0000.75204][3242] audio_frame_list_ empty


[034:714] [2022-08-06 23:53:56 +0000.80230][323f] Push an pts:4230 to dts queue.
[034:757] [2022-08-06 23:53:56 +0000.123163][4fb9] Try to destory the
recorder.threadID:20409

[034:813] [2022-08-06 23:53:56 +0000.178778][323e] setDisplayRotate :90


[034:813] [2022-08-06 23:53:56 +0000.178849][323e] 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
[034:817] [2022-08-06 23:53:56 +0000.183046][323f] h264 add frame header cdr flag
[034:817] [2022-08-06 23:53:56 +0000.183399][323f] Received key frame:4001
[034:820] [2022-08-06 23:53:56 +0000.186009][3247] get the H.264 IDR frame
[034:857] [2022-08-06 23:53:56 +0000.222856][323f] last dts:4207 currentPts:4230
ppsOrSPS:0 queue length:10
[034:858] [2022-08-06 23:53:56 +0000.223755][323f] DTS queue for
Generator:0x771923e6b8 4262 4299 4335 4367 4400 4436 4467 4500 4536 4568
[035:003] [2022-08-06 23:53:56 +0000.369298][4fb9] DestroyAudioRecorder:
[035:003] [2022-08-06 23:53:56 +0000.369494][4fb9] Cleanup the buffer queue in the
recorder.
[035:003] [2022-08-06 23:53:56 +0000.369630][4fb9] Destroy the recorder.

[035:009] [2022-08-06 23:53:56 +0000.375597][4fb9] StopRecording finished.

[035:010] [2022-08-06 23:53:56 +0000.375801][4fb9] The stop recording success.

[035:010] [2022-08-06 23:53:56 +0000.375845][4fb9]


AudioDeviceDataHandler::StopMicProcess

[035:015] [2022-08-06 23:53:56 +0000.381350][4fb9] AppDeviceManager stop.

[035:015] [2022-08-06 23:53:56 +0000.381527][4fb9] Rlease the webrtc device object.

[035:016] [2022-08-06 23:53:56 +0000.382117][4fb9] OpenSlesInput destruct.

[035:016] [2022-08-06 23:53:56 +0000.382206][4fb9] OpenSlesOutput destruct.

[035:020] [2022-08-06 23:53:56 +0000.386113][4fb9] EventDispatchServerScope


destruct
[035:020] [2022-08-06 23:53:56 +0000.386253][4fb9]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[035:020] [2022-08-06 23:53:56 +0000.386355][4fb9] ~AudioDeviceDataHandler

[035:027] [2022-08-06 23:53:56 +0000.393237][4fb9] AppDeviceManagerDestruct.

[035:027] [2022-08-06 23:53:56 +0000.393392][4fb9] ~AppDeviceManager:


[035:027] [2022-08-06 23:53:56 +0000.393480][4fb9] ~CpuOverloadDetect
time:531734269 enter.

[035:038] [2022-08-06 23:53:56 +0000.404396][4fb9] ~CpuOverloadDetect leave.


expire time = 11 ms

[035:039] [2022-08-06 23:53:56 +0000.405011][3242] audio_frame_list_ empty


[035:041] [2022-08-06 23:53:56 +0000.406954][4fb9] Destruct BeautifyReader begin...
[035:041] [2022-08-06 23:53:56 +0000.407117][4fb9] Destruct BeautifyReader done.
[035:041] [2022-08-06 23:53:56 +0000.407190][4fb9] ~MediaFilterCamera leave.
expire time = 348 ms

[035:041] [2022-08-06 23:53:56 +0000.407448][4fb9] ~GLESContext:


[035:048] [2022-08-06 23:53:56 +0000.413718][4fb9] GLESContext destruct finish.
[035:048] [2022-08-06 23:53:56 +0000.413940][4fb9] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[035:054] [2022-08-06 23:53:56 +0000.419915][323e] setDisplayRotate :90
[035:054] [2022-08-06 23:53:56 +0000.420004][323e] 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
[035:056] [2022-08-06 23:53:56 +0000.422439][4fb9] global uninited!
[035:058] [2022-08-06 23:53:56 +0000.424295][323f] DTS queue for
Generator:0x771923e6b8 5168 5198 5233 5267 5298 5330
[035:069] [2022-08-06 23:53:56 +0000.435670][3241] Error(video_source.cc:430): wait
decoder a frame: 0
[035:088] [2022-08-06 23:53:56 +0000.454678][323f] Push an pts:5564 to dts queue.
[035:132] [2022-08-06 23:53:56 +0000.498184][323f] last dts:5532 currentPts:5564
ppsOrSPS:0 queue length:10
[035:177] [2022-08-06 23:53:56 +0000.543175][323f] DTS queue for
Generator:0x771923e6b8 5929 5963 6000 6029 6063 6097 6130 6166 6202 6233
[035:192] [2022-08-06 23:53:56 +0000.558364][323f] h264 add frame header cdr flag
[035:192] [2022-08-06 23:53:56 +0000.558644][323f] Received key frame:6000
[035:250] [2022-08-06 23:53:56 +0000.615872][323e] setDisplayRotate :90
[035:250] [2022-08-06 23:53:56 +0000.615933][323e] 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
[035:254] [2022-08-06 23:53:56 +0000.620370][3247] get the H.264 IDR frame
[035:259] [2022-08-06 23:53:56 +0000.624738][323f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6395
[035:259] [2022-08-06 23:53:56 +0000.624814][323f] push video frame to H264
encoder. (100 frame for one log)

[035:259] [2022-08-06 23:53:56 +0000.624857][323f] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[035:259] [2022-08-06 23:53:56 +0000.624875][323f] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6395(100 frame for one
log)

[035:259] [2022-08-06 23:53:56 +0000.624898][323f] The input pts:6395 fps:30


[035:279] [2022-08-06 23:53:56 +0000.644833][323f] SendFrame
encodedImage._timeStamp:6233encodedImage->_length:100448
[035:284] [2022-08-06 23:53:56 +0000.650622][323f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6264 pts:6264
[035:293] [2022-08-06 23:53:56 +0000.659067][3241] Error(video_source.cc:430): wait
decoder a frame: 0
[035:293] [2022-08-06 23:53:56 +0000.659146][3241] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6960 diff: 41
[035:304] [2022-08-06 23:53:56 +0000.670092][323f] H264Encode::H264SWEncoder get
callback, length:94160 type:1 nalType:1length:94156
[035:327] [2022-08-06 23:53:56 +0000.693605][323f] Push an pts:6902 to dts queue.
[035:359] [2022-08-06 23:53:56 +0000.724905][323f] DTS queue for
Generator:0x771923e6b8 6767 6797 6831 6863 6902 6936 6964 7000 7034
[035:383] [2022-08-06 23:53:56 +0000.749206][323f] last dts:6863 currentPts:6902
ppsOrSPS:0 queue length:10
[035:413] [2022-08-06 23:53:56 +0000.779290][3242] audio_frame_list_ empty
[035:459] [2022-08-06 23:53:56 +0000.825349][323e] setDisplayRotate :90
[035:459] [2022-08-06 23:53:56 +0000.825439][323e] 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
[035:540] [2022-08-06 23:53:56 +0000.906207][323f] DTS queue for
Generator:0x771923e6b8 7594 7630 7662 7701 7733 7766 7797 7831 7864
[035:552] [2022-08-06 23:53:56 +0000.918011][3241] Error(video_source.cc:430): wait
decoder a frame: 7
[035:625] [2022-08-06 23:53:56 +0000.991190][323f] Push an pts:8231 to dts queue.
[035:639] [2022-08-06 23:53:57 +0000.4974][323f] h264 add frame header cdr flag
[035:639] [2022-08-06 23:53:57 +0000.5643][323f] Received key frame:7998
[035:648] [2022-08-06 23:53:57 +0000.13895][3247] get the H.264 IDR frame
[035:691] [2022-08-06 23:53:57 +0000.56754][323e] setDisplayRotate :90
[035:691] [2022-08-06 23:53:57 +0000.56814][323e] 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
[035:702] [2022-08-06 23:53:57 +0000.67766][323f] last dts:8199 currentPts:8231
ppsOrSPS:0 queue length:6
[035:802] [2022-08-06 23:53:57 +0000.168108][323f] DTS queue for
Generator:0x771923e6b8 8437 8463 8498 8532 8566 8601 8631 8668
[035:811] [2022-08-06 23:53:57 +0000.176735][3242] audio_frame_list_ empty
[036:023] [2022-08-06 23:53:57 +0000.388773][323e] setDisplayRotate :90
[036:023] [2022-08-06 23:53:57 +0000.388917][323e] 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
[036:028] [2022-08-06 23:53:57 +0000.393704][323f] DTS queue for
Generator:0x771923e6b8 9330 9363 9399 9430
[036:041] [2022-08-06 23:53:57 +0000.406961][323e] setDisplayRotate :90
[036:041] [2022-08-06 23:53:57 +0000.407038][323e] 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
[036:053] [2022-08-06 23:53:57 +0000.419084][323e] setDisplayRotate :90
[036:053] [2022-08-06 23:53:57 +0000.419153][323e] 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
[036:056] [2022-08-06 23:53:57 +0000.422162][323f] Push an pts:9562 to dts queue.
[036:059] [2022-08-06 23:53:57 +0000.424883][3241] Error(video_source.cc:430): wait
decoder a frame: 0
[036:083] [2022-08-06 23:53:57 +0000.448893][323f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:9760
[036:083] [2022-08-06 23:53:57 +0000.448970][323f] push video frame to H264
encoder. (100 frame for one log)

[036:083] [2022-08-06 23:53:57 +0000.449009][323f] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[036:083] [2022-08-06 23:53:57 +0000.449031][323f] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:9760(100 frame for one
log)

[036:083] [2022-08-06 23:53:57 +0000.449060][323f] The input pts:9760 fps:30


[036:085] [2022-08-06 23:53:57 +0000.451407][323f] SendFrame
encodedImage._timeStamp:9562encodedImage->_length:49264
[036:085] [2022-08-06 23:53:57 +0000.451513][323f] last dts:9527 currentPts:9562
ppsOrSPS:0 queue length:7
[036:094] [2022-08-06 23:53:57 +0000.459821][322f] av_read_frame AVERROR_EOF
[036:104] [2022-08-06 23:53:57 +0000.469977][323f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:9626 pts:9626
[036:134] [2022-08-06 23:53:57 +0000.500380][323f] H264Encode::H264SWEncoder get
callback, length:111568 type:1 nalType:1length:111564
[036:159] [2022-08-06 23:53:57 +0000.524802][322f] OnReceiveEOF:
[036:159] [2022-08-06 23:53:57 +0000.524986][322f] OnDecoderEOF time:531735401
enter.

[036:159] [2022-08-06 23:53:57 +0000.525136][322f] OnDecoderEOF leave. expire time


= 0 ms

[036:159] [2022-08-06 23:53:57 +0000.525180][322f] OnDecoderFinished:


OnDecoderFinished total decoder frames:313 this:0x76f1d50000
[036:159] [2022-08-06 23:53:57 +0000.525227][322f] NULLFilter::OnVideoSourceEOF
0x76f1d50000 this 0x77191e7d40
[036:159] [2022-08-06 23:53:57 +0000.525266][322f] NULLFilter::OnVideoSourceEOF
0x77191e7d40 this 0x77191e7e00
[036:159] [2022-08-06 23:53:57 +0000.525437][322f] NULLFilter::OnVideoSourceEOF
0x77191e7e00 this 0x77191e8100
[036:159] [2022-08-06 23:53:57 +0000.525553][322d] CleanUp time:531735401 enter.

[036:161] [2022-08-06 23:53:57 +0000.527181][3241]


Warning(media_filter_composefile.cc:321): pull video frame failed:8
[036:161] [2022-08-06 23:53:57 +0000.527256][3241] OnVideoTimer: OnVideoTimer
return
[036:162] [2022-08-06 23:53:57 +0000.527831][3242] PullAudioFrame: PullFrame audio
finished.
[036:162] [2022-08-06 23:53:57 +0000.527904][3242]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[036:162] [2022-08-06 23:53:57 +0000.527947][3242] OnAudioTimer: OnAudioTimer
EndComposeFile
[036:162] [2022-08-06 23:53:57 +0000.527979][3242] EndComposeFile: EndComposeFile,
is composing 1
[036:164] [2022-08-06 23:53:57 +0000.530109][322d] CleanUp leave. expire time = 5
ms

[036:164] [2022-08-06 23:53:57 +0000.530281][322d] clean up


[036:164] [2022-08-06 23:53:57 +0000.530323][322d] running_decoder_count:0max
count:2
[036:176] [2022-08-06 23:53:57 +0000.542643][323f] h264 add frame header cdr flag
[036:177] [2022-08-06 23:53:57 +0000.542953][323f] Received key frame:9995
[036:178] [2022-08-06 23:53:57 +0000.544050][323f] DTS queue for
Generator:0x771923e6b8 10060 10095 10125 10158 10193 10229 10258 10292 10333
[036:178] [2022-08-06 23:53:57 +0000.544498][3247] get the H.264 IDR frame
[036:192] [2022-08-06 23:53:57 +0000.558153][323f]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:313
[036:192] [2022-08-06 23:53:57 +0000.558603][323f]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x7719386800
[036:194] [2022-08-06 23:53:57 +0000.560249][3240]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[036:194] [2022-08-06 23:53:57 +0000.560346][3240]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[036:194] [2022-08-06 23:53:57 +0000.560668][323e] stop recording
[036:195] [2022-08-06 23:53:57 +0000.560712][323e]
RecordingSessionInternalSimple:destroy media processers
[036:195] [2022-08-06 23:53:57 +0000.560746][323e] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[036:195] [2022-08-06 23:53:57 +0000.560779][323e] H264Encode::flushing hareware
Encoder
[036:195] [2022-08-06 23:53:57 +0000.561010][323e] Flush time:531735437 enter.

[036:195] [2022-08-06 23:53:57 +0000.561061][323e] H264Encoder encoder flush


[036:195] [2022-08-06 23:53:57 +0000.561097][323e] flush output queue
[036:534] [2022-08-06 23:53:57 +0000.900538][323e] Flush leave. expire time = 339
ms

[036:535] [2022-08-06 23:53:57 +0000.901164][323e] ~H264EncodeWrap:


[036:535] [2022-08-06 23:53:57 +0000.901299][323e] ~H264Encode:
[036:535] [2022-08-06 23:53:57 +0000.901390][323e] teardownCompressionSession:
H264Encode::destroying Encoder
[036:535] [2022-08-06 23:53:57 +0000.901480][323e] Release time:531735777 enter.

[036:536] [2022-08-06 23:53:57 +0000.902194][323e] Release:


MediaCodecVideoEncoder::Release _inited:1
[036:536] [2022-08-06 23:53:57 +0000.902406][323e] Destroy time:531735778 enter.

[036:536] [2022-08-06 23:53:57 +0000.902512][323e] H264Encoder encoderDestroy


[036:536] [2022-08-06 23:53:57 +0000.902602][323e]
AndroidMediaCodecVideoEncoder::release env: 0x770af31100
[036:537] [2022-08-06 23:53:57 +0000.902694][323e]
AndroidMediaCodecVideoEncoder::Destroy
[036:577] [2022-08-06 23:53:57 +0000.943517][323e] Destroy leave. expire time = 41
ms

[036:578] [2022-08-06 23:53:57 +0000.943863][323e] Release leave. expire time = 43


ms

[036:578] [2022-08-06 23:53:57 +0000.943998][323e] ~AndroidHwAvcEncoder


time:531735820 enter.

[036:578] [2022-08-06 23:53:57 +0000.944280][323e] Release time:531735820 enter.

[036:578] [2022-08-06 23:53:57 +0000.944366][323e] Release:


MediaCodecVideoEncoder:: has been released before, just return
[036:578] [2022-08-06 23:53:57 +0000.944435][323e] Release leave. expire time = 0
ms

[036:578] [2022-08-06 23:53:57 +0000.944473][323e] ~AndroidMediaCodecVideoEncoder


[036:578] [2022-08-06 23:53:57 +0000.944525][323e] ~WrapAndroidMediaCodec
time:531735820 enter.

[036:578] [2022-08-06 23:53:57 +0000.944563][323e] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[036:578] [2022-08-06 23:53:57 +0000.944598][323e] video hevc hw codec


destructor:0x77195e06a8

[036:578] [2022-08-06 23:53:57 +0000.944684][323e] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[036:579] [2022-08-06 23:53:57 +0000.944747][323e] teardownCompressionSession:


H264Encode::destroyed Encoder
[036:579] [2022-08-06 23:53:57 +0000.944793][323e]
RecordingSessionInternalSimple:destroy aac encoder output!
[036:579] [2022-08-06 23:53:57 +0000.944848][323e] AACSWEncode destructor
[036:583] [2022-08-06 23:53:57 +0000.949087][3247] fd_close successed!
[036:584] [2022-08-06 23:53:57 +0000.950548][3247] MP4 close file successfully
[036:584] [2022-08-06 23:53:57 +0000.950621][3247] Recording session Internal:
notify recording ok
[036:584] [2022-08-06 23:53:57 +0000.950660][3247] onRecordingOk: Recording Ok,
compose use time: 4099, averagefps 0
[036:585] [2022-08-06 23:53:57 +0000.950878][3247] OnReceiveE[000:022] [2022-08-07
05:13:22 +0000.611488][2c8f] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-08-
07 05:13:22 +0000
[000:022] [2022-08-07 05:13:22 +0000.611520][2c8f] set AppID=50011 old AppID=-1
[000:022] [2022-08-07 05:13:22 +0000.611536][2c8f] Init the android object with
jvm:0xb4000078b91a9540 env:0x780862e980 context:0x778a7fa588

[000:022] [2022-08-07 05:13:22 +0000.611582][2c8f] SetAndroidMediaCodecObjects


time:548239822 enter.

[000:022] [2022-08-07 05:13:22 +0000.611620][2c8f] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:022] [2022-08-07 05:13:22 +0000.611632][2c8f] SetAndroidMediaCodecObjects


time:548239822 enter.

[000:022] [2022-08-07 05:13:22 +0000.611642][2c8f] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000078b91a9540
[000:022] [2022-08-07 05:13:22 +0000.611653][2c8f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000078b91a9540 address:0x770eab5760
[000:022] [2022-08-07 05:13:22 +0000.611664][2c8f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000078b91a9540
address:0x770eab5760
[000:022] [2022-08-07 05:13:22 +0000.611675][2c8f] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:022] [2022-08-07 05:13:22 +0000.611694][2c8f] Set the android objects with


jvm:0xb4000078b91a9540 env:0x780862e980 context:0x778a7fa588

[000:023] [2022-08-07 05:13:22 +0000.612635][2c8f] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x780862e980
[000:023] [2022-08-07 05:13:22 +0000.612654][2c8f] SystemUtil Init done
[000:025] [2022-08-07 05:13:22 +0000.614316][2c8f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:025] [2022-08-07 05:13:22 +0000.615047][2c8f] MediaFilterCamera
[000:025] [2022-08-07 05:13:22 +0000.615084][2c8f] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:026] [2022-08-07 05:13:22 +0000.615181][2c8f] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:026] [2022-08-07 05:13:22 +0000.615203][2c8f] Recording session using default
bitrate support by app:31457280
[000:026] [2022-08-07 05:13:22 +0000.615214][33ad] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x778c2737c0
[000:026] [2022-08-07 05:13:22 +0000.615287][33ad] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:026] [2022-08-07 05:13:22 +0000.615346][2c8f] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:026] [2022-08-07 05:13:22 +0000.615717][2c8f] Error(ini.cc:191): Open the file
failed. error:2
[000:026] [2022-08-07 05:13:22 +0000.615740][2c8f]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:026] [2022-08-07 05:13:22 +0000.615752][2c8f] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:028] [2022-08-07 05:13:22 +0000.617641][2c8f] Error(ini.cc:191): Open the file
failed. error:2
[000:028] [2022-08-07 05:13:22 +0000.617674][2c8f]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:028] [2022-08-07 05:13:22 +0000.617691][2c8f] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:028] [2022-08-07 05:13:22 +0000.617701][2c8f] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:028] [2022-08-07 05:13:22 +0000.617731][2c8f] Using Default AEC type: software
AEC
[000:029] [2022-08-07 05:13:22 +0000.618443][2c8f] The device model: m2012k11ag
enum value: 0
[000:029] [2022-08-07 05:13:22 +0000.618673][2c8f] GetMachineModel is M2012K11AG
[000:029] [2022-08-07 05:13:22 +0000.618688][2c8f] GetMachineInfo: M2012K11AG
[000:029] [2022-08-07 05:13:22 +0000.618707][2c8f] Construct BeautifyReader
begin...
[000:029] [2022-08-07 05:13:22 +0000.618718][2c8f] dumpStickerRgba:0
dumpStickerYuv:0
[000:029] [2022-08-07 05:13:22 +0000.618728][2c8f] Construct BeautifyReader done.
[000:031] [2022-08-07 05:13:22 +0000.620903][2c8f] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:031] [2022-08-07 05:13:22 +0000.620945][33b2] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x778c4c84a0
[000:032] [2022-08-07 05:13:22 +0000.621175][2c8f] AppDeviceManager telnet server
for statistics started......
[000:032] [2022-08-07 05:13:22 +0000.621557][2c8f] CpuOverloadDetect time:548239832
enter.

[000:032] [2022-08-07 05:13:22 +0000.621618][2c8f] CpuOverloadDetect leave. expire


time = 0 ms

[000:032] [2022-08-07 05:13:22 +0000.621647][33b5] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x773f1a1440
[000:032] [2022-08-07 05:13:22 +0000.621924][2c8f] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:032] [2022-08-07 05:13:22 +0000.621942][2c8f] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:033] [2022-08-07 05:13:22 +0000.622140][2c8f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:034] [2022-08-07 05:13:22 +0000.623302][2c8f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:034] [2022-08-07 05:13:22 +0000.623555][2c8f] CreatePlatformSpecificObjects:
[000:034] [2022-08-07 05:13:22 +0000.623584][2c8f] audio device use opensle input
and opensl output
[000:034] [2022-08-07 05:13:22 +0000.623611][2c8f] Create OpenSLES output module
with java VM support.

[000:034] [2022-08-07 05:13:22 +0000.623722][2c8f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:034] [2022-08-07 05:13:22 +0000.623803][2c8f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:034] [2022-08-07 05:13:22 +0000.623895][2c8f] Create OpenSLES output module
with buffer num:1

[000:034] [2022-08-07 05:13:22 +0000.623989][2c8f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:034] [2022-08-07 05:13:22 +0000.624064][2c8f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:035] [2022-08-07 05:13:22 +0000.624151][2c8f] Create OpenSLES input module
with java VM support.

[000:035] [2022-08-07 05:13:22 +0000.624704][2c8f] Create OpenSLES input module


with buffer num:1
[000:035] [2022-08-07 05:13:22 +0000.624810][2c8f] Error(trace.cc:40): Init the
output and input for audio device template.
[000:038] [2022-08-07 05:13:22 +0000.627739][2c8f] Init the output device.

[000:038] [2022-08-07 05:13:22 +0000.627792][2c8f] Init the opensl input.


[000:038] [2022-08-07 05:13:22 +0000.627812][2c8f] AppDeviceManager get setting
samplerate: 0
[000:038] [2022-08-07 05:13:22 +0000.628011][2c8f] The device model: m2012k11ag
enum value: 0
[000:039] [2022-08-07 05:13:22 +0000.628333][2c8f] The device model: m2012k11ag
enum value: 0
[000:039] [2022-08-07 05:13:22 +0000.628359][2c8f] Set the sample rate to be:48000

[000:039] [2022-08-07 05:13:22 +0000.628372][2c8f] Enable the recording stereo:0


[000:039] [2022-08-07 05:13:22 +0000.628493][2c8f] Set the playout as stereo:1
[000:039] [2022-08-07 05:13:22 +0000.628512][2c8f] Init the microphone.
[000:039] [2022-08-07 05:13:22 +0000.628887][2c8f] Update the recording sample rate
to be: 48000
[000:039] [2022-08-07 05:13:22 +0000.628917][2c8f] Init the speaker.
[000:039] [2022-08-07 05:13:22 +0000.628943][2c8f] Low latency buffer size:144 low
sample rate:48000
[000:039] [2022-08-07 05:13:22 +0000.629128][2c8f] Using 1 x 10ms for an audio
frame.

[000:042] [2022-08-07 05:13:22 +0000.631921][2c8f] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:042] [2022-08-07 05:13:22 +0000.631993][2c8f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:042] [2022-08-07 05:13:22 +0000.632013][2c8f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:046] [2022-08-07 05:13:22 +0000.635625][2c8f] The device model:m2012k11ag

[000:046] [2022-08-07 05:13:22 +0000.635672][2c8f] speaker output factor:100


defaultFactor: 100

[000:046] [2022-08-07 05:13:22 +0000.635682][2c8f] headset output factor:100


defaultFactor: 100

[000:046] [2022-08-07 05:13:22 +0000.635913][2c8f] AppDeviceManagerStart finished.


[000:046] [2022-08-07 05:13:22 +0000.635933][2c8f] AppDeviceManagerStartMic::mic
status is off
[000:046] [2022-08-07 05:13:22 +0000.635981][2c8f] AppDeviceManagerStartMic update
aec type: 2

[000:046] [2022-08-07 05:13:22 +0000.636003][2c8f] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:046] [2022-08-07 05:13:22 +0000.636014][2c8f]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:046] [2022-08-07 05:13:22 +0000.636053][2c8f]
AudioDeviceDataHandler::StartMicProcess

[000:047] [2022-08-07 05:13:22 +0000.636148][2c8f] Try to start webrtc recording


device.

[000:047] [2022-08-07 05:13:22 +0000.636166][2c8f] StartRecording. threadID:11407

[000:047] [2022-08-07 05:13:22 +0000.636215][33b6] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:047] [2022-08-07 05:13:22 +0000.636277][33b6] haveEnoughProcessedData
internalAudioStream.length: 0
[000:047] [2022-08-07 05:13:22 +0000.636332][2c8f] The machine model:M2012K11AG

[000:047] [2022-08-07 05:13:22 +0000.636366][2c8f] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:047] [2022-08-07 05:13:22 +0000.636386][2c8f] Set the recording mode before


getSetting: 4
[000:047] [2022-08-07 05:13:22 +0000.636399][2c8f] Set the recording mode after
getSetting: 1
[000:091] [2022-08-07 05:13:22 +0000.680196][2c8f] StartRecording finished.

[000:091] [2022-08-07 05:13:22 +0000.680284][2c8f] audio: start the audio mic


checker timer.

[000:091] [2022-08-07 05:13:22 +0000.680611][2c8f] machine model :poco


[000:091] [2022-08-07 05:13:22 +0000.680662][2c8f] Support this machine model :poco
[000:094] [2022-08-07 05:13:22 +0000.683202][2c8f] global inited! current sdk
version: 07-20-936c45f
[000:161] [2022-08-07 05:13:22 +0000.750886][33b7] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:161] [2022-08-07 05:13:22 +0000.750939][33b7] _deviceSampleRate:48000

[000:166] [2022-08-07 05:13:22 +0000.755732][33b6] Run AGC when audioType = 0


[000:166] [2022-08-07 05:13:22 +0000.755799][33b6]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:427] [2022-08-07 05:13:23 +0000.16158][334c]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:427] [2022-08-07 05:13:23 +0000.16452][33ae] MediaFilterCamera, recording file
context:0x77f88abd80 input texture:4
[000:427] [2022-08-07 05:13:23 +0000.16517][33ae] GLESContext:
[000:427] [2022-08-07 05:13:23 +0000.16556][33ae] The result of eglGetDisplay is:
0xb40000780862bf00
[000:427] [2022-08-07 05:13:23 +0000.17086][33ae] The result of creation:
0x772300eb80
[000:428] [2022-08-07 05:13:23 +0000.17180][33ae] The result of
eglCreatePbufferSurface is: 0x772300ec80
[000:428] [2022-08-07 05:13:23 +0000.17252][334c]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x77f88abd80 input_texture: 4
[001:783] [2022-08-07 05:13:24 +0000.373042][33b6] haveEnoughProcessedData
internalAudioStream.length: 20
[002:069] [2022-08-07 05:13:24 +0000.658738][2c8f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[002:069] [2022-08-07 05:13:24 +0000.658840][2c8f] ~MediaFilterCamera
time:548241869 enter.

[002:069] [2022-08-07 05:13:24 +0000.658888][2c8f] StopPullFrameAndWriteMp4


time:548241869 enter.

[002:070] [2022-08-07 05:13:24 +0000.659149][33ad] stop recording


[002:070] [2022-08-07 05:13:24 +0000.659197][33ad] we have stopped recording before
[002:070] [2022-08-07 05:13:24 +0000.659245][2c8f] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[002:070] [2022-08-07 05:13:24 +0000.659474][2c8f] DestroyPipelineAndFilters


time:548241870 enter.

[002:070] [2022-08-07 05:13:24 +0000.659506][2c8f] DestroyPipelineAndFilters


leave. expire time = 0 ms

[002:070] [2022-08-07 05:13:24 +0000.659526][2c8f] AppDeviceManagerStopMic

[002:070] [2022-08-07 05:13:24 +0000.659565][2c8f] AppDeviceManagerStopMic:


[000:024] [2022-08-07 14:25:42 +0000.453020][5b1d] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-08-
07 14:25:42 +0000
[000:024] [2022-08-07 14:25:42 +0000.453051][5b1d] set AppID=50011 old AppID=-1
[000:024] [2022-08-07 14:25:42 +0000.453063][5b1d] Init the android object with
jvm:0xb4000078b91a9540 env:0x780862ee80 context:0x7785cdc588

[000:024] [2022-08-07 14:25:42 +0000.453089][5b1d] SetAndroidMediaCodecObjects


time:576651303 enter.

[000:024] [2022-08-07 14:25:42 +0000.453102][5b1d] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:024] [2022-08-07 14:25:42 +0000.453122][5b1d] SetAndroidMediaCodecObjects


time:576651303 enter.

[000:024] [2022-08-07 14:25:42 +0000.453174][5b1d] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000078b91a9540
[000:024] [2022-08-07 14:25:42 +0000.453189][5b1d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000078b91a9540 address:0x76df8b7760
[000:024] [2022-08-07 14:25:42 +0000.453200][5b1d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000078b91a9540
address:0x76df8b7760
[000:025] [2022-08-07 14:25:42 +0000.453285][5b1d] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[000:025] [2022-08-07 14:25:42 +0000.453324][5b1d] Set the android objects with


jvm:0xb4000078b91a9540 env:0x780862ee80 context:0x7785cdc588

[000:025] [2022-08-07 14:25:42 +0000.454151][5b1d] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x780862ee80
[000:025] [2022-08-07 14:25:42 +0000.454175][5b1d] SystemUtil Init done
[000:027] [2022-08-07 14:25:42 +0000.455949][5b1d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:028] [2022-08-07 14:25:42 +0000.456587][5b1d] MediaFilterCamera
[000:028] [2022-08-07 14:25:42 +0000.456620][5b1d] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:028] [2022-08-07 14:25:42 +0000.456724][5b1d] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:028] [2022-08-07 14:25:42 +0000.456751][5b1d] Recording session using default
bitrate support by app:31457280
[000:028] [2022-08-07 14:25:42 +0000.456761][7077] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7713bb54c0
[000:028] [2022-08-07 14:25:42 +0000.456995][7077] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:028] [2022-08-07 14:25:42 +0000.457052][5b1d] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:029] [2022-08-07 14:25:42 +0000.457406][5b1d] Error(ini.cc:191): Open the file
failed. error:2
[000:029] [2022-08-07 14:25:42 +0000.457427][5b1d]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:029] [2022-08-07 14:25:42 +0000.457448][5b1d] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:030] [2022-08-07 14:25:42 +0000.458693][5b1d] Error(ini.cc:191): Open the file
failed. error:2
[000:030] [2022-08-07 14:25:42 +0000.458720][5b1d]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:030] [2022-08-07 14:25:42 +0000.458760][5b1d] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:030] [2022-08-07 14:25:42 +0000.458773][5b1d] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:030] [2022-08-07 14:25:42 +0000.458791][5b1d] Using Default AEC type: software
AEC
[000:031] [2022-08-07 14:25:42 +0000.459365][5b1d] The device model: m2012k11ag
enum value: 0
[000:031] [2022-08-07 14:25:42 +0000.459578][5b1d] GetMachineModel is M2012K11AG
[000:031] [2022-08-07 14:25:42 +0000.459598][5b1d] GetMachineInfo: M2012K11AG
[000:031] [2022-08-07 14:25:42 +0000.459616][5b1d] Construct BeautifyReader
begin...
[000:031] [2022-08-07 14:25:42 +0000.459633][5b1d] dumpStickerRgba:0
dumpStickerYuv:0
[000:031] [2022-08-07 14:25:42 +0000.459644][5b1d] Construct BeautifyReader done.
[000:033] [2022-08-07 14:25:42 +0000.461684][5b1d] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:033] [2022-08-07 14:25:42 +0000.461709][707a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77f87fb7a0
[000:033] [2022-08-07 14:25:42 +0000.461882][5b1d] AppDeviceManager telnet server
for statistics started......
[000:033] [2022-08-07 14:25:42 +0000.462074][5b1d] CpuOverloadDetect time:576651312
enter.

[000:033] [2022-08-07 14:25:42 +0000.462124][5b1d] CpuOverloadDetect leave. expire


time = 0 ms

[000:033] [2022-08-07 14:25:42 +0000.462151][707b] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7713ab1a00
[000:034] [2022-08-07 14:25:42 +0000.462379][5b1d] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:034] [2022-08-07 14:25:42 +0000.462397][5b1d] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:034] [2022-08-07 14:25:42 +0000.462556][5b1d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:034] [2022-08-07 14:25:42 +0000.462779][5b1d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:034] [2022-08-07 14:25:42 +0000.462974][5b1d] CreatePlatformSpecificObjects:
[000:034] [2022-08-07 14:25:42 +0000.462999][5b1d] audio device use opensle input
and opensl output
[000:034] [2022-08-07 14:25:42 +0000.463021][5b1d] Create OpenSLES output module
with java VM support.

[000:034] [2022-08-07 14:25:42 +0000.463083][5b1d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:034] [2022-08-07 14:25:42 +0000.463164][5b1d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:035] [2022-08-07 14:25:42 +0000.463256][5b1d] Create OpenSLES output module
with buffer num:1

[000:035] [2022-08-07 14:25:42 +0000.463333][5b1d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:035] [2022-08-07 14:25:42 +0000.463412][5b1d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:035] [2022-08-07 14:25:42 +0000.463493][5b1d] Create OpenSLES input module
with java VM support.

[000:035] [2022-08-07 14:25:42 +0000.463516][5b1d] Create OpenSLES input module


with buffer num:1

[000:035] [2022-08-07 14:25:42 +0000.463547][5b1d] Error(trace.cc:40): Init the


output and input for audio device template.
[000:035] [2022-08-07 14:25:42 +0000.463565][5b1d] Init the output device.

[000:035] [2022-08-07 14:25:42 +0000.463576][5b1d] Init the opensl input.


[000:035] [2022-08-07 14:25:42 +0000.463601][5b1d] AppDeviceManager get setting
samplerate: 0
[000:035] [2022-08-07 14:25:42 +0000.463780][5b1d] The device model: m2012k11ag
enum value: 0
[000:035] [2022-08-07 14:25:42 +0000.464037][5b1d] The device model: m2012k11ag
enum value: 0
[000:035] [2022-08-07 14:25:42 +0000.464057][5b1d] Set the sample rate to be:48000

[000:035] [2022-08-07 14:25:42 +0000.464068][5b1d] Enable the recording stereo:0


[000:035] [2022-08-07 14:25:42 +0000.464090][5b1d] Set the playout as stereo:1
[000:035] [2022-08-07 14:25:42 +0000.464100][5b1d] Init the microphone.
[000:036] [2022-08-07 14:25:42 +0000.464494][5b1d] Update the recording sample rate
to be: 48000
[000:036] [2022-08-07 14:25:42 +0000.464518][5b1d] Init the speaker.
[000:036] [2022-08-07 14:25:42 +0000.464545][5b1d] Low latency buffer size:144 low
sample rate:48000
[000:036] [2022-08-07 14:25:42 +0000.464640][5b1d] Using 1 x 10ms for an audio
frame.

[000:039] [2022-08-07 14:25:42 +0000.467281][5b1d] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:039] [2022-08-07 14:25:42 +0000.467350][5b1d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:039] [2022-08-07 14:25:42 +0000.467379][5b1d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:042] [2022-08-07 14:25:42 +0000.470824][5b1d] The device model:m2012k11ag

[000:042] [2022-08-07 14:25:42 +0000.470867][5b1d] speaker output factor:100


defaultFactor: 100

[000:042] [2022-08-07 14:25:42 +0000.470878][5b1d] headset output factor:100


defaultFactor: 100

[000:042] [2022-08-07 14:25:42 +0000.471083][5b1d] AppDeviceManagerStart finished.


[000:042] [2022-08-07 14:25:42 +0000.471102][5b1d] AppDeviceManagerStartMic::mic
status is off
[000:042] [2022-08-07 14:25:42 +0000.471140][5b1d] AppDeviceManagerStartMic update
aec type: 2

[000:042] [2022-08-07 14:25:42 +0000.471153][5b1d] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:042] [2022-08-07 14:25:42 +0000.471165][5b1d]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:042] [2022-08-07 14:25:42 +0000.471184][5b1d]
AudioDeviceDataHandler::StartMicProcess
[000:043] [2022-08-07 14:25:42 +0000.471257][5b1d] Try to start webrtc recording
device.

[000:043] [2022-08-07 14:25:42 +0000.471274][5b1d] StartRecording. threadID:23325

[000:043] [2022-08-07 14:25:42 +0000.471287][707c] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:043] [2022-08-07 14:25:42 +0000.471349][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[000:043] [2022-08-07 14:25:42 +0000.471444][5b1d] The machine model:M2012K11AG

[000:043] [2022-08-07 14:25:42 +0000.471471][5b1d] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:043] [2022-08-07 14:25:42 +0000.471487][5b1d] Set the recording mode before


getSetting: 4
[000:043] [2022-08-07 14:25:42 +0000.471499][5b1d] Set the recording mode after
getSetting: 1
[000:071] [2022-08-07 14:25:42 +0000.499808][5b1d] StartRecording finished.

[000:071] [2022-08-07 14:25:42 +0000.499849][5b1d] audio: start the audio mic


checker timer.

[000:071] [2022-08-07 14:25:42 +0000.500170][5b1d] machine model :poco


[000:072] [2022-08-07 14:25:42 +0000.500241][5b1d] Support this machine model :poco
[000:074] [2022-08-07 14:25:42 +0000.502597][5b1d] global inited! current sdk
version: 07-20-936c45f
[000:152] [2022-08-07 14:25:42 +0000.580530][707d] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:152] [2022-08-07 14:25:42 +0000.580603][707d] _deviceSampleRate:48000

[000:156] [2022-08-07 14:25:42 +0000.584585][707c] Run AGC when audioType = 0


[000:156] [2022-08-07 14:25:42 +0000.584673][707c]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:302] [2022-08-07 14:25:42 +0000.730506][6d75]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:302] [2022-08-07 14:25:42 +0000.730674][7078] MediaFilterCamera, recording
file context:0x77ed479b80 input texture:10
[000:302] [2022-08-07 14:25:42 +0000.730795][7078] GLESContext:
[000:302] [2022-08-07 14:25:42 +0000.730862][7078] The result of eglGetDisplay is:
0xb40000780862bf00
[000:303] [2022-08-07 14:25:42 +0000.731483][7078] The result of creation:
0x772019f580
[000:303] [2022-08-07 14:25:42 +0000.731561][7078] The result of
eglCreatePbufferSurface is: 0x772019f680
[000:303] [2022-08-07 14:25:42 +0000.731684][6d75]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x77ed479b80 input_texture: 10
[001:787] [2022-08-07 14:25:44 +0000.215254][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[002:154] [2022-08-07 14:25:44 +0000.582666][707c] Run AGC when audioType = 0
[003:493] [2022-08-07 14:25:45 +0000.921606][707c] haveEnoughProcessedData
internalAudioStream.length: 10
[004:075] [2022-08-07 14:25:46 +0000.504030][7072]
monitorTime:4004totalDuration:3940
[004:155] [2022-08-07 14:25:46 +0000.583763][707c] Run AGC when audioType = 0
[004:155] [2022-08-07 14:25:46 +0000.584072][707c]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:775] [2022-08-07 14:25:47 +0000.203566][5afb] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[004:775] [2022-08-07 14:25:47 +0000.203697][5afb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[004:776] [2022-08-07 14:25:47 +0000.204575][5afb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[004:776] [2022-08-07 14:25:47 +0000.204749][7078] operator() time:576656055
enter.

[004:776] [2022-08-07 14:25:47 +0000.204825][7078] MediaFilterCamera, recording


file context:0x77ed479b80 input texture:10
[004:778] [2022-08-07 14:25:47 +0000.206361][7078] MicSource: Mic source
created:10x78086fb200
[004:778] [2022-08-07 14:25:47 +0000.207052][7078] received external audio stream

[004:778] [2022-08-07 14:25:47 +0000.207098][7078] alloc thread: 0x772018ff80


name:worker0 thread id:511478922416 to Mic_source
[004:778] [2022-08-07 14:25:47 +0000.207125][7078] audio: start the audio sender
thread.

[004:778] [2022-08-07 14:25:47 +0000.207206][7078] construct OpenGLRenderProgram


0x772f7bfa98
[004:779] [2022-08-07 14:25:47 +0000.207224][7078] CropFilter::SetOrientation
orientation: 90
[004:779] [2022-08-07 14:25:47 +0000.207337][7078] filter: filter pipeline
construtc this: 0x778b8a6e40
[004:779] [2022-08-07 14:25:47 +0000.207361][7078] filter: filter pipeline2 update
pattern: 1
[004:779] [2022-08-07 14:25:47 +0000.207433][7078] CameraSource::source_id_:1
[004:779] [2022-08-07 14:25:47 +0000.207451][7078] RecordAudioSource::source_id_:2
[004:779] [2022-08-07 14:25:47 +0000.207623][7078] BindInputFilter 0x7720190fc0
this 0x772f7bfcc0
[004:779] [2022-08-07 14:25:47 +0000.207653][7078] BindInputFilter 0x77201d0158
this 0x77201d02d0
[004:779] [2022-08-07 14:25:47 +0000.207673][7078] BindInputFilter 0x772f7bfcc0
this 0x778b8a6ee0
[004:779] [2022-08-07 14:25:47 +0000.207704][7078] setParamentForFilters:
speed:1.000000
[004:779] [2022-08-07 14:25:47 +0000.207719][7078] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[004:779] [2022-08-07 14:25:47 +0000.207737][7078] SetParamForFilter time:576656058
enter.

[004:779] [2022-08-07 14:25:47 +0000.207753][7078] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[004:779] [2022-08-07 14:25:47 +0000.207771][7078] SetParamForFilter: Params video
index is: 0
[004:779] [2022-08-07 14:25:47 +0000.207786][7078] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[004:779] [2022-08-07 14:25:47 +0000.207802][7078] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[004:779] [2022-08-07 14:25:47 +0000.207820][7078] crop filter mode tpye:
citytravelvideo index:0
[004:786] [2022-08-07 14:25:47 +0000.215088][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:786] [2022-08-07 14:25:47 +0000.215134][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:786] [2022-08-07 14:25:47 +0000.215169][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:786] [2022-08-07 14:25:47 +0000.215200][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:787] [2022-08-07 14:25:47 +0000.215232][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:787] [2022-08-07 14:25:47 +0000.215247][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:787] [2022-08-07 14:25:47 +0000.215276][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:787] [2022-08-07 14:25:47 +0000.215306][7078]
Warning(parse_template_json.cc:81): json parament no found the parament
[004:787] [2022-08-07 14:25:47 +0000.215336][7078]
Warning(parse_template_json.cc:81): json parament no found the parament
[004:787] [2022-08-07 14:25:47 +0000.215365][7078]
Warning(parse_template_json.cc:67): json parament no found the parament
[004:787] [2022-08-07 14:25:47 +0000.215395][7078]
Warning(parse_template_json.cc:93): json parament no found the duration
[004:787] [2022-08-07 14:25:47 +0000.215429][7078] SetParamForFilter leave. expire
time = 8 ms

[004:787] [2022-08-07 14:25:47 +0000.215560][7078] OnOutputSizeChanged width 1920


height 1080
[004:787] [2022-08-07 14:25:47 +0000.215587][7078] OpenGLFrameBuffer: width:1920
height:1080
[004:787] [2022-08-07 14:25:47 +0000.215619][7078] OpenGLFrameBuffer: width:1920
height:1080
[004:787] [2022-08-07 14:25:47 +0000.215649][7078] OpenGLFrameBuffer: width:1920
height:1080
[004:787] [2022-08-07 14:25:47 +0000.215679][7078] OpenGLFrameBuffer: width:1920
height:1080
[004:787] [2022-08-07 14:25:47 +0000.215743][7078] OpenGLFrameBuffer: width:1920
height:1080
[004:787] [2022-08-07 14:25:47 +0000.215772][7078] OpenGLFrameBuffer: width:1920
height:1080
[004:787] [2022-08-07 14:25:47 +0000.215787][7078] construct TrivalImageDrawer
0x77202d4900
[004:787] [2022-08-07 14:25:47 +0000.215804][7078] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x77202d4900 context 0x77ed4947c0
[004:787] [2022-08-07 14:25:47 +0000.215832][7078] setupGLES:
[004:787] [2022-08-07 14:25:47 +0000.216178][7078] OpenGLRenderProgram::Initialize.
[004:788] [2022-08-07 14:25:47 +0000.216217][7078] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[004:788] [2022-08-07 14:25:47 +0000.216248][7078] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[004:788] [2022-08-07 14:25:47 +0000.216290][7078] Init open gl render:
0x772f7bfa98
[004:788] [2022-08-07 14:25:47 +0000.216310][7078] Fragement shader path:
[004:788] [2022-08-07 14:25:47 +0000.216336][7078] Fragement shader path:
[004:788] [2022-08-07 14:25:47 +0000.216362][7078] create opengl program object.
[004:788] [2022-08-07 14:25:47 +0000.216391][7078] create shader: vertex
[004:788] [2022-08-07 14:25:47 +0000.216568][7078] create shader: fragment
[004:789] [2022-08-07 14:25:47 +0000.217857][7078] Have not extra filter filename!
[004:789] [2022-08-07 14:25:47 +0000.217944][7078] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[004:789] [2022-08-07 14:25:47 +0000.217975][7078] OpenGLRenderProgram::Initialize
success.
[004:789] [2022-08-07 14:25:47 +0000.218060][7078] Setup the OpenGL result:1
[004:790] [2022-08-07 14:25:47 +0000.218377][7077] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4
[004:790] [2022-08-07 14:25:47 +0000.218491][7077] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[004:790] [2022-08-07 14:25:47 +0000.218553][7077] 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
[004:790] [2022-08-07 14:25:47 +0000.218515][70ae] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77f88ca898
[004:790] [2022-08-07 14:25:47 +0000.218615][7077] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4
fileFD: -1
[004:790] [2022-08-07 14:25:47 +0000.219016][7077] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4
is opened successfully
[004:790] [2022-08-07 14:25:47 +0000.219050][7077] setupMediaProcessers:
[004:790] [2022-08-07 14:25:47 +0000.219091][7077]
RecordingSessionInternalSimple:setup media processers.
[004:790] [2022-08-07 14:25:47 +0000.219107][7077] construct AAC encoder
[004:791] [2022-08-07 14:25:47 +0000.219568][7077] H264Encoder creating:
superfast011818
[004:791] [2022-08-07 14:25:47 +0000.219609][7077] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[004:792] [2022-08-07 14:25:47 +0000.220217][7077] H264Encode::GetMachineModel is
M2012K11AG
[004:792] [2022-08-07 14:25:47 +0000.220256][7077] H264Encoder machine_mode
is:M2012K11AG
[004:792] [2022-08-07 14:25:47 +0000.220272][7077] H264Encode::machine size :9
machine_mode:M2012K11AG
[004:792] [2022-08-07 14:25:47 +0000.220291][7077] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[004:792] [2022-08-07 14:25:47 +0000.220307][7077] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[004:792] [2022-08-07 14:25:47 +0000.220321][7077] setupCompressionSession:
[004:792] [2022-08-07 14:25:47 +0000.220335][7077] H264Encode::creating hareware
Encoder
[004:792] [2022-08-07 14:25:47 +0000.220351][7077] AndroidHwAvcEncoder
time:576656071 enter.

[004:792] [2022-08-07 14:25:47 +0000.220512][7077] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000078b91a9540 address:0x76df8b7760
[004:792] [2022-08-07 14:25:47 +0000.220621][7077] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[004:792] [2022-08-07 14:25:47 +0000.220651][7077] The video avc hw codec address
is 0x77139dad58
[004:792] [2022-08-07 14:25:47 +0000.220708][7077] AndroidHwAvcEncoder leave.
expire time = 0 ms

[004:792] [2022-08-07 14:25:47 +0000.220735][7077] RegisterEncodeCompleteCallback


time:576656071 enter.

[004:792] [2022-08-07 14:25:47 +0000.220814][7077] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[004:792] [2022-08-07 14:25:47 +0000.220851][7077] InitEncode time:576656071


enter.

[004:792] [2022-08-07 14:25:47 +0000.220910][7077] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[004:792] [2022-08-07 14:25:47 +0000.220936][7077] Create time:576656071 enter.

[004:792] [2022-08-07 14:25:47 +0000.220953][7077] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[004:792] [2022-08-07 14:25:47 +0000.220973][7077]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x77f86c91c0
[004:794] [2022-08-07 14:25:47 +0000.222927][707c] On audio frame the broadcast
with timestamp:576656073 samples:480. (1000 frame for one log)

[004:799] [2022-08-07 14:25:47 +0000.227426][70a7] Get data in mic source, which


has byte length:1764micAudioStream->length():20
[004:799] [2022-08-07 14:25:47 +0000.227682][70a7] The output timestamp from audio
mixer change:576656073
[004:799] [2022-08-07 14:25:47 +0000.227710][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:806] [2022-08-07 14:25:47 +0000.234783][7077]
supported_type:image/vnd.android.heic
[004:806] [2022-08-07 14:25:47 +0000.234855][7077] supported_type:video/avc
[004:806] [2022-08-07 14:25:47 +0000.234878][7077] name:OMX.qcom.video.encoder.avc
mime:video/avc
[004:806] [2022-08-07 14:25:47 +0000.234925][7077] hwCodecPrefix :OMX.qcom.
[004:806] [2022-08-07 14:25:47 +0000.234953][7077] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[004:806] [2022-08-07 14:25:47 +0000.234982][7077] mediacodec_createCodecByName
time:576656085 enter.

[004:806] [2022-08-07 14:25:47 +0000.235006][7077] WrapAndroidMediaCodec


time:576656085 enter.

[004:806] [2022-08-07 14:25:47 +0000.235117][7077] WrapAndroidMediaCodec leave.


expire time = 0 ms

[004:849] [2022-08-07 14:25:47 +0000.277520][7077] mediacodec_createCodecByName


leave. expire time = 43 ms

[004:849] [2022-08-07 14:25:47 +0000.277671][7077] WrapAndroidMediaFromat


time:576656128 enter.

[004:849] [2022-08-07 14:25:47 +0000.277785][7077] WrapAndroidMediaFromat leave.


expire time = 0 ms

[004:908] [2022-08-07 14:25:47 +0000.336670][7077] Destroy time:576656187 enter.

[004:908] [2022-08-07 14:25:47 +0000.336732][7077] WrapAndroidMediaFromat::


Destroy
[004:908] [2022-08-07 14:25:47 +0000.336753][7077] Destroy leave. expire time = 0
ms

[004:908] [2022-08-07 14:25:47 +0000.336783][7077] ~WrapAndroidMediaFromat


time:576656187 enter.

[004:908] [2022-08-07 14:25:47 +0000.336803][7077] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[004:908] [2022-08-07 14:25:47 +0000.336836][7077] Create leave. expire time = 116


ms

[004:908] [2022-08-07 14:25:47 +0000.336870][7077] isSemiPlanarSupport


time:576656187 enter.

[004:908] [2022-08-07 14:25:47 +0000.336906][7077] H264Encoder isSemiPlanarSupport


[004:908] [2022-08-07 14:25:47 +0000.336926][7077] isSemiPlanarSupport leave.
expire time = 0 ms

[004:908] [2022-08-07 14:25:47 +0000.336944][7077] creat hw H264Encoder success,


isSemiPlanar:1
[004:908] [2022-08-07 14:25:47 +0000.337049][7077] InitEncode leave. expire time =
116 ms

[004:908] [2022-08-07 14:25:47 +0000.337070][7077] H264Encode::created Encoder


[004:908] [2022-08-07 14:25:47 +0000.337089][7077] H264Encode:: H264 encoder
created.
[004:908] [2022-08-07 14:25:47 +0000.337105][7077] H264 encoder created.
[004:908] [2022-08-07 14:25:47 +0000.337121][7077]
RecordingSessionInternalSimple:created avc encoder avc: 0x77f86c3940
[004:908] [2022-08-07 14:25:47 +0000.337141][7077] setOutput:
[004:908] [2022-08-07 14:25:47 +0000.337158][7077]
RecordingSessionInternalSimple:encoder set output to muxer!
[004:908] [2022-08-07 14:25:47 +0000.337174][7077] request a key frame
[004:908] [2022-08-07 14:25:47 +0000.337189][7077] H264Encode:: request a key frame
[004:909] [2022-08-07 14:25:47 +0000.337301][7077] setDisplayRotate :90
[004:909] [2022-08-07 14:25:47 +0000.337324][7077] 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
[004:909] [2022-08-07 14:25:47 +0000.337370][7078] StartRecording:
[004:909] [2022-08-07 14:25:47 +0000.337436][70a7] operator(): Set the recording
session in mic source. recording session: 0x77201d0000
[004:909] [2022-08-07 14:25:47 +0000.337508][7078] operator() leave. expire time =
133 ms

[004:909] [2022-08-07 14:25:47 +0000.337506][70a6] AF_SpeedFilter audio


0x77201d0180 PullFrame
[004:909] [2022-08-07 14:25:47 +0000.337577][70a6]
RecordAudioSource::PullAudioFrame
[004:909] [2022-08-07 14:25:47 +0000.337600][70a6] AF_SpeedFilter::PullFrame eof4
[004:911] [2022-08-07 14:25:47 +0000.339733][70a6]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[004:922] [2022-08-07 14:25:47 +0000.350688][70a6] AF_SpeedFilter audio time,
0x77201d0180 rcv time: 576656197
[004:922] [2022-08-07 14:25:47 +0000.351120][70a6] AF_SpeedFilter audio time,
0x77201d0180 rcv time: 576656197in_nSamples:441
[004:922] [2022-08-07 14:25:47 +0000.351204][70a6] resampled_data_size:0
[004:961] [2022-08-07 14:25:47 +0000.390063][7078]
MediaFilterCamera::NeedProcessTexture
[004:961] [2022-08-07 14:25:47 +0000.390121][7078] begine recode to first frame
spend time:185
[004:961] [2022-08-07 14:25:47 +0000.390147][7078] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7720190e80
[004:961] [2022-08-07 14:25:47 +0000.390184][7078] blur_distance_:0
[004:962] [2022-08-07 14:25:47 +0000.390219][7078] blur_direction_angle_:-90
[004:962] [2022-08-07 14:25:47 +0000.390366][7078]
GPUImageProcessing::SetOrientation orientation: 90
[004:962] [2022-08-07 14:25:47 +0000.390488][7078] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[004:962] [2022-08-07 14:25:47 +0000.390762][7078] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[004:962] [2022-08-07 14:25:47 +0000.390863][7078] GPUImageProcessing: input frame
width1920 X 1080
[004:963] [2022-08-07 14:25:47 +0000.391538][7078] drawYUV420 render
OpenGLRenderProgram:0x772f7bfa98
[004:963] [2022-08-07 14:25:47 +0000.391937][7078] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[004:963] [2022-08-07 14:25:47 +0000.392013][7078] CropFilter::OnVideoFrame
outputtexture :12
[004:963] [2022-08-07 14:25:47 +0000.392034][7078] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[004:964] [2022-08-07 14:25:47 +0000.393141][7078] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[004:997] [2022-08-07 14:25:47 +0000.425801][7078] drawYUV420 render
OpenGLRenderProgram:0x772f7bfa98
[005:002] [2022-08-07 14:25:47 +0000.431081][7078] The convert RGB to YUV take 4
[005:003] [2022-08-07 14:25:47 +0000.431358][7078] FilterPipeline2::OnVideoFrame
pts 35 last_video_timestamp_ 35
[005:003] [2022-08-07 14:25:47 +0000.431435][7078]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[005:005] [2022-08-07 14:25:47 +0000.433401][70ad]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[005:005] [2022-08-07 14:25:47 +0000.433477][70ad] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[005:005] [2022-08-07 14:25:47 +0000.433503][70ad] push video frame to H264
encoder. (100 frame for one log)

[005:005] [2022-08-07 14:25:47 +0000.433527][70ad] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[005:005] [2022-08-07 14:25:47 +0000.433577][70ad] H264Encode::push video frame to


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

[005:005] [2022-08-07 14:25:47 +0000.433597][70ad] Push an pts:0 to dts queue.


[005:005] [2022-08-07 14:25:47 +0000.433638][70ad] DTS queue for
Generator:0x77f85a4cb8 0
[005:005] [2022-08-07 14:25:47 +0000.433666][70ad] The input pts:0 fps:30
[005:007] [2022-08-07 14:25:47 +0000.435260][70ad]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[005:027] [2022-08-07 14:25:47 +0000.455959][7078] drawYUV420 render
OpenGLRenderProgram:0x772f7bfa98
[005:037] [2022-08-07 14:25:47 +0000.466072][70a6] AF_SpeedFilter audio time 222,
0x77201d0180 out time: 576656197 org time: 576656197
[005:037] [2022-08-07 14:25:47 +0000.466131][70a6] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[005:037] [2022-08-07 14:25:47 +0000.466154][70a6]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 576656197
[005:037] [2022-08-07 14:25:47 +0000.466172][70a6]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[005:038] [2022-08-07 14:25:47 +0000.466235][70a6] AF_SpeedFilter audio time
[005:038] [2022-08-07 14:25:47 +0000.466260][70a6] AF_SpeedFilter audio time 111,
0x77201d0180 out time: 576656207 org time: 576656207
[005:041] [2022-08-07 14:25:47 +0000.469302][70ac]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:2
[005:041] [2022-08-07 14:25:47 +0000.469965][70ae] add aac audio track with id:1
[005:097] [2022-08-07 14:25:47 +0000.525630][70ad] h264 add frame header cdr flag
[005:098] [2022-08-07 14:25:47 +0000.526882][70ad] h264 add frame header cdr flag
[005:099] [2022-08-07 14:25:47 +0000.528024][70ad] SendFrame
encodedImage._timeStamp:0encodedImage->_length:568464
[005:099] [2022-08-07 14:25:47 +0000.528077][70ad] Received key frame:0
[005:099] [2022-08-07 14:25:47 +0000.528104][70ad] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[005:099] [2022-08-07 14:25:47 +0000.528145][70ad] H264Encode::H264SWEncoder get
callback, length:568464 type:0 nalType:7length:19
[005:099] [2022-08-07 14:25:47 +0000.528182][70ad] H264Encode:: get a sps pps
header!headerSize:32
[005:099] [2022-08-07 14:25:47 +0000.528198][70ad] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[005:100] [2022-08-07 14:25:47 +0000.528282][70ae] get the H.264 SPS parameter
[005:100] [2022-08-07 14:25:47 +0000.528461][70ae] add video track with id:2
[005:102] [2022-08-07 14:25:47 +0000.530530][70ae] get the H.264 PPS parameter
[005:103] [2022-08-07 14:25:47 +0000.531212][70ae] get the H.264 IDR frame
[005:103] [2022-08-07 14:25:47 +0000.531257][70ae] resss:true
[005:103] [2022-08-07 14:25:47 +0000.531275][70ae] video start ts:0
[005:103] [2022-08-07 14:25:47 +0000.531569][70ae] the video frame has been written
into MP4 file
[005:122] [2022-08-07 14:25:47 +0000.551005][70ae] audio start ts:0
[005:122] [2022-08-07 14:25:47 +0000.551104][70ae] the audio frame has been written
into MP4 file
[005:210] [2022-08-07 14:25:47 +0000.638939][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[005:462] [2022-08-07 14:25:47 +0000.891197][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:498] [2022-08-07 14:25:47 +0000.926450][7078] The convert RGB to YUV take 4
[005:794] [2022-08-07 14:25:48 +0000.222484][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[005:831] [2022-08-07 14:25:48 +0000.259899][70ad] DTS queue for
Generator:0x77f85a4cb8 797 830
[005:959] [2022-08-07 14:25:48 +0000.387660][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:997] [2022-08-07 14:25:48 +0000.425777][7078] The convert RGB to YUV take 3
[006:157] [2022-08-07 14:25:48 +0000.585788][707c] Run AGC when audioType = 0
[006:333] [2022-08-07 14:25:48 +0000.761802][70ad] Push an pts:1331 to dts queue.
[006:363] [2022-08-07 14:25:48 +0000.791432][70ad] last dts:1298 currentPts:1331
ppsOrSPS:0 queue length:2
[006:457] [2022-08-07 14:25:48 +0000.885642][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:485] [2022-08-07 14:25:48 +0000.913761][70a6] AF_SpeedFilter audio
0x77201d0180 PullFrame
[006:498] [2022-08-07 14:25:48 +0000.926279][7078] The convert RGB to YUV take 4
[006:664] [2022-08-07 14:25:49 +0000.92560][70ad] DTS queue for
Generator:0x77f85a4cb8 1629 1662
[006:722] [2022-08-07 14:25:49 +0000.150491][70a6]
RecordAudioSource::PullAudioFrame
[006:800] [2022-08-07 14:25:49 +0000.228294][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:916] [2022-08-07 14:25:49 +0000.344726][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[006:961] [2022-08-07 14:25:49 +0000.389341][7078] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[006:996] [2022-08-07 14:25:49 +0000.424715][7078] The convert RGB to YUV take 3
[007:027] [2022-08-07 14:25:49 +0000.455694][7078] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[007:034] [2022-08-07 14:25:49 +0000.462746][70ad] h264 add frame header cdr flag
[007:034] [2022-08-07 14:25:49 +0000.463096][70ad] Received key frame:1996
[007:068] [2022-08-07 14:25:49 +0000.496571][70ae] get the H.264 IDR frame
[007:133] [2022-08-07 14:25:49 +0000.561306][70a6] AF_SpeedFilter::PullFrame eof4
[007:135] [2022-08-07 14:25:49 +0000.563483][70a6]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[007:208] [2022-08-07 14:25:49 +0000.636877][70a6] resampled_data_size:7168
[007:383] [2022-08-07 14:25:49 +0000.811932][70ac]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:5
[007:461] [2022-08-07 14:25:49 +0000.889811][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:471] [2022-08-07 14:25:49 +0000.899596][70ad] DTS queue for
Generator:0x77f85a4cb8 2463
[007:495] [2022-08-07 14:25:49 +0000.924191][7078] The convert RGB to YUV take 2
[007:664] [2022-08-07 14:25:50 +0000.92507][70ad] Push an pts:2662 to dts queue.
[007:704] [2022-08-07 14:25:50 +0000.133158][70ad] last dts:2627 currentPts:2662
ppsOrSPS:0 queue length:2
[007:799] [2022-08-07 14:25:50 +0000.227832][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[007:957] [2022-08-07 14:25:50 +0000.386180][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:993] [2022-08-07 14:25:50 +0000.421942][7078] The convert RGB to YUV take 3
[008:057] [2022-08-07 14:25:50 +0000.485325][70a6] AF_SpeedFilter audio
0x77201d0180 PullFrame
[008:153] [2022-08-07 14:25:50 +0000.581663][707c] Run AGC when audioType = 0
[008:153] [2022-08-07 14:25:50 +0000.581905][707c]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:256] [2022-08-07 14:25:50 +0000.684368][7078] drawYUV420 render
OpenGLRenderProgram:0x772f7bfa98
[008:300] [2022-08-07 14:25:50 +0000.728687][70ad] DTS queue for
Generator:0x77f85a4cb8 3295
[008:325] [2022-08-07 14:25:50 +0000.753552][7078] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[008:325] [2022-08-07 14:25:50 +0000.753692][7078] GPUImageProcessing: input frame
width1920 X 1080
[008:325] [2022-08-07 14:25:50 +0000.754053][7078] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[008:325] [2022-08-07 14:25:50 +0000.754142][7078] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[008:332] [2022-08-07 14:25:50 +0000.760983][70ad]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3329
[008:334] [2022-08-07 14:25:50 +0000.762717][70ad] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3295 pts:3295
[008:363] [2022-08-07 14:25:50 +0000.791612][70ad] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3361
[008:363] [2022-08-07 14:25:50 +0000.791680][70ad] push video frame to H264
encoder. (100 frame for one log)

[008:363] [2022-08-07 14:25:50 +0000.791700][70ad] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[008:363] [2022-08-07 14:25:50 +0000.791722][70ad] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3361(100 frame for one
log)

[008:363] [2022-08-07 14:25:50 +0000.791751][70ad] The input pts:3361 fps:30


[008:366] [2022-08-07 14:25:50 +0000.794509][70ad] SendFrame
encodedImage._timeStamp:3329encodedImage->_length:94624
[008:397] [2022-08-07 14:25:50 +0000.826153][70ad] H264Encode::H264SWEncoder get
callback, length:105136 type:1 nalType:1length:105132
[008:455] [2022-08-07 14:25:50 +0000.884149][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:490] [2022-08-07 14:25:50 +0000.919043][7078] The convert RGB to YUV take 2
[008:556] [2022-08-07 14:25:50 +0000.984653][70a6]
RecordAudioSource::PullAudioFrame
[008:632] [2022-08-07 14:25:51 +0000.60377][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[008:803] [2022-08-07 14:25:51 +0000.231884][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[008:958] [2022-08-07 14:25:51 +0000.386670][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:997] [2022-08-07 14:25:51 +0000.425518][7078] The convert RGB to YUV take 4
[008:999] [2022-08-07 14:25:51 +0000.427853][70ad] Push an pts:3995 to dts queue.
[009:032] [2022-08-07 14:25:51 +0000.460388][70ad] h264 add frame header cdr flag
[009:032] [2022-08-07 14:25:51 +0000.460946][70ad] Received key frame:3995
[009:032] [2022-08-07 14:25:51 +0000.461010][70ad] last dts:3961 currentPts:3995
ppsOrSPS:0 queue length:2
[009:067] [2022-08-07 14:25:51 +0000.495783][70ae] get the H.264 IDR frame
[009:097] [2022-08-07 14:25:51 +0000.526095][7078] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[009:126] [2022-08-07 14:25:51 +0000.554889][70ad] DTS queue for
Generator:0x77f85a4cb8 4096 4125
[009:363] [2022-08-07 14:25:51 +0000.791820][70a6] AF_SpeedFilter::PullFrame eof4
[009:365] [2022-08-07 14:25:51 +0000.793988][70a6]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[009:400] [2022-08-07 14:25:51 +0000.829191][70a6] resampled_data_size:0
[009:455] [2022-08-07 14:25:51 +0000.883959][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:494] [2022-08-07 14:25:51 +0000.922370][7078] The convert RGB to YUV take 3
[009:625] [2022-08-07 14:25:52 +0000.53349][70a6] AF_SpeedFilter audio 0x77201d0180
PullFrame
[009:739] [2022-08-07 14:25:52 +0000.167969][70ac]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:9
[009:798] [2022-08-07 14:25:52 +0000.226904][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[009:959] [2022-08-07 14:25:52 +0000.387963][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:964] [2022-08-07 14:25:52 +0000.392562][70ad] DTS queue for
Generator:0x77f85a4cb8 4927 4961
[009:995] [2022-08-07 14:25:52 +0000.423550][7078] The convert RGB to YUV take 4
[010:152] [2022-08-07 14:25:52 +0000.580933][707d] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:152] [2022-08-07 14:25:52 +0000.581109][707d] _deviceSampleRate:48000

[010:154] [2022-08-07 14:25:52 +0000.582447][707c] Run AGC when audioType = 0


[010:332] [2022-08-07 14:25:52 +0000.761172][70ad] Push an pts:5328 to dts queue.
[010:336] [2022-08-07 14:25:52 +0000.765061][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[010:371] [2022-08-07 14:25:52 +0000.799471][70ad] last dts:5295 currentPts:5328
ppsOrSPS:0 queue length:2
[010:390] [2022-08-07 14:25:52 +0000.818893][70a6]
RecordAudioSource::PullAudioFrame
[010:458] [2022-08-07 14:25:52 +0000.886549][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[010:497] [2022-08-07 14:25:52 +0000.925301][7078] The convert RGB to YUV take 4
[010:800] [2022-08-07 14:25:53 +0000.228279][70ad] DTS queue for
Generator:0x77f85a4cb8 5760 5796
[010:801] [2022-08-07 14:25:53 +0000.229878][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[010:962] [2022-08-07 14:25:53 +0000.390629][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[010:998] [2022-08-07 14:25:53 +0000.426654][7078] The convert RGB to YUV take 3
[011:039] [2022-08-07 14:25:53 +0000.467616][70ad] h264 add frame header cdr flag
[011:040] [2022-08-07 14:25:53 +0000.468314][70ad] Received key frame:5996
[011:072] [2022-08-07 14:25:53 +0000.500694][70ae] get the H.264 IDR frame
[011:190] [2022-08-07 14:25:53 +0000.618972][7078] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[011:257] [2022-08-07 14:25:53 +0000.685448][70a6] AF_SpeedFilter audio
0x77201d0180 PullFrame
[011:463] [2022-08-07 14:25:53 +0000.891254][7078] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[011:493] [2022-08-07 14:25:53 +0000.922059][7078] The convert RGB to YUV take 4
[011:589] [2022-08-07 14:25:54 +0000.17766][7078] drawYUV420 render
OpenGLRenderProgram:0x772f7bfa98
[011:596] [2022-08-07 14:25:54 +0000.24671][70ad] DTS queue for
Generator:0x77f85a4cb8 6591
[011:624] [2022-08-07 14:25:54 +0000.52474][70a6] resampled_data_size:10240
[011:664] [2022-08-07 14:25:54 +0000.93106][70ad]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6660
[011:665] [2022-08-07 14:25:54 +0000.93335][70ad] Push an pts:6660 to dts queue.
[011:691] [2022-08-07 14:25:54 +0000.119949][7078] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[011:691] [2022-08-07 14:25:54 +0000.120142][7078] GPUImageProcessing: input frame
width1920 X 1080
[011:692] [2022-08-07 14:25:54 +0000.120984][7078] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[011:692] [2022-08-07 14:25:54 +0000.121113][7078] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[011:701] [2022-08-07 14:25:54 +0000.129484][70ad] SendFrame
encodedImage._timeStamp:6660encodedImage->_length:165312
[011:701] [2022-08-07 14:25:54 +0000.129667][70ad] last dts:6625 currentPts:6660
ppsOrSPS:0 queue length:2
[011:701] [2022-08-07 14:25:54 +0000.129722][70ad] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6660 pts:6660
[011:707] [2022-08-07 14:25:54 +0000.136014][70a6] AF_SpeedFilter::PullFrame eof4
[011:709] [2022-08-07 14:25:54 +0000.138188][70a6]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[011:731] [2022-08-07 14:25:54 +0000.159252][70ad] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6728
[011:731] [2022-08-07 14:25:54 +0000.159378][70ad] push video frame to H264
encoder. (100 frame for one log)

[011:731] [2022-08-07 14:25:54 +0000.159421][70ad] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[011:731] [2022-08-07 14:25:54 +0000.159456][70ad] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6728(100 frame for one
log)

[011:731] [2022-08-07 14:25:54 +0000.159528][70ad] The input pts:6728 fps:30


[011:765] [2022-08-07 14:25:54 +0000.193885][70ad] H264Encode::H264SWEncoder get
callback, length:94384 type:1 nalType:1length:94380
[011:795] [2022-08-07 14:25:54 +0000.223645][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[011:963] [2022-08-07 14:25:54 +0000.391868][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[011:992] [2022-08-07 14:25:54 +0000.421023][7078] The convert RGB to YUV take 2
[012:010] [2022-08-07 14:25:54 +0000.438753][70ac]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6965queue_audio_frame_:3
[012:055] [2022-08-07 14:25:54 +0000.483545][707c] haveEnoughProcessedData
internalAudioStream.length: 10
[012:156] [2022-08-07 14:25:54 +0000.584477][707c] Run AGC when audioType = 0
[012:156] [2022-08-07 14:25:54 +0000.584566][707c]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:317] [2022-08-07 14:25:54 +0000.745680][70a6]
RecordAudioSource::PullAudioFrame
[012:438] [2022-08-07 14:25:54 +0000.866296][70ad] DTS queue for
Generator:0x77f85a4cb8 7431
[012:454] [2022-08-07 14:25:54 +0000.882686][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[012:487] [2022-08-07 14:25:54 +0000.915994][7078] The convert RGB to YUV take 2
[012:802] [2022-08-07 14:25:55 +0000.230918][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[012:871] [2022-08-07 14:25:55 +0000.300210][70a6] AF_SpeedFilter audio
0x77201d0180 PullFrame
[012:958] [2022-08-07 14:25:55 +0000.386229][7078] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[012:994] [2022-08-07 14:25:55 +0000.422986][7078] The convert RGB to YUV take 4
[012:995] [2022-08-07 14:25:55 +0000.423811][70ad] Push an pts:7992 to dts queue.
[013:033] [2022-08-07 14:25:55 +0000.461559][70ad] h264 add frame header cdr flag
[013:034] [2022-08-07 14:25:55 +0000.462317][70ad] Received key frame:7992
[013:034] [2022-08-07 14:25:55 +0000.462381][70ad] last dts:7959 currentPts:7992
ppsOrSPS:0 queue length:2
[013:067] [2022-08-07 14:25:55 +0000.495698][70ae] get the H.264 IDR frame
[013:266] [2022-08-07 14:25:55 +0000.694311][7078] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3984 diff: 17
[013:268] [2022-08-07 14:25:55 +0000.696737][70ad] DTS queue for
Generator:0x77f85a4cb8 8228 8264
[013:459] [2022-08-07 14:25:55 +0000.887257][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[013:491] [2022-08-07 14:25:55 +0000.920065][7078] The convert RGB to YUV take 3
[013:788] [2022-08-07 14:25:56 +0000.216331][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[013:799] [2022-08-07 14:25:56 +0000.227754][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[013:886] [2022-08-07 14:25:56 +0000.314642][70a6] resampled_data_size:1024
[013:958] [2022-08-07 14:25:56 +0000.386263][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[013:995] [2022-08-07 14:25:56 +0000.423244][7078] The convert RGB to YUV take 6
[014:064] [2022-08-07 14:25:56 +0000.492993][70a6] AF_SpeedFilter::PullFrame eof4
[014:066] [2022-08-07 14:25:56 +0000.495207][70a6]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[014:094] [2022-08-07 14:25:56 +0000.522599][70ad] DTS queue for
Generator:0x77f85a4cb8 9058 9090
[014:152] [2022-08-07 14:25:56 +0000.580353][707c] Run AGC when audioType = 0
[014:217] [2022-08-07 14:25:56 +0000.645755][70a6]
RecordAudioSource::PullAudioFrame
[014:332] [2022-08-07 14:25:56 +0000.761100][70ad] Push an pts:9325 to dts queue.
[014:363] [2022-08-07 14:25:56 +0000.792116][70ad] last dts:9292 currentPts:9325
ppsOrSPS:0 queue length:2
[014:372] [2022-08-07 14:25:56 +0000.800410][70ac]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9287queue_audio_frame_:5
[014:454] [2022-08-07 14:25:56 +0000.882733][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[014:492] [2022-08-07 14:25:56 +0000.920579][7078] The convert RGB to YUV take 6
[014:514] [2022-08-07 14:25:56 +0000.942899][70a6] AF_SpeedFilter audio
0x77201d0180 PullFrame
[014:760] [2022-08-07 14:25:57 +0000.189193][70a7] The output timestamp from audio
mixer change:576666035
[014:793] [2022-08-07 14:25:57 +0000.222087][707c] On audio frame the broadcast
with timestamp:576666072 samples:480. (1000 frame for one log)

[014:803] [2022-08-07 14:25:57 +0000.231832][70a7] Get data in mic source, which


has byte length:1764micAudioStream->length():20
[014:803] [2022-08-07 14:25:57 +0000.232170][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[014:922] [2022-08-07 14:25:57 +0000.351014][70a6] AF_SpeedFilter audio time,
0x77201d0180 rcv time: 576666193
[014:923] [2022-08-07 14:25:57 +0000.351255][70a6] AF_SpeedFilter audio time,
0x77201d0180 rcv time: 576666193in_nSamples:441
[014:925] [2022-08-07 14:25:57 +0000.353860][7078] drawYUV420 render
OpenGLRenderProgram:0x772f7bfa98
[014:930] [2022-08-07 14:25:57 +0000.358696][70ad] DTS queue for
Generator:0x77f85a4cb8 9890 9928
[014:959] [2022-08-07 14:25:57 +0000.387930][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[014:996] [2022-08-07 14:25:57 +0000.424242][7078] The convert RGB to YUV take 5
[014:999] [2022-08-07 14:25:57 +0000.427266][70ad]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:9989
[015:015] [2022-08-07 14:25:57 +0000.443563][70a6] FilterPipeline2::OnAudioFrame
pts 10010 last_audio_timestamp_ 10010
[015:015] [2022-08-07 14:25:57 +0000.443642][70a6]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 576666197
[015:015] [2022-08-07 14:25:57 +0000.443691][70a6]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[015:031] [2022-08-07 14:25:57 +0000.459274][70ad] h264 add frame header cdr flag
[015:032] [2022-08-07 14:25:57 +0000.460484][70ad] SendFrame
encodedImage._timeStamp:9989encodedImage->_length:274640
[015:032] [2022-08-07 14:25:57 +0000.460599][70ad] Received key frame:9989
[015:055] [2022-08-07 14:25:57 +0000.483582][7078] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[015:055] [2022-08-07 14:25:57 +0000.483694][7078] GPUImageProcessing: input frame
width1920 X 1080
[015:055] [2022-08-07 14:25:57 +0000.484109][7078] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[015:056] [2022-08-07 14:25:57 +0000.484260][7078] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[015:063] [2022-08-07 14:25:57 +0000.491987][70ad] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10024 pts:10024
[015:065] [2022-08-07 14:25:57 +0000.493436][70ae] get the H.264 IDR frame
[015:095] [2022-08-07 14:25:57 +0000.523478][70ad] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:10092
[015:095] [2022-08-07 14:25:57 +0000.523588][70ad] push video frame to H264
encoder. (100 frame for one log)

[015:095] [2022-08-07 14:25:57 +0000.523649][70ad] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[015:095] [2022-08-07 14:25:57 +0000.523696][70ad] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:10092(100 frame for one
log)

[015:095] [2022-08-07 14:25:57 +0000.523756][70ad] The input pts:10092 fps:30


[015:130] [2022-08-07 14:25:57 +0000.558600][70ad] H264Encode::H264SWEncoder get
callback, length:94864 type:1 nalType:1length:94860
[015:358] [2022-08-07 14:25:57 +0000.786962][7078] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4980 diff: 21
[015:452] [2022-08-07 14:25:57 +0000.881026][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:489] [2022-08-07 14:25:57 +0000.918025][7078] The convert RGB to YUV take 2
[015:512] [2022-08-07 14:25:57 +0000.940502][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[015:666] [2022-08-07 14:25:58 +0000.94563][70ad] Push an pts:10657 to dts queue.
[015:696] [2022-08-07 14:25:58 +0000.125119][70ad] last dts:10631 currentPts:10657
ppsOrSPS:0 queue length:2
[015:730] [2022-08-07 14:25:58 +0000.158332][70ad] DTS queue for
Generator:0x77f85a4cb8 10724
[015:798] [2022-08-07 14:25:58 +0000.226238][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[015:953] [2022-08-07 14:25:58 +0000.381914][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:991] [2022-08-07 14:25:58 +0000.420045][7078] The convert RGB to YUV take 5
[016:066] [2022-08-07 14:25:58 +0000.494402][70a6] resampled_data_size:13312
[016:084] [2022-08-07 14:25:58 +0000.513186][7078] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[016:141] [2022-08-07 14:25:58 +0000.569445][70a6] AF_SpeedFilter audio time
[016:141] [2022-08-07 14:25:58 +0000.569689][70a6] AF_SpeedFilter audio time 111,
0x77201d0180 out time: 576667387 org time: 576667387
[016:158] [2022-08-07 14:25:58 +0000.586600][707c] Run AGC when audioType = 0
[016:158] [2022-08-07 14:25:58 +0000.587045][707c]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:199] [2022-08-07 14:25:58 +0000.627521][70a6] AF_SpeedFilter audio
0x77201d0180 PullFrame
[016:201] [2022-08-07 14:25:58 +0000.629856][70a6]
RecordAudioSource::PullAudioFrame
[016:451] [2022-08-07 14:25:58 +0000.879682][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[016:486] [2022-08-07 14:25:58 +0000.914401][7078] The convert RGB to YUV take 3
[016:489] [2022-08-07 14:25:58 +0000.917312][70a6] AF_SpeedFilter::PullFrame eof4
[016:491] [2022-08-07 14:25:58 +0000.919481][70a6]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[016:561] [2022-08-07 14:25:58 +0000.989929][70ad] DTS queue for
Generator:0x77f85a4cb8 11554
[016:726] [2022-08-07 14:25:59 +0000.154325][70ac]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 11609queue_audio_frame_:9
[016:794] [2022-08-07 14:25:59 +0000.222824][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[016:948] [2022-08-07 14:25:59 +0000.376469][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[016:987] [2022-08-07 14:25:59 +0000.415471][7078] The convert RGB to YUV take 3
[016:988] [2022-08-07 14:25:59 +0000.416281][70ad] Push an pts:11986 to dts queue.
[017:024] [2022-08-07 14:25:59 +0000.452814][70ad] h264 add frame header cdr flag
[017:025] [2022-08-07 14:25:59 +0000.453367][70ad] Received key frame:11986
[017:025] [2022-08-07 14:25:59 +0000.453434][70ad] last dts:11950 currentPts:11986
ppsOrSPS:0 queue length:2
[017:063] [2022-08-07 14:25:59 +0000.491345][70ae] get the H.264 IDR frame
[017:233] [2022-08-07 14:25:59 +0000.661812][707c] haveEnoughProcessedData
internalAudioStream.length: 10
[017:393] [2022-08-07 14:25:59 +0000.822188][70ad] DTS queue for
Generator:0x77f85a4cb8 12352 12389
[017:424] [2022-08-07 14:25:59 +0000.852619][7078] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5984 diff: 17
[017:452] [2022-08-07 14:25:59 +0000.880319][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[017:489] [2022-08-07 14:25:59 +0000.917526][7078] The convert RGB to YUV take 4
[017:799] [2022-08-07 14:26:00 +0000.228109][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[017:835] [2022-08-07 14:26:00 +0000.264153][70a6] AF_SpeedFilter audio
0x77201d0180 PullFrame
[017:952] [2022-08-07 14:26:00 +0000.380638][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[017:984] [2022-08-07 14:26:00 +0000.412837][7078] The convert RGB to YUV take 3
[018:117] [2022-08-07 14:26:00 +0000.545248][70a6]
RecordAudioSource::PullAudioFrame
[018:156] [2022-08-07 14:26:00 +0000.584274][707c] Run AGC when audioType = 0
[018:221] [2022-08-07 14:26:00 +0000.649769][70ad] DTS queue for
Generator:0x77f85a4cb8 13184 13215
[018:250] [2022-08-07 14:26:00 +0000.678653][7078] drawYUV420 render
OpenGLRenderProgram:0x772f7bfa98
[018:320] [2022-08-07 14:26:00 +0000.748798][70a6] resampled_data_size:4096
[018:320] [2022-08-07 14:26:00 +0000.748966][70ad]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:13318
[018:320] [2022-08-07 14:26:00 +0000.749174][70ad] Push an pts:13318 to dts queue.
[018:356] [2022-08-07 14:26:00 +0000.784343][70ad] SendFrame
encodedImage._timeStamp:13318encodedImage->_length:132752
[018:356] [2022-08-07 14:26:00 +0000.784616][70ad] last dts:13285 currentPts:13318
ppsOrSPS:0 queue length:2
[018:416] [2022-08-07 14:26:00 +0000.844486][7078] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[018:416] [2022-08-07 14:26:00 +0000.844570][7078] GPUImageProcessing: input frame
width1920 X 1080
[018:416] [2022-08-07 14:26:00 +0000.844923][7078] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[018:416] [2022-08-07 14:26:00 +0000.844990][7078] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[018:424] [2022-08-07 14:26:00 +0000.852735][70ad] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:13384 pts:13384
[018:447] [2022-08-07 14:26:00 +0000.875691][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[018:451] [2022-08-07 14:26:00 +0000.879633][70ad] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:13449
[018:451] [2022-08-07 14:26:00 +0000.879715][70ad] push video frame to H264
encoder. (100 frame for one log)

[018:451] [2022-08-07 14:26:00 +0000.880077][70ad] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[018:451] [2022-08-07 14:26:00 +0000.880159][70ad] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:13449(100 frame for one
log)

[018:451] [2022-08-07 14:26:00 +0000.880191][70ad] The input pts:13449 fps:30


[018:486] [2022-08-07 14:26:00 +0000.915143][7078] The convert RGB to YUV take 2
[018:492] [2022-08-07 14:26:00 +0000.920934][70ad] H264Encode::H264SWEncoder get
callback, length:152720 type:1 nalType:1length:152716
[018:797] [2022-08-07 14:26:01 +0000.226043][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[018:872] [2022-08-07 14:26:01 +0000.300519][70a6] AF_SpeedFilter::PullFrame eof4
[018:874] [2022-08-07 14:26:01 +0000.302996][70a6]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[018:950] [2022-08-07 14:26:01 +0000.379194][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[018:952] [2022-08-07 14:26:01 +0000.380515][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[018:985] [2022-08-07 14:26:01 +0000.413712][70ac]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 13931queue_audio_frame_:3
[018:993] [2022-08-07 14:26:01 +0000.421329][7078] The convert RGB to YUV take 4
[019:029] [2022-08-07 14:26:01 +0000.458073][70ad] h264 add frame header cdr flag
[019:030] [2022-08-07 14:26:01 +0000.459010][70ad] Received key frame:13993
[019:030] [2022-08-07 14:26:01 +0000.459091][70ad] DTS queue for
Generator:0x77f85a4cb8 14024
[019:060] [2022-08-07 14:26:01 +0000.488354][70ae] get the H.264 IDR frame
[019:449] [2022-08-07 14:26:01 +0000.877710][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[019:467] [2022-08-07 14:26:01 +0000.895432][70a6] AF_SpeedFilter audio
0x77201d0180 PullFrame
[019:486] [2022-08-07 14:26:01 +0000.915074][7078] The convert RGB to YUV take 5
[019:517] [2022-08-07 14:26:01 +0000.945337][7078] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6980 diff: 21
[019:655] [2022-08-07 14:26:02 +0000.83896][70ad] Push an pts:14653 to dts queue.
[019:695] [2022-08-07 14:26:02 +0000.123778][70ad] last dts:14615 currentPts:14653
ppsOrSPS:0 queue length:2
[019:796] [2022-08-07 14:26:02 +0000.224274][70a7] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[019:860] [2022-08-07 14:26:02 +0000.288613][70ad] DTS queue for
Generator:0x77f85a4cb8 14853
[019:953] [2022-08-07 14:26:02 +0000.381435][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[019:989] [2022-08-07 14:26:02 +0000.417324][7078] The convert RGB to YUV take 4
[020:033] [2022-08-07 14:26:02 +0000.461524][70a6]
RecordAudioSource::PullAudioFrame
[020:152] [2022-08-07 14:26:02 +0000.580931][707d] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:152] [2022-08-07 14:26:02 +0000.581115][707d] _deviceSampleRate:48000

[020:158] [2022-08-07 14:26:02 +0000.586411][707c] Run AGC when audioType = 0


[020:159] [2022-08-07 14:26:02 +0000.587314][707c]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:187] [2022-08-07 14:26:02 +0000.616107][7078] StopRecording:
[020:189] [2022-08-07 14:26:02 +0000.617291][7078] OnNeedStopRecording:
[020:192] [2022-08-07 14:26:02 +0000.621247][70a6] resampled_data_size:512
[020:193] [2022-08-07 14:26:02 +0000.621359][70a6] AF_SpeedFilter audio time 222,
0x77201d0180 out time: 576671357 org time: 576671357
[020:193] [2022-08-07 14:26:02 +0000.621492][70a6] PullAudioFrame: PullFrame audio
finished.
[020:193] [2022-08-07 14:26:02 +0000.621531][70a6]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[020:197] [2022-08-07 14:26:02 +0000.625424][5afb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[020:197] [2022-08-07 14:26:02 +0000.625909][7078] operator(): Stop
[020:197] [2022-08-07 14:26:02 +0000.625985][7078] StopPullFrameAndWriteMp4
time:576671476 enter.

[020:197] [2022-08-07 14:26:02 +0000.626044][7078] StopRecording:


[020:200] [2022-08-07 14:26:02 +0000.628958][70ad]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:456
[020:201] [2022-08-07 14:26:02 +0000.629543][7077] stop recording
[020:201] [2022-08-07 14:26:02 +0000.629589][7077]
RecordingSessionInternalSimple:destroy media processers
[020:201] [2022-08-07 14:26:02 +0000.629618][7077] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[020:201] [2022-08-07 14:26:02 +0000.629644][7077] H264Encode::flushing hareware
Encoder
[020:201] [2022-08-07 14:26:02 +0000.629849][7077] Flush time:576671480 enter.

[020:201] [2022-08-07 14:26:02 +0000.629953][7077] H264Encoder encoder flush


[020:201] [2022-08-07 14:26:02 +0000.629984][7077] flush output queue
[020:531] [2022-08-07 14:26:02 +0000.959323][7077] Flush leave. expire time = 330
ms

[020:531] [2022-08-07 14:26:02 +0000.959512][7077] ~H264EncodeWrap:


[020:531] [2022-08-07 14:26:02 +0000.959563][7077] ~H264Encode:
[020:531] [2022-08-07 14:26:02 +0000.959610][7077] teardownCompressionSession:
H264Encode::destroying Encoder
[020:531] [2022-08-07 14:26:02 +0000.959652][7077] Release time:576671810 enter.

[020:531] [2022-08-07 14:26:02 +0000.959803][7077] Release:


MediaCodecVideoEncoder::Release _inited:1
[020:531] [2022-08-07 14:26:02 +0000.959846][7077] Destroy time:576671810 enter.

[020:531] [2022-08-07 14:26:02 +0000.959870][7077] H264Encoder encoderDestroy


[020:531] [2022-08-07 14:26:02 +0000.959893][7077]
AndroidMediaCodecVideoEncoder::release env: 0x77f86c3bc0
[020:531] [2022-08-07 14:26:02 +0000.959917][7077]
AndroidMediaCodecVideoEncoder::Destroy
[020:572] [2022-08-07 14:26:03 +0000.309][7077] Destroy leave. expire time = 41 ms

[020:572] [2022-08-07 14:26:03 +0000.488][7077] Release leave. expire time = 41 ms

[020:572] [2022-08-07 14:26:03 +0000.614][7077] ~AndroidHwAvcEncoder time:576671851


enter.

[020:572] [2022-08-07 14:26:03 +0000.832][7077] Release time:576671851 enter.

[020:573] [2022-08-07 14:26:03 +0000.1425][7077] Release: MediaCodecVideoEncoder::


has been released before, just return
[020:573] [2022-08-07 14:26:03 +0000.1462][7077] Release leave. expire time = 1 ms

[020:573] [2022-08-07 14:26:03 +0000.1493][7077] ~AndroidMediaCodecVideoEncoder


[020:573] [2022-08-07 14:26:03 +0000.1564][7077] ~WrapAndroidMediaCodec
time:576671852 enter.

[020:573] [2022-08-07 14:26:03 +0000.1595][7077] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[020:573] [2022-08-07 14:26:03 +0000.1643][7077] video hevc hw codec


destructor:0x77139dad58

[020:573] [2022-08-07 14:26:03 +0000.1737][7077] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[020:573] [2022-08-07 14:26:03 +0000.1786][7077] teardownCompressionSession:


H264Encode::destroyed Encoder
[020:573] [2022-08-07 14:26:03 +0000.1837][7077]
RecordingSessionInternalSimple:destroy aac encoder output!
[020:573] [2022-08-07 14:26:03 +0000.1878][7077] AACSWEncode destructor
[020:585] [2022-08-07 14:26:03 +0000.13920][70ae] MP4 close file successfully
[020:585] [2022-08-07 14:26:03 +0000.14000][70ae] Recording session Internal:
notify recording ok
[020:585] [2022-08-07 14:26:03 +0000.14041][70ae] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4,
output_video_timestamp_:15186 last_video_pts_:15157
[020:585] [2022-08-07 14:26:03 +0000.14078][70ae] OnRecordFinish:
[020:586] [2022-08-07 14:26:03 +0000.14848][70ae] onRecordingOk: net seek
pos:0record video duration:15190record audio duration:15162
[020:587] [2022-08-07 14:26:03 +0000.15249][70a7] destructMicSource_w:
[020:587] [2022-08-07 14:26:03 +0000.15296][70a7] setOutput_w:
MicSource::setOutput() 0x0
[020:587] [2022-08-07 14:26:03 +0000.15338][70a7] close external audio stream

[020:587] [2022-08-07 14:26:03 +0000.15749][7078] releaseThread 0x772018ff80


[020:587] [2022-08-07 14:26:03 +0000.15798][7078] ~MicSource: Mic source
destroyed:0x78086fb200
[020:589] [2022-08-07 14:26:03 +0000.17461][7078] StopPullFrameAndWriteMp4 leave.
expire time = 392 ms

[020:589] [2022-08-07 14:26:03 +0000.17507][7078] DestroyPipelineAndFilters


time:576671868 enter.

[020:589] [2022-08-07 14:26:03 +0000.17541][7078] UnbindInputFilter 0x7720190fc0


this 0x772f7bfcc0
[020:589] [2022-08-07 14:26:03 +0000.17577][7078] UnbindInputFilter 0x77201d0158
this 0x77201d02d0
[020:589] [2022-08-07 14:26:03 +0000.17616][7078] UnbindInputFilter 0x772f7bfcc0
this 0x778b8a6ee0
[020:589] [2022-08-07 14:26:03 +0000.17639][7078] filter: filter pipeline destroy
this: 0x778b8a6e40
[020:589] [2022-08-07 14:26:03 +0000.18001][7078] ClearVideoOfSources: recodring
total frames:0
[020:589] [2022-08-07 14:26:03 +0000.18031][7078] ClearVideoOfSources:
[020:589] [2022-08-07 14:26:03 +0000.18088][7078] GPUImageProcessing destruct.
[020:589] [2022-08-07 14:26:03 +0000.18140][7078] destroy TrivalImageDrawer
0x77202d4900
[020:589] [2022-08-07 14:26:03 +0000.18169][7078] The shader has been initialize,
clean up them.

[020:590] [2022-08-07 14:26:03 +0000.18258][7078] ~OpenGLFrameBuffer:


[020:590] [2022-08-07 14:26:03 +0000.18762][7078] ~OpenGLFrameBuffer:
[020:590] [2022-08-07 14:26:03 +0000.18837][7078] ~OpenGLFrameBuffer:
[020:590] [2022-08-07 14:26:03 +0000.18896][7078] ~OpenGLFrameBuffer:
[020:590] [2022-08-07 14:26:03 +0000.18954][7078] ~OpenGLFrameBuffer:
[020:590] [2022-08-07 14:26:03 +0000.19010][7078] ~OpenGLFrameBuffer:
[020:590] [2022-08-07 14:26:03 +0000.19185][7078] GPUImageProcessing destruct
finish.
[020:591] [2022-08-07 14:26:03 +0000.19228][7078] GPURGBAFrame destruct.
[020:591] [2022-08-07 14:26:03 +0000.19267][7078] destroy OpenGLRenderProgram
0x772f7bfa98
[020:591] [2022-08-07 14:26:03 +0000.19289][7078] ~CameraSource time:576671870
enter.

[020:591] [2022-08-07 14:26:03 +0000.19309][7078] ~CameraSource leave. expire time


= 0 ms

[020:591] [2022-08-07 14:26:03 +0000.19332][7078] ~RecordAudioSource time:576671870


enter.

[020:591] [2022-08-07 14:26:03 +0000.19350][7078] ~RecordAudioSource leave. expire


time = 0 ms

[020:591] [2022-08-07 14:26:03 +0000.19404][7078] DestroyPipelineAndFilters leave.


expire time = 2 ms

[020:608] [2022-08-07 14:26:03 +0000.37187][5afb]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[020:609] [2022-08-07 14:26:03 +0000.37963][5afb] machine model :poco
[020:609] [2022-08-07 14:26:03 +0000.38003][5afb] Support this machine model :poco
[020:609] [2022-08-07 14:26:03 +0000.38036][5afb] global inited! current sdk
version: 07-20-936c45f
[020:609] [2022-08-07 14:26:03 +0000.38198][5afb] filter: filter pipeline construtc
this: 0x772002cc80
[020:610] [2022-08-07 14:26:03 +0000.38225][5afb] MediaFilterGraph:
MediaFilterGraph construct
[020:610] [2022-08-07 14:26:03 +0000.38259][5afb] GLESContext:
[020:610] [2022-08-07 14:26:03 +0000.38310][5afb] The result of eglGetDisplay is:
0xb40000780862bf00
[020:611] [2022-08-07 14:26:03 +0000.39745][5afb] The result of creation:
0x7720243180
[020:611] [2022-08-07 14:26:03 +0000.39865][5afb] The result of
eglCreatePbufferSurface is: 0x7720243680
[020:612] [2022-08-07 14:26:03 +0000.40874][5afb] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4
[020:612] [2022-08-07 14:26:03 +0000.40936][5afb] The source 0 speed:1
[020:612] [2022-08-07 14:26:03 +0000.40982][5afb] AddVideoSource: add video source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4,
delay: 0
[020:612] [2022-08-07 14:26:03 +0000.41037][5afb] CreateDecoderByVideoSource
time:576671891 enter.

[020:613] [2022-08-07 14:26:03 +0000.41360][5afb] running_decoder_count:0max


count:2
[020:613] [2022-08-07 14:26:03 +0000.41410][5afb] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x771fff6800
[020:629] [2022-08-07 14:26:03 +0000.58212][7207] FFMpeg=> [mov,mp4,m4a,3gp,3g2,mj2
@ 0x771f4b8800] Current FFmpeg version git-2021-06-16-97cea6f

[020:666] [2022-08-07 14:26:03 +0000.94735][707c] haveEnoughProcessedData


internalAudioStream.length: 0
[020:698] [2022-08-07 14:26:03 +0000.127003][7207] OnStreamInfoFound: video
duration_: 15190
[020:702] [2022-08-07 14:26:03 +0000.130476][5afb] start decoder
[020:702] [2022-08-07 14:26:03 +0000.130624][5afb] CreateDecoderByVideoSource
leave. expire time = 90 ms

[020:702] [2022-08-07 14:26:03 +0000.130778][5afb] BindInputFilter 0x772013d120


this 0x772020b998
[020:702] [2022-08-07 14:26:03 +0000.130904][5afb] BindInputFilter 0x772020b998
this 0x772020da98
[020:702] [2022-08-07 14:26:03 +0000.131017][5afb] BindInputFilter 0x772013d120
this 0x772020dc18
[020:702] [2022-08-07 14:26:03 +0000.131126][5afb] BindInputFilter 0x772020dc18
this 0x772020dd98
[020:703] [2022-08-07 14:26:03 +0000.131289][5afb] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4
[020:703] [2022-08-07 14:26:03 +0000.131414][5afb] BindInputFilter 0x772020da98
this 0x772020df18
[020:703] [2022-08-07 14:26:03 +0000.131573][5afb] BindInputFilter 0x772020df18
this 0x772002cd20
[020:703] [2022-08-07 14:26:03 +0000.131685][5afb] BindInputFilter 0x772020dd98
this 0x7720240098
[020:703] [2022-08-07 14:26:03 +0000.131742][5afb] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4
[020:704] [2022-08-07 14:26:03 +0000.133016][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[020:704] [2022-08-07 14:26:03 +0000.133123][7208] NO get frame from decoder
[020:705] [2022-08-07 14:26:03 +0000.133680][5afb] machine model :poco
[020:706] [2022-08-07 14:26:03 +0000.134456][5afb] Support this machine model :poco
[020:706] [2022-08-07 14:26:03 +0000.134496][5afb] global inited! current sdk
version: 07-20-936c45f
[020:706] [2022-08-07 14:26:03 +0000.134597][5afb] GetPipeline:
-----------------------------------------
[020:706] [2022-08-07 14:26:03 +0000.134646][5afb] GetPipeline: source:
0x772013cf00
[020:706] [2022-08-07 14:26:03 +0000.134681][5afb] GetPipeline: filter: NULLFilter
[020:706] [2022-08-07 14:26:03 +0000.134713][5afb] GetPipeline: filter: NULLFilter
[020:706] [2022-08-07 14:26:03 +0000.134744][5afb] GetPipeline: filter: NULLFilter
[020:706] [2022-08-07 14:26:03 +0000.134832][5afb] GetPipeline: audio filter:
AuidoNULLFilter
[020:706] [2022-08-07 14:26:03 +0000.134869][5afb] GetPipeline: audio filter:
AuidoNULLFilter
[020:706] [2022-08-07 14:26:03 +0000.134901][5afb] GetPipeline: audio filter:
AudioNUllFilter
[020:706] [2022-08-07 14:26:03 +0000.134967][5afb] GetPipeline:
------------------------------------------
[020:706] [2022-08-07 14:26:03 +0000.135047][5afb] filter: filter pipeline2 update
pattern: 0
[020:707] [2022-08-07 14:26:03 +0000.135837][5afb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[020:707] [2022-08-07 14:26:03 +0000.136201][5afb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[020:708] [2022-08-07 14:26:03 +0000.136280][5afb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[020:708] [2022-08-07 14:26:03 +0000.136664][5afb] DeviceInit:
[020:708] [2022-08-07 14:26:03 +0000.137089][5afb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[020:709] [2022-08-07 14:26:03 +0000.137580][5afb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[020:709] [2022-08-07 14:26:03 +0000.138056][5afb] CreatePlatformSpecificObjects:
[020:709] [2022-08-07 14:26:03 +0000.138112][5afb] audio device use null audio
input and opensl output
[020:709] [2022-08-07 14:26:03 +0000.138204][5afb] Create OpenSLES output module
with java VM support.

[020:710] [2022-08-07 14:26:03 +0000.138378][7208] NO get frame from decoder


[020:710] [2022-08-07 14:26:03 +0000.138436][5afb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[020:710] [2022-08-07 14:26:03 +0000.138719][5afb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[020:710] [2022-08-07 14:26:03 +0000.139017][5afb] Create OpenSLES output module
with buffer num:2

[020:710] [2022-08-07 14:26:03 +0000.139101][5afb] Error(trace.cc:40): Init the


output and input for audio device template.
[020:710] [2022-08-07 14:26:03 +0000.139155][5afb] Init the output device.

[020:710] [2022-08-07 14:26:03 +0000.139208][5afb] Set the playout as stereo:1


[020:711] [2022-08-07 14:26:03 +0000.139260][5afb] Set the sample rate to be:44100

[020:711] [2022-08-07 14:26:03 +0000.139329][5afb] Low latency buffer size:144 low


sample rate:48000
[020:711] [2022-08-07 14:26:03 +0000.139383][5afb] DeviceInit: Done
[020:711] [2022-08-07 14:26:03 +0000.139607][5afb] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[020:711] [2022-08-07 14:26:03 +0000.140191][7213] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77202c3718
[020:713] [2022-08-07 14:26:03 +0000.142015][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[020:714] [2022-08-07 14:26:03 +0000.142263][5afb]
MediaFilterPlayer::SetPlayerNotify 0x771fed0fe0
[020:720] [2022-08-07 14:26:03 +0000.148641][5afb]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[020:720] [2022-08-07 14:26:03 +0000.148767][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[020:721] [2022-08-07 14:26:03 +0000.149625][7208] NO get frame from decoder
[020:722] [2022-08-07 14:26:03 +0000.150434][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[020:723] [2022-08-07 14:26:03 +0000.151381][7208] NO get frame from decoder
[020:723] [2022-08-07 14:26:03 +0000.151597][5afb] SetGraphLoop: SetGraphLoop 1
[020:723] [2022-08-07 14:26:03 +0000.151663][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[020:724] [2022-08-07 14:26:03 +0000.152570][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[020:726] [2022-08-07 14:26:03 +0000.154284][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[020:727] [2022-08-07 14:26:03 +0000.155612][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[020:727] [2022-08-07 14:26:03 +0000.155824][7215] Start:
[020:727] [2022-08-07 14:26:03 +0000.155967][7214] operator(): video render
started.
[020:727] [2022-08-07 14:26:03 +0000.156043][7214] DriveRender working... (1/200)
[020:727] [2022-08-07 14:26:03 +0000.156087][7214] Warning(video_render.cc:390): No
picture to display (1/50)
[020:727] [2022-08-07 14:26:03 +0000.156186][7215] Start:
[020:728] [2022-08-07 14:26:03 +0000.156300][7215] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[020:728] [2022-08-07 14:26:03 +0000.156358][7215] Reset: history total size: 98
[020:728] [2022-08-07 14:26:03 +0000.156410][7215] DeviceStart:
audioDevice_:0x778b8da000
[020:728] [2022-08-07 14:26:03 +0000.156449][7215] DeviceStart: time profile
playout init before
[020:728] [2022-08-07 14:26:03 +0000.156501][7215] DeviceStart: time profile
playout init end
[020:728] [2022-08-07 14:26:03 +0000.156532][7215] OpenSlesOutput:Start playout

[020:728] [2022-08-07 14:26:03 +0000.156595][7208] NO get frame from decoder


[020:730] [2022-08-07 14:26:03 +0000.158866][7215] Create the opensl output player.
streamtype before:0

[020:730] [2022-08-07 14:26:03 +0000.158921][7215] Create the opensl output player.


streamtype after:3

[020:731] [2022-08-07 14:26:03 +0000.159398][7208] NO get frame from decoder


[020:734] [2022-08-07 14:26:03 +0000.162916][7208] NO get frame from decoder
[020:738] [2022-08-07 14:26:03 +0000.167040][7208] NO get frame from decoder
[020:755] [2022-08-07 14:26:03 +0000.184064][7215] Enqueue opensl buffer size:1764
[020:781] [2022-08-07 14:26:03 +0000.210092][7215] DeviceStart: time profile
playout all end
[020:781] [2022-08-07 14:26:03 +0000.210160][7215] operator(): Audio playback
started.
[020:782] [2022-08-07 14:26:03 +0000.210254][7215] operator(): Started now!
[020:782] [2022-08-07 14:26:03 +0000.210307][7216] Pull audio failed.(wait video!)
[020:782] [2022-08-07 14:26:03 +0000.210340][7216]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[020:782] [2022-08-07 14:26:03 +0000.211019][7216] Pull audio failed.(wait video!)
[020:782] [2022-08-07 14:26:03 +0000.211089][7216]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[020:783] [2022-08-07 14:26:03 +0000.211821][7216] Pull audio failed.(wait video!)
[020:783] [2022-08-07 14:26:03 +0000.211861][7216]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[020:784] [2022-08-07 14:26:03 +0000.212498][7218]
PlayerSimpleBufferQueueCallbackHandler function
[020:784] [2022-08-07 14:26:03 +0000.212601][7218] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[020:784] [2022-08-07 14:26:03 +0000.212619][7218]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[020:784] [2022-08-07 14:26:03 +0000.212524][7216] Pull audio failed.(wait video!)
[020:784] [2022-08-07 14:26:03 +0000.213021][7216]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[020:785] [2022-08-07 14:26:03 +0000.214168][7216] Pull audio failed.(wait video!)
[020:786] [2022-08-07 14:26:03 +0000.214212][7216]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[020:786] [2022-08-07 14:26:03 +0000.214859][7216] Pull audio failed.(wait video!)
[020:786] [2022-08-07 14:26:03 +0000.214897][7216]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[020:787] [2022-08-07 14:26:03 +0000.215591][7216] Pull audio failed.(wait video!)
[020:787] [2022-08-07 14:26:03 +0000.215637][7216]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[020:788] [2022-08-07 14:26:03 +0000.216224][7217] Error(video_source.cc:430): wait
decoder a frame: 6
[020:788] [2022-08-07 14:26:03 +0000.216606][7216] Pull audio failed.(wait video!)
[020:788] [2022-08-07 14:26:03 +0000.216651][7216]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[020:789] [2022-08-07 14:26:03 +0000.217444][7216] Pull audio failed.(wait video!)
[020:789] [2022-08-07 14:26:03 +0000.217491][7216]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[020:789] [2022-08-07 14:26:03 +0000.217936][7217] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[020:789] [2022-08-07 14:26:03 +0000.218042][7216] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[020:789] [2022-08-07 14:26:03 +0000.218081][7216] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[020:790] [2022-08-07 14:26:03 +0000.218518][7216] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[020:790] [2022-08-07 14:26:03 +0000.218866][7216]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[020:791] [2022-08-07 14:26:03 +0000.219325][7216] audio frame wait video
frame.last_video_timestamp:10 last_audio_timestamp:115.964
[020:791] [2022-08-07 14:26:03 +0000.219606][7215] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[020:791] [2022-08-07 14:26:03 +0000.219679][7216]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[020:791] [2022-08-07 14:26:03 +0000.219760][7215] The audio playback speed:100
(1/100)
[020:791] [2022-08-07 14:26:03 +0000.219790][7215] lipsync_debug: The current
played audio timestamp is:0(1/50)
[020:791] [2022-08-07 14:26:03 +0000.219807][7215] First audio frame rendering
[020:793] [2022-08-07 14:26:03 +0000.222027][7217] OnVideoFrameReady(1/200)
[020:793] [2022-08-07 14:26:03 +0000.222207][7214] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[020:800] [2022-08-07 14:26:03 +0000.228436][7214] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:576672079
[020:814] [2022-08-07 14:26:03 +0000.242227][7214] lipsync_debug: render a video
frame
[020:814] [2022-08-07 14:26:03 +0000.242335][7214] lipsync_debug: First video frame
rendering.
[020:824] [2022-08-07 14:26:03 +0000.252834][7214]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:21 timeDelta:24 last
video ts:900 frame->pts:2790 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[020:824] [2022-08-07 14:26:03 +0000.252894][7214] lipsync_debug: tsDelta -
timeDelta = -3
[020:824] [2022-08-07 14:26:03 +0000.252906][7214] lipsync_debug:result remaining
time:0
[020:824] [2022-08-07 14:26:03 +0000.252917][7214] dynamic updated lipsync delay:0
[020:829] [2022-08-07 14:26:03 +0000.257858][7214] lipsync_debug:remaining time:10
tsDelta - timeDelta:20
[020:829] [2022-08-07 14:26:03 +0000.257997][7214] lipsync_debug:result remaining
time:10
[020:898] [2022-08-07 14:26:03 +0000.326368][7217] video frame wait audio frame:
last_video_timestamp:295 last_audio_timestamp:184.943
[020:898] [2022-08-07 14:26:03 +0000.326465][7217]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[021:454] [2022-08-07 14:26:03 +0000.882603][7214] lipsync_debug:displaying video
ts:59760 The current displayed video timestamp is:576672733
[021:468] [2022-08-07 14:26:03 +0000.896930][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[021:469] [2022-08-07 14:26:03 +0000.897384][7215] Stop:
[021:469] [2022-08-07 14:26:03 +0000.897540][7214] operator(): Video Render
stopped.
[021:469] [2022-08-07 14:26:03 +0000.897682][7215] Stop:
[021:469] [2022-08-07 14:26:03 +0000.897918][7215] DeviceStop:
audioDevice_:0x778b8da000
[021:469] [2022-08-07 14:26:03 +0000.897975][7215] OpenSlesOutput:Stop playout

[021:472] [2022-08-07 14:26:03 +0000.900350][7215] DeviceStop: Done


[021:472] [2022-08-07 14:26:03 +0000.900506][7215] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[021:472] [2022-08-07 14:26:03 +0000.900558][7215] operator(): Stop now!
[021:512] [2022-08-07 14:26:03 +0000.940689][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[021:512] [2022-08-07 14:26:03 +0000.940814][5afb] StopPreView: Have Stopped,
operation cancel
[021:512] [2022-08-07 14:26:03 +0000.940843][5afb] Stop:
[021:512] [2022-08-07 14:26:03 +0000.940948][7215] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[021:512] [2022-08-07 14:26:03 +0000.941157][5afb] DeviceRelease:
audioDevice_:0x778b8da000
[021:512] [2022-08-07 14:26:03 +0000.941206][5afb] OpenSlesOutput:Stop playout

[021:513] [2022-08-07 14:26:03 +0000.941423][5afb] DeviceRelease: Release the


webrtc device object.
[021:513] [2022-08-07 14:26:03 +0000.941795][5afb] OpenSlesOutput destruct.

[021:513] [2022-08-07 14:26:03 +0000.941860][5afb] DeviceRelease: Done


[021:513] [2022-08-07 14:26:03 +0000.941942][5afb] Stop:
[021:513] [2022-08-07 14:26:03 +0000.942085][7214] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[021:516] [2022-08-07 14:26:03 +0000.944348][5afb] global uninited!
[021:519] [2022-08-07 14:26:03 +0000.947287][5afb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[021:519] [2022-08-07 14:26:03 +0000.947409][5afb] ~MediaFilterGraph:
MediaFilterGraph destruct
[021:519] [2022-08-07 14:26:03 +0000.947453][5afb] RemoveVideoBackGroud: hava not
add video backgroud
[021:519] [2022-08-07 14:26:03 +0000.947518][5afb] UnbindInputFilter 0x772020df18
this 0x772002cd20
[021:519] [2022-08-07 14:26:03 +0000.947562][5afb] ClearAllSource: remove source
filter, sourceid: 0x772013cf00
[021:519] [2022-08-07 14:26:03 +0000.947598][5afb] DestoryDecoderByVideoSource
time:576672798 enter.

[021:519] [2022-08-07 14:26:03 +0000.947646][5afb] ~VideoBindDecoder time:576672798


enter.

[021:519] [2022-08-07 14:26:03 +0000.947862][5afb] CleanUp time:576672798 enter.

[021:524] [2022-08-07 14:26:03 +0000.952548][5afb] CleanUp leave. expire time = 5


ms

[021:524] [2022-08-07 14:26:03 +0000.952617][5afb] CleanUp time:576672803 enter.

[021:524] [2022-08-07 14:26:03 +0000.952858][5afb] CleanUp leave. expire time = 0


ms

[021:525] [2022-08-07 14:26:03 +0000.953365][5afb] ~VideoBindDecoder leave. expire


time = 6 ms

[021:525] [2022-08-07 14:26:03 +0000.953436][5afb] DestoryDecoderByVideoSource


leave. expire time = 6 ms

[021:525] [2022-08-07 14:26:03 +0000.953494][5afb] UnbindInputFilter 0x772020da98


this 0x772020df18
[021:525] [2022-08-07 14:26:03 +0000.953614][5afb] UnbindInputFilter 0x772020b998
this 0x772020da98
[021:525] [2022-08-07 14:26:03 +0000.953733][5afb] UnbindInputFilter 0x772013d120
this 0x772020b998
[021:525] [2022-08-07 14:26:03 +0000.953811][5afb] UnbindInputFilter 0x772020dd98
this 0x7720240098
[021:525] [2022-08-07 14:26:03 +0000.953882][5afb] UnbindInputFilter 0x772020dc18
this 0x772020dd98
[021:525] [2022-08-07 14:26:03 +0000.953923][5afb] UnbindInputFilter 0x772013d120
this 0x772020dc18
[021:527] [2022-08-07 14:26:03 +0000.955427][5afb] ~GLESContext:
[021:527] [2022-08-07 14:26:03 +0000.955957][5afb] GLESContext destruct finish.
[021:527] [2022-08-07 14:26:03 +0000.955998][5afb] filter: filter pipeline destroy
this: 0x772002cc80
[021:529] [2022-08-07 14:26:03 +0000.957476][5afb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[021:529] [2022-08-07 14:26:03 +0000.957931][5afb] machine model :poco
[021:529] [2022-08-07 14:26:03 +0000.957965][5afb] Support this machine model :poco
[021:529] [2022-08-07 14:26:03 +0000.957988][5afb] global inited! current sdk
version: 07-20-936c45f
[021:529] [2022-08-07 14:26:03 +0000.958118][5afb] filter: filter pipeline
construtc this: 0x772002cc80
[021:529] [2022-08-07 14:26:03 +0000.958150][5afb] MediaFilterGraph:
MediaFilterGraph construct
[021:529] [2022-08-07 14:26:03 +0000.958193][5afb] GLESContext:
[021:530] [2022-08-07 14:26:03 +0000.958252][5afb] The result of eglGetDisplay is:
0xb40000780862bf00
[021:530] [2022-08-07 14:26:03 +0000.959025][5afb] The result of creation:
0x772019ff80
[021:530] [2022-08-07 14:26:03 +0000.959107][5afb] The result of
eglCreatePbufferSurface is: 0x7720243680
[021:531] [2022-08-07 14:26:03 +0000.959212][5afb] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4
[021:531] [2022-08-07 14:26:03 +0000.959261][5afb] The source 0 speed:1
[021:531] [2022-08-07 14:26:03 +0000.959329][5afb] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4,
delay: 0
[021:531] [2022-08-07 14:26:03 +0000.959356][5afb] CreateDecoderByVideoSource
time:576672810 enter.

[021:531] [2022-08-07 14:26:03 +0000.959506][5afb] running_decoder_count:0max


count:2
[021:531] [2022-08-07 14:26:03 +0000.959537][5afb] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x771fff6800
[021:532] [2022-08-07 14:26:03 +0000.960274][721d] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x771f4b9a00] Current FFmpeg version git-2021-06-16-
97cea6f

[021:583] [2022-08-07 14:26:04 +0000.11219][721d] OnStreamInfoFound: video


duration_: 15190
[021:588] [2022-08-07 14:26:04 +0000.16310][5afb] start decoder
[021:588] [2022-08-07 14:26:04 +0000.16450][5afb] CreateDecoderByVideoSource
leave. expire time = 57 ms

[021:588] [2022-08-07 14:26:04 +0000.16583][5afb] BindInputFilter 0x772013d120


this 0x772020da98
[021:588] [2022-08-07 14:26:04 +0000.16684][5afb] BindInputFilter 0x772020da98
this 0x772020dc18
[021:588] [2022-08-07 14:26:04 +0000.16806][5afb] BindInputFilter 0x772013d120
this 0x772020dd98
[021:588] [2022-08-07 14:26:04 +0000.16901][5afb] BindInputFilter 0x772020dd98
this 0x772020df18
[021:588] [2022-08-07 14:26:04 +0000.16975][5afb] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4
[021:588] [2022-08-07 14:26:04 +0000.17088][5afb] BindInputFilter 0x772020dc18
this 0x7720240098
[021:588] [2022-08-07 14:26:04 +0000.17188][5afb] BindInputFilter 0x7720240098
this 0x772002cd20
[021:589] [2022-08-07 14:26:04 +0000.17342][5afb] BindInputFilter 0x772020df18
this 0x7720240698
[021:589] [2022-08-07 14:26:04 +0000.17427][5afb] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_576656068.mp4
[021:590] [2022-08-07 14:26:04 +0000.19066][5afb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[021:591] [2022-08-07 14:26:04 +0000.19260][5afb] MediaComposeFile time:576672870
enter.

[021:591] [2022-08-07 14:26:04 +0000.19320][721e] NO get frame from decoder


[021:591] [2022-08-07 14:26:04 +0000.19330][5afb] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[021:591] [2022-08-07 14:26:04 +0000.19858][5afb] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[021:591] [2022-08-07 14:26:04 +0000.19928][5afb] Recording session using default
bitrate support by app:31457280
[021:592] [2022-08-07 14:26:04 +0000.20219][7229] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x76feaa3940
[021:592] [2022-08-07 14:26:04 +0000.20269][7229] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[021:592] [2022-08-07 14:26:04 +0000.20376][5afb] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[021:592] [2022-08-07 14:26:04 +0000.21168][5afb] GetPipeline:
-----------------------------------------
[021:593] [2022-08-07 14:26:04 +0000.21329][5afb] GetPipeline: source: 0x772013cf00
[021:593] [2022-08-07 14:26:04 +0000.21397][5afb] GetPipeline: filter: NULLFilter
[021:593] [2022-08-07 14:26:04 +0000.21494][5afb] GetPipeline: filter: NULLFilter
[021:593] [2022-08-07 14:26:04 +0000.21573][5afb] GetPipeline: filter: NULLFilter
[021:593] [2022-08-07 14:26:04 +0000.21649][5afb] GetPipeline: audio filter:
AuidoNULLFilter
[021:593] [2022-08-07 14:26:04 +0000.21721][5afb] GetPipeline: audio filter:
AuidoNULLFilter
[021:593] [2022-08-07 14:26:04 +0000.21795][5afb] GetPipeline: audio filter:
AudioNUllFilter
[021:593] [2022-08-07 14:26:04 +0000.21856][5afb] GetPipeline:
------------------------------------------
[021:593] [2022-08-07 14:26:04 +0000.21886][5afb] filter: filter pipeline2 update
pattern: 2
[021:593] [2022-08-07 14:26:04 +0000.22140][5afb] MediaComposeFile leave. expire
time = 2 ms

[021:594] [2022-08-07 14:26:04 +0000.22798][5afb] machine model :poco


[021:594] [2022-08-07 14:26:04 +0000.22846][5afb] Support this machine model :poco
[021:594] [2022-08-07 14:26:04 +0000.22885][5afb] global inited! current sdk
version: 07-20-936c45f
[021:598] [2022-08-07 14:26:04 +0000.26883][721e] NO get frame from decoder
[021:600] [2022-08-07 14:26:04 +0000.28469][721e] NO get frame from decoder
[021:603] [2022-08-07 14:26:04 +0000.31279][721e] NO get frame from decoder
[021:608] [2022-08-07 14:26:04 +0000.36864][721e] NO get frame from decoder
[021:611] [2022-08-07 14:26:04 +0000.39229][721e] NO get frame from decoder
[021:613] [2022-08-07 14:26:04 +0000.41900][721e] NO get frame from decoder
[021:613] [2022-08-07 14:26:04 +0000.42196][721e] NO get frame from decoder
[021:616] [2022-08-07 14:26:04 +0000.44535][5afb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[021:616] [2022-08-07 14:26:04 +0000.44642][5afb] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 222
[021:617] [2022-08-07 14:26:04 +0000.45366][5afb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[021:617] [2022-08-07 14:26:04 +0000.45418][5afb] BeginCompose: BeginCompose, is
composing 0
[021:617] [2022-08-07 14:26:04 +0000.45663][7229] start recording, file path:
[021:617] [2022-08-07 14:26:04 +0000.45960][7229] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 222 audio_timescale:44100
video_timescale:90000
[021:617] [2022-08-07 14:26:04 +0000.46034][7229] 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
[021:617] [2022-08-07 14:26:04 +0000.46059][722f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x771f599698
[021:617] [2022-08-07 14:26:04 +0000.46112][7229] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 222
[021:618] [2022-08-07 14:26:04 +0000.46229][7229] fd_open successed
handle:0xb4000078b92790b0
[021:618] [2022-08-07 14:26:04 +0000.46578][7229] create mp4 file:337 m_fileHandle:
0x7713a21000
[021:618] [2022-08-07 14:26:04 +0000.46646][7229] MP4 file: is opened successfully
[021:618] [2022-08-07 14:26:04 +0000.46684][7229] setupMediaProcessers:
[021:618] [2022-08-07 14:26:04 +0000.46718][7229]
RecordingSessionInternalSimple:setup media processers.
[021:618] [2022-08-07 14:26:04 +0000.46753][7229] construct AAC encoder
[021:619] [2022-08-07 14:26:04 +0000.47308][7229] H264Encoder creating:
ultrafast012323
[021:619] [2022-08-07 14:26:04 +0000.47375][7229] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[021:620] [2022-08-07 14:26:04 +0000.48616][7229] H264Encode::GetMachineModel is
M2012K11AG
[021:620] [2022-08-07 14:26:04 +0000.48688][7229] H264Encoder machine_mode
is:M2012K11AG
[021:620] [2022-08-07 14:26:04 +0000.48777][7229] H264Encode::machine size :9
machine_mode:M2012K11AG
[021:620] [2022-08-07 14:26:04 +0000.48958][7229] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[021:620] [2022-08-07 14:26:04 +0000.49054][7229] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[021:620] [2022-08-07 14:26:04 +0000.49095][7229] setupCompressionSession:
[021:620] [2022-08-07 14:26:04 +0000.49145][7229] H264Encode::creating hareware
Encoder
[021:620] [2022-08-07 14:26:04 +0000.49180][7229] AndroidHwAvcEncoder
time:576672899 enter.

[021:621] [2022-08-07 14:26:04 +0000.49596][7229] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000078b91a9540 address:0x76df8b7760
[021:621] [2022-08-07 14:26:04 +0000.49775][7229] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[021:621] [2022-08-07 14:26:04 +0000.49819][7229] The video avc hw codec address is
0x77139dadd0
[021:621] [2022-08-07 14:26:04 +0000.49912][7229] AndroidHwAvcEncoder leave.
expire time = 1 ms

[021:621] [2022-08-07 14:26:04 +0000.49952][7229] RegisterEncodeCompleteCallback


time:576672900 enter.

[021:621] [2022-08-07 14:26:04 +0000.50079][7229] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[021:621] [2022-08-07 14:26:04 +0000.50129][7229] InitEncode time:576672900 enter.

[021:622] [2022-08-07 14:26:04 +0000.50251][7229] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[021:622] [2022-08-07 14:26:04 +0000.50307][7229] Create time:576672901 enter.

[021:622] [2022-08-07 14:26:04 +0000.50344][7229] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[021:622] [2022-08-07 14:26:04 +0000.50407][7229]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x771f6d3c00
[021:622] [2022-08-07 14:26:04 +0000.50981][7229]
supported_type:image/vnd.android.heic
[021:622] [2022-08-07 14:26:04 +0000.51075][7229] supported_type:video/avc
[021:622] [2022-08-07 14:26:04 +0000.51117][7229] name:OMX.qcom.video.encoder.avc
mime:video/avc
[021:622] [2022-08-07 14:26:04 +0000.51175][7229] hwCodecPrefix :OMX.qcom.
[021:623] [2022-08-07 14:26:04 +0000.51215][7229] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[021:623] [2022-08-07 14:26:04 +0000.51257][7229] mediacodec_createCodecByName
time:576672902 enter.

[021:623] [2022-08-07 14:26:04 +0000.51295][7229] WrapAndroidMediaCodec


time:576672902 enter.

[021:623] [2022-08-07 14:26:04 +0000.51538][7229] WrapAndroidMediaCodec leave.


expire time = 0 ms

[021:651] [2022-08-07 14:26:04 +0000.80212][7229] mediacodec_createCodecByName


leave. expire time = 29 ms

[021:652] [2022-08-07 14:26:04 +0000.80282][7229] WrapAndroidMediaFromat


time:576672931 enter.

[021:652] [2022-08-07 14:26:04 +0000.80358][7229] WrapAndroidMediaFromat leave.


expire time = 0 ms

[021:686] [2022-08-07 14:26:04 +0000.115234][7229] Destroy time:576672965 enter.

[021:687] [2022-08-07 14:26:04 +0000.115406][7229] WrapAndroidMediaFromat::


Destroy
[021:687] [2022-08-07 14:26:04 +0000.115465][7229] Destroy leave. expire time = 1
ms

[021:687] [2022-08-07 14:26:04 +0000.115516][7229] ~WrapAndroidMediaFromat


time:576672966 enter.

[021:687] [2022-08-07 14:26:04 +0000.115568][7229] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[021:687] [2022-08-07 14:26:04 +0000.115676][7229] Create leave. expire time = 65


ms

[021:687] [2022-08-07 14:26:04 +0000.115723][7229] isSemiPlanarSupport


time:576672966 enter.

[021:687] [2022-08-07 14:26:04 +0000.115853][7229] H264Encoder isSemiPlanarSupport


[021:687] [2022-08-07 14:26:04 +0000.115896][7229] isSemiPlanarSupport leave.
expire time = 0 ms

[021:687] [2022-08-07 14:26:04 +0000.115932][7229] creat hw H264Encoder success,


isSemiPlanar:1
[021:688] [2022-08-07 14:26:04 +0000.116233][7229] InitEncode leave. expire time =
67 ms

[021:688] [2022-08-07 14:26:04 +0000.116320][7229] H264Encode::created Encoder


[021:688] [2022-08-07 14:26:04 +0000.116408][7229] H264Encode:: H264 encoder
created.
[021:688] [2022-08-07 14:26:04 +0000.116549][7229] H264 encoder created.
[021:688] [2022-08-07 14:26:04 +0000.116623][7229]
RecordingSessionInternalSimple:created avc encoder avc: 0x771f689400
[021:688] [2022-08-07 14:26:04 +0000.116677][7229] setOutput:
[021:688] [2022-08-07 14:26:04 +0000.116724][7229]
RecordingSessionInternalSimple:encoder set output to muxer!
[021:688] [2022-08-07 14:26:04 +0000.116771][7229] request a key frame
[021:688] [2022-08-07 14:26:04 +0000.116814][7229] H264Encode:: request a key frame
[021:690] [2022-08-07 14:26:04 +0000.118917][7229] setDisplayRotate :90
[021:690] [2022-08-07 14:26:04 +0000.118991][7229] 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
[021:695] [2022-08-07 14:26:04 +0000.123771][722f] add aac audio track with id:1
[021:696] [2022-08-07 14:26:04 +0000.124253][722a] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[021:697] [2022-08-07 14:26:04 +0000.126094][722a]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[021:698] [2022-08-07 14:26:04 +0000.127199][722f] audio start ts:0
[021:699] [2022-08-07 14:26:04 +0000.127267][722f] the audio frame has been written
into MP4 file
[021:788] [2022-08-07 14:26:04 +0000.216540][722c] Error(video_source.cc:430): wait
decoder a frame: 28
[021:793] [2022-08-07 14:26:04 +0000.221344][722a] h264 add frame header cdr flag
[021:794] [2022-08-07 14:26:04 +0000.222629][722a] h264 add frame header cdr flag
[021:795] [2022-08-07 14:26:04 +0000.223300][722a] Received key frame:10
[021:795] [2022-08-07 14:26:04 +0000.223338][722a] H264Encode:: get a sps pps
header!headerSize:32
[021:795] [2022-08-07 14:26:04 +0000.223799][722f] get the H.264 SPS parameter
[021:795] [2022-08-07 14:26:04 +0000.223965][722f] add video track with id:2
[021:797] [2022-08-07 14:26:04 +0000.225463][722f] get the H.264 PPS parameter
[021:797] [2022-08-07 14:26:04 +0000.226017][722f] get the H.264 IDR frame
[021:797] [2022-08-07 14:26:04 +0000.226090][722f] resss:true
[021:797] [2022-08-07 14:26:04 +0000.226107][722f] video start ts:10
[021:798] [2022-08-07 14:26:04 +0000.226239][722f] the video frame has been written
into MP4 file
[021:848] [2022-08-07 14:26:04 +0000.276851][722a] DTS queue for
Generator:0x771f5f5ab8 363 400 431 465 497 529 564 596
[021:867] [2022-08-07 14:26:04 +0000.295593][7229] setDisplayRotate :90
[021:867] [2022-08-07 14:26:04 +0000.295654][7229] 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
[021:875] [2022-08-07 14:26:04 +0000.303813][7229] setDisplayRotate :90
[021:875] [2022-08-07 14:26:04 +0000.303877][7229] 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
[021:876] [2022-08-07 14:26:04 +0000.305156][722a] Push an pts:797 to dts queue.
[021:879] [2022-08-07 14:26:04 +0000.308049][722e] audio_frame_list_ empty
[021:917] [2022-08-07 14:26:04 +0000.345886][7229] setDisplayRotate :90
[021:917] [2022-08-07 14:26:04 +0000.345991][7229] 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
[021:925] [2022-08-07 14:26:04 +0000.353858][7229] setDisplayRotate :90
[021:925] [2022-08-07 14:26:04 +0000.353927][7229] 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
[021:930] [2022-08-07 14:26:04 +0000.358625][722a] last dts:763 currentPts:797
ppsOrSPS:0 queue length:7
[021:952] [2022-08-07 14:26:04 +0000.380698][7229] setDisplayRotate :90
[021:952] [2022-08-07 14:26:04 +0000.380751][7229] 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
[021:963] [2022-08-07 14:26:04 +0000.391637][7229] setDisplayRotate :90
[021:963] [2022-08-07 14:26:04 +0000.391702][7229] 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
[022:080] [2022-08-07 14:26:04 +0000.508915][7229] setDisplayRotate :90
[022:080] [2022-08-07 14:26:04 +0000.508995][7229] 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
[022:110] [2022-08-07 14:26:04 +0000.538527][722a] DTS queue for
Generator:0x771f5f5ab8 1208 1231 1261 1298 1331 1360 1395 1429
[022:132] [2022-08-07 14:26:04 +0000.561125][722c] Error(video_source.cc:430): wait
decoder a frame: 0
[022:136] [2022-08-07 14:26:04 +0000.564411][722c] webrtc common_video plane
old ..... (1/1000) new: 8001 delete: 7956 diff: 45
[022:145] [2022-08-07 14:26:04 +0000.573615][722a] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1629
[022:145] [2022-08-07 14:26:04 +0000.573682][722a] push video frame to H264
encoder. (100 frame for one log)

[022:145] [2022-08-07 14:26:04 +0000.573715][722a] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[022:145] [2022-08-07 14:26:04 +0000.573734][722a] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:1629(100 frame for one
log)

[022:145] [2022-08-07 14:26:04 +0000.573762][722a] The input pts:1629 fps:30


[022:157] [2022-08-07 14:26:04 +0000.585332][707c] Run AGC when audioType = 0
[022:164] [2022-08-07 14:26:04 +0000.593195][722a] SendFrame
encodedImage._timeStamp:1460encodedImage->_length:67264
[022:179] [2022-08-07 14:26:04 +0000.607609][722a] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1497 pts:1497
[022:196] [2022-08-07 14:26:04 +0000.624989][722a] H264Encode::H264SWEncoder get
callback, length:71792 type:1 nalType:1length:71788
[022:214] [2022-08-07 14:26:04 +0000.642509][722e] audio_frame_list_ empty
[022:235] [2022-08-07 14:26:04 +0000.664100][722a] Push an pts:2126 to dts queue.
[022:354] [2022-08-07 14:26:04 +0000.783073][7229] setDisplayRotate :90
[022:354] [2022-08-07 14:26:04 +0000.783142][7229] 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
[022:357] [2022-08-07 14:26:04 +0000.786006][722a] h264 add frame header cdr flag
[022:358] [2022-08-07 14:26:04 +0000.786342][722a] Received key frame:1996
[022:358] [2022-08-07 14:26:04 +0000.786372][722a] DTS queue for
Generator:0x771f5f5ab8 1996 2030 2061 2094 2126 2162 2206 2227 2262
[022:359] [2022-08-07 14:26:04 +0000.787790][722f] get the H.264 IDR frame
[022:393] [2022-08-07 14:26:04 +0000.821670][722a] last dts:2094 currentPts:2126
ppsOrSPS:0 queue length:10
[022:405] [2022-08-07 14:26:04 +0000.833685][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[022:491] [2022-08-07 14:26:04 +0000.919580][722c] Error(video_source.cc:430): wait
decoder a frame: 0
[022:533] [2022-08-07 14:26:04 +0000.961681][722a] DTS queue for
Generator:0x771f5f5ab8 2861 2894 2930 2961 2993 3028 3059
[022:579] [2022-08-07 14:26:05 +0000.7648][722e] audio_frame_list_ empty
[022:622] [2022-08-07 14:26:05 +0000.50467][7229] setDisplayRotate :90
[022:622] [2022-08-07 14:26:05 +0000.50526][7229] 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
[022:645] [2022-08-07 14:26:05 +0000.73449][722a] Push an pts:3458 to dts queue.
[022:700] [2022-08-07 14:26:05 +0000.128860][722a] last dts:3426 currentPts:3458
ppsOrSPS:0 queue length:10
[022:722] [2022-08-07 14:26:05 +0000.150531][722a] DTS queue for
Generator:0x771f5f5ab8 3660 3697 3724 3761 3792 3825 3860 3895 3925
[022:786] [2022-08-07 14:26:05 +0000.214339][7229] setDisplayRotate :90
[022:786] [2022-08-07 14:26:05 +0000.214397][7229] 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
[022:880] [2022-08-07 14:26:05 +0000.308767][7229] setDisplayRotate :90
[022:880] [2022-08-07 14:26:05 +0000.308845][7229] 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
[022:886] [2022-08-07 14:26:05 +0000.314479][722a] h264 add frame header cdr flag
[022:886] [2022-08-07 14:26:05 +0000.314777][722a] Received key frame:3995
[022:888] [2022-08-07 14:26:05 +0000.317044][722f] get the H.264 IDR frame
[022:903] [2022-08-07 14:26:05 +0000.331540][722c] Error(video_source.cc:430): wait
decoder a frame: 0
[022:962] [2022-08-07 14:26:05 +0000.391163][722a] DTS queue for
Generator:0x771f5f5ab8 4493 4529 4559 4592 4626 4659 4694 4726
[022:973] [2022-08-07 14:26:05 +0000.402188][722e] audio_frame_list_ empty
[022:975] [2022-08-07 14:26:05 +0000.403499][722a] Push an pts:4793 to dts queue.
[023:017] [2022-08-07 14:26:05 +0000.445893][722a] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:4994
[023:017] [2022-08-07 14:26:05 +0000.445946][722a] push video frame to H264
encoder. (100 frame for one log)

[023:017] [2022-08-07 14:26:05 +0000.445975][722a] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[023:017] [2022-08-07 14:26:05 +0000.445993][722a] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:4994(100 frame for one
log)

[023:017] [2022-08-07 14:26:05 +0000.446016][722a] The input pts:4994 fps:30


[023:019] [2022-08-07 14:26:05 +0000.447958][722a] SendFrame
encodedImage._timeStamp:4793encodedImage->_length:86544
[023:019] [2022-08-07 14:26:05 +0000.448037][722a] last dts:4758 currentPts:4793
ppsOrSPS:0 queue length:7
[023:035] [2022-08-07 14:26:05 +0000.463785][722a] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4859 pts:4859
[023:058] [2022-08-07 14:26:05 +0000.486455][722a] H264Encode::H264SWEncoder get
callback, length:94256 type:1 nalType:1length:94252
[023:133] [2022-08-07 14:26:05 +0000.561525][7229] setDisplayRotate :90
[023:133] [2022-08-07 14:26:05 +0000.561587][7229] 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
[023:186] [2022-08-07 14:26:05 +0000.614809][722c] Error(video_source.cc:430): wait
decoder a frame: 0
[023:200] [2022-08-07 14:26:05 +0000.628355][722c] webrtc common_video plane
old ..... (1/1000) new: 9001 delete: 8928 diff: 73
[023:207] [2022-08-07 14:26:05 +0000.635242][722a] DTS queue for
Generator:0x771f5f5ab8 5328 5362 5398 5432 5461 5496 5526 5566
[023:298] [2022-08-07 14:26:05 +0000.726490][722a] Push an pts:6127 to dts queue.
[023:315] [2022-08-07 14:26:05 +0000.744076][722e] audio_frame_list_ empty
[023:348] [2022-08-07 14:26:05 +0000.776755][722a] h264 add frame header cdr flag
[023:349] [2022-08-07 14:26:05 +0000.777323][722a] Received key frame:5996
[023:352] [2022-08-07 14:26:05 +0000.780319][722f] get the H.264 IDR frame
[023:410] [2022-08-07 14:26:05 +0000.838952][7229] setDisplayRotate :90
[023:410] [2022-08-07 14:26:05 +0000.839060][7229] 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
[023:415] [2022-08-07 14:26:05 +0000.843944][722a] last dts:6095 currentPts:6127
ppsOrSPS:0 queue length:8
[023:415] [2022-08-07 14:26:05 +0000.844047][722a] DTS queue for
Generator:0x771f5f5ab8 6159 6194 6228 6258 6294 6328 6360
[023:548] [2022-08-07 14:26:05 +0000.976526][722c] Error(video_source.cc:430): wait
decoder a frame: 1
[023:567] [2022-08-07 14:26:05 +0000.995560][722a] DTS queue for
Generator:0x771f5f5ab8 6966 6992 7024 7056 7091 7126 7156 7188 7222
[023:646] [2022-08-07 14:26:06 +0000.74922][722e] audio_frame_list_ empty
[023:659] [2022-08-07 14:26:06 +0000.87471][7229] setDisplayRotate :90
[023:659] [2022-08-07 14:26:06 +0000.87555][7229] 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
[023:680] [2022-08-07 14:26:06 +0000.108467][722a] Push an pts:7457 to dts queue.
[023:721] [2022-08-07 14:26:06 +0000.149857][722a] last dts:7431 currentPts:7457
ppsOrSPS:0 queue length:8
[023:784] [2022-08-07 14:26:06 +0000.213136][722a] DTS queue for
Generator:0x771f5f5ab8 7792 7827 7862 7895 7931 7959 7992 8026 8062
[023:827] [2022-08-07 14:26:06 +0000.256075][722a] h264 add frame header cdr flag
[023:828] [2022-08-07 14:26:06 +0000.256338][722a] Received key frame:7992
[023:830] [2022-08-07 14:26:06 +0000.259065][722f] get the H.264 IDR frame
[023:832] [2022-08-07 14:26:06 +0000.261078][722a] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:8359
[023:832] [2022-08-07 14:26:06 +0000.261165][722a] push video frame to H264
encoder. (100 frame for one log)

[023:833] [2022-08-07 14:26:06 +0000.261250][722a] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[023:833] [2022-08-07 14:26:06 +0000.261275][722a] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:8359(100 frame for one
log)

[023:833] [2022-08-07 14:26:06 +0000.261310][722a] The input pts:8359 fps:30


[023:912] [2022-08-07 14:26:06 +0000.340946][7229] setDisplayRotate :90
[023:912] [2022-08-07 14:26:06 +0000.340993][7229] 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
[023:918] [2022-08-07 14:26:06 +0000.347108][722a] SendFrame
encodedImage._timeStamp:8123encodedImage->_length:59120
[023:935] [2022-08-07 14:26:06 +0000.363670][722c] Error(video_source.cc:430): wait
decoder a frame: 0
[023:938] [2022-08-07 14:26:06 +0000.366640][722a] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:8228 pts:8228
[023:960] [2022-08-07 14:26:06 +0000.389170][722a] H264Encode::H264SWEncoder get
callback, length:66560 type:1 nalType:1length:66556
[023:987] [2022-08-07 14:26:06 +0000.415547][722a] Push an pts:8793 to dts queue.
[024:000] [2022-08-07 14:26:06 +0000.428563][722a] DTS queue for
Generator:0x771f5f5ab8 8594 8629 8660 8692 8727 8763 8793 8824 8859 8895
[024:040] [2022-08-07 14:26:06 +0000.468804][722a] last dts:8763 currentPts:8793
ppsOrSPS:0 queue length:8
[024:050] [2022-08-07 14:26:06 +0000.478832][722e] audio_frame_list_ empty
[024:155] [2022-08-07 14:26:06 +0000.583369][7229] setDisplayRotate :90
[024:155] [2022-08-07 14:26:06 +0000.583440][7229] 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
[024:156] [2022-08-07 14:26:06 +0000.584294][707c] Run AGC when audioType = 0
[024:156] [2022-08-07 14:26:06 +0000.584376][707c]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:156] [2022-08-07 14:26:06 +0000.584427][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[024:216] [2022-08-07 14:26:06 +0000.644276][722a] DTS queue for
Generator:0x771f5f5ab8 9456 9487 9525 9566 9591 9621 9657 9690
[024:216] [2022-08-07 14:26:06 +0000.644830][722e] FilterPipeline2::OnAudioFrame
pts 449370 last_audio_timestamp_ 10189.8
[024:218] [2022-08-07 14:26:06 +0000.646538][722c] Error(video_source.cc:430): wait
decoder a frame: 3
[024:242] [2022-08-07 14:26:06 +0000.670432][722c] webrtc common_video plane
old ..... (1/1000) new: 10001 delete: 9952 diff: 49
[024:279] [2022-08-07 14:26:06 +0000.708178][722a] Push an pts:10124 to dts queue.
[024:305] [2022-08-07 14:26:06 +0000.733848][722a] h264 add frame header cdr flag
[024:305] [2022-08-07 14:26:06 +0000.734092][722a] Received key frame:9989
[024:317] [2022-08-07 14:26:06 +0000.745310][7229] setDisplayRotate :90
[024:317] [2022-08-07 14:26:06 +0000.745372][7229] 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
[024:323] [2022-08-07 14:26:06 +0000.751816][722f] get the H.264 IDR frame
[024:325] [2022-08-07 14:26:06 +0000.753244][722a] last dts:10092 currentPts:10124
ppsOrSPS:0 queue length:8
[024:393] [2022-08-07 14:26:06 +0000.821894][722e] audio_frame_list_ empty
[024:413] [2022-08-07 14:26:06 +0000.841975][7229] setDisplayRotate :90
[024:413] [2022-08-07 14:26:06 +0000.842090][7229] 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
[024:425] [2022-08-07 14:26:06 +0000.853810][722a] DTS queue for
Generator:0x771f5f5ab8 10293 10324 10361 10390 10423 10456 10488
[024:586] [2022-08-07 14:26:07 +0000.14727][722c] Error(video_source.cc:430): wait
decoder a frame: 5
[024:593] [2022-08-07 14:26:07 +0000.21347][722a] DTS queue for
Generator:0x771f5f5ab8 11088 11123 11154 11187 11220 11253 11286 11320 11356
[024:608] [2022-08-07 14:26:07 +0000.37003][7229] setDisplayRotate :90
[024:608] [2022-08-07 14:26:07 +0000.37064][7229] 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
[024:705] [2022-08-07 14:26:07 +0000.134142][7229] setDisplayRotate :90
[024:705] [2022-08-07 14:26:07 +0000.134195][7229] 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
[024:706] [2022-08-07 14:26:07 +0000.134449][722a] Push an pts:11454 to dts queue.
[024:747] [2022-08-07 14:26:07 +0000.175966][722a] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:11723
[024:747] [2022-08-07 14:26:07 +0000.176007][722a] push video frame to H264
encoder. (100 frame for one log)

[024:747] [2022-08-07 14:26:07 +0000.176034][722a] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[024:747] [2022-08-07 14:26:07 +0000.176046][722a] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:11723(100 frame for one
log)

[024:747] [2022-08-07 14:26:07 +0000.176064][722a] The input pts:11723 fps:30


[024:756] [2022-08-07 14:26:07 +0000.184598][722a] SendFrame
encodedImage._timeStamp:11454encodedImage->_length:93600
[024:756] [2022-08-07 14:26:07 +0000.184773][722a] last dts:11423 currentPts:11454
ppsOrSPS:0 queue length:10
[024:781] [2022-08-07 14:26:07 +0000.209460][722a] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:11587 pts:11587
[024:811] [2022-08-07 14:26:07 +0000.239737][722a] H264Encode::H264SWEncoder get
callback, length:102144 type:1 nalType:1length:102140
[024:815] [2022-08-07 14:26:07 +0000.243966][722e] audio_frame_list_ empty
[024:833] [2022-08-07 14:26:07 +0000.261768][722a] DTS queue for
Generator:0x771f5f5ab8 11920 11950 11986 12019 12056 12087 12118 12150 12188
[024:852] [2022-08-07 14:26:07 +0000.280982][722a] h264 add frame header cdr flag
[024:853] [2022-08-07 14:26:07 +0000.281601][722a] Received key frame:11986
[024:855] [2022-08-07 14:26:07 +0000.284037][722f] get the H.264 IDR frame
[024:983] [2022-08-07 14:26:07 +0000.411767][7229] setDisplayRotate :90
[024:983] [2022-08-07 14:26:07 +0000.411846][7229] 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
[025:004] [2022-08-07 14:26:07 +0000.433030][722c] Error(video_source.cc:430): wait
decoder a frame: 0
[025:038] [2022-08-07 14:26:07 +0000.467197][722a] Push an pts:12788 to dts queue.
[025:080] [2022-08-07 14:26:07 +0000.509158][722a] DTS queue for
Generator:0x771f5f5ab8 12761 12788 12826 12854 12884 12919 12954 12984
[025:089] [2022-08-07 14:26:07 +0000.517257][722a] last dts:12761 currentPts:12788
ppsOrSPS:0 queue length:9
[025:154] [2022-08-07 14:26:07 +0000.582324][7229] setDisplayRotate :90
[025:154] [2022-08-07 14:26:07 +0000.582394][7229] 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
[025:160] [2022-08-07 14:26:07 +0000.588886][722e] audio_frame_list_ empty
[025:227] [2022-08-07 14:26:07 +0000.655447][7229] setDisplayRotate :90
[025:227] [2022-08-07 14:26:07 +0000.655512][7229] 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
[025:293] [2022-08-07 14:26:07 +0000.721367][722c] Error(video_source.cc:430): wait
decoder a frame: 0
[025:298] [2022-08-07 14:26:07 +0000.726991][722a] DTS queue for
Generator:0x771f5f5ab8 13552 13586 13621 13654 13687 13717 13755 13788 13821 13855
[025:350] [2022-08-07 14:26:07 +0000.779019][722a] Push an pts:14118 to dts queue.
[025:369] [2022-08-07 14:26:07 +0000.797896][722c] webrtc common_video plane
old ..... (1/1000) new: 11001 delete: 10968 diff: 33
[025:384] [2022-08-07 14:26:07 +0000.812703][722a] h264 add frame header cdr flag
[025:384] [2022-08-07 14:26:07 +0000.813048][722a] Received key frame:13993
[025:394] [2022-08-07 14:26:07 +0000.822430][722f] get the H.264 IDR frame
[025:405] [2022-08-07 14:26:07 +0000.833722][722a] last dts:14082 currentPts:14118
ppsOrSPS:0 queue length:9
[025:459] [2022-08-07 14:26:07 +0000.887321][7229] setDisplayRotate :90
[025:459] [2022-08-07 14:26:07 +0000.887390][7229] 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
[025:464] [2022-08-07 14:26:07 +0000.892734][722a] DTS queue for
Generator:0x771f5f5ab8 14420 14452 14484 14519 14553 14585 14615
[025:477] [2022-08-07 14:26:07 +0000.905258][7229] setDisplayRotate :90
[025:477] [2022-08-07 14:26:07 +0000.905357][7229] 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
[025:508] [2022-08-07 14:26:07 +0000.937241][7229] setDisplayRotate :90
[025:509] [2022-08-07 14:26:07 +0000.937313][7229] 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
[025:523] [2022-08-07 14:26:07 +0000.951269][721e] av_read_frame AVERROR_EOF
[025:526] [2022-08-07 14:26:07 +0000.954903][7229] setDisplayRotate :90
[025:526] [2022-08-07 14:26:07 +0000.954991][7229] 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
[025:537] [2022-08-07 14:26:07 +0000.966121][722a] SendFrame
encodedImage._timeStamp:14786encodedImage->_length:53456
[025:554] [2022-08-07 14:26:07 +0000.982332][7229] setDisplayRotate :90
[025:554] [2022-08-07 14:26:07 +0000.982480][7229] 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
[025:567] [2022-08-07 14:26:07 +0000.995708][721e] OnReceiveEOF:
[025:567] [2022-08-07 14:26:07 +0000.995826][721e] OnDecoderEOF time:576676846
enter.

[025:567] [2022-08-07 14:26:07 +0000.995914][721c] CleanUp time:576676846 enter.

[025:567] [2022-08-07 14:26:07 +0000.996001][721e] OnDecoderEOF leave. expire time


= 0 ms

[025:569] [2022-08-07 14:26:07 +0000.998089][722e] PullAudioFrame: PullFrame audio


finished.
[025:570] [2022-08-07 14:26:07 +0000.998214][722e]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[025:570] [2022-08-07 14:26:07 +0000.998250][722e] OnAudioTimer: OnAudioTimer
return
[025:567] [2022-08-07 14:26:07 +0000.996032][721e] OnDecoderFinished:
OnDecoderFinished total decoder frames:456 this:0x772013cf00
[025:571] [2022-08-07 14:26:07 +0000.999624][721e] NULLFilter::OnVideoSourceEOF
0x772013cf00 this 0x772020da00
[025:571] [2022-08-07 14:26:07 +0000.999683][721e] NULLFilter::OnVideoSourceEOF
0x772020da00 this 0x772020db80
[025:571] [2022-08-07 14:26:07 +0000.999811][721e] NULLFilter::OnVideoSourceEOF
0x772020db80 this 0x7720240000
[025:571] [2022-08-07 14:26:08 +0000.175][722a] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:15086
[025:572] [2022-08-07 14:26:08 +0000.224][722a] push video frame to H264 encoder.
(100 frame for one log)

[025:572] [2022-08-07 14:26:08 +0000.269][722a] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[025:572] [2022-08-07 14:26:08 +0000.305][722a] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:15086(100 frame for one
log)

[025:572] [2022-08-07 14:26:08 +0000.393][722a] The input pts:15086 fps:30


[025:573] [2022-08-07 14:26:08 +0000.1307][722c]
Warning(media_filter_composefile.cc:321): pull video frame failed:8
[025:573] [2022-08-07 14:26:08 +0000.1384][722c] OnVideoTimer: OnVideoTimer
EndComposeFile
[025:573] [2022-08-07 14:26:08 +0000.1403][722c] EndComposeFile: EndComposeFile,
is composing 1
[025:574] [2022-08-07 14:26:08 +0000.3175][722a] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:14955 pts:14955
[025:583] [2022-08-07 14:26:08 +0000.11595][721c] CleanUp leave. expire time = 16
ms

[025:583] [2022-08-07 14:26:08 +0000.11680][721c] clean up


[025:583] [2022-08-07 14:26:08 +0000.11702][721c] running_decoder_count:0max
count:2
[025:585] [2022-08-07 14:26:08 +0000.13953][722a]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:456
[025:585] [2022-08-07 14:26:08 +0000.14005][722a]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x771f509800
[025:588] [2022-08-07 14:26:08 +0000.16486][722b]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[025:588] [2022-08-07 14:26:08 +0000.16530][722b]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[025:588] [2022-08-07 14:26:08 +0000.16706][7229] stop recording
[025:588] [2022-08-07 14:26:08 +0000.16794][7229]
RecordingSessionInternalSimple:destroy media processers
[025:588] [2022-08-07 14:26:08 +0000.16845][7229] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[025:588] [2022-08-07 14:26:08 +0000.16894][7229] H264Encode::flushing hareware
Encoder
[025:588] [2022-08-07 14:26:08 +0000.17143][7229] Flush time:576676867 enter.

[025:588] [2022-08-07 14:26:08 +0000.17250][7229] H264Encoder encoder flush


[025:589] [2022-08-07 14:26:08 +0000.17309][7229] flush output queue
[025:600] [2022-08-07 14:26:08 +0000.28961][7229] H264Encode::H264SWEncoder get
callback, length:55296 type:1 nalType:1length:55292
[025:895] [2022-08-07 14:26:08 +0000.323798][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[025:910] [2022-08-07 14:26:08 +0000.338591][7229] Flush leave. expire time = 322
ms

[025:911] [2022-08-07 14:26:08 +0000.339229][7229] ~H264EncodeWrap:


[025:911] [2022-08-07 14:26:08 +0000.339703][7229] ~H264Encode:
[025:912] [2022-08-07 14:26:08 +0000.340249][7229] teardownCompressionSession:
H264Encode::destroying Encoder
[025:912] [2022-08-07 14:26:08 +0000.340462][7229] Release time:576677191 enter.

[025:912] [2022-08-07 14:26:08 +0000.340822][7229] Release:


MediaCodecVideoEncoder::Release _inited:1
[025:912] [2022-08-07 14:26:08 +0000.340923][7229] Destroy time:576677191 enter.

[025:912] [2022-08-07 14:26:08 +0000.341024][7229] H264Encoder encoderDestroy


[025:912] [2022-08-07 14:26:08 +0000.341089][7229]
AndroidMediaCodecVideoEncoder::release env: 0x771f689540
[025:912] [2022-08-07 14:26:08 +0000.341151][7229]
AndroidMediaCodecVideoEncoder::Destroy
[025:960] [2022-08-07 14:26:08 +0000.388866][7229] Destroy leave. expire time = 48
ms

[025:960] [2022-08-07 14:26:08 +0000.389107][7229] Release leave. expire time = 48


ms

[025:960] [2022-08-07 14:26:08 +0000.389168][7229] ~AndroidHwAvcEncoder


time:576677239 enter.

[025:961] [2022-08-07 14:26:08 +0000.389411][7229] Release time:576677240 enter.

[025:961] [2022-08-07 14:26:08 +0000.389465][7229] Release:


MediaCodecVideoEncoder:: has been released before, just return
[025:961] [2022-08-07 14:26:08 +0000.389497][7229] Release leave. expire time = 0
ms

[025:961] [2022-08-07 14:26:08 +0000.389520][7229] ~AndroidMediaCodecVideoEncoder


[025:961] [2022-08-07 14:26:08 +0000.389542][7229] ~WrapAndroidMediaCodec
time:576677240 enter.

[025:961] [2022-08-07 14:26:08 +0000.389564][7229] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[025:961] [2022-08-07 14:26:08 +0000.389587][7229] video hevc hw codec


destructor:0x77139dadd0

[025:961] [2022-08-07 14:26:08 +0000.389637][7229] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[025:961] [2022-08-07 14:26:08 +0000.389766][7229] teardownCompressionSession:


H264Encode::destroyed Encoder
[025:961] [2022-08-07 14:26:08 +0000.389921][7229]
RecordingSessionInternalSimple:destroy aac encoder output!
[025:961] [2022-08-07 14:26:08 +0000.390056][7229] AACSWEncode destructor
[025:966] [2022-08-07 14:26:08 +0000.394533][722f] fd_close successed!
[025:971] [2022-08-07 14:26:08 +0000.399788][722f] MP4 close file successfully
[025:971] [2022-08-07 14:26:08 +0000.399867][722f] Recording session Internal:
notify recording ok
[025:971] [2022-08-07 14:26:08 +0000.399898][722f] onRecordingOk: Recording Ok,
compose use time: 4354, averagefps 0
[025:971] [2022-08-07 14:26:08 +0000.399925][722f] OnReceiveEOF:
[025:973] [2022-08-07 14:26:08 +0000.401434][722c] OnVideoTimer: OnVideoTimer
return
[025:997] [2022-08-07 14:26:08 +0000.425379][5afb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[025:997] [2022-08-07 14:26:08 +0000.425546][5afb] ~MediaComposeFile time:576677276
enter.

[025:997] [2022-08-07 14:26:08 +0000.425595][5afb] CancelCompose: CancelCompose,


is composing 0
[025:997] [2022-08-07 14:26:08 +0000.425738][7229] stop recording
[025:997] [2022-08-07 14:26:08 +0000.425801][7229] we have stopped recording before
[025:998] [2022-08-07 14:26:08 +0000.426270][5afb] ~MediaComposeFile leave. expire
time = 1 ms

[025:998] [2022-08-07 14:26:08 +0000.426412][5afb] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[025:998] [2022-08-07 14:26:08 +0000.426820][5afb] global uninited!
[025:998] [2022-08-07 14:26:08 +0000.426919][5afb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[025:998] [2022-08-07 14:26:08 +0000.427006][5afb] ~MediaFilterGraph:
MediaFilterGraph destruct
[025:998] [2022-08-07 14:26:08 +0000.427047][5afb] RemoveVideoBackGroud: hava not
add video backgroud
[025:998] [2022-08-07 14:26:08 +0000.427108][5afb] UnbindInputFilter 0x7720240098
this 0x772002cd20
[025:998] [2022-08-07 14:26:08 +0000.427163][5afb] ClearAllSource: remove source
filter, sourceid: 0x772013cf00
[025:999] [2022-08-07 14:26:08 +0000.427221][5afb] DestoryDecoderByVideoSource
time:576677278 enter.

[025:999] [2022-08-07 14:26:08 +0000.427264][5afb] ~VideoBindDecoder time:576677278


enter.

[025:999] [2022-08-07 14:26:08 +0000.427430][5afb] CleanUp time:576677278 enter.

[025:999] [2022-08-07 14:26:08 +0000.427719][5afb] CleanUp leave. expire time = 0


ms

[025:999] [2022-08-07 14:26:08 +0000.427792][5afb] CleanUp time:576677278 enter.

[026:003] [2022-08-07 14:26:08 +0000.431263][5afb] CleanUp leave. expire time = 4


ms

[026:004] [2022-08-07 14:26:08 +0000.432530][5afb] ~VideoBindDecoder leave. expire


time = 5 ms

[026:004] [2022-08-07 14:26:08 +0000.432595][5afb] DestoryDecoderByVideoSource


leave. expire time = 5 ms

[026:004] [2022-08-07 14:26:08 +0000.432653][5afb] UnbindInputFilter 0x772020dc18


this 0x7720240098
[026:004] [2022-08-07 14:26:08 +0000.432703][5afb] UnbindInputFilter 0x772020da98
this 0x772020dc18
[026:004] [2022-08-07 14:26:08 +0000.432754][5afb] UnbindInputFilter 0x772013d120
this 0x772020da98
[026:004] [2022-08-07 14:26:08 +0000.432800][5afb] UnbindInputFilter 0x772020df18
this 0x7720240698
[026:004] [2022-08-07 14:26:08 +0000.432849][5afb] UnbindInputFilter 0x772020dd98
this 0x772020df18
[026:004] [2022-08-07 14:26:08 +0000.432896][5afb] UnbindInputFilter 0x772013d120
this 0x772020dd98
[026:004] [2022-08-07 14:26:08 +0000.432956][5afb] ~GLESContext:
[026:006] [2022-08-07 14:26:08 +0000.434864][5afb] GLESContext destruct finish.
[026:006] [2022-08-07 14:26:08 +0000.434934][5afb] filter: filter pipeline destroy
this: 0x772002cc80
[026:153] [2022-08-07 14:26:08 +0000.581427][707c] Run AGC when audioType = 0
[027:304] [2022-08-07 14:26:09 +0000.732392][5afb] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[027:304] [2022-08-07 14:26:09 +0000.732514][5afb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[027:304] [2022-08-07 14:26:09 +0000.732942][5afb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[027:304] [2022-08-07 14:26:09 +0000.733076][7078] operator() time:576678583
enter.

[027:304] [2022-08-07 14:26:09 +0000.733140][7078] MediaFilterCamera, recording


file context:0x77ed479b80 input texture:10
[027:306] [2022-08-07 14:26:09 +0000.734948][7078] MicSource: Mic source
created:10x78086fb200
[027:307] [2022-08-07 14:26:09 +0000.735413][7078] alloc thread: 0x7720134500
name:worker3 thread id:511152585904 to Mic_source
[027:307] [2022-08-07 14:26:09 +0000.735447][7078] audio: start the audio sender
thread.

[027:307] [2022-08-07 14:26:09 +0000.735477][7078] construct OpenGLRenderProgram


0x772f7bfa98
[027:307] [2022-08-07 14:26:09 +0000.735494][7078] CropFilter::SetOrientation
orientation: 90
[027:307] [2022-08-07 14:26:09 +0000.735583][7078] filter: filter pipeline
construtc this: 0x7720240f00
[027:307] [2022-08-07 14:26:09 +0000.735631][7078] filter: filter pipeline2 update
pattern: 1
[027:307] [2022-08-07 14:26:09 +0000.735666][7078] CameraSource::source_id_:5
[027:307] [2022-08-07 14:26:09 +0000.735700][7078] RecordAudioSource::source_id_:6
[027:307] [2022-08-07 14:26:09 +0000.735847][7078] BindInputFilter 0x7720133bc0
this 0x772f7bfcc0
[027:307] [2022-08-07 14:26:09 +0000.735883][7078] BindInputFilter 0x7720133d58
this 0x772014c650
[027:307] [2022-08-07 14:26:09 +0000.735928][7078] BindInputFilter 0x772f7bfcc0
this 0x7720240fa0
[027:307] [2022-08-07 14:26:09 +0000.735976][7078] setParamentForFilters:
speed:1.000000
[027:307] [2022-08-07 14:26:09 +0000.736006][7078] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[027:307] [2022-08-07 14:26:09 +0000.736046][7078] SetParamForFilter time:576678586
enter.

[027:307] [2022-08-07 14:26:09 +0000.736061][7078] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[027:307] [2022-08-07 14:26:09 +0000.736094][7078] SetParamForFilter: Params video
index is: 0
[027:307] [2022-08-07 14:26:09 +0000.736109][7078] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[027:307] [2022-08-07 14:26:09 +0000.736151][7078] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[027:307] [2022-08-07 14:26:09 +0000.736168][7078] crop filter mode tpye:
citytravelvideo index:0
[027:311] [2022-08-07 14:26:09 +0000.739860][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:311] [2022-08-07 14:26:09 +0000.739943][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:311] [2022-08-07 14:26:09 +0000.739961][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:311] [2022-08-07 14:26:09 +0000.740192][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:312] [2022-08-07 14:26:09 +0000.740214][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:312] [2022-08-07 14:26:09 +0000.740231][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:312] [2022-08-07 14:26:09 +0000.740246][7078]
Warning(parse_template_json.cc:45): json parament no found the parament
[027:312] [2022-08-07 14:26:09 +0000.740262][7078]
Warning(parse_template_json.cc:81): json parament no found the parament
[027:312] [2022-08-07 14:26:09 +0000.740278][7078]
Warning(parse_template_json.cc:81): json parament no found the parament
[027:312] [2022-08-07 14:26:09 +0000.740294][7078]
Warning(parse_template_json.cc:67): json parament no found the parament
[027:312] [2022-08-07 14:26:09 +0000.740310][7078]
Warning(parse_template_json.cc:93): json parament no found the duration
[027:312] [2022-08-07 14:26:09 +0000.740329][7078] SetParamForFilter leave. expire
time = 5 ms

[027:312] [2022-08-07 14:26:09 +0000.740378][7078] OnOutputSizeChanged width 1920


height 1080
[027:312] [2022-08-07 14:26:09 +0000.740398][7078] OpenGLFrameBuffer: width:1920
height:1080
[027:312] [2022-08-07 14:26:09 +0000.740415][7078] OpenGLFrameBuffer: width:1920
height:1080
[027:312] [2022-08-07 14:26:09 +0000.740431][7078] OpenGLFrameBuffer: width:1920
height:1080
[027:312] [2022-08-07 14:26:09 +0000.740446][7078] OpenGLFrameBuffer: width:1920
height:1080
[027:312] [2022-08-07 14:26:09 +0000.740497][7078] OpenGLFrameBuffer: width:1920
height:1080
[027:312] [2022-08-07 14:26:09 +0000.740517][7078] OpenGLFrameBuffer: width:1920
height:1080
[027:312] [2022-08-07 14:26:09 +0000.740533][7078] construct TrivalImageDrawer
0x76fe955b40
[027:312] [2022-08-07 14:26:09 +0000.740548][7078] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x76fe955b40 context 0x77ed4947c0
[027:312] [2022-08-07 14:26:09 +0000.740564][7078] setupGLES:
[027:312] [2022-08-07 14:26:09 +0000.740771][7078] OpenGLRenderProgram::Initialize.
[027:312] [2022-08-07 14:26:09 +0000.740808][7078] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[027:312] [2022-08-07 14:26:09 +0000.740845][7078] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[027:312] [2022-08-07 14:26:09 +0000.740911][7078] Init open gl render:
0x772f7bfa98
[027:312] [2022-08-07 14:26:09 +0000.740932][7078] Fragement shader path:
[027:312] [2022-08-07 14:26:09 +0000.740950][7078] Fragement shader path:
[027:312] [2022-08-07 14:26:09 +0000.740977][7078] create opengl program object.
[027:312] [2022-08-07 14:26:09 +0000.740995][7078] create shader: vertex
[027:312] [2022-08-07 14:26:09 +0000.741138][7078] create shader: fragment
[027:313] [2022-08-07 14:26:09 +0000.742175][7078] Have not extra filter filename!
[027:314] [2022-08-07 14:26:09 +0000.742227][7078] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[027:314] [2022-08-07 14:26:09 +0000.742246][7078] OpenGLRenderProgram::Initialize
success.
[027:314] [2022-08-07 14:26:09 +0000.742281][7078] Setup the OpenGL result:1
[027:314] [2022-08-07 14:26:09 +0000.742492][7077] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4
[027:314] [2022-08-07 14:26:09 +0000.742601][7077] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[027:314] [2022-08-07 14:26:09 +0000.742643][7077] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[027:314] [2022-08-07 14:26:09 +0000.742669][7077] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4
fileFD: -1
[027:314] [2022-08-07 14:26:09 +0000.742778][7265] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77f88ca898
[027:314] [2022-08-07 14:26:09 +0000.742923][7077] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4
is opened successfully
[027:314] [2022-08-07 14:26:09 +0000.742947][7077] setupMediaProcessers:
[027:314] [2022-08-07 14:26:09 +0000.742983][7077]
RecordingSessionInternalSimple:setup media processers.
[027:314] [2022-08-07 14:26:09 +0000.743000][7077] construct AAC encoder
[027:314] [2022-08-07 14:26:09 +0000.743173][7077] H264Encoder creating:
superfast011818
[027:314] [2022-08-07 14:26:09 +0000.743208][7077] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[027:315] [2022-08-07 14:26:09 +0000.743638][7077] H264Encode::GetMachineModel is
M2012K11AG
[027:315] [2022-08-07 14:26:09 +0000.743669][7077] H264Encoder machine_mode
is:M2012K11AG
[027:315] [2022-08-07 14:26:09 +0000.743683][7077] H264Encode::machine size :9
machine_mode:M2012K11AG
[027:315] [2022-08-07 14:26:09 +0000.743707][7077] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[027:315] [2022-08-07 14:26:09 +0000.743734][7077] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[027:315] [2022-08-07 14:26:09 +0000.743749][7077] setupCompressionSession:
[027:315] [2022-08-07 14:26:09 +0000.743763][7077] H264Encode::creating hareware
Encoder
[027:315] [2022-08-07 14:26:09 +0000.743785][7077] AndroidHwAvcEncoder
time:576678594 enter.

[027:315] [2022-08-07 14:26:09 +0000.743913][7077] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000078b91a9540 address:0x76df8b7760
[027:315] [2022-08-07 14:26:09 +0000.743996][7077] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[027:315] [2022-08-07 14:26:09 +0000.744024][7077] The video avc hw codec address
is 0x77139dae68
[027:315] [2022-08-07 14:26:09 +0000.744082][7077] AndroidHwAvcEncoder leave.
expire time = 0 ms

[027:315] [2022-08-07 14:26:09 +0000.744106][7077] RegisterEncodeCompleteCallback


time:576678594 enter.
[027:315] [2022-08-07 14:26:09 +0000.744185][7077] RegisterEncodeCompleteCallback
leave. expire time = 0 ms

[027:316] [2022-08-07 14:26:09 +0000.744216][7077] InitEncode time:576678595


enter.

[027:316] [2022-08-07 14:26:09 +0000.744275][7077] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[027:316] [2022-08-07 14:26:09 +0000.744304][7077] Create time:576678595 enter.

[027:316] [2022-08-07 14:26:09 +0000.744331][7077] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[027:316] [2022-08-07 14:26:09 +0000.744361][7077]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7713bcc580
[027:316] [2022-08-07 14:26:09 +0000.744469][7077]
supported_type:image/vnd.android.heic
[027:316] [2022-08-07 14:26:09 +0000.744507][7077] supported_type:video/avc
[027:316] [2022-08-07 14:26:09 +0000.744553][7077] name:OMX.qcom.video.encoder.avc
mime:video/avc
[027:316] [2022-08-07 14:26:09 +0000.744587][7077] hwCodecPrefix :OMX.qcom.
[027:316] [2022-08-07 14:26:09 +0000.744612][7077] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[027:316] [2022-08-07 14:26:09 +0000.744641][7077] mediacodec_createCodecByName
time:576678595 enter.

[027:316] [2022-08-07 14:26:09 +0000.744669][7077] WrapAndroidMediaCodec


time:576678595 enter.

[027:316] [2022-08-07 14:26:09 +0000.744753][7077] WrapAndroidMediaCodec leave.


expire time = 0 ms

[027:325] [2022-08-07 14:26:09 +0000.753573][7077] mediacodec_createCodecByName


leave. expire time = 9 ms

[027:325] [2022-08-07 14:26:09 +0000.753690][7077] WrapAndroidMediaFromat


time:576678604 enter.

[027:325] [2022-08-07 14:26:09 +0000.753803][7077] WrapAndroidMediaFromat leave.


expire time = 0 ms

[027:351] [2022-08-07 14:26:09 +0000.779730][7077] Destroy time:576678630 enter.

[027:351] [2022-08-07 14:26:09 +0000.779790][7077] WrapAndroidMediaFromat::


Destroy
[027:351] [2022-08-07 14:26:09 +0000.779837][7077] Destroy leave. expire time = 0
ms

[027:351] [2022-08-07 14:26:09 +0000.779856][7077] ~WrapAndroidMediaFromat


time:576678630 enter.

[027:351] [2022-08-07 14:26:09 +0000.779872][7077] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[027:351] [2022-08-07 14:26:09 +0000.779890][7077] Create leave. expire time = 35


ms

[027:351] [2022-08-07 14:26:09 +0000.779914][7077] isSemiPlanarSupport


time:576678630 enter.
[027:351] [2022-08-07 14:26:09 +0000.779938][7077] H264Encoder isSemiPlanarSupport
[027:351] [2022-08-07 14:26:09 +0000.779956][7077] isSemiPlanarSupport leave.
expire time = 0 ms

[027:351] [2022-08-07 14:26:09 +0000.780050][7077] creat hw H264Encoder success,


isSemiPlanar:1
[027:351] [2022-08-07 14:26:09 +0000.780140][7077] InitEncode leave. expire time =
35 ms

[027:351] [2022-08-07 14:26:09 +0000.780160][7077] H264Encode::created Encoder


[027:351] [2022-08-07 14:26:09 +0000.780177][7077] H264Encode:: H264 encoder
created.
[027:351] [2022-08-07 14:26:09 +0000.780192][7077] H264 encoder created.
[027:351] [2022-08-07 14:26:09 +0000.780206][7077]
RecordingSessionInternalSimple:created avc encoder avc: 0x77f86c3bc0
[027:352] [2022-08-07 14:26:09 +0000.780223][7077] setOutput:
[027:352] [2022-08-07 14:26:09 +0000.780241][7077]
RecordingSessionInternalSimple:encoder set output to muxer!
[027:352] [2022-08-07 14:26:09 +0000.780260][7077] request a key frame
[027:352] [2022-08-07 14:26:09 +0000.780278][7077] H264Encode:: request a key frame
[027:352] [2022-08-07 14:26:09 +0000.780751][7077] setDisplayRotate :90
[027:352] [2022-08-07 14:26:09 +0000.780785][7077] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[027:352] [2022-08-07 14:26:09 +0000.780841][7078] StartRecording:
[027:352] [2022-08-07 14:26:09 +0000.780901][7261] operator(): Set the recording
session in mic source. recording session: 0x7720133c00
[027:352] [2022-08-07 14:26:09 +0000.780983][7078] operator() leave. expire time =
48 ms

[027:403] [2022-08-07 14:26:09 +0000.831756][7078] begine recode to first frame


spend time:99
[027:403] [2022-08-07 14:26:09 +0000.831867][7078]
GPUImageProcessing::SetOrientation orientation: 90
[027:405] [2022-08-07 14:26:09 +0000.833334][7078] drawYUV420 render
OpenGLRenderProgram:0x772f7bfa98
[027:442] [2022-08-07 14:26:09 +0000.870879][7078] drawYUV420 render
OpenGLRenderProgram:0x772f7bfa98
[027:456] [2022-08-07 14:26:09 +0000.884486][7264]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[027:470] [2022-08-07 14:26:09 +0000.898349][7078] drawYUV420 render
OpenGLRenderProgram:0x772f7bfa98
[027:490] [2022-08-07 14:26:09 +0000.918270][7265] add aac audio track with id:1
[027:516] [2022-08-07 14:26:09 +0000.944340][7261] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[027:562] [2022-08-07 14:26:09 +0000.990747][7265] audio start ts:0
[027:562] [2022-08-07 14:26:09 +0000.990858][7265] the audio frame has been written
into MP4 file
[027:581] [2022-08-07 14:26:10 +0000.10005][7264] h264 add frame header cdr flag
[027:582] [2022-08-07 14:26:10 +0000.10598][7264] h264 add frame header cdr flag
[027:583] [2022-08-07 14:26:10 +0000.11480][7264] Received key frame:0
[027:583] [2022-08-07 14:26:10 +0000.11535][7264] H264Encode:: get a sps pps
header!headerSize:32
[027:583] [2022-08-07 14:26:10 +0000.11636][7265] get the H.264 SPS parameter
[027:583] [2022-08-07 14:26:10 +0000.11823][7265] add video track with id:2
[027:586] [2022-08-07 14:26:10 +0000.14450][7265] get the H.264 PPS parameter
[027:587] [2022-08-07 14:26:10 +0000.15628][7265] get the H.264 IDR frame
[027:587] [2022-08-07 14:26:10 +0000.15685][7265] resss:true
[027:587] [2022-08-07 14:26:10 +0000.15720][7265] video start ts:0
[027:587] [2022-08-07 14:26:10 +0000.16044][7265] the video frame has been written
into MP4 file
[027:614] [2022-08-07 14:26:10 +0000.42304][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[027:614] [2022-08-07 14:26:10 +0000.43001][7264] DTS queue for
Generator:0x77f85a4cb8 128 164
[027:643] [2022-08-07 14:26:10 +0000.71413][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[027:712] [2022-08-07 14:26:10 +0000.140576][7078] The convert RGB to YUV take 5
[027:715] [2022-08-07 14:26:10 +0000.143751][7264] Push an pts:264 to dts queue.
[027:752] [2022-08-07 14:26:10 +0000.180717][7264] last dts:230 currentPts:264
ppsOrSPS:0 queue length:2
[027:767] [2022-08-07 14:26:10 +0000.195503][725d] resampled_data_size:10752
[028:141] [2022-08-07 14:26:10 +0000.569489][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:158] [2022-08-07 14:26:10 +0000.586718][707c] Run AGC when audioType = 0
[028:158] [2022-08-07 14:26:10 +0000.586881][707c]
AudioDeviceDataHandler::MixAndSendOutFrame
[028:211] [2022-08-07 14:26:10 +0000.639541][7078] The convert RGB to YUV take 6
[028:249] [2022-08-07 14:26:10 +0000.677628][725d] AF_SpeedFilter audio
0x772014c500 PullFrame
[028:388] [2022-08-07 14:26:10 +0000.817086][725d] AF_SpeedFilter::PullFrame eof4
[028:393] [2022-08-07 14:26:10 +0000.821353][725d]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[028:450] [2022-08-07 14:26:10 +0000.878553][7264] DTS queue for
Generator:0x77f85a4cb8 971 1001
[028:513] [2022-08-07 14:26:10 +0000.941453][7261] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[028:603] [2022-08-07 14:26:11 +0000.32139][7263]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 1068queue_audio_frame_:8
[028:645] [2022-08-07 14:26:11 +0000.74017][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:713] [2022-08-07 14:26:11 +0000.141913][7078] The convert RGB to YUV take 6
[028:916] [2022-08-07 14:26:11 +0000.344575][7264]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:1466
[028:974] [2022-08-07 14:26:11 +0000.403197][7078] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[028:975] [2022-08-07 14:26:11 +0000.403344][7078] GPUImageProcessing: input frame
width1920 X 1080
[028:975] [2022-08-07 14:26:11 +0000.403747][7078] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[028:975] [2022-08-07 14:26:11 +0000.403826][7078] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[029:049] [2022-08-07 14:26:11 +0000.477918][7264] Push an pts:1600 to dts queue.
[029:073] [2022-08-07 14:26:11 +0000.501894][7078] webrtc common_video plane
old ..... (1/1000) new: 12001 delete: 11980 diff: 21
[029:083] [2022-08-07 14:26:11 +0000.511483][7264] last dts:1568 currentPts:1600
ppsOrSPS:0 queue length:2
[029:099] [2022-08-07 14:26:11 +0000.528182][725d]
RecordAudioSource::PullAudioFrame
[029:143] [2022-08-07 14:26:11 +0000.571751][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:213] [2022-08-07 14:26:11 +0000.641949][7078] The convert RGB to YUV take 6
[029:284] [2022-08-07 14:26:11 +0000.712787][7264] DTS queue for
Generator:0x77f85a4cb8 1800 1834
[029:334] [2022-08-07 14:26:11 +0000.762904][707c] haveEnoughProcessedData
internalAudioStream.length: 20
[029:347] [2022-08-07 14:26:11 +0000.775879][7078] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[029:450] [2022-08-07 14:26:11 +0000.879119][7078] FilterPipeline2::OnVideoFrame
pts 2037 last_video_timestamp_ 2037
[029:514] [2022-08-07 14:26:11 +0000.943093][7264] h264 add frame header cdr flag
[029:515] [2022-08-07 14:26:11 +0000.943642][7264] Received key frame:2000
[029:518] [2022-08-07 14:26:11 +0000.946255][7265] get the H.264 IDR frame
[029:518] [2022-08-07 14:26:11 +0000.946824][7261] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[029:646] [2022-08-07 14:26:12 +0000.74438][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:712] [2022-08-07 14:26:12 +0000.140967][7078] The convert RGB to YUV take 4
[029:907] [2022-08-07 14:26:12 +0000.335728][725d] AF_SpeedFilter audio
0x772014c500 PullFrame
[030:019] [2022-08-07 14:26:12 +0000.448020][725d] resampled_data_size:1536
[030:081] [2022-08-07 14:26:12 +0000.510162][7264] DTS queue for
Generator:0x77f85a4cb8 2633
[030:140] [2022-08-07 14:26:12 +0000.569098][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:154] [2022-08-07 14:26:12 +0000.582725][707d] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:154] [2022-08-07 14:26:12 +0000.582920][707d] _deviceSampleRate:48000

[030:157] [2022-08-07 14:26:12 +0000.586164][707c] Run AGC when audioType = 0


[030:214] [2022-08-07 14:26:12 +0000.642271][7078] The convert RGB to YUV take 3
[030:379] [2022-08-07 14:26:12 +0000.808181][7264] Push an pts:2931 to dts queue.
[030:416] [2022-08-07 14:26:12 +0000.844227][7264] SendFrame
encodedImage._timeStamp:2931encodedImage->_length:149216
[030:416] [2022-08-07 14:26:12 +0000.844381][7264] last dts:2899 currentPts:2931
ppsOrSPS:0 queue length:2
[030:523] [2022-08-07 14:26:12 +0000.951620][7261] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[030:551] [2022-08-07 14:26:12 +0000.979482][7264] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3065 pts:3065
[030:643] [2022-08-07 14:26:13 +0000.72135][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:705] [2022-08-07 14:26:13 +0000.134082][7078] drawYUV420 render
OpenGLRenderProgram:0x772f7bfa98
[030:710] [2022-08-07 14:26:13 +0000.138704][7078] The convert RGB to YUV take 4
[030:712] [2022-08-07 14:26:13 +0000.140699][7264] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3265
[030:712] [2022-08-07 14:26:13 +0000.140781][7264] push video frame to H264
encoder. (100 frame for one log)

[030:712] [2022-08-07 14:26:13 +0000.140835][7264] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[030:712] [2022-08-07 14:26:13 +0000.140874][7264] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3265(100 frame for one
log)

[030:712] [2022-08-07 14:26:13 +0000.140921][7264] The input pts:3265 fps:30


[030:747] [2022-08-07 14:26:13 +0000.175291][7264] H264Encode::H264SWEncoder get
callback, length:90160 type:1 nalType:1length:90156
[030:776] [2022-08-07 14:26:13 +0000.205117][725d] AF_SpeedFilter::PullFrame eof4
[030:782] [2022-08-07 14:26:13 +0000.210757][725d]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[030:862] [2022-08-07 14:26:13 +0000.290638][7263]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 3390queue_audio_frame_:2
[030:915] [2022-08-07 14:26:13 +0000.343460][7264] DTS queue for
Generator:0x77f85a4cb8 3464
[031:020] [2022-08-07 14:26:13 +0000.448855][725d]
RecordAudioSource::PullAudioFrame
[031:043] [2022-08-07 14:26:13 +0000.471432][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[031:139] [2022-08-07 14:26:13 +0000.567427][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[031:142] [2022-08-07 14:26:13 +0000.570952][7078] webrtc common_video plane
old ..... (1/1000) new: 13001 delete: 12984 diff: 17
[031:205] [2022-08-07 14:26:13 +0000.634182][7078] The convert RGB to YUV take 2
[031:460] [2022-08-07 14:26:13 +0000.888668][7261] The output timestamp from audio
mixer change:576682732
[031:477] [2022-08-07 14:26:13 +0000.906139][7264] h264 add frame header cdr flag
[031:478] [2022-08-07 14:26:13 +0000.906616][7264] Received key frame:3996
[031:515] [2022-08-07 14:26:13 +0000.943257][707c] On audio frame the broadcast
with timestamp:576682794 samples:480. (1000 frame for one log)

[031:515] [2022-08-07 14:26:13 +0000.943649][7265] get the H.264 IDR frame


[031:522] [2022-08-07 14:26:13 +0000.950699][7261] Get data in mic source, which
has byte length:1764micAudioStream->length():20
[031:523] [2022-08-07 14:26:13 +0000.951229][7261] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[031:532] [2022-08-07 14:26:13 +0000.960832][725d] AF_SpeedFilter audio
0x772014c500 PullFrame
[031:638] [2022-08-07 14:26:14 +0000.66977][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[031:713] [2022-08-07 14:26:14 +0000.142008][7078] The convert RGB to YUV take 4
[031:715] [2022-08-07 14:26:14 +0000.144116][7264] Push an pts:4264 to dts queue.
[031:745] [2022-08-07 14:26:14 +0000.173458][7264] DTS queue for
Generator:0x77f85a4cb8 4264 4296
[031:748] [2022-08-07 14:26:14 +0000.176270][7264] last dts:4232 currentPts:4264
ppsOrSPS:0 queue length:2
[032:081] [2022-08-07 14:26:14 +0000.510119][725d] AF_SpeedFilter audio time,
0x772014c500 rcv time: 576683356
[032:082] [2022-08-07 14:26:14 +0000.510221][725d] AF_SpeedFilter audio time,
0x772014c500 rcv time: 576683356in_nSamples:441
[032:140] [2022-08-07 14:26:14 +0000.568927][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[032:155] [2022-08-07 14:26:14 +0000.583806][707c] Run AGC when audioType = 0
[032:155] [2022-08-07 14:26:14 +0000.584009][707c]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:186] [2022-08-07 14:26:14 +0000.614980][725d] resampled_data_size:13824
[032:186] [2022-08-07 14:26:14 +0000.615129][725d]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 576683357
[032:187] [2022-08-07 14:26:14 +0000.615473][725d]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[032:209] [2022-08-07 14:26:14 +0000.637287][7078] The convert RGB to YUV take 3
[032:244] [2022-08-07 14:26:14 +0000.673174][7264]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:4798
[032:338] [2022-08-07 14:26:14 +0000.766829][7078] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[032:338] [2022-08-07 14:26:14 +0000.767131][7078] GPUImageProcessing: input frame
width1920 X 1080
[032:339] [2022-08-07 14:26:14 +0000.767764][7078] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[032:339] [2022-08-07 14:26:14 +0000.767871][7078] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[032:525] [2022-08-07 14:26:14 +0000.953744][7261] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[032:580] [2022-08-07 14:26:15 +0000.8463][7264] DTS queue for
Generator:0x77f85a4cb8 5093 5131
[032:638] [2022-08-07 14:26:15 +0000.66251][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[032:709] [2022-08-07 14:26:15 +0000.137561][7078] The convert RGB to YUV take 5
[032:757] [2022-08-07 14:26:15 +0000.185491][707c] haveEnoughProcessedData
internalAudioStream.length: 10
[032:945] [2022-08-07 14:26:15 +0000.373940][725d]
RecordAudioSource::PullAudioFrame
[033:047] [2022-08-07 14:26:15 +0000.475497][7264] Push an pts:5596 to dts queue.
[033:078] [2022-08-07 14:26:15 +0000.506550][7264] last dts:5561 currentPts:5596
ppsOrSPS:0 queue length:2
[033:139] [2022-08-07 14:26:15 +0000.568155][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[033:154] [2022-08-07 14:26:15 +0000.582807][725d] AF_SpeedFilter::PullFrame eof4
[033:158] [2022-08-07 14:26:15 +0000.587037][725d]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[033:177] [2022-08-07 14:26:15 +0000.606060][725d] AF_SpeedFilter audio
0x772014c500 PullFrame
[033:208] [2022-08-07 14:26:15 +0000.636342][7078] The convert RGB to YUV take 3
[033:224] [2022-08-07 14:26:15 +0000.652472][7263]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 5712queue_audio_frame_:6
[033:238] [2022-08-07 14:26:15 +0000.666666][7078] webrtc common_video plane
old ..... (1/1000) new: 14001 delete: 13980 diff: 21
[033:412] [2022-08-07 14:26:15 +0000.840324][7264] DTS queue for
Generator:0x77f85a4cb8 5929 5965
[033:512] [2022-08-07 14:26:15 +0000.940622][7264] h264 add frame header cdr flag
[033:513] [2022-08-07 14:26:15 +0000.941649][7264] Received key frame:5996
[033:515] [2022-08-07 14:26:15 +0000.943390][7261] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[033:515] [2022-08-07 14:26:15 +0000.943677][7265] get the H.264 IDR frame
[033:636] [2022-08-07 14:26:16 +0000.64497][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[033:713] [2022-08-07 14:26:16 +0000.141322][7078] The convert RGB to YUV take 5
[033:747] [2022-08-07 14:26:16 +0000.175464][7264] SendFrame
encodedImage._timeStamp:6263encodedImage->_length:142176
[033:911] [2022-08-07 14:26:16 +0000.339999][7264] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6426 pts:6426
[034:041] [2022-08-07 14:26:16 +0000.469800][7078] drawYUV420 render
OpenGLRenderProgram:0x772f7bfa98
[034:080] [2022-08-07 14:26:16 +0000.508331][7264] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6631
[034:080] [2022-08-07 14:26:16 +0000.508397][7264] push video frame to H264
encoder. (100 frame for one log)

[034:080] [2022-08-07 14:26:16 +0000.508434][7264] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[034:080] [2022-08-07 14:26:16 +0000.508457][7264] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6631(100 frame for one
log)

[034:080] [2022-08-07 14:26:16 +0000.508483][7264] The input pts:6631 fps:30


[034:106] [2022-08-07 14:26:16 +0000.534456][7264] H264Encode::H264SWEncoder get
callback, length:136528 type:1 nalType:1length:136524
[034:134] [2022-08-07 14:26:16 +0000.562761][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[034:153] [2022-08-07 14:26:16 +0000.581448][707c] Run AGC when audioType = 0
[034:208] [2022-08-07 14:26:16 +0000.636597][7078] The convert RGB to YUV take 3
[034:213] [2022-08-07 14:26:16 +0000.641424][7264] DTS queue for
Generator:0x77f85a4cb8 6763
[034:379] [2022-08-07 14:26:16 +0000.808208][7264] Push an pts:6929 to dts queue.
[034:445] [2022-08-07 14:26:16 +0000.874099][7264] last dts:6898 currentPts:6929
ppsOrSPS:0 queue length:3
[034:450] [2022-08-07 14:26:16 +0000.878305][725d] resampled_data_size:4608
[034:473] [2022-08-07 14:26:16 +0000.902033][707c] haveEnoughProcessedData
internalAudioStream.length: 20
[034:520] [2022-08-07 14:26:16 +0000.949168][7261] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[034:545] [2022-08-07 14:26:16 +0000.973614][725d] AF_SpeedFilter audio time 111,
0x772014c500 out time: 576685737 org time: 576685737
[034:637] [2022-08-07 14:26:17 +0000.66073][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[034:640] [2022-08-07 14:26:17 +0000.69087][725d] AF_SpeedFilter audio time
[034:709] [2022-08-07 14:26:17 +0000.137454][7078] The convert RGB to YUV take 4
[034:824] [2022-08-07 14:26:17 +0000.252369][725d] AF_SpeedFilter audio
0x772014c500 PullFrame
[034:866] [2022-08-07 14:26:17 +0000.294567][725d]
RecordAudioSource::PullAudioFrame
[035:047] [2022-08-07 14:26:17 +0000.475278][7264] DTS queue for
Generator:0x77f85a4cb8 7594
[035:135] [2022-08-07 14:26:17 +0000.563306][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[035:205] [2022-08-07 14:26:17 +0000.633310][7078] The convert RGB to YUV take 5
[035:301] [2022-08-07 14:26:17 +0000.729765][725d] FilterPipeline2::OnAudioFrame
pts 7860 last_audio_timestamp_ 7860
[035:309] [2022-08-07 14:26:17 +0000.737571][7078] webrtc common_video plane
old ..... (1/1000) new: 15001 delete: 14984 diff: 17
[035:475] [2022-08-07 14:26:17 +0000.903358][7264] h264 add frame header cdr flag
[035:475] [2022-08-07 14:26:17 +0000.903972][7264] Received key frame:7996
[035:510] [2022-08-07 14:26:17 +0000.938364][7265] get the H.264 IDR frame
[035:520] [2022-08-07 14:26:17 +0000.949101][7261] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[035:527] [2022-08-07 14:26:17 +0000.955856][725d] AF_SpeedFilter::PullFrame eof4
[035:531] [2022-08-07 14:26:17 +0000.960128][725d]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[035:572] [2022-08-07 14:26:18 +0000.681][7264]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:8127
[035:586] [2022-08-07 14:26:18 +0000.14518][7263]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 8034queue_audio_frame_:9
[035:636] [2022-08-07 14:26:18 +0000.64678][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[035:699] [2022-08-07 14:26:18 +0000.128125][7078] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[035:700] [2022-08-07 14:26:18 +0000.128225][7078] GPUImageProcessing: input frame
width1920 X 1080
[035:700] [2022-08-07 14:26:18 +0000.128619][7078] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[035:700] [2022-08-07 14:26:18 +0000.128716][7078] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[035:709] [2022-08-07 14:26:18 +0000.137487][7078] The convert RGB to YUV take 9
[035:711] [2022-08-07 14:26:18 +0000.139509][7264] Push an pts:8259 to dts queue.
[035:746] [2022-08-07 14:26:18 +0000.174336][7264] last dts:8226 currentPts:8259
ppsOrSPS:0 queue length:2
[035:874] [2022-08-07 14:26:18 +0000.302525][7264] DTS queue for
Generator:0x77f85a4cb8 8393 8427
[036:141] [2022-08-07 14:26:18 +0000.569679][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[036:154] [2022-08-07 14:26:18 +0000.582431][707c] Run AGC when audioType = 0
[036:154] [2022-08-07 14:26:18 +0000.582653][707c]
AudioDeviceDataHandler::MixAndSendOutFrame
[036:185] [2022-08-07 14:26:18 +0000.614012][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[036:208] [2022-08-07 14:26:18 +0000.636753][7078] The convert RGB to YUV take 3
[036:475] [2022-08-07 14:26:18 +0000.904041][725d] AF_SpeedFilter audio
0x772014c500 PullFrame
[036:518] [2022-08-07 14:26:18 +0000.946358][7261] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[036:626] [2022-08-07 14:26:19 +0000.54875][725d] resampled_data_size:16616
[036:638] [2022-08-07 14:26:19 +0000.66890][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[036:706] [2022-08-07 14:26:19 +0000.134598][7078] The convert RGB to YUV take 3
[036:707] [2022-08-07 14:26:19 +0000.135232][7264] DTS queue for
Generator:0x77f85a4cb8 9227 9260
[036:818] [2022-08-07 14:26:19 +0000.246914][725d]
RecordAudioSource::PullAudioFrame
[037:042] [2022-08-07 14:26:19 +0000.470459][7264] Push an pts:9596 to dts queue.
[037:072] [2022-08-07 14:26:19 +0000.501179][7264] SendFrame
encodedImage._timeStamp:9596encodedImage->_length:195152
[037:073] [2022-08-07 14:26:19 +0000.501329][7264] last dts:9559 currentPts:9596
ppsOrSPS:0 queue length:2
[037:137] [2022-08-07 14:26:19 +0000.565745][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[037:205] [2022-08-07 14:26:19 +0000.633865][7078] The convert RGB to YUV take 3
[037:276] [2022-08-07 14:26:19 +0000.705194][7264] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:9796 pts:9796
[037:369] [2022-08-07 14:26:19 +0000.797551][7078] drawYUV420 render
OpenGLRenderProgram:0x772f7bfa98
[037:399] [2022-08-07 14:26:19 +0000.827368][7078] webrtc common_video plane
old ..... (1/1000) new: 16001 delete: 15980 diff: 21
[037:440] [2022-08-07 14:26:19 +0000.868653][7264] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:9992
[037:440] [2022-08-07 14:26:19 +0000.868751][7264] push video frame to H264
encoder. (100 frame for one log)

[037:440] [2022-08-07 14:26:19 +0000.868802][7264] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[037:440] [2022-08-07 14:26:19 +0000.868833][7264] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:9992(100 frame for one
log)

[037:440] [2022-08-07 14:26:19 +0000.868871][7264] The input pts:9992 fps:30


[037:472] [2022-08-07 14:26:19 +0000.900417][7264] h264 add frame header cdr flag
[037:472] [2022-08-07 14:26:19 +0000.901144][7264] Received key frame:9992
[037:474] [2022-08-07 14:26:19 +0000.902739][7264] H264Encode::H264SWEncoder get
callback, length:262880 type:0 nalType:5length:262876
[037:508] [2022-08-07 14:26:19 +0000.936688][7264] DTS queue for
Generator:0x77f85a4cb8 10056
[037:509] [2022-08-07 14:26:19 +0000.937740][7265] get the H.264 IDR frame
[037:518] [2022-08-07 14:26:19 +0000.947155][7261] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[037:633] [2022-08-07 14:26:20 +0000.61770][7078] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[037:706] [2022-08-07 14:26:20 +0000.134748][7078] The convert RGB to YUV take 3
[037:849] [2022-08-07 14:26:20 +0000.277835][7263]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 10356queue_audio_frame_:3
[037:897] [2022-08-07 14:26:20 +0000.325795][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[037:935] [2022-08-07 14:26:20 +0000.363788][725d] AF_SpeedFilter::PullFrame eof4
[037:940] [2022-08-07 14:26:20 +0000.368588][725d]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[038:064] [2022-08-07 14:26:20 +0000.493051][5afb]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[038:071] [2022-08-07 14:26:20 +0000.499627][7078] operator(): Stop
[038:071] [2022-08-07 14:26:20 +0000.499764][7078] StopPullFrameAndWriteMp4
time:576689350 enter.

[038:071] [2022-08-07 14:26:20 +0000.499809][7078] StopRecording:


[038:074] [2022-08-07 14:26:20 +0000.502356][725d] PullAudioFrame: PullFrame audio
finished.
[038:074] [2022-08-07 14:26:20 +0000.502411][725d]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[038:076] [2022-08-07 14:26:20 +0000.504865][7264]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:319
[038:078] [2022-08-07 14:26:20 +0000.506746][7077] stop recording
[038:078] [2022-08-07 14:26:20 +0000.506799][7077]
RecordingSessionInternalSimple:destroy media processers
[038:078] [2022-08-07 14:26:20 +0000.506833][7077] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[038:078] [2022-08-07 14:26:20 +0000.506863][7077] H264Encode::flushing hareware
Encoder
[038:078] [2022-08-07 14:26:20 +0000.507057][7077] Flush time:576689357 enter.

[038:078] [2022-08-07 14:26:20 +0000.507104][7077] H264Encoder encoder flush


[038:078] [2022-08-07 14:26:20 +0000.507135][7077] flush output queue
[038:156] [2022-08-07 14:26:20 +0000.585146][707c] Run AGC when audioType = 0
[038:405] [2022-08-07 14:26:20 +0000.833734][7077] Flush leave. expire time = 327
ms

[038:405] [2022-08-07 14:26:20 +0000.834110][7077] ~H264EncodeWrap:


[038:405] [2022-08-07 14:26:20 +0000.834198][7077] ~H264Encode:
[038:406] [2022-08-07 14:26:20 +0000.834255][7077] teardownCompressionSession:
H264Encode::destroying Encoder
[038:406] [2022-08-07 14:26:20 +0000.834311][7077] Release time:576689685 enter.

[038:406] [2022-08-07 14:26:20 +0000.834623][7077] Release:


MediaCodecVideoEncoder::Release _inited:1
[038:406] [2022-08-07 14:26:20 +0000.834707][7077] Destroy time:576689685 enter.

[038:406] [2022-08-07 14:26:20 +0000.834766][7077] H264Encoder encoderDestroy


[038:406] [2022-08-07 14:26:20 +0000.834932][7077]
AndroidMediaCodecVideoEncoder::release env: 0x77f881b800
[038:406] [2022-08-07 14:26:20 +0000.834997][7077]
AndroidMediaCodecVideoEncoder::Destroy
[038:454] [2022-08-07 14:26:20 +0000.882228][7077] Destroy leave. expire time = 48
ms

[038:454] [2022-08-07 14:26:20 +0000.883212][7077] Release leave. expire time = 49


ms

[038:455] [2022-08-07 14:26:20 +0000.883339][7077] ~AndroidHwAvcEncoder


time:576689734 enter.

[038:455] [2022-08-07 14:26:20 +0000.883763][7077] Release time:576689734 enter.

[038:455] [2022-08-07 14:26:20 +0000.883809][7077] Release:


MediaCodecVideoEncoder:: has been released before, just return
[038:455] [2022-08-07 14:26:20 +0000.883838][7077] Release leave. expire time = 0
ms

[038:455] [2022-08-07 14:26:20 +0000.883866][7077] ~AndroidMediaCodecVideoEncoder


[038:455] [2022-08-07 14:26:20 +0000.883894][7077] ~WrapAndroidMediaCodec
time:576689734 enter.

[038:455] [2022-08-07 14:26:20 +0000.883924][7077] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[038:456] [2022-08-07 14:26:20 +0000.884748][7077] video hevc hw codec


destructor:0x77139dae68

[038:456] [2022-08-07 14:26:20 +0000.884928][7077] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[038:456] [2022-08-07 14:26:20 +0000.884985][7077] teardownCompressionSession:


H264Encode::destroyed Encoder
[038:456] [2022-08-07 14:26:20 +0000.885022][7077]
RecordingSessionInternalSimple:destroy aac encoder output!
[038:456] [2022-08-07 14:26:20 +0000.885049][7077] AACSWEncode destructor
[038:469] [2022-08-07 14:26:20 +0000.897409][7265] MP4 close file successfully
[038:469] [2022-08-07 14:26:20 +0000.897496][7265] Recording session Internal:
notify recording ok
[038:469] [2022-08-07 14:26:20 +0000.897544][7265] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4,
output_video_timestamp_:10591 last_video_pts_:10591
[038:469] [2022-08-07 14:26:20 +0000.897597][7265] OnRecordFinish:
[038:470] [2022-08-07 14:26:20 +0000.898408][7265] onRecordingOk: net seek
pos:0record video duration:10624record audio duration:10611
[038:470] [2022-08-07 14:26:20 +0000.899177][7261] destructMicSource_w:
[038:471] [2022-08-07 14:26:20 +0000.899258][7261] setOutput_w:
MicSource::setOutput() 0x0
[038:471] [2022-08-07 14:26:20 +0000.899450][7078] releaseThread 0x7720134500
[038:471] [2022-08-07 14:26:20 +0000.899502][7078] ~MicSource: Mic source
destroyed:0x78086fb200
[038:472] [2022-08-07 14:26:20 +0000.900761][7078] StopPullFrameAndWriteMp4 leave.
expire time = 401 ms

[038:472] [2022-08-07 14:26:20 +0000.900830][7078] DestroyPipelineAndFilters


time:576689751 enter.

[038:472] [2022-08-07 14:26:20 +0000.900907][7078] UnbindInputFilter 0x7720133bc0


this 0x772f7bfcc0
[038:472] [2022-08-07 14:26:20 +0000.900951][7078] UnbindInputFilter 0x7720133d58
this 0x772014c650
[038:472] [2022-08-07 14:26:20 +0000.901004][7078] UnbindInputFilter 0x772f7bfcc0
this 0x7720240fa0
[038:472] [2022-08-07 14:26:20 +0000.901031][7078] filter: filter pipeline destroy
this: 0x7720240f00
[038:473] [2022-08-07 14:26:20 +0000.901513][7078] ClearVideoOfSources: recodring
total frames:0
[038:473] [2022-08-07 14:26:20 +0000.901559][7078] ClearVideoOfSources:
[038:473] [2022-08-07 14:26:20 +0000.901584][7078] GPUImageProcessing destruct.
[038:473] [2022-08-07 14:26:20 +0000.901628][7078] destroy TrivalImageDrawer
0x76fe955b40
[038:473] [2022-08-07 14:26:20 +0000.901655][7078] The shader has been initialize,
clean up them.

[038:473] [2022-08-07 14:26:20 +0000.901697][7078] ~OpenGLFrameBuffer:


[038:473] [2022-08-07 14:26:20 +0000.901766][7078] ~OpenGLFrameBuffer:
[038:473] [2022-08-07 14:26:20 +0000.901832][7078] ~OpenGLFrameBuffer:
[038:473] [2022-08-07 14:26:20 +0000.901892][7078] ~OpenGLFrameBuffer:
[038:473] [2022-08-07 14:26:20 +0000.901974][7078] ~OpenGLFrameBuffer:
[038:474] [2022-08-07 14:26:20 +0000.902965][7078] ~OpenGLFrameBuffer:
[038:474] [2022-08-07 14:26:20 +0000.903199][7078] GPUImageProcessing destruct
finish.
[038:475] [2022-08-07 14:26:20 +0000.903299][7078] GPURGBAFrame destruct.
[038:475] [2022-08-07 14:26:20 +0000.903348][7078] destroy OpenGLRenderProgram
0x772f7bfa98
[038:475] [2022-08-07 14:26:20 +0000.903377][7078] ~CameraSource time:576689754
enter.

[038:475] [2022-08-07 14:26:20 +0000.903401][7078] ~CameraSource leave. expire


time = 0 ms

[038:475] [2022-08-07 14:26:20 +0000.903428][7078] ~RecordAudioSource


time:576689754 enter.

[038:475] [2022-08-07 14:26:20 +0000.903452][7078] ~RecordAudioSource leave.


expire time = 0 ms

[038:475] [2022-08-07 14:26:20 +0000.903479][7078] DestroyPipelineAndFilters


leave. expire time = 3 ms

[038:486] [2022-08-07 14:26:20 +0000.914981][5afb]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[038:487] [2022-08-07 14:26:20 +0000.915493][5afb] machine model :poco
[038:487] [2022-08-07 14:26:20 +0000.915520][5afb] Support this machine model :poco
[038:487] [2022-08-07 14:26:20 +0000.915541][5afb] global inited! current sdk
version: 07-20-936c45f
[038:487] [2022-08-07 14:26:20 +0000.915697][5afb] filter: filter pipeline
construtc this: 0x771ffcbc00
[038:487] [2022-08-07 14:26:20 +0000.915723][5afb] MediaFilterGraph:
MediaFilterGraph construct
[038:487] [2022-08-07 14:26:20 +0000.915742][5afb] GLESContext:
[038:487] [2022-08-07 14:26:20 +0000.915778][5afb] The result of eglGetDisplay is:
0xb40000780862bf00
[038:488] [2022-08-07 14:26:20 +0000.916877][5afb] The result of creation:
0x771ff5fb80
[038:488] [2022-08-07 14:26:20 +0000.916955][5afb] The result of
eglCreatePbufferSurface is: 0x771ff5fc80
[038:488] [2022-08-07 14:26:20 +0000.917046][5afb] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4
[038:488] [2022-08-07 14:26:20 +0000.917074][5afb] The source 0 speed:1
[038:488] [2022-08-07 14:26:20 +0000.917102][5afb] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4,
delay: 0
[038:488] [2022-08-07 14:26:20 +0000.917132][5afb] CreateDecoderByVideoSource
time:576689767 enter.

[038:489] [2022-08-07 14:26:20 +0000.917331][5afb] running_decoder_count:0max


count:2
[038:489] [2022-08-07 14:26:20 +0000.917366][5afb] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x780860ac00
[038:489] [2022-08-07 14:26:20 +0000.918164][72af] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x772f656800] Current FFmpeg version git-2021-06-16-
97cea6f

[038:536] [2022-08-07 14:26:20 +0000.964535][72af] OnStreamInfoFound: video


duration_: 10624
[038:541] [2022-08-07 14:26:20 +0000.969383][72b0] NO get frame from decoder
[038:541] [2022-08-07 14:26:20 +0000.969589][5afb] start decoder
[038:541] [2022-08-07 14:26:20 +0000.969659][5afb] CreateDecoderByVideoSource
leave. expire time = 53 ms

[038:541] [2022-08-07 14:26:20 +0000.969756][5afb] BindInputFilter 0x772013d620


this 0x772020dc18
[038:541] [2022-08-07 14:26:20 +0000.969818][5afb] BindInputFilter 0x772020dc18
this 0x772020dd98
[038:541] [2022-08-07 14:26:20 +0000.969881][5afb] BindInputFilter 0x772013d620
this 0x772020df18
[038:541] [2022-08-07 14:26:20 +0000.969935][5afb] BindInputFilter 0x772020df18
this 0x7720240818
[038:541] [2022-08-07 14:26:20 +0000.969974][5afb] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4
[038:541] [2022-08-07 14:26:20 +0000.970043][5afb] BindInputFilter 0x772020dd98
this 0x77202408d8
[038:541] [2022-08-07 14:26:20 +0000.970094][5afb] BindInputFilter 0x77202408d8
this 0x771ffcbca0
[038:541] [2022-08-07 14:26:20 +0000.970136][5afb] BindInputFilter 0x7720240818
this 0x7720240998
[038:541] [2022-08-07 14:26:20 +0000.970195][5afb] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4
[038:542] [2022-08-07 14:26:20 +0000.970302][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[038:542] [2022-08-07 14:26:20 +0000.970919][5afb] machine model :poco
[038:542] [2022-08-07 14:26:20 +0000.971004][5afb] Support this machine model :poco
[038:542] [2022-08-07 14:26:20 +0000.971047][5afb] global inited! current sdk
version: 07-20-936c45f
[038:542] [2022-08-07 14:26:20 +0000.971134][5afb] GetPipeline:
-----------------------------------------
[038:542] [2022-08-07 14:26:20 +0000.971175][5afb] GetPipeline: source:
0x772013d400
[038:543] [2022-08-07 14:26:20 +0000.971226][5afb] GetPipeline: filter: NULLFilter
[038:543] [2022-08-07 14:26:20 +0000.971274][5afb] GetPipeline: filter: NULLFilter
[038:543] [2022-08-07 14:26:20 +0000.971323][5afb] GetPipeline: filter: NULLFilter
[038:543] [2022-08-07 14:26:20 +0000.971370][5afb] GetPipeline: audio filter:
AuidoNULLFilter
[038:543] [2022-08-07 14:26:20 +0000.971416][5afb] GetPipeline: audio filter:
AuidoNULLFilter
[038:543] [2022-08-07 14:26:20 +0000.971466][5afb] GetPipeline: audio filter:
AudioNUllFilter
[038:543] [2022-08-07 14:26:20 +0000.971514][5afb] GetPipeline:
------------------------------------------
[038:543] [2022-08-07 14:26:20 +0000.971564][5afb] filter: filter pipeline2 update
pattern: 0
[038:544] [2022-08-07 14:26:20 +0000.972392][5afb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[038:544] [2022-08-07 14:26:20 +0000.972509][72b0] NO get frame from decoder
[038:544] [2022-08-07 14:26:20 +0000.972673][5afb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[038:544] [2022-08-07 14:26:20 +0000.972778][5afb] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[038:544] [2022-08-07 14:26:20 +0000.973051][5afb] DeviceInit:
[038:545] [2022-08-07 14:26:20 +0000.973410][5afb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[038:545] [2022-08-07 14:26:20 +0000.973987][5afb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[038:546] [2022-08-07 14:26:20 +0000.974590][5afb] CreatePlatformSpecificObjects:
[038:546] [2022-08-07 14:26:20 +0000.974725][5afb] audio device use null audio
input and opensl output
[038:546] [2022-08-07 14:26:20 +0000.974853][5afb] Create OpenSLES output module
with java VM support.

[038:546] [2022-08-07 14:26:20 +0000.975150][5afb] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[038:547] [2022-08-07 14:26:20 +0000.975523][5afb] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[038:547] [2022-08-07 14:26:20 +0000.975902][5afb] Create OpenSLES output module
with buffer num:2

[038:547] [2022-08-07 14:26:20 +0000.975975][5afb] Error(trace.cc:40): Init the


output and input for audio device template.
[038:547] [2022-08-07 14:26:20 +0000.976021][5afb] Init the output device.

[038:547] [2022-08-07 14:26:20 +0000.976056][5afb] Set the playout as stereo:1


[038:547] [2022-08-07 14:26:20 +0000.976118][5afb] Set the sample rate to be:44100

[038:547] [2022-08-07 14:26:20 +0000.976203][5afb] Low latency buffer size:144 low


sample rate:48000
[038:548] [2022-08-07 14:26:20 +0000.976251][5afb] DeviceInit: Done
[038:548] [2022-08-07 14:26:20 +0000.976459][5afb] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[038:548] [2022-08-07 14:26:20 +0000.976985][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[038:548] [2022-08-07 14:26:20 +0000.977135][5afb]
MediaFilterPlayer::SetPlayerNotify 0x772fa30ec0
[038:549] [2022-08-07 14:26:20 +0000.977326][5afb]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[038:549] [2022-08-07 14:26:20 +0000.977432][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[038:549] [2022-08-07 14:26:20 +0000.977525][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[038:549] [2022-08-07 14:26:20 +0000.977744][5afb] SetGraphLoop: SetGraphLoop 1
[038:549] [2022-08-07 14:26:20 +0000.977841][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[038:549] [2022-08-07 14:26:20 +0000.978033][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[038:550] [2022-08-07 14:26:20 +0000.978648][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[038:550] [2022-08-07 14:26:20 +0000.979015][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[038:551] [2022-08-07 14:26:20 +0000.979365][72bc] Start:
[038:551] [2022-08-07 14:26:20 +0000.979561][72bb] operator(): video render
started.
[038:551] [2022-08-07 14:26:20 +0000.979718][72bc] Start:
[038:551] [2022-08-07 14:26:20 +0000.979856][72bc] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[038:551] [2022-08-07 14:26:20 +0000.979954][72bc] Reset: history total size: 98
[038:551] [2022-08-07 14:26:20 +0000.979999][72bc] DeviceStart:
audioDevice_:0x771fff8000
[038:551] [2022-08-07 14:26:20 +0000.980046][72bc] DeviceStart: time profile
playout init before
[038:551] [2022-08-07 14:26:20 +0000.980106][72bc] DeviceStart: time profile
playout init end
[038:551] [2022-08-07 14:26:20 +0000.980161][72bc] OpenSlesOutput:Start playout

[038:552] [2022-08-07 14:26:20 +0000.980754][72b0] NO get frame from decoder


[038:553] [2022-08-07 14:26:20 +0000.981782][72bc] Create the opensl output player.
streamtype before:0

[038:553] [2022-08-07 14:26:20 +0000.981923][72bc] Create the opensl output player.


streamtype after:3

[038:548] [2022-08-07 14:26:20 +0000.976875][72ba] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x76fe8f8a18
[038:559] [2022-08-07 14:26:20 +0000.987919][72b0] NO get frame from decoder
[038:570] [2022-08-07 14:26:20 +0000.998563][72b0] NO get frame from decoder
[038:573] [2022-08-07 14:26:21 +0000.1294][72b0] NO get frame from decoder
[038:576] [2022-08-07 14:26:21 +0000.4860][72b0] NO get frame from decoder
[038:579] [2022-08-07 14:26:21 +0000.7657][72b0] NO get frame from decoder
[038:584] [2022-08-07 14:26:21 +0000.12368][72bc] Enqueue opensl buffer size:1764
[038:609] [2022-08-07 14:26:21 +0000.37825][72bc] DeviceStart: time profile playout
all end
[038:610] [2022-08-07 14:26:21 +0000.38537][72bc] operator(): Audio playback
started.
[038:610] [2022-08-07 14:26:21 +0000.38590][72bc] operator(): Started now!
[038:610] [2022-08-07 14:26:21 +0000.39101][72bd] Pull audio failed.(wait video!)
[038:611] [2022-08-07 14:26:21 +0000.39493][72bd]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[038:611] [2022-08-07 14:26:21 +0000.39855][72bd] Pull audio failed.(wait video!)
[038:616] [2022-08-07 14:26:21 +0000.44809][72bd]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[038:619] [2022-08-07 14:26:21 +0000.47870][72bd] Pull audio failed.(wait video!)
[038:621] [2022-08-07 14:26:21 +0000.49680][72bd]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[038:622] [2022-08-07 14:26:21 +0000.50936][72bd] Pull audio failed.(wait video!)
[038:624] [2022-08-07 14:26:21 +0000.52770][72bd]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[038:626] [2022-08-07 14:26:21 +0000.54418][72bd] Pull audio failed.(wait video!)
[038:652] [2022-08-07 14:26:21 +0000.81151][72bb] lipsync_debug: First video frame
rendering.
[038:825] [2022-08-07 14:26:21 +0000.254196][72bc] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[038:826] [2022-08-07 14:26:21 +0000.254342][72bc] First audio frame rendering
[038:856] [2022-08-07 14:26:21 +0000.284327][72be] Error(video_source.cc:430): wait
decoder a frame: 0
[038:996] [2022-08-07 14:26:21 +0000.425016][72bf]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[039:276] [2022-08-07 14:26:21 +0000.704287][72bb] lipsync_debug:displaying video
ts:57780 The current displayed video timestamp is:576690555
[039:374] [2022-08-07 14:26:21 +0000.802384][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[039:375] [2022-08-07 14:26:21 +0000.803411][72bc] Stop:
[039:375] [2022-08-07 14:26:21 +0000.803585][72bb] operator(): Video Render
stopped.
[039:375] [2022-08-07 14:26:21 +0000.803776][72bc] Stop:
[039:375] [2022-08-07 14:26:21 +0000.804009][72bc] DeviceStop:
audioDevice_:0x771fff8000
[039:375] [2022-08-07 14:26:21 +0000.804048][72bc] OpenSlesOutput:Stop playout

[039:377] [2022-08-07 14:26:21 +0000.805631][72bc] DeviceStop: Done


[039:377] [2022-08-07 14:26:21 +0000.805731][72bc] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[039:377] [2022-08-07 14:26:21 +0000.805765][72bc] operator(): Stop now!
[039:395] [2022-08-07 14:26:21 +0000.823673][5afb]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[039:395] [2022-08-07 14:26:21 +0000.823747][5afb] StopPreView: Have Stopped,
operation cancel
[039:395] [2022-08-07 14:26:21 +0000.823762][5afb] Stop:
[039:395] [2022-08-07 14:26:21 +0000.823892][72bc] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[039:395] [2022-08-07 14:26:21 +0000.824131][5afb] DeviceRelease:
audioDevice_:0x771fff8000
[039:395] [2022-08-07 14:26:21 +0000.824166][5afb] OpenSlesOutput:Stop playout

[039:396] [2022-08-07 14:26:21 +0000.824226][5afb] DeviceRelease: Release the


webrtc device object.
[039:396] [2022-08-07 14:26:21 +0000.824429][5afb] OpenSlesOutput destruct.

[039:396] [2022-08-07 14:26:21 +0000.824477][5afb] DeviceRelease: Done


[039:396] [2022-08-07 14:26:21 +0000.824546][5afb] Stop:
[039:396] [2022-08-07 14:26:21 +0000.824605][72bb] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[039:399] [2022-08-07 14:26:21 +0000.827351][5afb] global uninited!
[039:399] [2022-08-07 14:26:21 +0000.827497][5afb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[039:399] [2022-08-07 14:26:21 +0000.827576][5afb] ~MediaFilterGraph:
MediaFilterGraph destruct
[039:399] [2022-08-07 14:26:21 +0000.827594][5afb] RemoveVideoBackGroud: hava not
add video backgroud
[039:399] [2022-08-07 14:26:21 +0000.827620][5afb] UnbindInputFilter 0x77202408d8
this 0x771ffcbca0
[039:399] [2022-08-07 14:26:21 +0000.827640][5afb] ClearAllSource: remove source
filter, sourceid: 0x772013d400
[039:399] [2022-08-07 14:26:21 +0000.827654][5afb] DestoryDecoderByVideoSource
time:576690678 enter.

[039:399] [2022-08-07 14:26:21 +0000.827671][5afb] ~VideoBindDecoder time:576690678


enter.

[039:399] [2022-08-07 14:26:21 +0000.827772][5afb] CleanUp time:576690678 enter.

[039:424] [2022-08-07 14:26:21 +0000.852949][5afb] CleanUp leave. expire time = 25


ms
[039:424] [2022-08-07 14:26:21 +0000.853011][5afb] CleanUp time:576690703 enter.

[039:425] [2022-08-07 14:26:21 +0000.853952][5afb] CleanUp leave. expire time = 1


ms

[039:426] [2022-08-07 14:26:21 +0000.854720][5afb] ~VideoBindDecoder leave. expire


time = 27 ms

[039:426] [2022-08-07 14:26:21 +0000.854756][5afb] DestoryDecoderByVideoSource


leave. expire time = 27 ms

[039:426] [2022-08-07 14:26:21 +0000.854784][5afb] UnbindInputFilter 0x772020dd98


this 0x77202408d8
[039:426] [2022-08-07 14:26:21 +0000.854840][5afb] UnbindInputFilter 0x772020dc18
this 0x772020dd98
[039:426] [2022-08-07 14:26:21 +0000.854863][5afb] UnbindInputFilter 0x772013d620
this 0x772020dc18
[039:426] [2022-08-07 14:26:21 +0000.854885][5afb] UnbindInputFilter 0x7720240818
this 0x7720240998
[039:426] [2022-08-07 14:26:21 +0000.854940][5afb] UnbindInputFilter 0x772020df18
this 0x7720240818
[039:426] [2022-08-07 14:26:21 +0000.854962][5afb] UnbindInputFilter 0x772013d620
this 0x772020df18
[039:430] [2022-08-07 14:26:21 +0000.859188][5afb] ~GLESContext:
[039:431] [2022-08-07 14:26:21 +0000.859716][5afb] GLESContext destruct finish.
[039:431] [2022-08-07 14:26:21 +0000.859752][5afb] filter: filter pipeline destroy
this: 0x771ffcbc00
[039:431] [2022-08-07 14:26:21 +0000.860176][5afb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[039:432] [2022-08-07 14:26:21 +0000.860537][5afb] machine model :poco
[039:432] [2022-08-07 14:26:21 +0000.860556][5afb] Support this machine model :poco
[039:432] [2022-08-07 14:26:21 +0000.860574][5afb] global inited! current sdk
version: 07-20-936c45f
[039:432] [2022-08-07 14:26:21 +0000.860714][5afb] filter: filter pipeline
construtc this: 0x771ffcbc00
[039:432] [2022-08-07 14:26:21 +0000.860732][5afb] MediaFilterGraph:
MediaFilterGraph construct
[039:432] [2022-08-07 14:26:21 +0000.860746][5afb] GLESContext:
[039:432] [2022-08-07 14:26:21 +0000.860773][5afb] The result of eglGetDisplay is:
0xb40000780862bf00
[039:433] [2022-08-07 14:26:21 +0000.861499][5afb] The result of creation:
0x772f70f000
[039:433] [2022-08-07 14:26:21 +0000.861560][5afb] The result of
eglCreatePbufferSurface is: 0x771fdd9e80
[039:433] [2022-08-07 14:26:21 +0000.861621][5afb] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4
[039:433] [2022-08-07 14:26:21 +0000.861644][5afb] The source 0 speed:1
[039:433] [2022-08-07 14:26:21 +0000.861665][5afb] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4,
delay: 0
[039:433] [2022-08-07 14:26:21 +0000.861686][5afb] CreateDecoderByVideoSource
time:576690712 enter.

[039:433] [2022-08-07 14:26:21 +0000.861803][5afb] running_decoder_count:0max


count:2
[039:433] [2022-08-07 14:26:21 +0000.861825][5afb] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x780860ac00
[039:434] [2022-08-07 14:26:21 +0000.862703][72c7] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x771f4b7c00] Current FFmpeg version git-2021-06-16-
97cea6f

[039:479] [2022-08-07 14:26:21 +0000.907774][72c7] OnStreamInfoFound: video


duration_: 10624
[039:481] [2022-08-07 14:26:21 +0000.909448][72c9] NO get frame from decoder
[039:481] [2022-08-07 14:26:21 +0000.909687][5afb] start decoder
[039:481] [2022-08-07 14:26:21 +0000.909731][5afb] CreateDecoderByVideoSource
leave. expire time = 48 ms

[039:481] [2022-08-07 14:26:21 +0000.909800][5afb] BindInputFilter 0x772013d620


this 0x7720104e98
[039:481] [2022-08-07 14:26:21 +0000.909845][5afb] BindInputFilter 0x7720104e98
this 0x7720105f18
[039:481] [2022-08-07 14:26:21 +0000.909895][5afb] BindInputFilter 0x772013d620
this 0x772015d7d8
[039:481] [2022-08-07 14:26:21 +0000.909939][5afb] BindInputFilter 0x772015d7d8
this 0x772020b2d8
[039:481] [2022-08-07 14:26:21 +0000.909976][5afb] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4
[039:481] [2022-08-07 14:26:21 +0000.909999][5afb] BindInputFilter 0x7720105f18
this 0x772020b398
[039:481] [2022-08-07 14:26:21 +0000.910038][5afb] BindInputFilter 0x772020b398
this 0x771ffcbca0
[039:481] [2022-08-07 14:26:21 +0000.910065][5afb] BindInputFilter 0x772020b2d8
this 0x772020b698
[039:481] [2022-08-07 14:26:21 +0000.910093][5afb] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_576678593.mp4
[039:481] [2022-08-07 14:26:21 +0000.910185][5afb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[039:482] [2022-08-07 14:26:21 +0000.910575][5afb] MediaComposeFile time:576690761
enter.

[039:482] [2022-08-07 14:26:21 +0000.910615][5afb] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[039:482] [2022-08-07 14:26:21 +0000.910741][5afb] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[039:482] [2022-08-07 14:26:21 +0000.910788][5afb] Recording session using default
bitrate support by app:31457280
[039:482] [2022-08-07 14:26:21 +0000.911051][72d9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x76d50764c0
[039:482] [2022-08-07 14:26:21 +0000.911118][72d9] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[039:483] [2022-08-07 14:26:21 +0000.911356][5afb] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[039:483] [2022-08-07 14:26:21 +0000.911483][72c9] NO get frame from decoder
[039:483] [2022-08-07 14:26:21 +0000.911808][5afb] GetPipeline:
-----------------------------------------
[039:483] [2022-08-07 14:26:21 +0000.911886][5afb] GetPipeline: source:
0x772013d400
[039:483] [2022-08-07 14:26:21 +0000.911936][5afb] GetPipeline: filter: NULLFilter
[039:483] [2022-08-07 14:26:21 +0000.911953][5afb] GetPipeline: filter: NULLFilter
[039:483] [2022-08-07 14:26:21 +0000.911967][5afb] GetPipeline: filter: NULLFilter
[039:483] [2022-08-07 14:26:21 +0000.911982][5afb] GetPipeline: audio filter:
AuidoNULLFilter
[039:483] [2022-08-07 14:26:21 +0000.911997][5afb] GetPipeline: audio filter:
AuidoNULLFilter
[039:483] [2022-08-07 14:26:21 +0000.912011][5afb] GetPipeline: audio filter:
AudioNUllFilter
[039:483] [2022-08-07 14:26:21 +0000.912026][5afb] GetPipeline:
------------------------------------------
[039:483] [2022-08-07 14:26:21 +0000.912045][5afb] filter: filter pipeline2 update
pattern: 2
[039:483] [2022-08-07 14:26:21 +0000.912056][72c9] NO get frame from decoder
[039:484] [2022-08-07 14:26:21 +0000.912888][5afb] MediaComposeFile leave. expire
time = 2 ms

[039:485] [2022-08-07 14:26:21 +0000.913329][5afb] machine model :poco


[039:485] [2022-08-07 14:26:21 +0000.913408][5afb] Support this machine model :poco
[039:485] [2022-08-07 14:26:21 +0000.913410][72c9] NO get frame from decoder
[039:485] [2022-08-07 14:26:21 +0000.913490][5afb] global inited! current sdk
version: 07-20-936c45f
[039:492] [2022-08-07 14:26:21 +0000.920823][72c9] NO get frame from decoder
[039:502] [2022-08-07 14:26:21 +0000.930554][72c9] NO get frame from decoder
[039:505] [2022-08-07 14:26:21 +0000.934085][5afb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[039:506] [2022-08-07 14:26:21 +0000.934262][5afb] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 317
[039:506] [2022-08-07 14:26:21 +0000.934402][5afb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[039:506] [2022-08-07 14:26:21 +0000.934499][5afb] BeginCompose: BeginCompose, is
composing 0
[039:506] [2022-08-07 14:26:21 +0000.934676][72d9] start recording, file path:
[039:506] [2022-08-07 14:26:21 +0000.934857][72d9] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 317 audio_timescale:44100
video_timescale:90000
[039:506] [2022-08-07 14:26:21 +0000.934911][72d9] 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
[039:506] [2022-08-07 14:26:21 +0000.934956][72d9] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 317
[039:506] [2022-08-07 14:26:21 +0000.935002][72d9] fd_open successed
handle:0xb4000078b92790b0
[039:506] [2022-08-07 14:26:21 +0000.935169][72d9] create mp4 file:333
m_fileHandle: 0x7713c64d00
[039:506] [2022-08-07 14:26:21 +0000.935207][72d9] MP4 file: is opened successfully
[039:507] [2022-08-07 14:26:21 +0000.935243][72d9] setupMediaProcessers:
[039:507] [2022-08-07 14:26:21 +0000.935274][72d9]
RecordingSessionInternalSimple:setup media processers.
[039:507] [2022-08-07 14:26:21 +0000.935307][72d9] construct AAC encoder
[039:507] [2022-08-07 14:26:21 +0000.935593][72d9] H264Encoder creating:
ultrafast012323
[039:507] [2022-08-07 14:26:21 +0000.935637][72d9] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[039:507] [2022-08-07 14:26:21 +0000.936042][72d9] H264Encode::GetMachineModel is
M2012K11AG
[039:507] [2022-08-07 14:26:21 +0000.936096][72d9] H264Encoder machine_mode
is:M2012K11AG
[039:507] [2022-08-07 14:26:21 +0000.936138][72d9] H264Encode::machine size :9
machine_mode:M2012K11AG
[039:507] [2022-08-07 14:26:21 +0000.936170][72d9] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[039:507] [2022-08-07 14:26:21 +0000.936206][72d9] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[039:508] [2022-08-07 14:26:21 +0000.936231][72d9] setupCompressionSession:
[039:508] [2022-08-07 14:26:21 +0000.936253][72d9] H264Encode::creating hareware
Encoder
[039:508] [2022-08-07 14:26:21 +0000.936320][72d9] AndroidHwAvcEncoder
time:576690787 enter.

[039:508] [2022-08-07 14:26:21 +0000.936511][72d9] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000078b91a9540 address:0x76df8b7760
[039:508] [2022-08-07 14:26:21 +0000.936620][72d9] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[039:508] [2022-08-07 14:26:21 +0000.936651][72d9] The video avc hw codec address
is 0x77139dad48
[039:508] [2022-08-07 14:26:21 +0000.936868][72d9] AndroidHwAvcEncoder leave.
expire time = 0 ms

[039:508] [2022-08-07 14:26:21 +0000.936927][72d9] RegisterEncodeCompleteCallback


time:576690787 enter.

[039:508] [2022-08-07 14:26:21 +0000.937086][72d9] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[039:508] [2022-08-07 14:26:21 +0000.937148][72d9] InitEncode time:576690787


enter.

[039:509] [2022-08-07 14:26:21 +0000.937257][72d9] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[039:509] [2022-08-07 14:26:21 +0000.937305][72d9] Create time:576690788 enter.

[039:509] [2022-08-07 14:26:21 +0000.937357][72d9] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[039:509] [2022-08-07 14:26:21 +0000.937402][72d9]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x771f6d4d40
[039:509] [2022-08-07 14:26:21 +0000.937602][72d9]
supported_type:image/vnd.android.heic
[039:509] [2022-08-07 14:26:21 +0000.937654][72d9] supported_type:video/avc
[039:509] [2022-08-07 14:26:21 +0000.937710][72d9] name:OMX.qcom.video.encoder.avc
mime:video/avc
[039:509] [2022-08-07 14:26:21 +0000.937767][72d9] hwCodecPrefix :OMX.qcom.
[039:509] [2022-08-07 14:26:21 +0000.937813][72d9] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[039:509] [2022-08-07 14:26:21 +0000.937859][72d9] mediacodec_createCodecByName
time:576690788 enter.

[039:509] [2022-08-07 14:26:21 +0000.937886][72d9] WrapAndroidMediaCodec


time:576690788 enter.

[039:509] [2022-08-07 14:26:21 +0000.938013][72d9] WrapAndroidMediaCodec leave.


expire time = 0 ms

[039:510] [2022-08-07 14:26:21 +0000.938437][72df] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x77f85a3a98
[039:512] [2022-08-07 14:26:21 +0000.940694][72c9] NO get frame from decoder
[039:514] [2022-08-07 14:26:21 +0000.942723][72c9] NO get frame from decoder
[039:525] [2022-08-07 14:26:21 +0000.953279][72d9] mediacodec_createCodecByName
leave. expire time = 16 ms
[039:525] [2022-08-07 14:26:21 +0000.953371][72d9] WrapAndroidMediaFromat
time:576690804 enter.

[039:525] [2022-08-07 14:26:21 +0000.953467][72d9] WrapAndroidMediaFromat leave.


expire time = 0 ms

[039:557] [2022-08-07 14:26:21 +0000.985815][72d9] Destroy time:576690836 enter.

[039:557] [2022-08-07 14:26:21 +0000.985874][72d9] WrapAndroidMediaFromat::


Destroy
[039:557] [2022-08-07 14:26:21 +0000.985895][72d9] Destroy leave. expire time = 0
ms

[039:557] [2022-08-07 14:26:21 +0000.985911][72d9] ~WrapAndroidMediaFromat


time:576690836 enter.

[039:557] [2022-08-07 14:26:21 +0000.985928][72d9] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[039:557] [2022-08-07 14:26:21 +0000.985944][72d9] Create leave. expire time = 48


ms

[039:557] [2022-08-07 14:26:21 +0000.985959][72d9] isSemiPlanarSupport


time:576690836 enter.

[039:557] [2022-08-07 14:26:21 +0000.985974][72d9] H264Encoder isSemiPlanarSupport


[039:557] [2022-08-07 14:26:21 +0000.985990][72d9] isSemiPlanarSupport leave.
expire time = 0 ms

[039:557] [2022-08-07 14:26:21 +0000.986046][72d9] creat hw H264Encoder success,


isSemiPlanar:1
[039:557] [2022-08-07 14:26:21 +0000.986127][72d9] InitEncode leave. expire time =
49 ms

[039:557] [2022-08-07 14:26:21 +0000.986156][72d9] H264Encode::created Encoder


[039:557] [2022-08-07 14:26:21 +0000.986187][72d9] H264Encode:: H264 encoder
created.
[039:558] [2022-08-07 14:26:21 +0000.986220][72d9] H264 encoder created.
[039:558] [2022-08-07 14:26:21 +0000.986235][72d9]
RecordingSessionInternalSimple:created avc encoder avc: 0x7713b59e00
[039:558] [2022-08-07 14:26:21 +0000.986291][72d9] setOutput:
[039:558] [2022-08-07 14:26:21 +0000.986317][72d9]
RecordingSessionInternalSimple:encoder set output to muxer!
[039:558] [2022-08-07 14:26:21 +0000.986332][72d9] request a key frame
[039:558] [2022-08-07 14:26:21 +0000.986346][72d9] H264Encode:: request a key frame
[039:585] [2022-08-07 14:26:22 +0000.13414][72d9] setDisplayRotate :90
[039:585] [2022-08-07 14:26:22 +0000.13461][72d9] 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
[039:590] [2022-08-07 14:26:22 +0000.18598][72da]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[039:604] [2022-08-07 14:26:22 +0000.32887][72dd] audio_frame_list_ empty
[039:648] [2022-08-07 14:26:22 +0000.76782][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[039:729] [2022-08-07 14:26:22 +0000.158195][72d9] setDisplayRotate :90
[039:730] [2022-08-07 14:26:22 +0000.158346][72d9] 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
[039:730] [2022-08-07 14:26:22 +0000.158896][72df] add aac audio track with id:1
[039:730] [2022-08-07 14:26:22 +0000.159058][72df] audio start ts:0
[039:730] [2022-08-07 14:26:22 +0000.159124][72df] the audio frame has been written
into MP4 file
[039:743] [2022-08-07 14:26:22 +0000.171830][72da] h264 add frame header cdr flag
[039:744] [2022-08-07 14:26:22 +0000.172620][72da] h264 add frame header cdr flag
[039:744] [2022-08-07 14:26:22 +0000.173162][72da] Received key frame:10
[039:745] [2022-08-07 14:26:22 +0000.174032][72da] H264Encode:: get a sps pps
header!headerSize:32
[039:746] [2022-08-07 14:26:22 +0000.174725][72df] get the H.264 SPS parameter
[039:746] [2022-08-07 14:26:22 +0000.174906][72df] add video track with id:2
[039:748] [2022-08-07 14:26:22 +0000.176549][72df] get the H.264 PPS parameter
[039:749] [2022-08-07 14:26:22 +0000.177339][72df] get the H.264 IDR frame
[039:749] [2022-08-07 14:26:22 +0000.177406][72df] resss:true
[039:749] [2022-08-07 14:26:22 +0000.177423][72df] video start ts:10
[039:749] [2022-08-07 14:26:22 +0000.177511][72df] the video frame has been written
into MP4 file
[039:749] [2022-08-07 14:26:22 +0000.177591][72da] Push an pts:298 to dts queue.
[039:772] [2022-08-07 14:26:22 +0000.200760][72da] DTS queue for
Generator:0x77f85a3cb8 128 164 202 230 264 298 334 364
[039:779] [2022-08-07 14:26:22 +0000.207880][72dc] Error(video_source.cc:430): wait
decoder a frame: 0
[039:792] [2022-08-07 14:26:22 +0000.220367][72da] last dts:264 currentPts:298
ppsOrSPS:0 queue length:5
[039:929] [2022-08-07 14:26:22 +0000.357432][72dd] audio_frame_list_ empty
[039:935] [2022-08-07 14:26:22 +0000.364100][72da] DTS queue for
Generator:0x77f85a3cb8 1001 1030 1068 1099 1138 1166
[040:012] [2022-08-07 14:26:22 +0000.440934][72d9] setDisplayRotate :90
[040:012] [2022-08-07 14:26:22 +0000.441018][72d9] 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
[040:084] [2022-08-07 14:26:22 +0000.512762][72da] Push an pts:1632 to dts queue.
[040:089] [2022-08-07 14:26:22 +0000.517996][72dc] webrtc common_video plane
old ..... (1/1000) new: 17001 delete: 16964 diff: 37
[040:123] [2022-08-07 14:26:22 +0000.551543][72dc] Error(video_source.cc:430): wait
decoder a frame: 13
[040:129] [2022-08-07 14:26:22 +0000.557321][72da] last dts:1600 currentPts:1632
ppsOrSPS:0 queue length:8
[040:152] [2022-08-07 14:26:22 +0000.580732][707d] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[040:152] [2022-08-07 14:26:22 +0000.580883][707d] _deviceSampleRate:48000

[040:157] [2022-08-07 14:26:22 +0000.585597][707c] Run AGC when audioType = 0


[040:157] [2022-08-07 14:26:22 +0000.585679][707c]
AudioDeviceDataHandler::MixAndSendOutFrame
[040:161] [2022-08-07 14:26:22 +0000.589981][72da] DTS queue for
Generator:0x77f85a3cb8 1800 1834 1862 1899 1937 1967 2000 2037
[040:275] [2022-08-07 14:26:22 +0000.704072][72dd] audio_frame_list_ empty
[040:281] [2022-08-07 14:26:22 +0000.710212][72d9] setDisplayRotate :90
[040:282] [2022-08-07 14:26:22 +0000.710282][72d9] 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
[040:290] [2022-08-07 14:26:22 +0000.718219][72da] h264 add frame header cdr flag
[040:290] [2022-08-07 14:26:22 +0000.718552][72da] Received key frame:2000
[040:294] [2022-08-07 14:26:22 +0000.722981][72df] get the H.264 IDR frame
[040:345] [2022-08-07 14:26:22 +0000.773740][72da] SendFrame
encodedImage._timeStamp:2302encodedImage->_length:74400
[040:369] [2022-08-07 14:26:22 +0000.797766][72da] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:2736
[040:369] [2022-08-07 14:26:22 +0000.797992][72da] push video frame to H264
encoder. (100 frame for one log)

[040:369] [2022-08-07 14:26:22 +0000.798079][72da] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[040:369] [2022-08-07 14:26:22 +0000.798118][72da] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:2736(100 frame for one
log)

[040:369] [2022-08-07 14:26:22 +0000.798181][72da] The input pts:2736 fps:30


[040:374] [2022-08-07 14:26:22 +0000.802404][72da] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2466 pts:2466
[040:400] [2022-08-07 14:26:22 +0000.829168][72da] DTS queue for
Generator:0x77f85a3cb8 2600 2633 2664 2699 2736 2768 2796 2831 2867
[040:433] [2022-08-07 14:26:22 +0000.861436][72da] H264Encode::H264SWEncoder get
callback, length:80512 type:1 nalType:1length:80508
[040:433] [2022-08-07 14:26:22 +0000.862076][72da] Push an pts:2965 to dts queue.
[040:470] [2022-08-07 14:26:22 +0000.899170][72da] last dts:2931 currentPts:2965
ppsOrSPS:0 queue length:7
[040:563] [2022-08-07 14:26:22 +0000.991552][72d9] setDisplayRotate :90
[040:563] [2022-08-07 14:26:22 +0000.991620][72d9] 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
[040:580] [2022-08-07 14:26:23 +0000.9052][72dc] Error(video_source.cc:430): wait
decoder a frame: 0
[040:642] [2022-08-07 14:26:23 +0000.70911][72da] DTS queue for
Generator:0x77f85a3cb8 3464 3495 3533 3567 3599 3632 3666
[040:698] [2022-08-07 14:26:23 +0000.126691][72dd] audio_frame_list_ empty
[040:805] [2022-08-07 14:26:23 +0000.233886][72d9] setDisplayRotate :90
[040:805] [2022-08-07 14:26:23 +0000.233956][72d9] 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
[040:806] [2022-08-07 14:26:23 +0000.234864][72da] Push an pts:4296 to dts queue.
[040:808] [2022-08-07 14:26:23 +0000.237159][72da] h264 add frame header cdr flag
[040:809] [2022-08-07 14:26:23 +0000.237506][72da] Received key frame:3996
[040:817] [2022-08-07 14:26:23 +0000.246089][72df] get the H.264 IDR frame
[040:850] [2022-08-07 14:26:23 +0000.278444][72da] DTS queue for
Generator:0x77f85a3cb8 4296 4329 4369 4400 4431 4466
[040:860] [2022-08-07 14:26:23 +0000.288439][72dc] Error(video_source.cc:430): wait
decoder a frame: 0
[040:864] [2022-08-07 14:26:23 +0000.293062][72da] last dts:4264 currentPts:4296
ppsOrSPS:0 queue length:9
[041:014] [2022-08-07 14:26:23 +0000.442918][72da] DTS queue for
Generator:0x77f85a3cb8 5131 5165 5195 5231 5262 5294
[041:066] [2022-08-07 14:26:23 +0000.495195][72da] Push an pts:5629 to dts queue.
[041:111] [2022-08-07 14:26:23 +0000.539941][72d9] setDisplayRotate :90
[041:111] [2022-08-07 14:26:23 +0000.540006][72d9] 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
[041:114] [2022-08-07 14:26:23 +0000.542837][72da] SendFrame
encodedImage._timeStamp:5629encodedImage->_length:62208
[041:114] [2022-08-07 14:26:23 +0000.543020][72da] last dts:5596 currentPts:5629
ppsOrSPS:0 queue length:9
[041:150] [2022-08-07 14:26:23 +0000.578995][72d9] setDisplayRotate :90
[041:150] [2022-08-07 14:26:23 +0000.579061][72d9] 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
[041:160] [2022-08-07 14:26:23 +0000.588420][72da] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:5832 pts:5832
[041:167] [2022-08-07 14:26:23 +0000.595724][72dc] webrtc common_video plane
old ..... (1/1000) new: 18001 delete: 17992 diff: 9
[041:168] [2022-08-07 14:26:23 +0000.596277][72d9] setDisplayRotate :90
[041:168] [2022-08-07 14:26:23 +0000.596320][72d9] 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
[041:171] [2022-08-07 14:26:23 +0000.599416][72da] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6096
[041:171] [2022-08-07 14:26:23 +0000.599502][72da] push video frame to H264
encoder. (100 frame for one log)

[041:171] [2022-08-07 14:26:23 +0000.599539][72da] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[041:171] [2022-08-07 14:26:23 +0000.599558][72da] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6096(100 frame for one
log)

[041:171] [2022-08-07 14:26:23 +0000.599585][72da] The input pts:6096 fps:30


[041:179] [2022-08-07 14:26:23 +0000.607461][72da] DTS queue for
Generator:0x77f85a3cb8 5929 5965 5996 6029 6060 6096 6127 6163
[041:187] [2022-08-07 14:26:23 +0000.615625][72dc] Error(video_source.cc:430): wait
decoder a frame: 6
[041:187] [2022-08-07 14:26:23 +0000.616154][72d9] setDisplayRotate :90
[041:187] [2022-08-07 14:26:23 +0000.616191][72d9] 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
[041:199] [2022-08-07 14:26:23 +0000.627579][72d9] setDisplayRotate :90
[041:199] [2022-08-07 14:26:23 +0000.627631][72d9] 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
[041:207] [2022-08-07 14:26:23 +0000.635391][72da] h264 add frame header cdr flag
[041:208] [2022-08-07 14:26:23 +0000.636252][72da] Received key frame:5996
[041:209] [2022-08-07 14:26:23 +0000.637414][72df] get the H.264 IDR frame
[041:210] [2022-08-07 14:26:23 +0000.639035][72da] H264Encode::H264SWEncoder get
callback, length:44336 type:1 nalType:1length:44332
[041:220] [2022-08-07 14:26:23 +0000.648251][72d9] setDisplayRotate :90
[041:220] [2022-08-07 14:26:23 +0000.648301][72d9] 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
[041:228] [2022-08-07 14:26:23 +0000.657082][72d9] setDisplayRotate :90
[041:228] [2022-08-07 14:26:23 +0000.657131][72d9] 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
[041:246] [2022-08-07 14:26:23 +0000.675185][72d9] setDisplayRotate :90
[041:247] [2022-08-07 14:26:23 +0000.675243][72d9] 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
[041:283] [2022-08-07 14:26:23 +0000.711796][72d9] setDisplayRotate :90
[041:283] [2022-08-07 14:26:23 +0000.711864][72d9] 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
[041:305] [2022-08-07 14:26:23 +0000.733586][72d9] setDisplayRotate :90
[041:305] [2022-08-07 14:26:23 +0000.733680][72d9] 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
[041:316] [2022-08-07 14:26:23 +0000.744945][72d9] setDisplayRotate :90
[041:316] [2022-08-07 14:26:23 +0000.745005][72d9] 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
[041:334] [2022-08-07 14:26:23 +0000.762542][72d9] setDisplayRotate :90
[041:334] [2022-08-07 14:26:23 +0000.762641][72d9] 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
[041:342] [2022-08-07 14:26:23 +0000.770951][72d9] setDisplayRotate :90
[041:342] [2022-08-07 14:26:23 +0000.771029][72d9] 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
[041:371] [2022-08-07 14:26:23 +0000.800103][72d9] setDisplayRotate :90
[041:372] [2022-08-07 14:26:23 +0000.800257][72d9] 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
[041:379] [2022-08-07 14:26:23 +0000.807330][72da] DTS queue for
Generator:0x77f85a3cb8 6796 6829 6862 6898 6929
[041:380] [2022-08-07 14:26:23 +0000.809176][72da] Push an pts:6961 to dts queue.
[041:395] [2022-08-07 14:26:23 +0000.824147][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[041:397] [2022-08-07 14:26:23 +0000.826010][72d9] setDisplayRotate :90
[041:397] [2022-08-07 14:26:23 +0000.826111][72d9] 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
[041:405] [2022-08-07 14:26:23 +0000.833500][72d9] setDisplayRotate :90
[041:405] [2022-08-07 14:26:23 +0000.833633][72d9] 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
[041:412] [2022-08-07 14:26:23 +0000.840543][72d9] setDisplayRotate :90
[041:412] [2022-08-07 14:26:23 +0000.840614][72d9] 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
[041:416] [2022-08-07 14:26:23 +0000.844417][72dc] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[041:438] [2022-08-07 14:26:23 +0000.866836][72d9] setDisplayRotate :90
[041:438] [2022-08-07 14:26:23 +0000.866911][72d9] 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
[041:442] [2022-08-07 14:26:23 +0000.870965][72da] last dts:6929 currentPts:6961
ppsOrSPS:0 queue length:8
[041:445] [2022-08-07 14:26:23 +0000.873292][72d9] setDisplayRotate :90
[041:445] [2022-08-07 14:26:23 +0000.873395][72d9] 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
[041:488] [2022-08-07 14:26:23 +0000.916922][72d9] setDisplayRotate :90
[041:488] [2022-08-07 14:26:23 +0000.917094][72d9] 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
[041:525] [2022-08-07 14:26:23 +0000.953299][72d9] setDisplayRotate :90
[041:525] [2022-08-07 14:26:23 +0000.953426][72d9] 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
[041:536] [2022-08-07 14:26:23 +0000.964684][72dc] Error(video_source.cc:430): wait
decoder a frame: 7
[041:543] [2022-08-07 14:26:23 +0000.971424][72d9] setDisplayRotate :90
[041:543] [2022-08-07 14:26:23 +0000.971537][72d9] 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
[041:566] [2022-08-07 14:26:23 +0000.994497][72d9] setDisplayRotate :90
[041:566] [2022-08-07 14:26:23 +0000.994605][72d9] 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
[041:583] [2022-08-07 14:26:24 +0000.11756][72d9] setDisplayRotate :90
[041:583] [2022-08-07 14:26:24 +0000.11864][72d9] 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
[041:586] [2022-08-07 14:26:24 +0000.14857][72da] DTS queue for
Generator:0x77f85a3cb8 7660 7694 7728
[041:600] [2022-08-07 14:26:24 +0000.28740][72d9] setDisplayRotate :90
[041:600] [2022-08-07 14:26:24 +0000.28791][72d9] 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
[041:602] [2022-08-07 14:26:24 +0000.30991][72dd] audio frame wait video
frame.last_video_timestamp:7760 last_audio_timestamp:7961.5
[041:617] [2022-08-07 14:26:24 +0000.45783][72d9] setDisplayRotate :90
[041:617] [2022-08-07 14:26:24 +0000.45892][72d9] 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
[041:637] [2022-08-07 14:26:24 +0000.65406][72d9] setDisplayRotate :90
[041:637] [2022-08-07 14:26:24 +0000.65540][72d9] 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
[041:667] [2022-08-07 14:26:24 +0000.95653][72d9] setDisplayRotate :90
[041:667] [2022-08-07 14:26:24 +0000.95995][72d9] 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
[041:676] [2022-08-07 14:26:24 +0000.105026][72d9] setDisplayRotate :90
[041:676] [2022-08-07 14:26:24 +0000.105088][72d9] 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
[041:688] [2022-08-07 14:26:24 +0000.116475][72d9] setDisplayRotate :90
[041:688] [2022-08-07 14:26:24 +0000.116603][72d9] 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
[041:692] [2022-08-07 14:26:24 +0000.120413][72da] h264 add frame header cdr flag
[041:692] [2022-08-07 14:26:24 +0000.120647][72da] Received key frame:7996
[041:705] [2022-08-07 14:26:24 +0000.133308][72d9] setDisplayRotate :90
[041:705] [2022-08-07 14:26:24 +0000.133356][72d9] 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
[041:710] [2022-08-07 14:26:24 +0000.138575][72df] get the H.264 IDR frame
[041:721] [2022-08-07 14:26:24 +0000.150039][72d9] setDisplayRotate :90
[041:721] [2022-08-07 14:26:24 +0000.150166][72d9] 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
[041:728] [2022-08-07 14:26:24 +0000.157256][72d9] setDisplayRotate :90
[041:729] [2022-08-07 14:26:24 +0000.157314][72d9] 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
[041:729] [2022-08-07 14:26:24 +0000.157781][72da] Push an pts:8294 to dts queue.
[041:744] [2022-08-07 14:26:24 +0000.172266][72d9] setDisplayRotate :90
[041:744] [2022-08-07 14:26:24 +0000.172419][72d9] 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
[041:757] [2022-08-07 14:26:24 +0000.186008][72da] last dts:8259 currentPts:8294
ppsOrSPS:0 queue length:2
[041:809] [2022-08-07 14:26:24 +0000.237542][72dd] audio_frame_list_ empty
[041:817] [2022-08-07 14:26:24 +0000.246200][72dc] video frame wait audio frame:
last_video_timestamp:8359 last_audio_timestamp:8147.44
[041:867] [2022-08-07 14:26:24 +0000.295587][72d9] setDisplayRotate :90
[041:867] [2022-08-07 14:26:24 +0000.295697][72d9] 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
[041:902] [2022-08-07 14:26:24 +0000.330587][72da] DTS queue for
Generator:0x77f85a3cb8 8459 8494 8526 8557
[041:923] [2022-08-07 14:26:24 +0000.351977][72dc] Error(video_source.cc:430): wait
decoder a frame: 0
[042:020] [2022-08-07 14:26:24 +0000.449087][72da] SendFrame
encodedImage._timeStamp:8961encodedImage->_length:80592
[042:120] [2022-08-07 14:26:24 +0000.548768][72d9] setDisplayRotate :90
[042:120] [2022-08-07 14:26:24 +0000.548863][72d9] 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
[042:126] [2022-08-07 14:26:24 +0000.554973][72da] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:9198 pts:9198
[042:127] [2022-08-07 14:26:24 +0000.555628][72da] DTS queue for
Generator:0x77f85a3cb8 9260 9292 9326 9363 9392 9425
[042:131] [2022-08-07 14:26:24 +0000.559815][72da] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:9459
[042:131] [2022-08-07 14:26:24 +0000.559871][72da] push video frame to H264
encoder. (100 frame for one log)

[042:131] [2022-08-07 14:26:24 +0000.559889][72da] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[042:131] [2022-08-07 14:26:24 +0000.559904][72da] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:9459(100 frame for one
log)

[042:131] [2022-08-07 14:26:24 +0000.559926][72da] The input pts:9459 fps:30


[042:155] [2022-08-07 14:26:24 +0000.583828][707c] Run AGC when audioType = 0
[042:155] [2022-08-07 14:26:24 +0000.584102][72da] Push an pts:9622 to dts queue.
[042:194] [2022-08-07 14:26:24 +0000.622323][72da] H264Encode::H264SWEncoder get
callback, length:84368 type:1 nalType:1length:84364
[042:201] [2022-08-07 14:26:24 +0000.629276][72dc] webrtc common_video plane
old ..... (1/1000) new: 19001 delete: 18936 diff: 65
[042:206] [2022-08-07 14:26:24 +0000.634841][72dc] Error(video_source.cc:430): wait
decoder a frame: 0
[042:206] [2022-08-07 14:26:24 +0000.634884][72c9] av_read_frame AVERROR_EOF
[042:217] [2022-08-07 14:26:24 +0000.645303][72da] last dts:9596 currentPts:9622
ppsOrSPS:0 queue length:9
[042:283] [2022-08-07 14:26:24 +0000.711255][72da] h264 add frame header cdr flag
[042:283] [2022-08-07 14:26:24 +0000.711566][72da] Received key frame:9992
[042:283] [2022-08-07 14:26:24 +0000.711663][72c9] OnReceiveEOF:
[042:283] [2022-08-07 14:26:24 +0000.711695][72c9] OnDecoderEOF time:576693562
enter.

[042:283] [2022-08-07 14:26:24 +0000.711703][72da] DTS queue for


Generator:0x77f85a3cb8 9992 10024 10056 10091 10124 10157 10191 10226 10259 10290
10326
[042:283] [2022-08-07 14:26:24 +0000.711752][72c9] OnDecoderEOF leave. expire time
= 0 ms

[042:283] [2022-08-07 14:26:24 +0000.711770][72c9] OnDecoderFinished:


OnDecoderFinished total decoder frames:319 this:0x772013d400
[042:283] [2022-08-07 14:26:24 +0000.711869][72c6] CleanUp time:576693562 enter.

[042:286] [2022-08-07 14:26:24 +0000.714695][72dd] PullAudioFrame: PullFrame audio


finished.
[042:286] [2022-08-07 14:26:24 +0000.714764][72dd] OnAudioTimer: OnAudioTimer
return
[042:286] [2022-08-07 14:26:24 +0000.714855][72dc] OnVideoTimer: OnVideoTimer
EndComposeFile
[042:286] [2022-08-07 14:26:24 +0000.714936][72dc] EndComposeFile: EndComposeFile,
is composing 1
[042:289] [2022-08-07 14:26:24 +0000.717839][72df] get the H.264 IDR frame
[042:294] [2022-08-07 14:26:24 +0000.722690][72c6] CleanUp leave. expire time = 11
ms

[042:294] [2022-08-07 14:26:24 +0000.722783][72c6] clean up


[042:294] [2022-08-07 14:26:24 +0000.722804][72c6] running_decoder_count:0max
count:2
[042:328] [2022-08-07 14:26:24 +0000.757163][72da]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:319
[042:329] [2022-08-07 14:26:24 +0000.757340][72da]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x771ff63800
[042:332] [2022-08-07 14:26:24 +0000.760609][72db]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[042:332] [2022-08-07 14:26:24 +0000.760671][72db]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[042:332] [2022-08-07 14:26:24 +0000.760902][72d9] stop recording
[042:332] [2022-08-07 14:26:24 +0000.760995][72d9]
RecordingSessionInternalSimple:destroy media processers
[042:332] [2022-08-07 14:26:24 +0000.761051][72d9] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[042:332] [2022-08-07 14:26:24 +0000.761127][72d9] H264Encode::flushing hareware
Encoder
[042:333] [2022-08-07 14:26:24 +0000.761579][72d9] Flush time:576693612 enter.

[042:333] [2022-08-07 14:26:24 +0000.761700][72d9] H264Encoder encoder flush


[042:333] [2022-08-07 14:26:24 +0000.761759][72d9] flush output queue
[042:665] [2022-08-07 14:26:25 +0000.94214][72d9] Flush leave. expire time = 333
ms

[042:666] [2022-08-07 14:26:25 +0000.94623][72d9] ~H264EncodeWrap:


[042:666] [2022-08-07 14:26:25 +0000.94701][72d9] ~H264Encode:
[042:666] [2022-08-07 14:26:25 +0000.94756][72d9] teardownCompressionSession:
H264Encode::destroying Encoder
[042:666] [2022-08-07 14:26:25 +0000.94812][72d9] Release time:576693945 enter.

[042:666] [2022-08-07 14:26:25 +0000.95182][72d9] Release:


MediaCodecVideoEncoder::Release _inited:1
[042:667] [2022-08-07 14:26:25 +0000.95265][72d9] Destroy time:576693946 enter.

[042:667] [2022-08-07 14:26:25 +0000.95323][72d9] H264Encoder encoderDestroy


[042:667] [2022-08-07 14:26:25 +0000.95466][72d9]
AndroidMediaCodecVideoEncoder::release env: 0x7713b5be80
[042:667] [2022-08-07 14:26:25 +0000.95531][72d9]
AndroidMediaCodecVideoEncoder::Destroy
[042:714] [2022-08-07 14:26:25 +0000.142561][72d9] Destroy leave. expire time = 47
ms

[042:714] [2022-08-07 14:26:25 +0000.142881][72d9] Release leave. expire time = 48


ms

[042:714] [2022-08-07 14:26:25 +0000.142957][72d9] ~AndroidHwAvcEncoder


time:576693993 enter.

[042:715] [2022-08-07 14:26:25 +0000.143279][72d9] Release time:576693994 enter.

[042:715] [2022-08-07 14:26:25 +0000.143357][72d9] Release:


MediaCodecVideoEncoder:: has been released before, just return
[042:715] [2022-08-07 14:26:25 +0000.143445][72d9] Release leave. expire time = 0
ms

[042:715] [2022-08-07 14:26:25 +0000.143488][72d9] ~AndroidMediaCodecVideoEncoder


[042:715] [2022-08-07 14:26:25 +0000.143543][72d9] ~WrapAndroidMediaCodec
time:576693994 enter.

[042:715] [2022-08-07 14:26:25 +0000.143583][72d9] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[042:715] [2022-08-07 14:26:25 +0000.143648][72d9] video hevc hw codec


destructor:0x77139dad48

[042:715] [2022-08-07 14:26:25 +0000.143727][72d9] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[042:715] [2022-08-07 14:26:25 +0000.143805][72d9] teardownCompressionSession:


H264Encode::destroyed Encoder
[042:715] [2022-08-07 14:26:25 +0000.143875][72d9]
RecordingSessionInternalSimple:destroy aac encoder output!
[042:715] [2022-08-07 14:26:25 +0000.143916][72d9] AACSWEncode destructor
[042:722] [2022-08-07 14:26:25 +0000.150629][72df] fd_close successed!
[042:731] [2022-08-07 14:26:25 +0000.159433][72df] MP4 close file successfully
[042:731] [2022-08-07 14:26:25 +0000.159522][72df] Recording session Internal:
notify recording ok
[042:731] [2022-08-07 14:26:25 +0000.159551][72df] onRecordingOk: Recording Ok,
compose use time: 3225, averagefps 0
[042:731] [2022-08-07 14:26:25 +0000.159584][72df] OnReceiveEOF:
[042:733] [2022-08-07 14:26:25 +0000.161294][72dc] OnVideoTimer: OnVideoTimer
return
[042:746] [2022-08-07 14:26:25 +0000.174741][5afb]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[042:746] [2022-08-07 14:26:25 +0000.174897][5afb] ~MediaComposeFile time:576694025
enter.

[042:746] [2022-08-07 14:26:25 +0000.174949][5afb] CancelCompose: CancelCompose,


is composing 0
[042:746] [2022-08-07 14:26:25 +0000.175127][72d9] stop recording
[042:747] [2022-08-07 14:26:25 +0000.175233][72d9] we have stopped recording before
[042:747] [2022-08-07 14:26:25 +0000.175854][5afb] ~MediaComposeFile leave. expire
time = 1 ms

[042:747] [2022-08-07 14:26:25 +0000.176001][5afb] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[042:749] [2022-08-07 14:26:25 +0000.178083][5afb] global uninited!
[042:749] [2022-08-07 14:26:25 +0000.178207][5afb]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[042:750] [2022-08-07 14:26:25 +0000.178327][5afb] ~MediaFilterGraph:
MediaFilterGraph destruct
[042:750] [2022-08-07 14:26:25 +0000.178389][5afb] RemoveVideoBackGroud: hava not
add video backgroud
[042:750] [2022-08-07 14:26:25 +0000.178470][5afb] UnbindInputFilter 0x772020b398
this 0x771ffcbca0
[042:750] [2022-08-07 14:26:25 +0000.178535][5afb] ClearAllSource: remove source
filter, sourceid: 0x772013d400
[042:750] [2022-08-07 14:26:25 +0000.178590][5afb] DestoryDecoderByVideoSource
time:576694029 enter.

[042:750] [2022-08-07 14:26:25 +0000.178718][5afb] ~VideoBindDecoder time:576694029


enter.

[042:753] [2022-08-07 14:26:25 +0000.181558][5afb] CleanUp time:576694032 enter.

[042:753] [2022-08-07 14:26:25 +0000.182071][5afb] CleanUp leave. expire time = 0


ms

[042:754] [2022-08-07 14:26:25 +0000.182222][5afb] CleanUp time:576694033 enter.

[042:754] [2022-08-07 14:26:25 +0000.182910][5afb] CleanUp leave. expire time = 0


ms

[042:755] [2022-08-07 14:26:25 +0000.183810][5afb] ~VideoBindDecoder leave. expire


time = 5 ms

[042:755] [2022-08-07 14:26:25 +0000.183874][5afb] DestoryDecoderByVideoSource


leave. expire time = 5 ms

[042:755] [2022-08-07 14:26:25 +0000.183930][5afb] UnbindInputFilter 0x7720105f18


this 0x772020b398
[042:755] [2022-08-07 14:26:25 +0000.183977][5afb] UnbindInputFilter 0x7720104e98
this 0x7720105f18
[042:755] [2022-08-07 14:26:25 +0000.184029][5afb] UnbindInputFilter 0x772013d620
this 0x7720104e98
[042:755] [2022-08-07 14:26:25 +0000.184071][5afb] UnbindInputFilter 0x772020b2d8
this 0x772020b698
[042:755] [2022-08-07 14:26:25 +0000.184115][5afb] UnbindInputFilter 0x772015d7d8
this 0x772020b2d8
[042:756] [2022-08-07 14:26:25 +0000.184961][5afb] UnbindInputFilter 0x772013d620
this 0x772015d7d8
[042:757] [2022-08-07 14:26:25 +0000.186060][5afb] ~GLESContext:
[042:759] [2022-08-07 14:26:25 +0000.187970][5afb] GLESContext destruct finish.
[042:759] [2022-08-07 14:26:25 +0000.188057][5afb] filter: filter pipeline destroy
this: 0x771ffcbc00
[043:140] [2022-08-07 14:26:25 +0000.568252][707c] haveEnoughProcessedData
internalAudioStream.length: 0
[044:154] [2022-08-07 14:26:26 +0000.582952][707c] Run AGC when audioType = 0
[044:154] [2022-08-07 14:26:26 +0000.583123][707c]
AudioDeviceDataHandler::MixAndSendOutFrame
[044:232] [2022-08-07 14:26:26 +0000.661056][5b1d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[044:233] [2022-08-07 14:26:26 +0000.661466][5b1d] ~MediaFilterCamera
time:576695512 enter.

[044:233] [2022-08-07 14:26:26 +0000.661528][5b1d] StopPullFrameAndWriteMp4


time:576695512 enter.

[044:237] [2022-08-07 14:26:26 +0000.665309][7077] stop recording


[044:237] [2022-08-07 14:26:26 +0000.665358][7077] we have stopped recording before
[044:238] [2022-08-07 14:26:26 +0000.666260][5b1d] StopPullFrameAndWriteMp4 leave.
expire time = 5 ms

[044:244] [2022-08-07 14:26:26 +0000.672451][5b1d] DestroyPipelineAndFilters


time:576695523 enter.

[044:244] [2022-08-07 14:26:26 +0000.672556][5b1d] DestroyPipelineAndFilters


leave. expire time = 0 ms

[044:244] [2022-08-07 14:26:26 +0000.672599][5b1d] AppDeviceManagerStopMic

[044:244] [2022-08-07 14:26:26 +0000.672696][5b1d] AppDeviceManagerStopMic::mic


status is on
[044:244] [2022-08-07 14:26:26 +0000.672734][5b1d] Try to stop webrtc device.

[044:244] [2022-08-07 14:26:26 +0000.672772][5b1d] Set record state to


stopped.threadID:23325

[044:300] [2022-08-07 14:26:26 +0000.728688][5b1d] Try to destory the


recorder.threadID:23325

[044:533] [2022-08-07 14:26:26 +0000.961991][5b1d] DestroyAudioRecorder:


[044:535] [2022-08-07 14:26:26 +0000.963422][5b1d] Cleanup the buffer queue in the
recorder.
[044:535] [2022-08-07 14:26:26 +0000.963534][5b1d] Destroy the recorder.

[044:538] [2022-08-07 14:26:26 +0000.966785][5b1d] StopRecording finished.

[044:538] [2022-08-07 14:26:26 +0000.967025][5b1d] The stop recording success.

[044:538] [2022-08-07 14:26:26 +0000.967295][5b1d]


AudioDeviceDataHandler::StopMicProcess

[044:540] [2022-08-07 14:26:26 +0000.969164][5b1d] AppDeviceManager stop.

[044:541] [2022-08-07 14:26:26 +0000.969483][5b1d] Rlease the webrtc device object.

[044:541] [2022-08-07 14:26:26 +0000.969979][5b1d] OpenSlesInput destruct.

[044:541] [2022-08-07 14:26:26 +0000.970178][5b1d] OpenSlesOutput destruct.

[044:542] [2022-08-07 14:26:26 +0000.970654][5b1d] EventDispatchServerScope


destruct
[044:542] [2022-08-07 14:26:26 +0000.970717][5b1d]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[044:542] [2022-08-07 14:26:26 +0000.[000:025] [2022-08-08 17:53:18 +0000.686920]
[12ba] Log to file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start
time:2022-08-08 17:53:18 +0000
[000:025] [2022-08-08 17:53:18 +0000.686947][12ba] set AppID=50011 old AppID=-1
[000:025] [2022-08-08 17:53:18 +0000.686958][12ba] Init the android object with
jvm:0xb4000078b91a9540 env:0x780862e980 context:0x77887fa588

[000:025] [2022-08-08 17:53:18 +0000.686985][12ba] SetAndroidMediaCodecObjects


time:669316034 enter.

[000:025] [2022-08-08 17:53:18 +0000.686997][12ba] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:025] [2022-08-08 17:53:18 +0000.687016][12ba] SetAndroidMediaCodecObjects


time:669316034 enter.
[000:025] [2022-08-08 17:53:18 +0000.687027][12ba] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects:: jvm :0xb4000078b91a9540
[000:025] [2022-08-08 17:53:18 +0000.687048][12ba] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000078b91a9540 address:0x76f8aae760
[000:025] [2022-08-08 17:53:18 +0000.687061][12ba] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000078b91a9540
address:0x76f8aae760
[000:025] [2022-08-08 17:53:18 +0000.687080][12ba] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:025] [2022-08-08 17:53:18 +0000.687103][12ba] Set the android objects with


jvm:0xb4000078b91a9540 env:0x780862e980 context:0x77887fa588

[000:026] [2022-08-08 17:53:18 +0000.688257][12ba] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x780862e980
[000:026] [2022-08-08 17:53:18 +0000.688278][12ba] SystemUtil Init done
[000:027] [2022-08-08 17:53:18 +0000.689391][12ba]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:028] [2022-08-08 17:53:18 +0000.690146][12ba] MediaFilterCamera
[000:028] [2022-08-08 17:53:18 +0000.690178][12ba] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:028] [2022-08-08 17:53:18 +0000.690265][12ba] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:028] [2022-08-08 17:53:18 +0000.690287][12ba] Recording session using default
bitrate support by app:31457280
[000:028] [2022-08-08 17:53:18 +0000.690299][2e0c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7722ae6c40
[000:029] [2022-08-08 17:53:18 +0000.690486][2e0c] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:029] [2022-08-08 17:53:18 +0000.690537][12ba] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:029] [2022-08-08 17:53:18 +0000.690834][12ba] Error(ini.cc:191): Open the file
failed. error:2
[000:029] [2022-08-08 17:53:18 +0000.690854][12ba]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:029] [2022-08-08 17:53:18 +0000.690875][12ba] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:030] [2022-08-08 17:53:18 +0000.692155][12ba] Error(ini.cc:191): Open the file
failed. error:2
[000:030] [2022-08-08 17:53:18 +0000.692182][12ba]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:030] [2022-08-08 17:53:18 +0000.692200][12ba] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:030] [2022-08-08 17:53:18 +0000.692220][12ba] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:030] [2022-08-08 17:53:18 +0000.692231][12ba] Using Default AEC type: software
AEC
[000:031] [2022-08-08 17:53:18 +0000.692894][12ba] The device model: m2012k11ag
enum value: 0
[000:031] [2022-08-08 17:53:18 +0000.693108][12ba] GetMachineModel is M2012K11AG
[000:031] [2022-08-08 17:53:18 +0000.693128][12ba] GetMachineInfo: M2012K11AG
[000:031] [2022-08-08 17:53:18 +0000.693151][12ba] Construct BeautifyReader
begin...
[000:031] [2022-08-08 17:53:18 +0000.693165][12ba] dumpStickerRgba:0
dumpStickerYuv:0
[000:031] [2022-08-08 17:53:18 +0000.693174][12ba] Construct BeautifyReader done.
[000:033] [2022-08-08 17:53:18 +0000.695370][12ba] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:033] [2022-08-08 17:53:18 +0000.695403][2e0f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x770e55fca0
[000:034] [2022-08-08 17:53:18 +0000.695662][12ba] AppDeviceManager telnet server
for statistics started......
[000:034] [2022-08-08 17:53:18 +0000.696036][12ba] CpuOverloadDetect time:669316043
enter.

[000:034] [2022-08-08 17:53:18 +0000.696099][12ba] CpuOverloadDetect leave. expire


time = 0 ms

[000:034] [2022-08-08 17:53:18 +0000.696113][2e10] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x773b85e180
[000:034] [2022-08-08 17:53:18 +0000.696370][12ba] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:034] [2022-08-08 17:53:18 +0000.696386][12ba] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:035] [2022-08-08 17:53:18 +0000.696568][12ba] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:035] [2022-08-08 17:53:18 +0000.696767][12ba] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:035] [2022-08-08 17:53:18 +0000.696958][12ba] CreatePlatformSpecificObjects:
[000:035] [2022-08-08 17:53:18 +0000.696983][12ba] audio device use opensle input
and opensl output
[000:035] [2022-08-08 17:53:18 +0000.697033][12ba] Create OpenSLES output module
with java VM support.

[000:035] [2022-08-08 17:53:18 +0000.697090][12ba] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:035] [2022-08-08 17:53:18 +0000.697164][12ba] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:035] [2022-08-08 17:53:18 +0000.697251][12ba] Create OpenSLES output module
with buffer num:1

[000:035] [2022-08-08 17:53:18 +0000.697337][12ba] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:035] [2022-08-08 17:53:18 +0000.697413][12ba] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:036] [2022-08-08 17:53:18 +0000.697496][12ba] Create OpenSLES input module
with java VM support.

[000:036] [2022-08-08 17:53:18 +0000.697521][12ba] Create OpenSLES input module


with buffer num:1

[000:036] [2022-08-08 17:53:18 +0000.697576][12ba] Error(trace.cc:40): Init the


output and input for audio device template.
[000:036] [2022-08-08 17:53:18 +0000.697594][12ba] Init the output device.

[000:036] [2022-08-08 17:53:18 +0000.697605][12ba] Init the opensl input.


[000:036] [2022-08-08 17:53:18 +0000.697631][12ba] AppDeviceManager get setting
samplerate: 0
[000:036] [2022-08-08 17:53:18 +0000.697785][12ba] The device model: m2012k11ag
enum value: 0
[000:036] [2022-08-08 17:53:18 +0000.698050][12ba] The device model: m2012k11ag
enum value: 0
[000:036] [2022-08-08 17:53:18 +0000.698072][12ba] Set the sample rate to be:48000

[000:036] [2022-08-08 17:53:18 +0000.698084][12ba] Enable the recording stereo:0


[000:036] [2022-08-08 17:53:18 +0000.698095][12ba] Set the playout as stereo:1
[000:036] [2022-08-08 17:53:18 +0000.698123][12ba] Init the microphone.
[000:038] [2022-08-08 17:53:18 +0000.699605][12ba] Update the recording sample rate
to be: 48000
[000:038] [2022-08-08 17:53:18 +0000.699648][12ba] Init the speaker.
[000:038] [2022-08-08 17:53:18 +0000.699668][12ba] Low latency buffer size:144 low
sample rate:48000
[000:038] [2022-08-08 17:53:18 +0000.699856][12ba] Using 1 x 10ms for an audio
frame.

[000:040] [2022-08-08 17:53:18 +0000.702406][12ba] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:041] [2022-08-08 17:53:18 +0000.702487][12ba] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:041] [2022-08-08 17:53:18 +0000.702526][12ba] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:044] [2022-08-08 17:53:18 +0000.706103][12ba] The device model:m2012k11ag

[000:044] [2022-08-08 17:53:18 +0000.706157][12ba] speaker output factor:100


defaultFactor: 100

[000:044] [2022-08-08 17:53:18 +0000.706168][12ba] headset output factor:100


defaultFactor: 100

[000:044] [2022-08-08 17:53:18 +0000.706390][12ba] AppDeviceManagerStart finished.


[000:044] [2022-08-08 17:53:18 +0000.706409][12ba] AppDeviceManagerStartMic::mic
status is off
[000:044] [2022-08-08 17:53:18 +0000.706449][12ba] AppDeviceManagerStartMic update
aec type: 2

[000:044] [2022-08-08 17:53:18 +0000.706462][12ba] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:045] [2022-08-08 17:53:18 +0000.706474][12ba]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:045] [2022-08-08 17:53:18 +0000.706496][12ba]
AudioDeviceDataHandler::StartMicProcess

[000:045] [2022-08-08 17:53:18 +0000.706580][12ba] Try to start webrtc recording


device.

[000:045] [2022-08-08 17:53:18 +0000.706597][12ba] StartRecording. threadID:4794

[000:045] [2022-08-08 17:53:18 +0000.706609][2e12] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:045] [2022-08-08 17:53:18 +0000.706678][2e12] haveEnoughProcessedData
internalAudioStream.length: 0
[000:045] [2022-08-08 17:53:18 +0000.706776][12ba] The machine model:M2012K11AG

[000:045] [2022-08-08 17:53:18 +0000.706804][12ba] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:045] [2022-08-08 17:53:18 +0000.706819][12ba] Set the recording mode before


getSetting: 4
[000:045] [2022-08-08 17:53:18 +0000.706835][12ba] Set the recording mode after
getSetting: 1
[000:074] [2022-08-08 17:53:18 +0000.736402][12ba] StartRecording finished.

[000:074] [2022-08-08 17:53:18 +0000.736443][12ba] audio: start the audio mic


checker timer.
[000:075] [2022-08-08 17:53:18 +0000.736867][12ba] machine model :poco
[000:075] [2022-08-08 17:53:18 +0000.736898][12ba] Support this machine model :poco
[000:078] [2022-08-08 17:53:18 +0000.739532][12ba] global inited! current sdk
version: 07-20-936c45f
[000:152] [2022-08-08 17:53:18 +0000.814237][2e13] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:152] [2022-08-08 17:53:18 +0000.814384][2e13] _deviceSampleRate:48000

[000:153] [2022-08-08 17:53:18 +0000.814675][2e12] Run AGC when audioType = 0


[000:153] [2022-08-08 17:53:18 +0000.814744][2e12]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:287] [2022-08-08 17:53:18 +0000.949121][2ae0]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:287] [2022-08-08 17:53:18 +0000.949217][2e0d] MediaFilterCamera, recording
file context:0x77f88eaf80 input texture:9
[000:287] [2022-08-08 17:53:18 +0000.949267][2e0d] GLESContext:
[000:287] [2022-08-08 17:53:18 +0000.949309][2e0d] The result of eglGetDisplay is:
0xb40000780862bf00
[000:288] [2022-08-08 17:53:18 +0000.949878][2e0d] The result of creation:
0x7724f5e500
[000:288] [2022-08-08 17:53:18 +0000.949942][2e0d] The result of
eglCreatePbufferSurface is: 0x7724f5e600
[000:288] [2022-08-08 17:53:18 +0000.950014][2ae0]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x77f88eaf80 input_texture: 9
[000:321] [2022-08-08 17:53:18 +0000.982521][12ba]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:321] [2022-08-08 17:53:18 +0000.982589][12ba] ~MediaFilterCamera
time:669316330 enter.

[000:321] [2022-08-08 17:53:18 +0000.982603][12ba] StopPullFrameAndWriteMp4


time:669316330 enter.

[000:322] [2022-08-08 17:53:18 +0000.983991][2e0c] stop recording


[000:322] [2022-08-08 17:53:18 +0000.984036][2e0c] we have stopped recording before
[000:322] [2022-08-08 17:53:18 +0000.984134][12ba] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[000:324] [2022-08-08 17:53:18 +0000.985900][12ba] DestroyPipelineAndFilters


time:669316333 enter.

[000:324] [2022-08-08 17:53:18 +0000.985930][12ba] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:324] [2022-08-08 17:53:18 +0000.985971][12ba] AppDeviceManagerStopMic

[000:324] [2022-08-08 17:53:18 +0000.986030][12ba] AppDeviceManagerStopMic::mic


status is on
[000:324] [2022-08-08 17:53:18 +0000.986041][12ba] Try to stop webrtc device.

[00[000:055] [2022-08-21 16:09:31 +0000.501040][7160] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-08-
21 16:09:31 +0000
[000:055] [2022-08-21 16:09:31 +0000.501171][7160] set AppID=50011 old AppID=-1
[000:055] [2022-08-21 16:09:31 +0000.501200][7160] Init the android object with
jvm:0xb4000073d15b0540 env:0x7326e8a980 context:0x72a8618588
[000:055] [2022-08-21 16:09:31 +0000.501239][7160] SetAndroidMediaCodecObjects
time:54376013 enter.

[000:055] [2022-08-21 16:09:31 +0000.501277][7160] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:055] [2022-08-21 16:09:31 +0000.501310][7160] SetAndroidMediaCodecObjects


time:54376013 enter.

[000:055] [2022-08-21 16:09:31 +0000.501358][7160] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000073d15b0540
[000:056] [2022-08-21 16:09:31 +0000.501397][7160] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000073d15b0540 address:0x71f9937760
[000:056] [2022-08-21 16:09:31 +0000.501443][7160] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000073d15b0540
address:0x71f9937760
[000:056] [2022-08-21 16:09:31 +0000.501478][7160] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[000:056] [2022-08-21 16:09:31 +0000.501528][7160] Set the android objects with


jvm:0xb4000073d15b0540 env:0x7326e8a980 context:0x72a8618588

[000:058] [2022-08-21 16:09:31 +0000.503720][7160] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7326e8a980
[000:058] [2022-08-21 16:09:31 +0000.503776][7160] SystemUtil Init done
[000:061] [2022-08-21 16:09:31 +0000.506982][7160]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:064] [2022-08-21 16:09:31 +0000.510021][7160] MediaFilterCamera
[000:064] [2022-08-21 16:09:31 +0000.510098][7160] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:064] [2022-08-21 16:09:31 +0000.510246][7160] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:064] [2022-08-21 16:09:31 +0000.510294][7160] Recording session using default
bitrate support by app:31457280
[000:064] [2022-08-21 16:09:31 +0000.510294][3b04] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7248c03b40
[000:065] [2022-08-21 16:09:31 +0000.510637][3b04] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:065] [2022-08-21 16:09:31 +0000.510729][7160] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:065] [2022-08-21 16:09:31 +0000.511379][7160] Error(ini.cc:191): Open the file
failed. error:2
[000:066] [2022-08-21 16:09:31 +0000.511441][7160]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:066] [2022-08-21 16:09:31 +0000.511490][7160] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:069] [2022-08-21 16:09:31 +0000.514573][7160] Error(ini.cc:191): Open the file
failed. error:2
[000:069] [2022-08-21 16:09:31 +0000.514629][7160]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:069] [2022-08-21 16:09:31 +0000.514676][7160] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:069] [2022-08-21 16:09:31 +0000.514713][7160] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:069] [2022-08-21 16:09:31 +0000.514748][7160] Using Default AEC type: software
AEC
[000:070] [2022-08-21 16:09:31 +0000.516139][7160] The device model: m2012k11ag
enum value: 0
[000:071] [2022-08-21 16:09:31 +0000.516600][7160] GetMachineModel is M2012K11AG
[000:071] [2022-08-21 16:09:31 +0000.516646][7160] GetMachineInfo: M2012K11AG
[000:071] [2022-08-21 16:09:31 +0000.516687][7160] Construct BeautifyReader
begin...
[000:071] [2022-08-21 16:09:31 +0000.516722][7160] dumpStickerRgba:0
dumpStickerYuv:0
[000:071] [2022-08-21 16:09:31 +0000.516760][7160] Construct BeautifyReader done.
[000:075] [2022-08-21 16:09:31 +0000.521264][7160] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:075] [2022-08-21 16:09:31 +0000.521306][3b08] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7248cc7da0
[000:076] [2022-08-21 16:09:31 +0000.521584][7160] AppDeviceManager telnet server
for statistics started......
[000:076] [2022-08-21 16:09:31 +0000.522198][7160] CpuOverloadDetect time:54376034
enter.

[000:076] [2022-08-21 16:09:31 +0000.522341][7160] CpuOverloadDetect leave. expire


time = 0 ms

[000:076] [2022-08-21 16:09:31 +0000.522374][3b09] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7316a85900
[000:077] [2022-08-21 16:09:31 +0000.522950][7160] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:077] [2022-08-21 16:09:31 +0000.522990][7160] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:077] [2022-08-21 16:09:31 +0000.523319][7160] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:078] [2022-08-21 16:09:31 +0000.523652][7160] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:078] [2022-08-21 16:09:31 +0000.524184][7160] CreatePlatformSpecificObjects:
[000:078] [2022-08-21 16:09:31 +0000.524235][7160] audio device use opensle input
and opensl output
[000:078] [2022-08-21 16:09:31 +0000.524298][7160] Create OpenSLES output module
with java VM support.

[000:079] [2022-08-21 16:09:31 +0000.524465][7160] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:079] [2022-08-21 16:09:31 +0000.524663][7160] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:079] [2022-08-21 16:09:31 +0000.524906][7160] Create OpenSLES output module
with buffer num:1

[000:079] [2022-08-21 16:09:31 +0000.525094][7160] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:079] [2022-08-21 16:09:31 +0000.525272][7160] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:080] [2022-08-21 16:09:31 +0000.525463][7160] Create OpenSLES input module
with java VM support.

[000:080] [2022-08-21 16:09:31 +0000.525517][7160] Create OpenSLES input module


with buffer num:1

[000:080] [2022-08-21 16:09:31 +0000.525587][7160] Error(trace.cc:40): Init the


output and input for audio device template.
[000:080] [2022-08-21 16:09:31 +0000.525622][7160] Init the output device.

[000:080] [2022-08-21 16:09:31 +0000.525664][7160] Init the opensl input.


[000:080] [2022-08-21 16:09:31 +0000.525703][7160] AppDeviceManager get setting
samplerate: 0
[000:080] [2022-08-21 16:09:31 +0000.526075][7160] The device model: m2012k11ag
enum value: 0
[000:081] [2022-08-21 16:09:31 +0000.526626][7160] The device model: m2012k11ag
enum value: 0
[000:081] [2022-08-21 16:09:31 +0000.526659][7160] Set the sample rate to be:48000

[000:081] [2022-08-21 16:09:31 +0000.526699][7160] Enable the recording stereo:0


[000:081] [2022-08-21 16:09:31 +0000.526737][7160] Set the playout as stereo:1
[000:081] [2022-08-21 16:09:31 +0000.526772][7160] Init the microphone.
[000:082] [2022-08-21 16:09:31 +0000.528018][7160] Update the recording sample rate
to be: 48000
[000:082] [2022-08-21 16:09:31 +0000.528070][7160] Init the speaker.
[000:082] [2022-08-21 16:09:31 +0000.528133][7160] Low latency buffer size:144 low
sample rate:48000
[000:083] [2022-08-21 16:09:31 +0000.528409][7160] Using 1 x 10ms for an audio
frame.

[000:087] [2022-08-21 16:09:31 +0000.532842][7160] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:087] [2022-08-21 16:09:31 +0000.532963][7160] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:087] [2022-08-21 16:09:31 +0000.533020][7160] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:093] [2022-08-21 16:09:31 +0000.538968][7160] The device model:m2012k11ag

[000:093] [2022-08-21 16:09:31 +0000.539043][7160] speaker output factor:100


defaultFactor: 100

[000:093] [2022-08-21 16:09:31 +0000.539101][7160] headset output factor:100


defaultFactor: 100

[000:094] [2022-08-21 16:09:31 +0000.539645][7160] AppDeviceManagerStart finished.


[000:094] [2022-08-21 16:09:31 +0000.539687][7160] AppDeviceManagerStartMic::mic
status is off
[000:094] [2022-08-21 16:09:31 +0000.539794][7160] AppDeviceManagerStartMic update
aec type: 2

[000:094] [2022-08-21 16:09:31 +0000.539828][7160] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:094] [2022-08-21 16:09:31 +0000.539875][7160]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:094] [2022-08-21 16:09:31 +0000.539912][7160]
AudioDeviceDataHandler::StartMicProcess

[000:094] [2022-08-21 16:09:31 +0000.540045][7160] Try to start webrtc recording


device.

[000:094] [2022-08-21 16:09:31 +0000.540082][7160] StartRecording. threadID:29024

[000:094] [2022-08-21 16:09:31 +0000.540090][3b0a] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:095] [2022-08-21 16:09:31 +0000.540448][7160] The machine model:M2012K11AG

[000:095] [2022-08-21 16:09:31 +0000.540548][3b0a] haveEnoughProcessedData


internalAudioStream.length: 0
[000:095] [2022-08-21 16:09:31 +0000.540606][7160] default mode: Set the recording
mode to voice communication to enable HW AEC .
[000:095] [2022-08-21 16:09:31 +0000.540655][7160] Set the recording mode before
getSetting: 4
[000:095] [2022-08-21 16:09:31 +0000.540695][7160] Set the recording mode after
getSetting: 1
[000:134] [2022-08-21 16:09:31 +0000.579802][7160] StartRecording finished.

[000:134] [2022-08-21 16:09:31 +0000.579880][7160] audio: start the audio mic


checker timer.

[000:135] [2022-08-21 16:09:31 +0000.580435][7160] machine model :poco


[000:135] [2022-08-21 16:09:31 +0000.580476][7160] Support this machine model :poco
[000:148] [2022-08-21 16:09:31 +0000.594034][7160] global inited! current sdk
version: 07-20-936c45f
[000:216] [2022-08-21 16:09:31 +0000.662325][3b0b] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:217] [2022-08-21 16:09:31 +0000.662474][3b0b] _deviceSampleRate:48000

[000:218] [2022-08-21 16:09:31 +0000.663452][3b0a] Run AGC when audioType = 0


[000:218] [2022-08-21 16:09:31 +0000.663537][3b0a]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:376] [2022-08-21 16:09:31 +0000.821874][373a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:376] [2022-08-21 16:09:31 +0000.822052][3b05] MediaFilterCamera, recording
file context:0x725bac0000 input texture:9
[000:376] [2022-08-21 16:09:31 +0000.822096][3b05] GLESContext:
[000:376] [2022-08-21 16:09:31 +0000.822147][3b05] The result of eglGetDisplay is:
0xb400007326e87f00
[000:377] [2022-08-21 16:09:31 +0000.822841][3b05] The result of creation:
0x7248bfae80
[000:377] [2022-08-21 16:09:31 +0000.822895][3b05] The result of
eglCreatePbufferSurface is: 0x7248bfaf80
[000:377] [2022-08-21 16:09:31 +0000.822956][373a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x725bac0000 input_texture: 9
[001:838] [2022-08-21 16:09:33 +0000.283830][3b0a] haveEnoughProcessedData
internalAudioStream.length: 10
[002:220] [2022-08-21 16:09:33 +0000.665755][3b0a] Run AGC when audioType = 0
[003:556] [2022-08-21 16:09:35 +0000.1866][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[003:904] [2022-08-21 16:09:35 +0000.350391][7133] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[003:905] [2022-08-21 16:09:35 +0000.350462][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[003:906] [2022-08-21 16:09:35 +0000.352057][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[003:906] [2022-08-21 16:09:35 +0000.352335][3b05] operator() time:54379864 enter.

[003:907] [2022-08-21 16:09:35 +0000.352412][3b05] MediaFilterCamera, recording


file context:0x725bac0000 input texture:9
[003:909] [2022-08-21 16:09:35 +0000.355252][3b05] MicSource: Mic source
created:10x722498d300
[003:910] [2022-08-21 16:09:35 +0000.356053][3b05] received external audio stream

[003:910] [2022-08-21 16:09:35 +0000.356160][3b05] alloc thread: 0x7222d9c300


name:worker1 thread id:489278127280 to Mic_source
[003:910] [2022-08-21 16:09:35 +0000.356200][3b05] audio: start the audio sender
thread.

[003:910] [2022-08-21 16:09:35 +0000.356307][3b05] construct OpenGLRenderProgram


0x7224cd1b98
[003:910] [2022-08-21 16:09:35 +0000.356335][3b05] CropFilter::SetOrientation
orientation: 90
[003:911] [2022-08-21 16:09:35 +0000.356493][3b05] filter: filter pipeline
construtc this: 0x73d173fb00
[003:911] [2022-08-21 16:09:35 +0000.356524][3b05] filter: filter pipeline2 update
pattern: 1
[003:911] [2022-08-21 16:09:35 +0000.356622][3b05] CameraSource::source_id_:1
[003:911] [2022-08-21 16:09:35 +0000.356651][3b05] RecordAudioSource::source_id_:2
[003:911] [2022-08-21 16:09:35 +0000.356847][3b05] BindInputFilter 0x7222d9e0c0
this 0x7224cd1dc0
[003:911] [2022-08-21 16:09:35 +0000.356888][3b05] BindInputFilter 0x7222d9e558
this 0x7222d9e6d0
[003:911] [2022-08-21 16:09:35 +0000.356920][3b05] BindInputFilter 0x7224cd1dc0
this 0x73d173fba0
[003:911] [2022-08-21 16:09:35 +0000.356963][3b05] setParamentForFilters:
speed:1.000000
[003:911] [2022-08-21 16:09:35 +0000.356986][3b05] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[003:911] [2022-08-21 16:09:35 +0000.357013][3b05] SetParamForFilter time:54379869
enter.

[003:911] [2022-08-21 16:09:35 +0000.357035][3b05] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[003:911] [2022-08-21 16:09:35 +0000.357062][3b05] SetParamForFilter: Params video
index is: 0
[003:911] [2022-08-21 16:09:35 +0000.357084][3b05] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[003:911] [2022-08-21 16:09:35 +0000.357105][3b05] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[003:911] [2022-08-21 16:09:35 +0000.357127][3b05] crop filter mode tpye:
citytravelvideo index:0
[003:915] [2022-08-21 16:09:35 +0000.360891][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:915] [2022-08-21 16:09:35 +0000.360960][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:915] [2022-08-21 16:09:35 +0000.360990][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:915] [2022-08-21 16:09:35 +0000.361025][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:915] [2022-08-21 16:09:35 +0000.361059][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:915] [2022-08-21 16:09:35 +0000.361093][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:915] [2022-08-21 16:09:35 +0000.361125][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:915] [2022-08-21 16:09:35 +0000.361159][3b05]
Warning(parse_template_json.cc:81): json parament no found the parament
[003:915] [2022-08-21 16:09:35 +0000.361194][3b05]
Warning(parse_template_json.cc:81): json parament no found the parament
[003:915] [2022-08-21 16:09:35 +0000.361226][3b05]
Warning(parse_template_json.cc:67): json parament no found the parament
[003:915] [2022-08-21 16:09:35 +0000.361259][3b05]
Warning(parse_template_json.cc:93): json parament no found the duration
[003:915] [2022-08-21 16:09:35 +0000.361297][3b05] SetParamForFilter leave. expire
time = 4 ms

[003:916] [2022-08-21 16:09:35 +0000.361492][3b05] OnOutputSizeChanged width 1920


height 1080
[003:916] [2022-08-21 16:09:35 +0000.361539][3b05] OpenGLFrameBuffer: width:1920
height:1080
[003:916] [2022-08-21 16:09:35 +0000.361578][3b05] OpenGLFrameBuffer: width:1920
height:1080
[003:916] [2022-08-21 16:09:35 +0000.361612][3b05] OpenGLFrameBuffer: width:1920
height:1080
[003:916] [2022-08-21 16:09:35 +0000.361647][3b05] OpenGLFrameBuffer: width:1920
height:1080
[003:916] [2022-08-21 16:09:35 +0000.361681][3b05] OpenGLFrameBuffer: width:1920
height:1080
[003:916] [2022-08-21 16:09:35 +0000.361715][3b05] OpenGLFrameBuffer: width:1920
height:1080
[003:916] [2022-08-21 16:09:35 +0000.361792][3b05] construct TrivalImageDrawer
0x7248ede600
[003:916] [2022-08-21 16:09:35 +0000.361831][3b05] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7248ede600 context 0x730d372b40
[003:916] [2022-08-21 16:09:35 +0000.361869][3b05] setupGLES:
[003:916] [2022-08-21 16:09:35 +0000.362290][3b05] OpenGLRenderProgram::Initialize.
[003:916] [2022-08-21 16:09:35 +0000.362353][3b05] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[003:916] [2022-08-21 16:09:35 +0000.362390][3b05] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[003:917] [2022-08-21 16:09:35 +0000.362444][3b05] Init open gl render:
0x7224cd1b98
[003:917] [2022-08-21 16:09:35 +0000.362487][3b05] Fragement shader path:
[003:917] [2022-08-21 16:09:35 +0000.362526][3b05] Fragement shader path:
[003:917] [2022-08-21 16:09:35 +0000.362550][3b05] create opengl program object.
[003:917] [2022-08-21 16:09:35 +0000.362574][3b05] create shader: vertex
[003:917] [2022-08-21 16:09:35 +0000.362847][3b05] create shader: fragment
[003:919] [2022-08-21 16:09:35 +0000.365141][3b05] Have not extra filter filename!
[003:919] [2022-08-21 16:09:35 +0000.365199][3b05] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[003:919] [2022-08-21 16:09:35 +0000.365242][3b05] OpenGLRenderProgram::Initialize
success.
[003:919] [2022-08-21 16:09:35 +0000.365322][3b05] Setup the OpenGL result:1
[003:920] [2022-08-21 16:09:35 +0000.365672][3b04] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_54379877.mp4
[003:920] [2022-08-21 16:09:35 +0000.365829][3b04] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_54379877.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[003:920] [2022-08-21 16:09:35 +0000.365855][3b53] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7316acba98
[003:920] [2022-08-21 16:09:35 +0000.365914][3b04] 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
[003:920] [2022-08-21 16:09:35 +0000.365965][3b04] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_54379877.mp4
fileFD: -1
[003:920] [2022-08-21 16:09:35 +0000.366345][3b04] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_54379877.mp4
is opened successfully
[003:920] [2022-08-21 16:09:35 +0000.366383][3b04] setupMediaProcessers:
[003:921] [2022-08-21 16:09:35 +0000.366414][3b04]
RecordingSessionInternalSimple:setup media processers.
[003:921] [2022-08-21 16:09:35 +0000.366451][3b04] construct AAC encoder
[003:921] [2022-08-21 16:09:35 +0000.366912][3b0a] On audio frame the broadcast
with timestamp:54379879 samples:480. (1000 frame for one log)

[003:922] [2022-08-21 16:09:35 +0000.367970][3b04] H264Encoder creating:


superfast011818
[003:922] [2022-08-21 16:09:35 +0000.368025][3b04] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[003:923] [2022-08-21 16:09:35 +0000.368622][3b04] H264Encode::GetMachineModel is
M2012K11AG
[003:923] [2022-08-21 16:09:35 +0000.368669][3b04] H264Encoder machine_mode
is:M2012K11AG
[003:923] [2022-08-21 16:09:35 +0000.368702][3b04] H264Encode::machine size :9
machine_mode:M2012K11AG
[003:923] [2022-08-21 16:09:35 +0000.368738][3b04] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[003:923] [2022-08-21 16:09:35 +0000.368772][3b04] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[003:923] [2022-08-21 16:09:35 +0000.368806][3b04] setupCompressionSession:
[003:923] [2022-08-21 16:09:35 +0000.368843][3b04] H264Encode::creating hareware
Encoder
[003:923] [2022-08-21 16:09:35 +0000.368881][3b04] AndroidHwAvcEncoder
time:54379881 enter.

[003:923] [2022-08-21 16:09:35 +0000.369081][3b04] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000073d15b0540 address:0x71f9937760
[003:923] [2022-08-21 16:09:35 +0000.369214][3b04] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[003:923] [2022-08-21 16:09:35 +0000.369250][3b04] The video avc hw codec address
is 0x723f0b7480
[003:923] [2022-08-21 16:09:35 +0000.369322][3b04] AndroidHwAvcEncoder leave.
expire time = 0 ms

[003:923] [2022-08-21 16:09:35 +0000.369369][3b04] RegisterEncodeCompleteCallback


time:54379881 enter.

[003:924] [2022-08-21 16:09:35 +0000.369500][3b04] RegisterEncodeCompleteCallback


leave. expire time = 1 ms

[003:924] [2022-08-21 16:09:35 +0000.369563][3b04] InitEncode time:54379882 enter.

[003:924] [2022-08-21 16:09:35 +0000.369672][3b04] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[003:924] [2022-08-21 16:09:35 +0000.369763][3b04] Create time:54379882 enter.

[003:924] [2022-08-21 16:09:35 +0000.369820][3b04] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[003:924] [2022-08-21 16:09:35 +0000.369854][3b04]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x72615102c0
[003:931] [2022-08-21 16:09:35 +0000.376523][3b4d] Get data in mic source, which
has byte length:1764micAudioStream->length():20
[003:931] [2022-08-21 16:09:35 +0000.376962][3b4d] The output timestamp from audio
mixer change:54379879
[003:931] [2022-08-21 16:09:35 +0000.377007][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[003:948] [2022-08-21 16:09:35 +0000.394083][3b04]
supported_type:image/vnd.android.heic
[003:948] [2022-08-21 16:09:35 +0000.394182][3b04] supported_type:video/avc
[003:948] [2022-08-21 16:09:35 +0000.394227][3b04] name:OMX.qcom.video.encoder.avc
mime:video/avc
[003:948] [2022-08-21 16:09:35 +0000.394279][3b04] hwCodecPrefix :OMX.qcom.
[003:948] [2022-08-21 16:09:35 +0000.394318][3b04] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[003:948] [2022-08-21 16:09:35 +0000.394362][3b04] mediacodec_createCodecByName
time:54379906 enter.

[003:949] [2022-08-21 16:09:35 +0000.394404][3b04] WrapAndroidMediaCodec


time:54379907 enter.

[003:949] [2022-08-21 16:09:35 +0000.394565][3b04] WrapAndroidMediaCodec leave.


expire time = 0 ms

[003:964] [2022-08-21 16:09:35 +0000.409517][3b04] mediacodec_createCodecByName


leave. expire time = 16 ms

[003:964] [2022-08-21 16:09:35 +0000.409613][3b04] WrapAndroidMediaFromat


time:54379922 enter.
[003:964] [2022-08-21 16:09:35 +0000.409722][3b04] WrapAndroidMediaFromat leave.
expire time = 0 ms

[004:023] [2022-08-21 16:09:35 +0000.468461][3b04] Destroy time:54379981 enter.

[004:023] [2022-08-21 16:09:35 +0000.468552][3b04] WrapAndroidMediaFromat::


Destroy
[004:023] [2022-08-21 16:09:35 +0000.468583][3b04] Destroy leave. expire time = 0
ms

[004:023] [2022-08-21 16:09:35 +0000.468606][3b04] ~WrapAndroidMediaFromat


time:54379981 enter.

[004:023] [2022-08-21 16:09:35 +0000.468647][3b04] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[004:023] [2022-08-21 16:09:35 +0000.468673][3b04] Create leave. expire time = 99


ms

[004:023] [2022-08-21 16:09:35 +0000.468705][3b04] isSemiPlanarSupport


time:54379981 enter.

[004:023] [2022-08-21 16:09:35 +0000.468749][3b04] H264Encoder isSemiPlanarSupport


[004:023] [2022-08-21 16:09:35 +0000.468797][3b04] isSemiPlanarSupport leave.
expire time = 0 ms

[004:023] [2022-08-21 16:09:35 +0000.468838][3b04] creat hw H264Encoder success,


isSemiPlanar:1
[004:023] [2022-08-21 16:09:35 +0000.468984][3b04] InitEncode leave. expire time =
99 ms

[004:023] [2022-08-21 16:09:35 +0000.469031][3b04] H264Encode::created Encoder


[004:023] [2022-08-21 16:09:35 +0000.469079][3b04] H264Encode:: H264 encoder
created.
[004:023] [2022-08-21 16:09:35 +0000.469125][3b04] H264 encoder created.
[004:023] [2022-08-21 16:09:35 +0000.469170][3b04]
RecordingSessionInternalSimple:created avc encoder avc: 0x723f123400
[004:023] [2022-08-21 16:09:35 +0000.469213][3b04] setOutput:
[004:023] [2022-08-21 16:09:35 +0000.469238][3b04]
RecordingSessionInternalSimple:encoder set output to muxer!
[004:023] [2022-08-21 16:09:35 +0000.469283][3b04] request a key frame
[004:023] [2022-08-21 16:09:35 +0000.469330][3b04] H264Encode:: request a key frame
[004:024] [2022-08-21 16:09:35 +0000.469549][3b04] setDisplayRotate :90
[004:024] [2022-08-21 16:09:35 +0000.469609][3b04] 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
[004:024] [2022-08-21 16:09:35 +0000.469688][3b05] StartRecording:
[004:024] [2022-08-21 16:09:35 +0000.469806][3b4d] operator(): Set the recording
session in mic source. recording session: 0x7222d9e400
[004:024] [2022-08-21 16:09:35 +0000.469924][3b05] operator() leave. expire time =
118 ms

[004:024] [2022-08-21 16:09:35 +0000.469918][3b4b] AF_SpeedFilter audio


0x7222d9e580 PullFrame
[004:024] [2022-08-21 16:09:35 +0000.470050][3b4b]
RecordAudioSource::PullAudioFrame
[004:024] [2022-08-21 16:09:35 +0000.470140][3b4b] AF_SpeedFilter::PullFrame eof4
[004:027] [2022-08-21 16:09:35 +0000.473195][3b4b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[004:044] [2022-08-21 16:09:35 +0000.490324][3b4b] AF_SpeedFilter audio time,
0x7222d9e580 rcv time: 54379998
[004:045] [2022-08-21 16:09:35 +0000.490397][3b4b] AF_SpeedFilter audio time,
0x7222d9e580 rcv time: 54379998in_nSamples:441
[004:045] [2022-08-21 16:09:35 +0000.490529][3b4b] resampled_data_size:0
[004:072] [2022-08-21 16:09:35 +0000.517820][3b05]
MediaFilterCamera::NeedProcessTexture
[004:072] [2022-08-21 16:09:35 +0000.517902][3b05] begine recode to first frame
spend time:166
[004:072] [2022-08-21 16:09:35 +0000.517959][3b05] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7222d9df80
[004:072] [2022-08-21 16:09:35 +0000.518144][3b05] blur_distance_:0
[004:072] [2022-08-21 16:09:35 +0000.518298][3b05] blur_direction_angle_:-90
[004:072] [2022-08-21 16:09:35 +0000.518365][3b05]
GPUImageProcessing::SetOrientation orientation: 90
[004:073] [2022-08-21 16:09:35 +0000.518403][3b05] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[004:073] [2022-08-21 16:09:35 +0000.518749][3b05] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[004:073] [2022-08-21 16:09:35 +0000.518798][3b05] GPUImageProcessing: input frame
width1920 X 1080
[004:080] [2022-08-21 16:09:35 +0000.525795][3b05] drawYUV420 render
OpenGLRenderProgram:0x7224cd1b98
[004:081] [2022-08-21 16:09:35 +0000.527024][3b05] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[004:081] [2022-08-21 16:09:35 +0000.527150][3b05] CropFilter::OnVideoFrame
outputtexture :11
[004:081] [2022-08-21 16:09:35 +0000.527202][3b05] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[004:088] [2022-08-21 16:09:35 +0000.533466][3b05] The read pixel from buffer take:
7 width:1920 height:1080 frameType:0
[004:108] [2022-08-21 16:09:35 +0000.553807][3b05] drawYUV420 render
OpenGLRenderProgram:0x7224cd1b98
[004:121] [2022-08-21 16:09:35 +0000.567080][3b05] The convert RGB to YUV take 3
[004:121] [2022-08-21 16:09:35 +0000.567387][3b05] FilterPipeline2::OnVideoFrame
pts 30 last_video_timestamp_ 30
[004:122] [2022-08-21 16:09:35 +0000.567538][3b05]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[004:123] [2022-08-21 16:09:35 +0000.568600][3b52]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[004:123] [2022-08-21 16:09:35 +0000.568670][3b52] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[004:123] [2022-08-21 16:09:35 +0000.568713][3b52] push video frame to H264
encoder. (100 frame for one log)

[004:123] [2022-08-21 16:09:35 +0000.568951][3b52] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[004:123] [2022-08-21 16:09:35 +0000.569019][3b52] H264Encode::push video frame to


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

[004:123] [2022-08-21 16:09:35 +0000.569051][3b52] Push an pts:0 to dts queue.


[004:123] [2022-08-21 16:09:35 +0000.569135][3b52] DTS queue for
Generator:0x7316acbcb8 0
[004:123] [2022-08-21 16:09:35 +0000.569163][3b52] The input pts:0 fps:30
[004:125] [2022-08-21 16:09:35 +0000.571078][3b52]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[004:138] [2022-08-21 16:09:35 +0000.583477][3af5]
monitorTime:4004totalDuration:3920
[004:141] [2022-08-21 16:09:35 +0000.586426][3b05] drawYUV420 render
OpenGLRenderProgram:0x7224cd1b98
[004:172] [2022-08-21 16:09:35 +0000.618262][3b4b] AF_SpeedFilter audio time 222,
0x7222d9e580 out time: 54379998 org time: 54379998
[004:173] [2022-08-21 16:09:35 +0000.618481][3b4b] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[004:173] [2022-08-21 16:09:35 +0000.618538][3b4b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 54379998
[004:173] [2022-08-21 16:09:35 +0000.618592][3b4b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[004:173] [2022-08-21 16:09:35 +0000.618933][3b4b] AF_SpeedFilter audio time
[004:173] [2022-08-21 16:09:35 +0000.619373][3b4b] AF_SpeedFilter audio time 111,
0x7222d9e580 out time: 54380008 org time: 54380008
[004:176] [2022-08-21 16:09:35 +0000.621848][3b51]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:3
[004:181] [2022-08-21 16:09:35 +0000.626864][3b53] add aac audio track with id:1
[004:181] [2022-08-21 16:09:35 +0000.627055][3b53] audio start ts:0
[004:181] [2022-08-21 16:09:35 +0000.627134][3b53] the audio frame has been written
into MP4 file
[004:218] [2022-08-21 16:09:35 +0000.663542][3b52] h264 add frame header cdr flag
[004:218] [2022-08-21 16:09:35 +0000.664336][3b52] h264 add frame header cdr flag
[004:220] [2022-08-21 16:09:35 +0000.665806][3b52] SendFrame
encodedImage._timeStamp:0encodedImage->_length:494512
[004:220] [2022-08-21 16:09:35 +0000.665871][3b52] Received key frame:0
[004:220] [2022-08-21 16:09:35 +0000.665911][3b52] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[004:220] [2022-08-21 16:09:35 +0000.665959][3b52] H264Encode::H264SWEncoder get
callback, length:494512 type:0 nalType:7length:19
[004:220] [2022-08-21 16:09:35 +0000.666001][3b52] H264Encode:: get a sps pps
header!headerSize:32
[004:220] [2022-08-21 16:09:35 +0000.666064][3b52] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[004:220] [2022-08-21 16:09:35 +0000.666185][3b53] get the H.264 SPS parameter
[004:221] [2022-08-21 16:09:35 +0000.666417][3b53] add video track with id:2
[004:221] [2022-08-21 16:09:35 +0000.667347][3b0a] Run AGC when audioType = 0
[004:222] [2022-08-21 16:09:35 +0000.667549][3b0a]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:226] [2022-08-21 16:09:35 +0000.671483][3b53] get the H.264 PPS parameter
[004:228] [2022-08-21 16:09:35 +0000.673962][3b53] get the H.264 IDR frame
[004:228] [2022-08-21 16:09:35 +0000.674039][3b53] resss:true
[004:228] [2022-08-21 16:09:35 +0000.674083][3b53] video start ts:0
[004:229] [2022-08-21 16:09:35 +0000.674534][3b53] the video frame has been written
into MP4 file
[004:573] [2022-08-21 16:09:36 +0000.18753][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[004:610] [2022-08-21 16:09:36 +0000.55646][3b05] The convert RGB to YUV take 3
[004:925] [2022-08-21 16:09:36 +0000.370865][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:945] [2022-08-21 16:09:36 +0000.390844][3b52] DTS queue for
Generator:0x7316acbcb8 805 835
[005:076] [2022-08-21 16:09:36 +0000.521547][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:117] [2022-08-21 16:09:36 +0000.562945][3b05] The convert RGB to YUV take 4
[005:261] [2022-08-21 16:09:36 +0000.706751][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[005:447] [2022-08-21 16:09:36 +0000.892462][3b52] Push an pts:1337 to dts queue.
[005:490] [2022-08-21 16:09:36 +0000.936241][3b52] last dts:1303 currentPts:1337
ppsOrSPS:0 queue length:2
[005:572] [2022-08-21 16:09:37 +0000.17513][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:608] [2022-08-21 16:09:37 +0000.54187][3b05] The convert RGB to YUV take 3
[005:648] [2022-08-21 16:09:37 +0000.94170][3b4b] AF_SpeedFilter audio 0x7222d9e580
PullFrame
[005:783] [2022-08-21 16:09:37 +0000.229057][3b52] DTS queue for
Generator:0x7316acbcb8 1634 1670
[005:904] [2022-08-21 16:09:37 +0000.349445][3b4b]
RecordAudioSource::PullAudioFrame
[005:927] [2022-08-21 16:09:37 +0000.372577][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:073] [2022-08-21 16:09:37 +0000.518854][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:107] [2022-08-21 16:09:37 +0000.552463][3b05] The convert RGB to YUV take 4
[006:137] [2022-08-21 16:09:37 +0000.582653][3b05] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[006:148] [2022-08-21 16:09:37 +0000.594169][3b52] h264 add frame header cdr flag
[006:149] [2022-08-21 16:09:37 +0000.594728][3b52] Received key frame:1999
[006:181] [2022-08-21 16:09:37 +0000.626581][3b53] get the H.264 IDR frame
[006:221] [2022-08-21 16:09:37 +0000.666805][3b0a] Run AGC when audioType = 0
[006:327] [2022-08-21 16:09:37 +0000.772777][3b4b] resampled_data_size:7168
[006:347] [2022-08-21 16:09:37 +0000.793128][3b4b] AF_SpeedFilter::PullFrame eof4
[006:350] [2022-08-21 16:09:37 +0000.795704][3b4b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[006:516] [2022-08-21 16:09:37 +0000.961882][3b51]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:6
[006:573] [2022-08-21 16:09:38 +0000.18651][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:581] [2022-08-21 16:09:38 +0000.26957][3b52] DTS queue for
Generator:0x7316acbcb8 2469
[006:608] [2022-08-21 16:09:38 +0000.54014][3b05] The convert RGB to YUV take 4
[006:781] [2022-08-21 16:09:38 +0000.226594][3b52] Push an pts:2668 to dts queue.
[006:812] [2022-08-21 16:09:38 +0000.258258][3b52] last dts:2638 currentPts:2668
ppsOrSPS:0 queue length:2
[006:920] [2022-08-21 16:09:38 +0000.365747][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:982] [2022-08-21 16:09:38 +0000.427836][3b0a] haveEnoughProcessedData
internalAudioStream.length: 20
[007:069] [2022-08-21 16:09:38 +0000.514888][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:111] [2022-08-21 16:09:38 +0000.556937][3b05] The convert RGB to YUV take 4
[007:270] [2022-08-21 16:09:38 +0000.716327][3b4b] AF_SpeedFilter audio
0x7222d9e580 PullFrame
[007:368] [2022-08-21 16:09:38 +0000.814178][3b05] drawYUV420 render
OpenGLRenderProgram:0x7224cd1b98
[007:414] [2022-08-21 16:09:38 +0000.859799][3b52] DTS queue for
Generator:0x7316acbcb8 3299
[007:438] [2022-08-21 16:09:38 +0000.883487][3b05] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[007:438] [2022-08-21 16:09:38 +0000.883622][3b05] GPUImageProcessing: input frame
width1920 X 1080
[007:438] [2022-08-21 16:09:38 +0000.884123][3b05] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[007:438] [2022-08-21 16:09:38 +0000.884222][3b05] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[007:444] [2022-08-21 16:09:38 +0000.889822][3b52]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3335
[007:448] [2022-08-21 16:09:38 +0000.893471][3b52] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3299 pts:3299
[007:473] [2022-08-21 16:09:38 +0000.919185][3b52] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3365
[007:473] [2022-08-21 16:09:38 +0000.919287][3b52] push video frame to H264
encoder. (100 frame for one log)

[007:473] [2022-08-21 16:09:38 +0000.919337][3b52] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[007:473] [2022-08-21 16:09:38 +0000.919383][3b52] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3365(100 frame for one
log)

[007:474] [2022-08-21 16:09:38 +0000.919481][3b52] The input pts:3365 fps:30


[007:476] [2022-08-21 16:09:38 +0000.921764][3b52] SendFrame
encodedImage._timeStamp:3335encodedImage->_length:140752
[007:511] [2022-08-21 16:09:38 +0000.957191][3b52] H264Encode::H264SWEncoder get
callback, length:122848 type:1 nalType:1length:122844
[007:567] [2022-08-21 16:09:39 +0000.13051][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:611] [2022-08-21 16:09:39 +0000.56915][3b05] The convert RGB to YUV take 4
[007:810] [2022-08-21 16:09:39 +0000.256226][3b4b]
RecordAudioSource::PullAudioFrame
[007:927] [2022-08-21 16:09:39 +0000.372852][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[008:072] [2022-08-21 16:09:39 +0000.517595][3b05] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[008:111] [2022-08-21 16:09:39 +0000.556467][3b05] The convert RGB to YUV take 3
[008:113] [2022-08-21 16:09:39 +0000.558980][3b52] Push an pts:4003 to dts queue.
[008:145] [2022-08-21 16:09:39 +0000.591325][3b52] h264 add frame header cdr flag
[008:146] [2022-08-21 16:09:39 +0000.592054][3b52] Received key frame:4003
[008:146] [2022-08-21 16:09:39 +0000.592126][3b52] last dts:3968 currentPts:4003
ppsOrSPS:0 queue length:2
[008:180] [2022-08-21 16:09:39 +0000.625976][3b53] get the H.264 IDR frame
[008:208] [2022-08-21 16:09:39 +0000.654264][3b05] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[008:221] [2022-08-21 16:09:39 +0000.667084][3b0a] Run AGC when audioType = 0
[008:221] [2022-08-21 16:09:39 +0000.667275][3b0a]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:243] [2022-08-21 16:09:39 +0000.689203][3b52] DTS queue for
Generator:0x7316acbcb8 4100 4132
[008:528] [2022-08-21 16:09:39 +0000.974037][3b4b] resampled_data_size:0
[008:571] [2022-08-21 16:09:40 +0000.17376][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:609] [2022-08-21 16:09:40 +0000.54629][3b05] The convert RGB to YUV take 6
[008:692] [2022-08-21 16:09:40 +0000.137565][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[008:720] [2022-08-21 16:09:40 +0000.165749][3b4b] AF_SpeedFilter::PullFrame eof4
[008:722] [2022-08-21 16:09:40 +0000.168133][3b4b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[008:874] [2022-08-21 16:09:40 +0000.319617][3b51]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:10
[008:920] [2022-08-21 16:09:40 +0000.366382][3b4b] AF_SpeedFilter audio
0x7222d9e580 PullFrame
[008:930] [2022-08-21 16:09:40 +0000.375723][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[009:073] [2022-08-21 16:09:40 +0000.518970][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:077] [2022-08-21 16:09:40 +0000.523141][3b52] DTS queue for
Generator:0x7316acbcb8 4934 4968
[009:107] [2022-08-21 16:09:40 +0000.553185][3b05] The convert RGB to YUV take 3
[009:442] [2022-08-21 16:09:40 +0000.888069][3b52] Push an pts:5333 to dts queue.
[009:478] [2022-08-21 16:09:40 +0000.923780][3b52] last dts:5298 currentPts:5333
ppsOrSPS:0 queue length:2
[009:569] [2022-08-21 16:09:41 +0000.15142][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:610] [2022-08-21 16:09:41 +0000.55571][3b05] The convert RGB to YUV take 6
[009:737] [2022-08-21 16:09:41 +0000.182922][3b4b]
RecordAudioSource::PullAudioFrame
[009:907] [2022-08-21 16:09:41 +0000.353064][3b52] DTS queue for
Generator:0x7316acbcb8 5763 5797
[009:922] [2022-08-21 16:09:41 +0000.367975][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[010:072] [2022-08-21 16:09:41 +0000.518119][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[010:110] [2022-08-21 16:09:41 +0000.555762][3b05] The convert RGB to YUV take 4
[010:148] [2022-08-21 16:09:41 +0000.594197][3b52] h264 add frame header cdr flag
[010:149] [2022-08-21 16:09:41 +0000.594746][3b52] Received key frame:6003
[010:180] [2022-08-21 16:09:41 +0000.626329][3b53] get the H.264 IDR frame
[010:217] [2022-08-21 16:09:41 +0000.662973][3b0b] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:217] [2022-08-21 16:09:41 +0000.663169][3b0b] _deviceSampleRate:48000

[010:220] [2022-08-21 16:09:41 +0000.665554][3b0a] Run AGC when audioType = 0


[010:298] [2022-08-21 16:09:41 +0000.743593][3b05] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[010:402] [2022-08-21 16:09:41 +0000.848054][3b0a] haveEnoughProcessedData
internalAudioStream.length: 10
[010:561] [2022-08-21 16:09:42 +0000.7194][3b4b] AF_SpeedFilter audio 0x7222d9e580
PullFrame
[010:568] [2022-08-21 16:09:42 +0000.14280][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[010:609] [2022-08-21 16:09:42 +0000.54706][3b05] The convert RGB to YUV take 3
[010:705] [2022-08-21 16:09:42 +0000.150723][3b05] drawYUV420 render
OpenGLRenderProgram:0x7224cd1b98
[010:712] [2022-08-21 16:09:42 +0000.158091][3b52] DTS queue for
Generator:0x7316acbcb8 6603
[010:749] [2022-08-21 16:09:42 +0000.195162][3b4b] resampled_data_size:10240
[010:776] [2022-08-21 16:09:42 +0000.221849][3b52]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6665
[010:776] [2022-08-21 16:09:42 +0000.222041][3b52] Push an pts:6665 to dts queue.
[010:807] [2022-08-21 16:09:42 +0000.252889][3b05] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[010:807] [2022-08-21 16:09:42 +0000.252972][3b05] GPUImageProcessing: input frame
width1920 X 1080
[010:808] [2022-08-21 16:09:42 +0000.253452][3b05] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[010:808] [2022-08-21 16:09:42 +0000.253527][3b05] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[010:815] [2022-08-21 16:09:42 +0000.260829][3b52] SendFrame
encodedImage._timeStamp:6665encodedImage->_length:116656
[010:815] [2022-08-21 16:09:42 +0000.260953][3b52] last dts:6635 currentPts:6665
ppsOrSPS:0 queue length:2
[010:815] [2022-08-21 16:09:42 +0000.260999][3b52] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6665 pts:6665
[010:840] [2022-08-21 16:09:42 +0000.286045][3b52] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6729
[010:840] [2022-08-21 16:09:42 +0000.286138][3b52] push video frame to H264
encoder. (100 frame for one log)

[010:840] [2022-08-21 16:09:42 +0000.286198][3b52] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[010:840] [2022-08-21 16:09:42 +0000.286240][3b52] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6729(100 frame for one
log)

[010:840] [2022-08-21 16:09:42 +0000.286288][3b52] The input pts:6729 fps:30


[010:881] [2022-08-21 16:09:42 +0000.326972][3b52] H264Encode::H264SWEncoder get
callback, length:112912 type:1 nalType:1length:112908
[010:919] [2022-08-21 16:09:42 +0000.364529][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[011:067] [2022-08-21 16:09:42 +0000.513194][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[011:095] [2022-08-21 16:09:42 +0000.541175][3b4b] AF_SpeedFilter::PullFrame eof4
[011:098] [2022-08-21 16:09:42 +0000.543784][3b4b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[011:104] [2022-08-21 16:09:42 +0000.550399][3b05] The convert RGB to YUV take 3
[011:129] [2022-08-21 16:09:42 +0000.574918][3b51]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6965queue_audio_frame_:4
[011:543] [2022-08-21 16:09:42 +0000.988667][3b52] DTS queue for
Generator:0x7316acbcb8 7430
[011:567] [2022-08-21 16:09:43 +0000.12403][3b05] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[011:599] [2022-08-21 16:09:43 +0000.45364][3b05] The convert RGB to YUV take 2
[011:660] [2022-08-21 16:09:43 +0000.106013][3b4b]
RecordAudioSource::PullAudioFrame
[011:923] [2022-08-21 16:09:43 +0000.368709][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[012:068] [2022-08-21 16:09:43 +0000.514135][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[012:106] [2022-08-21 16:09:43 +0000.551792][3b05] The convert RGB to YUV take 3
[012:107] [2022-08-21 16:09:43 +0000.552771][3b52] Push an pts:7996 to dts queue.
[012:118] [2022-08-21 16:09:43 +0000.564305][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[012:145] [2022-08-21 16:09:43 +0000.590499][3b52] h264 add frame header cdr flag
[012:145] [2022-08-21 16:09:43 +0000.591132][3b52] Received key frame:7996
[012:145] [2022-08-21 16:09:43 +0000.591207][3b52] last dts:7964 currentPts:7996
ppsOrSPS:0 queue length:2
[012:178] [2022-08-21 16:09:43 +0000.623668][3b53] get the H.264 IDR frame
[012:180] [2022-08-21 16:09:43 +0000.626349][3b4b] AF_SpeedFilter audio
0x7222d9e580 PullFrame
[012:222] [2022-08-21 16:09:43 +0000.668400][3b0a] Run AGC when audioType = 0
[012:223] [2022-08-21 16:09:43 +0000.668611][3b0a]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:372] [2022-08-21 16:09:43 +0000.817721][3b05] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3984 diff: 17
[012:373] [2022-08-21 16:09:43 +0000.818699][3b52] DTS queue for
Generator:0x7316acbcb8 8231 8264
[012:566] [2022-08-21 16:09:44 +0000.12396][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[012:604] [2022-08-21 16:09:44 +0000.49635][3b05] The convert RGB to YUV take 4
[012:926] [2022-08-21 16:09:44 +0000.371980][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[013:012] [2022-08-21 16:09:44 +0000.457565][3b4b] resampled_data_size:1024
[013:066] [2022-08-21 16:09:44 +0000.511997][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[013:102] [2022-08-21 16:09:44 +0000.548222][3b05] The convert RGB to YUV take 3
[013:208] [2022-08-21 16:09:44 +0000.654324][3b52] DTS queue for
Generator:0x7316acbcb8 9061 9098
[013:427] [2022-08-21 16:09:44 +0000.873283][3b4b] AF_SpeedFilter::PullFrame eof4
[013:430] [2022-08-21 16:09:44 +0000.875486][3b4b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[013:437] [2022-08-21 16:09:44 +0000.882671][3b52] Push an pts:9328 to dts queue.
[013:474] [2022-08-21 16:09:44 +0000.919700][3b52] last dts:9294 currentPts:9328
ppsOrSPS:0 queue length:2
[013:495] [2022-08-21 16:09:44 +0000.940704][3b51]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9287queue_audio_frame_:6
[013:545] [2022-08-21 16:09:44 +0000.990579][3b4b]
RecordAudioSource::PullAudioFrame
[013:561] [2022-08-21 16:09:45 +0000.6784][3b05] The read pixel from buffer take: 0
width:1920 height:1080 frameType:0
[013:601] [2022-08-21 16:09:45 +0000.46902][3b05] The convert RGB to YUV take 3
[013:800] [2022-08-21 16:09:45 +0000.245533][3b4b] AF_SpeedFilter audio
0x7222d9e580 PullFrame
[013:844] [2022-08-21 16:09:45 +0000.289491][3b0a] haveEnoughProcessedData
internalAudioStream.length: 20
[013:884] [2022-08-21 16:09:45 +0000.329550][3b4d] The output timestamp from audio
mixer change:54389840
[013:920] [2022-08-21 16:09:45 +0000.366071][3b0a] On audio frame the broadcast
with timestamp:54389878 samples:480. (1000 frame for one log)

[013:926] [2022-08-21 16:09:45 +0000.371889][3b4d] Get data in mic source, which


has byte length:1764micAudioStream->length():20
[013:926] [2022-08-21 16:09:45 +0000.372303][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[014:030] [2022-08-21 16:09:45 +0000.476383][3b05] drawYUV420 render
OpenGLRenderProgram:0x7224cd1b98
[014:039] [2022-08-21 16:09:45 +0000.484402][3b52] DTS queue for
Generator:0x7316acbcb8 9895 9928
[014:044] [2022-08-21 16:09:45 +0000.489712][3b4b] AF_SpeedFilter audio time,
0x7222d9e580 rcv time: 54389999
[014:044] [2022-08-21 16:09:45 +0000.489804][3b4b] AF_SpeedFilter audio time,
0x7222d9e580 rcv time: 54389999in_nSamples:441
[014:066] [2022-08-21 16:09:45 +0000.512260][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[014:106] [2022-08-21 16:09:45 +0000.551567][3b05] The convert RGB to YUV take 5
[014:107] [2022-08-21 16:09:45 +0000.552637][3b52]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:9999
[014:143] [2022-08-21 16:09:45 +0000.588834][3b52] h264 add frame header cdr flag
[014:144] [2022-08-21 16:09:45 +0000.589575][3b52] SendFrame
encodedImage._timeStamp:9999encodedImage->_length:303968
[014:144] [2022-08-21 16:09:45 +0000.589666][3b52] Received key frame:9999
[014:148] [2022-08-21 16:09:45 +0000.593854][3b4b] FilterPipeline2::OnAudioFrame
pts 10010 last_audio_timestamp_ 10010
[014:148] [2022-08-21 16:09:45 +0000.593970][3b4b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 54389998
[014:148] [2022-08-21 16:09:45 +0000.594015][3b4b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[014:167] [2022-08-21 16:09:45 +0000.613209][3b05] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[014:167] [2022-08-21 16:09:45 +0000.613279][3b05] GPUImageProcessing: input frame
width1920 X 1080
[014:168] [2022-08-21 16:09:45 +0000.613780][3b05] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[014:168] [2022-08-21 16:09:45 +0000.613915][3b05] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[014:175] [2022-08-21 16:09:45 +0000.620963][3b52] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10030 pts:10030
[014:176] [2022-08-21 16:09:45 +0000.621837][3b53] get the H.264 IDR frame
[014:205] [2022-08-21 16:09:45 +0000.650474][3b52] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:10095
[014:205] [2022-08-21 16:09:45 +0000.650630][3b52] push video frame to H264
encoder. (100 frame for one log)

[014:205] [2022-08-21 16:09:45 +0000.650730][3b52] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[014:205] [2022-08-21 16:09:45 +0000.650816][3b52] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:10095(100 frame for one
log)

[014:205] [2022-08-21 16:09:45 +0000.650879][3b52] The input pts:10095 fps:30


[014:219] [2022-08-21 16:09:45 +0000.664595][3b0a] Run AGC when audioType = 0
[014:240] [2022-08-21 16:09:45 +0000.686167][3b52] H264Encode::H264SWEncoder get
callback, length:125104 type:1 nalType:1length:125100
[014:463] [2022-08-21 16:09:45 +0000.909383][3b05] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4980 diff: 21
[014:564] [2022-08-21 16:09:46 +0000.9575][3b05] The read pixel from buffer take: 0
width:1920 height:1080 frameType:0
[014:602] [2022-08-21 16:09:46 +0000.48101][3b05] The convert RGB to YUV take 4
[014:774] [2022-08-21 16:09:46 +0000.219510][3b52] Push an pts:10662 to dts queue.
[014:806] [2022-08-21 16:09:46 +0000.252167][3b52] last dts:10625 currentPts:10662
ppsOrSPS:0 queue length:2
[014:843] [2022-08-21 16:09:46 +0000.289350][3b52] DTS queue for
Generator:0x7316acbcb8 10728
[014:930] [2022-08-21 16:09:46 +0000.375970][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[015:064] [2022-08-21 16:09:46 +0000.510361][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:103] [2022-08-21 16:09:46 +0000.548493][3b05] The convert RGB to YUV take 5
[015:187] [2022-08-21 16:09:46 +0000.633143][3b4b] resampled_data_size:13312
[015:198] [2022-08-21 16:09:46 +0000.644339][3b05] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[015:264] [2022-08-21 16:09:46 +0000.709811][3b4b] AF_SpeedFilter audio time
[015:264] [2022-08-21 16:09:46 +0000.709926][3b4b] AF_SpeedFilter audio time 111,
0x7222d9e580 out time: 54391188 org time: 54391188
[015:447] [2022-08-21 16:09:46 +0000.893352][3b4b] AF_SpeedFilter audio
0x7222d9e580 PullFrame
[015:470] [2022-08-21 16:09:46 +0000.915617][3b4b]
RecordAudioSource::PullAudioFrame
[015:559] [2022-08-21 16:09:47 +0000.5400][3b0a] haveEnoughProcessedData
internalAudioStream.length: 10
[015:566] [2022-08-21 16:09:47 +0000.12031][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:597] [2022-08-21 16:09:47 +0000.42526][3b05] The convert RGB to YUV take 3
[015:673] [2022-08-21 16:09:47 +0000.118621][3b52] DTS queue for
Generator:0x7316acbcb8 11560
[015:753] [2022-08-21 16:09:47 +0000.198917][3b51]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 11609queue_audio_frame_:1
[015:804] [2022-08-21 16:09:47 +0000.249442][3b4b] AF_SpeedFilter::PullFrame eof4
[015:806] [2022-08-21 16:09:47 +0000.252303][3b4b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[015:926] [2022-08-21 16:09:47 +0000.371466][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[016:061] [2022-08-21 16:09:47 +0000.506983][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[016:094] [2022-08-21 16:09:47 +0000.540212][3b05] The convert RGB to YUV take 2
[016:095] [2022-08-21 16:09:47 +0000.540975][3b52] Push an pts:11988 to dts queue.
[016:136] [2022-08-21 16:09:47 +0000.582317][3b52] h264 add frame header cdr flag
[016:137] [2022-08-21 16:09:47 +0000.582842][3b52] Received key frame:11988
[016:137] [2022-08-21 16:09:47 +0000.582902][3b52] last dts:11958 currentPts:11988
ppsOrSPS:0 queue length:2
[016:169] [2022-08-21 16:09:47 +0000.614937][3b53] get the H.264 IDR frame
[016:222] [2022-08-21 16:09:47 +0000.668134][3b0a] Run AGC when audioType = 0
[016:222] [2022-08-21 16:09:47 +0000.668333][3b0a]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:498] [2022-08-21 16:09:47 +0000.944380][3b52] DTS queue for
Generator:0x7316acbcb8 12355 12388
[016:528] [2022-08-21 16:09:47 +0000.974137][3b05] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5984 diff: 17
[016:559] [2022-08-21 16:09:48 +0000.5227][3b05] The read pixel from buffer take: 0
width:1920 height:1080 frameType:0
[016:595] [2022-08-21 16:09:48 +0000.40572][3b05] The convert RGB to YUV take 5
[016:921] [2022-08-21 16:09:48 +0000.366817][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[017:058] [2022-08-21 16:09:48 +0000.503664][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[017:086] [2022-08-21 16:09:48 +0000.532376][3b4b] AF_SpeedFilter audio
0x7222d9e580 PullFrame
[017:095] [2022-08-21 16:09:48 +0000.541111][3b05] The convert RGB to YUV take 2
[017:286] [2022-08-21 16:09:48 +0000.732027][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[017:331] [2022-08-21 16:09:48 +0000.777387][3b52] DTS queue for
Generator:0x7316acbcb8 13189 13221
[017:357] [2022-08-21 16:09:48 +0000.802941][3b05] drawYUV420 render
OpenGLRenderProgram:0x7224cd1b98
[017:412] [2022-08-21 16:09:48 +0000.858064][3b4b]
RecordAudioSource::PullAudioFrame
[017:428] [2022-08-21 16:09:48 +0000.873915][3b52]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:13320
[017:428] [2022-08-21 16:09:48 +0000.874011][3b52] Push an pts:13320 to dts queue.
[017:453] [2022-08-21 16:09:48 +0000.898946][3b4b] resampled_data_size:4096
[017:461] [2022-08-21 16:09:48 +0000.907313][3b52] SendFrame
encodedImage._timeStamp:13320encodedImage->_length:76272
[017:462] [2022-08-21 16:09:48 +0000.907432][3b52] last dts:13288 currentPts:13320
ppsOrSPS:0 queue length:2
[017:523] [2022-08-21 16:09:48 +0000.969313][3b05] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[017:524] [2022-08-21 16:09:48 +0000.969450][3b05] GPUImageProcessing: input frame
width1920 X 1080
[017:525] [2022-08-21 16:09:48 +0000.970686][3b05] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[017:525] [2022-08-21 16:09:48 +0000.970791][3b05] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[017:540] [2022-08-21 16:09:48 +0000.985992][3b52] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:13387 pts:13387
[017:561] [2022-08-21 16:09:49 +0000.6454][3b05] The read pixel from buffer take: 1
width:1920 height:1080 frameType:0
[017:573] [2022-08-21 16:09:49 +0000.18749][3b52] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:13458
[017:573] [2022-08-21 16:09:49 +0000.18848][3b52] push video frame to H264 encoder.
(100 frame for one log)

[017:573] [2022-08-21 16:09:49 +0000.18902][3b52] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[017:573] [2022-08-21 16:09:49 +0000.18944][3b52] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:13458(100 frame for one
log)

[017:573] [2022-08-21 16:09:49 +0000.18992][3b52] The input pts:13458 fps:30


[017:597] [2022-08-21 16:09:49 +0000.43384][3b05] The convert RGB to YUV take 3
[017:605] [2022-08-21 16:09:49 +0000.50411][3b52] H264Encode::H264SWEncoder get
callback, length:75232 type:1 nalType:1length:75228
[017:929] [2022-08-21 16:09:49 +0000.374956][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[018:055] [2022-08-21 16:09:49 +0000.500891][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[018:093] [2022-08-21 16:09:49 +0000.539118][3b05] The convert RGB to YUV take 3
[018:115] [2022-08-21 16:09:49 +0000.561228][3b51]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 13931queue_audio_frame_:4
[018:135] [2022-08-21 16:09:49 +0000.580964][3b52] h264 add frame header cdr flag
[018:136] [2022-08-21 16:09:49 +0000.581582][3b52] Received key frame:13987
[018:136] [2022-08-21 16:09:49 +0000.581681][3b52] DTS queue for
Generator:0x7316acbcb8 14021
[018:165] [2022-08-21 16:09:49 +0000.611083][3b53] get the H.264 IDR frame
[018:213] [2022-08-21 16:09:49 +0000.658656][3b4b] AF_SpeedFilter::PullFrame eof4
[018:215] [2022-08-21 16:09:49 +0000.660850][3b4b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[018:218] [2022-08-21 16:09:49 +0000.663450][3b0a] Run AGC when audioType = 0
[018:558] [2022-08-21 16:09:50 +0000.4292][3b05] The read pixel from buffer take: 0
width:1920 height:1080 frameType:0
[018:592] [2022-08-21 16:09:50 +0000.38107][3b05] The convert RGB to YUV take 5
[018:622] [2022-08-21 16:09:50 +0000.67735][3b05] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6980 diff: 21
[018:740] [2022-08-21 16:09:50 +0000.185802][3b4b] AF_SpeedFilter audio
0x7222d9e580 PullFrame
[018:765] [2022-08-21 16:09:50 +0000.210472][3b52] Push an pts:14654 to dts queue.
[018:804] [2022-08-21 16:09:50 +0000.250337][3b52] last dts:14618 currentPts:14654
ppsOrSPS:0 queue length:2
[018:919] [2022-08-21 16:09:50 +0000.364725][3b4d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[018:964] [2022-08-21 16:09:50 +0000.409395][3b52] DTS queue for
Generator:0x7316acbcb8 14851
[019:008] [2022-08-21 16:09:50 +0000.453889][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[019:058] [2022-08-21 16:09:50 +0000.503781][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[019:093] [2022-08-21 16:09:50 +0000.538720][3b05] The convert RGB to YUV take 2
[019:297] [2022-08-21 16:09:50 +0000.742511][3b05] StopRecording:
[019:300] [2022-08-21 16:09:50 +0000.746128][3b05] OnNeedStopRecording:
[019:301] [2022-08-21 16:09:50 +0000.747027][3b4b] resampled_data_size:512
[019:301] [2022-08-21 16:09:50 +0000.747209][3b4b] AF_SpeedFilter audio time 222,
0x7222d9e580 out time: 54395158 org time: 54395158
[019:302] [2022-08-21 16:09:50 +0000.747529][3b4b] PullAudioFrame: PullFrame audio
finished.
[019:302] [2022-08-21 16:09:50 +0000.747579][3b4b]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[019:306] [2022-08-21 16:09:50 +0000.752364][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[019:307] [2022-08-21 16:09:50 +0000.752552][3b05] operator(): Stop
[019:307] [2022-08-21 16:09:50 +0000.752592][3b05] StopPullFrameAndWriteMp4
time:54395265 enter.

[019:307] [2022-08-21 16:09:50 +0000.752623][3b05] StopRecording:


[019:308] [2022-08-21 16:09:50 +0000.754242][3b52]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:456
[019:311] [2022-08-21 16:09:50 +0000.757071][3b04] stop recording
[019:311] [2022-08-21 16:09:50 +0000.757128][3b04]
RecordingSessionInternalSimple:destroy media processers
[019:311] [2022-08-21 16:09:50 +0000.757185][3b04] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[019:311] [2022-08-21 16:09:50 +0000.757227][3b04] H264Encode::flushing hareware
Encoder
[019:311] [2022-08-21 16:09:50 +0000.757381][3b04] Flush time:54395269 enter.

[019:312] [2022-08-21 16:09:50 +0000.757436][3b04] H264Encoder encoder flush


[019:312] [2022-08-21 16:09:50 +0000.757478][3b04] flush output queue
[019:634] [2022-08-21 16:09:51 +0000.79957][3b04] Flush leave. expire time = 323
ms

[019:634] [2022-08-21 16:09:51 +0000.80276][3b04] ~H264EncodeWrap:


[019:634] [2022-08-21 16:09:51 +0000.80364][3b04] ~H264Encode:
[019:635] [2022-08-21 16:09:51 +0000.80413][3b04] teardownCompressionSession:
H264Encode::destroying Encoder
[019:635] [2022-08-21 16:09:51 +0000.80458][3b04] Release time:54395593 enter.

[019:635] [2022-08-21 16:09:51 +0000.80763][3b04] Release:


MediaCodecVideoEncoder::Release _inited:1
[019:635] [2022-08-21 16:09:51 +0000.80856][3b04] Destroy time:54395593 enter.

[019:635] [2022-08-21 16:09:51 +0000.80904][3b04] H264Encoder encoderDestroy


[019:635] [2022-08-21 16:09:51 +0000.81093][3b04]
AndroidMediaCodecVideoEncoder::release env: 0x723f123540
[019:635] [2022-08-21 16:09:51 +0000.81149][3b04]
AndroidMediaCodecVideoEncoder::Destroy
[019:676] [2022-08-21 16:09:51 +0000.122032][3b04] Destroy leave. expire time = 41
ms

[019:676] [2022-08-21 16:09:51 +0000.122306][3b04] Release leave. expire time = 41


ms

[019:677] [2022-08-21 16:09:51 +0000.122431][3b04] ~AndroidHwAvcEncoder


time:54395635 enter.

[019:677] [2022-08-21 16:09:51 +0000.122697][3b04] Release time:54395635 enter.

[019:677] [2022-08-21 16:09:51 +0000.122774][3b04] Release:


MediaCodecVideoEncoder:: has been released before, just return
[019:677] [2022-08-21 16:09:51 +0000.122811][3b04] Release leave. expire time = 0
ms
[019:677] [2022-08-21 16:09:51 +0000.122846][3b04] ~AndroidMediaCodecVideoEncoder
[019:677] [2022-08-21 16:09:51 +0000.122883][3b04] ~WrapAndroidMediaCodec
time:54395635 enter.

[019:677] [2022-08-21 16:09:51 +0000.122916][3b04] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[019:677] [2022-08-21 16:09:51 +0000.122950][3b04] video hevc hw codec


destructor:0x723f0b7480

[019:677] [2022-08-21 16:09:51 +0000.123014][3b04] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[019:677] [2022-08-21 16:09:51 +0000.123068][3b04] teardownCompressionSession:


H264Encode::destroyed Encoder
[019:677] [2022-08-21 16:09:51 +0000.123110][3b04]
RecordingSessionInternalSimple:destroy aac encoder output!
[019:677] [2022-08-21 16:09:51 +0000.123143][3b04] AACSWEncode destructor
[019:692] [2022-08-21 16:09:51 +0000.137579][3b53] MP4 close file successfully
[019:692] [2022-08-21 16:09:51 +0000.137649][3b53] Recording session Internal:
notify recording ok
[019:692] [2022-08-21 16:09:51 +0000.137695][3b53] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_54379877.mp4,
output_video_timestamp_:15188 last_video_pts_:15153
[019:692] [2022-08-21 16:09:51 +0000.137739][3b53] OnRecordFinish:
[019:692] [2022-08-21 16:09:51 +0000.138391][3b53] onRecordingOk: net seek
pos:0record video duration:15186record audio duration:15162
[019:693] [2022-08-21 16:09:51 +0000.138897][3b4d] destructMicSource_w:
[019:693] [2022-08-21 16:09:51 +0000.138964][3b4d] setOutput_w:
MicSource::setOutput() 0x0
[019:693] [2022-08-21 16:09:51 +0000.139016][3b4d] close external audio stream

[019:693] [2022-08-21 16:09:51 +0000.139195][3b05] releaseThread 0x7222d9c300


[019:693] [2022-08-21 16:09:51 +0000.139237][3b05] ~MicSource: Mic source
destroyed:0x722498d300
[019:695] [2022-08-21 16:09:51 +0000.140713][3b05] StopPullFrameAndWriteMp4 leave.
expire time = 388 ms

[019:695] [2022-08-21 16:09:51 +0000.140761][3b05] DestroyPipelineAndFilters


time:54395653 enter.

[019:695] [2022-08-21 16:09:51 +0000.140824][3b05] UnbindInputFilter 0x7222d9e0c0


this 0x7224cd1dc0
[019:695] [2022-08-21 16:09:51 +0000.140871][3b05] UnbindInputFilter 0x7222d9e558
this 0x7222d9e6d0
[019:695] [2022-08-21 16:09:51 +0000.140921][3b05] UnbindInputFilter 0x7224cd1dc0
this 0x73d173fba0
[019:695] [2022-08-21 16:09:51 +0000.140950][3b05] filter: filter pipeline destroy
this: 0x73d173fb00
[019:696] [2022-08-21 16:09:51 +0000.141440][3b05] ClearVideoOfSources: recodring
total frames:0
[019:696] [2022-08-21 16:09:51 +0000.141486][3b05] ClearVideoOfSources:
[019:696] [2022-08-21 16:09:51 +0000.141522][3b05] GPUImageProcessing destruct.
[019:696] [2022-08-21 16:09:51 +0000.141585][3b05] destroy TrivalImageDrawer
0x7248ede600
[019:696] [2022-08-21 16:09:51 +0000.141619][3b05] The shader has been initialize,
clean up them.
[019:696] [2022-08-21 16:09:51 +0000.141673][3b05] ~OpenGLFrameBuffer:
[019:696] [2022-08-21 16:09:51 +0000.142016][3b05] ~OpenGLFrameBuffer:
[019:696] [2022-08-21 16:09:51 +0000.142101][3b05] ~OpenGLFrameBuffer:
[019:696] [2022-08-21 16:09:51 +0000.142168][3b05] ~OpenGLFrameBuffer:
[019:696] [2022-08-21 16:09:51 +0000.142236][3b05] ~OpenGLFrameBuffer:
[019:696] [2022-08-21 16:09:51 +0000.142317][3b05] ~OpenGLFrameBuffer:
[019:697] [2022-08-21 16:09:51 +0000.142489][3b05] GPUImageProcessing destruct
finish.
[019:697] [2022-08-21 16:09:51 +0000.142572][3b05] GPURGBAFrame destruct.
[019:697] [2022-08-21 16:09:51 +0000.142646][3b05] destroy OpenGLRenderProgram
0x7224cd1b98
[019:697] [2022-08-21 16:09:51 +0000.142681][3b05] ~CameraSource time:54395655
enter.

[019:697] [2022-08-21 16:09:51 +0000.142704][3b05] ~CameraSource leave. expire


time = 0 ms

[019:697] [2022-08-21 16:09:51 +0000.142732][3b05] ~RecordAudioSource time:54395655


enter.

[019:697] [2022-08-21 16:09:51 +0000.142753][3b05] ~RecordAudioSource leave.


expire time = 0 ms

[019:697] [2022-08-21 16:09:51 +0000.142780][3b05] DestroyPipelineAndFilters


leave. expire time = 2 ms

[019:711] [2022-08-21 16:09:51 +0000.156630][7133]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[019:711] [2022-08-21 16:09:51 +0000.157203][7133] machine model :poco
[019:711] [2022-08-21 16:09:51 +0000.157237][7133] Support this machine model :poco
[019:711] [2022-08-21 16:09:51 +0000.157263][7133] global inited! current sdk
version: 07-20-936c45f
[019:712] [2022-08-21 16:09:51 +0000.157655][7133] filter: filter pipeline
construtc this: 0x7248ecc200
[019:712] [2022-08-21 16:09:51 +0000.157695][7133] MediaFilterGraph:
MediaFilterGraph construct
[019:712] [2022-08-21 16:09:51 +0000.157747][7133] GLESContext:
[019:712] [2022-08-21 16:09:51 +0000.157787][7133] The result of eglGetDisplay is:
0xb400007326e87f00
[019:713] [2022-08-21 16:09:51 +0000.159040][7133] The result of creation:
0x7222faf800
[019:713] [2022-08-21 16:09:51 +0000.159147][7133] The result of
eglCreatePbufferSurface is: 0x7222fafe80
[019:714] [2022-08-21 16:09:51 +0000.160084][7133] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_54379877.mp4
[019:714] [2022-08-21 16:09:51 +0000.160144][7133] The source 0 speed:1
[019:714] [2022-08-21 16:09:51 +0000.160180][7133] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54379877.mp4,
delay: 0
[019:714] [2022-08-21 16:09:51 +0000.160252][7133] CreateDecoderByVideoSource
time:54395672 enter.

[019:715] [2022-08-21 16:09:51 +0000.160797][7133] running_decoder_count:0max


count:2
[019:715] [2022-08-21 16:09:51 +0000.160856][7133] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_54379877.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7248d1b400
[019:732] [2022-08-21 16:09:51 +0000.177692][3c31] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7248cca200] Current FFmpeg version git-2021-06-16-
97cea6f

[019:828] [2022-08-21 16:09:51 +0000.273831][3c31] OnStreamInfoFound: video


duration_: 15186
[019:829] [2022-08-21 16:09:51 +0000.275324][3c32] NO get frame from decoder
[019:829] [2022-08-21 16:09:51 +0000.275378][7133] start decoder
[019:830] [2022-08-21 16:09:51 +0000.275530][7133] CreateDecoderByVideoSource
leave. expire time = 116 ms

[019:830] [2022-08-21 16:09:51 +0000.275590][7133] BindInputFilter 0x730d17c220


this 0x7222e14458
[019:830] [2022-08-21 16:09:51 +0000.275629][7133] BindInputFilter 0x7222e14458
this 0x7222e14518
[019:830] [2022-08-21 16:09:51 +0000.275664][7133] BindInputFilter 0x730d17c220
this 0x7222e145d8
[019:830] [2022-08-21 16:09:51 +0000.275700][7133] BindInputFilter 0x7222e145d8
this 0x7222e14698
[019:830] [2022-08-21 16:09:51 +0000.275742][7133] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54379877.mp4
[019:830] [2022-08-21 16:09:51 +0000.275777][7133] BindInputFilter 0x7222e14518
this 0x7222e14758
[019:830] [2022-08-21 16:09:51 +0000.275819][7133] BindInputFilter 0x7222e14758
this 0x7248ecc2a0
[019:830] [2022-08-21 16:09:51 +0000.275857][7133] BindInputFilter 0x7222e14698
this 0x7222e14b18
[019:830] [2022-08-21 16:09:51 +0000.275894][7133] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54379877.mp4
[019:831] [2022-08-21 16:09:51 +0000.276470][3c32] NO get frame from decoder
[019:831] [2022-08-21 16:09:51 +0000.277221][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[019:832] [2022-08-21 16:09:51 +0000.277744][7133] machine model :poco
[019:832] [2022-08-21 16:09:51 +0000.277783][7133] Support this machine model :poco
[019:832] [2022-08-21 16:09:51 +0000.277832][7133] global inited! current sdk
version: 07-20-936c45f
[019:832] [2022-08-21 16:09:51 +0000.277913][7133] GetPipeline:
-----------------------------------------
[019:832] [2022-08-21 16:09:51 +0000.277950][7133] GetPipeline: source:
0x730d17c000
[019:832] [2022-08-21 16:09:51 +0000.277993][7133] GetPipeline: filter: NULLFilter
[019:832] [2022-08-21 16:09:51 +0000.278038][7133] GetPipeline: filter: NULLFilter
[019:832] [2022-08-21 16:09:51 +0000.278080][7133] GetPipeline: filter: NULLFilter
[019:832] [2022-08-21 16:09:51 +0000.278126][7133] GetPipeline: audio filter:
AuidoNULLFilter
[019:832] [2022-08-21 16:09:51 +0000.278150][7133] GetPipeline: audio filter:
AuidoNULLFilter
[019:832] [2022-08-21 16:09:51 +0000.278195][7133] GetPipeline: audio filter:
AudioNUllFilter
[019:832] [2022-08-21 16:09:51 +0000.278240][7133] GetPipeline:
------------------------------------------
[019:832] [2022-08-21 16:09:51 +0000.278287][7133] filter: filter pipeline2 update
pattern: 0
[019:833] [2022-08-21 16:09:51 +0000.278728][3c32] NO get frame from decoder
[019:833] [2022-08-21 16:09:51 +0000.278804][7133] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[019:833] [2022-08-21 16:09:51 +0000.279060][7133] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[019:833] [2022-08-21 16:09:51 +0000.279141][7133] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[019:833] [2022-08-21 16:09:51 +0000.279353][7133] DeviceInit:
[019:834] [2022-08-21 16:09:51 +0000.279619][7133] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[019:834] [2022-08-21 16:09:51 +0000.279924][7133] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[019:834] [2022-08-21 16:09:51 +0000.280190][7133] CreatePlatformSpecificObjects:
[019:834] [2022-08-21 16:09:51 +0000.280245][7133] audio device use null audio
input and opensl output
[019:834] [2022-08-21 16:09:51 +0000.280292][7133] Create OpenSLES output module
with java VM support.

[019:835] [2022-08-21 16:09:51 +0000.280406][7133] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[019:835] [2022-08-21 16:09:51 +0000.280591][7133] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[019:835] [2022-08-21 16:09:51 +0000.280786][7133] Create OpenSLES output module
with buffer num:2

[019:835] [2022-08-21 16:09:51 +0000.280841][7133] Error(trace.cc:40): Init the


output and input for audio device template.
[019:835] [2022-08-21 16:09:51 +0000.280876][7133] Init the output device.

[019:835] [2022-08-21 16:09:51 +0000.280918][7133] Set the playout as stereo:1


[019:835] [2022-08-21 16:09:51 +0000.280961][7133] Set the sample rate to be:44100

[019:835] [2022-08-21 16:09:51 +0000.281005][7133] Low latency buffer size:144 low


sample rate:48000
[019:835] [2022-08-21 16:09:51 +0000.281044][7133] DeviceInit: Done
[019:835] [2022-08-21 16:09:51 +0000.281224][7133] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[019:835] [2022-08-21 16:09:51 +0000.281258][3c3f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7223452618
[019:837] [2022-08-21 16:09:51 +0000.282418][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[019:837] [2022-08-21 16:09:51 +0000.282529][7133]
MediaFilterPlayer::SetPlayerNotify 0x7224c37aa0
[019:839] [2022-08-21 16:09:51 +0000.285145][7133]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[019:839] [2022-08-21 16:09:51 +0000.285241][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[019:841] [2022-08-21 16:09:51 +0000.286541][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[019:841] [2022-08-21 16:09:51 +0000.286880][3c32] NO get frame from decoder
[019:842] [2022-08-21 16:09:51 +0000.287669][3c32] NO get frame from decoder
[019:842] [2022-08-21 16:09:51 +0000.287786][7133] SetGraphLoop: SetGraphLoop 1
[019:842] [2022-08-21 16:09:51 +0000.287840][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[019:843] [2022-08-21 16:09:51 +0000.288644][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[019:844] [2022-08-21 16:09:51 +0000.289719][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[019:845] [2022-08-21 16:09:51 +0000.290611][3c32] NO get frame from decoder
[019:845] [2022-08-21 16:09:51 +0000.290755][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[019:845] [2022-08-21 16:09:51 +0000.291141][3c41] Start:
[019:846] [2022-08-21 16:09:51 +0000.291445][3c40] operator(): video render
started.
[019:846] [2022-08-21 16:09:51 +0000.291509][3c40] DriveRender working... (1/200)
[019:846] [2022-08-21 16:09:51 +0000.291537][3c40] Warning(video_render.cc:390): No
picture to display (1/50)
[019:846] [2022-08-21 16:09:51 +0000.292982][3c41] Start:
[019:847] [2022-08-21 16:09:51 +0000.293187][3c41] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[019:847] [2022-08-21 16:09:51 +0000.293293][3c41] Reset: history total size: 98
[019:847] [2022-08-21 16:09:51 +0000.293365][3c41] DeviceStart:
audioDevice_:0x7248f51000
[019:848] [2022-08-21 16:09:51 +0000.293414][3c41] DeviceStart: time profile
playout init before
[019:848] [2022-08-21 16:09:51 +0000.293466][3c41] DeviceStart: time profile
playout init end
[019:848] [2022-08-21 16:09:51 +0000.293511][3c41] OpenSlesOutput:Start playout

[019:848] [2022-08-21 16:09:51 +0000.294102][3c32] NO get frame from decoder


[019:852] [2022-08-21 16:09:51 +0000.297930][3c41] Create the opensl output player.
streamtype before:0

[019:852] [2022-08-21 16:09:51 +0000.298009][3c41] Create the opensl output player.


streamtype after:3

[019:854] [2022-08-21 16:09:51 +0000.299855][3c32] NO get frame from decoder


[019:877] [2022-08-21 16:09:51 +0000.322911][3c41] Enqueue opensl buffer size:1764
[019:910] [2022-08-21 16:09:51 +0000.356359][3c41] DeviceStart: time profile
playout all end
[019:911] [2022-08-21 16:09:51 +0000.356468][3c41] operator(): Audio playback
started.
[019:911] [2022-08-21 16:09:51 +0000.356650][3c41] operator(): Started now!
[019:911] [2022-08-21 16:09:51 +0000.357142][3c45]
PlayerSimpleBufferQueueCallbackHandler function
[019:911] [2022-08-21 16:09:51 +0000.357248][3c45] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[019:911] [2022-08-21 16:09:51 +0000.357286][3c45]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[019:912] [2022-08-21 16:09:51 +0000.357506][3c42] Pull audio failed.(wait video!)
[019:912] [2022-08-21 16:09:51 +0000.357553][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:913] [2022-08-21 16:09:51 +0000.358592][3c42] Pull audio failed.(wait video!)
[019:913] [2022-08-21 16:09:51 +0000.358626][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:914] [2022-08-21 16:09:51 +0000.359700][3c42] Pull audio failed.(wait video!)
[019:914] [2022-08-21 16:09:51 +0000.359761][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:915] [2022-08-21 16:09:51 +0000.360860][3c42] Pull audio failed.(wait video!)
[019:915] [2022-08-21 16:09:51 +0000.360901][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:916] [2022-08-21 16:09:51 +0000.361960][3c42] Pull audio failed.(wait video!)
[019:916] [2022-08-21 16:09:51 +0000.362010][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:918] [2022-08-21 16:09:51 +0000.364116][3c42] Pull audio failed.(wait video!)
[019:918] [2022-08-21 16:09:51 +0000.364184][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:919] [2022-08-21 16:09:51 +0000.365302][3c42] Pull audio failed.(wait video!)
[019:919] [2022-08-21 16:09:51 +0000.365362][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:920] [2022-08-21 16:09:51 +0000.366383][3c42] Pull audio failed.(wait video!)
[019:921] [2022-08-21 16:09:51 +0000.366446][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:922] [2022-08-21 16:09:51 +0000.367658][3c42] Pull audio failed.(wait video!)
[019:922] [2022-08-21 16:09:51 +0000.367738][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:923] [2022-08-21 16:09:51 +0000.369053][3c42] Pull audio failed.(wait video!)
[019:923] [2022-08-21 16:09:51 +0000.369130][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:925] [2022-08-21 16:09:51 +0000.370438][3c42] Pull audio failed.(wait video!)
[019:925] [2022-08-21 16:09:51 +0000.370513][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:926] [2022-08-21 16:09:51 +0000.371773][3c42] Pull audio failed.(wait video!)
[019:926] [2022-08-21 16:09:51 +0000.371853][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:926] [2022-08-21 16:09:51 +0000.372075][3c43] Error(video_source.cc:430): wait
decoder a frame: 8
[019:928] [2022-08-21 16:09:51 +0000.373659][3c42] Pull audio failed.(wait video!)
[019:928] [2022-08-21 16:09:51 +0000.374136][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:930] [2022-08-21 16:09:51 +0000.376087][3c42] Pull audio failed.(wait video!)
[019:930] [2022-08-21 16:09:51 +0000.376346][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:932] [2022-08-21 16:09:51 +0000.377438][3c42] Pull audio failed.(wait video!)
[019:932] [2022-08-21 16:09:51 +0000.377520][3c42]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[019:933] [2022-08-21 16:09:51 +0000.378466][3c43] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[019:938] [2022-08-21 16:09:51 +0000.383859][3c42] audio_frame_list_ empty
[019:945] [2022-08-21 16:09:51 +0000.391084][3c43] OnVideoFrameReady(1/200)
[019:945] [2022-08-21 16:09:51 +0000.391226][3c40] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[019:955] [2022-08-21 16:09:51 +0000.401202][3c40] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:54395913
[019:969] [2022-08-21 16:09:51 +0000.415123][3c40] lipsync_debug: render a video
frame
[019:969] [2022-08-21 16:09:51 +0000.415229][3c40] lipsync_debug: First video frame
rendering.
[019:979] [2022-08-21 16:09:51 +0000.425389][3c40]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:23 timeDelta:24 last
video ts:900 frame->pts:2970 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[019:980] [2022-08-21 16:09:51 +0000.425451][3c40] lipsync_debug: tsDelta -
timeDelta = -1
[019:980] [2022-08-21 16:09:51 +0000.425476][3c40] lipsync_debug:result remaining
time:0
[019:980] [2022-08-21 16:09:51 +0000.425499][3c40] dynamic updated lipsync delay:0
[020:004] [2022-08-21 16:09:51 +0000.450086][3c40] lipsync_debug:remaining time:10
tsDelta - timeDelta:12
[020:005] [2022-08-21 16:09:51 +0000.450552][3c40] lipsync_debug:result remaining
time:10
[020:055] [2022-08-21 16:09:51 +0000.500641][3c43]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[020:216] [2022-08-21 16:09:51 +0000.662023][3b0b] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:216] [2022-08-21 16:09:51 +0000.662086][3b0b] _deviceSampleRate:48000


[020:217] [2022-08-21 16:09:51 +0000.662683][3b0a] Run AGC when audioType = 0
[020:217] [2022-08-21 16:09:51 +0000.662746][3b0a]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:257] [2022-08-21 16:09:51 +0000.702786][3c42] audio_frame_list_ empty
[020:260] [2022-08-21 16:09:51 +0000.706106][3c42] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[020:260] [2022-08-21 16:09:51 +0000.706161][3c42] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[020:260] [2022-08-21 16:09:51 +0000.706303][3c41] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[020:260] [2022-08-21 16:09:51 +0000.706371][3c41] The audio playback speed:100
(1/100)
[020:261] [2022-08-21 16:09:51 +0000.706404][3c41] lipsync_debug: The current
played audio timestamp is:0(1/50)
[020:261] [2022-08-21 16:09:51 +0000.706431][3c41] First audio frame rendering
[020:261] [2022-08-21 16:09:51 +0000.706667][3c42] audio frame wait video
frame.last_video_timestamp:101 last_audio_timestamp:207.937
[020:354] [2022-08-21 16:09:51 +0000.799775][3c43] video frame wait audio frame:
last_video_timestamp:435 last_audio_timestamp:324.898
[020:614] [2022-08-21 16:09:52 +0000.59604][3c40] lipsync_debug:displaying video
ts:60120 The current displayed video timestamp is:54396572
[020:767] [2022-08-21 16:09:52 +0000.212412][3c40] Warning(video_render.cc:390): No
picture to display (1/50)
[020:780] [2022-08-21 16:09:52 +0000.226311][3b0a] haveEnoughProcessedData
internalAudioStream.length: 10
[020:911] [2022-08-21 16:09:52 +0000.356683][3c41] do work DoLipsync!
[020:911] [2022-08-21 16:09:52 +0000.356770][3c41] total delay:422 videoTsMS:938
audioTsMS:516 diff:422
[020:911] [2022-08-21 16:09:52 +0000.356802][3c41] Set the lipsync delay:422
[020:949] [2022-08-21 16:09:52 +0000.394613][3c45]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[021:332] [2022-08-21 16:09:52 +0000.778208][3c43] Error(video_source.cc:430): wait
decoder a frame: 0
[021:479] [2022-08-21 16:09:52 +0000.925065][3c40] lipsync_debug:displaying video
ts:120330 The current displayed video timestamp is:54397437
[021:632] [2022-08-21 16:09:53 +0000.78054][3c40] DriveRender working... (1/200)
[021:968] [2022-08-21 16:09:53 +0000.414281][3c45]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[022:181] [2022-08-21 16:09:53 +0000.627061][3c40]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:39 timeDelta:26 last
video ts:165150 frame->pts:168660 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[022:181] [2022-08-21 16:09:53 +0000.627142][3c40] lipsync_debug: tsDelta -
timeDelta = 13
[022:222] [2022-08-21 16:09:53 +0000.668192][3b0a] Run AGC when audioType = 0
[022:319] [2022-08-21 16:09:53 +0000.765020][3c40] lipsync_debug:displaying video
ts:179910 The current displayed video timestamp is:54398277
[022:375] [2022-08-21 16:09:53 +0000.820625][3c42] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 102324
[022:375] [2022-08-21 16:09:53 +0000.820709][3c42] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[022:435] [2022-08-21 16:09:53 +0000.881316][3c41] The audio playback speed:100
(1/100)
[022:436] [2022-08-21 16:09:53 +0000.881531][3c41] lipsync_debug: The current
played audio timestamp is:102324(1/50)
[022:509] [2022-08-21 16:09:53 +0000.954431][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[022:693] [2022-08-21 16:09:54 +0000.138752][3c43] Error(video_source.cc:430): wait
decoder a frame: 0
[022:705] [2022-08-21 16:09:54 +0000.150957][3c43] webrtc common_video plane
old ..... (1/1000) new: 8001 delete: 7996 diff: 5
[022:746] [2022-08-21 16:09:54 +0000.191464][3c40] lipsync_debug:remaining time:10
tsDelta - timeDelta:9
[022:746] [2022-08-21 16:09:54 +0000.191586][3c40] lipsync_debug:result remaining
time:9
[022:936] [2022-08-21 16:09:54 +0000.382217][3c45]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[023:036] [2022-08-21 16:09:54 +0000.482325][3c40] lipsync_debug:displaying video
ts:240120 The current displayed video timestamp is:54398994
[023:243] [2022-08-21 16:09:54 +0000.688771][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[023:245] [2022-08-21 16:09:54 +0000.690431][3c41] Stop:
[023:245] [2022-08-21 16:09:54 +0000.690671][3c40] operator(): Video Render
stopped.
[023:245] [2022-08-21 16:09:54 +0000.691139][3c41] Stop:
[023:246] [2022-08-21 16:09:54 +0000.691512][3c41] DeviceStop:
audioDevice_:0x7248f51000
[023:246] [2022-08-21 16:09:54 +0000.691704][3c41] OpenSlesOutput:Stop playout

[023:253] [2022-08-21 16:09:54 +0000.699358][3c41] DeviceStop: Done


[023:254] [2022-08-21 16:09:54 +0000.699586][3c41] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[023:254] [2022-08-21 16:09:54 +0000.699666][3c41] operator(): Stop now!
[023:254] [2022-08-21 16:09:54 +0000.700064][7133] Stop:
[023:254] [2022-08-21 16:09:54 +0000.700171][3c41] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[023:254] [2022-08-21 16:09:54 +0000.700300][7133] DeviceRelease:
audioDevice_:0x7248f51000
[023:254] [2022-08-21 16:09:54 +0000.700340][7133] OpenSlesOutput:Stop playout

[023:255] [2022-08-21 16:09:54 +0000.700392][7133] DeviceRelease: Release the


webrtc device object.
[023:255] [2022-08-21 16:09:54 +0000.700535][7133] OpenSlesOutput destruct.

[023:255] [2022-08-21 16:09:54 +0000.700603][7133] DeviceRelease: Done


[023:255] [2022-08-21 16:09:54 +0000.700717][7133] Stop:
[023:255] [2022-08-21 16:09:54 +0000.700792][3c40] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[023:260] [2022-08-21 16:09:54 +0000.705656][7133] global uninited!
[023:261] [2022-08-21 16:09:54 +0000.706782][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[023:261] [2022-08-21 16:09:54 +0000.706895][7133] ~MediaFilterGraph:
MediaFilterGraph destruct
[023:261] [2022-08-21 16:09:54 +0000.706924][7133] RemoveVideoBackGroud: hava not
add video backgroud
[023:261] [2022-08-21 16:09:54 +0000.706965][7133] UnbindInputFilter 0x7222e14758
this 0x7248ecc2a0
[023:261] [2022-08-21 16:09:54 +0000.707012][7133] ClearAllSource: remove source
filter, sourceid: 0x730d17c000
[023:261] [2022-08-21 16:09:54 +0000.707036][7133] DestoryDecoderByVideoSource
time:54399219 enter.

[023:261] [2022-08-21 16:09:54 +0000.707064][7133] ~VideoBindDecoder time:54399219


enter.

[023:261] [2022-08-21 16:09:54 +0000.707249][7133] CleanUp time:54399219 enter.


[023:264] [2022-08-21 16:09:54 +0000.709789][7133] CleanUp leave. expire time = 3
ms

[023:264] [2022-08-21 16:09:54 +0000.709846][7133] CleanUp time:54399222 enter.

[023:264] [2022-08-21 16:09:54 +0000.710097][7133] CleanUp leave. expire time = 0


ms

[023:265] [2022-08-21 16:09:54 +0000.710849][7133] ~VideoBindDecoder leave. expire


time = 4 ms

[023:265] [2022-08-21 16:09:54 +0000.710904][7133] DestoryDecoderByVideoSource


leave. expire time = 4 ms

[023:265] [2022-08-21 16:09:54 +0000.710941][7133] UnbindInputFilter 0x7222e14518


this 0x7222e14758
[023:265] [2022-08-21 16:09:54 +0000.710974][7133] UnbindInputFilter 0x7222e14458
this 0x7222e14518
[023:265] [2022-08-21 16:09:54 +0000.711124][7133] UnbindInputFilter 0x730d17c220
this 0x7222e14458
[023:265] [2022-08-21 16:09:54 +0000.711181][7133] UnbindInputFilter 0x7222e14698
this 0x7222e14b18
[023:265] [2022-08-21 16:09:54 +0000.711230][7133] UnbindInputFilter 0x7222e145d8
this 0x7222e14698
[023:265] [2022-08-21 16:09:54 +0000.711269][7133] UnbindInputFilter 0x730d17c220
this 0x7222e145d8
[023:266] [2022-08-21 16:09:54 +0000.711531][7133] ~GLESContext:
[023:267] [2022-08-21 16:09:54 +0000.712890][7133] GLESContext destruct finish.
[023:267] [2022-08-21 16:09:54 +0000.712933][7133] filter: filter pipeline destroy
this: 0x7248ecc200
[024:220] [2022-08-21 16:09:55 +0000.666286][3b0a] Run AGC when audioType = 0
[024:221] [2022-08-21 16:09:55 +0000.666735][3b0a]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:231] [2022-08-21 16:09:55 +0000.677111][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[025:951] [2022-08-21 16:09:57 +0000.397187][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[026:217] [2022-08-21 16:09:57 +0000.663131][3b0a] Run AGC when audioType = 0
[026:271] [2022-08-21 16:09:57 +0000.717145][7133] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[026:271] [2022-08-21 16:09:57 +0000.717217][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[026:272] [2022-08-21 16:09:57 +0000.717767][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[026:272] [2022-08-21 16:09:57 +0000.717973][3b05] operator() time:54402230 enter.

[026:272] [2022-08-21 16:09:57 +0000.718019][3b05] MediaFilterCamera, recording


file context:0x725bac0000 input texture:9
[026:273] [2022-08-21 16:09:57 +0000.719266][3b05] MicSource: Mic source
created:10x722498d300
[026:274] [2022-08-21 16:09:57 +0000.719960][3b05] alloc thread: 0x7222d9df80
name:worker1 thread id:489807256752 to Mic_source
[026:274] [2022-08-21 16:09:57 +0000.720005][3b05] audio: start the audio sender
thread.

[026:274] [2022-08-21 16:09:57 +0000.720060][3b05] construct OpenGLRenderProgram


0x7224cd1b98
[026:274] [2022-08-21 16:09:57 +0000.720086][3b05] CropFilter::SetOrientation
orientation: 90
[026:274] [2022-08-21 16:09:57 +0000.720201][3b05] filter: filter pipeline
construtc this: 0x7222e16e80
[026:274] [2022-08-21 16:09:57 +0000.720230][3b05] filter: filter pipeline2 update
pattern: 1
[026:274] [2022-08-21 16:09:57 +0000.720256][3b05] CameraSource::source_id_:4
[026:274] [2022-08-21 16:09:57 +0000.720322][3b05] RecordAudioSource::source_id_:5
[026:275] [2022-08-21 16:09:57 +0000.720523][3b05] BindInputFilter 0x7222efbbc0
this 0x7224cd1dc0
[026:275] [2022-08-21 16:09:57 +0000.720571][3b05] BindInputFilter 0x7222efbd58
this 0x7223673c50
[026:275] [2022-08-21 16:09:57 +0000.720621][3b05] BindInputFilter 0x7224cd1dc0
this 0x7222e16f20
[026:275] [2022-08-21 16:09:57 +0000.720682][3b05] setParamentForFilters:
speed:1.000000
[026:275] [2022-08-21 16:09:57 +0000.720713][3b05] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[026:275] [2022-08-21 16:09:57 +0000.720753][3b05] SetParamForFilter time:54402233
enter.

[026:275] [2022-08-21 16:09:57 +0000.720805][3b05] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[026:275] [2022-08-21 16:09:57 +0000.720830][3b05] SetParamForFilter: Params video
index is: 0
[026:275] [2022-08-21 16:09:57 +0000.720880][3b05] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[026:275] [2022-08-21 16:09:57 +0000.720904][3b05] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[026:275] [2022-08-21 16:09:57 +0000.720927][3b05] crop filter mode tpye:
citytravelvideo index:0
[026:279] [2022-08-21 16:09:57 +0000.725242][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:279] [2022-08-21 16:09:57 +0000.725305][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:279] [2022-08-21 16:09:57 +0000.725328][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:279] [2022-08-21 16:09:57 +0000.725734][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:280] [2022-08-21 16:09:57 +0000.725801][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:280] [2022-08-21 16:09:57 +0000.725830][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:280] [2022-08-21 16:09:57 +0000.725856][3b05]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:280] [2022-08-21 16:09:57 +0000.725917][3b05]
Warning(parse_template_json.cc:81): json parament no found the parament
[026:280] [2022-08-21 16:09:57 +0000.725946][3b05]
Warning(parse_template_json.cc:81): json parament no found the parament
[026:280] [2022-08-21 16:09:57 +0000.725982][3b05]
Warning(parse_template_json.cc:67): json parament no found the parament
[026:280] [2022-08-21 16:09:57 +0000.726008][3b05]
Warning(parse_template_json.cc:93): json parament no found the duration
[026:280] [2022-08-21 16:09:57 +0000.726040][3b05] SetParamForFilter leave. expire
time = 5 ms

[026:280] [2022-08-21 16:09:57 +0000.726146][3b05] OnOutputSizeChanged width 1920


height 1080
[026:280] [2022-08-21 16:09:57 +0000.726188][3b05] OpenGLFrameBuffer: width:1920
height:1080
[026:280] [2022-08-21 16:09:57 +0000.726279][3b05] OpenGLFrameBuffer: width:1920
height:1080
[026:280] [2022-08-21 16:09:57 +0000.726317][3b05] OpenGLFrameBuffer: width:1920
height:1080
[026:280] [2022-08-21 16:09:57 +0000.726355][3b05] OpenGLFrameBuffer: width:1920
height:1080
[026:280] [2022-08-21 16:09:57 +0000.726390][3b05] OpenGLFrameBuffer: width:1920
height:1080
[026:281] [2022-08-21 16:09:57 +0000.726424][3b05] OpenGLFrameBuffer: width:1920
height:1080
[026:281] [2022-08-21 16:09:57 +0000.726457][3b05] construct TrivalImageDrawer
0x7249069800
[026:281] [2022-08-21 16:09:57 +0000.726494][3b05] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7249069800 context 0x730d372b40
[026:281] [2022-08-21 16:09:57 +0000.726540][3b05] setupGLES:
[026:281] [2022-08-21 16:09:57 +0000.726863][3b05] OpenGLRenderProgram::Initialize.
[026:281] [2022-08-21 16:09:57 +0000.726915][3b05] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[026:281] [2022-08-21 16:09:57 +0000.726955][3b05] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[026:281] [2022-08-21 16:09:57 +0000.727012][3b05] Init open gl render:
0x7224cd1b98
[026:281] [2022-08-21 16:09:57 +0000.727042][3b05] Fragement shader path:
[026:281] [2022-08-21 16:09:57 +0000.727068][3b05] Fragement shader path:
[026:281] [2022-08-21 16:09:57 +0000.727089][3b05] create opengl program object.
[026:281] [2022-08-21 16:09:57 +0000.727132][3b05] create shader: vertex
[026:282] [2022-08-21 16:09:57 +0000.727668][3b05] create shader: fragment
[026:283] [2022-08-21 16:09:57 +0000.729380][3b05] Have not extra filter filename!
[026:284] [2022-08-21 16:09:57 +0000.729447][3b05] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[026:284] [2022-08-21 16:09:57 +0000.729498][3b05] OpenGLRenderProgram::Initialize
success.
[026:284] [2022-08-21 16:09:57 +0000.729799][3b05] Setup the OpenGL result:1
[026:284] [2022-08-21 16:09:57 +0000.730088][3b04] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4
[026:284] [2022-08-21 16:09:57 +0000.730240][3b04] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[026:284] [2022-08-21 16:09:57 +0000.730294][3b04] 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
[026:284] [2022-08-21 16:09:57 +0000.730354][3b04] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4
fileFD: -1
[026:284] [2022-08-21 16:09:57 +0000.730342][3ccf] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7316acba98
[026:285] [2022-08-21 16:09:57 +0000.730697][3b04] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4
is opened successfully
[026:285] [2022-08-21 16:09:57 +0000.730783][3b04] setupMediaProcessers:
[026:285] [2022-08-21 16:09:57 +0000.730816][3b04]
RecordingSessionInternalSimple:setup media processers.
[026:285] [2022-08-21 16:09:57 +0000.730908][3b04] construct AAC encoder
[026:285] [2022-08-21 16:09:57 +0000.731195][3b04] H264Encoder creating:
superfast011818
[026:285] [2022-08-21 16:09:57 +0000.731253][3b04] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[026:287] [2022-08-21 16:09:57 +0000.732421][3b04] H264Encode::GetMachineModel is
M2012K11AG
[026:287] [2022-08-21 16:09:57 +0000.732468][3b04] H264Encoder machine_mode
is:M2012K11AG
[026:287] [2022-08-21 16:09:57 +0000.732515][3b04] H264Encode::machine size :9
machine_mode:M2012K11AG
[026:287] [2022-08-21 16:09:57 +0000.732539][3b04] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[026:287] [2022-08-21 16:09:57 +0000.732562][3b04] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[026:287] [2022-08-21 16:09:57 +0000.732585][3b04] setupCompressionSession:
[026:287] [2022-08-21 16:09:57 +0000.732638][3b04] H264Encode::creating hareware
Encoder
[026:287] [2022-08-21 16:09:57 +0000.732661][3b04] AndroidHwAvcEncoder
time:54402245 enter.

[026:289] [2022-08-21 16:09:57 +0000.734948][3b04] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000073d15b0540 address:0x71f9937760
[026:289] [2022-08-21 16:09:57 +0000.735092][3b04] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[026:289] [2022-08-21 16:09:57 +0000.735136][3b04] The video avc hw codec address
is 0x723f0b79c8
[026:289] [2022-08-21 16:09:57 +0000.735220][3b04] AndroidHwAvcEncoder leave.
expire time = 2 ms

[026:289] [2022-08-21 16:09:57 +0000.735249][3b04] RegisterEncodeCompleteCallback


time:54402247 enter.

[026:289] [2022-08-21 16:09:57 +0000.735356][3b04] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[026:290] [2022-08-21 16:09:57 +0000.735420][3b04] InitEncode time:54402248 enter.

[026:290] [2022-08-21 16:09:57 +0000.735497][3b04] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[026:290] [2022-08-21 16:09:57 +0000.735532][3b04] Create time:54402248 enter.

[026:290] [2022-08-21 16:09:57 +0000.735557][3b04] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[026:290] [2022-08-21 16:09:57 +0000.735584][3b04]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x723f05f580
[026:290] [2022-08-21 16:09:57 +0000.735842][3b04]
supported_type:image/vnd.android.heic
[026:290] [2022-08-21 16:09:57 +0000.735914][3b04] supported_type:video/avc
[026:290] [2022-08-21 16:09:57 +0000.735948][3b04] name:OMX.qcom.video.encoder.avc
mime:video/avc
[026:290] [2022-08-21 16:09:57 +0000.735993][3b04] hwCodecPrefix :OMX.qcom.
[026:290] [2022-08-21 16:09:57 +0000.736022][3b04] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[026:290] [2022-08-21 16:09:57 +0000.736052][3b04] mediacodec_createCodecByName
time:54402248 enter.

[026:290] [2022-08-21 16:09:57 +0000.736077][3b04] WrapAndroidMediaCodec


time:54402248 enter.

[026:290] [2022-08-21 16:09:57 +0000.736236][3b04] WrapAndroidMediaCodec leave.


expire time = 0 ms

[026:308] [2022-08-21 16:09:57 +0000.753527][3b04] mediacodec_createCodecByName


leave. expire time = 18 ms

[026:308] [2022-08-21 16:09:57 +0000.753611][3b04] WrapAndroidMediaFromat


time:54402266 enter.

[026:308] [2022-08-21 16:09:57 +0000.753696][3b04] WrapAndroidMediaFromat leave.


expire time = 0 ms

[026:347] [2022-08-21 16:09:57 +0000.793321][3b04] Destroy time:54402305 enter.

[026:348] [2022-08-21 16:09:57 +0000.793409][3b04] WrapAndroidMediaFromat::


Destroy
[026:348] [2022-08-21 16:09:57 +0000.793445][3b04] Destroy leave. expire time = 1
ms

[026:348] [2022-08-21 16:09:57 +0000.793504][3b04] ~WrapAndroidMediaFromat


time:54402306 enter.

[026:348] [2022-08-21 16:09:57 +0000.793531][3b04] ~WrapAndroidMediaFromat leave.


expire time = 0 ms
[026:348] [2022-08-21 16:09:57 +0000.793590][3b04] Create leave. expire time = 58
ms

[026:348] [2022-08-21 16:09:57 +0000.793647][3b04] isSemiPlanarSupport


time:54402306 enter.

[026:348] [2022-08-21 16:09:57 +0000.793704][3b04] H264Encoder isSemiPlanarSupport


[026:348] [2022-08-21 16:09:57 +0000.793754][3b04] isSemiPlanarSupport leave.
expire time = 0 ms

[026:348] [2022-08-21 16:09:57 +0000.793796][3b04] creat hw H264Encoder success,


isSemiPlanar:1
[026:348] [2022-08-21 16:09:57 +0000.793933][3b04] InitEncode leave. expire time =
58 ms

[026:348] [2022-08-21 16:09:57 +0000.794011][3b04] H264Encode::created Encoder


[026:348] [2022-08-21 16:09:57 +0000.794039][3b04] H264Encode:: H264 encoder
created.
[026:348] [2022-08-21 16:09:57 +0000.794072][3b04] H264 encoder created.
[026:348] [2022-08-21 16:09:57 +0000.794096][3b04]
RecordingSessionInternalSimple:created avc encoder avc: 0x723f123540
[026:348] [2022-08-21 16:09:57 +0000.794123][3b04] setOutput:
[026:348] [2022-08-21 16:09:57 +0000.794147][3b04]
RecordingSessionInternalSimple:encoder set output to muxer!
[026:348] [2022-08-21 16:09:57 +0000.794179][3b04] request a key frame
[026:348] [2022-08-21 16:09:57 +0000.794202][3b04] H264Encode:: request a key frame
[026:349] [2022-08-21 16:09:57 +0000.794631][3b04] setDisplayRotate :90
[026:349] [2022-08-21 16:09:57 +0000.794694][3b04] 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
[026:349] [2022-08-21 16:09:57 +0000.794975][3b05] StartRecording:
[026:349] [2022-08-21 16:09:57 +0000.795078][3cc9] operator(): Set the recording
session in mic source. recording session: 0x7222efbc00
[026:349] [2022-08-21 16:09:57 +0000.795264][3b05] operator() leave. expire time =
77 ms

[026:365] [2022-08-21 16:09:57 +0000.810757][3cc7]


RecordAudioSource::PullAudioFrame
[026:387] [2022-08-21 16:09:57 +0000.832948][3b05] begine recode to first frame
spend time:115
[026:387] [2022-08-21 16:09:57 +0000.833161][3b05]
GPUImageProcessing::SetOrientation orientation: 90
[026:390] [2022-08-21 16:09:57 +0000.835969][3b05] drawYUV420 render
OpenGLRenderProgram:0x7224cd1b98
[026:420] [2022-08-21 16:09:57 +0000.865917][3b05] drawYUV420 render
OpenGLRenderProgram:0x7224cd1b98
[026:438] [2022-08-21 16:09:57 +0000.883965][3cce]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[026:457] [2022-08-21 16:09:57 +0000.903107][3b05] drawYUV420 render
OpenGLRenderProgram:0x7224cd1b98
[026:462] [2022-08-21 16:09:57 +0000.907499][3ccf] add aac audio track with id:1
[026:509] [2022-08-21 16:09:57 +0000.954783][3cc9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[026:532] [2022-08-21 16:09:57 +0000.977397][3cce] h264 add frame header cdr flag
[026:533] [2022-08-21 16:09:57 +0000.978509][3cce] h264 add frame header cdr flag
[026:534] [2022-08-21 16:09:57 +0000.979731][3cce] Received key frame:0
[026:534] [2022-08-21 16:09:57 +0000.979824][3cce] H264Encode:: get a sps pps
header!headerSize:32
[026:534] [2022-08-21 16:09:57 +0000.979939][3ccf] get the H.264 SPS parameter
[026:534] [2022-08-21 16:09:57 +0000.980186][3ccf] add video track with id:2
[026:537] [2022-08-21 16:09:57 +0000.982793][3ccf] get the H.264 PPS parameter
[026:538] [2022-08-21 16:09:57 +0000.983965][3ccf] get the H.264 IDR frame
[026:538] [2022-08-21 16:09:57 +0000.984067][3ccf] resss:true
[026:538] [2022-08-21 16:09:57 +0000.984096][3ccf] video start ts:0
[026:538] [2022-08-21 16:09:57 +0000.984363][3ccf] the video frame has been written
into MP4 file
[026:568] [2022-08-21 16:09:58 +0000.14326][3ccf] audio start ts:0
[026:569] [2022-08-21 16:09:58 +0000.14439][3ccf] the audio frame has been written
into MP4 file
[026:618] [2022-08-21 16:09:58 +0000.63649][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[026:689] [2022-08-21 16:09:58 +0000.135069][3b05] The convert RGB to YUV take 3
[026:745] [2022-08-21 16:09:58 +0000.190705][3cc7] resampled_data_size:11776
[026:922] [2022-08-21 16:09:58 +0000.368048][3cce] DTS queue for
Generator:0x7316acbcb8 468 499
[027:119] [2022-08-21 16:09:58 +0000.564791][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[027:188] [2022-08-21 16:09:58 +0000.633469][3b05] The convert RGB to YUV take 5
[027:229] [2022-08-21 16:09:58 +0000.674670][3cce] Push an pts:806 to dts queue.
[027:259] [2022-08-21 16:09:58 +0000.704749][3cce] last dts:766 currentPts:806
ppsOrSPS:0 queue length:2
[027:409] [2022-08-21 16:09:58 +0000.854814][3cc7] AF_SpeedFilter audio
0x7223673b00 PullFrame
[027:502] [2022-08-21 16:09:58 +0000.948408][3cc9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[027:602] [2022-08-21 16:09:59 +0000.48308][3cc7] AF_SpeedFilter::PullFrame eof4
[027:607] [2022-08-21 16:09:59 +0000.52557][3cc7]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[027:612] [2022-08-21 16:09:59 +0000.58353][3ccd]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 1068queue_audio_frame_:8
[027:618] [2022-08-21 16:09:59 +0000.63572][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[027:659] [2022-08-21 16:09:59 +0000.104954][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[027:691] [2022-08-21 16:09:59 +0000.136984][3b05] The convert RGB to YUV take 7
[027:756] [2022-08-21 16:09:59 +0000.202356][3cce] DTS queue for
Generator:0x7316acbcb8 1302 1331
[027:888] [2022-08-21 16:09:59 +0000.333831][3cce]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:1464
[027:928] [2022-08-21 16:09:59 +0000.373800][3cce] SendFrame
encodedImage._timeStamp:1464encodedImage->_length:86800
[027:948] [2022-08-21 16:09:59 +0000.393907][3b05] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[027:948] [2022-08-21 16:09:59 +0000.394337][3b05] GPUImageProcessing: input frame
width1920 X 1080
[027:951] [2022-08-21 16:09:59 +0000.396572][3b05] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[027:951] [2022-08-21 16:09:59 +0000.396670][3b05] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[027:962] [2022-08-21 16:09:59 +0000.407686][3cce] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1498 pts:1498
[028:060] [2022-08-21 16:09:59 +0000.505898][3cce] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1631
[028:060] [2022-08-21 16:09:59 +0000.506251][3cce] push video frame to H264
encoder. (100 frame for one log)
[028:061] [2022-08-21 16:09:59 +0000.506443][3cce] push video frame to H264
encoder. (100 frame for one log) used width:1920 height:1080

[028:061] [2022-08-21 16:09:59 +0000.506478][3cce] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:1631(100 frame for one
log)

[028:061] [2022-08-21 16:09:59 +0000.506519][3cce] The input pts:1631 fps:30


[028:094] [2022-08-21 16:09:59 +0000.540371][3cce] H264Encode::H264SWEncoder get
callback, length:117376 type:1 nalType:1length:117372
[028:117] [2022-08-21 16:09:59 +0000.563005][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:186] [2022-08-21 16:09:59 +0000.632194][3b05] The convert RGB to YUV take 3
[028:211] [2022-08-21 16:09:59 +0000.657154][3b05] webrtc common_video plane
old ..... (1/1000) new: 9001 delete: 8984 diff: 17
[028:217] [2022-08-21 16:09:59 +0000.663457][3b0a] Run AGC when audioType = 0
[028:218] [2022-08-21 16:09:59 +0000.663591][3b0a]
AudioDeviceDataHandler::MixAndSendOutFrame
[028:268] [2022-08-21 16:09:59 +0000.714125][3cc7]
RecordAudioSource::PullAudioFrame
[028:459] [2022-08-21 16:09:59 +0000.904757][3cce] h264 add frame header cdr flag
[028:459] [2022-08-21 16:09:59 +0000.905173][3cce] Received key frame:2000
[028:492] [2022-08-21 16:09:59 +0000.937532][3ccf] get the H.264 IDR frame
[028:502] [2022-08-21 16:09:59 +0000.948174][3cc9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[028:562] [2022-08-21 16:10:00 +0000.7982][3cce] Push an pts:2130 to dts queue.
[028:564] [2022-08-21 16:10:00 +0000.9551][3cce] DTS queue for
Generator:0x7316acbcb8 2130
[028:590] [2022-08-21 16:10:00 +0000.35619][3cce] last dts:2095 currentPts:2130
ppsOrSPS:0 queue length:2
[028:616] [2022-08-21 16:10:00 +0000.62000][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:684] [2022-08-21 16:10:00 +0000.129667][3b05] The convert RGB to YUV take 3
[029:005] [2022-08-21 16:10:00 +0000.450895][3cc7] resampled_data_size:2560
[029:042] [2022-08-21 16:10:00 +0000.487914][3cc7] AF_SpeedFilter audio
0x7223673b00 PullFrame
[029:113] [2022-08-21 16:10:00 +0000.559006][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:182] [2022-08-21 16:10:00 +0000.628350][3b05] The convert RGB to YUV take 3
[029:377] [2022-08-21 16:10:00 +0000.822998][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[029:393] [2022-08-21 16:10:00 +0000.838919][3cce] DTS queue for
Generator:0x7316acbcb8 2961
[029:509] [2022-08-21 16:10:00 +0000.955444][3cc9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[029:611] [2022-08-21 16:10:01 +0000.57170][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:677] [2022-08-21 16:10:01 +0000.123321][3b05] drawYUV420 render
OpenGLRenderProgram:0x7224cd1b98
[029:681] [2022-08-21 16:10:01 +0000.127327][3b05] The convert RGB to YUV take 2
[029:774] [2022-08-21 16:10:01 +0000.219689][3cc7] FilterPipeline2::OnAudioFrame
pts 3380 last_audio_timestamp_ 3380
[029:878] [2022-08-21 16:10:01 +0000.323633][3ccd]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 3390queue_audio_frame_:2
[029:883] [2022-08-21 16:10:01 +0000.329632][3cce] Push an pts:3461 to dts queue.
[029:928] [2022-08-21 16:10:01 +0000.374253][3cce] last dts:3427 currentPts:3461
ppsOrSPS:0 queue length:2
[029:951] [2022-08-21 16:10:01 +0000.397381][3cc7] AF_SpeedFilter::PullFrame eof4
[029:959] [2022-08-21 16:10:01 +0000.405006][3cc7]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[030:111] [2022-08-21 16:10:01 +0000.556588][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:167] [2022-08-21 16:10:01 +0000.613201][3cc7]
RecordAudioSource::PullAudioFrame
[030:183] [2022-08-21 16:10:01 +0000.629072][3b05] The convert RGB to YUV take 3
[030:217] [2022-08-21 16:10:01 +0000.662934][3b0b] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:217] [2022-08-21 16:10:01 +0000.663126][3b0b] _deviceSampleRate:48000

[030:220] [2022-08-21 16:10:01 +0000.665726][3cce] DTS queue for


Generator:0x7316acbcb8 3792
[030:221] [2022-08-21 16:10:01 +0000.666735][3b0a] Run AGC when audioType = 0
[030:281] [2022-08-21 16:10:01 +0000.727076][3b05] webrtc common_video plane
old ..... (1/1000) new: 10001 delete: 9984 diff: 17
[030:447] [2022-08-21 16:10:01 +0000.893295][3cc9] The output timestamp from audio
mixer change:54406398
[030:452] [2022-08-21 16:10:01 +0000.898346][3cce] h264 add frame header cdr flag
[030:453] [2022-08-21 16:10:01 +0000.899112][3cce] Received key frame:3993
[030:486] [2022-08-21 16:10:01 +0000.932104][3ccf] get the H.264 IDR frame
[030:502] [2022-08-21 16:10:01 +0000.947979][3b0a] On audio frame the broadcast
with timestamp:54406460 samples:480. (1000 frame for one log)

[030:511] [2022-08-21 16:10:01 +0000.956467][3cc9] Get data in mic source, which


has byte length:1764micAudioStream->length():20
[030:511] [2022-08-21 16:10:01 +0000.957027][3cc9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[030:611] [2022-08-21 16:10:02 +0000.56527][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:648] [2022-08-21 16:10:02 +0000.93513][3cc7] AF_SpeedFilter audio 0x7223673b00
PullFrame
[030:683] [2022-08-21 16:10:02 +0000.129314][3b05] The convert RGB to YUV take 2
[031:050] [2022-08-21 16:10:02 +0000.496100][3cce] DTS queue for
Generator:0x7316acbcb8 4594 4627
[031:088] [2022-08-21 16:10:02 +0000.534302][3cc7] AF_SpeedFilter audio time,
0x7223673b00 rcv time: 54407040
[031:089] [2022-08-21 16:10:02 +0000.534554][3cc7] AF_SpeedFilter audio time,
0x7223673b00 rcv time: 54407040in_nSamples:441
[031:097] [2022-08-21 16:10:02 +0000.542815][3b0a] haveEnoughProcessedData
internalAudioStream.length: 10
[031:111] [2022-08-21 16:10:02 +0000.557311][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[031:190] [2022-08-21 16:10:02 +0000.635722][3cc7] resampled_data_size:14848
[031:190] [2022-08-21 16:10:02 +0000.635926][3cc7]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 54407040
[031:190] [2022-08-21 16:10:02 +0000.635990][3cc7]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[031:192] [2022-08-21 16:10:02 +0000.637734][3b05] The convert RGB to YUV take 13
[031:218] [2022-08-21 16:10:02 +0000.664027][3cce]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:4795
[031:218] [2022-08-21 16:10:02 +0000.664102][3cce] Push an pts:4795 to dts queue.
[031:252] [2022-08-21 16:10:02 +0000.697657][3cce] SendFrame
encodedImage._timeStamp:4795encodedImage->_length:52960
[031:252] [2022-08-21 16:10:02 +0000.697774][3cce] last dts:4762 currentPts:4795
ppsOrSPS:0 queue length:2
[031:309] [2022-08-21 16:10:02 +0000.754726][3b05] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[031:309] [2022-08-21 16:10:02 +0000.754798][3b05] GPUImageProcessing: input frame
width1920 X 1080
[031:310] [2022-08-21 16:10:02 +0000.755849][3b05] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[031:310] [2022-08-21 16:10:02 +0000.755909][3b05] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[031:317] [2022-08-21 16:10:02 +0000.763136][3cce] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4860 pts:4860
[031:415] [2022-08-21 16:10:02 +0000.860937][3cce] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:4993
[031:415] [2022-08-21 16:10:02 +0000.861126][3cce] push video frame to H264
encoder. (100 frame for one log)

[031:415] [2022-08-21 16:10:02 +0000.861183][3cce] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[031:416] [2022-08-21 16:10:02 +0000.861853][3cce] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:4993(100 frame for one
log)

[031:416] [2022-08-21 16:10:02 +0000.861902][3cce] The input pts:4993 fps:30


[031:456] [2022-08-21 16:10:02 +0000.901983][3cce] H264Encode::H264SWEncoder get
callback, length:56960 type:1 nalType:1length:56956
[031:500] [2022-08-21 16:10:02 +0000.945476][3cc9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[031:610] [2022-08-21 16:10:03 +0000.56171][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[031:681] [2022-08-21 16:10:03 +0000.126626][3b05] The convert RGB to YUV take 4
[031:887] [2022-08-21 16:10:03 +0000.332479][3cce] DTS queue for
Generator:0x7316acbcb8 5426 5459
[032:036] [2022-08-21 16:10:03 +0000.482272][3cc7]
RecordAudioSource::PullAudioFrame
[032:110] [2022-08-21 16:10:03 +0000.555897][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[032:180] [2022-08-21 16:10:03 +0000.626310][3b05] The convert RGB to YUV take 2
[032:209] [2022-08-21 16:10:03 +0000.654908][3ccd]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 5712queue_audio_frame_:6
[032:219] [2022-08-21 16:10:03 +0000.664856][3b0a] Run AGC when audioType = 0
[032:219] [2022-08-21 16:10:03 +0000.665073][3b0a]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:247] [2022-08-21 16:10:03 +0000.692443][3cc7] AF_SpeedFilter audio
0x7223673b00 PullFrame
[032:253] [2022-08-21 16:10:03 +0000.699151][3cc7] AF_SpeedFilter::PullFrame eof4
[032:258] [2022-08-21 16:10:03 +0000.703557][3cc7]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[032:379] [2022-08-21 16:10:03 +0000.825517][3b05] webrtc common_video plane
old ..... (1/1000) new: 11001 delete: 10984 diff: 17
[032:456] [2022-08-21 16:10:03 +0000.901773][3cce] h264 add frame header cdr flag
[032:456] [2022-08-21 16:10:03 +0000.902072][3cce] Received key frame:5993
[032:486] [2022-08-21 16:10:03 +0000.931916][3ccf] get the H.264 IDR frame
[032:508] [2022-08-21 16:10:03 +0000.953676][3cc9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[032:554] [2022-08-21 16:10:04 +0000.355][3cce] Push an pts:6128 to dts queue.
[032:583] [2022-08-21 16:10:04 +0000.29201][3cce] last dts:6093 currentPts:6128
ppsOrSPS:0 queue length:2
[032:609] [2022-08-21 16:10:04 +0000.54504][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[032:677] [2022-08-21 16:10:04 +0000.123198][3b05] The convert RGB to YUV take 2
[032:686] [2022-08-21 16:10:04 +0000.131800][3cce] DTS queue for
Generator:0x7316acbcb8 6256
[032:812] [2022-08-21 16:10:04 +0000.257608][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[033:008] [2022-08-21 16:10:04 +0000.453835][3b05] drawYUV420 render
OpenGLRenderProgram:0x7224cd1b98
[033:109] [2022-08-21 16:10:04 +0000.554838][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[033:178] [2022-08-21 16:10:04 +0000.623887][3b05] The convert RGB to YUV take 2
[033:378] [2022-08-21 16:10:04 +0000.824504][3b05] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[033:451] [2022-08-21 16:10:04 +0000.896452][3cc7] resampled_data_size:5632
[033:511] [2022-08-21 16:10:04 +0000.956941][3cc9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[033:522] [2022-08-21 16:10:04 +0000.967486][3cce] DTS queue for
Generator:0x7316acbcb8 7092
[033:526] [2022-08-21 16:10:04 +0000.971755][3cc7] AF_SpeedFilter audio time 111,
0x7223673b00 out time: 54409420 org time: 54409420
[033:610] [2022-08-21 16:10:05 +0000.55878][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[033:630] [2022-08-21 16:10:05 +0000.75835][3cc7] AF_SpeedFilter audio time
[033:679] [2022-08-21 16:10:05 +0000.125329][3b05] The convert RGB to YUV take 4
[033:859] [2022-08-21 16:10:05 +0000.305247][3cc7] AF_SpeedFilter audio
0x7223673b00 PullFrame
[033:881] [2022-08-21 16:10:05 +0000.327309][3cce] Push an pts:7456 to dts queue.
[033:916] [2022-08-21 16:10:05 +0000.362288][3cc7]
RecordAudioSource::PullAudioFrame
[033:918] [2022-08-21 16:10:05 +0000.364250][3cce] last dts:7422 currentPts:7456
ppsOrSPS:0 queue length:2
[034:108] [2022-08-21 16:10:05 +0000.553727][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[034:176] [2022-08-21 16:10:05 +0000.621652][3b05] The convert RGB to YUV take 3
[034:221] [2022-08-21 16:10:05 +0000.667335][3b0a] Run AGC when audioType = 0
[034:352] [2022-08-21 16:10:05 +0000.797673][3cce] DTS queue for
Generator:0x7316acbcb8 7925
[034:448] [2022-08-21 16:10:05 +0000.894402][3b05] webrtc common_video plane
old ..... (1/1000) new: 12001 delete: 11984 diff: 17
[034:452] [2022-08-21 16:10:05 +0000.898299][3cce] h264 add frame header cdr flag
[034:453] [2022-08-21 16:10:05 +0000.898842][3cce] Received key frame:7992
[034:486] [2022-08-21 16:10:05 +0000.931794][3ccf] get the H.264 IDR frame
[034:500] [2022-08-21 16:10:05 +0000.946090][3cc9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[034:526] [2022-08-21 16:10:05 +0000.971479][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[034:551] [2022-08-21 16:10:05 +0000.996697][3cce]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:8125
[034:562] [2022-08-21 16:10:06 +0000.7941][3cc7] AF_SpeedFilter::PullFrame eof4
[034:566] [2022-08-21 16:10:06 +0000.12251][3cc7]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[034:572] [2022-08-21 16:10:06 +0000.17542][3ccd]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 8034queue_audio_frame_:9
[034:579] [2022-08-21 16:10:06 +0000.25265][3cce] SendFrame
encodedImage._timeStamp:8125encodedImage->_length:98560
[034:607] [2022-08-21 16:10:06 +0000.53197][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[034:676] [2022-08-21 16:10:06 +0000.121796][3b05] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[034:676] [2022-08-21 16:10:06 +0000.121924][3b05] GPUImageProcessing: input frame
width1920 X 1080
[034:677] [2022-08-21 16:10:06 +0000.122793][3b05] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[034:677] [2022-08-21 16:10:06 +0000.122925][3b05] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[034:680] [2022-08-21 16:10:06 +0000.126006][3b05] The convert RGB to YUV take 2
[034:686] [2022-08-21 16:10:06 +0000.131896][3cce] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:8224 pts:8224
[034:782] [2022-08-21 16:10:06 +0000.227909][3cce] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:8360
[034:782] [2022-08-21 16:10:06 +0000.228103][3cce] push video frame to H264
encoder. (100 frame for one log)

[034:782] [2022-08-21 16:10:06 +0000.228199][3cce] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[034:782] [2022-08-21 16:10:06 +0000.228264][3cce] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:8360(100 frame for one
log)

[034:782] [2022-08-21 16:10:06 +0000.228379][3cce] The input pts:8360 fps:30


[034:815] [2022-08-21 16:10:06 +0000.261150][3cce] H264Encode::H264SWEncoder get
callback, length:95328 type:1 nalType:1length:95324
[035:107] [2022-08-21 16:10:06 +0000.553162][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[035:178] [2022-08-21 16:10:06 +0000.624071][3b05] The convert RGB to YUV take 3
[035:180] [2022-08-21 16:10:06 +0000.625461][3cce] DTS queue for
Generator:0x7316acbcb8 8722 8757
[035:210] [2022-08-21 16:10:06 +0000.655748][3cce] Push an pts:8787 to dts queue.
[035:253] [2022-08-21 16:10:06 +0000.698783][3cce] last dts:8757 currentPts:8787
ppsOrSPS:0 queue length:2
[035:462] [2022-08-21 16:10:06 +0000.907811][3cc7] AF_SpeedFilter audio
0x7223673b00 PullFrame
[035:503] [2022-08-21 16:10:06 +0000.948944][3cc9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[035:606] [2022-08-21 16:10:07 +0000.52266][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[035:624] [2022-08-21 16:10:07 +0000.69721][3cc7] resampled_data_size:0
[035:673] [2022-08-21 16:10:07 +0000.118749][3b05] The convert RGB to YUV take 2
[035:789] [2022-08-21 16:10:07 +0000.234847][3cc7]
RecordAudioSource::PullAudioFrame
[036:013] [2022-08-21 16:10:07 +0000.458580][3cce] DTS queue for
Generator:0x7316acbcb8 9552 9591
[036:106] [2022-08-21 16:10:07 +0000.551805][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[036:183] [2022-08-21 16:10:07 +0000.628988][3b05] The convert RGB to YUV take 9
[036:217] [2022-08-21 16:10:07 +0000.663166][3b0a] Run AGC when audioType = 0
[036:218] [2022-08-21 16:10:07 +0000.663670][3b0a]
AudioDeviceDataHandler::MixAndSendOutFrame
[036:238] [2022-08-21 16:10:07 +0000.684278][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[036:341] [2022-08-21 16:10:07 +0000.786882][3b05] drawYUV420 render
OpenGLRenderProgram:0x7224cd1b98
[036:450] [2022-08-21 16:10:07 +0000.896386][3cce] h264 add frame header cdr flag
[036:451] [2022-08-21 16:10:07 +0000.896873][3cce] Received key frame:9987
[036:489] [2022-08-21 16:10:07 +0000.934526][3ccf] get the H.264 IDR frame
[036:510] [2022-08-21 16:10:07 +0000.955625][3cc9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[036:540] [2022-08-21 16:10:07 +0000.986293][3b05] webrtc common_video plane
old ..... (1/1000) new: 13001 delete: 12984 diff: 17
[036:548] [2022-08-21 16:10:07 +0000.993487][3cce] Push an pts:10122 to dts queue.
[036:583] [2022-08-21 16:10:08 +0000.29155][3cce] last dts:10089 currentPts:10122
ppsOrSPS:0 queue length:2
[036:608] [2022-08-21 16:10:08 +0000.53535][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[036:676] [2022-08-21 16:10:08 +0000.122104][3b05] The convert RGB to YUV take 4
[036:817] [2022-08-21 16:10:08 +0000.262716][3cce] DTS queue for
Generator:0x7316acbcb8 10387
[036:841] [2022-08-21 16:10:08 +0000.286951][3ccd]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 10356queue_audio_frame_:3
[036:885] [2022-08-21 16:10:08 +0000.330421][3cc7] AF_SpeedFilter::PullFrame eof4
[036:889] [2022-08-21 16:10:08 +0000.334807][3cc7]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[037:087] [2022-08-21 16:10:08 +0000.532942][3cc7] AF_SpeedFilter audio
0x7223673b00 PullFrame
[037:104] [2022-08-21 16:10:08 +0000.549949][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[037:174] [2022-08-21 16:10:08 +0000.620269][3b05] The convert RGB to YUV take 2
[037:508] [2022-08-21 16:10:08 +0000.954371][3cc9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[037:608] [2022-08-21 16:10:09 +0000.53879][3b05] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[037:648] [2022-08-21 16:10:09 +0000.94003][3cce] DTS queue for
Generator:0x7316acbcb8 11219
[037:673] [2022-08-21 16:10:09 +0000.119252][3b05] The convert RGB to YUV take 2
[037:688] [2022-08-21 16:10:09 +0000.133409][3cc7]
RecordAudioSource::PullAudioFrame
[037:875] [2022-08-21 16:10:09 +0000.321064][3cc7] resampled_data_size:8704
[037:884] [2022-08-21 16:10:09 +0000.330056][3cce]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:11454
[037:884] [2022-08-21 16:10:09 +0000.330174][3cce] Push an pts:11454 to dts queue.
[037:919] [2022-08-21 16:10:09 +0000.365038][3cce] SendFrame
encodedImage._timeStamp:11454encodedImage->_length:138032
[037:919] [2022-08-21 16:10:09 +0000.365243][3cce] last dts:11422 currentPts:11454
ppsOrSPS:0 queue length:2
[037:961] [2022-08-21 16:10:09 +0000.406495][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[038:042] [2022-08-21 16:10:09 +0000.488402][3b05] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[038:043] [2022-08-21 16:10:09 +0000.488494][3b05] GPUImageProcessing: input frame
width1920 X 1080
[038:044] [2022-08-21 16:10:09 +0000.489444][3b05] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[038:044] [2022-08-21 16:10:09 +0000.489524][3b05] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[038:051] [2022-08-21 16:10:09 +0000.496856][3cce] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:11591 pts:11591
[038:108] [2022-08-21 16:10:09 +0000.553749][3b05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[038:149] [2022-08-21 16:10:09 +0000.594580][3cce] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:11724
[038:149] [2022-08-21 16:10:09 +0000.594682][3cce] push video frame to H264
encoder. (100 frame for one log)

[038:149] [2022-08-21 16:10:09 +0000.594762][3cce] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080
[038:149] [2022-08-21 16:10:09 +0000.594812][3cce] H264Encode::push video frame to
H264 encoder, using hw H264:1 width:1920 height:1080 pts:11724(100 frame for one
log)

[038:149] [2022-08-21 16:10:09 +0000.594869][3cce] The input pts:11724 fps:30


[038:180] [2022-08-21 16:10:09 +0000.625723][3b05] The convert RGB to YUV take 5
[038:183] [2022-08-21 16:10:09 +0000.628606][3cce] H264Encode::H264SWEncoder get
callback, length:124768 type:1 nalType:1length:124764
[038:220] [2022-08-21 16:10:09 +0000.666100][3b0a] Run AGC when audioType = 0
[038:408] [2022-08-21 16:10:09 +0000.853941][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[038:409] [2022-08-21 16:10:09 +0000.854436][3b05] operator(): Stop
[038:409] [2022-08-21 16:10:09 +0000.854494][3b05] StopPullFrameAndWriteMp4
time:54414367 enter.

[038:409] [2022-08-21 16:10:09 +0000.854532][3b05] StopRecording:


[038:414] [2022-08-21 16:10:09 +0000.859715][3cc7] PullAudioFrame: PullFrame audio
finished.
[038:414] [2022-08-21 16:10:09 +0000.859786][3cc7]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[038:416] [2022-08-21 16:10:09 +0000.861936][3cce]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:360
[038:417] [2022-08-21 16:10:09 +0000.863245][3b04] stop recording
[038:418] [2022-08-21 16:10:09 +0000.863595][3b04]
RecordingSessionInternalSimple:destroy media processers
[038:418] [2022-08-21 16:10:09 +0000.863632][3b04] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[038:418] [2022-08-21 16:10:09 +0000.863669][3b04] H264Encode::flushing hareware
Encoder
[038:418] [2022-08-21 16:10:09 +0000.863847][3b04] Flush time:54414376 enter.

[038:418] [2022-08-21 16:10:09 +0000.863900][3b04] H264Encoder encoder flush


[038:418] [2022-08-21 16:10:09 +0000.863949][3b04] flush output queue
[038:502] [2022-08-21 16:10:09 +0000.947921][3cc9] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[038:733] [2022-08-21 16:10:10 +0000.178862][3b04] Flush leave. expire time = 315
ms

[038:733] [2022-08-21 16:10:10 +0000.179156][3b04] ~H264EncodeWrap:


[038:734] [2022-08-21 16:10:10 +0000.179465][3b04] ~H264Encode:
[038:734] [2022-08-21 16:10:10 +0000.179588][3b04] teardownCompressionSession:
H264Encode::destroying Encoder
[038:734] [2022-08-21 16:10:10 +0000.179659][3b04] Release time:54414692 enter.

[038:734] [2022-08-21 16:10:10 +0000.180056][3b04] Release:


MediaCodecVideoEncoder::Release _inited:1
[038:734] [2022-08-21 16:10:10 +0000.180184][3b04] Destroy time:54414692 enter.

[038:734] [2022-08-21 16:10:10 +0000.180254][3b04] H264Encoder encoderDestroy


[038:734] [2022-08-21 16:10:10 +0000.180313][3b04]
AndroidMediaCodecVideoEncoder::release env: 0x72384b7240
[038:734] [2022-08-21 16:10:10 +0000.180375][3b04]
AndroidMediaCodecVideoEncoder::Destroy
[038:784] [2022-08-21 16:10:10 +0000.229633][3b04] Destroy leave. expire time = 50
ms

[038:784] [2022-08-21 16:10:10 +0000.229994][3b04] Release leave. expire time = 50


ms

[038:784] [2022-08-21 16:10:10 +0000.230085][3b04] ~AndroidHwAvcEncoder


time:54414742 enter.

[038:784] [2022-08-21 16:10:10 +0000.230357][3b04] Release time:54414742 enter.

[038:785] [2022-08-21 16:10:10 +0000.230447][3b04] Release:


MediaCodecVideoEncoder:: has been released before, just return
[038:785] [2022-08-21 16:10:10 +0000.230495][3b04] Release leave. expire time = 1
ms

[038:785] [2022-08-21 16:10:10 +0000.230563][3b04] ~AndroidMediaCodecVideoEncoder


[038:785] [2022-08-21 16:10:10 +0000.230607][3b04] ~WrapAndroidMediaCodec
time:54414743 enter.

[038:785] [2022-08-21 16:10:10 +0000.230747][3b04] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[038:785] [2022-08-21 16:10:10 +0000.230822][3b04] video hevc hw codec


destructor:0x723f0b79c8

[038:785] [2022-08-21 16:10:10 +0000.230912][3b04] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[038:785] [2022-08-21 16:10:10 +0000.230995][3b04] teardownCompressionSession:


H264Encode::destroyed Encoder
[038:785] [2022-08-21 16:10:10 +0000.231074][3b04]
RecordingSessionInternalSimple:destroy aac encoder output!
[038:785] [2022-08-21 16:10:10 +0000.231122][3b04] AACSWEncode destructor
[038:794] [2022-08-21 16:10:10 +0000.239824][3ccf] MP4 close file successfully
[038:794] [2022-08-21 16:10:10 +0000.239928][3ccf] Recording session Internal:
notify recording ok
[038:794] [2022-08-21 16:10:10 +0000.240027][3ccf] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4,
output_video_timestamp_:11954 last_video_pts_:11954
[038:794] [2022-08-21 16:10:10 +0000.240097][3ccf] OnRecordFinish:
[038:795] [2022-08-21 16:10:10 +0000.240671][3ccf] onRecordingOk: net seek
pos:0record video duration:11987record audio duration:11958
[038:796] [2022-08-21 16:10:10 +0000.241452][3cc9] destructMicSource_w:
[038:796] [2022-08-21 16:10:10 +0000.241505][3cc9] setOutput_w:
MicSource::setOutput() 0x0
[038:796] [2022-08-21 16:10:10 +0000.241661][3b05] releaseThread 0x7222d9df80
[038:796] [2022-08-21 16:10:10 +0000.241719][3b05] ~MicSource: Mic source
destroyed:0x722498d300
[038:796] [2022-08-21 16:10:10 +0000.242327][3b05] StopPullFrameAndWriteMp4 leave.
expire time = 387 ms

[038:796] [2022-08-21 16:10:10 +0000.242388][3b05] DestroyPipelineAndFilters


time:54414754 enter.

[038:797] [2022-08-21 16:10:10 +0000.242494][3b05] UnbindInputFilter 0x7222efbbc0


this 0x7224cd1dc0
[038:797] [2022-08-21 16:10:10 +0000.242566][3b05] UnbindInputFilter 0x7222efbd58
this 0x7223673c50
[038:797] [2022-08-21 16:10:10 +0000.242631][3b05] UnbindInputFilter 0x7224cd1dc0
this 0x7222e16f20
[038:797] [2022-08-21 16:10:10 +0000.242668][3b05] filter: filter pipeline destroy
this: 0x7222e16e80
[038:799] [2022-08-21 16:10:10 +0000.245114][3b05] ClearVideoOfSources: recodring
total frames:0
[038:799] [2022-08-21 16:10:10 +0000.245179][3b05] ClearVideoOfSources:
[038:799] [2022-08-21 16:10:10 +0000.245218][3b05] GPUImageProcessing destruct.
[038:800] [2022-08-21 16:10:10 +0000.245497][3b05] destroy TrivalImageDrawer
0x7249069800
[038:800] [2022-08-21 16:10:10 +0000.245559][3b05] The shader has been initialize,
clean up them.

[038:800] [2022-08-21 16:10:10 +0000.245630][3b05] ~OpenGLFrameBuffer:


[038:800] [2022-08-21 16:10:10 +0000.245752][3b05] ~OpenGLFrameBuffer:
[038:800] [2022-08-21 16:10:10 +0000.245856][3b05] ~OpenGLFrameBuffer:
[038:800] [2022-08-21 16:10:10 +0000.246300][3b05] ~OpenGLFrameBuffer:
[038:801] [2022-08-21 16:10:10 +0000.246394][3b05] ~OpenGLFrameBuffer:
[038:801] [2022-08-21 16:10:10 +0000.246502][3b05] ~OpenGLFrameBuffer:
[038:801] [2022-08-21 16:10:10 +0000.246771][3b05] GPUImageProcessing destruct
finish.
[038:801] [2022-08-21 16:10:10 +0000.246863][3b05] GPURGBAFrame destruct.
[038:801] [2022-08-21 16:10:10 +0000.246922][3b05] destroy OpenGLRenderProgram
0x7224cd1b98
[038:801] [2022-08-21 16:10:10 +0000.246972][3b05] ~CameraSource time:54414759
enter.

[038:801] [2022-08-21 16:10:10 +0000.247005][3b05] ~CameraSource leave. expire


time = 0 ms

[038:801] [2022-08-21 16:10:10 +0000.247043][3b05] ~RecordAudioSource time:54414759


enter.

[038:801] [2022-08-21 16:10:10 +0000.247074][3b05] ~RecordAudioSource leave.


expire time = 0 ms

[038:801] [2022-08-21 16:10:10 +0000.247113][3b05] DestroyPipelineAndFilters


leave. expire time = 5 ms

[038:823] [2022-08-21 16:10:10 +0000.268823][7133]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[038:824] [2022-08-21 16:10:10 +0000.269512][7133] machine model :poco
[038:824] [2022-08-21 16:10:10 +0000.269573][7133] Support this machine model :poco
[038:824] [2022-08-21 16:10:10 +0000.269666][7133] global inited! current sdk
version: 07-20-936c45f
[038:824] [2022-08-21 16:10:10 +0000.269839][7133] filter: filter pipeline
construtc this: 0x7248ece900
[038:824] [2022-08-21 16:10:10 +0000.269877][7133] MediaFilterGraph:
MediaFilterGraph construct
[038:824] [2022-08-21 16:10:10 +0000.269921][7133] GLESContext:
[038:824] [2022-08-21 16:10:10 +0000.269973][7133] The result of eglGetDisplay is:
0xb400007326e87f00
[038:825] [2022-08-21 16:10:10 +0000.270989][7133] The result of creation:
0x7222faf680
[038:825] [2022-08-21 16:10:10 +0000.271115][7133] The result of
eglCreatePbufferSurface is: 0x7222faf880
[038:825] [2022-08-21 16:10:10 +0000.271219][7133] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4
[038:825] [2022-08-21 16:10:10 +0000.271279][7133] The source 0 speed:1
[038:825] [2022-08-21 16:10:10 +0000.271341][7133] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4,
delay: 0
[038:825] [2022-08-21 16:10:10 +0000.271386][7133] CreateDecoderByVideoSource
time:54414783 enter.

[038:826] [2022-08-21 16:10:10 +0000.271648][7133] running_decoder_count:0max


count:2
[038:826] [2022-08-21 16:10:10 +0000.271708][7133] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7248d1b400
[038:827] [2022-08-21 16:10:10 +0000.272517][3d13] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x725bb42600] Current FFmpeg version git-2021-06-16-
97cea6f

[038:891] [2022-08-21 16:10:10 +0000.337161][3d13] OnStreamInfoFound: video


duration_: 11987
[038:893] [2022-08-21 16:10:10 +0000.338780][3d14] NO get frame from decoder
[038:893] [2022-08-21 16:10:10 +0000.338798][7133] start decoder
[038:893] [2022-08-21 16:10:10 +0000.338903][7133] CreateDecoderByVideoSource
leave. expire time = 68 ms

[038:893] [2022-08-21 16:10:10 +0000.338971][7133] BindInputFilter 0x7222d82720


this 0x7248f88b18
[038:893] [2022-08-21 16:10:10 +0000.339017][7133] BindInputFilter 0x7248f88b18
this 0x7248f88d58
[038:893] [2022-08-21 16:10:10 +0000.339064][7133] BindInputFilter 0x7222d82720
this 0x7248fc4c98
[038:893] [2022-08-21 16:10:10 +0000.339101][7133] BindInputFilter 0x7248fc4c98
this 0x7249049958
[038:893] [2022-08-21 16:10:10 +0000.339122][7133] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4
[038:893] [2022-08-21 16:10:10 +0000.339152][7133] BindInputFilter 0x7248f88d58
this 0x7222e14098
[038:893] [2022-08-21 16:10:10 +0000.339181][7133] BindInputFilter 0x7222e14098
this 0x7248ece9a0
[038:893] [2022-08-21 16:10:10 +0000.339212][7133] BindInputFilter 0x7249049958
this 0x7222e14158
[038:893] [2022-08-21 16:10:10 +0000.339244][7133] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4
[038:893] [2022-08-21 16:10:10 +0000.339336][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[038:894] [2022-08-21 16:10:10 +0000.339847][7133] machine model :poco
[038:894] [2022-08-21 16:10:10 +0000.339888][7133] Support this machine model :poco
[038:894] [2022-08-21 16:10:10 +0000.339912][7133] global inited! current sdk
version: 07-20-936c45f
[038:894] [2022-08-21 16:10:10 +0000.339997][7133] GetPipeline:
-----------------------------------------
[038:894] [2022-08-21 16:10:10 +0000.340031][7133] GetPipeline: source:
0x7222d82500
[038:894] [2022-08-21 16:10:10 +0000.340078][7133] GetPipeline: filter: NULLFilter
[038:894] [2022-08-21 16:10:10 +0000.340121][7133] GetPipeline: filter: NULLFilter
[038:894] [2022-08-21 16:10:10 +0000.340160][7133] GetPipeline: filter: NULLFilter
[038:894] [2022-08-21 16:10:10 +0000.340181][7133] GetPipeline: audio filter:
AuidoNULLFilter
[038:894] [2022-08-21 16:10:10 +0000.340210][7133] GetPipeline: audio filter:
AuidoNULLFilter
[038:894] [2022-08-21 16:10:10 +0000.340255][7133] GetPipeline: audio filter:
AudioNUllFilter
[038:894] [2022-08-21 16:10:10 +0000.340356][7133] GetPipeline:
------------------------------------------
[038:895] [2022-08-21 16:10:10 +0000.340393][7133] filter: filter pipeline2 update
pattern: 0
[038:895] [2022-08-21 16:10:10 +0000.340706][7133] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[038:895] [2022-08-21 16:10:10 +0000.340936][7133] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[038:895] [2022-08-21 16:10:10 +0000.341014][7133] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[038:895] [2022-08-21 16:10:10 +0000.341267][7133] DeviceInit:
[038:896] [2022-08-21 16:10:10 +0000.341531][7133] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[038:896] [2022-08-21 16:10:10 +0000.341858][7133] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[038:896] [2022-08-21 16:10:10 +0000.342095][7133] CreatePlatformSpecificObjects:
[038:896] [2022-08-21 16:10:10 +0000.342133][7133] audio device use null audio
input and opensl output
[038:896] [2022-08-21 16:10:10 +0000.342163][7133] Create OpenSLES output module
with java VM support.

[038:896] [2022-08-21 16:10:10 +0000.342284][7133] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[038:897] [2022-08-21 16:10:10 +0000.342395][3d14] NO get frame from decoder
[038:897] [2022-08-21 16:10:10 +0000.342519][7133] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[038:900] [2022-08-21 16:10:10 +0000.345505][7133] Create OpenSLES output module
with buffer num:2

[038:900] [2022-08-21 16:10:10 +0000.345615][7133] Error(trace.cc:40): Init the


output and input for audio device template.
[038:900] [2022-08-21 16:10:10 +0000.345644][7133] Init the output device.

[038:900] [2022-08-21 16:10:10 +0000.345670][7133] Set the playout as stereo:1


[038:900] [2022-08-21 16:10:10 +0000.345697][7133] Set the sample rate to be:44100

[038:900] [2022-08-21 16:10:10 +0000.345776][7133] Low latency buffer size:144 low


sample rate:48000
[038:900] [2022-08-21 16:10:10 +0000.345821][7133] DeviceInit: Done
[038:900] [2022-08-21 16:10:10 +0000.346023][7133] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[038:901] [2022-08-21 16:10:10 +0000.346415][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[038:901] [2022-08-21 16:10:10 +0000.346506][7133]
MediaFilterPlayer::SetPlayerNotify 0x722354d240
[038:901] [2022-08-21 16:10:10 +0000.346577][7133]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[038:901] [2022-08-21 16:10:10 +0000.346618][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[038:901] [2022-08-21 16:10:10 +0000.346704][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[038:901] [2022-08-21 16:10:10 +0000.346868][7133] SetGraphLoop: SetGraphLoop 1
[038:901] [2022-08-21 16:10:10 +0000.346918][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[038:901] [2022-08-21 16:10:10 +0000.346980][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[038:902] [2022-08-21 16:10:10 +0000.347520][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[038:902] [2022-08-21 16:10:10 +0000.347780][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[038:901] [2022-08-21 16:10:10 +0000.347329][3d14] NO get frame from decoder
[038:902] [2022-08-21 16:10:10 +0000.348041][3d22] Start:
[038:902] [2022-08-21 16:10:10 +0000.348237][3d20] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7223647518
[038:904] [2022-08-21 16:10:10 +0000.350265][3d21] operator(): video render
started.
[038:904] [2022-08-21 16:10:10 +0000.350389][3d22] Start:
[038:905] [2022-08-21 16:10:10 +0000.350480][3d22] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[038:906] [2022-08-21 16:10:10 +0000.351513][3d22] Reset: history total size: 98
[038:906] [2022-08-21 16:10:10 +0000.351558][3d22] DeviceStart:
audioDevice_:0x7223ba1000
[038:906] [2022-08-21 16:10:10 +0000.351614][3d22] DeviceStart: time profile
playout init before
[038:906] [2022-08-21 16:10:10 +0000.351661][3d22] DeviceStart: time profile
playout init end
[038:906] [2022-08-21 16:10:10 +0000.351728][3d22] OpenSlesOutput:Start playout

[038:907] [2022-08-21 16:10:10 +0000.352650][3d22] Create the opensl output player.


streamtype before:0

[038:907] [2022-08-21 16:10:10 +0000.352697][3d22] Create the opensl output player.


streamtype after:3

[038:908] [2022-08-21 16:10:10 +0000.353526][3d14] NO get frame from decoder


[038:913] [2022-08-21 16:10:10 +0000.359163][3d14] NO get frame from decoder
[038:917] [2022-08-21 16:10:10 +0000.362556][3d14] NO get frame from decoder
[038:925] [2022-08-21 16:10:10 +0000.371157][3d14] NO get frame from decoder
[038:933] [2022-08-21 16:10:10 +0000.378704][3d14] NO get frame from decoder
[038:953] [2022-08-21 16:10:10 +0000.399168][3d22] Enqueue opensl buffer size:1764
[038:966] [2022-08-21 16:10:10 +0000.412005][3d21] DriveRender working... (1/200)
[038:983] [2022-08-21 16:10:10 +0000.429119][3d22] DeviceStart: time profile
playout all end
[038:983] [2022-08-21 16:10:10 +0000.429180][3d22] operator(): Audio playback
started.
[038:984] [2022-08-21 16:10:10 +0000.429671][3d23] Pull audio failed.(wait video!)
[038:984] [2022-08-21 16:10:10 +0000.429880][3d23]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[038:990] [2022-08-21 16:10:10 +0000.436136][3d23] Pull audio failed.(wait video!)
[038:990] [2022-08-21 16:10:10 +0000.436290][3d22] operator(): Started now!
[039:002] [2022-08-21 16:10:10 +0000.447983][3d24] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 3240pts ms:36000
[039:011] [2022-08-21 16:10:10 +0000.457390][3d21] lipsync_debug: First video frame
rendering.
[039:012] [2022-08-21 16:10:10 +0000.457741][3d24] OnVideoFrameReady(1/200)
[039:012] [2022-08-21 16:10:10 +0000.458231][3d21] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[039:211] [2022-08-21 16:10:10 +0000.656521][3d22] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[039:211] [2022-08-21 16:10:10 +0000.656666][3d22] First audio frame rendering
[039:360] [2022-08-21 16:10:10 +0000.806037][3d24] webrtc common_video plane
old ..... (1/1000) new: 14001 delete: 13996 diff: 5
[039:461] [2022-08-21 16:10:10 +0000.906789][3d21] lipsync_debug:displaying video
ts:42120 The current displayed video timestamp is:54415419
[039:464] [2022-08-21 16:10:10 +0000.910227][3d21] lipsync_debug: render a video
frame
[039:527] [2022-08-21 16:10:10 +0000.972758][3d21] lipsync_debug:result remaining
time:0
[039:527] [2022-08-21 16:10:10 +0000.972842][3d21] dynamic updated lipsync delay:0
[039:687] [2022-08-21 16:10:11 +0000.132795][3d24] Error(video_source.cc:430): wait
decoder a frame: 0
[039:694] [2022-08-21 16:10:11 +0000.140288][3d21]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:32 timeDelta:32 last
video ts:60120 frame->pts:63000 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[039:694] [2022-08-21 16:10:11 +0000.140378][3d21] lipsync_debug: tsDelta -
timeDelta = 0
[039:714] [2022-08-21 16:10:11 +0000.159964][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[039:755] [2022-08-21 16:10:11 +0000.200571][3d25]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[040:215] [2022-08-21 16:10:11 +0000.660553][3d21] lipsync_debug:displaying video
ts:102240 The current displayed video timestamp is:54416173
[040:217] [2022-08-21 16:10:11 +0000.663166][3b0b] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[040:217] [2022-08-21 16:10:11 +0000.663347][3b0b] _deviceSampleRate:48000

[040:219] [2022-08-21 16:10:11 +0000.664845][3b0a] Run AGC when audioType = 0


[040:219] [2022-08-21 16:10:11 +0000.665014][3b0a]
AudioDeviceDataHandler::MixAndSendOutFrame
[040:304] [2022-08-21 16:10:11 +0000.749755][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[040:305] [2022-08-21 16:10:11 +0000.750869][3d22] Stop:
[040:305] [2022-08-21 16:10:11 +0000.751075][3d21] operator(): Video Render
stopped.
[040:305] [2022-08-21 16:10:11 +0000.751325][3d22] Stop:
[040:306] [2022-08-21 16:10:11 +0000.751710][3d22] DeviceStop:
audioDevice_:0x7223ba1000
[040:306] [2022-08-21 16:10:11 +0000.751789][3d22] OpenSlesOutput:Stop playout

[040:309] [2022-08-21 16:10:11 +0000.754835][3d22] DeviceStop: Done


[040:309] [2022-08-21 16:10:11 +0000.754993][3d22] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[040:309] [2022-08-21 16:10:11 +0000.755057][3d22] operator(): Stop now!
[040:325] [2022-08-21 16:10:11 +0000.770600][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[040:325] [2022-08-21 16:10:11 +0000.770708][7133] StopPreView: Have Stopped,
operation cancel
[040:325] [2022-08-21 16:10:11 +0000.770787][7133] Stop:
[040:325] [2022-08-21 16:10:11 +0000.770896][3d22] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[040:325] [2022-08-21 16:10:11 +0000.771091][7133] DeviceRelease:
audioDevice_:0x7223ba1000
[040:325] [2022-08-21 16:10:11 +0000.771148][7133] OpenSlesOutput:Stop playout

[040:325] [2022-08-21 16:10:11 +0000.771217][7133] DeviceRelease: Release the


webrtc device object.
[040:325] [2022-08-21 16:10:11 +0000.771474][7133] OpenSlesOutput destruct.

[040:326] [2022-08-21 16:10:11 +0000.771571][7133] DeviceRelease: Done


[040:326] [2022-08-21 16:10:11 +0000.771659][7133] Stop:
[040:326] [2022-08-21 16:10:11 +0000.771732][3d21] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[040:332] [2022-08-21 16:10:11 +0000.778290][7133] global uninited!
[040:333] [2022-08-21 16:10:11 +0000.778429][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[040:333] [2022-08-21 16:10:11 +0000.778567][7133] ~MediaFilterGraph:
MediaFilterGraph destruct
[040:333] [2022-08-21 16:10:11 +0000.778620][7133] RemoveVideoBackGroud: hava not
add video backgroud
[040:333] [2022-08-21 16:10:11 +0000.778665][7133] UnbindInputFilter 0x7222e14098
this 0x7248ece9a0
[040:333] [2022-08-21 16:10:11 +0000.778752][7133] ClearAllSource: remove source
filter, sourceid: 0x7222d82500
[040:333] [2022-08-21 16:10:11 +0000.778783][7133] DestoryDecoderByVideoSource
time:54416291 enter.

[040:333] [2022-08-21 16:10:11 +0000.778819][7133] ~VideoBindDecoder time:54416291


enter.

[040:333] [2022-08-21 16:10:11 +0000.779026][7133] CleanUp time:54416291 enter.

[040:344] [2022-08-21 16:10:11 +0000.789563][7133] CleanUp leave. expire time = 11


ms

[040:344] [2022-08-21 16:10:11 +0000.789629][7133] CleanUp time:54416302 enter.

[040:344] [2022-08-21 16:10:11 +0000.789895][7133] CleanUp leave. expire time = 0


ms

[040:345] [2022-08-21 16:10:11 +0000.790444][7133] ~VideoBindDecoder leave. expire


time = 12 ms

[040:345] [2022-08-21 16:10:11 +0000.790482][7133] DestoryDecoderByVideoSource


leave. expire time = 12 ms

[040:345] [2022-08-21 16:10:11 +0000.790525][7133] UnbindInputFilter 0x7248f88d58


this 0x7222e14098
[040:345] [2022-08-21 16:10:11 +0000.790561][7133] UnbindInputFilter 0x7248f88b18
this 0x7248f88d58
[040:345] [2022-08-21 16:10:11 +0000.790595][7133] UnbindInputFilter 0x7222d82720
this 0x7248f88b18
[040:345] [2022-08-21 16:10:11 +0000.790627][7133] UnbindInputFilter 0x7249049958
this 0x7222e14158
[040:345] [2022-08-21 16:10:11 +0000.790661][7133] UnbindInputFilter 0x7248fc4c98
this 0x7249049958
[040:345] [2022-08-21 16:10:11 +0000.790697][7133] UnbindInputFilter 0x7222d82720
this 0x7248fc4c98
[040:348] [2022-08-21 16:10:11 +0000.793736][7133] ~GLESContext:
[040:349] [2022-08-21 16:10:11 +0000.794801][7133] GLESContext destruct finish.
[040:349] [2022-08-21 16:10:11 +0000.794853][7133] filter: filter pipeline destroy
this: 0x7248ece900
[040:351] [2022-08-21 16:10:11 +0000.796559][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[040:351] [2022-08-21 16:10:11 +0000.797160][7133] machine model :poco
[040:351] [2022-08-21 16:10:11 +0000.797201][7133] Support this machine model :poco
[040:351] [2022-08-21 16:10:11 +0000.797233][7133] global inited! current sdk
version: 07-20-936c45f
[040:352] [2022-08-21 16:10:11 +0000.797636][7133] filter: filter pipeline
construtc this: 0x7248ece900
[040:352] [2022-08-21 16:10:11 +0000.797677][7133] MediaFilterGraph:
MediaFilterGraph construct
[040:352] [2022-08-21 16:10:11 +0000.797702][7133] GLESContext:
[040:352] [2022-08-21 16:10:11 +0000.797768][7133] The result of eglGetDisplay is:
0xb400007326e87f00
[040:353] [2022-08-21 16:10:11 +0000.799047][7133] The result of creation:
0x7222faf600
[040:353] [2022-08-21 16:10:11 +0000.799190][7133] The result of
eglCreatePbufferSurface is: 0x7222faf880
[040:353] [2022-08-21 16:10:11 +0000.799306][7133] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4
[040:353] [2022-08-21 16:10:11 +0000.799340][7133] The source 0 speed:1
[040:353] [2022-08-21 16:10:11 +0000.799387][7133] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4,
delay: 0
[040:354] [2022-08-21 16:10:11 +0000.799451][7133] CreateDecoderByVideoSource
time:54416312 enter.

[040:354] [2022-08-21 16:10:11 +0000.799673][7133] running_decoder_count:0max


count:2
[040:354] [2022-08-21 16:10:11 +0000.799721][7133] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7248d1b400
[040:355] [2022-08-21 16:10:11 +0000.800846][3d3f] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7248cc9c00] Current FFmpeg version git-2021-06-16-
97cea6f

[040:417] [2022-08-21 16:10:11 +0000.862961][3d3f] OnStreamInfoFound: video


duration_: 11987
[040:419] [2022-08-21 16:10:11 +0000.864456][7133] start decoder
[040:419] [2022-08-21 16:10:11 +0000.864443][3d40] NO get frame from decoder
[040:419] [2022-08-21 16:10:11 +0000.864522][7133] CreateDecoderByVideoSource
leave. expire time = 65 ms

[040:419] [2022-08-21 16:10:11 +0000.864610][7133] BindInputFilter 0x7222d82720


this 0x7248f88518
[040:419] [2022-08-21 16:10:11 +0000.864654][7133] BindInputFilter 0x7248f88518
this 0x7248f885d8
[040:419] [2022-08-21 16:10:11 +0000.864698][7133] BindInputFilter 0x7222d82720
this 0x7248f88b18
[040:419] [2022-08-21 16:10:11 +0000.864738][7133] BindInputFilter 0x7248f88b18
this 0x7248f88d58
[040:419] [2022-08-21 16:10:11 +0000.864770][7133] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4
[040:419] [2022-08-21 16:10:11 +0000.864819][7133] BindInputFilter 0x7248f885d8
this 0x7248fc4c98
[040:419] [2022-08-21 16:10:11 +0000.864861][7133] BindInputFilter 0x7248fc4c98
this 0x7248ece9a0
[040:419] [2022-08-21 16:10:11 +0000.864904][7133] BindInputFilter 0x7248f88d58
this 0x7249049958
[040:419] [2022-08-21 16:10:11 +0000.864940][7133] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54402242.mp4
[040:420] [2022-08-21 16:10:11 +0000.865444][3d40] NO get frame from decoder
[040:420] [2022-08-21 16:10:11 +0000.866035][7133]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[040:420] [2022-08-21 16:10:11 +0000.866215][7133] MediaComposeFile time:54416378
enter.

[040:420] [2022-08-21 16:10:11 +0000.866265][7133] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[040:420] [2022-08-21 16:10:11 +0000.866311][3d40] NO get frame from decoder
[040:421] [2022-08-21 16:10:11 +0000.866418][7133] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[040:421] [2022-08-21 16:10:11 +0000.866464][7133] Recording session using default
bitrate support by app:31457280
[040:421] [2022-08-21 16:10:11 +0000.867017][3d40] NO get frame from decoder
[040:421] [2022-08-21 16:10:11 +0000.867034][3d4b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x71d2f106c0
[040:421] [2022-08-21 16:10:11 +0000.867189][3d4b] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[040:421] [2022-08-21 16:10:11 +0000.867328][7133] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[040:422] [2022-08-21 16:10:11 +0000.867612][7133] GetPipeline:
-----------------------------------------
[040:422] [2022-08-21 16:10:11 +0000.867721][7133] GetPipeline: source:
0x7222d82500
[040:422] [2022-08-21 16:10:11 +0000.867750][7133] GetPipeline: filter: NULLFilter
[040:422] [2022-08-21 16:10:11 +0000.867776][7133] GetPipeline: filter: NULLFilter
[040:422] [2022-08-21 16:10:11 +0000.867818][7133] GetPipeline: filter: NULLFilter
[040:422] [2022-08-21 16:10:11 +0000.867862][7133] GetPipeline: audio filter:
AuidoNULLFilter
[040:422] [2022-08-21 16:10:11 +0000.867887][7133] GetPipeline: audio filter:
AuidoNULLFilter
[040:422] [2022-08-21 16:10:11 +0000.867917][3d40] NO get frame from decoder
[040:422] [2022-08-21 16:10:11 +0000.867930][7133] GetPipeline: audio filter:
AudioNUllFilter
[040:422] [2022-08-21 16:10:11 +0000.867982][7133] GetPipeline:
------------------------------------------
[040:422] [2022-08-21 16:10:11 +0000.868036][7133] filter: filter pipeline2 update
pattern: 2
[040:422] [2022-08-21 16:10:11 +0000.868392][7133] MediaComposeFile leave. expire
time = 3 ms

[040:423] [2022-08-21 16:10:11 +0000.868838][7133] machine model :poco


[040:423] [2022-08-21 16:10:11 +0000.868879][7133] Support this machine model :poco
[040:423] [2022-08-21 16:10:11 +0000.868904][7133] global inited! current sdk
version: 07-20-936c45f
[040:423] [2022-08-21 16:10:11 +0000.869094][3d40] NO get frame from decoder
[040:424] [2022-08-21 16:10:11 +0000.869771][3d40] NO get frame from decoder
[040:425] [2022-08-21 16:10:11 +0000.870866][3d40] NO get frame from decoder
[040:443] [2022-08-21 16:10:11 +0000.889204][7133]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[040:444] [2022-08-21 16:10:11 +0000.889409][7133] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 283
[040:444] [2022-08-21 16:10:11 +0000.890257][7133]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[040:444] [2022-08-21 16:10:11 +0000.890334][7133] BeginCompose: BeginCompose, is
composing 0
[040:445] [2022-08-21 16:10:11 +0000.890449][3d4b] start recording, file path:
[040:445] [2022-08-21 16:10:11 +0000.890685][3d4b] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 283 audio_timescale:44100
video_timescale:90000
[040:445] [2022-08-21 16:10:11 +0000.890741][3d4b] 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
[040:445] [2022-08-21 16:10:11 +0000.890730][3d50] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x71ea763498
[040:445] [2022-08-21 16:10:11 +0000.890798][3d4b] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 283
[040:445] [2022-08-21 16:10:11 +0000.890890][3d4b] fd_open successed
handle:0xb4000073d16800b0
[040:445] [2022-08-21 16:10:11 +0000.891089][3d4b] create mp4 file:325
m_fileHandle: 0x7316b5f800
[040:445] [2022-08-21 16:10:11 +0000.891156][3d4b] MP4 file: is opened successfully
[040:445] [2022-08-21 16:10:11 +0000.891202][3d4b] setupMediaProcessers:
[040:445] [2022-08-21 16:10:11 +0000.891274][3d4b]
RecordingSessionInternalSimple:setup media processers.
[040:445] [2022-08-21 16:10:11 +0000.891298][3d4b] construct AAC encoder
[040:446] [2022-08-21 16:10:11 +0000.891616][3d4b] H264Encoder creating:
ultrafast012323
[040:446] [2022-08-21 16:10:11 +0000.891669][3d4b] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[040:446] [2022-08-21 16:10:11 +0000.892048][3d4b] H264Encode::GetMachineModel is
M2012K11AG
[040:446] [2022-08-21 16:10:11 +0000.892081][3d4b] H264Encoder machine_mode
is:M2012K11AG
[040:446] [2022-08-21 16:10:11 +0000.892129][3d4b] H264Encode::machine size :9
machine_mode:M2012K11AG
[040:446] [2022-08-21 16:10:11 +0000.892155][3d4b] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[040:446] [2022-08-21 16:10:11 +0000.892180][3d4b] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[040:446] [2022-08-21 16:10:11 +0000.892201][3d4b] setupCompressionSession:
[040:446] [2022-08-21 16:10:11 +0000.892222][3d4b] H264Encode::creating hareware
Encoder
[040:446] [2022-08-21 16:10:11 +0000.892245][3d4b] AndroidHwAvcEncoder
time:54416404 enter.

[040:447] [2022-08-21 16:10:11 +0000.893028][3d4b] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000073d15b0540 address:0x71f9937760
[040:447] [2022-08-21 16:10:11 +0000.893173][3d4b] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[040:447] [2022-08-21 16:10:11 +0000.893212][3d4b] The video avc hw codec address
is 0x723f0b7c20
[040:447] [2022-08-21 16:10:11 +0000.893278][3d4b] AndroidHwAvcEncoder leave.
expire time = 1 ms

[040:448] [2022-08-21 16:10:11 +0000.893938][3d4b] RegisterEncodeCompleteCallback


time:54416406 enter.

[040:449] [2022-08-21 16:10:11 +0000.894535][3d4b] RegisterEncodeCompleteCallback


leave. expire time = 1 ms

[040:449] [2022-08-21 16:10:11 +0000.894578][3d4b] InitEncode time:54416407 enter.

[040:449] [2022-08-21 16:10:11 +0000.894653][3d4b] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[040:449] [2022-08-21 16:10:11 +0000.894688][3d4b] Create time:54416407 enter.

[040:449] [2022-08-21 16:10:11 +0000.894713][3d4b] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[040:449] [2022-08-21 16:10:11 +0000.894778][3d4b]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x720d1a9b40
[040:449] [2022-08-21 16:10:11 +0000.894935][3d4b]
supported_type:image/vnd.android.heic
[040:449] [2022-08-21 16:10:11 +0000.894977][3d4b] supported_type:video/avc
[040:449] [2022-08-21 16:10:11 +0000.895004][3d4b] name:OMX.qcom.video.encoder.avc
mime:video/avc
[040:449] [2022-08-21 16:10:11 +0000.895047][3d4b] hwCodecPrefix :OMX.qcom.
[040:449] [2022-08-21 16:10:11 +0000.895075][3d4b] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[040:449] [2022-08-21 16:10:11 +0000.895127][3d4b] mediacodec_createCodecByName
time:54416407 enter.

[040:449] [2022-08-21 16:10:11 +0000.895164][3d4b] WrapAndroidMediaCodec


time:54416407 enter.

[040:450] [2022-08-21 16:10:11 +0000.895433][3d4b] WrapAndroidMediaCodec leave.


expire time = 1 ms

[040:484] [2022-08-21 16:10:11 +0000.930116][3d4b] mediacodec_createCodecByName


leave. expire time = 35 ms

[040:484] [2022-08-21 16:10:11 +0000.930199][3d4b] WrapAndroidMediaFromat


time:54416442 enter.

[040:484] [2022-08-21 16:10:11 +0000.930264][3d4b] WrapAndroidMediaFromat leave.


expire time = 0 ms

[040:534] [2022-08-21 16:10:11 +0000.980192][3d4b] Destroy time:54416492 enter.

[040:534] [2022-08-21 16:10:11 +0000.980281][3d4b] WrapAndroidMediaFromat::


Destroy
[040:534] [2022-08-21 16:10:11 +0000.980311][3d4b] Destroy leave. expire time = 0
ms

[040:534] [2022-08-21 16:10:11 +0000.980336][3d4b] ~WrapAndroidMediaFromat


time:54416492 enter.

[040:534] [2022-08-21 16:10:11 +0000.980360][3d4b] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[040:534] [2022-08-21 16:10:11 +0000.980385][3d4b] Create leave. expire time = 86


ms

[040:535] [2022-08-21 16:10:11 +0000.980410][3d4b] isSemiPlanarSupport


time:54416493 enter.

[040:535] [2022-08-21 16:10:11 +0000.980433][3d4b] H264Encoder isSemiPlanarSupport


[040:535] [2022-08-21 16:10:11 +0000.980457][3d4b] isSemiPlanarSupport leave.
expire time = 0 ms

[040:535] [2022-08-21 16:10:11 +0000.980481][3d4b] creat hw H264Encoder success,


isSemiPlanar:1
[040:535] [2022-08-21 16:10:11 +0000.980665][3d4b] InitEncode leave. expire time =
86 ms

[040:535] [2022-08-21 16:10:11 +0000.980733][3d4b] H264Encode::created Encoder


[040:535] [2022-08-21 16:10:11 +0000.980762][3d4b] H264Encode:: H264 encoder
created.
[040:535] [2022-08-21 16:10:11 +0000.980824][3d4b] H264 encoder created.
[040:535] [2022-08-21 16:10:11 +0000.980848][3d4b]
RecordingSessionInternalSimple:created avc encoder avc: 0x71ea9765c0
[040:535] [2022-08-21 16:10:11 +0000.980872][3d4b] setOutput:
[040:535] [2022-08-21 16:10:11 +0000.980894][3d4b]
RecordingSessionInternalSimple:encoder set output to muxer!
[040:535] [2022-08-21 16:10:11 +0000.980926][3d4b] request a key frame
[040:535] [2022-08-21 16:10:11 +0000.980950][3d4b] H264Encode:: request a key frame
[040:539] [2022-08-21 16:10:11 +0000.985108][3d4b] setDisplayRotate :90
[040:540] [2022-08-21 16:10:11 +0000.985509][3d4b] 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
[040:545] [2022-08-21 16:10:11 +0000.990510][3d4c] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[040:546] [2022-08-21 16:10:11 +0000.992112][3d4c]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[040:584] [2022-08-21 16:10:12 +0000.30170][3d4c] DTS queue for
Generator:0x71ea7636b8 10 36 66 100 133
[040:605] [2022-08-21 16:10:12 +0000.50702][3d4f] audio_frame_list_ empty
[040:698] [2022-08-21 16:10:12 +0000.143468][3d4b] setDisplayRotate :90
[040:698] [2022-08-21 16:10:12 +0000.143526][3d4b] 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
[040:698] [2022-08-21 16:10:12 +0000.144318][3d50] add aac audio track with id:1
[040:699] [2022-08-21 16:10:12 +0000.144400][3d50] audio start ts:0
[040:699] [2022-08-21 16:10:12 +0000.144436][3d50] the audio frame has been written
into MP4 file
[040:708] [2022-08-21 16:10:12 +0000.153692][3d4c] h264 add frame header cdr flag
[040:710] [2022-08-21 16:10:12 +0000.155560][3d4c] h264 add frame header cdr flag
[040:710] [2022-08-21 16:10:12 +0000.156181][3d4c] Received key frame:10
[040:710] [2022-08-21 16:10:12 +0000.156229][3d4c] H264Encode:: get a sps pps
header!headerSize:32
[040:711] [2022-08-21 16:10:12 +0000.156414][3d50] get the H.264 SPS parameter
[040:711] [2022-08-21 16:10:12 +0000.156650][3d50] add video track with id:2
[040:713] [2022-08-21 16:10:12 +0000.159140][3d50] get the H.264 PPS parameter
[040:714] [2022-08-21 16:10:12 +0000.160084][3d50] get the H.264 IDR frame
[040:714] [2022-08-21 16:10:12 +0000.160144][3d50] resss:true
[040:714] [2022-08-21 16:10:12 +0000.160170][3d50] video start ts:10
[040:715] [2022-08-21 16:10:12 +0000.160439][3d50] the video frame has been written
into MP4 file
[040:763] [2022-08-21 16:10:12 +0000.209361][3d4e] Error(video_source.cc:430): wait
decoder a frame: 0
[040:824] [2022-08-21 16:10:12 +0000.269423][3d4c] Push an pts:806 to dts queue.
[040:892] [2022-08-21 16:10:12 +0000.337775][3d4c] last dts:766 currentPts:806
ppsOrSPS:0 queue length:4
[040:901] [2022-08-21 16:10:12 +0000.346795][3d4c] DTS queue for
Generator:0x71ea7636b8 867 900
[040:977] [2022-08-21 16:10:12 +0000.423099][3d4f] audio_frame_list_ empty
[041:055] [2022-08-21 16:10:12 +0000.500596][3d4b] setDisplayRotate :90
[041:055] [2022-08-21 16:10:12 +0000.500648][3d4b] 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
[041:075] [2022-08-21 16:10:12 +0000.520911][3d4e] FilterPipeline2::OnVideoFrame
pts 128700 last_video_timestamp_ 1430
[041:096] [2022-08-21 16:10:12 +0000.541724][3d4f] FilterPipeline2::OnAudioFrame
pts 79840 last_audio_timestamp_ 1810.43
[041:178] [2022-08-21 16:10:12 +0000.624027][3d4e] Error(video_source.cc:430): wait
decoder a frame: 15
[041:203] [2022-08-21 16:10:12 +0000.648496][3d4c] DTS queue for
Generator:0x71ea7636b8 1596 1631 1665 1697 1728 1762 1794 1832
[041:263] [2022-08-21 16:10:12 +0000.708466][3d4c] Push an pts:2130 to dts queue.
[041:305] [2022-08-21 16:10:12 +0000.750595][3d4c] h264 add frame header cdr flag
[041:305] [2022-08-21 16:10:12 +0000.751288][3d4c] Received key frame:2000
[041:342] [2022-08-21 16:10:12 +0000.787687][3d4f] audio_frame_list_ empty
[041:406] [2022-08-21 16:10:12 +0000.851663][3d4b] setDisplayRotate :90
[041:406] [2022-08-21 16:10:12 +0000.851744][3d4b] 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
[041:411] [2022-08-21 16:10:12 +0000.856866][3d50] get the H.264 IDR frame
[041:416] [2022-08-21 16:10:12 +0000.861885][3d4c] last dts:2095 currentPts:2130
ppsOrSPS:0 queue length:5
[041:447] [2022-08-21 16:10:12 +0000.893149][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[041:492] [2022-08-21 16:10:12 +0000.937561][3d4c] DTS queue for
Generator:0x71ea7636b8 2430 2463 2495 2528 2562 2593 2629
[041:555] [2022-08-21 16:10:13 +0000.744][3d4e] webrtc common_video plane
old ..... (1/1000) new: 15001 delete: 14952 diff: 49
[041:598] [2022-08-21 16:10:13 +0000.43900][3d4c] SendFrame
encodedImage._timeStamp:2794encodedImage->_length:110000
[041:611] [2022-08-21 16:10:13 +0000.57112][3d4c] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:2895 pts:2895
[041:613] [2022-08-21 16:10:13 +0000.58620][3d4c] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3096
[041:613] [2022-08-21 16:10:13 +0000.58685][3d4c] push video frame to H264 encoder.
(100 frame for one log)

[041:613] [2022-08-21 16:10:13 +0000.58714][3d4c] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[041:613] [2022-08-21 16:10:13 +0000.58742][3d4c] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3096(100 frame for one
log)

[041:613] [2022-08-21 16:10:13 +0000.58777][3d4c] The input pts:3096 fps:30


[041:695] [2022-08-21 16:10:13 +0000.141378][3d4f] audio_frame_list_ empty
[041:700] [2022-08-21 16:10:13 +0000.146002][3d4b] setDisplayRotate :90
[041:700] [2022-08-21 16:10:13 +0000.146066][3d4b] 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
[041:712] [2022-08-21 16:10:13 +0000.157634][3d4c] H264Encode::H264SWEncoder get
callback, length:6912 type:1 nalType:1length:6908
[041:725] [2022-08-21 16:10:13 +0000.170838][3d4e] Error(video_source.cc:430): wait
decoder a frame: 0
[041:738] [2022-08-21 16:10:13 +0000.184198][3d4c] Push an pts:3461 to dts queue.
[041:739] [2022-08-21 16:10:13 +0000.185050][3d4c] DTS queue for
Generator:0x71ea7636b8 3260 3294 3326 3361 3395 3427 3461
[041:799] [2022-08-21 16:10:13 +0000.245391][3d4c] last dts:3427 currentPts:3461
ppsOrSPS:0 queue length:9
[041:906] [2022-08-21 16:10:13 +0000.351948][3d4c] h264 add frame header cdr flag
[041:906] [2022-08-21 16:10:13 +0000.352215][3d4c] Received key frame:3993
[041:908] [2022-08-21 16:10:13 +0000.353701][3d50] get the H.264 IDR frame
[041:976] [2022-08-21 16:10:13 +0000.421404][3d4b] setDisplayRotate :90
[041:976] [2022-08-21 16:10:13 +0000.421493][3d4b] 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
[041:978] [2022-08-21 16:10:13 +0000.423643][3d4c] DTS queue for
Generator:0x71ea7636b8 4059 4092 4131 4158 4192 4228 4262 4292
[042:034] [2022-08-21 16:10:13 +0000.479864][3d4e] Error(video_source.cc:430): wait
decoder a frame: 0
[042:084] [2022-08-21 16:10:13 +0000.530343][3d4c] Push an pts:4795 to dts queue.
[042:117] [2022-08-21 16:10:13 +0000.562421][3d4f] audio_frame_list_ empty
[042:122] [2022-08-21 16:10:13 +0000.567722][3d4c] last dts:4762 currentPts:4795
ppsOrSPS:0 queue length:7
[042:144] [2022-08-21 16:10:13 +0000.590298][3d4c] DTS queue for
Generator:0x71ea7636b8 4926 4960 4993 5026 5059 5092
[042:219] [2022-08-21 16:10:13 +0000.665118][3b0a] Run AGC when audioType = 0
[042:243] [2022-08-21 16:10:13 +0000.688496][3d4b] setDisplayRotate :90
[042:243] [2022-08-21 16:10:13 +0000.688562][3d4b] 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
[042:336] [2022-08-21 16:10:13 +0000.782087][3d4e] Error(video_source.cc:430): wait
decoder a frame: 0
[042:348] [2022-08-21 16:10:13 +0000.793732][3d4c] DTS queue for
Generator:0x71ea7636b8 5692 5727 5758 5793 5828 5859 5894 5928 5961 5993
[042:372] [2022-08-21 16:10:13 +0000.817663][3d4c] Push an pts:6128 to dts queue.
[042:400] [2022-08-21 16:10:13 +0000.846185][3d4c] h264 add frame header cdr flag
[042:401] [2022-08-21 16:10:13 +0000.846470][3d4c] Received key frame:5993
[042:415] [2022-08-21 16:10:13 +0000.861141][3d50] get the H.264 IDR frame
[042:458] [2022-08-21 16:10:13 +0000.904120][3d4f] audio_frame_list_ empty
[042:465] [2022-08-21 16:10:13 +0000.911220][3d4b] setDisplayRotate :90
[042:465] [2022-08-21 16:10:13 +0000.911272][3d4b] 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
[042:471] [2022-08-21 16:10:13 +0000.917276][3d4c] SendFrame
encodedImage._timeStamp:6128encodedImage->_length:66448
[042:472] [2022-08-21 16:10:13 +0000.917398][3d4c] last dts:6093 currentPts:6128
ppsOrSPS:0 queue length:8
[042:486] [2022-08-21 16:10:13 +0000.931771][3d4c] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6460
[042:486] [2022-08-21 16:10:13 +0000.931946][3d4c] push video frame to H264
encoder. (100 frame for one log)

[042:486] [2022-08-21 16:10:13 +0000.932008][3d4c] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[042:486] [2022-08-21 16:10:13 +0000.932047][3d4c] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6460(100 frame for one
log)

[042:486] [2022-08-21 16:10:13 +0000.932108][3d4c] The input pts:6460 fps:30


[042:496] [2022-08-21 16:10:13 +0000.941892][3d4c] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6256 pts:6256
[042:551] [2022-08-21 16:10:13 +0000.997068][3d4c] H264Encode::H264SWEncoder get
callback, length:46880 type:1 nalType:1length:46876
[042:553] [2022-08-21 16:10:13 +0000.998588][3d4c] DTS queue for
Generator:0x71ea7636b8 6559 6589 6624 6657 6689 6722 6758
[042:592] [2022-08-21 16:10:14 +0000.38292][3d4e] webrtc common_video plane
old ..... (1/1000) new: 16001 delete: 15940 diff: 61
[042:705] [2022-08-21 16:10:14 +0000.150794][3d4b] setDisplayRotate :90
[042:705] [2022-08-21 16:10:14 +0000.150849][3d4b] 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
[042:729] [2022-08-21 16:10:14 +0000.174949][3d4c] Push an pts:7456 to dts queue.
[042:731] [2022-08-21 16:10:14 +0000.177185][3d4e] Error(video_source.cc:430): wait
decoder a frame: 0
[042:764] [2022-08-21 16:10:14 +0000.210129][3d4c] DTS queue for
Generator:0x71ea7636b8 7422 7456 7490 7521 7557
[042:799] [2022-08-21 16:10:14 +0000.244879][3d4c] last dts:7422 currentPts:7456
ppsOrSPS:0 queue length:8
[042:877] [2022-08-21 16:10:14 +0000.322515][3d4f] audio_frame_list_ empty
[042:886] [2022-08-21 16:10:14 +0000.331672][3d4e] video frame wait audio frame:
last_video_timestamp:8360 last_audio_timestamp:8147.44
[042:912] [2022-08-21 16:10:14 +0000.358158][3d4c] h264 add frame header cdr flag
[042:913] [2022-08-21 16:10:14 +0000.358409][3d4c] Received key frame:7992
[042:916] [2022-08-21 16:10:14 +0000.361512][3d50] get the H.264 IDR frame
[042:965] [2022-08-21 16:10:14 +0000.410410][3d4b] setDisplayRotate :90
[042:965] [2022-08-21 16:10:14 +0000.410501][3d4b] 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
[042:972] [2022-08-21 16:10:14 +0000.417602][3d4c] DTS queue for
Generator:0x71ea7636b8 8224 8259 8289 8323 8360 8390
[043:028] [2022-08-21 16:10:14 +0000.477475][3d4e] Error(video_source.cc:430): wait
decoder a frame: 0
[043:045] [2022-08-21 16:10:14 +0000.490533][3d4c] Push an pts:8787 to dts queue.
[043:123] [2022-08-21 16:10:14 +0000.568614][3d4c] last dts:8757 currentPts:8787
ppsOrSPS:0 queue length:10
[043:153] [2022-08-21 16:10:14 +0000.599318][3d4c] DTS queue for
Generator:0x71ea7636b8 9020 9054 9087 9132 9155 9187 9218 9252
[043:207] [2022-08-21 16:10:14 +0000.653159][3b0a] haveEnoughProcessedData
internalAudioStream.length: 0
[043:238] [2022-08-21 16:10:14 +0000.683484][3d4f] audio_frame_list_ empty
[043:257] [2022-08-21 16:10:14 +0000.702450][3d4b] setDisplayRotate :90
[043:257] [2022-08-21 16:10:14 +0000.702502][3d4b] 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
[043:305] [2022-08-21 16:10:14 +0000.751048][3d4c] SendFrame
encodedImage._timeStamp:9453encodedImage->_length:10624
[043:345] [2022-08-21 16:10:14 +0000.790605][3d4c] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:9824
[043:345] [2022-08-21 16:10:14 +0000.790680][3d4c] push video frame to H264
encoder. (100 frame for one log)

[043:345] [2022-08-21 16:10:14 +0000.790725][3d4c] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[043:345] [2022-08-21 16:10:14 +0000.790755][3d4c] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:9824(100 frame for one
log)

[043:345] [2022-08-21 16:10:14 +0000.790796][3d4c] The input pts:9824 fps:30


[043:349] [2022-08-21 16:10:14 +0000.795366][3d4c] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:9620 pts:9620
[043:392] [2022-08-21 16:10:14 +0000.838357][3d4c] H264Encode::H264SWEncoder get
callback, length:78144 type:1 nalType:1length:78140
[043:393] [2022-08-21 16:10:14 +0000.839326][3d4c] DTS queue for
Generator:0x71ea7636b8 9852 9888 9923 9954 9987 10023 10058 10089
[043:398] [2022-08-21 16:10:14 +0000.843820][3d4c] Push an pts:10122 to dts queue.
[043:435] [2022-08-21 16:10:14 +0000.880489][3d4c] h264 add frame header cdr flag
[043:435] [2022-08-21 16:10:14 +0000.880806][3d4c] Received key frame:9987
[043:447] [2022-08-21 16:10:14 +0000.892978][3d4e] Error(video_source.cc:430): wait
decoder a frame: 8
[043:458] [2022-08-21 16:10:14 +0000.904188][3d50] get the H.264 IDR frame
[043:482] [2022-08-21 16:10:14 +0000.927795][3d4c] last dts:10089 currentPts:10122
ppsOrSPS:0 queue length:9
[043:613] [2022-08-21 16:10:15 +0000.58572][3d4f] audio_frame_list_ empty
[043:642] [2022-08-21 16:10:15 +0000.88329][3d4b] setDisplayRotate :90
[043:643] [2022-08-21 16:10:15 +0000.88391][3d4b] 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
[043:761] [2022-08-21 16:10:15 +0000.207319][3d4c] DTS queue for
Generator:0x71ea7636b8 10656 10685 10721 10753 10787 10820 10855 10886 10919
[043:888] [2022-08-21 16:10:15 +0000.333553][3d4c] Push an pts:11454 to dts queue.
[043:893] [2022-08-21 16:10:15 +0000.338869][3d4b] setDisplayRotate :90
[043:893] [2022-08-21 16:10:15 +0000.338936][3d4b] 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
[043:909] [2022-08-21 16:10:15 +0000.355287][3d4e] webrtc common_video plane
old ..... (1/1000) new: 17001 delete: 16988 diff: 13
[043:910] [2022-08-21 16:10:15 +0000.355430][3d4b] setDisplayRotate :90
[043:910] [2022-08-21 16:10:15 +0000.355463][3d4b] 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
[043:942] [2022-08-21 16:10:15 +0000.388031][3d4b] setDisplayRotate :90
[043:942] [2022-08-21 16:10:15 +0000.388105][3d4b] 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
[043:945] [2022-08-21 16:10:15 +0000.390622][3d4c] last dts:11422 currentPts:11454
ppsOrSPS:0 queue length:6
[043:949] [2022-08-21 16:10:15 +0000.394970][3d4b] setDisplayRotate :90
[043:949] [2022-08-21 16:10:15 +0000.395049][3d4b] 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
[043:954] [2022-08-21 16:10:15 +0000.399542][3d40] av_read_frame AVERROR_EOF
[043:957] [2022-08-21 16:10:15 +0000.403336][3d4e] Error(video_source.cc:430): wait
decoder a frame: 2
[043:960] [2022-08-21 16:10:15 +0000.405555][3d4b] setDisplayRotate :90
[043:960] [2022-08-21 16:10:15 +0000.405613][3d4b] 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
[043:963] [2022-08-21 16:10:15 +0000.408586][3d4c] DTS queue for
Generator:0x71ea7636b8 11523 11555 11591 11624 11656 11690 11724
[043:989] [2022-08-21 16:10:15 +0000.435088][3d4b] setDisplayRotate :90
[043:989] [2022-08-21 16:10:15 +0000.435161][3d4b] 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
[044:005] [2022-08-21 16:10:15 +0000.450538][3d4b] setDisplayRotate :90
[044:005] [2022-08-21 16:10:15 +0000.450691][3d4b] 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
[044:007] [2022-08-21 16:10:15 +0000.453213][3d40] OnReceiveEOF:
[044:007] [2022-08-21 16:10:15 +0000.453275][3d40] OnDecoderEOF time:54419965
enter.

[044:007] [2022-08-21 16:10:15 +0000.453341][3d40] OnDecoderEOF leave. expire time


= 0 ms

[044:007] [2022-08-21 16:10:15 +0000.453377][3d40] OnDecoderFinished:


OnDecoderFinished total decoder frames:360 this:0x7222d82500
[044:007] [2022-08-21 16:10:15 +0000.453373][3d3e] CleanUp time:54419965 enter.

[044:008] [2022-08-21 16:10:15 +0000.453426][3d40] NULLFilter::OnVideoSourceEOF


0x7222d82500 this 0x7248f88480
[044:008] [2022-08-21 16:10:15 +0000.453505][3d40] NULLFilter::OnVideoSourceEOF
0x7248f88480 this 0x7248f88540
[044:008] [2022-08-21 16:10:15 +0000.453573][3d40] NULLFilter::OnVideoSourceEOF
0x7248f88540 this 0x7248fc4c00
[044:008] [2022-08-21 16:10:15 +0000.454163][3d4e]
Warning(media_filter_composefile.cc:321): pull video frame failed:8
[044:008] [2022-08-21 16:10:15 +0000.454253][3d4e] OnVideoTimer: OnVideoTimer
return
[044:009] [2022-08-21 16:10:15 +0000.454804][3d4f] PullAudioFrame: PullFrame audio
finished.
[044:009] [2022-08-21 16:10:15 +0000.454854][3d4f]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[044:009] [2022-08-21 16:10:15 +0000.454909][3d4f] OnAudioTimer: OnAudioTimer
EndComposeFile
[044:009] [2022-08-21 16:10:15 +0000.454947][3d4f] EndComposeFile: EndComposeFile,
is composing 1
[044:010] [2022-08-21 16:10:15 +0000.456265][3d3e] CleanUp leave. expire time = 3
ms

[044:010] [2022-08-21 16:10:15 +0000.456318][3d3e] clean up


[044:010] [2022-08-21 16:10:15 +0000.456344][3d3e] running_decoder_count:0max
count:2
[044:012] [2022-08-21 16:10:15 +0000.458160][3d4c]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:360
[044:012] [2022-08-21 16:10:15 +0000.458235][3d4c]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x725b80f000
[044:014] [2022-08-21 16:10:15 +0000.459840][3d4d]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[044:015] [2022-08-21 16:10:15 +0000.460487][3d4d]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[044:015] [2022-08-21 16:10:15 +0000.460767][3d4b] stop recording
[044:015] [2022-08-21 16:10:15 +0000.460816][3d4b]
RecordingSessionInternalSimple:destroy media processers
[044:015] [2022-08-21 16:10:15 +0000.460854][3d4b] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[044:015] [2022-08-21 16:10:15 +0000.460892][3d4b] H264Encode::flushing hareware
Encoder
[044:015] [2022-08-21 16:10:15 +0000.461056][3d4b] Flush time:54419973 enter.

[044:015] [2022-08-21 16:10:15 +0000.461111][3d4b] H264Encoder encoder flush


[044:015] [2022-08-21 16:10:15 +0000.461151][3d4b] flush output queue
[044:220] [2022-08-21 16:10:15 +0000.666176][3b0a] Run AGC when audioType = 0
[044:220] [2022-08-21 16:10:15 +0000.666371][3b0a]
AudioDeviceDataHandler::MixAndSendOutFrame
[044:340] [2022-08-21 16:10:15 +0000.786339][3d4b] Flush leave. expire time = 326
ms

[044:341] [2022-08-21 16:10:15 +0000.786691][3d4b] ~H264EncodeWrap:


[044:341] [2022-08-21 16:10:15 +0000.786775][3d4b] ~H264Encode:
[044:341] [2022-08-21 16:10:15 +0000.786944][3d4b] teardownCompressionSession:
H264Encode::destroying Encoder
[044:341] [2022-08-21 16:10:15 +0000.787013][3d4b] Release time:54420299 enter.

[044:341] [2022-08-21 16:10:15 +0000.787330][3d4b] Release:


MediaCodecVideoEncoder::Release _inited:1
[044:342] [2022-08-21 16:10:15 +0000.787585][3d4b] Destroy time:54420300 enter.

[044:342] [2022-08-21 16:10:15 +0000.787712][3d4b] H264Encoder encoderDestroy


[044:342] [2022-08-21 16:10:15 +0000.787771][3d4b]
AndroidMediaCodecVideoEncoder::release env: 0x71ea977740
[044:342] [2022-08-21 16:10:15 +0000.787866][3d4b]
AndroidMediaCodecVideoEncoder::Destroy
[044:385] [2022-08-21 16:10:15 +0000.831170][3d4b] Destroy leave. expire time = 43
ms

[044:386] [2022-08-21 16:10:15 +0000.831687][3d4b] Release leave. expire time = 45


ms

[044:386] [2022-08-21 16:10:15 +0000.831767][3d4b] ~AndroidHwAvcEncoder


time:54420344 enter.

[044:386] [2022-08-21 16:10:15 +0000.832017][3d4b] Release time:54420344 enter.

[044:386] [2022-08-21 16:10:15 +0000.832096][3d4b] Release:


MediaCodecVideoEncoder:: has been released before, just return
[044:386] [2022-08-21 16:10:15 +0000.832140][3d4b] Release leave. expire time = 0
ms

[044:386] [2022-08-21 16:10:15 +0000.832202][3d4b] ~AndroidMediaCodecVideoEncoder


[044:386] [2022-08-21 16:10:15 +0000.832240][3d4b] ~WrapAndroidMediaCodec
time:54420344 enter.

[044:386] [2022-08-21 16:10:15 +0000.832279][3d4b] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[044:386] [2022-08-21 16:10:15 +0000.832318][3d4b] video hevc hw codec


destructor:0x723f0b7c20

[044:386] [2022-08-21 16:10:15 +0000.832391][3d4b] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[044:387] [2022-08-21 16:10:15 +0000.832461][3d4b] teardownCompressionSession:


H264Encode::destroyed Encoder
[044:387] [2022-08-21 16:10:15 +0000.832509][3d4b]
RecordingSessionInternalSimple:destroy aac encoder output!
[044:387] [2022-08-21 16:10:15 +0000.832547][3d4b] AACSWEncode destructor
[044:396] [2022-08-21 16:10:15 +0000.841579][3d50] fd_close successed!
[044:409] [2022-08-21 16:10:15 +0000.854468][3d50] MP4 close file successfully
[044:409] [2022-08-21 16:10:15 +0000.854568][3d50] Recording session Internal:
notify recording ok
[044:409] [2022-08-21 16:10:15 +0000.854604][3d50] onRecordingOk: Recording Ok,
compose use time: 3965, averagefps 0
[044:409] [2022-08-21 16:10:15 +0000.854638][3d50] OnReceiveEOF:
[044:410] [2022-08-21 16:10:15 +0000.855995][3d4f] OnAudioTimer: OnAudioTimer
return
[044:415] [2022-08-21 16:10:15 +0000.860740][7133]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[044:415] [2022-08-21 16:10:15 +0000.860899][7133] ~MediaComposeFile time:54420373
enter.

[044:415] [2022-08-21 16:10:15 +0000.860940][7133] CancelCompose: CancelCompose,


is composing 0
[044:415] [2022-08-21 16:10:15 +0000.861162][3d4b] stop recording
[044:415] [2022-08-21 16:10:15 +0000.861257][3d4b] we have stopped recording before
[044:416] [2022-08-21 16:10:15 +0000.862150][7133] ~MediaComposeFile leave. expire
time = 1 ms

[044:416] [2022-08-21 16:10:15 +0000.862271][7133] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[044:417] [2022-08-21 16:10:15 +0000.863314][7133] global uninited!
[044:417] [2022-08-21 16:10:15 +0000.863386][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[044:418] [2022-08-21 16:10:15 +0000.863495][7133] ~MediaFilterGraph:
MediaFilterGraph destruct
[044:418] [2022-08-21 16:10:15 +0000.863520][7133] RemoveVideoBackGroud: hava not
add video backgroud
[044:418] [2022-08-21 16:10:15 +0000.863557][7133] UnbindInputFilter 0x7248fc4c98
this 0x7248ece9a0
[044:418] [2022-08-21 16:10:15 +0000.863592][7133] ClearAllSource: remove source
filter, sourceid: 0x7222d82500
[044:418] [2022-08-21 16:10:15 +0000.863614][7133] DestoryDecoderByVideoSource
time:54420376 enter.

[044:418] [2022-08-21 16:10:15 +0000.863641][7133] ~VideoBindDecoder time:54420376


enter.

[044:418] [2022-08-21 16:10:15 +0000.863776][7133] CleanUp time:54420376 enter.

[044:419] [2022-08-21 16:10:15 +0000.864553][7133] CleanUp leave. expire time = 1


ms

[044:419] [2022-08-21 16:10:15 +0000.864595][7133] CleanUp time:54420377 enter.

[044:420] [2022-08-21 16:10:15 +0000.865621][7133] CleanUp leave. expire time = 1


ms

[044:421] [2022-08-21 16:10:15 +0000.866714][7133] ~VideoBindDecoder leave. expire


time = 3 ms

[044:421] [2022-08-21 16:10:15 +0000.866764][7133] DestoryDecoderByVideoSource


leave. expire time = 3 ms

[044:421] [2022-08-21 16:10:15 +0000.866809][7133] UnbindInputFilter 0x7248f885d8


this 0x7248fc4c98
[044:421] [2022-08-21 16:10:15 +0000.866851][7133] UnbindInputFilter 0x7248f88518
this 0x7248f885d8
[044:421] [2022-08-21 16:10:15 +0000.866893][7133] UnbindInputFilter 0x7222d82720
this 0x7248f88518
[044:421] [2022-08-21 16:10:15 +0000.866936][7133] UnbindInputFilter 0x7248f88d58
this 0x7249049958
[044:421] [2022-08-21 16:10:15 +0000.866974][7133] UnbindInputFilter 0x7248f88b18
this 0x7248f88d58
[044:421] [2022-08-21 16:10:15 +0000.867016][7133] UnbindInputFilter 0x7222d82720
this 0x7248f88b18
[044:421] [2022-08-21 16:10:15 +0000.867063][7133] ~GLESContext:
[044:423] [2022-08-21 16:10:15 +0000.869263][7133] GLESContext destruct finish.
[044:423] [2022-08-21 16:10:15 +0000.869315][7133] filter: filter pipeline destroy
this: 0x7248ece900
[044:942] [2022-08-21 16:10:16 +0000.387441][3b0a] haveEnoughProcessedData
internalAudioStream.length: 10
[046:221] [2022-08-21 16:10:17 +0000.667264][3b0a] Run AGC when audioType = 0
[046:659] [2022-08-21 16:10:18 +0000.104676][3b0a] haveEnoughProcessedData
internalAudioStream.length: 20
[046:788] [2022-08-21 16:10:18 +0000.233642][7160]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[046:788] [2022-08-21 16:10:18 +0000.233934][7160] ~MediaFilterCamera time:54422746
enter.
[046:788] [2022-08-21 16:10:18 +0000.233988][7160] StopPullFrameAndWriteMp4
time:54422746 enter.

[046:789] [2022-08-21 16:10:18 +0000.234851][3b04] stop recording


[046:789] [2022-08-21 16:10:18 +0000.234885][3b04] we have stopped recording before
[046:789] [2022-08-21 16:10:18 +0000.235108][7160] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[046:792] [2022-08-21 16:10:18 +0000.237455][7160] DestroyPipelineAndFilters


time:54422750 enter.

[046:792] [2022-08-21 16:10:18 +0000.237578][7160] DestroyPipelineAndFilters


leave. expire time = 0 ms

[046:792] [2022-08-21 16:10:18 +0000.237648][7160] AppDeviceManagerStopMic

[046:792] [2022-08-21 16:10:18 +0000.237781][7160] AppDeviceManagerStopMic::mic


status is on
[046:792] [2022-08-21 16:10:18 +0000.237956][7160] Try to stop webrtc device.

[046:792] [2022-08-21 16:10:18 +0000.238003][7160] Set record state to


stopped.threadID:29024

[046:854] [2022-08-21 16:10:18 +0000.299848][7160] Try to destory the


recorder.threadID:29024

[047:066] [2022-08-21 16:10:18 +0000.512295][7160] DestroyAudioRecorder:


[047:067] [2022-08-21 16:10:18 +0000.512448][7160] Cleanup the buffer queue in the
recorder.
[047:067] [2022-08-21 16:10:18 +0000.512543][7160] Destroy the recorder.

[047:073] [2022-08-21 16:10:18 +0000.518881][7160] StopRecording finished.

[047:073] [2022-08-21 16:10:18 +0000.519011][7160] The stop recording success.

[047:073] [2022-08-21 16:10:18 +0000.519074][7160]


AudioDeviceDataHandler::StopMicProcess

[047:078] [2022-08-21 16:10:18 +0000.523470][7160] AppDeviceManager stop.

[047:078] [2022-08-21 16:10:18 +0000.523590][7160] Rlease the webrtc device object.

[047:078] [2022-08-21 16:10:18 +0000.524254][7160] OpenSlesInput destruct.

[047:078] [2022-08-21 16:10:18 +0000.524339][7160] OpenSlesOutput destruct.

[047:079] [2022-08-21 16:10:18 +0000.524844][7160] EventDispatchServerScope


destruct
[047:079] [2022-08-21 16:10:18 +0000.524908][7160]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[047:079] [2022-08-21 16:10:18 +0000.525004][7160] ~AudioDeviceDataHandler

[047:087] [2022-08-21 16:10:18 +0000.533366][7160] AppDeviceManagerDestruct.

[047:088] [2022-08-21 16:10:18 +0000.533529][7160] ~AppDeviceManager:


[047:088] [2022-08-21 16:10:18 +0000.533992][7160] ~CpuOverloadDetect time:54423046
enter.
[047:088] [2022-08-21 16:10:18 +0000.534266][7160] ~CpuOverloadDetect leave.
expire time = 0 ms

[047:090] [2022-08-21 16:10:18 +0000.535611][7160] Destruct BeautifyReader begin...


[047:090] [2022-08-21 16:10:18 +0000.535670][7160] Destruct BeautifyReader done.
[047:090] [2022-08-21 16:10:18 +0000.535733][7160] ~MediaFilterCamera leave.
expire time = 302 ms

[047:090] [2022-08-21 16:10:18 +0000.536014][7160] ~GLESContext:


[047:096] [2022-08-21 16:10:18 +0000.541480][7160] GLESContext destruct finish.
[047:096] [2022-08-21 16:10:18 +0000.541572][7160] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[047:097] [2022-08-21 16:10:18 +0000.542467][7160] global uninited!
[047:100] [2022-08-21 16:10:18 +0000.545558][7160] clear AppID 50011
[047:100] [2022-08-21 16:10:18 +0000.545627][7160] UnRegister JVM for Xplatform
util
[047:100] [2022-08-21 16:10:18 +0000.545680][7160] Dispose::unregister webrtc video
engine
[047:100] [2022-08-21 16:10:18 +0000.545727][7160] Init the android object with
jvm:0x0 env:0x0 context:0x0

[047:100] [2022-08-21 16:10:18 +0000.545793][7160] SetAndroidMediaCodecObjects


time:54423058 enter.

[047:100] [2022-08-21 16:10:18 +0000.545841][7160] ClearAndroidMediaCodecObjects


time:54423058 enter.

[047:100] [2022-08-21 16:10:18 +0000.545892][7160] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[047:100] [2022-08-21 16:10:18 +0000.545941][7160] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[047:100] [2022-08-21 16:10:18 +0000.545989][7160] SetAndroidMediaCodecObjects


time:54423058 enter.

[047:100] [2022-08-21 16:10:18 +0000.546036][7160] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[047:100] [2022-08-21 16:10:18 +0000.546085][7160] ClearAndroidMediaCodecObjects
time:54423058 enter.

[047:100] [2022-08-21 16:10:18 +0000.546132][7160] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[047:100] [2022-08-21 16:10:18 +0000.546180][7160] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[047:100] [2022-08-21 16:10:18 +0000.546225][7160] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[047:100] [2022-08-21 16:10:18 +0000.546273][7160] Dispose::unregister webrtc voice


engine
[047:100] [2022-08-21 16:10:18 +0000.546318][7160] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[047:100] [2022-08-21 16:10:18 +0000.546369][7160] SystemUtil UnInit done


[601:221] [2022-08-21 16:19:32 +0000.666954][7160] Register JVM for xplatform util
[601:225] [2022-08-21 16:19:32 +0000.671376][7160] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-08-
21 16:19:32 +0000
[601:226] [2022-08-21 16:19:32 +0000.671460][7160] set AppID=50011 old AppID=-1
[601:226] [2022-08-21 16:19:32 +0000.671475][7160] Init the android object with
jvm:0xb4000073d15b0540 env:0x7326e8a980 context:0x72a8618bb8

[601:226] [2022-08-21 16:19:32 +0000.671491][7160] SetAndroidMediaCodecObjects


time:54977184 enter.

[601:226] [2022-08-21 16:19:32 +0000.671508][7160] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[601:226] [2022-08-21 16:19:32 +0000.671523][7160] SetAndroidMediaCodecObjects


time:54977184 enter.

[601:226] [2022-08-21 16:19:32 +0000.671537][7160] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000073d15b0540
[601:226] [2022-08-21 16:19:32 +0000.671550][7160] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000073d15b0540 address:0x71f9937760
[601:226] [2022-08-21 16:19:32 +0000.671563][7160] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000073d15b0540
address:0x71f9937760
[601:226] [2022-08-21 16:19:32 +0000.671577][7160] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[601:226] [2022-08-21 16:19:32 +0000.671591][7160] Set the android objects with


jvm:0xb4000073d15b0540 env:0x7326e8a980 context:0x72a8618bb8

[601:226] [2022-08-21 16:19:32 +0000.671606][7160] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7326e8a980
[601:226] [2022-08-21 16:19:32 +0000.671621][7160] SystemUtil Init done
[601:226] [2022-08-21 16:19:32 +0000.671859][7160]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[601:226] [2022-08-21 16:19:32 +0000.671927][7160] MediaFilterCamera
[601:226] [2022-08-21 16:19:32 +0000.671949][7160] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[601:226] [2022-08-21 16:19:32 +0000.672041][7160] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[601:226] [2022-08-21 16:19:32 +0000.672062][7160] Recording session using default
bitrate support by app:31457280
[601:228] [2022-08-21 16:19:32 +0000.674336][43c4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7248c03b40
[601:229] [2022-08-21 16:19:32 +0000.674443][43c4] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[601:229] [2022-08-21 16:19:32 +0000.674702][7160] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[601:230] [2022-08-21 16:19:32 +0000.675419][7160] Error(ini.cc:191): Open the file
failed. error:2
[601:230] [2022-08-21 16:19:32 +0000.675484][7160]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[601:230] [2022-08-21 16:19:32 +0000.675499][7160] The device model: m2012k11ag
usingSoftwareAEC value: 0
[601:232] [2022-08-21 16:19:32 +0000.677988][7160] Error(ini.cc:191): Open the file
failed. error:2
[601:232] [2022-08-21 16:19:32 +0000.678053][7160]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[601:232] [2022-08-21 16:19:32 +0000.678079][7160] The device model: m2012k11ag
usingHardwareAEC value: 0
[601:232] [2022-08-21 16:19:32 +0000.678094][7160] The machine device: m2012k11ag
usingHardwareAEC value: 0
[601:232] [2022-08-21 16:19:32 +0000.678108][7160] Using Default AEC type: software
AEC
[601:233] [2022-08-21 16:19:32 +0000.678739][7160] The device model: m2012k11ag
enum value: 0
[601:235] [2022-08-21 16:19:32 +0000.680960][7160] GetMachineModel is M2012K11AG
[601:236] [2022-08-21 16:19:32 +0000.681533][7160] GetMachineInfo: M2012K11AG
[601:236] [2022-08-21 16:19:32 +0000.681575][7160] Construct BeautifyReader
begin...
[601:236] [2022-08-21 16:19:32 +0000.681627][7160] dumpStickerRgba:0
dumpStickerYuv:0
[601:236] [2022-08-21 16:19:32 +0000.681645][7160] Construct BeautifyReader done.
[601:242] [2022-08-21 16:19:32 +0000.688327][7160] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[601:243] [2022-08-21 16:19:32 +0000.688411][7160] AppDeviceManager telnet server
for statistics started......
[601:243] [2022-08-21 16:19:32 +0000.688495][43c9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x723efaf7a0
[601:244] [2022-08-21 16:19:32 +0000.690361][7160] CpuOverloadDetect time:54977202
enter.

[601:245] [2022-08-21 16:19:32 +0000.690508][7160] CpuOverloadDetect leave. expire


time = 1 ms

[601:245] [2022-08-21 16:19:32 +0000.690924][7160] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[601:245] [2022-08-21 16:19:32 +0000.690956][7160] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[601:245] [2022-08-21 16:19:32 +0000.691112][7160] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[601:246] [2022-08-21 16:19:32 +0000.691627][7160] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[601:246] [2022-08-21 16:19:32 +0000.691834][7160] CreatePlatformSpecificObjects:
[601:246] [2022-08-21 16:19:32 +0000.691868][7160] audio device use opensle input
and opensl output
[601:246] [2022-08-21 16:19:32 +0000.691888][7160] Create OpenSLES output module
with java VM support.

[601:246] [2022-08-21 16:19:32 +0000.692004][7160] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[601:246] [2022-08-21 16:19:32 +0000.692155][7160] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[601:246] [2022-08-21 16:19:32 +0000.692334][7160] Create OpenSLES output module
with buffer num:1

[601:247] [2022-08-21 16:19:32 +0000.692493][43ca] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7316a85c80
[601:248] [2022-08-21 16:19:32 +0000.693411][7160] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[601:248] [2022-08-21 16:19:32 +0000.693572][7160] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[601:248] [2022-08-21 16:19:32 +0000.693712][7160] Create OpenSLES input module
with java VM support.

[601:248] [2022-08-21 16:19:32 +0000.693743][7160] Create OpenSLES input module


with buffer num:1

[601:248] [2022-08-21 16:19:32 +0000.693772][7160] Error(trace.cc:40): Init the


output and input for audio device template.
[601:248] [2022-08-21 16:19:32 +0000.693788][7160] Init the output device.
[601:248] [2022-08-21 16:19:32 +0000.693803][7160] Init the opensl input.
[601:248] [2022-08-21 16:19:32 +0000.693820][7160] AppDeviceManager get setting
samplerate: 0
[601:248] [2022-08-21 16:19:32 +0000.694071][7160] The device model: m2012k11ag
enum value: 0
[601:249] [2022-08-21 16:19:32 +0000.694466][7160] The device model: m2012k11ag
enum value: 0
[601:249] [2022-08-21 16:19:32 +0000.694512][7160] Set the sample rate to be:48000

[601:249] [2022-08-21 16:19:32 +0000.694529][7160] Enable the recording stereo:0


[601:249] [2022-08-21 16:19:32 +0000.694545][7160] Set the playout as stereo:1
[601:249] [2022-08-21 16:19:32 +0000.694561][7160] Init the microphone.
[601:249] [2022-08-21 16:19:32 +0000.694976][7160] Update the recording sample rate
to be: 48000
[601:249] [2022-08-21 16:19:32 +0000.695016][7160] Init the speaker.
[601:249] [2022-08-21 16:19:32 +0000.695041][7160] Low latency buffer size:144 low
sample rate:48000
[601:249] [2022-08-21 16:19:32 +0000.695248][7160] Using 1 x 10ms for an audio
frame.

[601:253] [2022-08-21 16:19:32 +0000.698427][7160] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[601:253] [2022-08-21 16:19:32 +0000.698500][7160] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[601:253] [2022-08-21 16:19:32 +0000.698532][7160] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[601:257] [2022-08-21 16:19:32 +0000.702820][7160] The device model:m2012k11ag

[601:257] [2022-08-21 16:19:32 +0000.702905][7160] speaker output factor:100


defaultFactor: 100

[601:257] [2022-08-21 16:19:32 +0000.702923][7160] headset output factor:100


defaultFactor: 100

[601:257] [2022-08-21 16:19:32 +0000.703176][7160] AppDeviceManagerStart finished.


[601:257] [2022-08-21 16:19:32 +0000.703203][7160] AppDeviceManagerStartMic::mic
status is off
[601:257] [2022-08-21 16:19:32 +0000.703255][7160] AppDeviceManagerStartMic update
aec type: 2

[601:257] [2022-08-21 16:19:32 +0000.703277][7160] AppDeviceManagerStartMic update


voiceChangeMode: 4

[601:257] [2022-08-21 16:19:32 +0000.703310][7160]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[601:257] [2022-08-21 16:19:32 +0000.703342][7160]
AudioDeviceDataHandler::StartMicProcess

[601:258] [2022-08-21 16:19:32 +0000.703484][7160] Try to start webrtc recording


device.

[601:258] [2022-08-21 16:19:32 +0000.703510][7160] StartRecording. threadID:29024

[601:258] [2022-08-21 16:19:32 +0000.703545][7160] default mode: Set the recording


mode to voice communication to enable HW AEC .

[601:258] [2022-08-21 16:19:32 +0000.703561][7160] Set the recording mode before


getSetting: 4
[601:258] [2022-08-21 16:19:32 +0000.703580][7160] Set the recording mode after
getSetting: 1
[601:258] [2022-08-21 16:19:32 +0000.703814][43cd] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[601:313] [2022-08-21 16:19:32 +0000.758522][7160] StartRecording finished.

[601:313] [2022-08-21 16:19:32 +0000.758567][7160] audio: start the audio mic


checker timer.

[601:313] [2022-08-21 16:19:32 +0000.758884][7160] machine model :poco


[601:313] [2022-08-21 16:19:32 +0000.758905][7160] Support this machine model :poco
[601:313] [2022-08-21 16:19:32 +0000.758923][7160] global inited! current sdk
version: 07-20-936c45f
[601:517] [2022-08-21 16:19:32 +0000.963080][373a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[601:517] [2022-08-21 16:19:32 +0000.963259][43c6] MediaFilterCamera, recording
file context:0x725bac0000 input texture:11
[601:517] [2022-08-21 16:19:32 +0000.963302][43c6] GLESContext:
[601:517] [2022-08-21 16:19:32 +0000.963350][43c6] The result of eglGetDisplay is:
0xb400007326e87f00
[601:518] [2022-08-21 16:19:32 +0000.963883][43c6] The result of creation:
0x7248d1e300
[601:518] [2022-08-21 16:19:32 +0000.963941][43c6] The result of
eglCreatePbufferSurface is: 0x7248d1e500
[601:518] [2022-08-21 16:19:32 +0000.964006][373a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x725bac0000 input_texture: 11
[602:697] [2022-08-21 16:19:34 +0000.143113][43cd] haveEnoughProcessedData
internalAudioStream.length: 0
[602:821] [2022-08-21 16:19:34 +0000.267213][43cd] Run AGC when audioType = 0
[602:822] [2022-08-21 16:19:34 +0000.267706][43cd]
AudioDeviceDataHandler::MixAndSendOutFrame
[602:909] [2022-08-21 16:19:34 +0000.355183][7133] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[602:909] [2022-08-21 16:19:34 +0000.355255][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[602:910] [2022-08-21 16:19:34 +0000.355589][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[602:910] [2022-08-21 16:19:34 +0000.356024][43c6] operator() time:54978868 enter.

[602:910] [2022-08-21 16:19:34 +0000.356091][43c6] MediaFilterCamera, recording


file context:0x725bac0000 input texture:11
[602:912] [2022-08-21 16:19:34 +0000.357703][43c6] MicSource: Mic source
created:10x722498b380
[602:913] [2022-08-21 16:19:34 +0000.358789][43c6] alloc thread: 0x7222d9df80
name:worker0 thread id:490413051056 to Mic_source
[602:913] [2022-08-21 16:19:34 +0000.358851][43c6] audio: start the audio sender
thread.

[602:913] [2022-08-21 16:19:34 +0000.358903][43c6] construct OpenGLRenderProgram


0x72a4b7cc98
[602:913] [2022-08-21 16:19:34 +0000.358930][43c6] CropFilter::SetOrientation
orientation: 90
[602:913] [2022-08-21 16:19:34 +0000.359087][43c6] filter: filter pipeline
construtc this: 0x73d173fc80
[602:913] [2022-08-21 16:19:34 +0000.359121][43c6] filter: filter pipeline2 update
pattern: 1
[602:913] [2022-08-21 16:19:34 +0000.359154][43c6] CameraSource::source_id_:8
[602:914] [2022-08-21 16:19:34 +0000.359464][43c6] RecordAudioSource::source_id_:9
[602:914] [2022-08-21 16:19:34 +0000.359657][43c6] BindInputFilter 0x7222d9ee40
this 0x72a4b7cec0
[602:914] [2022-08-21 16:19:34 +0000.359699][43c6] BindInputFilter 0x7222d9efd8
this 0x7222efb150
[602:914] [2022-08-21 16:19:34 +0000.359734][43c6] BindInputFilter 0x72a4b7cec0
this 0x73d173fd20
[602:914] [2022-08-21 16:19:34 +0000.359776][43c6] setParamentForFilters:
speed:1.000000
[602:914] [2022-08-21 16:19:34 +0000.359800][43c6] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[602:914] [2022-08-21 16:19:34 +0000.359827][43c6] SetParamForFilter time:54978872
enter.

[602:914] [2022-08-21 16:19:34 +0000.359852][43c6] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[602:914] [2022-08-21 16:19:34 +0000.359884][43c6] SetParamForFilter: Params video
index is: 0
[602:914] [2022-08-21 16:19:34 +0000.359915][43c6] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[602:914] [2022-08-21 16:19:34 +0000.359955][43c6] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[602:914] [2022-08-21 16:19:34 +0000.359982][43c6] crop filter mode tpye:
citytravelvideo index:0
[602:921] [2022-08-21 16:19:34 +0000.366818][43c6]
Warning(parse_template_json.cc:45): json parament no found the parament
[602:921] [2022-08-21 16:19:34 +0000.366886][43c6]
Warning(parse_template_json.cc:45): json parament no found the parament
[602:921] [2022-08-21 16:19:34 +0000.366927][43c6]
Warning(parse_template_json.cc:45): json parament no found the parament
[602:921] [2022-08-21 16:19:34 +0000.366962][43c6]
Warning(parse_template_json.cc:45): json parament no found the parament
[602:921] [2022-08-21 16:19:34 +0000.366997][43c6]
Warning(parse_template_json.cc:45): json parament no found the parament
[602:921] [2022-08-21 16:19:34 +0000.367031][43c6]
Warning(parse_template_json.cc:45): json parament no found the parament
[602:921] [2022-08-21 16:19:34 +0000.367063][43c6]
Warning(parse_template_json.cc:45): json parament no found the parament
[602:921] [2022-08-21 16:19:34 +0000.367094][43c6]
Warning(parse_template_json.cc:81): json parament no found the parament
[602:921] [2022-08-21 16:19:34 +0000.367125][43c6]
Warning(parse_template_json.cc:81): json parament no found the parament
[602:921] [2022-08-21 16:19:34 +0000.367158][43c6]
Warning(parse_template_json.cc:67): json parament no found the parament
[602:921] [2022-08-21 16:19:34 +0000.367190][43c6]
Warning(parse_template_json.cc:93): json parament no found the duration
[602:921] [2022-08-21 16:19:34 +0000.367227][43c6] SetParamForFilter leave. expire
time = 7 ms

[602:922] [2022-08-21 16:19:34 +0000.367488][43c6] OnOutputSizeChanged width 1920


height 1080
[602:922] [2022-08-21 16:19:34 +0000.367549][43c6] OpenGLFrameBuffer: width:1920
height:1080
[602:922] [2022-08-21 16:19:34 +0000.367577][43c6] OpenGLFrameBuffer: width:1920
height:1080
[602:922] [2022-08-21 16:19:34 +0000.367604][43c6] OpenGLFrameBuffer: width:1920
height:1080
[602:922] [2022-08-21 16:19:34 +0000.367634][43c6] OpenGLFrameBuffer: width:1920
height:1080
[602:922] [2022-08-21 16:19:34 +0000.367661][43c6] OpenGLFrameBuffer: width:1920
height:1080
[602:922] [2022-08-21 16:19:34 +0000.367711][43c6] OpenGLFrameBuffer: width:1920
height:1080
[602:922] [2022-08-21 16:19:34 +0000.367739][43c6] construct TrivalImageDrawer
0x7248eda8c0
[602:922] [2022-08-21 16:19:34 +0000.367766][43c6] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7248eda8c0 context 0x725b776800
[602:922] [2022-08-21 16:19:34 +0000.367793][43c6] setupGLES:
[602:922] [2022-08-21 16:19:34 +0000.368056][43c6] OpenGLRenderProgram::Initialize.
[602:922] [2022-08-21 16:19:34 +0000.368099][43c6] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[602:922] [2022-08-21 16:19:34 +0000.368134][43c6] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[602:922] [2022-08-21 16:19:34 +0000.368230][43c6] Init open gl render:
0x72a4b7cc98
[602:922] [2022-08-21 16:19:34 +0000.368269][43c6] Fragement shader path:
[602:922] [2022-08-21 16:19:34 +0000.368301][43c6] Fragement shader path:
[602:922] [2022-08-21 16:19:34 +0000.368330][43c6] create opengl program object.
[602:922] [2022-08-21 16:19:34 +0000.368360][43c6] create shader: vertex
[602:923] [2022-08-21 16:19:34 +0000.368555][43c6] create shader: fragment
[602:924] [2022-08-21 16:19:34 +0000.370056][43c6] Have not extra filter filename!
[602:924] [2022-08-21 16:19:34 +0000.370110][43c6] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[602:924] [2022-08-21 16:19:34 +0000.370141][43c6] OpenGLRenderProgram::Initialize
success.
[602:924] [2022-08-21 16:19:34 +0000.370185][43c6] Setup the OpenGL result:1
[602:925] [2022-08-21 16:19:34 +0000.370488][43c4] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4
[602:925] [2022-08-21 16:19:34 +0000.370614][43c4] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[602:925] [2022-08-21 16:19:34 +0000.370646][4435] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7316bc6c98
[602:925] [2022-08-21 16:19:34 +0000.370673][43c4] 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
[602:925] [2022-08-21 16:19:34 +0000.370775][43c4] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4
fileFD: -1
[602:925] [2022-08-21 16:19:34 +0000.371175][43c4] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4
is opened successfully
[602:925] [2022-08-21 16:19:34 +0000.371211][43c4] setupMediaProcessers:
[602:925] [2022-08-21 16:19:34 +0000.371248][43c4]
RecordingSessionInternalSimple:setup media processers.
[602:925] [2022-08-21 16:19:34 +0000.371282][43c4] construct AAC encoder
[602:926] [2022-08-21 16:19:34 +0000.371590][43c4] H264Encoder creating:
superfast011818
[602:926] [2022-08-21 16:19:34 +0000.371630][43c4] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[602:926] [2022-08-21 16:19:34 +0000.372349][43c4] H264Encode::GetMachineModel is
M2012K11AG
[602:927] [2022-08-21 16:19:34 +0000.372393][43c4] H264Encoder machine_mode
is:M2012K11AG
[602:927] [2022-08-21 16:19:34 +0000.372439][43c4] H264Encode::machine size :9
machine_mode:M2012K11AG
[602:927] [2022-08-21 16:19:34 +0000.372470][43c4] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[602:927] [2022-08-21 16:19:34 +0000.372502][43c4] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[602:927] [2022-08-21 16:19:34 +0000.372532][43c4] setupCompressionSession:
[602:927] [2022-08-21 16:19:34 +0000.372564][43c4] H264Encode::creating hareware
Encoder
[602:927] [2022-08-21 16:19:34 +0000.372596][43c4] AndroidHwAvcEncoder
time:54978885 enter.

[602:927] [2022-08-21 16:19:34 +0000.372780][43c4] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000073d15b0540 address:0x71f9937760
[602:927] [2022-08-21 16:19:34 +0000.372898][43c4] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[602:927] [2022-08-21 16:19:34 +0000.372941][43c4] The video avc hw codec address
is 0x723f0b74d8
[602:927] [2022-08-21 16:19:34 +0000.373019][43c4] AndroidHwAvcEncoder leave.
expire time = 0 ms

[602:927] [2022-08-21 16:19:34 +0000.373060][43c4] RegisterEncodeCompleteCallback


time:54978885 enter.
[602:927] [2022-08-21 16:19:34 +0000.373170][43c4] RegisterEncodeCompleteCallback
leave. expire time = 0 ms

[602:927] [2022-08-21 16:19:34 +0000.373218][43c4] InitEncode time:54978885 enter.

[602:927] [2022-08-21 16:19:34 +0000.373304][43c4] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[602:927] [2022-08-21 16:19:34 +0000.373351][43c4] Create time:54978885 enter.

[602:927] [2022-08-21 16:19:34 +0000.373380][43c4] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[602:928] [2022-08-21 16:19:34 +0000.373415][43c4]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x723f1c0f40
[602:928] [2022-08-21 16:19:34 +0000.373596][43c4]
supported_type:image/vnd.android.heic
[602:928] [2022-08-21 16:19:34 +0000.373652][43c4] supported_type:video/avc
[602:928] [2022-08-21 16:19:34 +0000.373694][43c4] name:OMX.qcom.video.encoder.avc
mime:video/avc
[602:928] [2022-08-21 16:19:34 +0000.373746][43c4] hwCodecPrefix :OMX.qcom.
[602:928] [2022-08-21 16:19:34 +0000.373787][43c4] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[602:928] [2022-08-21 16:19:34 +0000.373829][43c4] mediacodec_createCodecByName
time:54978886 enter.

[602:928] [2022-08-21 16:19:34 +0000.373868][43c4] WrapAndroidMediaCodec


time:54978886 enter.

[602:928] [2022-08-21 16:19:34 +0000.373989][43c4] WrapAndroidMediaCodec leave.


expire time = 0 ms

[602:944] [2022-08-21 16:19:34 +0000.390241][43c4] mediacodec_createCodecByName


leave. expire time = 16 ms

[602:944] [2022-08-21 16:19:34 +0000.390347][43c4] WrapAndroidMediaFromat


time:54978902 enter.

[602:945] [2022-08-21 16:19:34 +0000.390430][43c4] WrapAndroidMediaFromat leave.


expire time = 1 ms

[602:987] [2022-08-21 16:19:34 +0000.432803][43c4] Destroy time:54978945 enter.

[602:987] [2022-08-21 16:19:34 +0000.432985][43c4] WrapAndroidMediaFromat::


Destroy
[602:987] [2022-08-21 16:19:34 +0000.433027][43c4] Destroy leave. expire time = 0
ms

[602:987] [2022-08-21 16:19:34 +0000.433051][43c4] ~WrapAndroidMediaFromat


time:54978945 enter.

[602:987] [2022-08-21 16:19:34 +0000.433107][43c4] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[602:987] [2022-08-21 16:19:34 +0000.433131][43c4] Create leave. expire time = 60


ms

[602:987] [2022-08-21 16:19:34 +0000.433170][43c4] isSemiPlanarSupport


time:54978945 enter.
[602:987] [2022-08-21 16:19:34 +0000.433219][43c4] H264Encoder isSemiPlanarSupport
[602:987] [2022-08-21 16:19:34 +0000.433244][43c4] isSemiPlanarSupport leave.
expire time = 0 ms

[602:987] [2022-08-21 16:19:34 +0000.433280][43c4] creat hw H264Encoder success,


isSemiPlanar:1
[602:987] [2022-08-21 16:19:34 +0000.433376][43c4] InitEncode leave. expire time =
60 ms

[602:988] [2022-08-21 16:19:34 +0000.433417][43c4] H264Encode::created Encoder


[602:988] [2022-08-21 16:19:34 +0000.433465][43c4] H264Encode:: H264 encoder
created.
[602:988] [2022-08-21 16:19:34 +0000.433507][43c4] H264 encoder created.
[602:988] [2022-08-21 16:19:34 +0000.433548][43c4]
RecordingSessionInternalSimple:created avc encoder avc: 0x723f0db940
[602:988] [2022-08-21 16:19:34 +0000.433589][43c4] setOutput:
[602:988] [2022-08-21 16:19:34 +0000.433629][43c4]
RecordingSessionInternalSimple:encoder set output to muxer!
[602:988] [2022-08-21 16:19:34 +0000.433669][43c4] request a key frame
[602:988] [2022-08-21 16:19:34 +0000.433708][43c4] H264Encode:: request a key frame
[602:988] [2022-08-21 16:19:34 +0000.433808][43c4] setDisplayRotate :90
[602:988] [2022-08-21 16:19:34 +0000.433844][43c4] 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
[602:988] [2022-08-21 16:19:34 +0000.433915][43c6] StartRecording:
[602:988] [2022-08-21 16:19:34 +0000.433994][442d] operator(): Set the recording
session in mic source. recording session: 0x7222d9ee80
[602:988] [2022-08-21 16:19:34 +0000.434094][43c6] operator() leave. expire time =
78 ms

[603:048] [2022-08-21 16:19:34 +0000.493690][43c6] begine recode to first frame


spend time:138
[603:048] [2022-08-21 16:19:34 +0000.493784][43c6]
GPUImageProcessing::SetOrientation orientation: 90
[603:050] [2022-08-21 16:19:34 +0000.495728][43c6] drawYUV420 render
OpenGLRenderProgram:0x72a4b7cc98
[603:079] [2022-08-21 16:19:34 +0000.524622][43c6] drawYUV420 render
OpenGLRenderProgram:0x72a4b7cc98
[603:090] [2022-08-21 16:19:34 +0000.535694][4434]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[603:116] [2022-08-21 16:19:34 +0000.561517][43c6] drawYUV420 render
OpenGLRenderProgram:0x72a4b7cc98
[603:188] [2022-08-21 16:19:34 +0000.633547][4434] h264 add frame header cdr flag
[603:188] [2022-08-21 16:19:34 +0000.634217][4434] h264 add frame header cdr flag
[603:189] [2022-08-21 16:19:34 +0000.635343][4434] Received key frame:0
[603:190] [2022-08-21 16:19:34 +0000.635479][4434] H264Encode:: get a sps pps
header!headerSize:32
[603:190] [2022-08-21 16:19:34 +0000.635570][4435] get the H.264 SPS parameter
[603:190] [2022-08-21 16:19:34 +0000.635808][4435] add video track with id:1
[603:193] [2022-08-21 16:19:34 +0000.638614][4435] get the H.264 PPS parameter
[603:194] [2022-08-21 16:19:34 +0000.639903][4435] get the H.264 IDR frame
[603:194] [2022-08-21 16:19:34 +0000.639989][4435] resss:true
[603:194] [2022-08-21 16:19:34 +0000.640024][4435] video start ts:0
[603:194] [2022-08-21 16:19:34 +0000.640364][4435] the video frame has been written
into MP4 file
[603:196] [2022-08-21 16:19:34 +0000.642210][4435] add aac audio track with id:2
[603:196] [2022-08-21 16:19:34 +0000.642313][4435] audio start ts:0
[603:196] [2022-08-21 16:19:34 +0000.642380][4435] the audio frame has been written
into MP4 file
[603:247] [2022-08-21 16:19:34 +0000.693119][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[603:269] [2022-08-21 16:19:34 +0000.714772][442c] AF_SpeedFilter audio
0x7222efb000 PullFrame
[603:353] [2022-08-21 16:19:34 +0000.798541][43c6] The convert RGB to YUV take 3
[603:549] [2022-08-21 16:19:34 +0000.994868][4434] DTS queue for
Generator:0x7316bd80b8 431 466
[603:629] [2022-08-21 16:19:35 +0000.74419][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[603:745] [2022-08-21 16:19:35 +0000.190817][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[603:767] [2022-08-21 16:19:35 +0000.212840][442c] AF_SpeedFilter::PullFrame eof4
[603:773] [2022-08-21 16:19:35 +0000.219241][442c]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[603:847] [2022-08-21 16:19:35 +0000.292446][43c6] The convert RGB to YUV take 3
[603:848] [2022-08-21 16:19:35 +0000.294117][4433]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 696queue_audio_frame_:6
[603:884] [2022-08-21 16:19:35 +0000.329438][4434] Push an pts:801 to dts queue.
[603:918] [2022-08-21 16:19:35 +0000.363439][4434] SendFrame
encodedImage._timeStamp:801encodedImage->_length:133216
[603:918] [2022-08-21 16:19:35 +0000.363597][4434] last dts:765 currentPts:801
ppsOrSPS:0 queue length:2
[604:055] [2022-08-21 16:19:35 +0000.501020][4434] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:936 pts:936
[604:123] [2022-08-21 16:19:35 +0000.569195][442c]
RecordAudioSource::PullAudioFrame
[604:244] [2022-08-21 16:19:35 +0000.690152][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[604:281] [2022-08-21 16:19:35 +0000.727020][4434] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1199
[604:281] [2022-08-21 16:19:35 +0000.727090][4434] push video frame to H264
encoder. (100 frame for one log)

[604:281] [2022-08-21 16:19:35 +0000.727145][4434] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[604:281] [2022-08-21 16:19:35 +0000.727182][4434] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:1199(100 frame for one
log)

[604:281] [2022-08-21 16:19:35 +0000.727215][4434] The input pts:1199 fps:30


[604:325] [2022-08-21 16:19:35 +0000.771351][4434] H264Encode::H264SWEncoder get
callback, length:87376 type:1 nalType:1length:87372
[604:346] [2022-08-21 16:19:35 +0000.792219][43c6] The convert RGB to YUV take 2
[604:381] [2022-08-21 16:19:35 +0000.827129][4434] DTS queue for
Generator:0x7316bd80b8 1265 1297
[604:417] [2022-08-21 16:19:35 +0000.862945][43cd] haveEnoughProcessedData
internalAudioStream.length: 0
[604:524] [2022-08-21 16:19:35 +0000.969802][442d] The output timestamp from audio
mixer change:54980479
[604:621] [2022-08-21 16:19:36 +0000.66484][43cd] On audio frame the broadcast with
timestamp:54980579 samples:480. (1000 frame for one log)

[604:628] [2022-08-21 16:19:36 +0000.73937][442d] Get data in mic source, which has
byte length:1764micAudioStream->length():20
[604:628] [2022-08-21 16:19:36 +0000.74338][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[604:717] [2022-08-21 16:19:36 +0000.162973][442c] resampled_data_size:16616
[604:743] [2022-08-21 16:19:36 +0000.188420][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[604:820] [2022-08-21 16:19:36 +0000.265495][43ce] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[604:820] [2022-08-21 16:19:36 +0000.265613][43ce] _deviceSampleRate:48000

[604:824] [2022-08-21 16:19:36 +0000.269785][43cd] Run AGC when audioType = 0


[604:845] [2022-08-21 16:19:36 +0000.290536][43c6] The convert RGB to YUV take 2
[604:877] [2022-08-21 16:19:36 +0000.323040][43c6] webrtc common_video plane
old ..... (1/1000) new: 18001 delete: 17984 diff: 17
[604:883] [2022-08-21 16:19:36 +0000.328640][442c] AF_SpeedFilter audio
0x7222efb000 PullFrame
[605:119] [2022-08-21 16:19:36 +0000.565128][4434] h264 add frame header cdr flag
[605:120] [2022-08-21 16:19:36 +0000.565467][4434] Received key frame:1998
[605:147] [2022-08-21 16:19:36 +0000.592910][43c6] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[605:153] [2022-08-21 16:19:36 +0000.598834][4435] get the H.264 IDR frame
[605:187] [2022-08-21 16:19:36 +0000.633002][4434] DTS queue for
Generator:0x7316bd80b8 2096
[605:214] [2022-08-21 16:19:36 +0000.659429][4434] Push an pts:2128 to dts queue.
[605:241] [2022-08-21 16:19:36 +0000.686825][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[605:254] [2022-08-21 16:19:36 +0000.699652][4434] last dts:2096 currentPts:2128
ppsOrSPS:0 queue length:2
[605:317] [2022-08-21 16:19:36 +0000.762885][3af5]
monitorTime:4004totalDuration:3920
[605:347] [2022-08-21 16:19:36 +0000.792975][43c6] The convert RGB to YUV take 3
[605:634] [2022-08-21 16:19:37 +0000.79661][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[605:678] [2022-08-21 16:19:37 +0000.124340][442c] AF_SpeedFilter audio time,
0x7222efb000 rcv time: 54981625
[605:679] [2022-08-21 16:19:37 +0000.124398][442c] AF_SpeedFilter audio time,
0x7222efb000 rcv time: 54981625in_nSamples:441
[605:743] [2022-08-21 16:19:37 +0000.188765][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[605:752] [2022-08-21 16:19:37 +0000.198171][442c]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 54981631
[605:752] [2022-08-21 16:19:37 +0000.198280][442c]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[605:847] [2022-08-21 16:19:37 +0000.293121][43c6] The convert RGB to YUV take 2
[605:880] [2022-08-21 16:19:37 +0000.326060][4434]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:2798
[606:020] [2022-08-21 16:19:37 +0000.465750][4434] DTS queue for
Generator:0x7316bd80b8 2931
[606:024] [2022-08-21 16:19:37 +0000.470006][442c]
RecordAudioSource::PullAudioFrame
[606:045] [2022-08-21 16:19:37 +0000.490775][43c6] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[606:045] [2022-08-21 16:19:37 +0000.490832][43c6] GPUImageProcessing: input frame
width1920 X 1080
[606:046] [2022-08-21 16:19:37 +0000.491802][43c6] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[606:046] [2022-08-21 16:19:37 +0000.491879][43c6] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[606:105] [2022-08-21 16:19:37 +0000.550867][442c] AF_SpeedFilter::PullFrame eof4
[606:115] [2022-08-21 16:19:37 +0000.561351][442c]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[606:135] [2022-08-21 16:19:37 +0000.580506][43cd] haveEnoughProcessedData
internalAudioStream.length: 0
[606:216] [2022-08-21 16:19:37 +0000.662198][4433]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 3018queue_audio_frame_:9
[606:244] [2022-08-21 16:19:37 +0000.689998][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[606:344] [2022-08-21 16:19:37 +0000.790044][43c6] drawYUV420 render
OpenGLRenderProgram:0x72a4b7cc98
[606:347] [2022-08-21 16:19:37 +0000.792980][43c6] The convert RGB to YUV take 3
[606:491] [2022-08-21 16:19:37 +0000.937138][442c] AF_SpeedFilter audio
0x7222efb000 PullFrame
[606:549] [2022-08-21 16:19:37 +0000.994826][4434] Push an pts:3464 to dts queue.
[606:578] [2022-08-21 16:19:38 +0000.23988][4434] last dts:3429 currentPts:3464
ppsOrSPS:0 queue length:2
[606:624] [2022-08-21 16:19:38 +0000.70224][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[606:742] [2022-08-21 16:19:38 +0000.188134][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[606:823] [2022-08-21 16:19:38 +0000.268613][43cd] Run AGC when audioType = 0
[606:823] [2022-08-21 16:19:38 +0000.268777][43cd]
AudioDeviceDataHandler::MixAndSendOutFrame
[606:844] [2022-08-21 16:19:38 +0000.290022][43c6] The convert RGB to YUV take 3
[606:852] [2022-08-21 16:19:38 +0000.297510][4434] DTS queue for
Generator:0x7316bd80b8 3763
[606:967] [2022-08-21 16:19:38 +0000.413232][442c] resampled_data_size:7680
[606:973] [2022-08-21 16:19:38 +0000.418637][43c6] webrtc common_video plane
old ..... (1/1000) new: 19001 delete: 18980 diff: 21
[607:114] [2022-08-21 16:19:38 +0000.560099][4434] h264 add frame header cdr flag
[607:115] [2022-08-21 16:19:38 +0000.560414][4434] Received key frame:3997
[607:151] [2022-08-21 16:19:38 +0000.596851][4435] get the H.264 IDR frame
[607:241] [2022-08-21 16:19:38 +0000.687352][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[607:255] [2022-08-21 16:19:38 +0000.700923][4434] SendFrame
encodedImage._timeStamp:4127encodedImage->_length:81408
[607:345] [2022-08-21 16:19:38 +0000.790948][43c6] The convert RGB to YUV take 2
[607:413] [2022-08-21 16:19:38 +0000.859046][4434] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4296 pts:4296
[607:628] [2022-08-21 16:19:39 +0000.74365][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[607:649] [2022-08-21 16:19:39 +0000.94406][4434] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:4563
[607:649] [2022-08-21 16:19:39 +0000.94495][4434] push video frame to H264 encoder.
(100 frame for one log)

[607:649] [2022-08-21 16:19:39 +0000.94555][4434] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[607:649] [2022-08-21 16:19:39 +0000.94604][4434] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:4563(100 frame for one
log)

[607:649] [2022-08-21 16:19:39 +0000.94647][4434] The input pts:4563 fps:30


[607:679] [2022-08-21 16:19:39 +0000.125319][4434] DTS queue for
Generator:0x7316bd80b8 4563 4597
[607:683] [2022-08-21 16:19:39 +0000.128699][4434] H264Encode::H264SWEncoder get
callback, length:77504 type:1 nalType:1length:77500
[607:741] [2022-08-21 16:19:39 +0000.187240][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[607:843] [2022-08-21 16:19:39 +0000.288902][43c6] The convert RGB to YUV take 4
[607:846] [2022-08-21 16:19:39 +0000.291833][43cd] haveEnoughProcessedData
internalAudioStream.length: 0
[607:878] [2022-08-21 16:19:39 +0000.324053][4434] Push an pts:4794 to dts queue.
[607:892] [2022-08-21 16:19:39 +0000.338284][442c]
RecordAudioSource::PullAudioFrame
[607:916] [2022-08-21 16:19:39 +0000.362059][4434] last dts:4761 currentPts:4794
ppsOrSPS:0 queue length:2
[608:094] [2022-08-21 16:19:39 +0000.539444][442c] AF_SpeedFilter audio
0x7222efb000 PullFrame
[608:241] [2022-08-21 16:19:39 +0000.686896][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[608:344] [2022-08-21 16:19:39 +0000.789437][43c6] The convert RGB to YUV take 3
[608:406] [2022-08-21 16:19:39 +0000.851629][442c] AF_SpeedFilter::PullFrame eof4
[608:415] [2022-08-21 16:19:39 +0000.861140][442c]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[608:471] [2022-08-21 16:19:39 +0000.917229][4433]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 5340queue_audio_frame_:3
[608:511] [2022-08-21 16:19:39 +0000.956794][4434] DTS queue for
Generator:0x7316bd80b8 5396 5429
[608:630] [2022-08-21 16:19:40 +0000.76333][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[608:666] [2022-08-21 16:19:40 +0000.112029][442c] FilterPipeline2::OnAudioFrame
pts 5630 last_audio_timestamp_ 5630
[608:741] [2022-08-21 16:19:40 +0000.186430][43c6] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[608:823] [2022-08-21 16:19:40 +0000.268937][43cd] Run AGC when audioType = 0
[608:843] [2022-08-21 16:19:40 +0000.288569][43c6] The convert RGB to YUV take 3
[608:973] [2022-08-21 16:19:40 +0000.418961][43c6]
MediaFilterCamera::NeedProcessTexture
[609:042] [2022-08-21 16:19:40 +0000.487630][43c6] webrtc common_video plane
old ..... (1/1000) new: 20001 delete: 19984 diff: 17
[609:072] [2022-08-21 16:19:40 +0000.518046][43c6] CameraSource::PushExtraFrame
pkt_dts: 6024, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7222d9ed00
[609:074] [2022-08-21 16:19:40 +0000.519728][43c6] CropFilter::OnVideoFrame
outputtexture :14
[609:107] [2022-08-21 16:19:40 +0000.553182][43c6]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:6026
[609:110] [2022-08-21 16:19:40 +0000.555864][4434] h264 add frame header cdr flag
[609:110] [2022-08-21 16:19:40 +0000.556242][4434] Received key frame:5995
[609:149] [2022-08-21 16:19:40 +0000.594427][4435] get the H.264 IDR frame
[609:192] [2022-08-21 16:19:40 +0000.637459][442c] resampled_data_size:0
[609:215] [2022-08-21 16:19:40 +0000.661056][4434]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6129
[609:215] [2022-08-21 16:19:40 +0000.661248][4434] Push an pts:6129 to dts queue.
[609:239] [2022-08-21 16:19:40 +0000.684569][43c6] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[609:248] [2022-08-21 16:19:40 +0000.693495][4434] last dts:6094 currentPts:6129
ppsOrSPS:0 queue length:2
[609:316] [2022-08-21 16:19:40 +0000.762364][4434] DTS queue for
Generator:0x7316bd80b8 6227
[609:331] [2022-08-21 16:19:40 +0000.776948][442c] AF_SpeedFilter audio time 111,
0x7222efb000 out time: 54985201 org time: 54985201
[609:343] [2022-08-21 16:19:40 +0000.789394][43c6] The convert RGB to YUV take 4
[609:405] [2022-08-21 16:19:40 +0000.850418][43c6] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[609:405] [2022-08-21 16:19:40 +0000.850508][43c6] GPUImageProcessing: input frame
width1920 X 1080
[609:405] [2022-08-21 16:19:40 +0000.850704][43c6] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[609:405] [2022-08-21 16:19:40 +0000.850738][43c6] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[609:512] [2022-08-21 16:19:40 +0000.957747][442c] AF_SpeedFilter audio time
[609:564] [2022-08-21 16:19:41 +0000.9457][43cd] haveEnoughProcessedData
internalAudioStream.length: 10
[609:624] [2022-08-21 16:19:41 +0000.70299][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[609:671] [2022-08-21 16:19:41 +0000.117025][43c6] drawYUV420 render
OpenGLRenderProgram:0x72a4b7cc98
[609:691] [2022-08-21 16:19:41 +0000.136667][442c] AF_SpeedFilter audio
0x7222efb000 PullFrame
[609:736] [2022-08-21 16:19:41 +0000.181900][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[609:763] [2022-08-21 16:19:41 +0000.209099][442c]
RecordAudioSource::PullAudioFrame
[609:839] [2022-08-21 16:19:41 +0000.285264][43c6] The convert RGB to YUV take 3
[610:146] [2022-08-21 16:19:41 +0000.591720][4434] DTS queue for
Generator:0x7316bd80b8 7059
[610:241] [2022-08-21 16:19:41 +0000.686774][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[610:341] [2022-08-21 16:19:41 +0000.787285][43c6] The convert RGB to YUV take 4
[610:550] [2022-08-21 16:19:41 +0000.995697][4434] Push an pts:7463 to dts queue.
[610:577] [2022-08-21 16:19:42 +0000.22972][4434] SendFrame
encodedImage._timeStamp:7463encodedImage->_length:80848
[610:577] [2022-08-21 16:19:42 +0000.23205][4434] last dts:7428 currentPts:7463
ppsOrSPS:0 queue length:2
[610:631] [2022-08-21 16:19:42 +0000.76696][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[610:725] [2022-08-21 16:19:42 +0000.170423][442c] AF_SpeedFilter::PullFrame eof4
[610:734] [2022-08-21 16:19:42 +0000.179553][442c]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[610:739] [2022-08-21 16:19:42 +0000.184446][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[610:781] [2022-08-21 16:19:42 +0000.227323][4434] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:7660 pts:7660
[610:822] [2022-08-21 16:19:42 +0000.267605][43cd] Run AGC when audioType = 0
[610:822] [2022-08-21 16:19:42 +0000.267778][43cd]
AudioDeviceDataHandler::MixAndSendOutFrame
[610:838] [2022-08-21 16:19:42 +0000.283662][4433]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 7662queue_audio_frame_:6
[610:840] [2022-08-21 16:19:42 +0000.285418][43c6] The convert RGB to YUV take 3
[610:981] [2022-08-21 16:19:42 +0000.426701][4434] DTS queue for
Generator:0x7316bd80b8 7893
[611:007] [2022-08-21 16:19:42 +0000.453183][4434] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:7925
[611:007] [2022-08-21 16:19:42 +0000.453371][4434] push video frame to H264
encoder. (100 frame for one log)

[611:008] [2022-08-21 16:19:42 +0000.453436][4434] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[611:008] [2022-08-21 16:19:42 +0000.453500][4434] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:7925(100 frame for one
log)
[611:008] [2022-08-21 16:19:42 +0000.453588][4434] The input pts:7925 fps:30
[611:048] [2022-08-21 16:19:42 +0000.493439][4434] H264Encode::H264SWEncoder get
callback, length:133888 type:1 nalType:1length:133884
[611:115] [2022-08-21 16:19:42 +0000.560581][4434] h264 add frame header cdr flag
[611:116] [2022-08-21 16:19:42 +0000.561660][4434] Received key frame:7993
[611:136] [2022-08-21 16:19:42 +0000.582246][43c6] webrtc common_video plane
old ..... (1/1000) new: 21001 delete: 20980 diff: 21
[611:149] [2022-08-21 16:19:42 +0000.595027][4435] get the H.264 IDR frame
[611:237] [2022-08-21 16:19:42 +0000.682905][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[611:282] [2022-08-21 16:19:42 +0000.727944][43cd] haveEnoughProcessedData
internalAudioStream.length: 10
[611:317] [2022-08-21 16:19:42 +0000.762553][442c] AF_SpeedFilter audio
0x7222efb000 PullFrame
[611:345] [2022-08-21 16:19:42 +0000.791346][43c6] The convert RGB to YUV take 5
[611:393] [2022-08-21 16:19:42 +0000.838602][442c] resampled_data_size:10752
[611:625] [2022-08-21 16:19:43 +0000.70700][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[611:658] [2022-08-21 16:19:43 +0000.104397][442c]
RecordAudioSource::PullAudioFrame
[611:741] [2022-08-21 16:19:43 +0000.187142][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[611:811] [2022-08-21 16:19:43 +0000.256657][4434] DTS queue for
Generator:0x7316bd80b8 8692 8728
[611:844] [2022-08-21 16:19:43 +0000.289758][43c6] The convert RGB to YUV take 4
[611:879] [2022-08-21 16:19:43 +0000.324828][4434] Push an pts:8793 to dts queue.
[611:915] [2022-08-21 16:19:43 +0000.361320][4434] last dts:8760 currentPts:8793
ppsOrSPS:0 queue length:2
[612:237] [2022-08-21 16:19:43 +0000.682620][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[612:341] [2022-08-21 16:19:43 +0000.786432][43c6] The convert RGB to YUV take 3
[612:545] [2022-08-21 16:19:43 +0000.991215][4434]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:9458
[612:621] [2022-08-21 16:19:44 +0000.67201][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[612:646] [2022-08-21 16:19:44 +0000.91518][4434] DTS queue for
Generator:0x7316bd80b8 9523 9558
[612:737] [2022-08-21 16:19:44 +0000.182667][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[612:769] [2022-08-21 16:19:44 +0000.215341][43c6] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[612:770] [2022-08-21 16:19:44 +0000.215454][43c6] GPUImageProcessing: input frame
width1920 X 1080
[612:770] [2022-08-21 16:19:44 +0000.215745][43c6] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[612:770] [2022-08-21 16:19:44 +0000.215797][43c6] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[612:825] [2022-08-21 16:19:44 +0000.270450][43cd] Run AGC when audioType = 0
[612:837] [2022-08-21 16:19:44 +0000.283075][43c6] The convert RGB to YUV take 4
[612:940] [2022-08-21 16:19:44 +0000.386279][442c] AF_SpeedFilter audio
0x7222efb000 PullFrame
[612:992] [2022-08-21 16:19:44 +0000.438047][43cd] haveEnoughProcessedData
internalAudioStream.length: 0
[613:004] [2022-08-21 16:19:44 +0000.449501][43c6] drawYUV420 render
OpenGLRenderProgram:0x72a4b7cc98
[613:071] [2022-08-21 16:19:44 +0000.517246][442c] AF_SpeedFilter::PullFrame eof4
[613:083] [2022-08-21 16:19:44 +0000.529284][442c]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[613:118] [2022-08-21 16:19:44 +0000.563858][4434] h264 add frame header cdr flag
[613:119] [2022-08-21 16:19:44 +0000.564718][4434] Received key frame:9990
[613:144] [2022-08-21 16:19:44 +0000.589688][4435] get the H.264 IDR frame
[613:198] [2022-08-21 16:19:44 +0000.643758][4433]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9984queue_audio_frame_:10
[613:205] [2022-08-21 16:19:44 +0000.650884][43c6] webrtc common_video plane
old ..... (1/1000) new: 22001 delete: 21984 diff: 17
[613:206] [2022-08-21 16:19:44 +0000.651520][4434] Push an pts:10124 to dts queue.
[613:236] [2022-08-21 16:19:44 +0000.681705][43c6] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[613:245] [2022-08-21 16:19:44 +0000.691193][4434] last dts:10090 currentPts:10124
ppsOrSPS:0 queue length:2
[613:343] [2022-08-21 16:19:44 +0000.789368][43c6] The convert RGB to YUV take 4
[613:448] [2022-08-21 16:19:44 +0000.894022][4434] DTS queue for
Generator:0x7316bd80b8 10362
[613:575] [2022-08-21 16:19:45 +0000.20839][442c] RecordAudioSource::PullAudioFrame
[613:628] [2022-08-21 16:19:45 +0000.73641][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[613:652] [2022-08-21 16:19:45 +0000.97463][442c] resampled_data_size:1536
[613:737] [2022-08-21 16:19:45 +0000.183305][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[613:844] [2022-08-21 16:19:45 +0000.289494][43c6] The convert RGB to YUV take 4
[613:912] [2022-08-21 16:19:45 +0000.358201][4434] SendFrame
encodedImage._timeStamp:10795encodedImage->_length:118080
[614:147] [2022-08-21 16:19:45 +0000.592741][4434] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:11029 pts:11029
[614:239] [2022-08-21 16:19:45 +0000.684763][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[614:280] [2022-08-21 16:19:45 +0000.725531][4434] DTS queue for
Generator:0x7316bd80b8 11194
[614:342] [2022-08-21 16:19:45 +0000.788328][43c6] The convert RGB to YUV take 4
[614:377] [2022-08-21 16:19:45 +0000.823130][4434] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:11293
[614:377] [2022-08-21 16:19:45 +0000.823226][4434] push video frame to H264
encoder. (100 frame for one log)

[614:377] [2022-08-21 16:19:45 +0000.823309][4434] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[614:377] [2022-08-21 16:19:45 +0000.823347][4434] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:11293(100 frame for one
log)

[614:378] [2022-08-21 16:19:45 +0000.823471][4434] The input pts:11293 fps:30


[614:415] [2022-08-21 16:19:45 +0000.861019][4434] H264Encode::H264SWEncoder get
callback, length:161856 type:1 nalType:1length:161852
[614:515] [2022-08-21 16:19:45 +0000.960653][442d] The output timestamp from audio
mixer change:54990462
[614:545] [2022-08-21 16:19:45 +0000.990834][4434] Push an pts:11460 to dts queue.
[614:578] [2022-08-21 16:19:46 +0000.23771][4434] last dts:11428 currentPts:11460
ppsOrSPS:0 queue length:2
[614:585] [2022-08-21 16:19:46 +0000.31316][442c] AF_SpeedFilter audio 0x7222efb000
PullFrame
[614:622] [2022-08-21 16:19:46 +0000.67820][43cd] On audio frame the broadcast with
timestamp:54990580 samples:480. (1000 frame for one log)

[614:631] [2022-08-21 16:19:46 +0000.77054][442d] Get data in mic source, which has
byte length:1764micAudioStream->length():20
[614:632] [2022-08-21 16:19:46 +0000.77425][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[614:705] [2022-08-21 16:19:46 +0000.151131][43cd] haveEnoughProcessedData
internalAudioStream.length: 10
[614:739] [2022-08-21 16:19:46 +0000.184824][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[614:820] [2022-08-21 16:19:46 +0000.265558][43ce] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[614:820] [2022-08-21 16:19:46 +0000.265726][43ce] _deviceSampleRate:48000

[614:820] [2022-08-21 16:19:46 +0000.266129][43cd] Run AGC when audioType = 0


[614:820] [2022-08-21 16:19:46 +0000.266206][43cd]
AudioDeviceDataHandler::MixAndSendOutFrame
[614:844] [2022-08-21 16:19:46 +0000.290172][43c6] The convert RGB to YUV take 3
[615:113] [2022-08-21 16:19:46 +0000.559220][4434] h264 add frame header cdr flag
[615:114] [2022-08-21 16:19:46 +0000.559865][4434] Received key frame:11992
[615:114] [2022-08-21 16:19:46 +0000.559941][4434] DTS queue for
Generator:0x7316bd80b8 11992 12026
[615:147] [2022-08-21 16:19:46 +0000.592916][4435] get the H.264 IDR frame
[615:239] [2022-08-21 16:19:46 +0000.685488][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[615:300] [2022-08-21 16:19:46 +0000.745621][43c6] webrtc common_video plane
old ..... (1/1000) new: 23001 delete: 22980 diff: 21
[615:339] [2022-08-21 16:19:46 +0000.785266][43c6] The convert RGB to YUV take 3
[615:451] [2022-08-21 16:19:46 +0000.896689][442c] AF_SpeedFilter::PullFrame eof4
[615:451] [2022-08-21 16:19:46 +0000.896710][4433]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 12306queue_audio_frame_:4
[615:457] [2022-08-21 16:19:46 +0000.903034][442c]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[615:495] [2022-08-21 16:19:46 +0000.941303][442c]
RecordAudioSource::PullAudioFrame
[615:628] [2022-08-21 16:19:47 +0000.74043][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[615:677] [2022-08-21 16:19:47 +0000.123445][442c] AF_SpeedFilter audio time,
0x7222efb000 rcv time: 54991619
[615:678] [2022-08-21 16:19:47 +0000.123569][442c] AF_SpeedFilter audio time,
0x7222efb000 rcv time: 54991619in_nSamples:441
[615:730] [2022-08-21 16:19:47 +0000.176218][442c]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 54991631
[615:730] [2022-08-21 16:19:47 +0000.176301][442c]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[615:736] [2022-08-21 16:19:47 +0000.181745][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[615:812] [2022-08-21 16:19:47 +0000.257416][442c] resampled_data_size:14336
[615:843] [2022-08-21 16:19:47 +0000.289217][43c6] The convert RGB to YUV take 2
[615:878] [2022-08-21 16:19:47 +0000.324227][4434]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:12793
[615:878] [2022-08-21 16:19:47 +0000.324310][4434] Push an pts:12793 to dts queue.
[615:910] [2022-08-21 16:19:47 +0000.355619][4434] last dts:12759 currentPts:12793
ppsOrSPS:0 queue length:2
[615:943] [2022-08-21 16:19:47 +0000.389126][4434] DTS queue for
Generator:0x7316bd80b8 12822 12857
[616:131] [2022-08-21 16:19:47 +0000.576526][43c6] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[616:131] [2022-08-21 16:19:47 +0000.576622][43c6] GPUImageProcessing: input frame
width1920 X 1080
[616:131] [2022-08-21 16:19:47 +0000.577091][43c6] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[616:131] [2022-08-21 16:19:47 +0000.577167][43c6] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[616:218] [2022-08-21 16:19:47 +0000.663649][442c] AF_SpeedFilter audio
0x7222efb000 PullFrame
[616:230] [2022-08-21 16:19:47 +0000.676283][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[616:233] [2022-08-21 16:19:47 +0000.678492][43c6] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[616:337] [2022-08-21 16:19:47 +0000.782764][43c6] drawYUV420 render
OpenGLRenderProgram:0x72a4b7cc98
[616:342] [2022-08-21 16:19:47 +0000.788015][43c6] The convert RGB to YUV take 5
[616:417] [2022-08-21 16:19:47 +0000.862623][43cd] haveEnoughProcessedData
internalAudioStream.length: 0
[616:620] [2022-08-21 16:19:48 +0000.66123][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[616:737] [2022-08-21 16:19:48 +0000.182878][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[616:777] [2022-08-21 16:19:48 +0000.223274][4434] DTS queue for
Generator:0x7316bd80b8 13660 13692
[616:823] [2022-08-21 16:19:48 +0000.268617][43cd] Run AGC when audioType = 0
[616:842] [2022-08-21 16:19:48 +0000.288101][43c6] The convert RGB to YUV take 3
[617:112] [2022-08-21 16:19:48 +0000.557976][4434] h264 add frame header cdr flag
[617:113] [2022-08-21 16:19:48 +0000.558545][4434] Received key frame:13990
[617:150] [2022-08-21 16:19:48 +0000.595534][4435] get the H.264 IDR frame
[617:210] [2022-08-21 16:19:48 +0000.655751][4434] Push an pts:14124 to dts queue.
[617:236] [2022-08-21 16:19:48 +0000.682279][43c6] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[617:244] [2022-08-21 16:19:48 +0000.690195][4434] SendFrame
encodedImage._timeStamp:14124encodedImage->_length:121296
[617:244] [2022-08-21 16:19:48 +0000.690342][4434] last dts:14091 currentPts:14124
ppsOrSPS:0 queue length:2
[617:344] [2022-08-21 16:19:48 +0000.790101][43c6] The convert RGB to YUV take 7
[617:371] [2022-08-21 16:19:48 +0000.817243][43c6] webrtc common_video plane
old ..... (1/1000) new: 24001 delete: 23984 diff: 17
[617:396] [2022-08-21 16:19:48 +0000.841640][442c]
RecordAudioSource::PullAudioFrame
[617:513] [2022-08-21 16:19:48 +0000.958713][4434] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:14389 pts:14389
[617:576] [2022-08-21 16:19:49 +0000.21865][4434] DTS queue for
Generator:0x7316bd80b8 14489
[617:627] [2022-08-21 16:19:49 +0000.73071][442d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[617:633] [2022-08-21 16:19:49 +0000.78656][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[617:639] [2022-08-21 16:19:49 +0000.84649][43c6] operator(): Stop
[617:639] [2022-08-21 16:19:49 +0000.84706][43c6] StopPullFrameAndWriteMp4
time:54993597 enter.

[617:639] [2022-08-21 16:19:49 +0000.84760][43c6] StopRecording:


[617:642] [2022-08-21 16:19:49 +0000.87540][442c] PullAudioFrame: PullFrame audio
finished.
[617:642] [2022-08-21 16:19:49 +0000.87601][442c]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[617:643] [2022-08-21 16:19:49 +0000.89113][4434]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:437
[617:646] [2022-08-21 16:19:49 +0000.91807][43c4] stop recording
[617:646] [2022-08-21 16:19:49 +0000.91865][43c4]
RecordingSessionInternalSimple:destroy media processers
[617:646] [2022-08-21 16:19:49 +0000.91898][43c4] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[617:646] [2022-08-21 16:19:49 +0000.91924][43c4] H264Encode::flushing hareware
Encoder
[617:646] [2022-08-21 16:19:49 +0000.92170][43c4] Flush time:54993604 enter.

[617:646] [2022-08-21 16:19:49 +0000.92233][43c4] H264Encoder encoder flush


[617:646] [2022-08-21 16:19:49 +0000.92297][43c4] flush output queue
[617:966] [2022-08-21 16:19:49 +0000.411663][43c4] Flush leave. expire time = 320
ms

[617:966] [2022-08-21 16:19:49 +0000.411964][43c4] ~H264EncodeWrap:


[617:966] [2022-08-21 16:19:49 +0000.412013][43c4] ~H264Encode:
[617:966] [2022-08-21 16:19:49 +0000.412073][43c4] teardownCompressionSession:
H264Encode::destroying Encoder
[617:966] [2022-08-21 16:19:49 +0000.412134][43c4] Release time:54993924 enter.

[617:966] [2022-08-21 16:19:49 +0000.412314][43c4] Release:


MediaCodecVideoEncoder::Release _inited:1
[617:966] [2022-08-21 16:19:49 +0000.412366][43c4] Destroy time:54993924 enter.

[617:967] [2022-08-21 16:19:49 +0000.412400][43c4] H264Encoder encoderDestroy


[617:967] [2022-08-21 16:19:49 +0000.412433][43c4]
AndroidMediaCodecVideoEncoder::release env: 0x723f0dbbc0
[617:967] [2022-08-21 16:19:49 +0000.412535][43c4]
AndroidMediaCodecVideoEncoder::Destroy
[618:012] [2022-08-21 16:19:49 +0000.458390][43c4] Destroy leave. expire time = 47
ms

[618:013] [2022-08-21 16:19:49 +0000.458561][43c4] Release leave. expire time = 47


ms

[618:013] [2022-08-21 16:19:49 +0000.458714][43c4] ~AndroidHwAvcEncoder


time:54993971 enter.

[618:013] [2022-08-21 16:19:49 +0000.458866][43c4] Release time:54993971 enter.

[618:013] [2022-08-21 16:19:49 +0000.458922][43c4] Release:


MediaCodecVideoEncoder:: has been released before, just return
[618:013] [2022-08-21 16:19:49 +0000.458962][43c4] Release leave. expire time = 0
ms

[618:013] [2022-08-21 16:19:49 +0000.459002][43c4] ~AndroidMediaCodecVideoEncoder


[618:013] [2022-08-21 16:19:49 +0000.459038][43c4] ~WrapAndroidMediaCodec
time:54993971 enter.

[618:013] [2022-08-21 16:19:49 +0000.459085][43c4] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[618:013] [2022-08-21 16:19:49 +0000.459125][43c4] video hevc hw codec


destructor:0x723f0b74d8

[618:013] [2022-08-21 16:19:49 +0000.459193][43c4] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[618:013] [2022-08-21 16:19:49 +0000.459248][43c4] teardownCompressionSession:


H264Encode::destroyed Encoder
[618:013] [2022-08-21 16:19:49 +0000.459291][43c4]
RecordingSessionInternalSimple:destroy aac encoder output!
[618:013] [2022-08-21 16:19:49 +0000.459332][43c4] AACSWEncode destructor
[618:019] [2022-08-21 16:19:49 +0000.464717][4435] MP4 close file successfully
[618:019] [2022-08-21 16:19:49 +0000.464801][4435] Recording session Internal:
notify recording ok
[618:019] [2022-08-21 16:19:49 +0000.464884][4435] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4,
output_video_timestamp_:14520 last_video_pts_:14520
[618:019] [2022-08-21 16:19:49 +0000.464928][4435] OnRecordFinish:
[618:020] [2022-08-21 16:19:49 +0000.465531][4435] onRecordingOk: net seek
pos:0record video duration:14553record audio duration:14535
[618:020] [2022-08-21 16:19:49 +0000.466186][442d] destructMicSource_w:
[618:020] [2022-08-21 16:19:49 +0000.466270][442d] setOutput_w:
MicSource::setOutput() 0x0
[618:021] [2022-08-21 16:19:49 +0000.466470][43c6] releaseThread 0x7222d9df80
[618:021] [2022-08-21 16:19:49 +0000.466529][43c6] ~MicSource: Mic source
destroyed:0x722498b380
[618:021] [2022-08-21 16:19:49 +0000.467222][43c6] StopPullFrameAndWriteMp4 leave.
expire time = 382 ms

[618:021] [2022-08-21 16:19:49 +0000.467271][43c6] DestroyPipelineAndFilters


time:54993979 enter.

[618:021] [2022-08-21 16:19:49 +0000.467331][43c6] UnbindInputFilter 0x7222d9ee40


this 0x72a4b7cec0
[618:021] [2022-08-21 16:19:49 +0000.467385][43c6] UnbindInputFilter 0x7222d9efd8
this 0x7222efb150
[618:022] [2022-08-21 16:19:49 +0000.467527][43c6] UnbindInputFilter 0x72a4b7cec0
this 0x73d173fd20
[618:022] [2022-08-21 16:19:49 +0000.467552][43c6] filter: filter pipeline destroy
this: 0x73d173fc80
[618:022] [2022-08-21 16:19:49 +0000.467824][43c6] ClearVideoOfSources: recodring
total frames:0
[618:022] [2022-08-21 16:19:49 +0000.467860][43c6] ClearVideoOfSources:
[618:022] [2022-08-21 16:19:49 +0000.467899][43c6] GPUImageProcessing destruct.
[618:022] [2022-08-21 16:19:49 +0000.467954][43c6] destroy TrivalImageDrawer
0x7248eda8c0
[618:022] [2022-08-21 16:19:49 +0000.467984][43c6] The shader has been initialize,
clean up them.

[618:022] [2022-08-21 16:19:49 +0000.468042][43c6] ~OpenGLFrameBuffer:


[618:022] [2022-08-21 16:19:49 +0000.468139][43c6] ~OpenGLFrameBuffer:
[618:023] [2022-08-21 16:19:49 +0000.468699][43c6] ~OpenGLFrameBuffer:
[618:023] [2022-08-21 16:19:49 +0000.468770][43c6] ~OpenGLFrameBuffer:
[618:023] [2022-08-21 16:19:49 +0000.468834][43c6] ~OpenGLFrameBuffer:
[618:023] [2022-08-21 16:19:49 +0000.468897][43c6] ~OpenGLFrameBuffer:
[618:023] [2022-08-21 16:19:49 +0000.469071][43c6] GPUImageProcessing destruct
finish.
[618:023] [2022-08-21 16:19:49 +0000.469116][43c6] GPURGBAFrame destruct.
[618:023] [2022-08-21 16:19:49 +0000.469157][43c6] destroy OpenGLRenderProgram
0x72a4b7cc98
[618:023] [2022-08-21 16:19:49 +0000.469181][43c6] ~CameraSource time:54993981
enter.

[618:023] [2022-08-21 16:19:49 +0000.469201][43c6] ~CameraSource leave. expire


time = 0 ms
[618:023] [2022-08-21 16:19:49 +0000.469225][43c6] ~RecordAudioSource time:54993981
enter.

[618:023] [2022-08-21 16:19:49 +0000.469300][43c6] ~RecordAudioSource leave.


expire time = 0 ms

[618:023] [2022-08-21 16:19:49 +0000.469326][43c6] DestroyPipelineAndFilters


leave. expire time = 2 ms

[618:039] [2022-08-21 16:19:49 +0000.484838][7133]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[618:040] [2022-08-21 16:19:49 +0000.485446][7133] machine model :poco
[618:040] [2022-08-21 16:19:49 +0000.485480][7133] Support this machine model :poco
[618:040] [2022-08-21 16:19:49 +0000.485499][7133] global inited! current sdk
version: 07-20-936c45f
[618:040] [2022-08-21 16:19:49 +0000.485645][7133] filter: filter pipeline
construtc this: 0x7248ecdb80
[618:040] [2022-08-21 16:19:49 +0000.485671][7133] MediaFilterGraph:
MediaFilterGraph construct
[618:040] [2022-08-21 16:19:49 +0000.485700][7133] GLESContext:
[618:040] [2022-08-21 16:19:49 +0000.485741][7133] The result of eglGetDisplay is:
0xb400007326e87f00
[618:041] [2022-08-21 16:19:49 +0000.486402][7133] The result of creation:
0x7248eb0500
[618:041] [2022-08-21 16:19:49 +0000.486482][7133] The result of
eglCreatePbufferSurface is: 0x7248eb0880
[618:041] [2022-08-21 16:19:49 +0000.486564][7133] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4
[618:041] [2022-08-21 16:19:49 +0000.486595][7133] The source 0 speed:1
[618:041] [2022-08-21 16:19:49 +0000.486625][7133] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4,
delay: 0
[618:041] [2022-08-21 16:19:49 +0000.486656][7133] CreateDecoderByVideoSource
time:54993999 enter.

[618:041] [2022-08-21 16:19:49 +0000.486797][7133] running_decoder_count:0max


count:2
[618:041] [2022-08-21 16:19:49 +0000.486827][7133] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x72a4b84800
[618:042] [2022-08-21 16:19:49 +0000.487471][44a0] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7261461c00] Current FFmpeg version git-2021-06-16-
97cea6f

[618:090] [2022-08-21 16:19:49 +0000.535930][44a0] OnStreamInfoFound: video


duration_: 14553
[618:092] [2022-08-21 16:19:49 +0000.538396][44a1] NO get frame from decoder
[618:094] [2022-08-21 16:19:49 +0000.539429][7133] start decoder
[618:094] [2022-08-21 16:19:49 +0000.539508][7133] CreateDecoderByVideoSource
leave. expire time = 53 ms

[618:094] [2022-08-21 16:19:49 +0000.539598][7133] BindInputFilter 0x7222d83120


this 0x7248f839d8
[618:094] [2022-08-21 16:19:49 +0000.539671][7133] BindInputFilter 0x7248f839d8
this 0x7248f83a98
[618:094] [2022-08-21 16:19:49 +0000.539748][7133] BindInputFilter 0x7222d83120
this 0x7248f83b58
[618:094] [2022-08-21 16:19:49 +0000.539825][7133] BindInputFilter 0x7248f83b58
this 0x7248f83cd8
[618:094] [2022-08-21 16:19:49 +0000.539880][7133] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4
[618:094] [2022-08-21 16:19:49 +0000.539949][7133] BindInputFilter 0x7248f83a98
this 0x7248f83d98
[618:094] [2022-08-21 16:19:49 +0000.540012][7133] BindInputFilter 0x7248f83d98
this 0x7248ecdc20
[618:094] [2022-08-21 16:19:49 +0000.540065][7133] BindInputFilter 0x7248f83cd8
this 0x7248f83e58
[618:094] [2022-08-21 16:19:49 +0000.540122][7133] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4
[618:094] [2022-08-21 16:19:49 +0000.540215][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[618:095] [2022-08-21 16:19:49 +0000.540824][7133] machine model :poco
[618:095] [2022-08-21 16:19:49 +0000.540864][7133] Support this machine model :poco
[618:095] [2022-08-21 16:19:49 +0000.540914][7133] global inited! current sdk
version: 07-20-936c45f
[618:095] [2022-08-21 16:19:49 +0000.541005][7133] GetPipeline:
-----------------------------------------
[618:095] [2022-08-21 16:19:49 +0000.541048][7133] GetPipeline: source:
0x7222d82f00
[618:095] [2022-08-21 16:19:49 +0000.541149][7133] GetPipeline: filter: NULLFilter
[618:095] [2022-08-21 16:19:49 +0000.541198][7133] GetPipeline: filter: NULLFilter
[618:095] [2022-08-21 16:19:49 +0000.541249][7133] GetPipeline: filter: NULLFilter
[618:095] [2022-08-21 16:19:49 +0000.541278][7133] GetPipeline: audio filter:
AuidoNULLFilter
[618:095] [2022-08-21 16:19:49 +0000.541335][7133] GetPipeline: audio filter:
AuidoNULLFilter
[618:095] [2022-08-21 16:19:49 +0000.541365][7133] GetPipeline: audio filter:
AudioNUllFilter
[618:096] [2022-08-21 16:19:49 +0000.541417][7133] GetPipeline:
------------------------------------------
[618:096] [2022-08-21 16:19:49 +0000.541472][7133] filter: filter pipeline2 update
pattern: 0
[618:097] [2022-08-21 16:19:49 +0000.542950][44a1] NO get frame from decoder
[618:097] [2022-08-21 16:19:49 +0000.543006][7133] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[618:097] [2022-08-21 16:19:49 +0000.543346][7133] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[618:098] [2022-08-21 16:19:49 +0000.543576][7133] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[618:098] [2022-08-21 16:19:49 +0000.543855][7133] DeviceInit:
[618:098] [2022-08-21 16:19:49 +0000.544171][7133] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[618:099] [2022-08-21 16:19:49 +0000.544487][7133] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[618:099] [2022-08-21 16:19:49 +0000.544857][7133] CreatePlatformSpecificObjects:
[618:099] [2022-08-21 16:19:49 +0000.544908][7133] audio device use null audio
input and opensl output
[618:099] [2022-08-21 16:19:49 +0000.545034][7133] Create OpenSLES output module
with java VM support.

[618:099] [2022-08-21 16:19:49 +0000.545198][7133] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[618:100] [2022-08-21 16:19:49 +0000.545413][7133] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[618:100] [2022-08-21 16:19:49 +0000.545655][7133] Create OpenSLES output module
with buffer num:2

[618:100] [2022-08-21 16:19:49 +0000.545721][7133] Error(trace.cc:40): Init the


output and input for audio device template.
[618:100] [2022-08-21 16:19:49 +0000.545758][7133] Init the output device.

[618:100] [2022-08-21 16:19:49 +0000.545791][7133] Set the playout as stereo:1


[618:100] [2022-08-21 16:19:49 +0000.545826][7133] Set the sample rate to be:44100

[618:100] [2022-08-21 16:19:49 +0000.545879][7133] Low latency buffer size:144 low


sample rate:48000
[618:100] [2022-08-21 16:19:49 +0000.545924][7133] DeviceInit: Done
[618:101] [2022-08-21 16:19:49 +0000.546903][7133] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[618:106] [2022-08-21 16:19:49 +0000.551729][44a1] NO get frame from decoder
[618:107] [2022-08-21 16:19:49 +0000.553283][44ab] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x725b7db318
[618:108] [2022-08-21 16:19:49 +0000.553718][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[618:108] [2022-08-21 16:19:49 +0000.553860][7133]
MediaFilterPlayer::SetPlayerNotify 0x7223624ee0
[618:108] [2022-08-21 16:19:49 +0000.553920][7133]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[618:108] [2022-08-21 16:19:49 +0000.553957][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[618:108] [2022-08-21 16:19:49 +0000.554019][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[618:108] [2022-08-21 16:19:49 +0000.554129][7133] SetGraphLoop: SetGraphLoop 1
[618:108] [2022-08-21 16:19:49 +0000.554173][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[618:108] [2022-08-21 16:19:49 +0000.554199][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[618:109] [2022-08-21 16:19:49 +0000.554468][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[618:109] [2022-08-21 16:19:49 +0000.554748][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[618:112] [2022-08-21 16:19:49 +0000.558063][44a1] NO get frame from decoder
[618:114] [2022-08-21 16:19:49 +0000.560287][44ad] Start:
[618:115] [2022-08-21 16:19:49 +0000.560431][44ac] operator(): video render
started.
[618:115] [2022-08-21 16:19:49 +0000.560533][44ad] Start:
[618:115] [2022-08-21 16:19:49 +0000.560622][44ad] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[618:115] [2022-08-21 16:19:49 +0000.560671][44ad] Reset: history total size: 98
[618:115] [2022-08-21 16:19:49 +0000.560724][44ad] DeviceStart:
audioDevice_:0x725bb4b000
[618:115] [2022-08-21 16:19:49 +0000.560775][44ad] DeviceStart: time profile
playout init before
[618:115] [2022-08-21 16:19:49 +0000.560804][44ad] DeviceStart: time profile
playout init end
[618:115] [2022-08-21 16:19:49 +0000.560838][44ad] OpenSlesOutput:Start playout

[618:116] [2022-08-21 16:19:49 +0000.561419][44a1] NO get frame from decoder


[618:119] [2022-08-21 16:19:49 +0000.564462][44ad] Create the opensl output player.
streamtype before:0
[618:119] [2022-08-21 16:19:49 +0000.564569][44ad] Create the opensl output player.
streamtype after:3

[618:122] [2022-08-21 16:19:49 +0000.567853][44a1] NO get frame from decoder


[618:128] [2022-08-21 16:19:49 +0000.573655][43cd] haveEnoughProcessedData
internalAudioStream.length: 0
[618:137] [2022-08-21 16:19:49 +0000.583370][44a1] NO get frame from decoder
[618:144] [2022-08-21 16:19:49 +0000.589764][44ad] Enqueue opensl buffer size:1764
[618:145] [2022-08-21 16:19:49 +0000.591247][44a1] NO get frame from decoder
[618:172] [2022-08-21 16:19:49 +0000.618134][44ad] DeviceStart: time profile
playout all end
[618:172] [2022-08-21 16:19:49 +0000.618203][44ad] operator(): Audio playback
started.
[618:172] [2022-08-21 16:19:49 +0000.618323][44ad] operator(): Started now!
[618:221] [2022-08-21 16:19:49 +0000.666794][44ac] lipsync_debug: First video frame
rendering.
[618:380] [2022-08-21 16:19:49 +0000.826185][44ad] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[618:381] [2022-08-21 16:19:49 +0000.826406][44ad] First audio frame rendering
[618:381] [2022-08-21 16:19:49 +0000.826436][44ae] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 9170
[618:381] [2022-08-21 16:19:49 +0000.826477][44ae] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[618:502] [2022-08-21 16:19:49 +0000.948014][44ac] DriveRender working... (1/200)
[618:510] [2022-08-21 16:19:49 +0000.956211][44ad] The audio playback speed:100
(1/100)
[618:510] [2022-08-21 16:19:49 +0000.956294][44ad] lipsync_debug: The current
played audio timestamp is:12256(1/50)
[618:633] [2022-08-21 16:19:50 +0000.79245][44b0]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[618:784] [2022-08-21 16:19:50 +0000.230259][44ac] lipsync_debug:displaying video
ts:54090 The current displayed video timestamp is:54994742
[618:817] [2022-08-21 16:19:50 +0000.262724][44ac] lipsync_debug:remaining time:10
tsDelta - timeDelta:32
[618:817] [2022-08-21 16:19:50 +0000.262827][44ac] lipsync_debug:result remaining
time:10
[618:822] [2022-08-21 16:19:50 +0000.267856][43cd] Run AGC when audioType = 0
[618:822] [2022-08-21 16:19:50 +0000.268014][43cd]
AudioDeviceDataHandler::MixAndSendOutFrame
[619:122] [2022-08-21 16:19:50 +0000.567617][44af] Error(video_source.cc:430): wait
decoder a frame: 0
[619:332] [2022-08-21 16:19:50 +0000.777637][44ac]
lipsync_debug:lipsync_threadhold: lipsync_delta:17 tsDelta:51 timeDelta:35 last
video ts:95940 frame->pts:99000 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[619:332] [2022-08-21 16:19:50 +0000.777719][44ac] lipsync_debug: tsDelta -
timeDelta = 16
[619:421] [2022-08-21 16:19:50 +0000.866463][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[619:421] [2022-08-21 16:19:50 +0000.866902][44ad] Stop:
[619:421] [2022-08-21 16:19:50 +0000.867067][44ac] operator(): Video Render
stopped.
[619:421] [2022-08-21 16:19:50 +0000.867197][44ad] Stop:
[619:422] [2022-08-21 16:19:50 +0000.867417][44ad] DeviceStop:
audioDevice_:0x725bb4b000
[619:422] [2022-08-21 16:19:50 +0000.867593][44ad] OpenSlesOutput:Stop playout

[619:425] [2022-08-21 16:19:50 +0000.870725][44ad] DeviceStop: Done


[619:425] [2022-08-21 16:19:50 +0000.870819][44ad] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[619:425] [2022-08-21 16:19:50 +0000.870865][44ad] operator(): Stop now!
[619:447] [2022-08-21 16:19:50 +0000.893053][7133]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[619:447] [2022-08-21 16:19:50 +0000.893151][7133] StopPreView: Have Stopped,
operation cancel
[619:447] [2022-08-21 16:19:50 +0000.893189][7133] Stop:
[619:447] [2022-08-21 16:19:50 +0000.893279][44ad] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[619:448] [2022-08-21 16:19:50 +0000.893432][7133] DeviceRelease:
audioDevice_:0x725bb4b000
[619:448] [2022-08-21 16:19:50 +0000.893469][7133] OpenSlesOutput:Stop playout

[619:448] [2022-08-21 16:19:50 +0000.893509][7133] DeviceRelease: Release the


webrtc device object.
[619:448] [2022-08-21 16:19:50 +0000.893695][7133] OpenSlesOutput destruct.

[619:448] [2022-08-21 16:19:50 +0000.893749][7133] DeviceRelease: Done


[619:448] [2022-08-21 16:19:50 +0000.893823][7133] Stop:
[619:448] [2022-08-21 16:19:50 +0000.893894][44ac] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[619:454] [2022-08-21 16:19:50 +0000.899481][7133] global uninited!
[619:454] [2022-08-21 16:19:50 +0000.899571][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[619:454] [2022-08-21 16:19:50 +0000.899640][7133] ~MediaFilterGraph:
MediaFilterGraph destruct
[619:454] [2022-08-21 16:19:50 +0000.899662][7133] RemoveVideoBackGroud: hava not
add video backgroud
[619:454] [2022-08-21 16:19:50 +0000.899695][7133] UnbindInputFilter 0x7248f83d98
this 0x7248ecdc20
[619:454] [2022-08-21 16:19:50 +0000.899747][7133] ClearAllSource: remove source
filter, sourceid: 0x7222d82f00
[619:454] [2022-08-21 16:19:50 +0000.899767][7133] DestoryDecoderByVideoSource
time:54995412 enter.

[619:454] [2022-08-21 16:19:50 +0000.899789][7133] ~VideoBindDecoder time:54995412


enter.

[619:454] [2022-08-21 16:19:50 +0000.899891][7133] CleanUp time:54995412 enter.

[619:457] [2022-08-21 16:19:50 +0000.902781][7133] CleanUp leave. expire time = 3


ms

[619:457] [2022-08-21 16:19:50 +0000.902845][7133] CleanUp time:54995415 enter.

[619:457] [2022-08-21 16:19:50 +0000.903115][7133] CleanUp leave. expire time = 0


ms

[619:458] [2022-08-21 16:19:50 +0000.903712][7133] ~VideoBindDecoder leave. expire


time = 4 ms

[619:458] [2022-08-21 16:19:50 +0000.903755][7133] DestoryDecoderByVideoSource


leave. expire time = 4 ms

[619:458] [2022-08-21 16:19:50 +0000.903800][7133] UnbindInputFilter 0x7248f83a98


this 0x7248f83d98
[619:458] [2022-08-21 16:19:50 +0000.903834][7133] UnbindInputFilter 0x7248f839d8
this 0x7248f83a98
[619:458] [2022-08-21 16:19:50 +0000.903864][7133] UnbindInputFilter 0x7222d83120
this 0x7248f839d8
[619:458] [2022-08-21 16:19:50 +0000.903896][7133] UnbindInputFilter 0x7248f83cd8
this 0x7248f83e58
[619:458] [2022-08-21 16:19:50 +0000.903935][7133] UnbindInputFilter 0x7248f83b58
this 0x7248f83cd8
[619:458] [2022-08-21 16:19:50 +0000.903959][7133] UnbindInputFilter 0x7222d83120
this 0x7248f83b58
[619:458] [2022-08-21 16:19:50 +0000.904147][7133] ~GLESContext:
[619:459] [2022-08-21 16:19:50 +0000.904774][7133] GLESContext destruct finish.
[619:459] [2022-08-21 16:19:50 +0000.904812][7133] filter: filter pipeline destroy
this: 0x7248ecdb80
[619:459] [2022-08-21 16:19:50 +0000.905252][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[619:460] [2022-08-21 16:19:50 +0000.905659][7133] machine model :poco
[619:460] [2022-08-21 16:19:50 +0000.905726][7133] Support this machine model :poco
[619:460] [2022-08-21 16:19:50 +0000.905788][7133] global inited! current sdk
version: 07-20-936c45f
[619:460] [2022-08-21 16:19:50 +0000.905934][7133] filter: filter pipeline
construtc this: 0x7248ecdb80
[619:460] [2022-08-21 16:19:50 +0000.905959][7133] MediaFilterGraph:
MediaFilterGraph construct
[619:460] [2022-08-21 16:19:50 +0000.905977][7133] GLESContext:
[619:460] [2022-08-21 16:19:50 +0000.906010][7133] The result of eglGetDisplay is:
0xb400007326e87f00
[619:463] [2022-08-21 16:19:50 +0000.909023][7133] The result of creation:
0x7248eb0200
[619:463] [2022-08-21 16:19:50 +0000.909138][7133] The result of
eglCreatePbufferSurface is: 0x7248eb0680
[619:463] [2022-08-21 16:19:50 +0000.909236][7133] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4
[619:463] [2022-08-21 16:19:50 +0000.909267][7133] The source 0 speed:1
[619:463] [2022-08-21 16:19:50 +0000.909293][7133] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4,
delay: 0
[619:464] [2022-08-21 16:19:50 +0000.909401][7133] CreateDecoderByVideoSource
time:54995422 enter.

[619:464] [2022-08-21 16:19:50 +0000.909685][7133] running_decoder_count:0max


count:2
[619:464] [2022-08-21 16:19:50 +0000.909727][7133] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x72a4b84800
[619:465] [2022-08-21 16:19:50 +0000.910491][44b5] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7248e8f600] Current FFmpeg version git-2021-06-16-
97cea6f

[619:518] [2022-08-21 16:19:50 +0000.964054][44b5] OnStreamInfoFound: video


duration_: 14553
[619:520] [2022-08-21 16:19:50 +0000.965595][7133] start decoder
[619:520] [2022-08-21 16:19:50 +0000.965657][44b6] NO get frame from decoder
[619:520] [2022-08-21 16:19:50 +0000.965681][7133] CreateDecoderByVideoSource
leave. expire time = 56 ms

[619:520] [2022-08-21 16:19:50 +0000.965806][7133] BindInputFilter 0x7222d83120


this 0x7248f82ad8
[619:520] [2022-08-21 16:19:50 +0000.965913][7133] BindInputFilter 0x7248f82ad8
this 0x7248f82c58
[619:520] [2022-08-21 16:19:50 +0000.966028][7133] BindInputFilter 0x7222d83120
this 0x7248f82e98
[619:520] [2022-08-21 16:19:50 +0000.966101][7133] BindInputFilter 0x7248f82e98
this 0x7248f82f58
[619:520] [2022-08-21 16:19:50 +0000.966142][7133] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4
[619:520] [2022-08-21 16:19:50 +0000.966203][7133] BindInputFilter 0x7248f82c58
this 0x7248f83318
[619:520] [2022-08-21 16:19:50 +0000.966260][7133] BindInputFilter 0x7248f83318
this 0x7248ecdc20
[619:520] [2022-08-21 16:19:50 +0000.966318][7133] BindInputFilter 0x7248f82f58
this 0x7248f833d8
[619:520] [2022-08-21 16:19:50 +0000.966374][7133] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_54978882.mp4
[619:521] [2022-08-21 16:19:50 +0000.966457][7133]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[619:521] [2022-08-21 16:19:50 +0000.966619][7133] MediaComposeFile time:54995479
enter.

[619:521] [2022-08-21 16:19:50 +0000.966681][7133] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[619:521] [2022-08-21 16:19:50 +0000.966805][7133] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[619:521] [2022-08-21 16:19:50 +0000.966856][7133] Recording session using default
bitrate support by app:31457280
[619:521] [2022-08-21 16:19:50 +0000.966854][44c0] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x72235c9ac0
[619:521] [2022-08-21 16:19:50 +0000.967259][44b6] NO get frame from decoder
[619:522] [2022-08-21 16:19:50 +0000.967955][44c0] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[619:522] [2022-08-21 16:19:50 +0000.968100][7133] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[619:523] [2022-08-21 16:19:50 +0000.968444][44b6] NO get frame from decoder
[619:527] [2022-08-21 16:19:50 +0000.973276][44b6] NO get frame from decoder
[619:531] [2022-08-21 16:19:50 +0000.977304][44b6] NO get frame from decoder
[619:532] [2022-08-21 16:19:50 +0000.978270][7133] GetPipeline:
-----------------------------------------
[619:532] [2022-08-21 16:19:50 +0000.978331][7133] GetPipeline: source:
0x7222d82f00
[619:532] [2022-08-21 16:19:50 +0000.978374][7133] GetPipeline: filter: NULLFilter
[619:533] [2022-08-21 16:19:50 +0000.978411][7133] GetPipeline: filter: NULLFilter
[619:533] [2022-08-21 16:19:50 +0000.978450][7133] GetPipeline: filter: NULLFilter
[619:533] [2022-08-21 16:19:50 +0000.978481][7133] GetPipeline: audio filter:
AuidoNULLFilter
[619:533] [2022-08-21 16:19:50 +0000.978513][7133] GetPipeline: audio filter:
AuidoNULLFilter
[619:533] [2022-08-21 16:19:50 +0000.978546][7133] GetPipeline: audio filter:
AudioNUllFilter
[619:533] [2022-08-21 16:19:50 +0000.978578][7133] GetPipeline:
------------------------------------------
[619:533] [2022-08-21 16:19:50 +0000.978686][7133] filter: filter pipeline2 update
pattern: 2
[619:533] [2022-08-21 16:19:50 +0000.978894][44b6] NO get frame from decoder
[619:533] [2022-08-21 16:19:50 +0000.979013][7133] MediaComposeFile leave. expire
time = 12 ms

[619:534] [2022-08-21 16:19:50 +0000.979518][7133] machine model :poco


[619:534] [2022-08-21 16:19:50 +0000.979552][7133] Support this machine model :poco
[619:534] [2022-08-21 16:19:50 +0000.979585][7133] global inited! current sdk
version: 07-20-936c45f
[619:540] [2022-08-21 16:19:50 +0000.985822][44b6] NO get frame from decoder
[619:541] [2022-08-21 16:19:50 +0000.987139][44b6] NO get frame from decoder
[619:547] [2022-08-21 16:19:50 +0000.992993][7133]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[619:547] [2022-08-21 16:19:50 +0000.993103][7133] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 272
[619:547] [2022-08-21 16:19:50 +0000.993169][7133]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[619:547] [2022-08-21 16:19:50 +0000.993216][7133] BeginCompose: BeginCompose, is
composing 0
[619:548] [2022-08-21 16:19:50 +0000.993431][44c0] start recording, file path:
[619:548] [2022-08-21 16:19:50 +0000.993593][44c0] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 272 audio_timescale:44100
video_timescale:90000
[619:548] [2022-08-21 16:19:50 +0000.993639][44c0] 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
[619:548] [2022-08-21 16:19:50 +0000.993706][44c0] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 272
[619:548] [2022-08-21 16:19:50 +0000.993761][44c0] fd_open successed
handle:0xb4000073d16800b0
[619:548] [2022-08-21 16:19:50 +0000.993832][44c5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7224c3a898
[619:548] [2022-08-21 16:19:50 +0000.993905][44c0] create mp4 file:326
m_fileHandle: 0x7221d69b00
[619:548] [2022-08-21 16:19:50 +0000.993938][44c0] MP4 file: is opened successfully
[619:548] [2022-08-21 16:19:50 +0000.993995][44c0] setupMediaProcessers:
[619:548] [2022-08-21 16:19:50 +0000.994013][44c0]
RecordingSessionInternalSimple:setup media processers.
[619:548] [2022-08-21 16:19:50 +0000.994031][44c0] construct AAC encoder
[619:548] [2022-08-21 16:19:50 +0000.994326][44c0] H264Encoder creating:
ultrafast012323
[619:549] [2022-08-21 16:19:50 +0000.994403][44c0] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[619:549] [2022-08-21 16:19:50 +0000.994741][44c0] H264Encode::GetMachineModel is
M2012K11AG
[619:549] [2022-08-21 16:19:50 +0000.994796][44c0] H264Encoder machine_mode
is:M2012K11AG
[619:549] [2022-08-21 16:19:50 +0000.994818][44c0] H264Encode::machine size :9
machine_mode:M2012K11AG
[619:549] [2022-08-21 16:19:50 +0000.994839][44c0] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[619:549] [2022-08-21 16:19:50 +0000.994887][44c0] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[619:549] [2022-08-21 16:19:50 +0000.994908][44c0] setupCompressionSession:
[619:549] [2022-08-21 16:19:50 +0000.994927][44c0] H264Encode::creating hareware
Encoder
[619:549] [2022-08-21 16:19:50 +0000.994965][44c0] AndroidHwAvcEncoder
time:54995507 enter.

[619:549] [2022-08-21 16:19:50 +0000.995112][44c0] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000073d15b0540 address:0x71f9937760
[619:549] [2022-08-21 16:19:50 +0000.995201][44c0] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[619:549] [2022-08-21 16:19:50 +0000.995234][44c0] The video avc hw codec address
is 0x7248eadb68
[619:549] [2022-08-21 16:19:50 +0000.995289][44c0] AndroidHwAvcEncoder leave.
expire time = 0 ms

[619:549] [2022-08-21 16:19:50 +0000.995319][44c0] RegisterEncodeCompleteCallback


time:54995507 enter.

[619:550] [2022-08-21 16:19:50 +0000.995447][44c0] RegisterEncodeCompleteCallback


leave. expire time = 1 ms

[619:550] [2022-08-21 16:19:50 +0000.995897][44c0] InitEncode time:54995508 enter.

[619:550] [2022-08-21 16:19:50 +0000.995969][44c0] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[619:550] [2022-08-21 16:19:50 +0000.995995][44c0] Create time:54995508 enter.

[619:550] [2022-08-21 16:19:50 +0000.996057][44c0] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[619:550] [2022-08-21 16:19:50 +0000.996114][44c0]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7248f83a00
[619:550] [2022-08-21 16:19:50 +0000.996253][44c0]
supported_type:image/vnd.android.heic
[619:550] [2022-08-21 16:19:50 +0000.996299][44c0] supported_type:video/avc
[619:550] [2022-08-21 16:19:50 +0000.996330][44c0] name:OMX.qcom.video.encoder.avc
mime:video/avc
[619:550] [2022-08-21 16:19:50 +0000.996375][44c0] hwCodecPrefix :OMX.qcom.
[619:551] [2022-08-21 16:19:50 +0000.996405][44c0] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[619:551] [2022-08-21 16:19:50 +0000.996429][44c0] mediacodec_createCodecByName
time:54995509 enter.

[619:551] [2022-08-21 16:19:50 +0000.996451][44c0] WrapAndroidMediaCodec


time:54995509 enter.

[619:551] [2022-08-21 16:19:50 +0000.996542][44c0] WrapAndroidMediaCodec leave.


expire time = 0 ms

[619:581] [2022-08-21 16:19:51 +0000.27412][44c0] mediacodec_createCodecByName


leave. expire time = 31 ms

[619:582] [2022-08-21 16:19:51 +0000.27549][44c0] WrapAndroidMediaFromat


time:54995540 enter.

[619:582] [2022-08-21 16:19:51 +0000.27608][44c0] WrapAndroidMediaFromat leave.


expire time = 0 ms

[619:636] [2022-08-21 16:19:51 +0000.81570][44c0] Destroy time:54995594 enter.

[619:636] [2022-08-21 16:19:51 +0000.81624][44c0] WrapAndroidMediaFromat::


Destroy
[619:636] [2022-08-21 16:19:51 +0000.81646][44c0] Destroy leave. expire time = 0
ms

[619:636] [2022-08-21 16:19:51 +0000.81667][44c0] ~WrapAndroidMediaFromat


time:54995594 enter.

[619:636] [2022-08-21 16:19:51 +0000.81687][44c0] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[619:636] [2022-08-21 16:19:51 +0000.81709][44c0] Create leave. expire time = 86


ms

[619:636] [2022-08-21 16:19:51 +0000.81730][44c0] isSemiPlanarSupport time:54995594


enter.

[619:636] [2022-08-21 16:19:51 +0000.81752][44c0] H264Encoder isSemiPlanarSupport


[619:636] [2022-08-21 16:19:51 +0000.81772][44c0] isSemiPlanarSupport leave.
expire time = 0 ms

[619:636] [2022-08-21 16:19:51 +0000.81794][44c0] creat hw H264Encoder success,


isSemiPlanar:1
[619:636] [2022-08-21 16:19:51 +0000.81880][44c0] InitEncode leave. expire time =
86 ms

[619:636] [2022-08-21 16:19:51 +0000.81906][44c0] H264Encode::created Encoder


[619:636] [2022-08-21 16:19:51 +0000.81928][44c0] H264Encode:: H264 encoder
created.
[619:636] [2022-08-21 16:19:51 +0000.81949][44c0] H264 encoder created.
[619:636] [2022-08-21 16:19:51 +0000.81967][44c0]
RecordingSessionInternalSimple:created avc encoder avc: 0x7249068400
[619:636] [2022-08-21 16:19:51 +0000.82037][44c0] setOutput:
[619:636] [2022-08-21 16:19:51 +0000.82059][44c0]
RecordingSessionInternalSimple:encoder set output to muxer!
[619:636] [2022-08-21 16:19:51 +0000.82079][44c0] request a key frame
[619:636] [2022-08-21 16:19:51 +0000.82098][44c0] H264Encode:: request a key frame
[619:638] [2022-08-21 16:19:51 +0000.83811][44c0] setDisplayRotate :90
[619:638] [2022-08-21 16:19:51 +0000.83855][44c0] 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
[619:639] [2022-08-21 16:19:51 +0000.84683][44c1]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[619:670] [2022-08-21 16:19:51 +0000.115496][44c4] audio_frame_list_ empty
[619:668] [2022-08-21 16:19:51 +0000.113739][44c1] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:99
[619:682] [2022-08-21 16:19:51 +0000.127820][44c1] push video frame to H264
encoder. (100 frame for one log)

[619:682] [2022-08-21 16:19:51 +0000.127874][44c1] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[619:682] [2022-08-21 16:19:51 +0000.128069][44c1] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:99(100 frame for one log)

[619:682] [2022-08-21 16:19:51 +0000.128105][44c1] The input pts:99 fps:30


[619:830] [2022-08-21 16:19:51 +0000.275989][44c0] setDisplayRotate :90
[619:830] [2022-08-21 16:19:51 +0000.276044][44c0] 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
[619:831] [2022-08-21 16:19:51 +0000.277353][44c5] add aac audio track with id:1
[619:832] [2022-08-21 16:19:51 +0000.277441][44c5] audio start ts:0
[619:832] [2022-08-21 16:19:51 +0000.277475][44c5] the audio frame has been written
into MP4 file
[619:841] [2022-08-21 16:19:51 +0000.287297][44c1] h264 add frame header cdr flag
[619:844] [2022-08-21 16:19:51 +0000.289847][44c1] h264 add frame header cdr flag
[619:846] [2022-08-21 16:19:51 +0000.291481][44c1] Received key frame:10
[619:846] [2022-08-21 16:19:51 +0000.291541][44c1] H264Encode:: get a sps pps
header!headerSize:32
[619:846] [2022-08-21 16:19:51 +0000.291630][44c5] get the H.264 SPS parameter
[619:846] [2022-08-21 16:19:51 +0000.291953][44c5] add video track with id:2
[619:847] [2022-08-21 16:19:51 +0000.293106][44c5] get the H.264 PPS parameter
[619:848] [2022-08-21 16:19:51 +0000.293763][44c5] get the H.264 IDR frame
[619:848] [2022-08-21 16:19:51 +0000.293798][44c5] resss:true
[619:848] [2022-08-21 16:19:51 +0000.293815][44c5] video start ts:10
[619:848] [2022-08-21 16:19:51 +0000.294326][44c5] the video frame has been written
into MP4 file
[619:858] [2022-08-21 16:19:51 +0000.303767][44c1] H264Encode::H264SWEncoder get
callback, length:192096 type:1 nalType:1length:192092
[619:888] [2022-08-21 16:19:51 +0000.333516][43cd] haveEnoughProcessedData
internalAudioStream.length: 0
[619:890] [2022-08-21 16:19:51 +0000.335737][44c4] FilterPipeline2::OnAudioFrame
pts 42984 last_audio_timestamp_ 974.694
[619:955] [2022-08-21 16:19:51 +0000.401005][44c3] Error(video_source.cc:430): wait
decoder a frame: 3
[619:960] [2022-08-21 16:19:51 +0000.406010][44c1] DTS queue for
Generator:0x7224c3acb8 666 701 734 765 801 833
[619:975] [2022-08-21 16:19:51 +0000.420577][44c1] Push an pts:900 to dts queue.
[620:016] [2022-08-21 16:19:51 +0000.461743][44c1] last dts:866 currentPts:900
ppsOrSPS:0 queue length:8
[620:026] [2022-08-21 16:19:51 +0000.471713][44c4] audio_frame_list_ empty
[620:149] [2022-08-21 16:19:51 +0000.595356][44c0] setDisplayRotate :90
[620:150] [2022-08-21 16:19:51 +0000.595487][44c0] 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
[620:251] [2022-08-21 16:19:51 +0000.697142][44c1] DTS queue for
Generator:0x7224c3acb8 1463 1495 1531 1565 1596 1630 1664 1696
[620:350] [2022-08-21 16:19:51 +0000.796103][44c1] Push an pts:2229 to dts queue.
[620:388] [2022-08-21 16:19:51 +0000.833557][44c4] audio_frame_list_ empty
[620:409] [2022-08-21 16:19:51 +0000.854400][44c0] setDisplayRotate :90
[620:409] [2022-08-21 16:19:51 +0000.854480][44c0] 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
[620:410] [2022-08-21 16:19:51 +0000.856355][44c1] h264 add frame header cdr flag
[620:411] [2022-08-21 16:19:51 +0000.856753][44c1] Received key frame:1998
[620:413] [2022-08-21 16:19:51 +0000.859365][44c3] webrtc common_video plane
old ..... (1/1000) new: 25001 delete: 24988 diff: 13
[620:413] [2022-08-21 16:19:51 +0000.859385][44c5] get the H.264 IDR frame
[620:431] [2022-08-21 16:19:51 +0000.877382][44c3] Error(video_source.cc:430): wait
decoder a frame: 0
[620:443] [2022-08-21 16:19:51 +0000.889097][44c1] last dts:2198 currentPts:2229
ppsOrSPS:0 queue length:7
[620:449] [2022-08-21 16:19:51 +0000.895186][44c1] DTS queue for
Generator:0x7224c3acb8 2265 2297 2329 2362 2398 2428 2464 2497 2530
[620:582] [2022-08-21 16:19:52 +0000.28154][44c1] SendFrame
encodedImage._timeStamp:2897encodedImage->_length:57216
[620:668] [2022-08-21 16:19:52 +0000.114094][44c0] setDisplayRotate :90
[620:668] [2022-08-21 16:19:52 +0000.114148][44c0] 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
[620:675] [2022-08-21 16:19:52 +0000.121222][44c1] DTS queue for
Generator:0x7224c3acb8 3165 3196 3231 3266 3296
[620:675] [2022-08-21 16:19:52 +0000.121324][44c1] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3132 pts:3132
[620:691] [2022-08-21 16:19:52 +0000.136511][44c1] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3464
[620:691] [2022-08-21 16:19:52 +0000.136609][44c1] push video frame to H264
encoder. (100 frame for one log)

[620:691] [2022-08-21 16:19:52 +0000.136689][44c1] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[620:691] [2022-08-21 16:19:52 +0000.136714][44c1] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3464(100 frame for one
log)

[620:691] [2022-08-21 16:19:52 +0000.136748][44c1] The input pts:3464 fps:30


[620:714] [2022-08-21 16:19:52 +0000.159756][44c1] Push an pts:3565 to dts queue.
[620:716] [2022-08-21 16:19:52 +0000.162174][44c3] Error(video_source.cc:430): wait
decoder a frame: 0
[620:745] [2022-08-21 16:19:52 +0000.190536][44c1] H264Encode::H264SWEncoder get
callback, length:59968 type:1 nalType:1length:59964
[620:776] [2022-08-21 16:19:52 +0000.221759][44c1] last dts:3529 currentPts:3565
ppsOrSPS:0 queue length:8
[620:801] [2022-08-21 16:19:52 +0000.246810][44c4] audio_frame_list_ empty
[620:819] [2022-08-21 16:19:52 +0000.264718][43cd] Run AGC when audioType = 0
[620:845] [2022-08-21 16:19:52 +0000.290514][44c1] DTS queue for
Generator:0x7224c3acb8 3926 3965 3997 4027 4062 4095 4127 4164 4196
[620:865] [2022-08-21 16:19:52 +0000.310697][44c1] h264 add frame header cdr flag
[620:865] [2022-08-21 16:19:52 +0000.310884][44c1] Received key frame:3997
[620:871] [2022-08-21 16:19:52 +0000.317012][44c5] get the H.264 IDR frame
[620:890] [2022-08-21 16:19:52 +0000.336264][44c0] setDisplayRotate :90
[620:890] [2022-08-21 16:19:52 +0000.336388][44c0] 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
[620:986] [2022-08-21 16:19:52 +0000.431667][44c3] Error(video_source.cc:430): wait
decoder a frame: 6
[621:015] [2022-08-21 16:19:52 +0000.460663][44c1] Push an pts:4900 to dts queue.
[621:025] [2022-08-21 16:19:52 +0000.471184][44c1] DTS queue for
Generator:0x7224c3acb8 4761 4794 4831 4863 4900 4929 4962 4996
[621:055] [2022-08-21 16:19:52 +0000.500460][44c1] last dts:4863 currentPts:4900
ppsOrSPS:0 queue length:9
[621:121] [2022-08-21 16:19:52 +0000.566464][44c4] audio_frame_list_ empty
[621:128] [2022-08-21 16:19:52 +0000.573403][44c0] setDisplayRotate :90
[621:128] [2022-08-21 16:19:52 +0000.573487][44c0] 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
[621:217] [2022-08-21 16:19:52 +0000.662902][44c1] DTS queue for
Generator:0x7224c3acb8 5596 5627 5662 5695 5730 5761 5796 5827
[621:292] [2022-08-21 16:19:52 +0000.738084][44c1] Push an pts:6227 to dts queue.
[621:306] [2022-08-21 16:19:52 +0000.751453][44c1] h264 add frame header cdr flag
[621:306] [2022-08-21 16:19:52 +0000.751730][44c1] Received key frame:5995
[621:312] [2022-08-21 16:19:52 +0000.758314][44c5] get the H.264 IDR frame
[621:354] [2022-08-21 16:19:52 +0000.799535][44c0] setDisplayRotate :90
[621:354] [2022-08-21 16:19:52 +0000.799640][44c0] 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
[621:365] [2022-08-21 16:19:52 +0000.811358][44c3] webrtc common_video plane
old ..... (1/1000) new: 26001 delete: 25980 diff: 21
[621:377] [2022-08-21 16:19:52 +0000.822990][44c3] Error(video_source.cc:430): wait
decoder a frame: 0
[621:380] [2022-08-21 16:19:52 +0000.825892][44c1] SendFrame
encodedImage._timeStamp:6227encodedImage->_length:68192
[621:380] [2022-08-21 16:19:52 +0000.826038][44c1] last dts:6194 currentPts:6227
ppsOrSPS:0 queue length:8
[621:402] [2022-08-21 16:19:52 +0000.847429][44c3] FilterPipeline2::OnVideoFrame
pts 614250 last_video_timestamp_ 6825
[621:411] [2022-08-21 16:19:52 +0000.857365][44c1] DTS queue for
Generator:0x7224c3acb8 6427 6462 6491 6527 6560 6592 6625
[621:444] [2022-08-21 16:19:52 +0000.889431][44c1] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6491 pts:6491
[621:445] [2022-08-21 16:19:52 +0000.891338][44c1] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6825
[621:446] [2022-08-21 16:19:52 +0000.891416][44c1] push video frame to H264
encoder. (100 frame for one log)

[621:446] [2022-08-21 16:19:52 +0000.891442][44c1] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[621:446] [2022-08-21 16:19:52 +0000.891468][44c1] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6825(100 frame for one
log)

[621:446] [2022-08-21 16:19:52 +0000.891505][44c1] The input pts:6825 fps:30


[621:509] [2022-08-21 16:19:52 +0000.954667][44c1] H264Encode::H264SWEncoder get
callback, length:53056 type:1 nalType:1length:53052
[621:525] [2022-08-21 16:19:52 +0000.971021][44c4] audio_frame_list_ empty
[621:587] [2022-08-21 16:19:53 +0000.32727][44c0] setDisplayRotate :90
[621:587] [2022-08-21 16:19:53 +0000.32808][44c0] 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
[621:609] [2022-08-21 16:19:53 +0000.55042][44c1] DTS queue for
Generator:0x7224c3acb8 7291 7324 7359 7395 7428
[621:619] [2022-08-21 16:19:53 +0000.65274][44c1] Push an pts:7560 to dts queue.
[621:640] [2022-08-21 16:19:53 +0000.86081][44c3] Error(video_source.cc:430): wait
decoder a frame: 0
[621:654] [2022-08-21 16:19:53 +0000.99699][43cd] haveEnoughProcessedData
internalAudioStream.length: 0
[621:698] [2022-08-21 16:19:53 +0000.143437][44c1] last dts:7523 currentPts:7560
ppsOrSPS:0 queue length:9
[621:777] [2022-08-21 16:19:53 +0000.222561][44c1] h264 add frame header cdr flag
[621:777] [2022-08-21 16:19:53 +0000.222814][44c1] Received key frame:7993
[621:778] [2022-08-21 16:19:53 +0000.223759][44c1] DTS queue for
Generator:0x7224c3acb8 8059 8093 8128 8160 8195 8227 8261 8294
[621:778] [2022-08-21 16:19:53 +0000.224090][44c5] get the H.264 IDR frame
[621:838] [2022-08-21 16:19:53 +0000.283615][44c0] setDisplayRotate :90
[621:838] [2022-08-21 16:19:53 +0000.283665][44c0] 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
[621:935] [2022-08-21 16:19:53 +0000.380824][44c4] audio_frame_list_ empty
[621:945] [2022-08-21 16:19:53 +0000.391081][44c1] Push an pts:8892 to dts queue.
[621:964] [2022-08-21 16:19:53 +0000.410386][44c3] Error(video_source.cc:430): wait
decoder a frame: 7
[621:992] [2022-08-21 16:19:53 +0000.437492][44c1] DTS queue for
Generator:0x7224c3acb8 8892 8922 8957 8989 9023 9059 9088 9123
[622:006] [2022-08-21 16:19:53 +0000.451952][44c1] last dts:8861 currentPts:8892
ppsOrSPS:0 queue length:10
[622:115] [2022-08-21 16:19:53 +0000.561060][44c0] setDisplayRotate :90
[622:115] [2022-08-21 16:19:53 +0000.561121][44c0] 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
[622:188] [2022-08-21 16:19:53 +0000.634032][44c1] SendFrame
encodedImage._timeStamp:9558encodedImage->_length:61280
[622:216] [2022-08-21 16:19:53 +0000.662017][44c1] DTS queue for
Generator:0x7224c3acb8 9691 9722 9756 9793 9825 9856 9891 9926 9957 9990
[622:244] [2022-08-21 16:19:53 +0000.689887][44c1] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:9856 pts:9856
[622:256] [2022-08-21 16:19:53 +0000.701563][44c1] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:10195
[622:256] [2022-08-21 16:19:53 +0000.701643][44c1] push video frame to H264
encoder. (100 frame for one log)

[622:256] [2022-08-21 16:19:53 +0000.701700][44c1] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[622:256] [2022-08-21 16:19:53 +0000.701732][44c1] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:10195(100 frame for one
log)

[622:256] [2022-08-21 16:19:53 +0000.701773][44c1] The input pts:10195 fps:30


[622:261] [2022-08-21 16:19:53 +0000.706534][44c1] Push an pts:10226 to dts queue.
[622:280] [2022-08-21 16:19:53 +0000.725645][44c4] audio_frame_list_ empty
[622:285] [2022-08-21 16:19:53 +0000.731182][44c1] h264 add frame header cdr flag
[622:286] [2022-08-21 16:19:53 +0000.731868][44c1] Received key frame:9990
[622:291] [2022-08-21 16:19:53 +0000.736941][44c5] get the H.264 IDR frame
[622:440] [2022-08-21 16:19:53 +0000.885754][44c0] setDisplayRotate :90
[622:440] [2022-08-21 16:19:53 +0000.886309][44c0] 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
[622:448] [2022-08-21 16:19:53 +0000.893404][44c1] H264Encode::H264SWEncoder get
callback, length:118448 type:1 nalType:1length:118444
[622:450] [2022-08-21 16:19:53 +0000.895574][44c1] last dts:10195 currentPts:10226
ppsOrSPS:0 queue length:7
[622:457] [2022-08-21 16:19:53 +0000.902506][44c3] webrtc common_video plane
old ..... (1/1000) new: 27001 delete: 26976 diff: 25
[622:460] [2022-08-21 16:19:53 +0000.905953][44c3] Error(video_source.cc:430): wait
decoder a frame: 0
[622:522] [2022-08-21 16:19:53 +0000.967980][44c1] DTS queue for
Generator:0x7224c3acb8 10523 10559 10595 10624 10659 10696 10727 10761 10795
[622:653] [2022-08-21 16:19:54 +0000.98540][44c4] audio_frame_list_ empty
[622:788] [2022-08-21 16:19:54 +0000.233520][44c0] setDisplayRotate :90
[622:788] [2022-08-21 16:19:54 +0000.233667][44c0] 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
[622:815] [2022-08-21 16:19:54 +0000.261277][44c1] Push an pts:11556 to dts queue.
[622:817] [2022-08-21 16:19:54 +0000.262559][44c1] DTS queue for
Generator:0x7224c3acb8 11393 11428 11460 11492 11527 11556 11594
[622:824] [2022-08-21 16:19:54 +0000.269758][43cd] Run AGC when audioType = 0
[622:827] [2022-08-21 16:19:54 +0000.272541][43cd]
AudioDeviceDataHandler::MixAndSendOutFrame
[622:859] [2022-08-21 16:19:54 +0000.304512][44c3] Error(video_source.cc:430): wait
decoder a frame: 0
[622:870] [2022-08-21 16:19:54 +0000.315881][44c1] last dts:11527 currentPts:11556
ppsOrSPS:0 queue length:8
[622:974] [2022-08-21 16:19:54 +0000.420383][44c1] h264 add frame header cdr flag
[622:975] [2022-08-21 16:19:54 +0000.420679][44c1] Received key frame:11992
[622:978] [2022-08-21 16:19:54 +0000.423651][44c5] get the H.264 IDR frame
[623:009] [2022-08-21 16:19:54 +0000.454488][44c1] DTS queue for
Generator:0x7224c3acb8 12160 12191 12223 12257 12293 12324 12360 12392 12425 12460
[623:032] [2022-08-21 16:19:54 +0000.477484][44c4] audio_frame_list_ empty
[623:129] [2022-08-21 16:19:54 +0000.575343][44c0] setDisplayRotate :90
[623:130] [2022-08-21 16:19:54 +0000.575450][44c0] 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
[623:228] [2022-08-21 16:19:54 +0000.673716][44c1] Push an pts:12892 to dts queue.
[623:248] [2022-08-21 16:19:54 +0000.693547][44c3] Error(video_source.cc:430): wait
decoder a frame: 5
[623:293] [2022-08-21 16:19:54 +0000.739684][44c1] SendFrame
encodedImage._timeStamp:12892encodedImage->_length:96176
[623:294] [2022-08-21 16:19:54 +0000.739869][44c1] last dts:12857 currentPts:12892
ppsOrSPS:0 queue length:10
[623:305] [2022-08-21 16:19:54 +0000.750469][44c1] DTS queue for
Generator:0x7224c3acb8 13023 13053 13086 13121 13151 13188 13225 13260
[623:357] [2022-08-21 16:19:54 +0000.803257][44c3] video frame wait audio frame:
last_video_timestamp:13461 last_audio_timestamp:13253.8
[623:380] [2022-08-21 16:19:54 +0000.826122][44c4] audio_frame_list_ empty
[623:417] [2022-08-21 16:19:54 +0000.863264][43cd] haveEnoughProcessedData
internalAudioStream.length: 0
[623:425] [2022-08-21 16:19:54 +0000.870419][44c0] setDisplayRotate :90
[623:425] [2022-08-21 16:19:54 +0000.870470][44c0] 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
[623:432] [2022-08-21 16:19:54 +0000.877468][44c1] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:13225 pts:13225
[623:436] [2022-08-21 16:19:54 +0000.881718][44c1] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:13560
[623:438] [2022-08-21 16:19:54 +0000.883540][44c1] push video frame to H264
encoder. (100 frame for one log)

[623:438] [2022-08-21 16:19:54 +0000.883580][44c1] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[623:438] [2022-08-21 16:19:54 +0000.883604][44c1] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:13560(100 frame for one
log)

[623:438] [2022-08-21 16:19:54 +0000.883639][44c1] The input pts:13560 fps:30


[623:499] [2022-08-21 16:19:54 +0000.945001][44b6] av_read_frame AVERROR_EOF
[623:505] [2022-08-21 16:19:54 +0000.951256][44c1] H264Encode::H264SWEncoder get
callback, length:98144 type:1 nalType:1length:98140
[623:559] [2022-08-21 16:19:55 +0000.4443][44c1] DTS queue for
Generator:0x7224c3acb8 13827 13857 13889 13924 13957 13990 14026 14062 14091 14124
[623:574] [2022-08-21 16:19:55 +0000.20309][44b6] OnReceiveEOF:
[623:575] [2022-08-21 16:19:55 +0000.20402][44b6] OnDecoderEOF time:54999533
enter.

[623:575] [2022-08-21 16:19:55 +0000.20472][44b6] OnDecoderEOF leave. expire time


= 0 ms

[623:575] [2022-08-21 16:19:55 +0000.20488][44b4] CleanUp time:54999533 enter.

[623:575] [2022-08-21 16:19:55 +0000.20506][44b6] OnDecoderFinished:


OnDecoderFinished total decoder frames:437 this:0x7222d82f00
[623:577] [2022-08-21 16:19:55 +0000.23249][44c1] Push an pts:14223 to dts queue.
[623:577] [2022-08-21 16:19:55 +0000.23249][44c4] PullAudioFrame: PullFrame audio
finished.
[623:578] [2022-08-21 16:19:55 +0000.23434][44c4] OnAudioTimer: OnAudioTimer return
[623:578] [2022-08-21 16:19:55 +0000.24049][44c3] OnVideoTimer: OnVideoTimer
EndComposeFile
[623:578] [2022-08-21 16:19:55 +0000.24114][44c3] EndComposeFile: EndComposeFile,
is composing 1
[623:579] [2022-08-21 16:19:55 +0000.24533][44b4] CleanUp leave. expire time = 4
ms

[623:579] [2022-08-21 16:19:55 +0000.24576][44b4] clean up


[623:579] [2022-08-21 16:19:55 +0000.24599][44b4] running_decoder_count:0max
count:2
[623:594] [2022-08-21 16:19:55 +0000.39690][44c1] h264 add frame header cdr flag
[623:594] [2022-08-21 16:19:55 +0000.40096][44c1] Received key frame:13990
[623:595] [2022-08-21 16:19:55 +0000.41240][44c5] get the H.264 IDR frame
[623:617] [2022-08-21 16:19:55 +0000.63154][44c1] last dts:14191 currentPts:14223
ppsOrSPS:0 queue length:10
[623:618] [2022-08-21 16:19:55 +0000.63880][44c1]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:437
[623:618] [2022-08-21 16:19:55 +0000.63944][44c1]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x722f722000
[623:621] [2022-08-21 16:19:55 +0000.66788][44c2]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[623:621] [2022-08-21 16:19:55 +0000.66967][44c2]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[623:622] [2022-08-21 16:19:55 +0000.67755][44c0] stop recording
[623:623] [2022-08-21 16:19:55 +0000.68419][44c0]
RecordingSessionInternalSimple:destroy media processers
[623:623] [2022-08-21 16:19:55 +0000.68518][44c0] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[623:623] [2022-08-21 16:19:55 +0000.68580][44c0] H264Encode::flushing hareware
Encoder
[623:623] [2022-08-21 16:19:55 +0000.68886][44c0] Flush time:54999581 enter.

[623:623] [2022-08-21 16:19:55 +0000.69009][44c0] H264Encoder encoder flush


[623:623] [2022-08-21 16:19:55 +0000.69072][44c0] flush output queue
[623:953] [2022-08-21 16:19:55 +0000.399041][44c0] Flush leave. expire time = 330
ms

[623:954] [2022-08-21 16:19:55 +0000.400297][44c0] ~H264EncodeWrap:


[623:955] [2022-08-21 16:19:55 +0000.400438][44c0] ~H264Encode:
[623:955] [2022-08-21 16:19:55 +0000.400496][44c0] teardownCompressionSession:
H264Encode::destroying Encoder
[623:955] [2022-08-21 16:19:55 +0000.400600][44c0] Release time:54999913 enter.

[623:955] [2022-08-21 16:19:55 +0000.400933][44c0] Release:


MediaCodecVideoEncoder::Release _inited:1
[623:955] [2022-08-21 16:19:55 +0000.401053][44c0] Destroy time:54999913 enter.

[623:955] [2022-08-21 16:19:55 +0000.401116][44c0] H264Encoder encoderDestroy


[623:955] [2022-08-21 16:19:55 +0000.401173][44c0]
AndroidMediaCodecVideoEncoder::release env: 0x7249068540
[623:955] [2022-08-21 16:19:55 +0000.401233][44c0]
AndroidMediaCodecVideoEncoder::Destroy
[624:003] [2022-08-21 16:19:55 +0000.449075][44c0] Destroy leave. expire time = 48
ms

[624:003] [2022-08-21 16:19:55 +0000.449381][44c0] Release leave. expire time = 49


ms

[624:004] [2022-08-21 16:19:55 +0000.449476][44c0] ~AndroidHwAvcEncoder


time:54999962 enter.
[624:004] [2022-08-21 16:19:55 +0000.449729][44c0] Release time:54999962 enter.

[624:004] [2022-08-21 16:19:55 +0000.449827][44c0] Release:


MediaCodecVideoEncoder:: has been released before, just return
[624:004] [2022-08-21 16:19:55 +0000.449877][44c0] Release leave. expire time = 0
ms

[624:004] [2022-08-21 16:19:55 +0000.449943][44c0] ~AndroidMediaCodecVideoEncoder


[624:004] [2022-08-21 16:19:55 +0000.449987][44c0] ~WrapAndroidMediaCodec
time:54999962 enter.

[624:004] [2022-08-21 16:19:55 +0000.450032][44c0] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[624:004] [2022-08-21 16:19:55 +0000.450078][44c0] video hevc hw codec


destructor:0x7248eadb68

[624:004] [2022-08-21 16:19:55 +0000.450184][44c0] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[624:004] [2022-08-21 16:19:55 +0000.450281][44c0] teardownCompressionSession:


H264Encode::destroyed Encoder
[624:004] [2022-08-21 16:19:55 +0000.450335][44c0]
RecordingSessionInternalSimple:destroy aac encoder output!
[624:004] [2022-08-21 16:19:55 +0000.450431][44c0] AACSWEncode destructor
[624:007] [2022-08-21 16:19:55 +0000.453114][44c5] fd_close successed!
[624:013] [2022-08-21 16:19:55 +0000.459140][44c5] MP4 close file successfully
[624:013] [2022-08-21 16:19:55 +0000.459225][44c5] Recording session Internal:
notify recording ok
[624:013] [2022-08-21 16:19:55 +0000.459267][44c5] onRecordingOk: Recording Ok,
compose use time: 4466, averagefps 0
[624:013] [2022-08-21 16:19:55 +0000.459296][44c5] OnReceiveEOF:
[624:015] [2022-08-21 16:19:55 +0000.460669][44c3] OnVideoTimer: OnVideoTimer
return
[624:024] [2022-08-21 16:19:55 +0000.470125][7133]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[624:024] [2022-08-21 16:19:55 +0000.470320][7133] ~MediaComposeFile time:54999982
enter.

[624:024] [2022-08-21 16:19:55 +0000.470356][7133] CancelCompose: CancelCompose,


is composing 0
[624:025] [2022-08-21 16:19:55 +0000.470542][44c0] stop recording
[624:025] [2022-08-21 16:19:55 +0000.470605][44c0] we have stopped recording before
[624:025] [2022-08-21 16:19:55 +0000.471158][7133] ~MediaComposeFile leave. expire
time = 1 ms

[624:025] [2022-08-21 16:19:55 +0000.471243][7133] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[624:026] [2022-08-21 16:19:55 +0000.471943][7133] global uninited!
[624:026] [2022-08-21 16:19:55 +0000.471999][7133]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[624:026] [2022-08-21 16:19:55 +0000.472067][7133] ~MediaFilterGraph:
MediaFilterGraph destruct
[624:026] [2022-08-21 16:19:55 +0000.472112][7133] RemoveVideoBackGroud: hava not
add video backgroud
[624:026] [2022-08-21 16:19:55 +0000.472147][7133] UnbindInputFilter 0x7248f83318
this 0x7248ecdc20
[624:026] [2022-08-21 16:19:55 +0000.472182][7133] ClearAllSource: remove source
filter, sourceid: 0x7222d82f00
[624:026] [2022-08-21 16:19:55 +0000.472247][7133] DestoryDecoderByVideoSource
time:54999984 enter.

[624:026] [2022-08-21 16:19:55 +0000.472288][7133] ~VideoBindDecoder time:54999984


enter.

[624:029] [2022-08-21 16:19:55 +0000.474638][7133] CleanUp time:54999987 enter.

[624:029] [2022-08-21 16:19:55 +0000.474985][7133] CleanUp leave. expire time = 0


ms

[624:029] [2022-08-21 16:19:55 +0000.475022][7133] CleanUp time:54999987 enter.

[624:029] [2022-08-21 16:19:55 +0000.475312][7133] CleanUp leave. expire time = 0


ms

[624:031] [2022-08-21 16:19:55 +0000.476555][7133] ~VideoBindDecoder leave. expire


time = 5 ms

[624:031] [2022-08-21 16:19:55 +0000.476611][7133] DestoryDecoderByVideoSource


leave. expire time = 5 ms

[624:031] [2022-08-21 16:19:55 +0000.476652][7133] UnbindInputFilter 0x7248f82c58


this 0x7248f83318
[624:031] [2022-08-21 16:19:55 +0000.476681][7133] UnbindInputFilter 0x7248f82ad8
this 0x7248f82c58
[624:031] [2022-08-21 16:19:55 +0000.476708][7133] UnbindInputFilter 0x7222d83120
this 0x7248f82ad8
[624:031] [2022-08-21 16:19:55 +0000.476736][7133] UnbindInputFilter 0x7248f82f58
this 0x7248f833d8
[624:031] [2022-08-21 16:19:55 +0000.476780][7133] UnbindInputFilter 0x7248f82e98
this 0x7248f82f58
[624:031] [2022-08-21 16:19:55 +0000.476816][7133] UnbindInputFilter 0x7222d83120
this 0x7248f82e98
[624:031] [2022-08-21 16:19:55 +0000.476857][7133] ~GLESContext:
[624:034] [2022-08-21 16:19:55 +0000.479982][7133] GLESContext destruct finish.
[624:034] [2022-08-21 16:19:55 +0000.480043][7133] filter: filter pipeline destroy
this: 0x7248ecdb80
[624:820] [2022-08-21 16:19:56 +0000.265423][43ce] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[624:820] [2022-08-21 16:19:56 +0000.265653][43ce] _deviceSampleRate:48000

[624:821] [2022-08-21 16:19:56 +0000.267257][43cd] Run AGC when audioType = 0


[625:137] [2022-08-21 16:19:56 +0000.582564][43cd] haveEnoughProcessedData
internalAudioStream.length: 0
[626:822] [2022-08-21 16:19:58 +0000.267740][43cd] Run AGC when audioType = 0
[626:822] [2022-08-21 16:19:58 +0000.268034][43cd]
AudioDeviceDataHandler::MixAndSendOutFrame
[626:848] [2022-08-21 16:19:58 +0000.294200][43cd] haveEnoughProcessedData
internalAudioStream.length: 0
[628:566] [2022-08-21 16:20:00 +0000.11654][43cd] haveEnoughProcessedData
internalAudioStream.length: 10
[628:823] [2022-08-21 16:20:00 +0000.268928][43cd] Run AGC when audioType = 0
[629:355] [2022-08-21 16:20:00 +0000.800819][7160]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[629:355] [2022-08-21 16:20:00 +0000.800944][7160] ~MediaFilterCamera time:55005313
enter.

[629:355] [2022-08-21 16:20:00 +0000.800987][7160] StopPullFrameAndWriteMp4


time:55005313 enter.

[629:356] [2022-08-21 16:20:00 +0000.801570][43c4] stop recording


[629:356] [2022-08-21 16:20:00 +0000.801611][43c4] we have stopped recording before
[629:356] [2022-08-21 16:20:00 +0000.801690][7160] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[629:356] [2022-08-21 16:20:00 +0000.802060][7160] DestroyPipelineAndFilters


time:55005314 enter.

[629:356] [2022-08-21 16:20:00 +0000.802090][7160] DestroyPipelineAndFilters


leave. expire time = 0 ms

[629:356] [2022-08-21 16:20:00 +0000.802112][7160] AppDeviceManagerStopMic

[629:356] [2022-08-21 16:20:00 +0000.802159][7160] AppDeviceManagerStopMic::mic


status is on
[629:356] [2022-08-21 16:20:00 +0000.802182][7160] Try to stop webrtc device.

[629:356] [2022-08-21 16:20:00 +0000.802206][7160] Set record state to


stopped.threadID:29024

[629:393] [2022-08-21 16:20:00 +0000.839108][7160] Try to destory the


recorder.threadID:29024

[629:593] [2022-08-21 16:20:01 +0000.39234][7160] DestroyAudioRecorder:


[629:594] [2022-08-21 16:20:01 +0000.39508][7160] Cleanup the buffer queue in the
recorder.
[629:594] [2022-08-21 16:20:01 +0000.39531][7160] Destroy the recorder.

[629:594] [2022-08-21 16:20:01 +0000.40252][7160] StopRecording finished.

[629:594] [2022-08-21 16:20:01 +0000.40288][7160] The stop recording success.

[629:594] [2022-08-21 16:20:01 +0000.40306][7160]


AudioDeviceDataHandler::StopMicProcess

[629:597] [2022-08-21 16:20:01 +0000.42738][7160] AppDeviceManager stop.

[629:597] [2022-08-21 16:20:01 +0000.42974][7160] Rlease the webrtc device object.

[629:597] [2022-08-21 16:20:01 +0000.43216][7160] OpenSlesInput destruct.

[629:597] [2022-08-21 16:20:01 +0000.43250][7160] OpenSlesOutput destruct.

[629:598] [2022-08-21 16:20:01 +0000.43777][7160] EventDispatchServerScope destruct


[629:598] [2022-08-21 16:20:01 +0000.43815][7160]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[629:598] [2022-08-21 16:20:01 +0000.43852][7160] ~AudioDeviceDataHandler

[629:598] [2022-08-21 16:20:01 +0000.44160][7160] AppDeviceManagerDestruct.

[629:598] [2022-08-21 16:20:01 +0000.44196][7160] ~AppDeviceManager:


[629:598] [2022-08-21 16:20:01 +0000.44245][7160] ~CpuOverloadDetect time:55005556
enter.
[629:599] [2022-08-21 16:20:01 +0000.44448][7160] ~CpuOverloadDetect leave. expire
time = 1 ms

[629:599] [2022-08-21 16:20:01 +0000.45271][7160] Destruct BeautifyReader begin...


[629:599] [2022-08-21 16:20:01 +0000.45336][7160] Destruct BeautifyReader done.
[629:599] [2022-08-21 16:20:01 +0000.45368][7160] ~MediaFilterCamera leave. expire
time = 244 ms

[629:600] [2022-08-21 16:20:01 +0000.45469][7160] ~GLESContext:


[629:601] [2022-08-21 16:20:01 +0000.46918][7160] GLESContext destruct finish.
[629:601] [2022-08-21 16:20:01 +0000.46960][7160] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[629:603] [2022-08-21 16:20:01 +0000.48987][7160] global uninited!
[629:603] [2022-08-21 16:20:01 +0000.49198][7160] clear AppID 50011
[629:603] [2022-08-21 16:20:01 +0000.49226][7160] UnRegister JVM for Xplatform util
[629:603] [2022-08-21 16:20:01 +0000.49243][7160] Dispose::unregister webrtc video
engine
[629:603] [2022-08-21 16:20:01 +0000.49260][7160] Init the android object with
jvm:0x0 env:0x0 context:0x0

[629:603] [2022-08-21 16:20:01 +0000.49288][7160] SetAndroidMediaCodecObjects


time:55005561 enter.

[629:603] [2022-08-21 16:20:01 +0000.49312][7160] ClearAndroidMediaCodecObjects


time:55005561 enter.

[629:603] [2022-08-21 16:20:01 +0000.49338][7160] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[629:603] [2022-08-21 16:20:01 +0000.49381][7160] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[629:604] [2022-08-21 16:20:01 +0000.49407][7160] SetAndroidMediaCodecObjects


time:55005562 enter.

[629:604] [2022-08-21 16:20:01 +0000.49427][7160] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[629:604] [2022-08-21 16:20:01 +0000.49441][7160] ClearAndroidMediaCodecObjects
time:55005562 enter.

[629:604] [2022-08-21 16:20:01 +0000.49454][7160] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[629:604] [2022-08-21 16:20:01 +0000.49504][7160] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[629:604] [2022-08-21 16:20:01 +0000.49522][7160] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[629:604] [2022-08-21 16:20:01 +0000.49535][7160] Dispose::unregister webrtc voice


engine
[629:604] [2022-08-21 16:20:01 +0000.49548][7160] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[629:604] [2022-08-21 16:20:01 +0000.49585][7160] SystemUtil UnInit done


[658:791] [2022-08-21 16:20:30 +0000.236979][7160] Register JVM for xplatform util
[658:798] [2022-08-21 16:20:30 +0000.243614][7160] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-08-
21 16:20:30 +0000
[658:798] [2022-08-21 16:20:30 +0000.243650][7160] set AppID=50011 old AppID=-1
[658:798] [2022-08-21 16:20:30 +0000.243667][7160] Init the android object with
jvm:0xb4000073d15b0540 env:0x7326e8a980 context:0x72a8618bb8

[658:798] [2022-08-21 16:20:30 +0000.243696][7160] SetAndroidMediaCodecObjects


time:55034756 enter.

[658:798] [2022-08-21 16:20:30 +0000.243732][7160] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[658:798] [2022-08-21 16:20:30 +0000.243760][7160] SetAndroidMediaCodecObjects


time:55034756 enter.

[658:798] [2022-08-21 16:20:30 +0000.243792][7160] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000073d15b0540
[658:798] [2022-08-21 16:20:30 +0000.243824][7160] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000073d15b0540 address:0x71f9937760
[658:798] [2022-08-21 16:20:30 +0000.243855][7160] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000073d15b0540
address:0x71f9937760
[658:798] [2022-08-21 16:20:30 +0000.243888][7160] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[658:798] [2022-08-21 16:20:30 +0000.243921][7160] Set the android objects with


jvm:0xb4000073d15b0540 env:0x7326e8a980 context:0x72a8618bb8

[658:798] [2022-08-21 16:20:30 +0000.243953][7160] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7326e8a980
[658:798] [2022-08-21 16:20:30 +0000.243987][7160] SystemUtil Init done
[658:798] [2022-08-21 16:20:30 +0000.244255][7160]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[658:798] [2022-08-21 16:20:30 +0000.244333][7160] MediaFilterCamera
[658:798] [2022-08-21 16:20:30 +0000.244364][7160] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[658:799] [2022-08-21 16:20:30 +0000.244447][7160] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[658:799] [2022-08-21 16:20:30 +0000.244475][7160] Recording session using default
bitrate support by app:31457280
[658:799] [2022-08-21 16:20:30 +0000.244479][484d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7248c03b40
[658:799] [2022-08-21 16:20:30 +0000.244524][484d] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[658:799] [2022-08-21 16:20:30 +0000.244604][7160] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[658:801] [2022-08-21 16:20:30 +0000.247144][7160] Error(ini.cc:191): Open the file
failed. error:2
[658:801] [2022-08-21 16:20:30 +0000.247181][7160]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[658:801] [2022-08-21 16:20:30 +0000.247198][7160] The device model: m2012k11ag
usingSoftwareAEC value: 0
[658:807] [2022-08-21 16:20:30 +0000.252948][7160] Error(ini.cc:191): Open the file
failed. error:2
[658:807] [2022-08-21 16:20:30 +0000.253007][7160]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[658:807] [2022-08-21 16:20:30 +0000.253031][7160] The device model: m2012k11ag
usingHardwareAEC value: 0
[658:807] [2022-08-21 16:20:30 +0000.253045][7160] The machine device: m2012k11ag
usingHardwareAEC value: 0
[658:807] [2022-08-21 16:20:30 +0000.253085][7160] Using Default AEC type: software
AEC
[658:808] [2022-08-21 16:20:30 +0000.253877][7160] The device model: m2012k11ag
enum value: 0
[658:808] [2022-08-21 16:20:30 +0000.254204][7160] GetMachineModel is M2012K11AG
[658:808] [2022-08-21 16:20:30 +0000.254240][7160] GetMachineInfo: M2012K11AG
[658:808] [2022-08-21 16:20:30 +0000.254258][7160] Construct BeautifyReader
begin...
[658:808] [2022-08-21 16:20:30 +0000.254287][7160] dumpStickerRgba:0
dumpStickerYuv:0
[658:808] [2022-08-21 16:20:30 +0000.254320][7160] Construct BeautifyReader done.
[658:811] [2022-08-21 16:20:30 +0000.256955][7160] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[658:811] [2022-08-21 16:20:30 +0000.256982][4851] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x723efb0ca0
[658:811] [2022-08-21 16:20:30 +0000.257036][7160] AppDeviceManager telnet server
for statistics started......
[658:812] [2022-08-21 16:20:30 +0000.257434][7160] CpuOverloadDetect time:55034770
enter.

[658:812] [2022-08-21 16:20:30 +0000.257510][7160] CpuOverloadDetect leave. expire


time = 0 ms

[658:812] [2022-08-21 16:20:30 +0000.257535][4852] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x721ffa6c40
[658:812] [2022-08-21 16:20:30 +0000.257884][7160] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[658:812] [2022-08-21 16:20:30 +0000.257908][7160] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[658:812] [2022-08-21 16:20:30 +0000.258069][7160] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[658:812] [2022-08-21 16:20:30 +0000.258332][7160] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[658:813] [2022-08-21 16:20:30 +0000.258490][7160] CreatePlatformSpecificObjects:
[658:813] [2022-08-21 16:20:30 +0000.258522][7160] audio device use opensle input
and opensl output
[658:813] [2022-08-21 16:20:30 +0000.258559][7160] Create OpenSLES output module
with java VM support.

[658:813] [2022-08-21 16:20:30 +0000.258638][7160] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[658:813] [2022-08-21 16:20:30 +0000.258743][7160] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[658:813] [2022-08-21 16:20:30 +0000.258859][7160] Create OpenSLES output module
with buffer num:1

[658:813] [2022-08-21 16:20:30 +0000.258932][7160] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[658:813] [2022-08-21 16:20:30 +0000.259030][7160] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[658:813] [2022-08-21 16:20:30 +0000.259140][7160] Create OpenSLES input module
with java VM support.

[658:813] [2022-08-21 16:20:30 +0000.259173][7160] Create OpenSLES input module


with buffer num:1

[658:813] [2022-08-21 16:20:30 +0000.259208][7160] Error(trace.cc:40): Init the


output and input for audio device template.
[658:813] [2022-08-21 16:20:30 +0000.259235][7160] Init the output device.
[658:813] [2022-08-21 16:20:30 +0000.259267][7160] Init the opensl input.
[658:813] [2022-08-21 16:20:30 +0000.259303][7160] AppDeviceManager get setting
samplerate: 0
[658:814] [2022-08-21 16:20:30 +0000.259587][7160] The device model: m2012k11ag
enum value: 0
[658:814] [2022-08-21 16:20:30 +0000.259921][7160] The device model: m2012k11ag
enum value: 0
[658:814] [2022-08-21 16:20:30 +0000.259944][7160] Set the sample rate to be:48000

[658:814] [2022-08-21 16:20:30 +0000.259975][7160] Enable the recording stereo:0


[658:814] [2022-08-21 16:20:30 +0000.260007][7160] Set the playout as stereo:1
[658:814] [2022-08-21 16:20:30 +0000.260037][7160] Init the microphone.
[658:814] [2022-08-21 16:20:30 +0000.260343][7160] Update the recording sample rate
to be: 48000
[658:814] [2022-08-21 16:20:30 +0000.260375][7160] Init the speaker.
[658:815] [2022-08-21 16:20:30 +0000.260400][7160] Low latency buffer size:144 low
sample rate:48000
[658:815] [2022-08-21 16:20:30 +0000.260510][7160] Using 1 x 10ms for an audio
frame.

[658:818] [2022-08-21 16:20:30 +0000.263532][7160] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[658:818] [2022-08-21 16:20:30 +0000.263626][7160] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[658:818] [2022-08-21 16:20:30 +0000.263673][7160] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[658:822] [2022-08-21 16:20:30 +0000.268129][7160] The device model:m2012k11ag

[658:822] [2022-08-21 16:20:30 +0000.268190][7160] speaker output factor:100


defaultFactor: 100

[658:822] [2022-08-21 16:20:30 +0000.268209][7160] headset output factor:100


defaultFactor: 100

[658:823] [2022-08-21 16:20:30 +0000.268467][7160] AppDeviceManagerStart finished.


[658:823] [2022-08-21 16:20:30 +0000.268500][7160] AppDeviceManagerStartMic::mic
status is off
[658:823] [2022-08-21 16:20:30 +0000.268555][7160] AppDeviceManagerStartMic update
aec type: 2

[658:823] [2022-08-21 16:20:30 +0000.268576][7160] AppDeviceManagerStartMic update


voiceChangeMode: 4

[658:823] [2022-08-21 16:20:30 +0000.268592][7160]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[658:823] [2022-08-21 16:20:30 +0000.268608][7160]
AudioDeviceDataHandler::StartMicProcess

[658:823] [2022-08-21 16:20:30 +0000.268695][7160] Try to start webrtc recording


device.

[658:823] [2022-08-21 16:20:30 +0000.268723][7160] StartRecording. threadID:29024

[658:823] [2022-08-21 16:20:30 +0000.268759][7160] default mode: Set the recording


mode to voice communication to enable HW AEC .

[658:823] [2022-08-21 16:20:30 +0000.268783][7160] Set the recording mode before


getSetting: 4
[658:823] [2022-08-21 16:20:30 +0000.268829][7160] Set the recording mode after
getSetting: 1
[658:823] [2022-08-21 16:20:30 +0000.269038][4854] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[658:850] [2022-08-21 16:20:30 +0000.295971][7160] StartRecording finished.

[658:850] [2022-08-21 16:20:30 +0000.296039][7160] audio: start the audio mic


checker timer.

[658:851] [2022-08-21 16:20:30 +0000.296420][7160] machine model :poco


[658:851] [2022-08-21 16:20:30 +0000.296453][7160] Support this machine model :poco
[658:851] [2022-08-21 16:20:30 +0000.296491][7160] global inited! current sdk
version: 07-20-936c45f
[659:029] [2022-08-21 16:20:30 +0000.474613][373a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[659:029] [2022-08-21 16:20:30 +0000.474773][484e] MediaFilterCamera, recording
file context:0x725bac0000 input texture:13
[659:029] [2022-08-21 16:20:30 +0000.474840][484e] GLESContext:
[659:029] [2022-08-21 16:20:30 +0000.474867][484e] The result of eglGetDisplay is:
0xb400007326e87f00
[659:029] [2022-08-21 16:20:30 +0000.475349][484e] The result of creation:
0x7316b49a00
[659:030] [2022-08-21 16:20:30 +0000.475422][484e] The result of
eglCreatePbufferSurface is: 0x7316b49c00
[659:030] [2022-08-21 16:20:30 +0000.475495][373a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x725bac0000 input_texture: 13
[659:622] [2022-08-21 16:20:31 +0000.68074][4854] haveEnoughProcessedData
internalAudioStream.length: 10
[660:406] [2022-08-21 16:20:31 +0000.852141][4854] Run AGC when audioType = 0
[660:407] [2022-08-21 16:20:31 +0000.852414][4854]
AudioDeviceDataHandler::MixAndSendOutFrame
[661:338] [2022-08-21 16:20:32 +0000.784131][4854] haveEnoughProcessedData
internalAudioStream.length: 0
[662:405] [2022-08-21 16:20:33 +0000.850946][4854] Run AGC when audioType = 0
[662:854] [2022-08-21 16:20:34 +0000.299966][3af5]
monitorTime:4004totalDuration:3920
[663:048] [2022-08-21 16:20:34 +0000.494118][4854] haveEnoughProcessedData
internalAudioStream.length: 0
[663:748] [2022-08-21 16:20:35 +0000.194262][7160]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[663:749] [2022-08-21 16:20:35 +0000.194399][7160] ~MediaFilterCamera time:55039707
enter.

[663:749] [2022-08-21 16:20:35 +0000.194420][7160] StopPullFrameAndWriteMp4


time:55039707 enter.

[663:749] [2022-08-21 16:20:35 +0000.194655][484d] stop recording


[663:749] [2022-08-21 16:20:35 +0000.194684][484d] we have stopped recording before
[663:749] [2022-08-21 16:20:35 +0000.194728][7160] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[663:749] [2022-08-21 16:20:35 +0000.195047][7160] DestroyPipelineAndFilters


time:55039707 enter.

[663:749] [2022-08-21 16:20:35 +0000.195072][7160] DestroyPipelineAndFilters


leave. expire time = 0 ms

[663:749] [2022-08-21 16:20:35 +0000.195090][7160] AppDeviceManagerStopMic


[663:749] [2022-08-21 16:20:35 +0000.195120][7160] AppDeviceManagerStopMic::mic
status is on
[663:749] [2022-08-21 16:20:35 +0000.195[000:025] [2022-09-03 17:53:01
+0000.156639][6499] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
03 17:53:01 +0000
[000:025] [2022-09-03 17:53:01 +0000.156675][6499] set AppID=50011 old AppID=-1
[000:025] [2022-09-03 17:53:01 +0000.156693][6499] Init the android object with
jvm:0xb400007907b33540 env:0x78537e6840 context:0x77cadd2778

[000:025] [2022-09-03 17:53:01 +0000.156736][6499] SetAndroidMediaCodecObjects


time:543829393 enter.

[000:025] [2022-09-03 17:53:01 +0000.156767][6499] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:025] [2022-09-03 17:53:01 +0000.156794][6499] SetAndroidMediaCodecObjects


time:543829393 enter.

[000:025] [2022-09-03 17:53:01 +0000.156820][6499] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007907b33540
[000:025] [2022-09-03 17:53:01 +0000.156848][6499] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007907b33540 address:0x773970a760
[000:025] [2022-09-03 17:53:01 +0000.156885][6499] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007907b33540
address:0x773970a760
[000:025] [2022-09-03 17:53:01 +0000.156914][6499] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:025] [2022-09-03 17:53:01 +0000.156955][6499] Set the android objects with


jvm:0xb400007907b33540 env:0x78537e6840 context:0x77cadd2778

[000:027] [2022-09-03 17:53:01 +0000.158151][6499] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78537e6840
[000:027] [2022-09-03 17:53:01 +0000.158181][6499] SystemUtil Init done
[000:028] [2022-09-03 17:53:01 +0000.159692][6499]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:030] [2022-09-03 17:53:01 +0000.161055][6499] MediaFilterCamera
[000:030] [2022-09-03 17:53:01 +0000.161101][6499] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:030] [2022-09-03 17:53:01 +0000.161222][6499] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:030] [2022-09-03 17:53:01 +0000.161255][6499] Recording session using default
bitrate support by app:31457280
[000:030] [2022-09-03 17:53:01 +0000.161259][3f0a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x78425c1b40
[000:030] [2022-09-03 17:53:01 +0000.161535][3f0a] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:030] [2022-09-03 17:53:01 +0000.161597][6499] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:031] [2022-09-03 17:53:01 +0000.162053][6499] Error(ini.cc:191): Open the file
failed. error:2
[000:031] [2022-09-03 17:53:01 +0000.162083][6499]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:031] [2022-09-03 17:53:01 +0000.162128][6499] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:033] [2022-09-03 17:53:01 +0000.164459][6499] Error(ini.cc:191): Open the file
failed. error:2
[000:033] [2022-09-03 17:53:01 +0000.164499][6499]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:033] [2022-09-03 17:53:01 +0000.164542][6499] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:033] [2022-09-03 17:53:01 +0000.164569][6499] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:033] [2022-09-03 17:53:01 +0000.164597][6499] Using Default AEC type: software
AEC
[000:034] [2022-09-03 17:53:01 +0000.165466][6499] The device model: m2012k11ag
enum value: 0
[000:034] [2022-09-03 17:53:01 +0000.165810][6499] GetMachineModel is M2012K11AG
[000:034] [2022-09-03 17:53:01 +0000.165847][6499] GetMachineInfo: M2012K11AG
[000:034] [2022-09-03 17:53:01 +0000.165880][6499] Construct BeautifyReader
begin...
[000:034] [2022-09-03 17:53:01 +0000.165897][6499] dumpStickerRgba:0
dumpStickerYuv:0
[000:034] [2022-09-03 17:53:01 +0000.165941][6499] Construct BeautifyReader done.
[000:039] [2022-09-03 17:53:01 +0000.170407][6499] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:039] [2022-09-03 17:53:01 +0000.170431][3f0d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77705f69a0
[000:039] [2022-09-03 17:53:01 +0000.170677][6499] AppDeviceManager telnet server
for statistics started......
[000:040] [2022-09-03 17:53:01 +0000.171126][6499] CpuOverloadDetect time:543829408
enter.

[000:040] [2022-09-03 17:53:01 +0000.171216][6499] CpuOverloadDetect leave. expire


time = 0 ms

[000:040] [2022-09-03 17:53:01 +0000.171234][3f0e] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x775d295a40
[000:040] [2022-09-03 17:53:01 +0000.171617][6499] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:040] [2022-09-03 17:53:01 +0000.171646][6499] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:040] [2022-09-03 17:53:01 +0000.171896][6499] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:042] [2022-09-03 17:53:01 +0000.173157][6499] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:042] [2022-09-03 17:53:01 +0000.173516][6499] CreatePlatformSpecificObjects:
[000:042] [2022-09-03 17:53:01 +0000.173555][6499] audio device use opensle input
and opensl output
[000:042] [2022-09-03 17:53:01 +0000.173599][6499] Create OpenSLES output module
with java VM support.

[000:042] [2022-09-03 17:53:01 +0000.173691][6499] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:042] [2022-09-03 17:53:01 +0000.173812][6499] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:042] [2022-09-03 17:53:01 +0000.173946][6499] Create OpenSLES output module
with buffer num:1

[000:043] [2022-09-03 17:53:01 +0000.174061][6499] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:043] [2022-09-03 17:53:01 +0000.174190][6499] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:043] [2022-09-03 17:53:01 +0000.174317][6499] Create OpenSLES input module
with java VM support.
[000:043] [2022-09-03 17:53:01 +0000.174345][6499] Create OpenSLES input module
with buffer num:1

[000:043] [2022-09-03 17:53:01 +0000.174402][6499] Error(trace.cc:40): Init the


output and input for audio device template.
[000:043] [2022-09-03 17:53:01 +0000.174431][6499] Init the output device.

[000:043] [2022-09-03 17:53:01 +0000.174464][6499] Init the opensl input.


[000:043] [2022-09-03 17:53:01 +0000.174497][6499] AppDeviceManager get setting
samplerate: 0
[000:043] [2022-09-03 17:53:01 +0000.174727][6499] The device model: m2012k11ag
enum value: 0
[000:044] [2022-09-03 17:53:01 +0000.175116][6499] The device model: m2012k11ag
enum value: 0
[000:044] [2022-09-03 17:53:01 +0000.175148][6499] Set the sample rate to be:48000

[000:044] [2022-09-03 17:53:01 +0000.175182][6499] Enable the recording stereo:0


[000:044] [2022-09-03 17:53:01 +0000.175215][6499] Set the playout as stereo:1
[000:044] [2022-09-03 17:53:01 +0000.175249][6499] Init the microphone.
[000:044] [2022-09-03 17:53:01 +0000.175659][6499] Update the recording sample rate
to be: 48000
[000:044] [2022-09-03 17:53:01 +0000.175711][6499] Init the speaker.
[000:044] [2022-09-03 17:53:01 +0000.175738][6499] Low latency buffer size:144 low
sample rate:48000
[000:044] [2022-09-03 17:53:01 +0000.175871][6499] Using 1 x 10ms for an audio
frame.

[000:047] [2022-09-03 17:53:01 +0000.178886][6499] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:047] [2022-09-03 17:53:01 +0000.178954][6499] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:047] [2022-09-03 17:53:01 +0000.178982][6499] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:051] [2022-09-03 17:53:01 +0000.183081][6499] The device model:m2012k11ag

[000:052] [2022-09-03 17:53:01 +0000.183136][6499] speaker output factor:100


defaultFactor: 100

[000:052] [2022-09-03 17:53:01 +0000.183151][6499] headset output factor:100


defaultFactor: 100

[000:052] [2022-09-03 17:53:01 +0000.183469][6499] AppDeviceManagerStart finished.


[000:052] [2022-09-03 17:53:01 +0000.183509][6499] AppDeviceManagerStartMic::mic
status is off
[000:052] [2022-09-03 17:53:01 +0000.183569][6499] AppDeviceManagerStartMic update
aec type: 2

[000:052] [2022-09-03 17:53:01 +0000.183588][6499] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:052] [2022-09-03 17:53:01 +0000.183603][6499]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:052] [2022-09-03 17:53:01 +0000.183616][6499]
AudioDeviceDataHandler::StartMicProcess

[000:052] [2022-09-03 17:53:01 +0000.183699][6499] Try to start webrtc recording


device.

[000:052] [2022-09-03 17:53:01 +0000.183722][6499] StartRecording. threadID:25753


[000:052] [2022-09-03 17:53:01 +0000.183733][3f0f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:052] [2022-09-03 17:53:01 +0000.183800][3f0f] haveEnoughProcessedData
internalAudioStream.length: 0
[000:052] [2022-09-03 17:53:01 +0000.183954][6499] The machine model:M2012K11AG

[000:052] [2022-09-03 17:53:01 +0000.184000][6499] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:052] [2022-09-03 17:53:01 +0000.184019][6499] Set the recording mode before


getSetting: 4
[000:052] [2022-09-03 17:53:01 +0000.184036][6499] Set the recording mode after
getSetting: 1
[000:077] [2022-09-03 17:53:01 +0000.209035][6499] StartRecording finished.

[000:078] [2022-09-03 17:53:01 +0000.209135][6499] audio: start the audio mic


checker timer.

[000:078] [2022-09-03 17:53:01 +0000.209509][6499] machine model :poco


[000:078] [2022-09-03 17:53:01 +0000.209540][6499] Support this machine model :poco
[000:080] [2022-09-03 17:53:01 +0000.211989][6499] global inited! current sdk
version: 07-20-936c45f
[000:140] [2022-09-03 17:53:01 +0000.271919][3f10] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:140] [2022-09-03 17:53:01 +0000.271977][3f10] _deviceSampleRate:48000

[000:142] [2022-09-03 17:53:01 +0000.273959][3f0f] Run AGC when audioType = 0


[000:142] [2022-09-03 17:53:01 +0000.274029][3f0f]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:338] [2022-09-03 17:53:01 +0000.469518][39e2]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:338] [2022-09-03 17:53:01 +0000.469627][3f0b] MediaFilterCamera, recording
file context:0x7835964700 input texture:8
[000:338] [2022-09-03 17:53:01 +0000.469672][3f0b] GLESContext:
[000:338] [2022-09-03 17:53:01 +0000.469715][3f0b] The result of eglGetDisplay is:
0xb4000078537e3a00
[000:339] [2022-09-03 17:53:01 +0000.470349][3f0b] The result of creation:
0x7778c42900
[000:339] [2022-09-03 17:53:01 +0000.470421][3f0b] The result of
eglCreatePbufferSurface is: 0x7778c42b80
[000:339] [2022-09-03 17:53:01 +0000.470501][39e2]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7835964700 input_texture: 8
[000:656] [2022-09-03 17:53:01 +0000.787284][6499]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:656] [2022-09-03 17:53:01 +0000.787402][6499] ~MediaFilterCamera
time:543830024 enter.

[000:656] [2022-09-03 17:53:01 +0000.787422][6499] StopPullFrameAndWriteMp4


time:543830024 enter.

[000:656] [2022-09-03 17:53:01 +0000.787723][3f0a] stop recording


[000:656] [2022-09-03 17:53:01 +0000.787752][3f0a] we have stopped recording before
[000:656] [2022-09-03 17:53:01 +0000.787817][6499] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms
[000:657] [2022-09-03 17:53:01 +0000.788083][6499] DestroyPipelineAndFilters
time:543830025 enter.

[000:657] [2022-09-03 17:53:01 +0000.788107][6499] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:657] [2022-09-03 17:53:01 +0000.788124][6499] AppDeviceManagerStopMic

[000:657] [2022-09-03 17:53:01 +0000.788153][6499] AppDeviceManagerStopMic::mic


status is on
[000:657] [2022-09-03 17:53:01 +0000.788168][6499] Try to stop webrtc device.

[0[000:020] [2022-09-05 02:38:31 +0000.424398][c19] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
05 02:38:31 +0000
[000:020] [2022-09-05 02:38:31 +0000.424429][c19] set AppID=50011 old AppID=-1
[000:021] [2022-09-05 02:38:31 +0000.424441][c19] Init the android object with
jvm:0xb400007907b33540 env:0x78537e6d40 context:0x77cbcb4778

[000:021] [2022-09-05 02:38:31 +0000.424487][c19] SetAndroidMediaCodecObjects


time:657859978 enter.

[000:021] [2022-09-05 02:38:31 +0000.424504][c19] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:021] [2022-09-05 02:38:31 +0000.424515][c19] SetAndroidMediaCodecObjects


time:657859978 enter.

[000:021] [2022-09-05 02:38:31 +0000.424534][c19] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007907b33540
[000:021] [2022-09-05 02:38:31 +0000.424547][c19] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007907b33540 address:0x77388d3760
[000:021] [2022-09-05 02:38:31 +0000.424566][c19] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007907b33540
address:0x77388d3760
[000:021] [2022-09-05 02:38:31 +0000.424577][c19] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:021] [2022-09-05 02:38:31 +0000.424608][c19] Set the android objects with


jvm:0xb400007907b33540 env:0x78537e6d40 context:0x77cbcb4778

[000:022] [2022-09-05 02:38:31 +0000.425438][c19] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78537e6d40
[000:022] [2022-09-05 02:38:31 +0000.425460][c19] SystemUtil Init done
[000:023] [2022-09-05 02:38:31 +0000.427028][c19]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:024] [2022-09-05 02:38:31 +0000.428165][c19] MediaFilterCamera
[000:024] [2022-09-05 02:38:31 +0000.428198][c19] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:024] [2022-09-05 02:38:31 +0000.428274][c19] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:024] [2022-09-05 02:38:31 +0000.428295][c19] Recording session using default
bitrate support by app:31457280
[000:024] [2022-09-05 02:38:31 +0000.428309][67f1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x776eb9c040
[000:025] [2022-09-05 02:38:31 +0000.428497][67f1] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:025] [2022-09-05 02:38:31 +0000.428554][c19] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:025] [2022-09-05 02:38:31 +0000.428867][c19] Error(ini.cc:191): Open the file
failed. error:2
[000:025] [2022-09-05 02:38:31 +0000.428888][c19]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:025] [2022-09-05 02:38:31 +0000.428899][c19] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:027] [2022-09-05 02:38:31 +0000.430615][c19] Error(ini.cc:191): Open the file
failed. error:2
[000:027] [2022-09-05 02:38:31 +0000.430654][c19]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:027] [2022-09-05 02:38:31 +0000.430669][c19] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:027] [2022-09-05 02:38:31 +0000.430680][c19] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:027] [2022-09-05 02:38:31 +0000.430707][c19] Using Default AEC type: software
AEC
[000:027] [2022-09-05 02:38:31 +0000.431347][c19] The device model: m2012k11ag enum
value: 0
[000:028] [2022-09-05 02:38:31 +0000.431575][c19] GetMachineModel is M2012K11AG
[000:028] [2022-09-05 02:38:31 +0000.431596][c19] GetMachineInfo: M2012K11AG
[000:028] [2022-09-05 02:38:31 +0000.431615][c19] Construct BeautifyReader begin...
[000:028] [2022-09-05 02:38:31 +0000.431632][c19] dumpStickerRgba:0
dumpStickerYuv:0
[000:028] [2022-09-05 02:38:31 +0000.431642][c19] Construct BeautifyReader done.
[000:030] [2022-09-05 02:38:31 +0000.433950][c19] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:030] [2022-09-05 02:38:31 +0000.433978][67f5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x776eacc0a0
[000:030] [2022-09-05 02:38:31 +0000.434189][c19] AppDeviceManager telnet server
for statistics started......
[000:031] [2022-09-05 02:38:31 +0000.434571][c19] CpuOverloadDetect time:657859988
enter.

[000:031] [2022-09-05 02:38:31 +0000.434640][c19] CpuOverloadDetect leave. expire


time = 0 ms

[000:031] [2022-09-05 02:38:31 +0000.434655][67f6] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7842493740
[000:031] [2022-09-05 02:38:31 +0000.435021][c19] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[000:031] [2022-09-05 02:38:31 +0000.435048][c19] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[000:031] [2022-09-05 02:38:31 +0000.435325][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:032] [2022-09-05 02:38:31 +0000.436263][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:033] [2022-09-05 02:38:31 +0000.436684][c19] CreatePlatformSpecificObjects:
[000:033] [2022-09-05 02:38:31 +0000.436725][c19] audio device use opensle input
and opensl output
[000:033] [2022-09-05 02:38:31 +0000.436765][c19] Create OpenSLES output module
with java VM support.

[000:033] [2022-09-05 02:38:31 +0000.436915][c19] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:033] [2022-09-05 02:38:31 +0000.437073][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:033] [2022-09-05 02:38:31 +0000.437224][c19] Create OpenSLES output module
with buffer num:1
[000:033] [2022-09-05 02:38:31 +0000.437336][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:034] [2022-09-05 02:38:31 +0000.437484][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:034] [2022-09-05 02:38:31 +0000.437613][c19] Create OpenSLES input module with
java VM support.

[000:034] [2022-09-05 02:38:31 +0000.437648][c19] Create OpenSLES input module with


buffer num:1

[000:034] [2022-09-05 02:38:31 +0000.437719][c19] Error(trace.cc:40): Init the


output and input for audio device template.
[000:034] [2022-09-05 02:38:31 +0000.437747][c19] Init the output device.

[000:034] [2022-09-05 02:38:31 +0000.437777][c19] Init the opensl input.


[000:034] [2022-09-05 02:38:31 +0000.437810][c19] AppDeviceManager get setting
samplerate: 0
[000:034] [2022-09-05 02:38:31 +0000.438036][c19] The device model: m2012k11ag enum
value: 0
[000:034] [2022-09-05 02:38:31 +0000.438365][c19] The device model: m2012k11ag enum
value: 0
[000:034] [2022-09-05 02:38:31 +0000.438390][c19] Set the sample rate to be:48000

[000:034] [2022-09-05 02:38:31 +0000.438420][c19] Enable the recording stereo:0


[000:035] [2022-09-05 02:38:31 +0000.438474][c19] Set the playout as stereo:1
[000:035] [2022-09-05 02:38:31 +0000.438498][c19] Init the microphone.
[000:035] [2022-09-05 02:38:31 +0000.439128][c19] Update the recording sample rate
to be: 48000
[000:035] [2022-09-05 02:38:31 +0000.439167][c19] Init the speaker.
[000:035] [2022-09-05 02:38:31 +0000.439193][c19] Low latency buffer size:144 low
sample rate:48000
[000:035] [2022-09-05 02:38:31 +0000.439390][c19] Using 1 x 10ms for an audio
frame.

[000:038] [2022-09-05 02:38:31 +0000.442279][c19] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:038] [2022-09-05 02:38:31 +0000.442367][c19] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:038] [2022-09-05 02:38:31 +0000.442402][c19] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:043] [2022-09-05 02:38:31 +0000.446477][c19] The device model:m2012k11ag

[000:043] [2022-09-05 02:38:31 +0000.446541][c19] speaker output factor:100


defaultFactor: 100

[000:043] [2022-09-05 02:38:31 +0000.446558][c19] headset output factor:100


defaultFactor: 100

[000:043] [2022-09-05 02:38:31 +0000.446803][c19] AppDeviceManagerStart finished.


[000:043] [2022-09-05 02:38:31 +0000.446862][c19] AppDeviceManagerStartMic::mic
status is off
[000:043] [2022-09-05 02:38:31 +0000.446927][c19] AppDeviceManagerStartMic update
aec type: 2

[000:043] [2022-09-05 02:38:31 +0000.446948][c19] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:043] [2022-09-05 02:38:31 +0000.446964][c19]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:043] [2022-09-05 02:38:31 +0000.446990][c19]
AudioDeviceDataHandler::StartMicProcess

[000:043] [2022-09-05 02:38:31 +0000.447077][c19] Try to start webrtc recording


device.

[000:043] [2022-09-05 02:38:31 +0000.447101][c19] StartRecording. threadID:3097

[000:043] [2022-09-05 02:38:31 +0000.447105][67f7] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:043] [2022-09-05 02:38:31 +0000.447162][67f7] haveEnoughProcessedData
internalAudioStream.length: 0
[000:043] [2022-09-05 02:38:31 +0000.447315][c19] The machine model:M2012K11AG

[000:043] [2022-09-05 02:38:31 +0000.447358][c19] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:043] [2022-09-05 02:38:31 +0000.447373][c19] Set the recording mode before


getSetting: 4
[000:043] [2022-09-05 02:38:31 +0000.447418][c19] Set the recording mode after
getSetting: 1
[000:066] [2022-09-05 02:38:31 +0000.469776][c19] StartRecording finished.

[000:066] [2022-09-05 02:38:31 +0000.469879][c19] audio: start the audio mic


checker timer.

[000:066] [2022-09-05 02:38:31 +0000.470297][c19] machine model :poco


[000:066] [2022-09-05 02:38:31 +0000.470328][c19] Support this machine model :poco
[000:071] [2022-09-05 02:38:31 +0000.474502][c19] global inited! current sdk
version: 07-20-936c45f
[000:129] [2022-09-05 02:38:31 +0000.532746][67f8] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:129] [2022-09-05 02:38:31 +0000.532812][67f8] _deviceSampleRate:48000

[000:130] [2022-09-05 02:38:31 +0000.533699][67f7] Run AGC when audioType = 0


[000:130] [2022-09-05 02:38:31 +0000.533770][67f7]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:282] [2022-09-05 02:38:31 +0000.685847][46b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:282] [2022-09-05 02:38:31 +0000.686079][67f2] MediaFilterCamera, recording
file context:0x783582c780 input texture:9
[000:282] [2022-09-05 02:38:31 +0000.686146][67f2] GLESContext:
[000:282] [2022-09-05 02:38:31 +0000.686248][67f2] The result of eglGetDisplay is:
0xb4000078537e3a00
[000:283] [2022-09-05 02:38:31 +0000.687143][67f2] The result of creation:
0x77570e8200
[000:283] [2022-09-05 02:38:31 +0000.687222][67f2] The result of
eglCreatePbufferSurface is: 0x77570e8500
[000:283] [2022-09-05 02:38:31 +0000.687300][46b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x783582c780 input_texture: 9
[001:476] [2022-09-05 02:38:32 +0000.880174][bcc] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[001:476] [2022-09-05 02:38:32 +0000.880246][bcc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[001:477] [2022-09-05 02:38:32 +0000.881172][bcc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[001:477] [2022-09-05 02:38:32 +0000.881326][67f2] operator() time:657861434
enter.

[001:477] [2022-09-05 02:38:32 +0000.881389][67f2] MediaFilterCamera, recording


file context:0x783582c780 input texture:9
[001:479] [2022-09-05 02:38:32 +0000.882860][67f2] MicSource: Mic source
created:10x7842534580
[001:480] [2022-09-05 02:38:32 +0000.883531][67f2] received external audio stream

[001:480] [2022-09-05 02:38:32 +0000.883585][67f2] alloc thread: 0x7764710b80


name:worker0 thread id:512243698864 to Mic_source
[001:480] [2022-09-05 02:38:32 +0000.883625][67f2] audio: start the audio sender
thread.

[001:480] [2022-09-05 02:38:32 +0000.883707][67f2] construct OpenGLRenderProgram


0x7764843b98
[001:480] [2022-09-05 02:38:32 +0000.883750][67f2] CropFilter::SetOrientation
orientation: 90
[001:480] [2022-09-05 02:38:32 +0000.883927][67f2] filter: filter pipeline
construtc this: 0x776e2bb100
[001:480] [2022-09-05 02:38:32 +0000.883965][67f2] filter: filter pipeline2 update
pattern: 1
[001:480] [2022-09-05 02:38:32 +0000.884055][67f2] CameraSource::source_id_:1
[001:480] [2022-09-05 02:38:32 +0000.884093][67f2] RecordAudioSource::source_id_:2
[001:480] [2022-09-05 02:38:32 +0000.884341][67f2] BindInputFilter 0x77689943c0
this 0x7764843dc0
[001:480] [2022-09-05 02:38:32 +0000.884393][67f2] BindInputFilter 0x7768994558
this 0x77689946d0
[001:481] [2022-09-05 02:38:32 +0000.884433][67f2] BindInputFilter 0x7764843dc0
this 0x776e2bb1a0
[001:481] [2022-09-05 02:38:32 +0000.884490][67f2] setParamentForFilters:
speed:1.000000
[001:481] [2022-09-05 02:38:32 +0000.884523][67f2] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[001:481] [2022-09-05 02:38:32 +0000.884555][67f2] SetParamForFilter time:657861438
enter.

[001:481] [2022-09-05 02:38:32 +0000.884586][67f2] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[001:481] [2022-09-05 02:38:32 +0000.884617][67f2] SetParamForFilter: Params video
index is: 0
[001:481] [2022-09-05 02:38:32 +0000.884647][67f2] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[001:481] [2022-09-05 02:38:32 +0000.884679][67f2] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[001:481] [2022-09-05 02:38:32 +0000.884710][67f2] crop filter mode tpye:
citytravelvideo index:0
[001:486] [2022-09-05 02:38:32 +0000.889824][67f2]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:486] [2022-09-05 02:38:32 +0000.889896][67f2]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:486] [2022-09-05 02:38:32 +0000.889933][67f2]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:486] [2022-09-05 02:38:32 +0000.889966][67f2]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:486] [2022-09-05 02:38:32 +0000.890002][67f2]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:486] [2022-09-05 02:38:32 +0000.890035][67f2]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:486] [2022-09-05 02:38:32 +0000.890066][67f2]
Warning(parse_template_json.cc:45): json parament no found the parament
[001:486] [2022-09-05 02:38:32 +0000.890099][67f2]
Warning(parse_template_json.cc:81): json parament no found the parament
[001:486] [2022-09-05 02:38:32 +0000.890175][67f2]
Warning(parse_template_json.cc:81): json parament no found the parament
[001:486] [2022-09-05 02:38:32 +0000.890214][67f2]
Warning(parse_template_json.cc:67): json parament no found the parament
[001:486] [2022-09-05 02:38:32 +0000.890241][67f2]
Warning(parse_template_json.cc:93): json parament no found the duration
[001:486] [2022-09-05 02:38:32 +0000.890284][67f2] SetParamForFilter leave. expire
time = 5 ms

[001:487] [2022-09-05 02:38:32 +0000.890540][67f2] OnOutputSizeChanged width 1920


height 1080
[001:487] [2022-09-05 02:38:32 +0000.890577][67f2] OpenGLFrameBuffer: width:1920
height:1080
[001:487] [2022-09-05 02:38:32 +0000.890615][67f2] OpenGLFrameBuffer: width:1920
height:1080
[001:487] [2022-09-05 02:38:32 +0000.890647][67f2] OpenGLFrameBuffer: width:1920
height:1080
[001:487] [2022-09-05 02:38:32 +0000.890683][67f2] OpenGLFrameBuffer: width:1920
height:1080
[001:487] [2022-09-05 02:38:32 +0000.890714][67f2] OpenGLFrameBuffer: width:1920
height:1080
[001:487] [2022-09-05 02:38:32 +0000.890748][67f2] OpenGLFrameBuffer: width:1920
height:1080
[001:487] [2022-09-05 02:38:32 +0000.890788][67f2] construct TrivalImageDrawer
0x778108b1c0
[001:487] [2022-09-05 02:38:32 +0000.890825][67f2] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x778108b1c0 context 0x7780fc61c0
[001:487] [2022-09-05 02:38:32 +0000.890857][67f2] setupGLES:
[001:487] [2022-09-05 02:38:32 +0000.891308][67f2] OpenGLRenderProgram::Initialize.
[001:487] [2022-09-05 02:38:32 +0000.891429][67f2] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[001:488] [2022-09-05 02:38:32 +0000.891468][67f2] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[001:488] [2022-09-05 02:38:32 +0000.891529][67f2] Init open gl render:
0x7764843b98
[001:488] [2022-09-05 02:38:32 +0000.891571][67f2] Fragement shader path:
[001:488] [2022-09-05 02:38:32 +0000.891604][67f2] Fragement shader path:
[001:488] [2022-09-05 02:38:32 +0000.891630][67f2] create opengl program object.
[001:488] [2022-09-05 02:38:32 +0000.891653][67f2] create shader: vertex
[001:488] [2022-09-05 02:38:32 +0000.891910][67f2] create shader: fragment
[001:490] [2022-09-05 02:38:32 +0000.893469][67f2] Have not extra filter filename!
[001:490] [2022-09-05 02:38:32 +0000.893520][67f2] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[001:490] [2022-09-05 02:38:32 +0000.893575][67f2] OpenGLRenderProgram::Initialize
success.
[001:490] [2022-09-05 02:38:32 +0000.893680][67f2] Setup the OpenGL result:1
[001:490] [2022-09-05 02:38:32 +0000.893717][67f7] On audio frame the broadcast
with timestamp:657861447 samples:480. (1000 frame for one log)

[001:490] [2022-09-05 02:38:32 +0000.893862][6824] Get data in mic source, which


has byte length:1764micAudioStream->length():10
[001:490] [2022-09-05 02:38:32 +0000.894420][6824] The output timestamp from audio
mixer change:657861447
[001:491] [2022-09-05 02:38:32 +0000.894710][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[001:491] [2022-09-05 02:38:32 +0000.895020][67f1] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4
[001:491] [2022-09-05 02:38:32 +0000.895167][67f1] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[001:491] [2022-09-05 02:38:32 +0000.895234][67f1] 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
[001:491] [2022-09-05 02:38:32 +0000.895286][67f1] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4
fileFD: -1
[001:492] [2022-09-05 02:38:32 +0000.895661][67f1] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4
is opened successfully
[001:492] [2022-09-05 02:38:32 +0000.895691][67f1] setupMediaProcessers:
[001:492] [2022-09-05 02:38:32 +0000.895714][67f1]
RecordingSessionInternalSimple:setup media processers.
[001:492] [2022-09-05 02:38:32 +0000.895737][67f1] construct AAC encoder
[001:493] [2022-09-05 02:38:32 +0000.897137][67f1] H264Encoder creating:
superfast011818
[001:493] [2022-09-05 02:38:32 +0000.897180][67f1] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[001:494] [2022-09-05 02:38:32 +0000.897713][67f1] H264Encode::GetMachineModel is
M2012K11AG
[001:494] [2022-09-05 02:38:32 +0000.897755][67f1] H264Encoder machine_mode
is:M2012K11AG
[001:494] [2022-09-05 02:38:32 +0000.897790][67f1] H264Encode::machine size :9
machine_mode:M2012K11AG
[001:494] [2022-09-05 02:38:32 +0000.897822][67f1] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[001:494] [2022-09-05 02:38:32 +0000.897853][67f1] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[001:494] [2022-09-05 02:38:32 +0000.897882][67f1] setupCompressionSession:
[001:494] [2022-09-05 02:38:32 +0000.897911][67f1] H264Encode::creating hareware
Encoder
[001:494] [2022-09-05 02:38:32 +0000.897946][67f1] AndroidHwAvcEncoder
time:657861451 enter.

[001:494] [2022-09-05 02:38:32 +0000.898124][67f1] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007907b33540 address:0x77388d3760
[001:494] [2022-09-05 02:38:32 +0000.898257][67f1] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[001:494] [2022-09-05 02:38:32 +0000.898303][67f1] The video avc hw codec address
is 0x776ebb97b8
[001:494] [2022-09-05 02:38:32 +0000.898381][67f1] AndroidHwAvcEncoder leave.
expire time = 0 ms

[001:495] [2022-09-05 02:38:32 +0000.898502][67f1] RegisterEncodeCompleteCallback


time:657861452 enter.

[001:495] [2022-09-05 02:38:32 +0000.898606][67f1] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[001:495] [2022-09-05 02:38:32 +0000.898642][67f1] InitEncode time:657861452


enter.

[001:495] [2022-09-05 02:38:32 +0000.898709][67f1] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[001:495] [2022-09-05 02:38:32 +0000.898746][67f1] Create time:657861452 enter.

[001:495] [2022-09-05 02:38:32 +0000.898768][67f1] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[001:495] [2022-09-05 02:38:32 +0000.898802][67f1]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x776ec8acc0
[001:495] [2022-09-05 02:38:32 +0000.898958][682b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77d6d18498
[001:508] [2022-09-05 02:38:32 +0000.911724][67f1]
supported_type:image/vnd.android.heic
[001:508] [2022-09-05 02:38:32 +0000.911816][67f1] supported_type:video/avc
[001:508] [2022-09-05 02:38:32 +0000.911849][67f1] name:OMX.qcom.video.encoder.avc
mime:video/avc
[001:508] [2022-09-05 02:38:32 +0000.911946][67f1] hwCodecPrefix :OMX.qcom.
[001:508] [2022-09-05 02:38:32 +0000.911972][67f1] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[001:508] [2022-09-05 02:38:32 +0000.911996][67f1] mediacodec_createCodecByName
time:657861465 enter.

[001:508] [2022-09-05 02:38:32 +0000.912019][67f1] WrapAndroidMediaCodec


time:657861465 enter.

[001:508] [2022-09-05 02:38:32 +0000.912191][67f1] WrapAndroidMediaCodec leave.


expire time = 0 ms

[001:521] [2022-09-05 02:38:32 +0000.925047][67f1] mediacodec_createCodecByName


leave. expire time = 13 ms

[001:521] [2022-09-05 02:38:32 +0000.925104][67f1] WrapAndroidMediaFromat


time:657861478 enter.

[001:521] [2022-09-05 02:38:32 +0000.925166][67f1] WrapAndroidMediaFromat leave.


expire time = 0 ms

[001:575] [2022-09-05 02:38:32 +0000.978755][67f1] Destroy time:657861532 enter.

[001:575] [2022-09-05 02:38:32 +0000.978844][67f1] WrapAndroidMediaFromat::


Destroy
[001:575] [2022-09-05 02:38:32 +0000.978874][67f1] Destroy leave. expire time = 0
ms

[001:575] [2022-09-05 02:38:32 +0000.978900][67f1] ~WrapAndroidMediaFromat


time:657861532 enter.

[001:575] [2022-09-05 02:38:32 +0000.978927][67f1] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[001:575] [2022-09-05 02:38:32 +0000.979207][67f1] Create leave. expire time = 80


ms

[001:575] [2022-09-05 02:38:32 +0000.979252][67f1] isSemiPlanarSupport


time:657861532 enter.

[001:576] [2022-09-05 02:38:32 +0000.979790][67f1] H264Encoder isSemiPlanarSupport


[001:576] [2022-09-05 02:38:32 +0000.979826][67f1] isSemiPlanarSupport leave.
expire time = 1 ms

[001:576] [2022-09-05 02:38:32 +0000.979900][67f1] creat hw H264Encoder success,


isSemiPlanar:1
[001:576] [2022-09-05 02:38:32 +0000.980319][67f1] InitEncode leave. expire time =
81 ms

[001:576] [2022-09-05 02:38:32 +0000.980361][67f1] H264Encode::created Encoder


[001:576] [2022-09-05 02:38:32 +0000.980385][67f1] H264Encode:: H264 encoder
created.
[001:577] [2022-09-05 02:38:32 +0000.980530][67f1] H264 encoder created.
[001:577] [2022-09-05 02:38:32 +0000.980557][67f1]
RecordingSessionInternalSimple:created avc encoder avc: 0x776eceb900
[001:577] [2022-09-05 02:38:32 +0000.980580][67f1] setOutput:
[001:577] [2022-09-05 02:38:32 +0000.980602][67f1]
RecordingSessionInternalSimple:encoder set output to muxer!
[001:577] [2022-09-05 02:38:32 +0000.980624][67f1] request a key frame
[001:577] [2022-09-05 02:38:32 +0000.980662][67f1] H264Encode:: request a key frame
[001:577] [2022-09-05 02:38:32 +0000.980826][67f1] setDisplayRotate :90
[001:577] [2022-09-05 02:38:32 +0000.980869][67f1] 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
[001:577] [2022-09-05 02:38:32 +0000.980957][67f2] StartRecording:
[001:577] [2022-09-05 02:38:32 +0000.981043][6824] operator(): Set the recording
session in mic source. recording session: 0x7768994400
[001:577] [2022-09-05 02:38:32 +0000.981154][67f2] operator() leave. expire time =
100 ms

[001:577] [2022-09-05 02:38:32 +0000.981148][6823] AF_SpeedFilter audio


0x7768994580 PullFrame
[001:577] [2022-09-05 02:38:32 +0000.981230][6823]
RecordAudioSource::PullAudioFrame
[001:577] [2022-09-05 02:38:32 +0000.981262][6823] AF_SpeedFilter::PullFrame eof4
[001:580] [2022-09-05 02:38:32 +0000.983466][6823]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[001:598] [2022-09-05 02:38:33 +0000.2046][6823] AF_SpeedFilter audio time,
0x7768994580 rcv time: 657861550
[001:598] [2022-09-05 02:38:33 +0000.2101][6823] AF_SpeedFilter audio time,
0x7768994580 rcv time: 657861550in_nSamples:441
[001:598] [2022-09-05 02:38:33 +0000.2174][6823] resampled_data_size:0
[001:622] [2022-09-05 02:38:33 +0000.26343][67f2]
MediaFilterCamera::NeedProcessTexture
[001:622] [2022-09-05 02:38:33 +0000.26396][67f2] begine recode to first frame
spend time:145
[001:622] [2022-09-05 02:38:33 +0000.26415][67f2] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7768994280
[001:623] [2022-09-05 02:38:33 +0000.26880][67f2] blur_distance_:0
[001:623] [2022-09-05 02:38:33 +0000.27325][67f2] blur_direction_angle_:-90
[001:623] [2022-09-05 02:38:33 +0000.27392][67f2]
GPUImageProcessing::SetOrientation orientation: 90
[001:624] [2022-09-05 02:38:33 +0000.27455][67f2] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[001:624] [2022-09-05 02:38:33 +0000.27516][67f2] GPUImageProcessing: process video
frame with resolution 1920 X 1080
[001:624] [2022-09-05 02:38:33 +0000.27546][67f2] GPUImageProcessing: input frame
width1920 X 1080
[001:626] [2022-09-05 02:38:33 +0000.30357][67f2] drawYUV420 render
OpenGLRenderProgram:0x7764843b98
[001:627] [2022-09-05 02:38:33 +0000.31279][67f2] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[001:627] [2022-09-05 02:38:33 +0000.31357][67f2] CropFilter::OnVideoFrame
outputtexture :11
[001:627] [2022-09-05 02:38:33 +0000.31396][67f2] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[001:633] [2022-09-05 02:38:33 +0000.37044][67f2] The read pixel from buffer take:
5 width:1920 height:1080 frameType:0
[001:653] [2022-09-05 02:38:33 +0000.57382][67f2] drawYUV420 render
OpenGLRenderProgram:0x7764843b98
[001:663] [2022-09-05 02:38:33 +0000.66664][67f2] The convert RGB to YUV take 4
[001:663] [2022-09-05 02:38:33 +0000.66937][67f2] FilterPipeline2::OnVideoFrame pts
28 last_video_timestamp_ 28
[001:663] [2022-09-05 02:38:33 +0000.66993][67f2]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[001:664] [2022-09-05 02:38:33 +0000.67932][682a]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[001:664] [2022-09-05 02:38:33 +0000.68027][682a] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[001:664] [2022-09-05 02:38:33 +0000.68072][682a] push video frame to H264 encoder.
(100 frame for one log)

[001:664] [2022-09-05 02:38:33 +0000.68115][682a] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[001:664] [2022-09-05 02:38:33 +0000.68156][682a] H264Encode::push video frame to


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

[001:664] [2022-09-05 02:38:33 +0000.68194][682a] Push an pts:0 to dts queue.


[001:664] [2022-09-05 02:38:33 +0000.68287][682a] DTS queue for
Generator:0x77d6d186b8 0
[001:664] [2022-09-05 02:38:33 +0000.68325][682a] The input pts:0 fps:30
[001:667] [2022-09-05 02:38:33 +0000.70690][682a]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[001:690] [2022-09-05 02:38:33 +0000.93961][67f2] drawYUV420 render
OpenGLRenderProgram:0x7764843b98
[001:722] [2022-09-05 02:38:33 +0000.125727][6823] AF_SpeedFilter audio time 222,
0x7768994580 out time: 657861550 org time: 657861550
[001:722] [2022-09-05 02:38:33 +0000.125822][6823] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[001:722] [2022-09-05 02:38:33 +0000.125911][6823]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 657861550
[001:722] [2022-09-05 02:38:33 +0000.125981][6823]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[001:722] [2022-09-05 02:38:33 +0000.126177][6823] AF_SpeedFilter audio time
[001:722] [2022-09-05 02:38:33 +0000.126263][6823] AF_SpeedFilter audio time 111,
0x7768994580 out time: 657861560 org time: 657861560
[001:724] [2022-09-05 02:38:33 +0000.128037][6829]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:4
[001:727] [2022-09-05 02:38:33 +0000.131397][682b] add aac audio track with id:1
[001:728] [2022-09-05 02:38:33 +0000.131564][682b] audio start ts:0
[001:728] [2022-09-05 02:38:33 +0000.131638][682b] the audio frame has been written
into MP4 file
[001:764] [2022-09-05 02:38:33 +0000.167563][682a] h264 add frame header cdr flag
[001:764] [2022-09-05 02:38:33 +0000.168281][682a] h264 add frame header cdr flag
[001:766] [2022-09-05 02:38:33 +0000.169543][682a] SendFrame
encodedImage._timeStamp:0encodedImage->_length:440848
[001:766] [2022-09-05 02:38:33 +0000.169645][682a] Received key frame:0
[001:766] [2022-09-05 02:38:33 +0000.169705][682a] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[001:766] [2022-09-05 02:38:33 +0000.169754][682a] H264Encode::H264SWEncoder get
callback, length:440848 type:0 nalType:7length:19
[001:766] [2022-09-05 02:38:33 +0000.169795][682a] H264Encode:: get a sps pps
header!headerSize:32
[001:766] [2022-09-05 02:38:33 +0000.169827][682a] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[001:766] [2022-09-05 02:38:33 +0000.169955][682b] get the H.264 SPS parameter
[001:766] [2022-09-05 02:38:33 +0000.170390][682b] add video track with id:2
[001:769] [2022-09-05 02:38:33 +0000.172578][682b] get the H.264 PPS parameter
[001:769] [2022-09-05 02:38:33 +0000.173348][682b] get the H.264 IDR frame
[001:769] [2022-09-05 02:38:33 +0000.173424][682b] resss:true
[001:770] [2022-09-05 02:38:33 +0000.173451][682b] video start ts:0
[001:770] [2022-09-05 02:38:33 +0000.173792][682b] the video frame has been written
into MP4 file
[001:774] [2022-09-05 02:38:33 +0000.178358][67f7] haveEnoughProcessedData
internalAudioStream.length: 20
[002:125] [2022-09-05 02:38:33 +0000.528554][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[002:130] [2022-09-05 02:38:33 +0000.534375][67f7] Run AGC when audioType = 0
[002:159] [2022-09-05 02:38:33 +0000.563390][67f2] The convert RGB to YUV take 2
[002:493] [2022-09-05 02:38:33 +0000.896837][682a] DTS queue for
Generator:0x77d6d186b8 802 836
[002:501] [2022-09-05 02:38:33 +0000.905342][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[002:621] [2022-09-05 02:38:34 +0000.25147][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[002:658] [2022-09-05 02:38:34 +0000.61456][67f2] The convert RGB to YUV take 3
[002:989] [2022-09-05 02:38:34 +0000.392494][682a] Push an pts:1333 to dts queue.
[003:032] [2022-09-05 02:38:34 +0000.435518][682a] last dts:1302 currentPts:1333
ppsOrSPS:0 queue length:2
[003:119] [2022-09-05 02:38:34 +0000.522488][67f2] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[003:155] [2022-09-05 02:38:34 +0000.559406][67f2] The convert RGB to YUV take 3
[003:216] [2022-09-05 02:38:34 +0000.619978][6823] AF_SpeedFilter audio
0x7768994580 PullFrame
[003:324] [2022-09-05 02:38:34 +0000.728081][682a] DTS queue for
Generator:0x77d6d186b8 1633 1666
[003:488] [2022-09-05 02:38:34 +0000.891787][6823]
RecordAudioSource::PullAudioFrame
[003:491] [2022-09-05 02:38:34 +0000.894729][67f7] haveEnoughProcessedData
internalAudioStream.length: 20
[003:498] [2022-09-05 02:38:34 +0000.902130][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[003:616] [2022-09-05 02:38:35 +0000.20085][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[003:651] [2022-09-05 02:38:35 +0000.54802][67f2] The convert RGB to YUV take 2
[003:685] [2022-09-05 02:38:35 +0000.89232][67f2] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[003:696] [2022-09-05 02:38:35 +0000.100309][682a] h264 add frame header cdr flag
[003:697] [2022-09-05 02:38:35 +0000.100531][682a] Received key frame:1997
[003:729] [2022-09-05 02:38:35 +0000.133434][682b] get the H.264 IDR frame
[003:879] [2022-09-05 02:38:35 +0000.283294][6823] resampled_data_size:7168
[003:940] [2022-09-05 02:38:35 +0000.343449][6823] AF_SpeedFilter::PullFrame eof4
[003:942] [2022-09-05 02:38:35 +0000.345592][6823]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[004:065] [2022-09-05 02:38:35 +0000.468896][6829]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:7
[004:068] [2022-09-05 02:38:35 +0000.471463][67ed]
monitorTime:4002totalDuration:3940
[004:119] [2022-09-05 02:38:35 +0000.523073][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[004:126] [2022-09-05 02:38:35 +0000.530458][682a] DTS queue for
Generator:0x77d6d186b8 2467
[004:142] [2022-09-05 02:38:35 +0000.545693][67f7] Run AGC when audioType = 0
[004:142] [2022-09-05 02:38:35 +0000.545838][67f7]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:157] [2022-09-05 02:38:35 +0000.561007][67f2] The convert RGB to YUV take 5
[004:325] [2022-09-05 02:38:35 +0000.728922][682a] Push an pts:2666 to dts queue.
[004:358] [2022-09-05 02:38:35 +0000.762343][682a] last dts:2634 currentPts:2666
ppsOrSPS:0 queue length:2
[004:496] [2022-09-05 02:38:35 +0000.900445][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:617] [2022-09-05 02:38:36 +0000.21106][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[004:652] [2022-09-05 02:38:36 +0000.55573][67f2] The convert RGB to YUV take 4
[004:868] [2022-09-05 02:38:36 +0000.271723][6823] AF_SpeedFilter audio
0x7768994580 PullFrame
[004:916] [2022-09-05 02:38:36 +0000.320008][67f2] drawYUV420 render
OpenGLRenderProgram:0x7764843b98
[004:955] [2022-09-05 02:38:36 +0000.359243][682a] DTS queue for
Generator:0x77d6d186b8 3297
[004:985] [2022-09-05 02:38:36 +0000.388888][67f2] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[004:985] [2022-09-05 02:38:36 +0000.388951][67f2] GPUImageProcessing: input frame
width1920 X 1080
[004:985] [2022-09-05 02:38:36 +0000.389366][67f2] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[004:985] [2022-09-05 02:38:36 +0000.389425][67f2] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[004:990] [2022-09-05 02:38:36 +0000.393970][682a]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3332
[004:994] [2022-09-05 02:38:36 +0000.397525][682a] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3297 pts:3297
[005:020] [2022-09-05 02:38:36 +0000.423540][682a] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3365
[005:020] [2022-09-05 02:38:36 +0000.423630][682a] push video frame to H264
encoder. (100 frame for one log)

[005:020] [2022-09-05 02:38:36 +0000.423655][682a] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[005:020] [2022-09-05 02:38:36 +0000.423676][682a] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3365(100 frame for one
log)

[005:020] [2022-09-05 02:38:36 +0000.423714][682a] The input pts:3365 fps:30


[005:022] [2022-09-05 02:38:36 +0000.425468][682a] SendFrame
encodedImage._timeStamp:3332encodedImage->_length:57216
[005:059] [2022-09-05 02:38:36 +0000.462916][682a] H264Encode::H264SWEncoder get
callback, length:39456 type:1 nalType:1length:39452
[005:116] [2022-09-05 02:38:36 +0000.520263][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:152] [2022-09-05 02:38:36 +0000.555834][67f2] The convert RGB to YUV take 2
[005:216] [2022-09-05 02:38:36 +0000.619948][67f7] haveEnoughProcessedData
internalAudioStream.length: 0
[005:407] [2022-09-05 02:38:36 +0000.810971][6823]
RecordAudioSource::PullAudioFrame
[005:494] [2022-09-05 02:38:36 +0000.898020][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[005:615] [2022-09-05 02:38:37 +0000.18903][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:657] [2022-09-05 02:38:37 +0000.61358][67f2] The convert RGB to YUV take 8
[005:659] [2022-09-05 02:38:37 +0000.62819][682a] Push an pts:3998 to dts queue.
[005:691] [2022-09-05 02:38:37 +0000.94923][682a] h264 add frame header cdr flag
[005:691] [2022-09-05 02:38:37 +0000.95037][682a] Received key frame:3998
[005:691] [2022-09-05 02:38:37 +0000.95073][682a] last dts:3964 currentPts:3998
ppsOrSPS:0 queue length:2
[005:726] [2022-09-05 02:38:37 +0000.130233][682b] get the H.264 IDR frame
[005:753] [2022-09-05 02:38:37 +0000.156645][67f2] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[005:788] [2022-09-05 02:38:37 +0000.191909][682a] DTS queue for
Generator:0x77d6d186b8 4096 4130
[006:078] [2022-09-05 02:38:37 +0000.482089][6823] resampled_data_size:0
[006:115] [2022-09-05 02:38:37 +0000.519409][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:134] [2022-09-05 02:38:37 +0000.538170][67f7] Run AGC when audioType = 0
[006:152] [2022-09-05 02:38:37 +0000.556161][67f2] The convert RGB to YUV take 4
[006:285] [2022-09-05 02:38:37 +0000.689102][6823] AF_SpeedFilter::PullFrame eof4
[006:288] [2022-09-05 02:38:37 +0000.691638][6823]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[006:330] [2022-09-05 02:38:37 +0000.733591][6829]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:1
[006:475] [2022-09-05 02:38:37 +0000.879395][6823] AF_SpeedFilter audio
0x7768994580 PullFrame
[006:499] [2022-09-05 02:38:37 +0000.903256][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:614] [2022-09-05 02:38:38 +0000.18255][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:620] [2022-09-05 02:38:38 +0000.23739][682a] DTS queue for
Generator:0x77d6d186b8 4931 4964
[006:653] [2022-09-05 02:38:38 +0000.57289][67f2] The convert RGB to YUV take 2
[006:936] [2022-09-05 02:38:38 +0000.339670][67f7] haveEnoughProcessedData
internalAudioStream.length: 0
[006:987] [2022-09-05 02:38:38 +0000.391235][682a] Push an pts:5331 to dts queue.
[007:026] [2022-09-05 02:38:38 +0000.429729][682a] last dts:5296 currentPts:5331
ppsOrSPS:0 queue length:2
[007:116] [2022-09-05 02:38:38 +0000.519887][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:151] [2022-09-05 02:38:38 +0000.554871][67f2] The convert RGB to YUV take 3
[007:283] [2022-09-05 02:38:38 +0000.687249][6823]
RecordAudioSource::PullAudioFrame
[007:454] [2022-09-05 02:38:38 +0000.858249][682a] DTS queue for
Generator:0x77d6d186b8 5762 5797
[007:505] [2022-09-05 02:38:38 +0000.908680][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[007:614] [2022-09-05 02:38:39 +0000.17711][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:651] [2022-09-05 02:38:39 +0000.55246][67f2] The convert RGB to YUV take 4
[007:689] [2022-09-05 02:38:39 +0000.93256][682a] h264 add frame header cdr flag
[007:690] [2022-09-05 02:38:39 +0000.93519][682a] Received key frame:5995
[007:730] [2022-09-05 02:38:39 +0000.133770][682b] get the H.264 IDR frame
[007:846] [2022-09-05 02:38:39 +0000.249924][67f2] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[008:089] [2022-09-05 02:38:39 +0000.492951][6823] AF_SpeedFilter audio
0x7768994580 PullFrame
[008:111] [2022-09-05 02:38:39 +0000.515275][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:130] [2022-09-05 02:38:39 +0000.534159][67f7] Run AGC when audioType = 0
[008:130] [2022-09-05 02:38:39 +0000.534287][67f7]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:155] [2022-09-05 02:38:39 +0000.559372][67f2] The convert RGB to YUV take 4
[008:244] [2022-09-05 02:38:39 +0000.647986][67f2] drawYUV420 render
OpenGLRenderProgram:0x7764843b98
[008:254] [2022-09-05 02:38:39 +0000.658218][682a] DTS queue for
Generator:0x77d6d186b8 6593
[008:306] [2022-09-05 02:38:39 +0000.709901][6823] resampled_data_size:10240
[008:323] [2022-09-05 02:38:39 +0000.726772][682a]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6662
[008:323] [2022-09-05 02:38:39 +0000.726880][682a] Push an pts:6662 to dts queue.
[008:346] [2022-09-05 02:38:39 +0000.749645][67f2] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[008:346] [2022-09-05 02:38:39 +0000.749793][67f2] GPUImageProcessing: input frame
width1920 X 1080
[008:346] [2022-09-05 02:38:39 +0000.750111][67f2] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[008:346] [2022-09-05 02:38:39 +0000.750220][67f2] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[008:355] [2022-09-05 02:38:39 +0000.758916][682a] SendFrame
encodedImage._timeStamp:6662encodedImage->_length:42432
[008:355] [2022-09-05 02:38:39 +0000.759109][682a] last dts:6630 currentPts:6662
ppsOrSPS:0 queue length:2
[008:355] [2022-09-05 02:38:39 +0000.759175][682a] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6662 pts:6662
[008:388] [2022-09-05 02:38:39 +0000.791717][682a] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6730
[008:388] [2022-09-05 02:38:39 +0000.791837][682a] push video frame to H264
encoder. (100 frame for one log)

[008:388] [2022-09-05 02:38:39 +0000.791888][682a] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[008:388] [2022-09-05 02:38:39 +0000.791951][682a] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6730(100 frame for one
log)

[008:388] [2022-09-05 02:38:39 +0000.791997][682a] The input pts:6730 fps:30


[008:427] [2022-09-05 02:38:39 +0000.830663][682a] H264Encode::H264SWEncoder get
callback, length:40704 type:1 nalType:1length:40700
[008:492] [2022-09-05 02:38:39 +0000.895627][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[008:599] [2022-09-05 02:38:40 +0000.2763][6823] AF_SpeedFilter::PullFrame eof4
[008:601] [2022-09-05 02:38:40 +0000.4926][6823]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[008:614] [2022-09-05 02:38:40 +0000.17495][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:649] [2022-09-05 02:38:40 +0000.53151][67f2] The convert RGB to YUV take 3
[008:653] [2022-09-05 02:38:40 +0000.57195][67f7] haveEnoughProcessedData
internalAudioStream.length: 10
[008:688] [2022-09-05 02:38:40 +0000.91809][6829]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6965queue_audio_frame_:5
[009:084] [2022-09-05 02:38:40 +0000.488350][682a] DTS queue for
Generator:0x77d6d186b8 7428
[009:113] [2022-09-05 02:38:40 +0000.517310][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:149] [2022-09-05 02:38:40 +0000.552604][67f2] The convert RGB to YUV take 3
[009:157] [2022-09-05 02:38:40 +0000.560684][6823]
RecordAudioSource::PullAudioFrame
[009:500] [2022-09-05 02:38:40 +0000.904233][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[009:616] [2022-09-05 02:38:41 +0000.19549][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:652] [2022-09-05 02:38:41 +0000.56253][67f2] The convert RGB to YUV take 3
[009:654] [2022-09-05 02:38:41 +0000.58168][682a] Push an pts:7997 to dts queue.
[009:691] [2022-09-05 02:38:41 +0000.95192][682a] h264 add frame header cdr flag
[009:692] [2022-09-05 02:38:41 +0000.95448][682a] Received key frame:7997
[009:692] [2022-09-05 02:38:41 +0000.95480][682a] last dts:7964 currentPts:7997
ppsOrSPS:0 queue length:2
[009:708] [2022-09-05 02:38:41 +0000.112001][6823] AF_SpeedFilter audio
0x7768994580 PullFrame
[009:723] [2022-09-05 02:38:41 +0000.127100][682b] get the H.264 IDR frame
[009:919] [2022-09-05 02:38:41 +0000.322872][67f2] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3984 diff: 17
[009:921] [2022-09-05 02:38:41 +0000.324651][682a] DTS queue for
Generator:0x77d6d186b8 8232 8264
[010:115] [2022-09-05 02:38:41 +0000.519229][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[010:130] [2022-09-05 02:38:41 +0000.533546][67f8] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:130] [2022-09-05 02:38:41 +0000.533649][67f8] _deviceSampleRate:48000

[010:131] [2022-09-05 02:38:41 +0000.534625][67f7] Run AGC when audioType = 0


[010:150] [2022-09-05 02:38:41 +0000.554171][67f2] The convert RGB to YUV take 2
[010:376] [2022-09-05 02:38:41 +0000.780280][67f7] haveEnoughProcessedData
internalAudioStream.length: 0
[010:495] [2022-09-05 02:38:41 +0000.898937][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[010:564] [2022-09-05 02:38:41 +0000.968423][6823] resampled_data_size:1024
[010:614] [2022-09-05 02:38:42 +0000.17894][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[010:652] [2022-09-05 02:38:42 +0000.56369][67f2] The convert RGB to YUV take 3
[010:753] [2022-09-05 02:38:42 +0000.156471][682a] DTS queue for
Generator:0x77d6d186b8 9066 9097
[010:948] [2022-09-05 02:38:42 +0000.352133][6823] AF_SpeedFilter::PullFrame eof4
[010:951] [2022-09-05 02:38:42 +0000.354964][6823]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[010:982] [2022-09-05 02:38:42 +0000.386274][682a] Push an pts:9328 to dts queue.
[011:020] [2022-09-05 02:38:42 +0000.424433][682a] last dts:9296 currentPts:9328
ppsOrSPS:0 queue length:2
[011:043] [2022-09-05 02:38:42 +0000.447273][6829]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9287queue_audio_frame_:7
[011:067] [2022-09-05 02:38:42 +0000.470745][6823]
RecordAudioSource::PullAudioFrame
[011:115] [2022-09-05 02:38:42 +0000.518768][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[011:148] [2022-09-05 02:38:42 +0000.551691][67f2] The convert RGB to YUV take 2
[011:323] [2022-09-05 02:38:42 +0000.727168][6823] AF_SpeedFilter audio
0x7768994580 PullFrame
[011:456] [2022-09-05 02:38:42 +0000.860197][6824] The output timestamp from audio
mixer change:657871410
[011:490] [2022-09-05 02:38:42 +0000.894406][67f7] On audio frame the broadcast
with timestamp:657871447 samples:480. (1000 frame for one log)

[011:499] [2022-09-05 02:38:42 +0000.902925][6824] Get data in mic source, which


has byte length:1764micAudioStream->length():20
[011:499] [2022-09-05 02:38:42 +0000.903168][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[011:578] [2022-09-05 02:38:42 +0000.982023][67f2] drawYUV420 render
OpenGLRenderProgram:0x7764843b98
[011:582] [2022-09-05 02:38:42 +0000.985801][682a] DTS queue for
Generator:0x77d6d186b8 9897 9927
[011:593] [2022-09-05 02:38:42 +0000.996866][6823] AF_SpeedFilter audio time,
0x7768994580 rcv time: 657871547
[011:593] [2022-09-05 02:38:42 +0000.996909][6823] AF_SpeedFilter audio time,
0x7768994580 rcv time: 657871547in_nSamples:441
[011:612] [2022-09-05 02:38:43 +0000.16003][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[011:648] [2022-09-05 02:38:43 +0000.51594][67f2] The convert RGB to YUV take 3
[011:649] [2022-09-05 02:38:43 +0000.52534][682a]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:9994
[011:691] [2022-09-05 02:38:43 +0000.95233][682a] h264 add frame header cdr flag
[011:692] [2022-09-05 02:38:43 +0000.95697][682a] SendFrame
encodedImage._timeStamp:9994encodedImage->_length:183456
[011:692] [2022-09-05 02:38:43 +0000.95763][682a] Received key frame:9994
[011:700] [2022-09-05 02:38:43 +0000.103980][6823] FilterPipeline2::OnAudioFrame
pts 10010 last_audio_timestamp_ 10010
[011:700] [2022-09-05 02:38:43 +0000.104066][6823]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 657871550
[011:700] [2022-09-05 02:38:43 +0000.104100][6823]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[011:712] [2022-09-05 02:38:43 +0000.115843][67f2] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[011:713] [2022-09-05 02:38:43 +0000.116454][67f2] GPUImageProcessing: input frame
width1920 X 1080
[011:713] [2022-09-05 02:38:43 +0000.116901][67f2] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[011:713] [2022-09-05 02:38:43 +0000.116978][67f2] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[011:721] [2022-09-05 02:38:43 +0000.124856][682a] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10030 pts:10030
[011:721] [2022-09-05 02:38:43 +0000.125347][682b] get the H.264 IDR frame
[011:753] [2022-09-05 02:38:43 +0000.157021][682a] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:10094
[011:753] [2022-09-05 02:38:43 +0000.157120][682a] push video frame to H264
encoder. (100 frame for one log)

[011:753] [2022-09-05 02:38:43 +0000.157210][682a] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[011:753] [2022-09-05 02:38:43 +0000.157259][682a] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:10094(100 frame for one
log)

[011:753] [2022-09-05 02:38:43 +0000.157312][682a] The input pts:10094 fps:30


[011:795] [2022-09-05 02:38:43 +0000.198804][682a] H264Encode::H264SWEncoder get
callback, length:43536 type:1 nalType:1length:43532
[012:023] [2022-09-05 02:38:43 +0000.427365][67f2] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4980 diff: 21
[012:087] [2022-09-05 02:38:43 +0000.491377][67f7] haveEnoughProcessedData
internalAudioStream.length: 0
[012:115] [2022-09-05 02:38:43 +0000.518554][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[012:134] [2022-09-05 02:38:43 +0000.538387][67f7] Run AGC when audioType = 0
[012:135] [2022-09-05 02:38:43 +0000.538696][67f7]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:152] [2022-09-05 02:38:43 +0000.555525][67f2] The convert RGB to YUV take 4
[012:316] [2022-09-05 02:38:43 +0000.719514][682a] Push an pts:10659 to dts queue.
[012:354] [2022-09-05 02:38:43 +0000.757579][682a] last dts:10626 currentPts:10659
ppsOrSPS:0 queue length:2
[012:387] [2022-09-05 02:38:43 +0000.790503][682a] DTS queue for
Generator:0x77d6d186b8 10726
[012:495] [2022-09-05 02:38:43 +0000.898757][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[012:614] [2022-09-05 02:38:44 +0000.17974][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[012:650] [2022-09-05 02:38:44 +0000.54054][67f2] The convert RGB to YUV take 3
[012:736] [2022-09-05 02:38:44 +0000.140113][6823] resampled_data_size:13312
[012:746] [2022-09-05 02:38:44 +0000.149666][67f2] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[012:820] [2022-09-05 02:38:44 +0000.223838][6823] AF_SpeedFilter audio time
[012:820] [2022-09-05 02:38:44 +0000.223951][6823] AF_SpeedFilter audio time 111,
0x7768994580 out time: 657872740 org time: 657872740
[012:925] [2022-09-05 02:38:44 +0000.329030][6823] AF_SpeedFilter audio
0x7768994580 PullFrame
[012:943] [2022-09-05 02:38:44 +0000.346637][6823]
RecordAudioSource::PullAudioFrame
[013:112] [2022-09-05 02:38:44 +0000.516020][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[013:151] [2022-09-05 02:38:44 +0000.554910][67f2] The convert RGB to YUV take 3
[013:225] [2022-09-05 02:38:44 +0000.628578][682a] DTS queue for
Generator:0x77d6d186b8 11565
[013:266] [2022-09-05 02:38:44 +0000.669964][6823] AF_SpeedFilter::PullFrame eof4
[013:268] [2022-09-05 02:38:44 +0000.672146][6823]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[013:309] [2022-09-05 02:38:44 +0000.712886][6829]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 11609queue_audio_frame_:2
[013:500] [2022-09-05 02:38:44 +0000.904373][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[013:607] [2022-09-05 02:38:45 +0000.11162][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[013:647] [2022-09-05 02:38:45 +0000.50686][67f2] The convert RGB to YUV take 3
[013:651] [2022-09-05 02:38:45 +0000.54897][682a] Push an pts:11992 to dts queue.
[013:692] [2022-09-05 02:38:45 +0000.96330][682a] h264 add frame header cdr flag
[013:693] [2022-09-05 02:38:45 +0000.96562][682a] Received key frame:11992
[013:693] [2022-09-05 02:38:45 +0000.96607][682a] last dts:11956 currentPts:11992
ppsOrSPS:0 queue length:2
[013:727] [2022-09-05 02:38:45 +0000.130607][682b] get the H.264 IDR frame
[013:798] [2022-09-05 02:38:45 +0000.201642][67f7] haveEnoughProcessedData
internalAudioStream.length: 0
[014:045] [2022-09-05 02:38:45 +0000.449028][682a] DTS queue for
Generator:0x77d6d186b8 12359 12390
[014:078] [2022-09-05 02:38:45 +0000.481959][67f2] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5984 diff: 17
[014:109] [2022-09-05 02:38:45 +0000.512662][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[014:132] [2022-09-05 02:38:45 +0000.536442][67f7] Run AGC when audioType = 0
[014:153] [2022-09-05 02:38:45 +0000.556497][67f2] The convert RGB to YUV take 8
[014:499] [2022-09-05 02:38:45 +0000.902895][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[014:595] [2022-09-05 02:38:45 +0000.999115][6823] AF_SpeedFilter audio
0x7768994580 PullFrame
[014:611] [2022-09-05 02:38:46 +0000.14625][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[014:645] [2022-09-05 02:38:46 +0000.49043][67f2] The convert RGB to YUV take 2
[014:881] [2022-09-05 02:38:46 +0000.285376][682a] DTS queue for
Generator:0x77d6d186b8 13189 13222
[014:883] [2022-09-05 02:38:46 +0000.287274][6823]
RecordAudioSource::PullAudioFrame
[014:907] [2022-09-05 02:38:46 +0000.311403][67f2] drawYUV420 render
OpenGLRenderProgram:0x7764843b98
[014:978] [2022-09-05 02:38:46 +0000.381714][682a]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:13323
[014:978] [2022-09-05 02:38:46 +0000.381791][682a] Push an pts:13323 to dts queue.
[014:997] [2022-09-05 02:38:46 +0000.400523][6823] resampled_data_size:4096
[015:025] [2022-09-05 02:38:46 +0000.428507][682a] SendFrame
encodedImage._timeStamp:13323encodedImage->_length:55280
[015:025] [2022-09-05 02:38:46 +0000.428582][682a] last dts:13290 currentPts:13323
ppsOrSPS:0 queue length:2
[015:074] [2022-09-05 02:38:46 +0000.477998][67f2] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[015:074] [2022-09-05 02:38:46 +0000.478235][67f2] GPUImageProcessing: input frame
width1920 X 1080
[015:075] [2022-09-05 02:38:46 +0000.478648][67f2] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[015:075] [2022-09-05 02:38:46 +0000.478691][67f2] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[015:082] [2022-09-05 02:38:46 +0000.486161][682a] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:13391 pts:13391
[015:108] [2022-09-05 02:38:46 +0000.511601][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:115] [2022-09-05 02:38:46 +0000.519028][682a] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:13454
[015:115] [2022-09-05 02:38:46 +0000.519101][682a] push video frame to H264
encoder. (100 frame for one log)

[015:115] [2022-09-05 02:38:46 +0000.519120][682a] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[015:115] [2022-09-05 02:38:46 +0000.519150][682a] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:13454(100 frame for one
log)

[015:115] [2022-09-05 02:38:46 +0000.519188][682a] The input pts:13454 fps:30


[015:150] [2022-09-05 02:38:46 +0000.554354][67f2] The convert RGB to YUV take 6
[015:157] [2022-09-05 02:38:46 +0000.560666][682a] H264Encode::H264SWEncoder get
callback, length:26784 type:1 nalType:1length:26780
[015:492] [2022-09-05 02:38:46 +0000.896251][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[015:523] [2022-09-05 02:38:46 +0000.927226][67f7] haveEnoughProcessedData
internalAudioStream.length: 0
[015:607] [2022-09-05 02:38:47 +0000.11432][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[015:642] [2022-09-05 02:38:47 +0000.46242][67f2] The convert RGB to YUV take 4
[015:665] [2022-09-05 02:38:47 +0000.68881][6823] AF_SpeedFilter::PullFrame eof4
[015:666] [2022-09-05 02:38:47 +0000.70044][6829]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 13931queue_audio_frame_:5
[015:667] [2022-09-05 02:38:47 +0000.71099][6823]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[015:688] [2022-09-05 02:38:47 +0000.92353][682a] h264 add frame header cdr flag
[015:689] [2022-09-05 02:38:47 +0000.92532][682a] Received key frame:13988
[015:689] [2022-09-05 02:38:47 +0000.92595][682a] DTS queue for
Generator:0x77d6d186b8 14023
[015:712] [2022-09-05 02:38:47 +0000.116407][682b] get the H.264 IDR frame
[016:108] [2022-09-05 02:38:47 +0000.511566][67f2] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[016:133] [2022-09-05 02:38:47 +0000.536908][67f7] Run AGC when audioType = 0
[016:133] [2022-09-05 02:38:47 +0000.537086][67f7]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:143] [2022-09-05 02:38:47 +0000.546512][67f2] The convert RGB to YUV take 3
[016:172] [2022-09-05 02:38:47 +0000.576072][67f2] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6980 diff: 21
[016:233] [2022-09-05 02:38:47 +0000.636460][6823] AF_SpeedFilter audio
0x7768994580 PullFrame
[016:311] [2022-09-05 02:38:47 +0000.720588][682a] Push an pts:14654 to dts queue.
[016:350] [2022-09-05 02:38:47 +0000.753480][682a] last dts:14622 currentPts:14654
ppsOrSPS:0 queue length:2
[016:496] [2022-09-05 02:38:47 +0000.899929][6824] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[016:516] [2022-09-05 02:38:47 +0000.920257][682a] DTS queue for
Generator:0x77d6d186b8 14855
[016:605] [2022-09-05 02:38:48 +0000.9414][67f2] The read pixel from buffer take: 0
width:1920 height:1080 frameType:0
[016:650] [2022-09-05 02:38:48 +0000.54153][67f2] The convert RGB to YUV take 8
[016:822] [2022-09-05 02:38:48 +0000.225560][6823]
RecordAudioSource::PullAudioFrame
[016:848] [2022-09-05 02:38:48 +0000.252436][67f2] StopRecording:
[016:849] [2022-09-05 02:38:48 +0000.253178][67f2] OnNeedStopRecording:
[016:857] [2022-09-05 02:38:48 +0000.261260][bcc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[016:858] [2022-09-05 02:38:48 +0000.261487][67f2] operator(): Stop
[016:858] [2022-09-05 02:38:48 +0000.261529][67f2] StopPullFrameAndWriteMp4
time:657876815 enter.

[016:858] [2022-09-05 02:38:48 +0000.261590][67f2] StopRecording:


[016:860] [2022-09-05 02:38:48 +0000.263573][6823] resampled_data_size:512
[016:860] [2022-09-05 02:38:48 +0000.263637][6823] AF_SpeedFilter audio time 222,
0x7768994580 out time: 657876710 org time: 657876710
[016:860] [2022-09-05 02:38:48 +0000.263754][6823] PullAudioFrame: PullFrame audio
finished.
[016:860] [2022-09-05 02:38:48 +0000.263830][6823]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[016:863] [2022-09-05 02:38:48 +0000.266774][682a]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:456
[016:863] [2022-09-05 02:38:48 +0000.267204][67f1] stop recording
[016:863] [2022-09-05 02:38:48 +0000.267247][67f1]
RecordingSessionInternalSimple:destroy media processers
[016:863] [2022-09-05 02:38:48 +0000.267274][67f1] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[016:863] [2022-09-05 02:38:48 +0000.267315][67f1] H264Encode::flushing hareware
Encoder
[016:864] [2022-09-05 02:38:48 +0000.267481][67f1] Flush time:657876821 enter.

[016:864] [2022-09-05 02:38:48 +0000.267529][67f1] H264Encoder encoder flush


[016:864] [2022-09-05 02:38:48 +0000.267556][67f1] flush output queue
[017:179] [2022-09-05 02:38:48 +0000.582893][67f1] Flush leave. expire time = 315
ms

[017:180] [2022-09-05 02:38:48 +0000.583778][67f1] ~H264EncodeWrap:


[017:180] [2022-09-05 02:38:48 +0000.584274][67f1] ~H264Encode:
[017:180] [2022-09-05 02:38:48 +0000.584349][67f1] teardownCompressionSession:
H264Encode::destroying Encoder
[017:181] [2022-09-05 02:38:48 +0000.584572][67f1] Release time:657877138 enter.

[017:182] [2022-09-05 02:38:48 +0000.585488][67f1] Release:


MediaCodecVideoEncoder::Release _inited:1
[017:182] [2022-09-05 02:38:48 +0000.585704][67f1] Destroy time:657877139 enter.

[017:182] [2022-09-05 02:38:48 +0000.585777][67f1] H264Encoder encoderDestroy


[017:182] [2022-09-05 02:38:48 +0000.585836][67f1]
AndroidMediaCodecVideoEncoder::release env: 0x776ecebf40
[017:182] [2022-09-05 02:38:48 +0000.585898][67f1]
AndroidMediaCodecVideoEncoder::Destroy
[017:229] [2022-09-05 02:38:48 +0000.632636][67f1] Destroy leave. expire time = 47
ms

[017:229] [2022-09-05 02:38:48 +0000.632897][67f1] Release leave. expire time = 48


ms

[017:229] [2022-09-05 02:38:48 +0000.632939][67f1] ~AndroidHwAvcEncoder


time:657877186 enter.

[017:229] [2022-09-05 02:38:48 +0000.633121][67f1] Release time:657877186 enter.

[017:229] [2022-09-05 02:38:48 +0000.633185][67f1] Release:


MediaCodecVideoEncoder:: has been released before, just return
[017:229] [2022-09-05 02:38:48 +0000.633216][67f1] Release leave. expire time = 0
ms

[017:229] [2022-09-05 02:38:48 +0000.633258][67f1] ~AndroidMediaCodecVideoEncoder


[017:229] [2022-09-05 02:38:48 +0000.633297][67f1] ~WrapAndroidMediaCodec
time:657877186 enter.

[017:229] [2022-09-05 02:38:48 +0000.633335][67f1] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[017:229] [2022-09-05 02:38:48 +0000.633405][67f1] video hevc hw codec


destructor:0x776ebb97b8

[017:230] [2022-09-05 02:38:48 +0000.633549][67f1] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[017:230] [2022-09-05 02:38:48 +0000.633608][67f1] teardownCompressionSession:


H264Encode::destroyed Encoder
[017:230] [2022-09-05 02:38:48 +0000.633656][67f1]
RecordingSessionInternalSimple:destroy aac encoder output!
[017:230] [2022-09-05 02:38:48 +0000.633696][67f1] AACSWEncode destructor
[017:238] [2022-09-05 02:38:48 +0000.641978][682b] MP4 close file successfully
[017:238] [2022-09-05 02:38:48 +0000.641978][67f7] haveEnoughProcessedData
internalAudioStream.length: 0
[017:238] [2022-09-05 02:38:48 +0000.642164][682b] Recording session Internal:
notify recording ok
[017:238] [2022-09-05 02:38:48 +0000.642205][682b] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4,
output_video_timestamp_:15191 last_video_pts_:15158
[017:238] [2022-09-05 02:38:48 +0000.642257][682b] OnRecordFinish:
[017:240] [2022-09-05 02:38:48 +0000.644109][682b] onRecordingOk: net seek
pos:0record video duration:15191record audio duration:15162
[017:241] [2022-09-05 02:38:48 +0000.645387][6824] destructMicSource_w:
[017:242] [2022-09-05 02:38:48 +0000.645446][6824] setOutput_w:
MicSource::setOutput() 0x0
[017:242] [2022-09-05 02:38:48 +0000.645503][6824] close external audio stream

[017:244] [2022-09-05 02:38:48 +0000.647559][67f2] releaseThread 0x7764710b80


[017:244] [2022-09-05 02:38:48 +0000.647648][67f2] ~MicSource: Mic source
destroyed:0x7842534580
[017:246] [2022-09-05 02:38:48 +0000.650225][67f2] StopPullFrameAndWriteMp4 leave.
expire time = 388 ms

[017:246] [2022-09-05 02:38:48 +0000.650308][67f2] DestroyPipelineAndFilters


time:657877203 enter.
[017:246] [2022-09-05 02:38:48 +0000.650373][67f2] UnbindInputFilter 0x77689943c0
this 0x7764843dc0
[017:246] [2022-09-05 02:38:48 +0000.650428][67f2] UnbindInputFilter 0x7768994558
this 0x77689946d0
[017:247] [2022-09-05 02:38:48 +0000.650550][67f2] UnbindInputFilter 0x7764843dc0
this 0x776e2bb1a0
[017:247] [2022-09-05 02:38:48 +0000.650592][67f2] filter: filter pipeline destroy
this: 0x776e2bb100
[017:247] [2022-09-05 02:38:48 +0000.650844][67f2] ClearVideoOfSources: recodring
total frames:0
[017:247] [2022-09-05 02:38:48 +0000.650890][67f2] ClearVideoOfSources:
[017:247] [2022-09-05 02:38:48 +0000.650929][67f2] GPUImageProcessing destruct.
[017:247] [2022-09-05 02:38:48 +0000.651011][67f2] destroy TrivalImageDrawer
0x778108b1c0
[017:247] [2022-09-05 02:38:48 +0000.651060][67f2] The shader has been initialize,
clean up them.

[017:247] [2022-09-05 02:38:48 +0000.651138][67f2] ~OpenGLFrameBuffer:


[017:249] [2022-09-05 02:38:48 +0000.652453][67f2] ~OpenGLFrameBuffer:
[017:249] [2022-09-05 02:38:48 +0000.652563][67f2] ~OpenGLFrameBuffer:
[017:249] [2022-09-05 02:38:48 +0000.652658][67f2] ~OpenGLFrameBuffer:
[017:249] [2022-09-05 02:38:48 +0000.652752][67f2] ~OpenGLFrameBuffer:
[017:249] [2022-09-05 02:38:48 +0000.652843][67f2] ~OpenGLFrameBuffer:
[017:249] [2022-09-05 02:38:48 +0000.653072][67f2] GPUImageProcessing destruct
finish.
[017:249] [2022-09-05 02:38:48 +0000.653141][67f2] GPURGBAFrame destruct.
[017:249] [2022-09-05 02:38:48 +0000.653202][67f2] destroy OpenGLRenderProgram
0x7764843b98
[017:249] [2022-09-05 02:38:48 +0000.653301][67f2] ~CameraSource time:657877206
enter.

[017:249] [2022-09-05 02:38:48 +0000.653344][67f2] ~CameraSource leave. expire


time = 0 ms

[017:249] [2022-09-05 02:38:48 +0000.653384][67f2] ~RecordAudioSource


time:657877206 enter.

[017:249] [2022-09-05 02:38:48 +0000.653417][67f2] ~RecordAudioSource leave.


expire time = 0 ms

[017:250] [2022-09-05 02:38:48 +0000.653452][67f2] DestroyPipelineAndFilters


leave. expire time = 4 ms

[017:281] [2022-09-05 02:38:48 +0000.685015][bcc]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[017:283] [2022-09-05 02:38:48 +0000.686521][bcc] machine model :poco
[017:283] [2022-09-05 02:38:48 +0000.686556][bcc] Support this machine model :poco
[017:283] [2022-09-05 02:38:48 +0000.686643][bcc] global inited! current sdk
version: 07-20-936c45f
[017:283] [2022-09-05 02:38:48 +0000.686817][bcc] filter: filter pipeline construtc
this: 0x776ed65000
[017:283] [2022-09-05 02:38:48 +0000.686872][bcc] MediaFilterGraph:
MediaFilterGraph construct
[017:283] [2022-09-05 02:38:48 +0000.686943][bcc] GLESContext:
[017:283] [2022-09-05 02:38:48 +0000.686999][bcc] The result of eglGetDisplay is:
0xb4000078537e3a00
[017:285] [2022-09-05 02:38:48 +0000.688874][bcc] The result of creation:
0x7751622580
[017:285] [2022-09-05 02:38:48 +0000.689043][bcc] The result of
eglCreatePbufferSurface is: 0x7751622680
[017:287] [2022-09-05 02:38:48 +0000.691206][bcc] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4
[017:287] [2022-09-05 02:38:48 +0000.691261][bcc] The source 0 speed:1
[017:287] [2022-09-05 02:38:48 +0000.691288][bcc] AddVideoSource: add video source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4,
delay: 0
[017:287] [2022-09-05 02:38:48 +0000.691317][bcc] CreateDecoderByVideoSource
time:657877244 enter.

[017:288] [2022-09-05 02:38:48 +0000.691555][bcc] running_decoder_count:0max


count:2
[017:288] [2022-09-05 02:38:48 +0000.691587][bcc] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x77d6d8ac00
[017:302] [2022-09-05 02:38:48 +0000.706018][6a1d] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x78424cae00] Current FFmpeg version git-2021-06-16-
97cea6f

[017:364] [2022-09-05 02:38:48 +0000.767836][6a1d] OnStreamInfoFound: video


duration_: 15191
[017:365] [2022-09-05 02:38:48 +0000.768868][bcc] start decoder
[017:365] [2022-09-05 02:38:48 +0000.768957][bcc] CreateDecoderByVideoSource
leave. expire time = 78 ms

[017:365] [2022-09-05 02:38:48 +0000.769038][bcc] BindInputFilter 0x78536d10a0


this 0x776ee64d98
[017:365] [2022-09-05 02:38:48 +0000.769099][bcc] BindInputFilter 0x776ee64d98
this 0x7780b74fd8
[017:365] [2022-09-05 02:38:48 +0000.769158][bcc] BindInputFilter 0x78536d10a0
this 0x776ee64e58
[017:365] [2022-09-05 02:38:48 +0000.769211][bcc] BindInputFilter 0x776ee64e58
this 0x776ee64f18
[017:365] [2022-09-05 02:38:48 +0000.769251][bcc] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4
[017:365] [2022-09-05 02:38:48 +0000.769308][bcc] BindInputFilter 0x7780b74fd8
this 0x776ee64fd8
[017:365] [2022-09-05 02:38:48 +0000.769369][bcc] BindInputFilter 0x776ee64fd8
this 0x776ed650a0
[017:365] [2022-09-05 02:38:48 +0000.769414][bcc] BindInputFilter 0x776ee64f18
this 0x776ee68098
[017:366] [2022-09-05 02:38:48 +0000.769467][bcc] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4
[017:367] [2022-09-05 02:38:48 +0000.771412][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[017:371] [2022-09-05 02:38:48 +0000.774842][bcc] machine model :poco
[017:371] [2022-09-05 02:38:48 +0000.774906][bcc] Support this machine model :poco
[017:371] [2022-09-05 02:38:48 +0000.774955][bcc] global inited! current sdk
version: 07-20-936c45f
[017:371] [2022-09-05 02:38:48 +0000.775049][bcc] GetPipeline:
-----------------------------------------
[017:371] [2022-09-05 02:38:48 +0000.775135][bcc] GetPipeline: source: 0x78536d0e80
[017:371] [2022-09-05 02:38:48 +0000.775186][bcc] GetPipeline: filter: NULLFilter
[017:371] [2022-09-05 02:38:48 +0000.775227][bcc] GetPipeline: filter: NULLFilter
[017:371] [2022-09-05 02:38:48 +0000.775264][bcc] GetPipeline: filter: NULLFilter
[017:371] [2022-09-05 02:38:48 +0000.775303][bcc] GetPipeline: audio filter:
AuidoNULLFilter
[017:371] [2022-09-05 02:38:48 +0000.775339][bcc] GetPipeline: audio filter:
AuidoNULLFilter
[017:371] [2022-09-05 02:38:48 +0000.775379][bcc] GetPipeline: audio filter:
AudioNUllFilter
[017:371] [2022-09-05 02:38:48 +0000.775419][bcc] GetPipeline:
------------------------------------------
[017:372] [2022-09-05 02:38:48 +0000.775462][bcc] filter: filter pipeline2 update
pattern: 0
[017:373] [2022-09-05 02:38:48 +0000.776771][bcc] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[017:373] [2022-09-05 02:38:48 +0000.776963][bcc] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[017:373] [2022-09-05 02:38:48 +0000.777058][bcc] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[017:374] [2022-09-05 02:38:48 +0000.777785][bcc] DeviceInit:
[017:374] [2022-09-05 02:38:48 +0000.778109][bcc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[017:375] [2022-09-05 02:38:48 +0000.778483][bcc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[017:375] [2022-09-05 02:38:48 +0000.778936][bcc] CreatePlatformSpecificObjects:
[017:375] [2022-09-05 02:38:48 +0000.779016][bcc] audio device use null audio
input and opensl output
[017:375] [2022-09-05 02:38:48 +0000.779138][bcc] Create OpenSLES output module
with java VM support.

[017:375] [2022-09-05 02:38:48 +0000.779329][bcc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[017:376] [2022-09-05 02:38:48 +0000.779578][bcc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[017:376] [2022-09-05 02:38:48 +0000.779844][bcc] Create OpenSLES output module
with buffer num:2

[017:376] [2022-09-05 02:38:48 +0000.779923][bcc] Error(trace.cc:40): Init the


output and input for audio device template.
[017:376] [2022-09-05 02:38:48 +0000.779976][bcc] Init the output device.

[017:376] [2022-09-05 02:38:48 +0000.780075][bcc] Set the playout as stereo:1


[017:378] [2022-09-05 02:38:48 +0000.782214][bcc] Set the sample rate to be:44100

[017:378] [2022-09-05 02:38:48 +0000.782341][bcc] Low latency buffer size:144 low


sample rate:48000
[017:378] [2022-09-05 02:38:48 +0000.782395][bcc] DeviceInit: Done
[017:379] [2022-09-05 02:38:48 +0000.782642][bcc] UpdateRate: lipsync_debug: Update
framerate from 0 to 15
[017:383] [2022-09-05 02:38:48 +0000.786674][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[017:383] [2022-09-05 02:38:48 +0000.787378][6a1e] NO get frame from decoder
[017:384] [2022-09-05 02:38:48 +0000.788143][bcc]
MediaFilterPlayer::SetPlayerNotify 0x77518c9ac0
[017:385] [2022-09-05 02:38:48 +0000.789404][6a1e] NO get frame from decoder
[017:379] [2022-09-05 02:38:48 +0000.782653][6a29] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x775588e318
[017:387] [2022-09-05 02:38:48 +0000.791033][bcc]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[017:387] [2022-09-05 02:38:48 +0000.791091][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[017:388] [2022-09-05 02:38:48 +0000.791919][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[017:389] [2022-09-05 02:38:48 +0000.792570][bcc] SetGraphLoop: SetGraphLoop 1
[017:389] [2022-09-05 02:38:48 +0000.792610][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[017:391] [2022-09-05 02:38:48 +0000.795235][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[017:392] [2022-09-05 02:38:48 +0000.796116][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[017:393] [2022-09-05 02:38:48 +0000.796781][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[017:393] [2022-09-05 02:38:48 +0000.796930][6a2b] Start:
[017:393] [2022-09-05 02:38:48 +0000.797015][6a2a] operator(): video render
started.
[017:393] [2022-09-05 02:38:48 +0000.797086][6a2b] Start:
[017:393] [2022-09-05 02:38:48 +0000.797163][6a2b] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[017:393] [2022-09-05 02:38:48 +0000.797196][6a2b] Reset: history total size: 98
[017:393] [2022-09-05 02:38:48 +0000.797214][6a2b] DeviceStart:
audioDevice_:0x78359de000
[017:393] [2022-09-05 02:38:48 +0000.797239][6a2b] DeviceStart: time profile
playout init before
[017:393] [2022-09-05 02:38:48 +0000.797257][6a2b] DeviceStart: time profile
playout init end
[017:393] [2022-09-05 02:38:48 +0000.797288][6a2b] OpenSlesOutput:Start playout

[017:394] [2022-09-05 02:38:48 +0000.797849][6a2a] DriveRender working... (1/200)


[017:394] [2022-09-05 02:38:48 +0000.797895][6a2a] Warning(video_render.cc:390): No
picture to display (1/50)
[017:395] [2022-09-05 02:38:48 +0000.798665][6a2b] Create the opensl output player.
streamtype before:0

[017:395] [2022-09-05 02:38:48 +0000.798694][6a2b] Create the opensl output player.


streamtype after:3

[017:395] [2022-09-05 02:38:48 +0000.798841][6a1e] NO get frame from decoder


[017:403] [2022-09-05 02:38:48 +0000.807191][6a1e] NO get frame from decoder
[017:404] [2022-09-05 02:38:48 +0000.808197][6a1e] NO get frame from decoder
[017:407] [2022-09-05 02:38:48 +0000.811390][6a1e] NO get frame from decoder
[017:418] [2022-09-05 02:38:48 +0000.822091][6a1e] NO get frame from decoder
[017:421] [2022-09-05 02:38:48 +0000.824450][6a1e] NO get frame from decoder
[017:440] [2022-09-05 02:38:48 +0000.844254][6a2b] Enqueue opensl buffer size:1764
[017:462] [2022-09-05 02:38:48 +0000.865582][6a2b] DeviceStart: time profile
playout all end
[017:462] [2022-09-05 02:38:48 +0000.865660][6a2b] operator(): Audio playback
started.
[017:462] [2022-09-05 02:38:48 +0000.865791][6a2b] operator(): Started now!
[017:462] [2022-09-05 02:38:48 +0000.865868][6a2d] Error(video_source.cc:430): wait
decoder a frame: 0
[017:464] [2022-09-05 02:38:48 +0000.867726][6a2d] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[017:465] [2022-09-05 02:38:48 +0000.868668][6a2f]
PlayerSimpleBufferQueueCallbackHandler function
[017:465] [2022-09-05 02:38:48 +0000.868826][6a2f] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[017:465] [2022-09-05 02:38:48 +0000.868855][6a2f]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[017:479] [2022-09-05 02:38:48 +0000.883245][6a2c] audio_frame_list_ empty
[017:480] [2022-09-05 02:38:48 +0000.883611][6a2d] OnVideoFrameReady(1/200)
[017:480] [2022-09-05 02:38:48 +0000.883860][6a2a] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[017:480] [2022-09-05 02:38:48 +0000.883897][6a2a] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:657877437
[017:489] [2022-09-05 02:38:48 +0000.893149][6a2a] lipsync_debug: render a video
frame
[017:489] [2022-09-05 02:38:48 +0000.893230][6a2a] lipsync_debug: First video frame
rendering.
[017:500] [2022-09-05 02:38:48 +0000.903961][6a2a]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:26 timeDelta:20 last
video ts:900 frame->pts:3240 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[017:500] [2022-09-05 02:38:48 +0000.904053][6a2a] lipsync_debug: tsDelta -
timeDelta = 6
[017:500] [2022-09-05 02:38:48 +0000.904071][6a2a] lipsync_debug:remaining time:10
tsDelta - timeDelta:6
[017:500] [2022-09-05 02:38:48 +0000.904129][6a2a] lipsync_debug:result remaining
time:6
[017:506] [2022-09-05 02:38:48 +0000.910270][6a2a] lipsync_debug:result remaining
time:0
[017:506] [2022-09-05 02:38:48 +0000.910359][6a2a] dynamic updated lipsync delay:0
[017:527] [2022-09-05 02:38:48 +0000.930690][6a2d]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[017:602] [2022-09-05 02:38:49 +0000.6259][6a2c] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[017:602] [2022-09-05 02:38:49 +0000.6310][6a2c] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[017:603] [2022-09-05 02:38:49 +0000.6487][6a2b] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[017:603] [2022-09-05 02:38:49 +0000.6604][6a2b] The audio playback speed:100
(1/100)
[017:603] [2022-09-05 02:38:49 +0000.6651][6a2b] lipsync_debug: The current played
audio timestamp is:0(1/50)
[017:603] [2022-09-05 02:38:49 +0000.6690][6a2b] First audio frame rendering
[017:603] [2022-09-05 02:38:49 +0000.6953][6a2c] audio frame wait video
frame.last_video_timestamp:103 last_audio_timestamp:207.937
[017:603] [2022-09-05 02:38:49 +0000.6987][6a2c]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[017:604] [2022-09-05 02:38:49 +0000.7620][6a2c] audio frame wait video
frame.last_video_timestamp:103 last_audio_timestamp:207.937
[017:604] [2022-09-05 02:38:49 +0000.7658][6a2c]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[017:604] [2022-09-05 02:38:49 +0000.8324][6a2c] audio frame wait video
frame.last_video_timestamp:103 last_audio_timestamp:207.937
[017:604] [2022-09-05 02:38:49 +0000.8389][6a2c]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[017:605] [2022-09-05 02:38:49 +0000.9109][6a2c] audio frame wait video
frame.last_video_timestamp:138 last_audio_timestamp:254.921
[017:605] [2022-09-05 02:38:49 +0000.9188][6a2c]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[017:607] [2022-09-05 02:38:49 +0000.10611][6a2c] audio frame wait video
frame.last_video_timestamp:138 last_audio_timestamp:254.921
[017:607] [2022-09-05 02:38:49 +0000.10843][6a2c]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[017:682] [2022-09-05 02:38:49 +0000.85760][6a2d] video frame wait audio frame:
last_video_timestamp:404 last_audio_timestamp:277.914
[017:918] [2022-09-05 02:38:49 +0000.322294][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[017:919] [2022-09-05 02:38:49 +0000.322629][6a2b] Stop:
[017:919] [2022-09-05 02:38:49 +0000.322722][6a2a] operator(): Video Render
stopped.
[017:919] [2022-09-05 02:38:49 +0000.322808][6a2b] Stop:
[017:919] [2022-09-05 02:38:49 +0000.322946][6a2b] DeviceStop:
audioDevice_:0x78359de000
[017:919] [2022-09-05 02:38:49 +0000.322972][6a2b] OpenSlesOutput:Stop playout

[017:920] [2022-09-05 02:38:49 +0000.324000][6a2b] DeviceStop: Done


[017:920] [2022-09-05 02:38:49 +0000.324111][6a2b] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[017:920] [2022-09-05 02:38:49 +0000.324138][6a2b] operator(): Stop now!
[017:957] [2022-09-05 02:38:49 +0000.360592][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[017:957] [2022-09-05 02:38:49 +0000.360729][bcc] StopPreView: Have Stopped,
operation cancel
[017:957] [2022-09-05 02:38:49 +0000.360769][bcc] Stop:
[017:957] [2022-09-05 02:38:49 +0000.360879][6a2b] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[017:958] [2022-09-05 02:38:49 +0000.361545][bcc] DeviceRelease:
audioDevice_:0x78359de000
[017:958] [2022-09-05 02:38:49 +0000.361599][bcc] OpenSlesOutput:Stop playout

[017:958] [2022-09-05 02:38:49 +0000.361631][bcc] DeviceRelease: Release the webrtc


device object.
[017:958] [2022-09-05 02:38:49 +0000.361758][bcc] OpenSlesOutput destruct.

[017:959] [2022-09-05 02:38:49 +0000.362585][bcc] DeviceRelease: Done


[017:959] [2022-09-05 02:38:49 +0000.362706][bcc] Stop:
[017:959] [2022-09-05 02:38:49 +0000.362769][6a2a] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[017:961] [2022-09-05 02:38:49 +0000.364867][bcc] global uninited!
[017:962] [2022-09-05 02:38:49 +0000.365654][bcc]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[017:962] [2022-09-05 02:38:49 +0000.365796][bcc] ~MediaFilterGraph:
MediaFilterGraph destruct
[017:962] [2022-09-05 02:38:49 +0000.365822][bcc] RemoveVideoBackGroud: hava not
add video backgroud
[017:962] [2022-09-05 02:38:49 +0000.365850][bcc] UnbindInputFilter 0x776ee64fd8
this 0x776ed650a0
[017:962] [2022-09-05 02:38:49 +0000.365888][bcc] ClearAllSource: remove source
filter, sourceid: 0x78536d0e80
[017:962] [2022-09-05 02:38:49 +0000.365920][bcc] DestoryDecoderByVideoSource
time:657877919 enter.

[017:962] [2022-09-05 02:38:49 +0000.365937][bcc] ~VideoBindDecoder time:657877919


enter.

[017:962] [2022-09-05 02:38:49 +0000.366038][bcc] CleanUp time:657877919 enter.

[017:965] [2022-09-05 02:38:49 +0000.369171][bcc] CleanUp leave. expire time = 3


ms

[017:965] [2022-09-05 02:38:49 +0000.369250][bcc] CleanUp time:657877922 enter.

[017:966] [2022-09-05 02:38:49 +0000.369453][bcc] CleanUp leave. expire time = 1


ms
[017:967] [2022-09-05 02:38:49 +0000.371317][bcc] ~VideoBindDecoder leave. expire
time = 5 ms

[017:967] [2022-09-05 02:38:49 +0000.371373][bcc] DestoryDecoderByVideoSource


leave. expire time = 5 ms

[017:967] [2022-09-05 02:38:49 +0000.371403][bcc] UnbindInputFilter 0x7780b74fd8


this 0x776ee64fd8
[017:967] [2022-09-05 02:38:49 +0000.371425][bcc] UnbindInputFilter 0x776ee64d98
this 0x7780b74fd8
[017:968] [2022-09-05 02:38:49 +0000.371446][bcc] UnbindInputFilter 0x78536d10a0
this 0x776ee64d98
[017:968] [2022-09-05 02:38:49 +0000.371470][bcc] UnbindInputFilter 0x776ee64f18
this 0x776ee68098
[017:968] [2022-09-05 02:38:49 +0000.371492][bcc] UnbindInputFilter 0x776ee64e58
this 0x776ee64f18
[017:968] [2022-09-05 02:38:49 +0000.371513][bcc] UnbindInputFilter 0x78536d10a0
this 0x776ee64e58
[017:968] [2022-09-05 02:38:49 +0000.371725][bcc] ~GLESContext:
[017:969] [2022-09-05 02:38:49 +0000.372507][bcc] GLESContext destruct finish.
[017:969] [2022-09-05 02:38:49 +0000.372538][bcc] filter: filter pipeline destroy
this: 0x776ed65000
[017:971] [2022-09-05 02:38:49 +0000.374801][bcc]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[017:971] [2022-09-05 02:38:49 +0000.375312][bcc] machine model :poco
[017:971] [2022-09-05 02:38:49 +0000.375364][bcc] Support this machine model :poco
[017:971] [2022-09-05 02:38:49 +0000.375385][bcc] global inited! current sdk
version: 07-20-936c45f
[017:972] [2022-09-05 02:38:49 +0000.375545][bcc] filter: filter pipeline construtc
this: 0x776ed65000
[017:972] [2022-09-05 02:38:49 +0000.375570][bcc] MediaFilterGraph:
MediaFilterGraph construct
[017:972] [2022-09-05 02:38:49 +0000.375585][bcc] GLESContext:
[017:972] [2022-09-05 02:38:49 +0000.375620][bcc] The result of eglGetDisplay is:
0xb4000078537e3a00
[017:973] [2022-09-05 02:38:49 +0000.376659][bcc] The result of creation:
0x783582cf80
[017:973] [2022-09-05 02:38:49 +0000.376741][bcc] The result of
eglCreatePbufferSurface is: 0x783590cb00
[017:973] [2022-09-05 02:38:49 +0000.376805][bcc] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4
[017:973] [2022-09-05 02:38:49 +0000.376827][bcc] The source 0 speed:1
[017:973] [2022-09-05 02:38:49 +0000.376896][bcc] AddVideoSource: add video source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4,
delay: 0
[017:973] [2022-09-05 02:38:49 +0000.376917][bcc] CreateDecoderByVideoSource
time:657877930 enter.

[017:973] [2022-09-05 02:38:49 +0000.377043][bcc] running_decoder_count:0max


count:2
[017:973] [2022-09-05 02:38:49 +0000.377070][bcc] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x77d6d8ac00
[017:974] [2022-09-05 02:38:49 +0000.377619][6a3b] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7780f87000] Current FFmpeg version git-2021-06-16-
97cea6f

[018:014] [2022-09-05 02:38:49 +0000.417515][6a3b] OnStreamInfoFound: video


duration_: 15191
[018:015] [2022-09-05 02:38:49 +0000.418503][6a3c] NO get frame from decoder
[018:015] [2022-09-05 02:38:49 +0000.418530][bcc] start decoder
[018:015] [2022-09-05 02:38:49 +0000.418688][bcc] CreateDecoderByVideoSource
leave. expire time = 42 ms

[018:015] [2022-09-05 02:38:49 +0000.418829][bcc] BindInputFilter 0x78536d10a0


this 0x776ee64798
[018:015] [2022-09-05 02:38:49 +0000.418938][bcc] BindInputFilter 0x776ee64798
this 0x776ee64858
[018:015] [2022-09-05 02:38:49 +0000.419048][bcc] BindInputFilter 0x78536d10a0
this 0x776ee64918
[018:015] [2022-09-05 02:38:49 +0000.419146][bcc] BindInputFilter 0x776ee64918
this 0x776ee649d8
[018:015] [2022-09-05 02:38:49 +0000.419215][bcc] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4
[018:015] [2022-09-05 02:38:49 +0000.419319][bcc] BindInputFilter 0x776ee64858
this 0x776ee64a98
[018:015] [2022-09-05 02:38:49 +0000.419414][bcc] BindInputFilter 0x776ee64a98
this 0x776ed650a0
[018:016] [2022-09-05 02:38:49 +0000.419516][bcc] BindInputFilter 0x776ee649d8
this 0x776ee64b58
[018:016] [2022-09-05 02:38:49 +0000.419605][bcc] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_657861447.mp4
[018:017] [2022-09-05 02:38:49 +0000.420576][6a3c] NO get frame from decoder
[018:019] [2022-09-05 02:38:49 +0000.423025][6a3c] NO get frame from decoder
[018:021] [2022-09-05 02:38:49 +0000.425389][bcc]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[018:022] [2022-09-05 02:38:49 +0000.425595][bcc] MediaComposeFile time:657877979
enter.

[018:022] [2022-09-05 02:38:49 +0000.425669][bcc] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[018:022] [2022-09-05 02:38:49 +0000.425829][bcc] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[018:022] [2022-09-05 02:38:49 +0000.425885][bcc] Recording session using default
bitrate support by app:31457280
[018:022] [2022-09-05 02:38:49 +0000.425880][6a47] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77059de0c0
[018:022] [2022-09-05 02:38:49 +0000.425979][6a47] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[018:022] [2022-09-05 02:38:49 +0000.426098][bcc] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[018:024] [2022-09-05 02:38:49 +0000.427669][bcc] GetPipeline:
-----------------------------------------
[018:024] [2022-09-05 02:38:49 +0000.427742][bcc] GetPipeline: source: 0x78536d0e80
[018:024] [2022-09-05 02:38:49 +0000.427779][bcc] GetPipeline: filter: NULLFilter
[018:024] [2022-09-05 02:38:49 +0000.427798][6a3c] NO get frame from decoder
[018:024] [2022-09-05 02:38:49 +0000.427829][bcc] GetPipeline: filter: NULLFilter
[018:024] [2022-09-05 02:38:49 +0000.427893][bcc] GetPipeline: filter: NULLFilter
[018:024] [2022-09-05 02:38:49 +0000.427944][bcc] GetPipeline: audio filter:
AuidoNULLFilter
[018:024] [2022-09-05 02:38:49 +0000.427990][bcc] GetPipeline: audio filter:
AuidoNULLFilter
[018:024] [2022-09-05 02:38:49 +0000.428038][bcc] GetPipeline: audio filter:
AudioNUllFilter
[018:024] [2022-09-05 02:38:49 +0000.428084][bcc] GetPipeline:
------------------------------------------
[018:024] [2022-09-05 02:38:49 +0000.428134][bcc] filter: filter pipeline2 update
pattern: 2
[018:027] [2022-09-05 02:38:49 +0000.430518][6a3c] NO get frame from decoder
[018:028] [2022-09-05 02:38:49 +0000.431637][6a3c] NO get frame from decoder
[018:055] [2022-09-05 02:38:49 +0000.459327][bcc] MediaComposeFile leave. expire
time = 33 ms

[018:056] [2022-09-05 02:38:49 +0000.460017][bcc] machine model :poco


[018:056] [2022-09-05 02:38:49 +0000.460055][bcc] Support this machine model :poco
[018:056] [2022-09-05 02:38:49 +0000.460074][bcc] global inited! current sdk
version: 07-20-936c45f
[018:057] [2022-09-05 02:38:49 +0000.461152][6a3c] NO get frame from decoder
[018:060] [2022-09-05 02:38:49 +0000.464121][6a3c] NO get frame from decoder
[018:074] [2022-09-05 02:38:49 +0000.478074][bcc]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[018:074] [2022-09-05 02:38:49 +0000.478318][bcc] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 208
[018:075] [2022-09-05 02:38:49 +0000.478911][bcc]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[018:075] [2022-09-05 02:38:49 +0000.478957][bcc] BeginCompose: BeginCompose, is
composing 0
[018:075] [2022-09-05 02:38:49 +0000.479051][6a47] start recording, file path:
[018:075] [2022-09-05 02:38:49 +0000.479197][6a47] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 208 audio_timescale:44100
video_timescale:90000
[018:075] [2022-09-05 02:38:49 +0000.479232][6a47] 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
[018:075] [2022-09-05 02:38:49 +0000.479258][6a47] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 208
[018:075] [2022-09-05 02:38:49 +0000.479289][6a47] fd_open successed
handle:0xb400007907c030b0
[018:076] [2022-09-05 02:38:49 +0000.479436][6a47] create mp4 file:331
m_fileHandle: 0x7768e52a00
[018:076] [2022-09-05 02:38:49 +0000.479464][6a47] MP4 file: is opened successfully
[018:076] [2022-09-05 02:38:49 +0000.479484][6a47] setupMediaProcessers:
[018:076] [2022-09-05 02:38:49 +0000.479499][6a47]
RecordingSessionInternalSimple:setup media processers.
[018:076] [2022-09-05 02:38:49 +0000.479516][6a47] construct AAC encoder
[018:076] [2022-09-05 02:38:49 +0000.479782][6a47] H264Encoder creating:
ultrafast012323
[018:076] [2022-09-05 02:38:49 +0000.479822][6a47] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[018:076] [2022-09-05 02:38:49 +0000.480172][6a47] H264Encode::GetMachineModel is
M2012K11AG
[018:076] [2022-09-05 02:38:49 +0000.480206][6a47] H264Encoder machine_mode
is:M2012K11AG
[018:076] [2022-09-05 02:38:49 +0000.480222][6a47] H264Encode::machine size :9
machine_mode:M2012K11AG
[018:076] [2022-09-05 02:38:49 +0000.480237][6a47] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[018:076] [2022-09-05 02:38:49 +0000.480253][6a47] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[018:076] [2022-09-05 02:38:49 +0000.480266][6a47] setupCompressionSession:
[018:076] [2022-09-05 02:38:49 +0000.480278][6a47] H264Encode::creating hareware
Encoder
[018:076] [2022-09-05 02:38:49 +0000.480293][6a47] AndroidHwAvcEncoder
time:657878033 enter.

[018:077] [2022-09-05 02:38:49 +0000.480467][6a47] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007907b33540 address:0x77388d3760
[018:077] [2022-09-05 02:38:49 +0000.480564][6a47] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[018:077] [2022-09-05 02:38:49 +0000.480585][6a47] The video avc hw codec address
is 0x776e21a8f0
[018:077] [2022-09-05 02:38:49 +0000.480633][6a47] AndroidHwAvcEncoder leave.
expire time = 1 ms

[018:077] [2022-09-05 02:38:49 +0000.480666][6a47] RegisterEncodeCompleteCallback


time:657878034 enter.

[018:077] [2022-09-05 02:38:49 +0000.480736][6a47] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[018:077] [2022-09-05 02:38:49 +0000.481390][6a47] InitEncode time:657878034


enter.

[018:078] [2022-09-05 02:38:49 +0000.481500][6a47] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[018:078] [2022-09-05 02:38:49 +0000.481527][6a47] Create time:657878035 enter.

[018:078] [2022-09-05 02:38:49 +0000.481544][6a47] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[018:078] [2022-09-05 02:38:49 +0000.481566][6a47]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7751d1f440
[018:078] [2022-09-05 02:38:49 +0000.481712][6a47]
supported_type:image/vnd.android.heic
[018:078] [2022-09-05 02:38:49 +0000.481746][6a47] supported_type:video/avc
[018:078] [2022-09-05 02:38:49 +0000.481766][6a47] name:OMX.qcom.video.encoder.avc
mime:video/avc
[018:078] [2022-09-05 02:38:49 +0000.481796][6a47] hwCodecPrefix :OMX.qcom.
[018:078] [2022-09-05 02:38:49 +0000.481861][6a47] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[018:078] [2022-09-05 02:38:49 +0000.481888][6a47] mediacodec_createCodecByName
time:657878035 enter.

[018:078] [2022-09-05 02:38:49 +0000.481908][6a47] WrapAndroidMediaCodec


time:657878035 enter.

[018:078] [2022-09-05 02:38:49 +0000.481999][6a47] WrapAndroidMediaCodec leave.


expire time = 0 ms

[018:079] [2022-09-05 02:38:49 +0000.482638][6a4d] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7709248e98
[018:106] [2022-09-05 02:38:49 +0000.509466][6a47] mediacodec_createCodecByName
leave. expire time = 28 ms

[018:106] [2022-09-05 02:38:49 +0000.509548][6a47] WrapAndroidMediaFromat


time:657878063 enter.

[018:106] [2022-09-05 02:38:49 +0000.509605][6a47] WrapAndroidMediaFromat leave.


expire time = 0 ms

[018:132] [2022-09-05 02:38:49 +0000.536356][67f7] Run AGC when audioType = 0


[018:148] [2022-09-05 02:38:49 +0000.552385][6a47] Destroy time:657878105 enter.
[018:149] [2022-09-05 02:38:49 +0000.552457][6a47] WrapAndroidMediaFromat::
Destroy
[018:149] [2022-09-05 02:38:49 +0000.552477][6a47] Destroy leave. expire time = 1
ms

[018:149] [2022-09-05 02:38:49 +0000.552492][6a47] ~WrapAndroidMediaFromat


time:657878106 enter.

[018:149] [2022-09-05 02:38:49 +0000.552524][6a47] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[018:149] [2022-09-05 02:38:49 +0000.552542][6a47] Create leave. expire time = 71


ms

[018:149] [2022-09-05 02:38:49 +0000.552567][6a47] isSemiPlanarSupport


time:657878106 enter.

[018:149] [2022-09-05 02:38:49 +0000.552584][6a47] H264Encoder isSemiPlanarSupport


[018:149] [2022-09-05 02:38:49 +0000.552612][6a47] isSemiPlanarSupport leave.
expire time = 0 ms

[018:149] [2022-09-05 02:38:49 +0000.552643][6a47] creat hw H264Encoder success,


isSemiPlanar:1
[018:149] [2022-09-05 02:38:49 +0000.552754][6a47] InitEncode leave. expire time =
72 ms

[018:149] [2022-09-05 02:38:49 +0000.552784][6a47] H264Encode::created Encoder


[018:149] [2022-09-05 02:38:49 +0000.552802][6a47] H264Encode:: H264 encoder
created.
[018:149] [2022-09-05 02:38:49 +0000.552828][6a47] H264 encoder created.
[018:149] [2022-09-05 02:38:49 +0000.552845][6a47]
RecordingSessionInternalSimple:created avc encoder avc: 0x770ea48d40
[018:149] [2022-09-05 02:38:49 +0000.552871][6a47] setOutput:
[018:149] [2022-09-05 02:38:49 +0000.552888][6a47]
RecordingSessionInternalSimple:encoder set output to muxer!
[018:149] [2022-09-05 02:38:49 +0000.552903][6a47] request a key frame
[018:149] [2022-09-05 02:38:49 +0000.552935][6a47] H264Encode:: request a key frame
[018:149] [2022-09-05 02:38:49 +0000.553126][6a4c] Pull audio failed.(wait video!)
[018:151] [2022-09-05 02:38:49 +0000.555212][6a47] setDisplayRotate :90
[018:151] [2022-09-05 02:38:49 +0000.555305][6a47] 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
[018:159] [2022-09-05 02:38:49 +0000.562694][6a48] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[018:160] [2022-09-05 02:38:49 +0000.563715][6a48]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[018:245] [2022-09-05 02:38:49 +0000.648482][6a4d] add aac audio track with id:1
[018:245] [2022-09-05 02:38:49 +0000.648567][6a4d] audio start ts:0
[018:245] [2022-09-05 02:38:49 +0000.648593][6a4d] the audio frame has been written
into MP4 file
[018:248] [2022-09-05 02:38:49 +0000.651776][6a47] setDisplayRotate :90
[018:248] [2022-09-05 02:38:49 +0000.651838][6a47] 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
[018:259] [2022-09-05 02:38:49 +0000.663393][6a48] h264 add frame header cdr flag
[018:261] [2022-09-05 02:38:49 +0000.664442][6a48] h264 add frame header cdr flag
[018:261] [2022-09-05 02:38:49 +0000.664818][6a48] Received key frame:10
[018:261] [2022-09-05 02:38:49 +0000.664848][6a48] H264Encode:: get a sps pps
header!headerSize:32
[018:261] [2022-09-05 02:38:49 +0000.665010][6a4d] get the H.264 SPS parameter
[018:261] [2022-09-05 02:38:49 +0000.665198][6a4d] add video track with id:2
[018:262] [2022-09-05 02:38:49 +0000.666272][6a4d] get the H.264 PPS parameter
[018:263] [2022-09-05 02:38:49 +0000.667243][6a4d] get the H.264 IDR frame
[018:263] [2022-09-05 02:38:49 +0000.667334][6a4d] resss:true
[018:263] [2022-09-05 02:38:49 +0000.667357][6a4d] video start ts:10
[018:264] [2022-09-05 02:38:49 +0000.667444][6a4d] the video frame has been written
into MP4 file
[018:293] [2022-09-05 02:38:49 +0000.696570][6a4b] Error(video_source.cc:430): wait
decoder a frame: 0
[018:333] [2022-09-05 02:38:49 +0000.736898][6a48] DTS queue for
Generator:0x7743c7e0b8 373 404 435 473 506 538 572 606
[018:370] [2022-09-05 02:38:49 +0000.774352][6a48] Push an pts:802 to dts queue.
[018:392] [2022-09-05 02:38:49 +0000.795505][6a4c] audio_frame_list_ empty
[018:411] [2022-09-05 02:38:49 +0000.815282][6a48] last dts:771 currentPts:802
ppsOrSPS:0 queue length:8
[018:455] [2022-09-05 02:38:49 +0000.858676][6a47] setDisplayRotate :90
[018:455] [2022-09-05 02:38:49 +0000.858741][6a47] 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
[018:488] [2022-09-05 02:38:49 +0000.891614][6a48] DTS queue for
Generator:0x7743c7e0b8 1200 1234 1268 1302 1333 1369 1401 1434
[018:527] [2022-09-05 02:38:49 +0000.931256][6a48] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1633
[018:527] [2022-09-05 02:38:49 +0000.931422][6a48] push video frame to H264
encoder. (100 frame for one log)

[018:528] [2022-09-05 02:38:49 +0000.931484][6a48] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[018:528] [2022-09-05 02:38:49 +0000.931521][6a48] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:1633(100 frame for one
log)

[018:528] [2022-09-05 02:38:49 +0000.931580][6a48] The input pts:1633 fps:30


[018:534] [2022-09-05 02:38:49 +0000.938064][6a4b] Error(video_source.cc:430): wait
decoder a frame: 0
[018:537] [2022-09-05 02:38:49 +0000.941335][6a4b] webrtc common_video plane
old ..... (1/1000) new: 8001 delete: 7936 diff: 65
[018:549] [2022-09-05 02:38:49 +0000.952986][6a48] SendFrame
encodedImage._timeStamp:1468encodedImage->_length:21936
[018:559] [2022-09-05 02:38:49 +0000.963369][6a48] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1502 pts:1502
[018:585] [2022-09-05 02:38:49 +0000.988862][6a48] H264Encode::H264SWEncoder get
callback, length:28960 type:1 nalType:1length:28956
[018:633] [2022-09-05 02:38:50 +0000.36725][6a48] Push an pts:2134 to dts queue.
[018:682] [2022-09-05 02:38:50 +0000.86011][6a47] setDisplayRotate :90
[018:682] [2022-09-05 02:38:50 +0000.86084][6a47] 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
[018:688] [2022-09-05 02:38:50 +0000.91914][6a48] h264 add frame header cdr flag
[018:691] [2022-09-05 02:38:50 +0000.95423][6a48] Received key frame:1997
[018:692] [2022-09-05 02:38:50 +0000.95539][6a48] DTS queue for
Generator:0x7743c7e0b8 1997 2035 2067 2098 2134 2169 2201 2232 2267
[018:693] [2022-09-05 02:38:50 +0000.97139][6a4d] get the H.264 IDR frame
[018:720] [2022-09-05 02:38:50 +0000.123718][6a48] last dts:2098 currentPts:2134
ppsOrSPS:0 queue length:10
[018:818] [2022-09-05 02:38:50 +0000.222121][6a4b] Error(video_source.cc:430): wait
decoder a frame: 3
[018:840] [2022-09-05 02:38:50 +0000.243510][6a48] DTS queue for
Generator:0x7743c7e0b8 2867 2901 2935 2967 2998 3034 3066
[018:914] [2022-09-05 02:38:50 +0000.317640][6a48] Push an pts:3464 to dts queue.
[018:965] [2022-09-05 02:38:50 +0000.369361][6a4c] audio_frame_list_ empty
[018:967] [2022-09-05 02:38:50 +0000.370533][6a48] last dts:3431 currentPts:3464
ppsOrSPS:0 queue length:9
[018:981] [2022-09-05 02:38:50 +0000.384812][67f7] haveEnoughProcessedData
internalAudioStream.length: 0
[018:994] [2022-09-05 02:38:50 +0000.398252][6a48] DTS queue for
Generator:0x7743c7e0b8 3663 3695 3731 3765 3797 3830 3866 3895 3932
[019:086] [2022-09-05 02:38:50 +0000.490395][6a47] setDisplayRotate :90
[019:088] [2022-09-05 02:38:50 +0000.491797][6a47] 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
[019:094] [2022-09-05 02:38:50 +0000.498316][6a48] h264 add frame header cdr flag
[019:095] [2022-09-05 02:38:50 +0000.498733][6a48] Received key frame:3998
[019:097] [2022-09-05 02:38:50 +0000.501102][6a4d] get the H.264 IDR frame
[019:132] [2022-09-05 02:38:50 +0000.536297][6a4b] Error(video_source.cc:430): wait
decoder a frame: 0
[019:177] [2022-09-05 02:38:50 +0000.580497][6a48] DTS queue for
Generator:0x7743c7e0b8 4497 4533 4564 4598 4633 4663 4698 4733
[019:184] [2022-09-05 02:38:50 +0000.588251][6a48] Push an pts:4798 to dts queue.
[019:223] [2022-09-05 02:38:50 +0000.626855][6a48] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:4998
[019:223] [2022-09-05 02:38:50 +0000.626922][6a48] push video frame to H264
encoder. (100 frame for one log)

[019:223] [2022-09-05 02:38:50 +0000.626952][6a48] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[019:223] [2022-09-05 02:38:50 +0000.626970][6a48] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:4998(100 frame for one
log)

[019:223] [2022-09-05 02:38:50 +0000.626995][6a48] The input pts:4998 fps:30


[019:243] [2022-09-05 02:38:50 +0000.647298][6a48] SendFrame
encodedImage._timeStamp:4798encodedImage->_length:28528
[019:244] [2022-09-05 02:38:50 +0000.647496][6a48] last dts:4763 currentPts:4798
ppsOrSPS:0 queue length:10
[019:245] [2022-09-05 02:38:50 +0000.648758][6a48] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4862 pts:4862
[019:272] [2022-09-05 02:38:50 +0000.675579][6a48] H264Encode::H264SWEncoder get
callback, length:20320 type:1 nalType:1length:20316
[019:287] [2022-09-05 02:38:50 +0000.690860][6a47] setDisplayRotate :90
[019:287] [2022-09-05 02:38:50 +0000.691018][6a47] 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
[019:346] [2022-09-05 02:38:50 +0000.749601][6a48] DTS queue for
Generator:0x7743c7e0b8 5396 5429 5465 5497
[019:367] [2022-09-05 02:38:50 +0000.770746][6a4c] audio_frame_list_ empty
[019:375] [2022-09-05 02:38:50 +0000.779266][6a4b] Error(video_source.cc:430): wait
decoder a frame: 0
[019:386] [2022-09-05 02:38:50 +0000.789462][6a4b] webrtc common_video plane
old ..... (1/1000) new: 9001 delete: 8944 diff: 57
[019:421] [2022-09-05 02:38:50 +0000.825157][6a48] Push an pts:6130 to dts queue.
[019:451] [2022-09-05 02:38:50 +0000.854546][6a48] h264 add frame header cdr flag
[019:451] [2022-09-05 02:38:50 +0000.854758][6a48] Received key frame:5995
[019:461] [2022-09-05 02:38:50 +0000.864448][6a4d] get the H.264 IDR frame
[019:491] [2022-09-05 02:38:50 +0000.894727][6a47] setDisplayRotate :90
[019:491] [2022-09-05 02:38:50 +0000.894777][6a47] 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
[019:501] [2022-09-05 02:38:50 +0000.904959][6a48] last dts:6100 currentPts:6130
ppsOrSPS:0 queue length:8
[019:501] [2022-09-05 02:38:50 +0000.905022][6a48] DTS queue for
Generator:0x7743c7e0b8 6162 6196 6232 6265 6300 6331 6372
[019:658] [2022-09-05 02:38:51 +0000.61441][6a48] DTS queue for
Generator:0x7743c7e0b8 6963 6996 7025 7063 7098 7132 7165 7197 7230
[019:699] [2022-09-05 02:38:51 +0000.103159][6a4c] audio_frame_list_ empty
[019:712] [2022-09-05 02:38:51 +0000.116415][6a47] setDisplayRotate :90
[019:713] [2022-09-05 02:38:51 +0000.116482][6a47] 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
[019:724] [2022-09-05 02:38:51 +0000.128328][6a47] setDisplayRotate :90
[019:725] [2022-09-05 02:38:51 +0000.128441][6a47] 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
[019:727] [2022-09-05 02:38:51 +0000.130547][6a48] Push an pts:7462 to dts queue.
[019:734] [2022-09-05 02:38:51 +0000.137524][6a4b] Error(video_source.cc:430): wait
decoder a frame: 0
[019:783] [2022-09-05 02:38:51 +0000.187065][6a48] last dts:7428 currentPts:7462
ppsOrSPS:0 queue length:8
[019:847] [2022-09-05 02:38:51 +0000.250622][6a48] DTS queue for
Generator:0x7743c7e0b8 7827 7865 7897 7927 7964 7997 8031
[019:898] [2022-09-05 02:38:51 +0000.301898][6a48] h264 add frame header cdr flag
[019:898] [2022-09-05 02:38:51 +0000.302066][6a48] Received key frame:7997
[019:901] [2022-09-05 02:38:51 +0000.304762][6a4d] get the H.264 IDR frame
[019:911] [2022-09-05 02:38:51 +0000.314989][6a48] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:8368
[019:911] [2022-09-05 02:38:51 +0000.315048][6a48] push video frame to H264
encoder. (100 frame for one log)

[019:911] [2022-09-05 02:38:51 +0000.315076][6a48] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[019:911] [2022-09-05 02:38:51 +0000.315094][6a48] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:8368(100 frame for one
log)

[019:911] [2022-09-05 02:38:51 +0000.315118][6a48] The input pts:8368 fps:30


[019:921] [2022-09-05 02:38:51 +0000.324435][6a47] setDisplayRotate :90
[019:921] [2022-09-05 02:38:51 +0000.324495][6a47] 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
[019:926] [2022-09-05 02:38:51 +0000.329548][6a48] SendFrame
encodedImage._timeStamp:8133encodedImage->_length:26160
[019:945] [2022-09-05 02:38:51 +0000.349280][6a48] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:8232 pts:8232
[019:961] [2022-09-05 02:38:51 +0000.365293][6a4b] Error(video_source.cc:430): wait
decoder a frame: 0
[019:971] [2022-09-05 02:38:51 +0000.374809][6a48] H264Encode::H264SWEncoder get
callback, length:25920 type:1 nalType:1length:25916
[020:001] [2022-09-05 02:38:51 +0000.405243][6a48] Push an pts:8794 to dts queue.
[020:022] [2022-09-05 02:38:51 +0000.425582][6a48] DTS queue for
Generator:0x7743c7e0b8 8632 8662 8696 8729 8761 8794 8828 8859
[020:050] [2022-09-05 02:38:51 +0000.453607][6a48] last dts:8761 currentPts:8794
ppsOrSPS:0 queue length:7
[020:095] [2022-09-05 02:38:51 +0000.498631][6a4c] audio_frame_list_ empty
[020:129] [2022-09-05 02:38:51 +0000.532998][67f8] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:129] [2022-09-05 02:38:51 +0000.533063][67f8] _deviceSampleRate:48000

[020:135] [2022-09-05 02:38:51 +0000.538603][67f7] Run AGC when audioType = 0


[020:135] [2022-09-05 02:38:51 +0000.538755][67f7]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:158] [2022-09-05 02:38:51 +0000.562213][6a47] setDisplayRotate :90
[020:158] [2022-09-05 02:38:51 +0000.562293][6a47] 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
[020:214] [2022-09-05 02:38:51 +0000.618329][6a48] DTS queue for
Generator:0x7743c7e0b8 9494 9526 9562 9596 9627 9661
[020:241] [2022-09-05 02:38:51 +0000.645239][6a4b] Error(video_source.cc:430): wait
decoder a frame: 0
[020:314] [2022-09-05 02:38:51 +0000.718132][6a48] Push an pts:10130 to dts queue.
[020:327] [2022-09-05 02:38:51 +0000.731299][6a48] h264 add frame header cdr flag
[020:328] [2022-09-05 02:38:51 +0000.731484][6a48] Received key frame:9994
[020:330] [2022-09-05 02:38:51 +0000.733906][6a4d] get the H.264 IDR frame
[020:356] [2022-09-05 02:38:51 +0000.759693][6a48] last dts:10094 currentPts:10130
ppsOrSPS:0 queue length:8
[020:359] [2022-09-05 02:38:51 +0000.762746][6a4b] webrtc common_video plane
old ..... (1/1000) new: 10001 delete: 9984 diff: 17
[020:371] [2022-09-05 02:38:51 +0000.774898][6a4c] FilterPipeline2::OnAudioFrame
pts 461670 last_audio_timestamp_ 10468.7
[020:381] [2022-09-05 02:38:51 +0000.785228][6a48] DTS queue for
Generator:0x7743c7e0b8 10292 10328 10372 10397 10427 10464 10497
[020:507] [2022-09-05 02:38:51 +0000.911166][6a4c] audio_frame_list_ empty
[020:526] [2022-09-05 02:38:51 +0000.930325][6a48] DTS queue for
Generator:0x7743c7e0b8 11096 11127 11163 11198 11226 11261 11295 11329 11369
[020:560] [2022-09-05 02:38:51 +0000.964385][6a47] setDisplayRotate :90
[020:561] [2022-09-05 02:38:51 +0000.964439][6a47] 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
[020:562] [2022-09-05 02:38:51 +0000.966152][6a48] Push an pts:11462 to dts queue.
[020:582] [2022-09-05 02:38:51 +0000.986011][6a4b] Error(video_source.cc:430): wait
decoder a frame: 0
[020:612] [2022-09-05 02:38:52 +0000.16160][6a48] SendFrame
encodedImage._timeStamp:11462encodedImage->_length:19152
[020:612] [2022-09-05 02:38:52 +0000.16224][6a48] last dts:11426 currentPts:11462
ppsOrSPS:0 queue length:6
[020:617] [2022-09-05 02:38:52 +0000.20969][6a48] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:11730
[020:617] [2022-09-05 02:38:52 +0000.21050][6a48] push video frame to H264 encoder.
(100 frame for one log)

[020:617] [2022-09-05 02:38:52 +0000.21090][6a48] push video frame to H264 encoder.


(100 frame for one log) used width:1920 height:1080

[020:617] [2022-09-05 02:38:52 +0000.21106][6a48] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:11730(100 frame for one
log)
[020:617] [2022-09-05 02:38:52 +0000.21128][6a48] The input pts:11730 fps:30
[020:652] [2022-09-05 02:38:52 +0000.56330][6a48] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:11593 pts:11593
[020:681] [2022-09-05 02:38:52 +0000.84645][6a48] H264Encode::H264SWEncoder get
callback, length:11344 type:1 nalType:1length:11340
[020:710] [2022-09-05 02:38:52 +0000.113870][6a48] DTS queue for
Generator:0x7743c7e0b8 11956 11992 12028 12066 12094 12127 12159
[020:728] [2022-09-05 02:38:52 +0000.131755][6a48] h264 add frame header cdr flag
[020:728] [2022-09-05 02:38:52 +0000.131949][6a48] Received key frame:11992
[020:729] [2022-09-05 02:38:52 +0000.132617][6a4d] get the H.264 IDR frame
[020:740] [2022-09-05 02:38:52 +0000.143959][67f7] haveEnoughProcessedData
internalAudioStream.length: 0
[020:757] [2022-09-05 02:38:52 +0000.161148][6a47] setDisplayRotate :90
[020:757] [2022-09-05 02:38:52 +0000.161206][6a47] 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
[020:812] [2022-09-05 02:38:52 +0000.215466][6a4b] Error(video_source.cc:430): wait
decoder a frame: 0
[020:819] [2022-09-05 02:38:52 +0000.222465][6a48] Push an pts:12789 to dts queue.
[020:848] [2022-09-05 02:38:52 +0000.251534][6a48] DTS queue for
Generator:0x7743c7e0b8 12758 12789 12823 12858 12888 12923 12960 12988
[020:855] [2022-09-05 02:38:52 +0000.259289][6a48] last dts:12758 currentPts:12789
ppsOrSPS:0 queue length:8
[020:923] [2022-09-05 02:38:52 +0000.326505][6a4c] audio_frame_list_ empty
[020:967] [2022-09-05 02:38:52 +0000.371230][6a47] setDisplayRotate :90
[020:967] [2022-09-05 02:38:52 +0000.371308][6a47] 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
[021:039] [2022-09-05 02:38:52 +0000.442522][6a48] DTS queue for
Generator:0x7743c7e0b8 13624 13655 13689 13725 13756 13792
[021:051] [2022-09-05 02:38:52 +0000.455385][6a4b] Error(video_source.cc:430): wait
decoder a frame: 0
[021:080] [2022-09-05 02:38:52 +0000.483622][6a4b] webrtc common_video plane
old ..... (1/1000) new: 11001 delete: 10924 diff: 77
[021:082] [2022-09-05 02:38:52 +0000.486278][6a48] Push an pts:14123 to dts queue.
[021:111] [2022-09-05 02:38:52 +0000.515247][6a48] h264 add frame header cdr flag
[021:112] [2022-09-05 02:38:52 +0000.515651][6a48] Received key frame:13988
[021:122] [2022-09-05 02:38:52 +0000.525637][6a4d] get the H.264 IDR frame
[021:143] [2022-09-05 02:38:52 +0000.546513][6a3c] av_read_frame AVERROR_EOF
[021:145] [2022-09-05 02:38:52 +0000.549020][6a48] last dts:14089 currentPts:14123
ppsOrSPS:0 queue length:9
[021:181] [2022-09-05 02:38:52 +0000.585152][6a48] DTS queue for
Generator:0x7743c7e0b8 14389 14422 14456 14488 14520 14554 14587 14622 14654
[021:184] [2022-09-05 02:38:52 +0000.587734][6a3c] OnReceiveEOF:
[021:184] [2022-09-05 02:38:52 +0000.587902][6a3c] OnDecoderEOF time:657881141
enter.

[021:184] [2022-09-05 02:38:52 +0000.588017][6a3c] OnDecoderEOF leave. expire time


= 0 ms

[021:184] [2022-09-05 02:38:52 +0000.588107][6a3c] OnDecoderFinished:


OnDecoderFinished total decoder frames:456 this:0x78536d0e80
[021:184] [2022-09-05 02:38:52 +0000.588194][6a3c] NULLFilter::OnVideoSourceEOF
0x78536d0e80 this 0x776ee64700
[021:184] [2022-09-05 02:38:52 +0000.588297][6a3c] NULLFilter::OnVideoSourceEOF
0x776ee64700 this 0x776ee647c0
[021:184] [2022-09-05 02:38:52 +0000.588369][6a3c] NULLFilter::OnVideoSourceEOF
0x776ee647c0 this 0x776ee64a00
[021:185] [2022-09-05 02:38:52 +0000.588481][6a39] CleanUp time:657881142 enter.

[021:186] [2022-09-05 02:38:52 +0000.590339][6a4b]


Warning(media_filter_composefile.cc:321): pull video frame failed:8
[021:187] [2022-09-05 02:38:52 +0000.590540][6a4b] OnVideoTimer: OnVideoTimer
return
[021:187] [2022-09-05 02:38:52 +0000.591087][6a4c] PullAudioFrame: PullFrame audio
finished.
[021:187] [2022-09-05 02:38:52 +0000.591126][6a4c]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[021:187] [2022-09-05 02:38:52 +0000.591162][6a4c] OnAudioTimer: OnAudioTimer
EndComposeFile
[021:187] [2022-09-05 02:38:52 +0000.591178][6a4c] EndComposeFile: EndComposeFile,
is composing 1
[021:192] [2022-09-05 02:38:52 +0000.595599][6a39] CleanUp leave. expire time = 7
ms

[021:192] [2022-09-05 02:38:52 +0000.595736][6a39] clean up


[021:192] [2022-09-05 02:38:52 +0000.595759][6a39] running_decoder_count:0max
count:2
[021:236] [2022-09-05 02:38:52 +0000.639802][6a48] SendFrame
encodedImage._timeStamp:14788encodedImage->_length:19280
[021:237] [2022-09-05 02:38:52 +0000.640687][6a48] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:15093
[021:237] [2022-09-05 02:38:52 +0000.640738][6a48] push video frame to H264
encoder. (100 frame for one log)

[021:237] [2022-09-05 02:38:52 +0000.640756][6a48] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[021:237] [2022-09-05 02:38:52 +0000.640772][6a48] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:15093(100 frame for one
log)

[021:237] [2022-09-05 02:38:52 +0000.640797][6a48] The input pts:15093 fps:30


[021:246] [2022-09-05 02:38:52 +0000.649529][6a48]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:456
[021:246] [2022-09-05 02:38:52 +0000.649612][6a48]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x77647a1800
[021:248] [2022-09-05 02:38:52 +0000.651787][6a4a]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[021:248] [2022-09-05 02:38:52 +0000.651825][6a4a]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[021:248] [2022-09-05 02:38:52 +0000.651957][6a47] stop recording
[021:248] [2022-09-05 02:38:52 +0000.651995][6a47]
RecordingSessionInternalSimple:destroy media processers
[021:248] [2022-09-05 02:38:52 +0000.652016][6a47] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[021:248] [2022-09-05 02:38:52 +0000.652044][6a47] H264Encode::flushing hareware
Encoder
[021:248] [2022-09-05 02:38:52 +0000.652161][6a47] Flush time:657881205 enter.

[021:248] [2022-09-05 02:38:52 +0000.652196][6a47] H264Encoder encoder flush


[021:248] [2022-09-05 02:38:52 +0000.652216][6a47] flush output queue
[021:259] [2022-09-05 02:38:52 +0000.662799][6a47] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:14954 pts:14954
[021:277] [2022-09-05 02:38:52 +0000.680802][6a47] H264Encode::H264SWEncoder get
callback, length:32848 type:1 nalType:1length:32844
[021:572] [2022-09-05 02:38:52 +0000.976317][6a47] Flush leave. expire time = 324
ms

[021:573] [2022-09-05 02:38:52 +0000.976772][6a47] ~H264EncodeWrap:


[021:573] [2022-09-05 02:38:52 +0000.976917][6a47] ~H264Encode:
[021:573] [2022-09-05 02:38:52 +0000.976985][6a47] teardownCompressionSession:
H264Encode::destroying Encoder
[021:573] [2022-09-05 02:38:52 +0000.977050][6a47] Release time:657881530 enter.

[021:573] [2022-09-05 02:38:52 +0000.977372][6a47] Release:


MediaCodecVideoEncoder::Release _inited:1
[021:574] [2022-09-05 02:38:52 +0000.977481][6a47] Destroy time:657881531 enter.

[021:574] [2022-09-05 02:38:52 +0000.977600][6a47] H264Encoder encoderDestroy


[021:574] [2022-09-05 02:38:52 +0000.977662][6a47]
AndroidMediaCodecVideoEncoder::release env: 0x774ca4c6c0
[021:574] [2022-09-05 02:38:52 +0000.977722][6a47]
AndroidMediaCodecVideoEncoder::Destroy
[021:616] [2022-09-05 02:38:53 +0000.19777][6a47] Destroy leave. expire time = 42
ms

[021:616] [2022-09-05 02:38:53 +0000.19984][6a47] Release leave. expire time = 43


ms

[021:616] [2022-09-05 02:38:53 +0000.20045][6a47] ~AndroidHwAvcEncoder


time:657881573 enter.

[021:616] [2022-09-05 02:38:53 +0000.20228][6a47] Release time:657881573 enter.

[021:616] [2022-09-05 02:38:53 +0000.20291][6a47] Release: MediaCodecVideoEncoder::


has been released before, just return
[021:616] [2022-09-05 02:38:53 +0000.20327][6a47] Release leave. expire time = 0
ms

[021:616] [2022-09-05 02:38:53 +0000.20375][6a47] ~AndroidMediaCodecVideoEncoder


[021:617] [2022-09-05 02:38:53 +0000.20434][6a47] ~WrapAndroidMediaCodec
time:657881574 enter.

[021:617] [2022-09-05 02:38:53 +0000.20469][6a47] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[021:617] [2022-09-05 02:38:53 +0000.20520][6a47] video hevc hw codec


destructor:0x776e21a8f0

[021:617] [2022-09-05 02:38:53 +0000.20630][6a47] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[021:617] [2022-09-05 02:38:53 +0000.20751][6a47] teardownCompressionSession:


H264Encode::destroyed Encoder
[021:617] [2022-09-05 02:38:53 +0000.20815][6a47]
RecordingSessionInternalSimple:destroy aac encoder output!
[021:617] [2022-09-05 02:38:53 +0000.20908][6a47] AACSWEncode destructor
[021:619] [2022-09-05 02:38:53 +0000.22495][6a4d] fd_close successed!
[021:622] [2022-09-05 02:38:53 +0000.25914][6a4d] MP4 close file successfully
[021:622] [2022-09-05 02:38:53 +0000.25967][6a4d] Recording session Internal:
notify recording ok
[021:622] [2022-09-05 02:38:53 +0000.25985][6a4d] onRecordingOk: Recording Ok,
compose use time: 3547, averagefps 0
[021:622] [2022-09-05 02:38:53 +0000.26002][6a4d] OnReceiveEOF:
[021:623] [2022-09-05 02:38:53 +0000.27182][6a4c] OnAudioTimer: OnAudioTimer return
[021:634] [2022-09-05 02:38:53 +0000.38291][bcc]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[021:634] [2022-09-05 02:38:53 +0000.38398][bcc] ~MediaComposeFile time:657881591
enter.

[021:635] [2022-09-05 02:38:53 +0000.38503][bcc] CancelCompose: CancelCompose, is


composing 0
[021:635] [2022-09-05 02:38:53 +0000.38660][6a47] stop recording
[021:635] [2022-09-05 02:38:53 +0000.38731][6a47] we have stopped recording before
[021:635] [2022-09-05 02:38:53 +0000.39089][bcc] ~MediaComposeFile leave. expire
time = 1 ms

[021:635] [2022-09-05 02:38:53 +0000.39194][bcc] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[021:636] [2022-09-05 02:38:53 +0000.39691][bcc] global uninited!
[021:636] [2022-09-05 02:38:53 +0000.39764][bcc]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[021:636] [2022-09-05 02:38:53 +0000.39819][bcc] ~MediaFilterGraph:
MediaFilterGraph destruct
[021:636] [2022-09-05 02:38:53 +0000.39855][bcc] RemoveVideoBackGroud: hava not add
video backgroud
[021:636] [2022-09-05 02:38:53 +0000.39906][bcc] UnbindInputFilter 0x776ee64a98
this 0x776ed650a0
[021:636] [2022-09-05 02:38:53 +0000.39981][bcc] ClearAllSource: remove source
filter, sourceid: 0x78536d0e80
[021:636] [2022-09-05 02:38:53 +0000.40013][bcc] DestoryDecoderByVideoSource
time:657881593 enter.

[021:636] [2022-09-05 02:38:53 +0000.40051][bcc] ~VideoBindDecoder time:657881593


enter.

[021:636] [2022-09-05 02:38:53 +0000.40174][bcc] CleanUp time:657881593 enter.

[021:636] [2022-09-05 02:38:53 +0000.40394][bcc] CleanUp leave. expire time = 0 ms

[021:636] [2022-09-05 02:38:53 +0000.40431][bcc] CleanUp time:657881593 enter.

[021:637] [2022-09-05 02:38:53 +0000.40624][bcc] CleanUp leave. expire time = 1 ms

[021:637] [2022-09-05 02:38:53 +0000.41161][bcc] ~VideoBindDecoder leave. expire


time = 1 ms

[021:637] [2022-09-05 02:38:53 +0000.41223][bcc] DestoryDecoderByVideoSource


leave. expire time = 1 ms

[021:637] [2022-09-05 02:38:53 +0000.41262][bcc] UnbindInputFilter 0x776ee64858


this 0x776ee64a98
[021:637] [2022-09-05 02:38:53 +0000.41305][bcc] UnbindInputFilter 0x776ee64798
this 0x776ee64858
[021:637] [2022-09-05 02:38:53 +0000.41340][bcc] UnbindInputFilter 0x78536d10a0
this 0x776ee64798
[021:637] [2022-09-05 02:38:53 +0000.41378][bcc] UnbindInputFilter 0x776ee649d8
this 0x776ee64b58
[021:637] [2022-09-05 02:38:53 +0000.41419][bcc] UnbindInputFilter 0x776ee64918
this 0x776ee649d8
[021:638] [2022-09-05 02:38:53 +0000.41459][bcc] UnbindInputFilter 0x78536d10a0
this 0x776ee64918
[021:638] [2022-09-05 02:38:53 +0000.41502][bcc] ~GLESContext:
[021:640] [2022-09-05 02:38:53 +0000.43459][bcc] GLESContext destruct finish.
[021:640] [2022-09-05 02:38:53 +0000.43563][bcc] filter: filter pipeline destroy
this: 0x776ed65000
[022:136] [2022-09-05 02:38:53 +0000.540040][67f7] Run AGC when audioType = 0
[022:469] [2022-09-05 02:38:53 +0000.872574][67f7] haveEnoughProcessedData
internalAudioStream.length: 0
[024:135] [2022-09-05 02:38:55 +0000.538556][67f7] Run AGC when audioType = 0
[024:135] [2022-09-05 02:38:55 +0000.539053][67f7]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:186] [2022-09-05 02:38:55 +0000.590231][67f7] haveEnoughProcessedData
internalAudioStream.length: 0
[025:468] [2022-09-05 02:38:56 +0000.871640][c19]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[025:468] [2022-09-05 02:38:56 +0000.871998][c19] ~MediaFilterCamera time:657885425
enter.

[025:468] [2022-09-05 02:38:56 +0000.872185][c19] StopPullFrameAndWriteMp4


time:657885425 enter.

[025:477] [2022-09-05 02:38:56 +0000.880539][67f1] stop recording


[025:477] [2022-09-05 02:38:56 +0000.880603][67f1] we have stopped recording before
[025:477] [2022-09-05 02:38:56 +0000.880706][c19] StopPullFrameAndWriteMp4 leave.
expire time = 9 ms

[025:478] [2022-09-05 02:38:56 +0000.881822][c19] DestroyPipelineAndFilters


time:657885435 enter.

[025:478] [2022-09-05 02:38:56 +0000.881899][c19] DestroyPipelineAndFilters leave.


expire time = 0 ms

[025:478] [2022-09-05 02:38:56 +0000.881974][c19] AppDeviceManagerStopMic

[025:478] [2022-09-05 02:38:56 +0000.882124][c19] AppDeviceManagerStopMic::mic


status is on
[025:478] [2022-09-05 02:38:56 +0000.882170][c19] Try to stop webrtc device.

[025:478] [2022-09-05 02:38:56 +0000.882206][c19] Set record state to


stopped.threadID:3097

[025:530] [2022-09-05 02:38:56 +0000.934114][c19] Try to destory the


recorder.threadID:3097

[025:752] [2022-09-05 02:38:57 +0000.155886][c19] DestroyAudioRecorder:


[025:752] [2022-09-05 02:38:57 +0000.156117][c19] Cleanup the buffer queue in the
recorder.
[025:752] [2022-09-05 02:38:57 +0000.156185][c19] Destroy the recorder.

[025:755] [2022-09-05 02:38:57 +0000.159294][c19] StopRecording finished.

[025:755] [2022-09-05 02:38:57 +0000.159419][c19] The stop recording success.

[025:756] [2022-09-05 02:38:57 +0000.159490][c19]


AudioDeviceDataHandler::StopMicProcess

[025:759] [2022-09-05 02:38:57 +0000.163007][c19] AppDeviceManager stop.

[025:759] [2022-09-05 02:38:57 +0000.163152][c19] Rlease the webrtc device object.

[025:760] [2022-09-05 02:38:57 +0000.163790][c19] OpenSlesInput destruct.


[025:760] [2022-09-05 02:38:57 +0000.163964][c19] OpenSlesOutput destruct.

[025:761] [2022-09-05 02:38:57 +0000.164503][c19] EventDispatchServerScope destruct


[025:761] [2022-09-05 02:38:57 +0000.164878][c19]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[025:761] [2022-09-05 02:38:57 +0000.164987][c19] ~AudioDeviceDataHandler

[025:762] [2022-09-05 02:38:57 +0000.165726][c19] AppDeviceManagerDestruct.

[025:762] [2022-09-05 02:38:57 +0000.165794][c19] ~AppDeviceManager:


[025:762] [2022-09-05 02:38:57 +0000.165887][c19] ~CpuOverloadDetect time:657885719
enter.

[025:762] [2022-09-05 02:38:57 +0000.166331][c19] ~CpuOverloadDetect leave. expire


time = 0 ms

[025:764] [2022-09-05 02:38:57 +0000.167689][c19] Destruct BeautifyReader begin...


[025:764] [2022-09-05 02:38:57 +0000.167752][c19] Destruct BeautifyReader done.
[025:764] [2022-09-05 02:38:57 +0000.167812][c19] ~MediaFilterCamera leave. expire
time = 296 ms

[025:764] [2022-09-05 02:38:57 +0000.168068][c19] ~GLESContext:


[025:769] [2022-09-05 02:38:57 +0000.172804][c19] GLESContext destruct finish.
[025:769] [2022-09-05 02:38:57 +0000.172895][c19] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[025:769] [2022-09-05 02:38:57 +0000.173331][c19] global uninited!
[025:773] [2022-09-05 02:38:57 +0000.176553][c19] clear AppID 50011
[025:773] [2022-09-05 02:38:57 +0000.176623][c19] UnRegister JVM for Xplatform util
[025:773] [2022-09-05 02:38:57 +0000.176663][c19] Dispose::unregister webrtc video
engine
[025:773] [2022-09-05 02:38:57 +0000.176723][c19] Init the android object with
jvm:0x0 env:0x0 context:0x0

[025:773] [2022-09-05 02:38:57 +0000.176780][c19] SetAndroidMediaCodecObjects


time:657885730 enter.

[025:773] [2022-09-05 02:38:57 +0000.176830][c19] ClearAndroidMediaCodecObjects


time:657885730 enter.

[025:773] [2022-09-05 02:38:57 +0000.176883][c19] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[025:773] [2022-09-05 02:38:57 +0000.176931][c19] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[025:773] [2022-09-05 02:38:57 +0000.176979][c19] SetAndroidMediaCodecObjects


time:657885730 enter.

[025:773] [2022-09-05 02:38:57 +0000.177027][c19] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[025:773] [2022-09-05 02:38:57 +0000.177075][c19] ClearAndroidMediaCodecObjects
time:657885730 enter.

[025:773] [2022-09-05 02:38:57 +0000.177123][c19] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[025:773] [2022-09-05 02:38:57 +0000.177171][c19] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[025:773] [2022-09-05 02:38:57 +0000.177217][c19] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[025:773] [2022-09-05 02:38:57 +0000.177265][c19] Dispose::unregister webrtc voice


engine
[025:773] [2022-09-05 02:38:57 +0000.177310][c19] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[025:773] [2022-09-05 02:38:57 +0000.177361][c19] SystemUtil UnInit done


[2567:724] [2022-09-05 03:21:19 +0000.128139][c19] Register JVM for xplatform util
[2567:737] [2022-09-05 03:21:19 +0000.140503][c19] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
05 03:21:19 +0000
[2567:737] [2022-09-05 03:21:19 +0000.140552][c19] set AppID=50011 old AppID=-1
[2567:737] [2022-09-05 03:21:19 +0000.140572][c19] Init the android object with
jvm:0xb400007907b33540 env:0x78537e6d40 context:0x77cbcb4da8

[2567:737] [2022-09-05 03:21:19 +0000.140658][c19] SetAndroidMediaCodecObjects


time:660427694 enter.

[2567:737] [2022-09-05 03:21:19 +0000.140706][c19] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[2567:737] [2022-09-05 03:21:19 +0000.140749][c19] SetAndroidMediaCodecObjects


time:660427694 enter.

[2567:737] [2022-09-05 03:21:19 +0000.140766][c19] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007907b33540
[2567:737] [2022-09-05 03:21:19 +0000.140809][c19] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007907b33540 address:0x77388d3760
[2567:737] [2022-09-05 03:21:19 +0000.140888][c19] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007907b33540
address:0x77388d3760
[2567:737] [2022-09-05 03:21:19 +0000.140906][c19] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[2567:737] [2022-09-05 03:21:19 +0000.140959][c19] Set the android objects with


jvm:0xb400007907b33540 env:0x78537e6d40 context:0x77cbcb4da8

[2567:738] [2022-09-05 03:21:19 +0000.141500][c19] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78537e6d40
[2567:738] [2022-09-05 03:21:19 +0000.141539][c19] SystemUtil Init done
[2567:738] [2022-09-05 03:21:19 +0000.142314][c19]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[2567:739] [2022-09-05 03:21:19 +0000.143086][c19] MediaFilterCamera
[2567:739] [2022-09-05 03:21:19 +0000.143135][c19] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[2567:739] [2022-09-05 03:21:19 +0000.143228][c19] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[2567:739] [2022-09-05 03:21:19 +0000.143259][c19] Recording session using default
bitrate support by app:31457280
[2567:739] [2022-09-05 03:21:19 +0000.143257][3f66] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x776eb9c040
[2567:739] [2022-09-05 03:21:19 +0000.143341][3f66] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[2567:739] [2022-09-05 03:21:19 +0000.143413][c19] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[2567:741] [2022-09-05 03:21:19 +0000.144584][c19] Error(ini.cc:191): Open the file
failed. error:2
[2567:741] [2022-09-05 03:21:19 +0000.144614][c19]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[2567:741] [2022-09-05 03:21:19 +0000.144632][c19] The device model: m2012k11ag
usingSoftwareAEC value: 0
[2567:743] [2022-09-05 03:21:19 +0000.146895][c19] Error(ini.cc:191): Open the file
failed. error:2
[2567:743] [2022-09-05 03:21:19 +0000.146937][c19]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[2567:743] [2022-09-05 03:21:19 +0000.146970][c19] The device model: m2012k11ag
usingHardwareAEC value: 0
[2567:743] [2022-09-05 03:21:19 +0000.147015][c19] The machine device: m2012k11ag
usingHardwareAEC value: 0
[2567:743] [2022-09-05 03:21:19 +0000.147031][c19] Using Default AEC type: software
AEC
[2567:744] [2022-09-05 03:21:19 +0000.147905][c19] The device model: m2012k11ag
enum value: 0
[2567:744] [2022-09-05 03:21:19 +0000.148199][c19] GetMachineModel is M2012K11AG
[2567:744] [2022-09-05 03:21:19 +0000.148225][c19] GetMachineInfo: M2012K11AG
[2567:744] [2022-09-05 03:21:19 +0000.148249][c19] Construct BeautifyReader
begin...
[2567:744] [2022-09-05 03:21:19 +0000.148283][c19] dumpStickerRgba:0
dumpStickerYuv:0
[2567:744] [2022-09-05 03:21:19 +0000.148298][c19] Construct BeautifyReader done.
[2567:750] [2022-09-05 03:21:19 +0000.153534][c19] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[2567:750] [2022-09-05 03:21:19 +0000.153605][c19] AppDeviceManager telnet server
for statistics started......
[2567:750] [2022-09-05 03:21:19 +0000.153569][3f6a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7780f962a0
[2567:750] [2022-09-05 03:21:19 +0000.154087][c19] CpuOverloadDetect time:660427707
enter.

[2567:750] [2022-09-05 03:21:19 +0000.154143][c19] CpuOverloadDetect leave. expire


time = 0 ms

[2567:750] [2022-09-05 03:21:19 +0000.154172][3f6b] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7842493040
[2567:751] [2022-09-05 03:21:19 +0000.154589][c19] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[2567:751] [2022-09-05 03:21:19 +0000.154608][c19] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[2567:751] [2022-09-05 03:21:19 +0000.154823][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[2567:751] [2022-09-05 03:21:19 +0000.155048][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[2567:751] [2022-09-05 03:21:19 +0000.155194][c19] CreatePlatformSpecificObjects:
[2567:751] [2022-09-05 03:21:19 +0000.155220][c19] audio device use opensle input
and opensl output
[2567:751] [2022-09-05 03:21:19 +0000.155284][c19] Create OpenSLES output module
with java VM support.

[2567:751] [2022-09-05 03:21:19 +0000.155366][c19] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[2567:752] [2022-09-05 03:21:19 +0000.155458][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[2567:752] [2022-09-05 03:21:19 +0000.155557][c19] Create OpenSLES output module
with buffer num:1
[2567:752] [2022-09-05 03:21:19 +0000.155644][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[2567:752] [2022-09-05 03:21:19 +0000.155744][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[2567:752] [2022-09-05 03:21:19 +0000.155830][c19] Create OpenSLES input module
with java VM support.

[2567:752] [2022-09-05 03:21:19 +0000.155855][c19] Create OpenSLES input module


with buffer num:1

[2567:752] [2022-09-05 03:21:19 +0000.155894][c19] Error(trace.cc:40): Init the


output and input for audio device template.
[2567:752] [2022-09-05 03:21:19 +0000.155915][c19] Init the output device.

[2567:752] [2022-09-05 03:21:19 +0000.155925][c19] Init the opensl input.


[2567:752] [2022-09-05 03:21:19 +0000.155937][c19] AppDeviceManager get setting
samplerate: 0
[2567:752] [2022-09-05 03:21:19 +0000.156142][c19] The device model: m2012k11ag
enum value: 0
[2567:753] [2022-09-05 03:21:19 +0000.156503][c19] The device model: m2012k11ag
enum value: 0
[2567:753] [2022-09-05 03:21:19 +0000.156524][c19] Set the sample rate to be:48000

[2567:753] [2022-09-05 03:21:19 +0000.156549][c19] Enable the recording stereo:0


[2567:753] [2022-09-05 03:21:19 +0000.156590][c19] Set the playout as stereo:1
[2567:753] [2022-09-05 03:21:19 +0000.156600][c19] Init the microphone.
[2567:753] [2022-09-05 03:21:19 +0000.156950][c19] Update the recording sample rate
to be: 48000
[2567:753] [2022-09-05 03:21:19 +0000.156988][c19] Init the speaker.
[2567:754] [2022-09-05 03:21:19 +0000.157816][c19] Low latency buffer size:144 low
sample rate:48000
[2567:754] [2022-09-05 03:21:19 +0000.158265][c19] Using 1 x 10ms for an audio
frame.

[2567:758] [2022-09-05 03:21:19 +0000.161732][c19] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[2567:759] [2022-09-05 03:21:19 +0000.162785][c19] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[2567:759] [2022-09-05 03:21:19 +0000.162864][c19] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[2567:764] [2022-09-05 03:21:19 +0000.168092][c19] The device model:m2012k11ag

[2567:764] [2022-09-05 03:21:19 +0000.168149][c19] speaker output factor:100


defaultFactor: 100

[2567:764] [2022-09-05 03:21:19 +0000.168166][c19] headset output factor:100


defaultFactor: 100

[2567:765] [2022-09-05 03:21:19 +0000.168480][c19] AppDeviceManagerStart finished.


[2567:765] [2022-09-05 03:21:19 +0000.168512][c19] AppDeviceManagerStartMic::mic
status is off
[2567:765] [2022-09-05 03:21:19 +0000.168565][c19] AppDeviceManagerStartMic update
aec type: 2

[2567:765] [2022-09-05 03:21:19 +0000.168603][c19] AppDeviceManagerStartMic update


voiceChangeMode: 4

[2567:765] [2022-09-05 03:21:19 +0000.168620][c19]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[2567:765] [2022-09-05 03:21:19 +0000.168635][c19]
AudioDeviceDataHandler::StartMicProcess

[2567:765] [2022-09-05 03:21:19 +0000.168731][c19] Try to start webrtc recording


device.

[2567:765] [2022-09-05 03:21:19 +0000.168760][c19] StartRecording. threadID:3097

[2567:765] [2022-09-05 03:21:19 +0000.168850][c19] default mode: Set the recording


mode to voice communication to enable HW AEC .

[2567:765] [2022-09-05 03:21:19 +0000.168873][c19] Set the recording mode before


getSetting: 4
[2567:765] [2022-09-05 03:21:19 +0000.168891][c19] Set the recording mode after
getSetting: 1
[2567:765] [2022-09-05 03:21:19 +0000.168855][3f6c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[2567:803] [2022-09-05 03:21:19 +0000.207134][c19] StartRecording finished.

[2567:803] [2022-09-05 03:21:19 +0000.207321][c19] audio: start the audio mic


checker timer.

[2567:804] [2022-09-05 03:21:19 +0000.207702][c19] machine model :poco


[2567:804] [2022-09-05 03:21:19 +0000.207741][c19] Support this machine model :poco
[2567:809] [2022-09-05 03:21:19 +0000.213043][c19] global inited! current sdk
version: 07-20-936c45f
[2568:045] [2022-09-05 03:21:19 +0000.449182][3f6c] haveEnoughProcessedData
internalAudioStream.length: 10
[2568:070] [2022-09-05 03:21:19 +0000.473760][46b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[2568:070] [2022-09-05 03:21:19 +0000.473875][3f67] MediaFilterCamera, recording
file context:0x783582c780 input texture:11
[2568:070] [2022-09-05 03:21:19 +0000.473911][3f67] GLESContext:
[2568:070] [2022-09-05 03:21:19 +0000.473969][3f67] The result of eglGetDisplay is:
0xb4000078537e3a00
[2568:071] [2022-09-05 03:21:19 +0000.475211][3f67] The result of creation:
0x776eb61c80
[2568:071] [2022-09-05 03:21:19 +0000.475276][3f67] The result of
eglCreatePbufferSurface is: 0x776eb61f00
[2568:071] [2022-09-05 03:21:19 +0000.475367][46b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x783582c780 input_texture: 11
[2568:522] [2022-09-05 03:21:19 +0000.926456][3f6c] Run AGC when audioType = 0
[2569:764] [2022-09-05 03:21:21 +0000.168098][3f6c] haveEnoughProcessedData
internalAudioStream.length: 20
[2570:215] [2022-09-05 03:21:21 +0000.619069][c19]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[2570:215] [2022-09-05 03:21:21 +0000.619344][c19] ~MediaFilterCamera
time:660430172 enter.

[2570:215] [2022-09-05 03:21:21 +0000.619369][c19] StopPullFrameAndWriteMp4


time:660430172 enter.

[2570:217] [2022-09-05 03:21:21 +0000.620709][3f66] stop recording


[2570:217] [2022-09-05 03:21:21 +0000.620742][3f66] we have stopped recording
before
[2570:217] [2022-09-05 03:21:21 +0000.620782][c19] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms
[2570:217] [2022-09-05 03:21:21 +0000.621015][c19] DestroyPipelineAndFilters
time:660430174 enter.

[2570:217] [2022-09-05 03:21:21 +0000.621047][c19] DestroyPipelineAndFilters


leave. expire time = 0 ms

[2570:217] [2022-09-05 03:21:21 +0000.621064][c19] AppDeviceManagerStopMic

[2570:217] [2022-09-05 03:21:21 +0000.621100][c19] AppDeviceManagerStopMic::mic


status is on
[2570:217] [2022-09-05 03:21:21 +0000.621118][c19] Try to stop webrtc device.

[2570:217] [2022-09-05 03:21:21 +0000.621138][c19] Set record state to


stopped.threadID:3097

[2570:261] [2022-09-05 03:21:21 +0000.665437][c19] Try to destory the


recorder.threadID:3097

[2570:462] [2022-09-05 03:21:21 +0000.865594][c19] DestroyAudioRecorder:


[2570:462] [2022-09-05 03:21:21 +0000.865676][c19] Cleanup the buffer queue in the
recorder.
[2570:462] [2022-09-05 03:21:21 +0000.865745][c19] Destroy the recorder.

[2570:463] [2022-09-05 03:21:21 +0000.866727][c19] StopRecording finished.

[2570:463] [2022-09-05 03:21:21 +0000.866803][c19] The stop recording success.

[2570:463] [2022-09-05 03:21:21 +0000.866834][c19]


AudioDeviceDataHandler::StopMicProcess

[2570:467] [2022-09-05 03:21:21 +0000.871092][c19] AppDeviceManager stop.

[2570:467] [2022-09-05 03:21:21 +0000.871212][c19] Rlease the webrtc device object.

[2570:468] [2022-09-05 03:21:21 +0000.871627][c19] OpenSlesInput destruct.

[2570:468] [2022-09-05 03:21:21 +0000.871732][c19] OpenSlesOutput destruct.

[2570:487] [2022-09-05 03:21:21 +0000.890860][c19] EventDispatchServerScope


destruct
[2570:487] [2022-09-05 03:21:21 +0000.890963][c19]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[2570:487] [2022-09-05 03:21:21 +0000.891029][c19] ~AudioDeviceDataHandler

[2570:490] [2022-09-05 03:21:21 +0000.893901][c19] AppDeviceManagerDestruct.

[2570:490] [2022-09-05 03:21:21 +0000.893948][c19] ~AppDeviceManager:


[2570:490] [2022-09-05 03:21:21 +0000.893977][c19] ~CpuOverloadDetect
time:660430447 enter.

[2570:490] [2022-09-05 03:21:21 +0000.894183][c19] ~CpuOverloadDetect leave.


expire time = 0 ms

[2570:491] [2022-09-05 03:21:21 +0000.895056][c19] Destruct BeautifyReader begin...


[2570:491] [2022-09-05 03:21:21 +0000.895092][c19] Destruct BeautifyReader done.
[2570:491] [2022-09-05 03:21:21 +0000.895114][c19] ~MediaFilterCamera leave.
expire time = 276 ms

[2570:493] [2022-09-05 03:21:21 +0000.896711][c19] ~GLESContext:


[2570:493] [2022-09-05 03:21:21 +0000.897289][c19] GLESContext destruct finish.
[2570:493] [2022-09-05 03:21:21 +0000.897326][c19] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[2570:494] [2022-09-05 03:21:21 +0000.897515][c19] global uninited!
[2570:494] [2022-09-05 03:21:21 +0000.897686][c19] clear AppID 50011
[2570:494] [2022-09-05 03:21:21 +0000.897716][c19] UnRegister JVM for Xplatform
util
[2570:494] [2022-09-05 03:21:21 +0000.897728][c19] Dispose::unregister webrtc video
engine
[2570:494] [2022-09-05 03:21:21 +0000.897749][c19] Init the android object with
jvm:0x0 env:0x0 context:0x0

[2570:494] [2022-09-05 03:21:21 +0000.897763][c19] SetAndroidMediaCodecObjects


time:660430451 enter.

[2570:494] [2022-09-05 03:21:21 +0000.897780][c19] ClearAndroidMediaCodecObjects


time:660430451 enter.

[2570:494] [2022-09-05 03:21:21 +0000.897792][c19] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[2570:494] [2022-09-05 03:21:21 +0000.897812][c19] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[2570:494] [2022-09-05 03:21:21 +0000.897823][c19] SetAndroidMediaCodecObjects


time:660430451 enter.

[2570:494] [2022-09-05 03:21:21 +0000.897842][c19] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[2570:494] [2022-09-05 03:21:21 +0000.897853][c19] ClearAndroidMediaCodecObjects
time:660430451 enter.

[2570:494] [2022-09-05 03:21:21 +0000.897873][c19] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[2570:494] [2022-09-05 03:21:21 +0000.897884][c19] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[2570:494] [2022-09-05 03:21:21 +0000.897904][c19] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[2570:494] [2022-09-05 03:21:21 +0000.897915][c19] Dispose::unregister webrtc voice


engine
[2570:494] [2022-09-05 03:21:21 +0000.897935][c19] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[2570:494] [2022-09-05 03:21:21 +0000.897947][c19] SystemUtil UnInit done


[3044:585] [2022-09-05 03:29:15 +0000.989000][c19] Register JVM for xplatform util
[3044:591] [2022-09-05 03:29:15 +0000.995076][c19] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
05 03:29:15 +0000
[3044:591] [2022-09-05 03:29:15 +0000.995131][c19] set AppID=50011 old AppID=-1
[3044:591] [2022-09-05 03:29:15 +0000.995158][c19] Init the android object with
jvm:0xb400007907b33540 env:0x78537e6d40 context:0x77cbcb4da8

[3044:591] [2022-09-05 03:29:15 +0000.995212][c19] SetAndroidMediaCodecObjects


time:660904548 enter.

[3044:591] [2022-09-05 03:29:15 +0000.995241][c19] SetAndroidMediaCodecObjects


leave. expire time = 0 ms
[3044:591] [2022-09-05 03:29:15 +0000.995270][c19] SetAndroidMediaCodecObjects
time:660904548 enter.

[3044:591] [2022-09-05 03:29:15 +0000.995302][c19] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007907b33540
[3044:591] [2022-09-05 03:29:15 +0000.995338][c19] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007907b33540 address:0x77388d3760
[3044:591] [2022-09-05 03:29:15 +0000.995369][c19] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007907b33540
address:0x77388d3760
[3044:591] [2022-09-05 03:29:15 +0000.995401][c19] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[3044:592] [2022-09-05 03:29:15 +0000.995435][c19] Set the android objects with


jvm:0xb400007907b33540 env:0x78537e6d40 context:0x77cbcb4da8

[3044:592] [2022-09-05 03:29:15 +0000.995468][c19] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78537e6d40
[3044:592] [2022-09-05 03:29:15 +0000.995502][c19] SystemUtil Init done
[3044:592] [2022-09-05 03:29:15 +0000.995807][c19]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[3044:592] [2022-09-05 03:29:15 +0000.995918][c19] MediaFilterCamera
[3044:592] [2022-09-05 03:29:15 +0000.995950][c19] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[3044:592] [2022-09-05 03:29:15 +0000.996054][c19] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[3044:592] [2022-09-05 03:29:15 +0000.996083][c19] Recording session using default
bitrate support by app:31457280
[3044:592] [2022-09-05 03:29:15 +0000.996083][599f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7755ea52c0
[3044:592] [2022-09-05 03:29:15 +0000.996316][599f] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[3044:592] [2022-09-05 03:29:15 +0000.996363][c19] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[3044:593] [2022-09-05 03:29:15 +0000.996884][c19] Error(ini.cc:191): Open the file
failed. error:2
[3044:593] [2022-09-05 03:29:15 +0000.996910][c19]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[3044:593] [2022-09-05 03:29:15 +0000.996944][c19] The device model: m2012k11ag
usingSoftwareAEC value: 0
[3044:595] [2022-09-05 03:29:15 +0000.998987][c19] Error(ini.cc:191): Open the file
failed. error:2
[3044:595] [2022-09-05 03:29:15 +0000.999025][c19]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[3044:595] [2022-09-05 03:29:15 +0000.999064][c19] The device model: m2012k11ag
usingHardwareAEC value: 0
[3044:595] [2022-09-05 03:29:15 +0000.999092][c19] The machine device: m2012k11ag
usingHardwareAEC value: 0
[3044:595] [2022-09-05 03:29:15 +0000.999122][c19] Using Default AEC type: software
AEC
[3044:596] [2022-09-05 03:29:15 +0000.999784][c19] The device model: m2012k11ag
enum value: 0
[3044:596] [2022-09-05 03:29:16 +0000.124][c19] GetMachineModel is M2012K11AG
[3044:596] [2022-09-05 03:29:16 +0000.171][c19] GetMachineInfo: M2012K11AG
[3044:596] [2022-09-05 03:29:16 +0000.212][c19] Construct BeautifyReader begin...
[3044:596] [2022-09-05 03:29:16 +0000.246][c19] dumpStickerRgba:0 dumpStickerYuv:0
[3044:596] [2022-09-05 03:29:16 +0000.277][c19] Construct BeautifyReader done.
[3044:599] [2022-09-05 03:29:16 +0000.3166][c19] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[3044:599] [2022-09-05 03:29:16 +0000.3192][59a2] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7907b6cda0
[3044:599] [2022-09-05 03:29:16 +0000.3232][c19] AppDeviceManager telnet server for
statistics started......
[3044:600] [2022-09-05 03:29:16 +0000.3606][c19] CpuOverloadDetect time:660904557
enter.

[3044:600] [2022-09-05 03:29:16 +0000.3663][c19] CpuOverloadDetect leave. expire


time = 0 ms

[3044:600] [2022-09-05 03:29:16 +0000.3678][59a3] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7751f09540
[3044:600] [2022-09-05 03:29:16 +0000.4019][c19] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[3044:600] [2022-09-05 03:29:16 +0000.4048][c19] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[3044:600] [2022-09-05 03:29:16 +0000.4252][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[3044:601] [2022-09-05 03:29:16 +0000.4491][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[3044:601] [2022-09-05 03:29:16 +0000.4673][c19] CreatePlatformSpecificObjects:
[3044:601] [2022-09-05 03:29:16 +0000.4707][c19] audio device use opensle input
and opensl output
[3044:601] [2022-09-05 03:29:16 +0000.4746][c19] Create OpenSLES output module with
java VM support.

[3044:601] [2022-09-05 03:29:16 +0000.4844][c19] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[3044:601] [2022-09-05 03:29:16 +0000.4965][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[3044:601] [2022-09-05 03:29:16 +0000.5097][c19] Create OpenSLES output module with
buffer num:1

[3044:601] [2022-09-05 03:29:16 +0000.5218][c19] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[3044:601] [2022-09-05 03:29:16 +0000.5347][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[3044:602] [2022-09-05 03:29:16 +0000.5466][c19] Create OpenSLES input module with
java VM support.

[3044:602] [2022-09-05 03:29:16 +0000.5502][c19] Create OpenSLES input module with


buffer num:1

[3044:602] [2022-09-05 03:29:16 +0000.5545][c19] Error(trace.cc:40): Init the


output and input for audio device template.
[3044:602] [2022-09-05 03:29:16 +0000.5581][c19] Init the output device.

[3044:602] [2022-09-05 03:29:16 +0000.5620][c19] Init the opensl input.


[3044:602] [2022-09-05 03:29:16 +0000.5656][c19] AppDeviceManager get setting
samplerate: 0
[3044:602] [2022-09-05 03:29:16 +0000.5888][c19] The device model: m2012k11ag enum
value: 0
[3044:602] [2022-09-05 03:29:16 +0000.6231][c19] The device model: m2012k11ag enum
value: 0
[3044:602] [2022-09-05 03:29:16 +0000.6258][c19] Set the sample rate to be:48000

[3044:602] [2022-09-05 03:29:16 +0000.6298][c19] Enable the recording stereo:0


[3044:602] [2022-09-05 03:29:16 +0000.6334][c19] Set the playout as stereo:1
[3044:602] [2022-09-05 03:29:16 +0000.6366][c19] Init the microphone.
[3044:603] [2022-09-05 03:29:16 +0000.6818][c19] Update the recording sample rate
to be: 48000
[3044:603] [2022-09-05 03:29:16 +0000.6859][c19] Init the speaker.
[3044:603] [2022-09-05 03:29:16 +0000.6893][c19] Low latency buffer size:144 low
sample rate:48000
[3044:603] [2022-09-05 03:29:16 +0000.7222][c19] Using 1 x 10ms for an audio frame.

[3044:606] [2022-09-05 03:29:16 +0000.10199][c19] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[3044:606] [2022-09-05 03:29:16 +0000.10305][c19] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[3044:606] [2022-09-05 03:29:16 +0000.10353][c19] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[3044:611] [2022-09-05 03:29:16 +0000.14708][c19] The device model:m2012k11ag

[3044:611] [2022-09-05 03:29:16 +0000.14761][c19] speaker output factor:100


defaultFactor: 100

[3044:611] [2022-09-05 03:29:16 +0000.14778][c19] headset output factor:100


defaultFactor: 100

[3044:611] [2022-09-05 03:29:16 +0000.15040][c19] AppDeviceManagerStart finished.


[3044:611] [2022-09-05 03:29:16 +0000.15092][c19] AppDeviceManagerStartMic::mic
status is off
[3044:611] [2022-09-05 03:29:16 +0000.15148][c19] AppDeviceManagerStartMic update
aec type: 2

[3044:611] [2022-09-05 03:29:16 +0000.15167][c19] AppDeviceManagerStartMic update


voiceChangeMode: 4

[3044:611] [2022-09-05 03:29:16 +0000.15201][c19]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[3044:611] [2022-09-05 03:29:16 +0000.15233][c19]
AudioDeviceDataHandler::StartMicProcess

[3044:611] [2022-09-05 03:29:16 +0000.15347][c19] Try to start webrtc recording


device.

[3044:611] [2022-09-05 03:29:16 +0000.15371][c19] StartRecording. threadID:3097

[3044:611] [2022-09-05 03:29:16 +0000.15370][59aa] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[3044:611] [2022-09-05 03:29:16 +0000.15426][c19] default mode: Set the recording
mode to voice communication to enable HW AEC .

[3044:612] [2022-09-05 03:29:16 +0000.15443][c19] Set the recording mode before


getSetting: 4
[3044:612] [2022-09-05 03:29:16 +0000.15478][c19] Set the recording mode after
getSetting: 1
[3044:643] [2022-09-05 03:29:16 +0000.46635][c19] StartRecording finished.

[3044:643] [2022-09-05 03:29:16 +0000.46737][c19] audio: start the audio mic


checker timer.

[3044:643] [2022-09-05 03:29:16 +0000.47053][c19] machine model :poco


[3044:643] [2022-09-05 03:29:16 +0000.47085][c19] Support this machine model :poco
[3044:643] [2022-09-05 03:29:16 +0000.47162][c19] global inited! current sdk
version: 07-20-936c45f
[3044:900] [2022-09-05 03:29:16 +0000.304193][46b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[3044:900] [2022-09-05 03:29:16 +0000.304375][59a0] MediaFilterCamera, recording
file context:0x783582c780 input texture:18
[3044:900] [2022-09-05 03:29:16 +0000.304425][59a0] GLESContext:
[3044:901] [2022-09-05 03:29:16 +0000.304495][59a0] The result of eglGetDisplay is:
0xb4000078537e3a00
[3044:901] [2022-09-05 03:29:16 +0000.305379][59a0] The result of creation:
0x776e2c5a00
[3044:902] [2022-09-05 03:29:16 +0000.305473][59a0] The result of
eglCreatePbufferSurface is: 0x776e2c5d00
[3044:902] [2022-09-05 03:29:16 +0000.305600][46b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x783582c780 input_texture: 18
[3045:020] [2022-09-05 03:29:16 +0000.423746][59aa] Run AGC when audioType = 0
[3045:020] [2022-09-05 03:29:16 +0000.423813][59aa]
AudioDeviceDataHandler::MixAndSendOutFrame
[3045:727] [2022-09-05 03:29:17 +0000.130900][59aa] haveEnoughProcessedData
internalAudioStream.length: 0
[3047:019] [2022-09-05 03:29:18 +0000.423393][59ab] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[3047:020] [2022-09-05 03:29:18 +0000.424131][59ab] _deviceSampleRate:48000

[3047:022] [2022-09-05 03:29:18 +0000.425483][59aa] Run AGC when audioType = 0


[3047:444] [2022-09-05 03:29:18 +0000.847563][59aa] haveEnoughProcessedData
internalAudioStream.length: 10
[3048:647] [2022-09-05 03:29:20 +0000.51420][67ed]
monitorTime:4004totalDuration:3940
[3049:022] [2022-09-05 03:29:20 +0000.426179][59aa] Run AGC when audioType = 0
[3049:022] [2022-09-05 03:29:20 +0000.426414][59aa]
AudioDeviceDataHandler::MixAndSendOutFrame
[3049:162] [2022-09-05 03:29:20 +0000.566166][59aa] haveEnoughProcessedData
internalAudioStream.length: 20
[3050:876] [2022-09-05 03:29:22 +0000.279573][59aa] haveEnoughProcessedData
internalAudioStream.length: 0
[3051:021] [2022-09-05 03:29:22 +0000.425069][59aa] Run AGC when audioType = 0
[3052:545] [2022-09-05 03:29:23 +0000.949096][bcc] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[3052:545] [2022-09-05 03:29:23 +0000.949161][bcc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[3052:547] [2022-09-05 03:29:23 +0000.950899][bcc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[3052:548] [2022-09-05 03:29:23 +0000.951444][59a0] operator() time:660912505
enter.

[3052:548] [2022-09-05 03:29:23 +0000.951571][59a0] MediaFilterCamera, recording


file context:0x783582c780 input texture:18
[3052:551] [2022-09-05 03:29:23 +0000.955073][59a0] MicSource: Mic source
created:10x7842534580
[3052:552] [2022-09-05 03:29:23 +0000.955677][59a0] alloc thread: 0x7764905380
name:worker0 thread id:512533540016 to Mic_source
[3052:552] [2022-09-05 03:29:23 +0000.956274][59a0] audio: start the audio sender
thread.

[3052:554] [2022-09-05 03:29:23 +0000.958360][59a0] construct OpenGLRenderProgram


0x77648ab498
[3052:554] [2022-09-05 03:29:23 +0000.958419][59a0] CropFilter::SetOrientation
orientation: 90
[3052:555] [2022-09-05 03:29:23 +0000.958674][59a0] filter: filter pipeline
construtc this: 0x77649782c0
[3052:555] [2022-09-05 03:29:23 +0000.958714][59a0] filter: filter pipeline2 update
pattern: 1
[3052:556] [2022-09-05 03:29:23 +0000.959973][59a0] CameraSource::source_id_:5
[3052:556] [2022-09-05 03:29:23 +0000.960008][59a0] RecordAudioSource::source_id_:6
[3052:556] [2022-09-05 03:29:23 +0000.960269][59a0] BindInputFilter 0x7764905ac0
this 0x77648ab6c0
[3052:556] [2022-09-05 03:29:23 +0000.960334][59a0] BindInputFilter 0x7764905f58
this 0x77649060d0
[3052:556] [2022-09-05 03:29:23 +0000.960413][59a0] BindInputFilter 0x77648ab6c0
this 0x7764978360
[3052:558] [2022-09-05 03:29:23 +0000.962266][59a0] setParamentForFilters:
speed:1.000000
[3052:558] [2022-09-05 03:29:23 +0000.962313][59a0] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[3052:558] [2022-09-05 03:29:23 +0000.962337][59a0] SetParamForFilter
time:660912515 enter.

[3052:559] [2022-09-05 03:29:23 +0000.962511][59a0] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[3052:559] [2022-09-05 03:29:23 +0000.962590][59a0] SetParamForFilter: Params
video index is: 0
[3052:559] [2022-09-05 03:29:23 +0000.962610][59a0] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[3052:559] [2022-09-05 03:29:23 +0000.962629][59a0] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[3052:559] [2022-09-05 03:29:23 +0000.962652][59a0] crop filter mode tpye:
citytravelvideo index:0
[3052:566] [2022-09-05 03:29:23 +0000.969781][59a0]
Warning(parse_template_json.cc:45): json parament no found the parament
[3052:566] [2022-09-05 03:29:23 +0000.969891][59a0]
Warning(parse_template_json.cc:45): json parament no found the parament
[3052:566] [2022-09-05 03:29:23 +0000.969920][59a0]
Warning(parse_template_json.cc:45): json parament no found the parament
[3052:566] [2022-09-05 03:29:23 +0000.969941][59a0]
Warning(parse_template_json.cc:45): json parament no found the parament
[3052:566] [2022-09-05 03:29:23 +0000.969990][59a0]
Warning(parse_template_json.cc:45): json parament no found the parament
[3052:566] [2022-09-05 03:29:23 +0000.970049][59a0]
Warning(parse_template_json.cc:45): json parament no found the parament
[3052:566] [2022-09-05 03:29:23 +0000.970108][59a0]
Warning(parse_template_json.cc:45): json parament no found the parament
[3052:566] [2022-09-05 03:29:23 +0000.970151][59a0]
Warning(parse_template_json.cc:81): json parament no found the parament
[3052:566] [2022-09-05 03:29:23 +0000.970187][59a0]
Warning(parse_template_json.cc:81): json parament no found the parament
[3052:566] [2022-09-05 03:29:23 +0000.970230][59a0]
Warning(parse_template_json.cc:67): json parament no found the parament
[3052:566] [2022-09-05 03:29:23 +0000.970252][59a0]
Warning(parse_template_json.cc:93): json parament no found the duration
[3052:566] [2022-09-05 03:29:23 +0000.970328][59a0] SetParamForFilter leave.
expire time = 8 ms

[3052:567] [2022-09-05 03:29:23 +0000.970692][59a0] OnOutputSizeChanged width 1920


height 1080
[3052:568] [2022-09-05 03:29:23 +0000.971440][59a0] OpenGLFrameBuffer: width:1920
height:1080
[3052:568] [2022-09-05 03:29:23 +0000.971550][59a0] OpenGLFrameBuffer: width:1920
height:1080
[3052:568] [2022-09-05 03:29:23 +0000.971580][59a0] OpenGLFrameBuffer: width:1920
height:1080
[3052:568] [2022-09-05 03:29:23 +0000.971626][59a0] OpenGLFrameBuffer: width:1920
height:1080
[3052:568] [2022-09-05 03:29:23 +0000.971704][59a0] OpenGLFrameBuffer: width:1920
height:1080
[3052:568] [2022-09-05 03:29:23 +0000.971733][59a0] OpenGLFrameBuffer: width:1920
height:1080
[3052:568] [2022-09-05 03:29:23 +0000.971748][59a0] construct TrivalImageDrawer
0x77520c7d00
[3052:568] [2022-09-05 03:29:23 +0000.971808][59a0] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x77520c7d00 context 0x7781033ac0
[3052:568] [2022-09-05 03:29:23 +0000.971857][59a0] setupGLES:
[3052:570] [2022-09-05 03:29:23 +0000.973904][59a0]
OpenGLRenderProgram::Initialize.
[3052:570] [2022-09-05 03:29:23 +0000.973996][59a0] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[3052:570] [2022-09-05 03:29:23 +0000.974020][59a0] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[3052:570] [2022-09-05 03:29:23 +0000.974064][59a0] Init open gl render:
0x77648ab498
[3052:570] [2022-09-05 03:29:23 +0000.974088][59a0] Fragement shader path:
[3052:570] [2022-09-05 03:29:23 +0000.974111][59a0] Fragement shader path:
[3052:570] [2022-09-05 03:29:23 +0000.974199][59a0] create opengl program object.
[3052:570] [2022-09-05 03:29:23 +0000.974215][59a0] create shader: vertex
[3052:571] [2022-09-05 03:29:23 +0000.974491][59a0] create shader: fragment
[3052:572] [2022-09-05 03:29:23 +0000.975870][59a0] Have not extra filter filename!
[3052:572] [2022-09-05 03:29:23 +0000.975945][59a0] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[3052:572] [2022-09-05 03:29:23 +0000.975966][59a0] OpenGLRenderProgram::Initialize
success.
[3052:572] [2022-09-05 03:29:23 +0000.976027][59a0] Setup the OpenGL result:1
[3052:572] [2022-09-05 03:29:23 +0000.976495][599f] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4
[3052:573] [2022-09-05 03:29:23 +0000.976779][599f] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[3052:574] [2022-09-05 03:29:23 +0000.977928][59f9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7907b93a98
[3052:576] [2022-09-05 03:29:23 +0000.979587][599f] 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
[3052:576] [2022-09-05 03:29:23 +0000.979713][599f] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4
fileFD: -1
[3052:580] [2022-09-05 03:29:23 +0000.984237][599f] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4
is opened successfully
[3052:580] [2022-09-05 03:29:23 +0000.984317][599f] setupMediaProcessers:
[3052:580] [2022-09-05 03:29:23 +0000.984345][599f]
RecordingSessionInternalSimple:setup media processers.
[3052:580] [2022-09-05 03:29:23 +0000.984372][599f] construct AAC encoder
[3052:583] [2022-09-05 03:29:23 +0000.986795][599f] H264Encoder creating:
superfast011818
[3052:583] [2022-09-05 03:29:23 +0000.986843][599f] H264Encode::H264Encoder
creating with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[3052:583] [2022-09-05 03:29:23 +0000.987421][599f] H264Encode::GetMachineModel is
M2012K11AG
[3052:584] [2022-09-05 03:29:23 +0000.987467][599f] H264Encoder machine_mode
is:M2012K11AG
[3052:584] [2022-09-05 03:29:23 +0000.987497][599f] H264Encode::machine size :9
machine_mode:M2012K11AG
[3052:584] [2022-09-05 03:29:23 +0000.987537][599f] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[3052:584] [2022-09-05 03:29:23 +0000.987569][599f] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[3052:584] [2022-09-05 03:29:23 +0000.987586][599f] setupCompressionSession:
[3052:584] [2022-09-05 03:29:23 +0000.987642][599f] H264Encode::creating hareware
Encoder
[3052:584] [2022-09-05 03:29:23 +0000.987660][599f] AndroidHwAvcEncoder
time:660912541 enter.

[3052:584] [2022-09-05 03:29:23 +0000.987849][599f] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007907b33540 address:0x77388d3760
[3052:584] [2022-09-05 03:29:23 +0000.987958][599f] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[3052:584] [2022-09-05 03:29:23 +0000.987983][599f] The video avc hw codec address
is 0x776e9b66d0
[3052:584] [2022-09-05 03:29:23 +0000.988037][599f] AndroidHwAvcEncoder leave.
expire time = 0 ms

[3052:584] [2022-09-05 03:29:23 +0000.988074][599f] RegisterEncodeCompleteCallback


time:660912541 enter.

[3052:584] [2022-09-05 03:29:23 +0000.988151][599f] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[3052:584] [2022-09-05 03:29:23 +0000.988186][599f] InitEncode time:660912541


enter.

[3052:584] [2022-09-05 03:29:23 +0000.988239][599f] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[3052:584] [2022-09-05 03:29:23 +0000.988264][599f] Create time:660912541 enter.

[3052:584] [2022-09-05 03:29:23 +0000.988281][599f] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[3052:584] [2022-09-05 03:29:23 +0000.988302][599f]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x776ec0e240
[3052:585] [2022-09-05 03:29:23 +0000.988460][599f]
supported_type:image/vnd.android.heic
[3052:585] [2022-09-05 03:29:23 +0000.988547][599f] supported_type:video/avc
[3052:585] [2022-09-05 03:29:23 +0000.988599][599f] name:OMX.qcom.video.encoder.avc
mime:video/avc
[3052:585] [2022-09-05 03:29:23 +0000.988630][599f] hwCodecPrefix :OMX.qcom.
[3052:585] [2022-09-05 03:29:23 +0000.988649][599f] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[3052:585] [2022-09-05 03:29:23 +0000.988668][599f] mediacodec_createCodecByName
time:660912542 enter.

[3052:585] [2022-09-05 03:29:23 +0000.988685][599f] WrapAndroidMediaCodec


time:660912542 enter.

[3052:585] [2022-09-05 03:29:23 +0000.988686][59aa] haveEnoughProcessedData


internalAudioStream.length: 0
[3052:585] [2022-09-05 03:29:23 +0000.988774][599f] WrapAndroidMediaCodec leave.
expire time = 0 ms

[3052:603] [2022-09-05 03:29:24 +0000.6650][599f] mediacodec_createCodecByName


leave. expire time = 18 ms

[3052:603] [2022-09-05 03:29:24 +0000.6721][599f] WrapAndroidMediaFromat


time:660912560 enter.

[3052:605] [2022-09-05 03:29:24 +0000.8494][599f] WrapAndroidMediaFromat leave.


expire time = 2 ms

[3052:628] [2022-09-05 03:29:24 +0000.31661][599f] Destroy time:660912585 enter.

[3052:628] [2022-09-05 03:29:24 +0000.31707][599f] WrapAndroidMediaFromat::


Destroy
[3052:628] [2022-09-05 03:29:24 +0000.31725][599f] Destroy leave. expire time = 0
ms
[3052:628] [2022-09-05 03:29:24 +0000.31741][599f] ~WrapAndroidMediaFromat
time:660912585 enter.

[3052:628] [2022-09-05 03:29:24 +0000.31757][599f] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[3052:628] [2022-09-05 03:29:24 +0000.31774][599f] Create leave. expire time = 44


ms

[3052:628] [2022-09-05 03:29:24 +0000.31790][599f] isSemiPlanarSupport


time:660912585 enter.

[3052:628] [2022-09-05 03:29:24 +0000.31830][599f] H264Encoder isSemiPlanarSupport


[3052:628] [2022-09-05 03:29:24 +0000.31846][599f] isSemiPlanarSupport leave.
expire time = 0 ms

[3052:628] [2022-09-05 03:29:24 +0000.31902][599f] creat hw H264Encoder success,


isSemiPlanar:1
[3052:628] [2022-09-05 03:29:24 +0000.31983][599f] InitEncode leave. expire time =
44 ms

[3052:628] [2022-09-05 03:29:24 +0000.32010][599f] H264Encode::created Encoder


[3052:628] [2022-09-05 03:29:24 +0000.32045][599f] H264Encode:: H264 encoder
created.
[3052:628] [2022-09-05 03:29:24 +0000.32077][599f] H264 encoder created.
[3052:628] [2022-09-05 03:29:24 +0000.32108][599f]
RecordingSessionInternalSimple:created avc encoder avc: 0x7751c6bdc0
[3052:628] [2022-09-05 03:29:24 +0000.32138][599f] setOutput:
[3052:628] [2022-09-05 03:29:24 +0000.32167][599f]
RecordingSessionInternalSimple:encoder set output to muxer!
[3052:628] [2022-09-05 03:29:24 +0000.32196][599f] request a key frame
[3052:628] [2022-09-05 03:29:24 +0000.32226][599f] H264Encode:: request a key frame
[3052:629] [2022-09-05 03:29:24 +0000.32641][599f] setDisplayRotate :90
[3052:629] [2022-09-05 03:29:24 +0000.32683][599f] 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
[3052:629] [2022-09-05 03:29:24 +0000.32736][59a0] StartRecording:
[3052:629] [2022-09-05 03:29:24 +0000.32981][59f0] operator(): Set the recording
session in mic source. recording session: 0x7764905e00
[3052:629] [2022-09-05 03:29:24 +0000.33211][59a0] operator() leave. expire time =
81 ms

[3052:671] [2022-09-05 03:29:24 +0000.75317][59a0] begine recode to first frame


spend time:123
[3052:673] [2022-09-05 03:29:24 +0000.77151][59a0]
GPUImageProcessing::SetOrientation orientation: 90
[3052:675] [2022-09-05 03:29:24 +0000.78817][59a0] drawYUV420 render
OpenGLRenderProgram:0x77648ab498
[3052:712] [2022-09-05 03:29:24 +0000.116312][59a0] drawYUV420 render
OpenGLRenderProgram:0x77648ab498
[3052:724] [2022-09-05 03:29:24 +0000.128049][59f7]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[3052:747] [2022-09-05 03:29:24 +0000.151281][59a0] drawYUV420 render
OpenGLRenderProgram:0x77648ab498
[3052:771] [2022-09-05 03:29:24 +0000.174513][59f9] add aac audio track with id:1
[3052:771] [2022-09-05 03:29:24 +0000.174799][59f9] audio start ts:0
[3052:771] [2022-09-05 03:29:24 +0000.174899][59f9] the audio frame has been
written into MP4 file
[3052:808] [2022-09-05 03:29:24 +0000.212154][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3052:820] [2022-09-05 03:29:24 +0000.223549][59f7] h264 add frame header cdr flag
[3052:821] [2022-09-05 03:29:24 +0000.224744][59f7] h264 add frame header cdr flag
[3052:823] [2022-09-05 03:29:24 +0000.227424][59f7] Received key frame:0
[3052:824] [2022-09-05 03:29:24 +0000.227511][59f7] H264Encode:: get a sps pps
header!headerSize:32
[3052:824] [2022-09-05 03:29:24 +0000.227612][59f9] get the H.264 SPS parameter
[3052:824] [2022-09-05 03:29:24 +0000.227910][59f9] add video track with id:2
[3052:827] [2022-09-05 03:29:24 +0000.230691][59f9] get the H.264 PPS parameter
[3052:828] [2022-09-05 03:29:24 +0000.231878][59f9] get the H.264 IDR frame
[3052:828] [2022-09-05 03:29:24 +0000.231937][59f9] resss:true
[3052:828] [2022-09-05 03:29:24 +0000.231964][59f9] video start ts:0
[3052:828] [2022-09-05 03:29:24 +0000.232342][59f9] the video frame has been
written into MP4 file
[3052:881] [2022-09-05 03:29:24 +0000.285300][59f7] DTS queue for
Generator:0x7907ca50b8 132 164
[3052:909] [2022-09-05 03:29:24 +0000.313216][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3052:978] [2022-09-05 03:29:24 +0000.382175][59a0] The convert RGB to YUV take 2
[3052:981] [2022-09-05 03:29:24 +0000.384488][59f7] Push an pts:262 to dts queue.
[3053:017] [2022-09-05 03:29:24 +0000.421231][59f7] last dts:232 currentPts:262
ppsOrSPS:0 queue length:2
[3053:023] [2022-09-05 03:29:24 +0000.426562][59aa] Run AGC when audioType = 0
[3053:023] [2022-09-05 03:29:24 +0000.426790][59aa]
AudioDeviceDataHandler::MixAndSendOutFrame
[3053:052] [2022-09-05 03:29:24 +0000.455652][59ef] resampled_data_size:11776
[3053:410] [2022-09-05 03:29:24 +0000.813725][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3053:483] [2022-09-05 03:29:24 +0000.887152][59a0] The convert RGB to YUV take 7
[3053:669] [2022-09-05 03:29:25 +0000.73395][59ef] AF_SpeedFilter audio
0x7764905f80 PullFrame
[3053:722] [2022-09-05 03:29:25 +0000.126172][59f7] DTS queue for
Generator:0x7907ca50b8 962 998
[3053:793] [2022-09-05 03:29:25 +0000.197439][59f6]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 1068queue_audio_frame_:1
[3053:810] [2022-09-05 03:29:25 +0000.214013][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3053:859] [2022-09-05 03:29:25 +0000.262532][59ef] AF_SpeedFilter::PullFrame eof4
[3053:863] [2022-09-05 03:29:25 +0000.266816][59ef]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[3053:906] [2022-09-05 03:29:25 +0000.309530][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3053:977] [2022-09-05 03:29:25 +0000.381238][59a0] The convert RGB to YUV take 4
[3054:175] [2022-09-05 03:29:25 +0000.578993][59f7]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:1459
[3054:236] [2022-09-05 03:29:25 +0000.639492][59a0] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[3054:236] [2022-09-05 03:29:25 +0000.639548][59a0] GPUImageProcessing: input frame
width1920 X 1080
[3054:237] [2022-09-05 03:29:25 +0000.640980][59a0] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[3054:237] [2022-09-05 03:29:25 +0000.641083][59a0] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[3054:305] [2022-09-05 03:29:25 +0000.709187][59aa] haveEnoughProcessedData
internalAudioStream.length: 10
[3054:314] [2022-09-05 03:29:25 +0000.717949][59f7] Push an pts:1591 to dts queue.
[3054:346] [2022-09-05 03:29:25 +0000.749631][59f7] last dts:1559 currentPts:1591
ppsOrSPS:0 queue length:2
[3054:405] [2022-09-05 03:29:25 +0000.809245][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3054:440] [2022-09-05 03:29:25 +0000.844516][59a0] webrtc common_video plane
old ..... (1/1000) new: 12001 delete: 11984 diff: 17
[3054:482] [2022-09-05 03:29:25 +0000.885709][59a0] The convert RGB to YUV take 12
[3054:521] [2022-09-05 03:29:25 +0000.924894][59ef]
RecordAudioSource::PullAudioFrame
[3054:547] [2022-09-05 03:29:25 +0000.950537][59f7] DTS queue for
Generator:0x7907ca50b8 1795 1829
[3054:619] [2022-09-05 03:29:26 +0000.22764][59a0] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[3054:747] [2022-09-05 03:29:26 +0000.150770][59f7] h264 add frame header cdr flag
[3054:747] [2022-09-05 03:29:26 +0000.151011][59f7] Received key frame:1990
[3054:776] [2022-09-05 03:29:26 +0000.180350][59f9] get the H.264 IDR frame
[3054:808] [2022-09-05 03:29:26 +0000.211800][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3054:907] [2022-09-05 03:29:26 +0000.311100][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3054:944] [2022-09-05 03:29:26 +0000.347641][59a0] FilterPipeline2::OnVideoFrame
pts 2268 last_video_timestamp_ 2268
[3054:975] [2022-09-05 03:29:26 +0000.379270][59a0] The convert RGB to YUV take 2
[3055:021] [2022-09-05 03:29:26 +0000.424945][59aa] Run AGC when audioType = 0
[3055:295] [2022-09-05 03:29:26 +0000.699415][59ef] AF_SpeedFilter audio
0x7764905f80 PullFrame
[3055:304] [2022-09-05 03:29:26 +0000.707486][59ef] resampled_data_size:2560
[3055:352] [2022-09-05 03:29:26 +0000.755522][59f7] DTS queue for
Generator:0x7907ca50b8 2626
[3055:405] [2022-09-05 03:29:26 +0000.808751][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3055:480] [2022-09-05 03:29:26 +0000.884433][59a0] The convert RGB to YUV take 6
[3055:646] [2022-09-05 03:29:27 +0000.49829][59f7] Push an pts:2925 to dts queue.
[3055:679] [2022-09-05 03:29:27 +0000.83201][59f7] SendFrame
encodedImage._timeStamp:2925encodedImage->_length:94912
[3055:679] [2022-09-05 03:29:27 +0000.83288][59f7] last dts:2892 currentPts:2925
ppsOrSPS:0 queue length:2
[3055:815] [2022-09-05 03:29:27 +0000.219049][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3055:818] [2022-09-05 03:29:27 +0000.222115][59f7] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3058 pts:3058
[3055:902] [2022-09-05 03:29:27 +0000.306261][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3055:968] [2022-09-05 03:29:27 +0000.371764][59a0] drawYUV420 render
OpenGLRenderProgram:0x77648ab498
[3055:972] [2022-09-05 03:29:27 +0000.375568][59a0] The convert RGB to YUV take 3
[3055:974] [2022-09-05 03:29:27 +0000.377753][59f7] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3257
[3055:974] [2022-09-05 03:29:27 +0000.377807][59f7] push video frame to H264
encoder. (100 frame for one log)

[3055:974] [2022-09-05 03:29:27 +0000.377878][59f7] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[3055:974] [2022-09-05 03:29:27 +0000.377902][59f7] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3257(100 frame for one
log)

[3055:974] [2022-09-05 03:29:27 +0000.377929][59f7] The input pts:3257 fps:30


[3056:014] [2022-09-05 03:29:27 +0000.417822][59f7] H264Encode::H264SWEncoder get
callback, length:139024 type:1 nalType:1length:139020
[3056:020] [2022-09-05 03:29:27 +0000.423786][59aa] haveEnoughProcessedData
internalAudioStream.length: 20
[3056:153] [2022-09-05 03:29:27 +0000.556506][59f6]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 3390queue_audio_frame_:4
[3056:182] [2022-09-05 03:29:27 +0000.585435][59f7] DTS queue for
Generator:0x7907ca50b8 3457
[3056:210] [2022-09-05 03:29:27 +0000.614522][59ef] AF_SpeedFilter::PullFrame eof4
[3056:215] [2022-09-05 03:29:27 +0000.619303][59ef]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[3056:402] [2022-09-05 03:29:27 +0000.805583][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3056:428] [2022-09-05 03:29:27 +0000.831552][59ef]
RecordAudioSource::PullAudioFrame
[3056:473] [2022-09-05 03:29:27 +0000.876626][59a0] The convert RGB to YUV take 3
[3056:536] [2022-09-05 03:29:27 +0000.940369][59a0] webrtc common_video plane
old ..... (1/1000) new: 13001 delete: 12980 diff: 21
[3056:742] [2022-09-05 03:29:28 +0000.146124][59f0] The output timestamp from audio
mixer change:660916698
[3056:745] [2022-09-05 03:29:28 +0000.148824][59f7] h264 add frame header cdr flag
[3056:745] [2022-09-05 03:29:28 +0000.149054][59f7] Received key frame:3988
[3056:780] [2022-09-05 03:29:28 +0000.183984][59f9] get the H.264 IDR frame
[3056:803] [2022-09-05 03:29:28 +0000.207331][59aa] On audio frame the broadcast
with timestamp:660916760 samples:480. (1000 frame for one log)

[3056:806] [2022-09-05 03:29:28 +0000.210474][59f0] Get data in mic source, which


has byte length:1764micAudioStream->length():20
[3056:807] [2022-09-05 03:29:28 +0000.210772][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3056:903] [2022-09-05 03:29:28 +0000.306807][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3056:929] [2022-09-05 03:29:28 +0000.332597][59ef] AF_SpeedFilter audio
0x7764905f80 PullFrame
[3056:971] [2022-09-05 03:29:28 +0000.374913][59a0] The convert RGB to YUV take 3
[3056:972] [2022-09-05 03:29:28 +0000.375972][59f7] Push an pts:4255 to dts queue.
[3057:009] [2022-09-05 03:29:28 +0000.412520][59f7] DTS queue for
Generator:0x7907ca50b8 4255 4289
[3057:012] [2022-09-05 03:29:28 +0000.415826][59f7] last dts:4224 currentPts:4255
ppsOrSPS:0 queue length:2
[3057:019] [2022-09-05 03:29:28 +0000.423205][59ab] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[3057:019] [2022-09-05 03:29:28 +0000.423345][59ab] _deviceSampleRate:48000

[3057:021] [2022-09-05 03:29:28 +0000.424987][59aa] Run AGC when audioType = 0


[3057:021] [2022-09-05 03:29:28 +0000.425120][59aa]
AudioDeviceDataHandler::MixAndSendOutFrame
[3057:395] [2022-09-05 03:29:28 +0000.798843][59ef] AF_SpeedFilter audio time,
0x7764905f80 rcv time: 660917340
[3057:395] [2022-09-05 03:29:28 +0000.798916][59ef] AF_SpeedFilter audio time,
0x7764905f80 rcv time: 660917340in_nSamples:441
[3057:402] [2022-09-05 03:29:28 +0000.805571][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3057:469] [2022-09-05 03:29:28 +0000.872596][59ef] resampled_data_size:14848
[3057:469] [2022-09-05 03:29:28 +0000.872696][59ef]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 660917339
[3057:469] [2022-09-05 03:29:28 +0000.872778][59ef]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[3057:477] [2022-09-05 03:29:28 +0000.881293][59a0] The convert RGB to YUV take 5
[3057:513] [2022-09-05 03:29:28 +0000.916816][59f7]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:4791
[3057:604] [2022-09-05 03:29:29 +0000.7585][59a0] GPUImageProcessing: process video
frame with resolution 1920 X 1080
[3057:604] [2022-09-05 03:29:29 +0000.7701][59a0] GPUImageProcessing: input frame
width1920 X 1080
[3057:605] [2022-09-05 03:29:29 +0000.8660][59a0] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[3057:605] [2022-09-05 03:29:29 +0000.8794][59a0] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[3057:742] [2022-09-05 03:29:29 +0000.146180][59aa] haveEnoughProcessedData
internalAudioStream.length: 10
[3057:810] [2022-09-05 03:29:29 +0000.213915][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3057:836] [2022-09-05 03:29:29 +0000.239638][59f7] DTS queue for
Generator:0x7907ca50b8 5089 5119
[3057:902] [2022-09-05 03:29:29 +0000.306193][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3057:972] [2022-09-05 03:29:29 +0000.375826][59a0] The convert RGB to YUV take 3
[3058:306] [2022-09-05 03:29:29 +0000.709845][59f7] Push an pts:5588 to dts queue.
[3058:345] [2022-09-05 03:29:29 +0000.748663][59f7] last dts:5556 currentPts:5588
ppsOrSPS:0 queue length:2
[3058:383] [2022-09-05 03:29:29 +0000.787360][59ef]
RecordAudioSource::PullAudioFrame
[3058:401] [2022-09-05 03:29:29 +0000.805257][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3058:471] [2022-09-05 03:29:29 +0000.874731][59a0] The convert RGB to YUV take 6
[3058:508] [2022-09-05 03:29:29 +0000.912409][59f6]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 5712queue_audio_frame_:8
[3058:602] [2022-09-05 03:29:30 +0000.5838][59ef] AF_SpeedFilter audio 0x7764905f80
PullFrame
[3058:613] [2022-09-05 03:29:30 +0000.16561][59a0] webrtc common_video plane
old ..... (1/1000) new: 14001 delete: 13984 diff: 17
[3058:627] [2022-09-05 03:29:30 +0000.31401][59ef] AF_SpeedFilter::PullFrame eof4
[3058:632] [2022-09-05 03:29:30 +0000.35717][59ef]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[3058:679] [2022-09-05 03:29:30 +0000.82928][59f7] DTS queue for
Generator:0x7907ca50b8 5924 5960
[3058:744] [2022-09-05 03:29:30 +0000.148339][59f7] h264 add frame header cdr flag
[3058:745] [2022-09-05 03:29:30 +0000.148552][59f7] Received key frame:5992
[3058:779] [2022-09-05 03:29:30 +0000.182766][59f9] get the H.264 IDR frame
[3058:806] [2022-09-05 03:29:30 +0000.209489][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3058:898] [2022-09-05 03:29:30 +0000.301930][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3058:974] [2022-09-05 03:29:30 +0000.377676][59a0] The convert RGB to YUV take 3
[3059:016] [2022-09-05 03:29:30 +0000.419861][59f7] SendFrame
encodedImage._timeStamp:6258encodedImage->_length:76496
[3059:024] [2022-09-05 03:29:30 +0000.427453][59aa] Run AGC when audioType = 0
[3059:181] [2022-09-05 03:29:30 +0000.585096][59f7] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6423 pts:6423
[3059:301] [2022-09-05 03:29:30 +0000.705021][59a0] drawYUV420 render
OpenGLRenderProgram:0x77648ab498
[3059:337] [2022-09-05 03:29:30 +0000.740800][59f7] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6621
[3059:337] [2022-09-05 03:29:30 +0000.740976][59f7] push video frame to H264
encoder. (100 frame for one log)

[3059:337] [2022-09-05 03:29:30 +0000.741009][59f7] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[3059:337] [2022-09-05 03:29:30 +0000.741027][59f7] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6621(100 frame for one
log)

[3059:337] [2022-09-05 03:29:30 +0000.741051][59f7] The input pts:6621 fps:30


[3059:372] [2022-09-05 03:29:30 +0000.776219][59f7] H264Encode::H264SWEncoder get
callback, length:71440 type:1 nalType:1length:71436
[3059:400] [2022-09-05 03:29:30 +0000.803787][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3059:464] [2022-09-05 03:29:30 +0000.867758][59aa] haveEnoughProcessedData
internalAudioStream.length: 0
[3059:476] [2022-09-05 03:29:30 +0000.879799][59a0] The convert RGB to YUV take 6
[3059:484] [2022-09-05 03:29:30 +0000.888084][59f7] DTS queue for
Generator:0x7907ca50b8 6758
[3059:640] [2022-09-05 03:29:31 +0000.43851][59f7] Push an pts:6921 to dts queue.
[3059:676] [2022-09-05 03:29:31 +0000.79988][59f7] last dts:6893 currentPts:6921
ppsOrSPS:0 queue length:2
[3059:727] [2022-09-05 03:29:31 +0000.130857][59ef] resampled_data_size:5632
[3059:803] [2022-09-05 03:29:31 +0000.206506][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3059:826] [2022-09-05 03:29:31 +0000.229928][59ef] AF_SpeedFilter audio time 111,
0x7764905f80 out time: 660919719 org time: 660919719
[3059:901] [2022-09-05 03:29:31 +0000.304442][59a0] The read pixel from buffer
take: 1 width:1920 height:1080 frameType:0
[3059:930] [2022-09-05 03:29:31 +0000.334077][59ef] AF_SpeedFilter audio time
[3059:966] [2022-09-05 03:29:31 +0000.370024][59a0] The convert RGB to YUV take 2
[3060:254] [2022-09-05 03:29:31 +0000.658093][59ef] AF_SpeedFilter audio
0x7764905f80 PullFrame
[3060:309] [2022-09-05 03:29:31 +0000.713235][59f7] DTS queue for
Generator:0x7907ca50b8 7585
[3060:334] [2022-09-05 03:29:31 +0000.737783][59ef]
RecordAudioSource::PullAudioFrame
[3060:396] [2022-09-05 03:29:31 +0000.800078][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3060:485] [2022-09-05 03:29:31 +0000.889340][59a0] The convert RGB to YUV take 3
[3060:675] [2022-09-05 03:29:32 +0000.79187][59ef] FilterPipeline2::OnAudioFrame
pts 7980 last_audio_timestamp_ 7980
[3060:702] [2022-09-05 03:29:32 +0000.106136][59a0] webrtc common_video plane
old ..... (1/1000) new: 15001 delete: 14980 diff: 21
[3060:741] [2022-09-05 03:29:32 +0000.144894][59f7] h264 add frame header cdr flag
[3060:741] [2022-09-05 03:29:32 +0000.145144][59f7] Received key frame:7990
[3060:783] [2022-09-05 03:29:32 +0000.187129][59f9] get the H.264 IDR frame
[3060:784] [2022-09-05 03:29:32 +0000.188310][59f6]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 8034queue_audio_frame_:2
[3060:803] [2022-09-05 03:29:32 +0000.206642][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3060:839] [2022-09-05 03:29:32 +0000.242765][59f7]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:8120
[3060:899] [2022-09-05 03:29:32 +0000.303138][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3060:965] [2022-09-05 03:29:32 +0000.369417][59a0] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[3060:966] [2022-09-05 03:29:32 +0000.369490][59a0] GPUImageProcessing: input frame
width1920 X 1080
[3060:966] [2022-09-05 03:29:32 +0000.370002][59a0] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[3060:967] [2022-09-05 03:29:32 +0000.371227][59a0] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[3060:969] [2022-09-05 03:29:32 +0000.373299][59a0] The convert RGB to YUV take 2
[3060:972] [2022-09-05 03:29:32 +0000.376346][59f7] Push an pts:8254 to dts queue.
[3061:007] [2022-09-05 03:29:32 +0000.410752][59f7] last dts:8218 currentPts:8254
ppsOrSPS:0 queue length:2
[3061:024] [2022-09-05 03:29:32 +0000.427591][59aa] Run AGC when audioType = 0
[3061:024] [2022-09-05 03:29:32 +0000.427973][59aa]
AudioDeviceDataHandler::MixAndSendOutFrame
[3061:062] [2022-09-05 03:29:32 +0000.466240][59ef] AF_SpeedFilter::PullFrame eof4
[3061:080] [2022-09-05 03:29:32 +0000.483762][59ef]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[3061:138] [2022-09-05 03:29:32 +0000.542242][59f7] DTS queue for
Generator:0x7907ca50b8 8398 8422
[3061:191] [2022-09-05 03:29:32 +0000.594856][59aa] haveEnoughProcessedData
internalAudioStream.length: 0
[3061:397] [2022-09-05 03:29:32 +0000.800455][59a0] The read pixel from buffer
take: 1 width:1920 height:1080 frameType:0
[3061:466] [2022-09-05 03:29:32 +0000.870351][59a0] The convert RGB to YUV take 2
[3061:814] [2022-09-05 03:29:33 +0000.217770][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3061:901] [2022-09-05 03:29:33 +0000.305307][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3061:912] [2022-09-05 03:29:33 +0000.316339][59ef] resampled_data_size:0
[3061:922] [2022-09-05 03:29:33 +0000.326153][59ef] AF_SpeedFilter audio
0x7764905f80 PullFrame
[3061:972] [2022-09-05 03:29:33 +0000.375687][59a0] The convert RGB to YUV take 4
[3061:975] [2022-09-05 03:29:33 +0000.378595][59f7] DTS queue for
Generator:0x7907ca50b8 9220 9256
[3062:277] [2022-09-05 03:29:33 +0000.681205][59ef]
RecordAudioSource::PullAudioFrame
[3062:307] [2022-09-05 03:29:33 +0000.710898][59f7] Push an pts:9590 to dts queue.
[3062:345] [2022-09-05 03:29:33 +0000.748546][59f7] SendFrame
encodedImage._timeStamp:9590encodedImage->_length:36560
[3062:345] [2022-09-05 03:29:33 +0000.748753][59f7] last dts:9553 currentPts:9590
ppsOrSPS:0 queue length:2
[3062:401] [2022-09-05 03:29:33 +0000.804657][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3062:470] [2022-09-05 03:29:33 +0000.873554][59a0] The convert RGB to YUV take 4
[3062:546] [2022-09-05 03:29:33 +0000.950292][59f7] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:9789 pts:9789
[3062:632] [2022-09-05 03:29:34 +0000.35894][59a0] drawYUV420 render
OpenGLRenderProgram:0x77648ab498
[3062:705] [2022-09-05 03:29:34 +0000.109187][59f7] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:9988
[3062:705] [2022-09-05 03:29:34 +0000.109383][59f7] push video frame to H264
encoder. (100 frame for one log)

[3062:706] [2022-09-05 03:29:34 +0000.109447][59f7] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[3062:706] [2022-09-05 03:29:34 +0000.109487][59f7] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:9988(100 frame for one
log)

[3062:706] [2022-09-05 03:29:34 +0000.109537][59f7] The input pts:9988 fps:30


[3062:743] [2022-09-05 03:29:34 +0000.146998][59f7] h264 add frame header cdr flag
[3062:743] [2022-09-05 03:29:34 +0000.147346][59f7] Received key frame:9988
[3062:743] [2022-09-05 03:29:34 +0000.147397][59f7] H264Encode::H264SWEncoder get
callback, length:191120 type:0 nalType:5length:191116
[3062:772] [2022-09-05 03:29:34 +0000.175992][59a0] webrtc common_video plane
old ..... (1/1000) new: 16001 delete: 15984 diff: 17
[3062:778] [2022-09-05 03:29:34 +0000.182426][59f7] DTS queue for
Generator:0x7907ca50b8 10055
[3062:780] [2022-09-05 03:29:34 +0000.184096][59f9] get the H.264 IDR frame
[3062:801] [2022-09-05 03:29:34 +0000.204730][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3062:899] [2022-09-05 03:29:34 +0000.303423][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3062:909] [2022-09-05 03:29:34 +0000.313082][59aa] haveEnoughProcessedData
internalAudioStream.length: 0
[3062:967] [2022-09-05 03:29:34 +0000.370697][59a0] The convert RGB to YUV take 3
[3063:019] [2022-09-05 03:29:34 +0000.422915][59aa] Run AGC when audioType = 0
[3063:136] [2022-09-05 03:29:34 +0000.540254][59f6]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 10356queue_audio_frame_:5
[3063:396] [2022-09-05 03:29:34 +0000.799554][59a0] The read pixel from buffer
take: 1 width:1920 height:1080 frameType:0
[3063:440] [2022-09-05 03:29:34 +0000.844134][59ef] AF_SpeedFilter::PullFrame eof4
[3063:444] [2022-09-05 03:29:34 +0000.848327][59ef]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[3063:465] [2022-09-05 03:29:34 +0000.868745][59a0] The convert RGB to YUV take 2
[3063:553] [2022-09-05 03:29:34 +0000.956526][59ef] AF_SpeedFilter audio
0x7764905f80 PullFrame
[3063:618] [2022-09-05 03:29:35 +0000.21848][59f7] DTS queue for
Generator:0x7907ca50b8 10889
[3063:631] [2022-09-05 03:29:35 +0000.35102][59f7] Push an pts:10916 to dts queue.
[3063:674] [2022-09-05 03:29:35 +0000.78368][59f7] last dts:10889 currentPts:10916
ppsOrSPS:0 queue length:2
[3063:811] [2022-09-05 03:29:35 +0000.214822][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3063:893] [2022-09-05 03:29:35 +0000.297239][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3063:970] [2022-09-05 03:29:35 +0000.374007][59a0] The convert RGB to YUV take 6
[3064:169] [2022-09-05 03:29:35 +0000.573160][59f7]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:11449
[3064:174] [2022-09-05 03:29:35 +0000.577734][59ef] resampled_data_size:8704
[3064:182] [2022-09-05 03:29:35 +0000.585589][59ef]
RecordAudioSource::PullAudioFrame
[3064:325] [2022-09-05 03:29:35 +0000.728662][59a0] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[3064:325] [2022-09-05 03:29:35 +0000.728794][59a0] GPUImageProcessing: input frame
width1920 X 1080
[3064:325] [2022-09-05 03:29:35 +0000.729299][59a0] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[3064:325] [2022-09-05 03:29:35 +0000.729398][59a0] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[3064:397] [2022-09-05 03:29:35 +0000.800855][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3064:436] [2022-09-05 03:29:35 +0000.840269][59f7] DTS queue for
Generator:0x7907ca50b8 11718
[3064:468] [2022-09-05 03:29:35 +0000.871878][59a0] The convert RGB to YUV take 3
[3064:629] [2022-09-05 03:29:36 +0000.32540][59aa] haveEnoughProcessedData
internalAudioStream.length: 0
[3064:736] [2022-09-05 03:29:36 +0000.140269][59f7] h264 add frame header cdr flag
[3064:737] [2022-09-05 03:29:36 +0000.140467][59f7] Received key frame:11985
[3064:773] [2022-09-05 03:29:36 +0000.177081][59f9] get the H.264 IDR frame
[3064:806] [2022-09-05 03:29:36 +0000.210235][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3064:860] [2022-09-05 03:29:36 +0000.263789][59a0] webrtc common_video plane
old ..... (1/1000) new: 17001 delete: 16980 diff: 21
[3064:895] [2022-09-05 03:29:36 +0000.299051][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3064:965] [2022-09-05 03:29:36 +0000.368770][59a0] The convert RGB to YUV take 2
[3064:968] [2022-09-05 03:29:36 +0000.371893][59f7] Push an pts:12250 to dts queue.
[3064:998] [2022-09-05 03:29:36 +0000.401793][59f7] last dts:12218 currentPts:12250
ppsOrSPS:0 queue length:2
[3065:020] [2022-09-05 03:29:36 +0000.423974][59aa] Run AGC when audioType = 0
[3065:020] [2022-09-05 03:29:36 +0000.424155][59aa]
AudioDeviceDataHandler::MixAndSendOutFrame
[3065:181] [2022-09-05 03:29:36 +0000.584921][59ef] AF_SpeedFilter audio
0x7764905f80 PullFrame
[3065:265] [2022-09-05 03:29:36 +0000.669213][59f7] DTS queue for
Generator:0x7907ca50b8 12517 12548
[3065:395] [2022-09-05 03:29:36 +0000.798682][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3065:474] [2022-09-05 03:29:36 +0000.877592][59f6]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 12678queue_audio_frame_:8
[3065:474] [2022-09-05 03:29:36 +0000.878022][59a0] The convert RGB to YUV take 11
[3065:675] [2022-09-05 03:29:37 +0000.78956][59f7] SendFrame
encodedImage._timeStamp:12914encodedImage->_length:54192
[3065:698] [2022-09-05 03:29:37 +0000.102255][59a0] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[3065:802] [2022-09-05 03:29:37 +0000.205543][59ef] AF_SpeedFilter::PullFrame eof4
[3065:806] [2022-09-05 03:29:37 +0000.209957][59ef]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[3065:814] [2022-09-05 03:29:37 +0000.217972][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3065:895] [2022-09-05 03:29:37 +0000.298789][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3065:905] [2022-09-05 03:29:37 +0000.309397][59f7] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:13147 pts:13147
[3065:962] [2022-09-05 03:29:37 +0000.365760][59a0] drawYUV420 render
OpenGLRenderProgram:0x77648ab498
[3065:965] [2022-09-05 03:29:37 +0000.369433][59a0] The convert RGB to YUV take 3
[3066:078] [2022-09-05 03:29:37 +0000.481514][59f7] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:13351
[3066:078] [2022-09-05 03:29:37 +0000.481669][59f7] push video frame to H264
encoder. (100 frame for one log)

[3066:078] [2022-09-05 03:29:37 +0000.481734][59f7] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[3066:078] [2022-09-05 03:29:37 +0000.481779][59f7] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:13351(100 frame for one
log)

[3066:078] [2022-09-05 03:29:37 +0000.481837][59f7] The input pts:13351 fps:30


[3066:098] [2022-09-05 03:29:37 +0000.501734][59f7] DTS queue for
Generator:0x7907ca50b8 13351 13381
[3066:101] [2022-09-05 03:29:37 +0000.504998][59f7] H264Encode::H264SWEncoder get
callback, length:110992 type:1 nalType:1length:110988
[3066:104] [2022-09-05 03:29:37 +0000.508342][59ef]
RecordAudioSource::PullAudioFrame
[3066:304] [2022-09-05 03:29:37 +0000.708209][59f7] Push an pts:13585 to dts queue.
[3066:343] [2022-09-05 03:29:37 +0000.747060][59f7] last dts:13549 currentPts:13585
ppsOrSPS:0 queue length:2
[3066:362] [2022-09-05 03:29:37 +0000.766145][59aa] haveEnoughProcessedData
internalAudioStream.length: 20
[3066:397] [2022-09-05 03:29:37 +0000.800728][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3066:413] [2022-09-05 03:29:37 +0000.816665][59ef] resampled_data_size:0
[3066:467] [2022-09-05 03:29:37 +0000.871003][59a0] The convert RGB to YUV take 4
[3066:711] [2022-09-05 03:29:38 +0000.114772][59f0] The output timestamp from audio
mixer change:660926661
[3066:736] [2022-09-05 03:29:38 +0000.139781][59f7] h264 add frame header cdr flag
[3066:737] [2022-09-05 03:29:38 +0000.140792][59f7] Received key frame:13983
[3066:777] [2022-09-05 03:29:38 +0000.181391][59f9] get the H.264 IDR frame
[3066:803] [2022-09-05 03:29:38 +0000.206606][59aa] On audio frame the broadcast
with timestamp:660926760 samples:480. (1000 frame for one log)

[3066:805] [2022-09-05 03:29:38 +0000.209193][59f0] Get data in mic source, which


has byte length:1764micAudioStream->length():20
[3066:806] [2022-09-05 03:29:38 +0000.209543][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3066:806] [2022-09-05 03:29:38 +0000.210277][59ef] AF_SpeedFilter audio
0x7764905f80 PullFrame
[3066:900] [2022-09-05 03:29:38 +0000.303997][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3066:908] [2022-09-05 03:29:38 +0000.311724][59f7] DTS queue for
Generator:0x7907ca50b8 14188
[3066:934] [2022-09-05 03:29:38 +0000.338062][59a0] webrtc common_video plane
old ..... (1/1000) new: 18001 delete: 17984 diff: 17
[3066:970] [2022-09-05 03:29:38 +0000.373892][59a0] The convert RGB to YUV take 7
[3067:019] [2022-09-05 03:29:38 +0000.422760][59ab] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[3067:019] [2022-09-05 03:29:38 +0000.422888][59ab] _deviceSampleRate:48000

[3067:021] [2022-09-05 03:29:38 +0000.424572][59aa] Run AGC when audioType = 0


[3067:383] [2022-09-05 03:29:38 +0000.787310][59ef] AF_SpeedFilter audio time,
0x7764905f80 rcv time: 660927338
[3067:383] [2022-09-05 03:29:38 +0000.787395][59ef] AF_SpeedFilter audio time,
0x7764905f80 rcv time: 660927338in_nSamples:441
[3067:399] [2022-09-05 03:29:38 +0000.803039][59a0] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[3067:448] [2022-09-05 03:29:38 +0000.852043][59ef]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 660927339
[3067:448] [2022-09-05 03:29:38 +0000.852139][59ef]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[3067:470] [2022-09-05 03:29:38 +0000.873462][59a0] The convert RGB to YUV take 4
[3067:501] [2022-09-05 03:29:38 +0000.905414][59f7]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:14782
[3067:506] [2022-09-05 03:29:38 +0000.909455][bcc]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[3067:506] [2022-09-05 03:29:38 +0000.909767][59a0] operator(): Stop
[3067:506] [2022-09-05 03:29:38 +0000.909844][59a0] StopPullFrameAndWriteMp4
time:660927463 enter.

[3067:506] [2022-09-05 03:29:38 +0000.909912][59a0] StopRecording:


[3067:509] [2022-09-05 03:29:38 +0000.913274][59ef] PullAudioFrame: PullFrame audio
finished.
[3067:509] [2022-09-05 03:29:38 +0000.913382][59ef]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[3067:512] [2022-09-05 03:29:38 +0000.916398][59f7]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:445
[3067:514] [2022-09-05 03:29:38 +0000.918008][599f] stop recording
[3067:514] [2022-09-05 03:29:38 +0000.918067][599f]
RecordingSessionInternalSimple:destroy media processers
[3067:514] [2022-09-05 03:29:38 +0000.918090][599f] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[3067:514] [2022-09-05 03:29:38 +0000.918124][599f] H264Encode::flushing hareware
Encoder
[3067:514] [2022-09-05 03:29:38 +0000.918296][599f] Flush time:660927471 enter.

[3067:514] [2022-09-05 03:29:38 +0000.918374][599f] H264Encoder encoder flush


[3067:514] [2022-09-05 03:29:38 +0000.918408][599f] flush output queue
[3067:805] [2022-09-05 03:29:39 +0000.209436][59f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[3067:831] [2022-09-05 03:29:39 +0000.235273][599f] Flush leave. expire time = 317
ms

[3067:832] [2022-09-05 03:29:39 +0000.235621][599f] ~H264EncodeWrap:


[3067:832] [2022-09-05 03:29:39 +0000.235744][599f] ~H264Encode:
[3067:832] [2022-09-05 03:29:39 +0000.235807][599f] teardownCompressionSession:
H264Encode::destroying Encoder
[3067:832] [2022-09-05 03:29:39 +0000.235865][599f] Release time:660927789 enter.

[3067:832] [2022-09-05 03:29:39 +0000.236183][599f] Release:


MediaCodecVideoEncoder::Release _inited:1
[3067:832] [2022-09-05 03:29:39 +0000.236305][599f] Destroy time:660927789 enter.

[3067:832] [2022-09-05 03:29:39 +0000.236369][599f] H264Encoder encoderDestroy


[3067:832] [2022-09-05 03:29:39 +0000.236428][599f]
AndroidMediaCodecVideoEncoder::release env: 0x7751c6bf00
[3067:833] [2022-09-05 03:29:39 +0000.236488][599f]
AndroidMediaCodecVideoEncoder::Destroy
[3067:876] [2022-09-05 03:29:39 +0000.279996][599f] Destroy leave. expire time =
44 ms

[3067:876] [2022-09-05 03:29:39 +0000.280254][599f] Release leave. expire time =


44 ms

[3067:876] [2022-09-05 03:29:39 +0000.280337][599f] ~AndroidHwAvcEncoder


time:660927833 enter.

[3067:877] [2022-09-05 03:29:39 +0000.280606][599f] Release time:660927834 enter.

[3067:877] [2022-09-05 03:29:39 +0000.280664][599f] Release:


MediaCodecVideoEncoder:: has been released before, just return
[3067:877] [2022-09-05 03:29:39 +0000.280748][599f] Release leave. expire time = 0
ms

[3067:877] [2022-09-05 03:29:39 +0000.280802][599f] ~AndroidMediaCodecVideoEncoder


[3067:877] [2022-09-05 03:29:39 +0000.280846][599f] ~WrapAndroidMediaCodec
time:660927834 enter.

[3067:877] [2022-09-05 03:29:39 +0000.280891][599f] ~WrapAndroidMediaCodec leave.


expire time = 0 ms
[3067:877] [2022-09-05 03:29:39 +0000.280939][599f] video hevc hw codec
destructor:0x776e9b66d0

[3067:877] [2022-09-05 03:29:39 +0000.281045][599f] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[3067:877] [2022-09-05 03:29:39 +0000.281111][599f] teardownCompressionSession:


H264Encode::destroyed Encoder
[3067:877] [2022-09-05 03:29:39 +0000.281198][599f]
RecordingSessionInternalSimple:destroy aac encoder output!
[3067:877] [2022-09-05 03:29:39 +0000.281254][599f] AACSWEncode destructor
[3067:884] [2022-09-05 03:29:39 +0000.287539][59f9] MP4 close file successfully
[3067:884] [2022-09-05 03:29:39 +0000.287639][59f9] Recording session Internal:
notify recording ok
[3067:884] [2022-09-05 03:29:39 +0000.287683][59f9] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4,
output_video_timestamp_:14782 last_video_pts_:14782
[3067:884] [2022-09-05 03:29:39 +0000.287732][59f9] OnRecordFinish:
[3067:884] [2022-09-05 03:29:39 +0000.288431][59f9] onRecordingOk: net seek
pos:0record video duration:14815record audio duration:14791
[3067:885] [2022-09-05 03:29:39 +0000.289009][59f0] destructMicSource_w:
[3067:885] [2022-09-05 03:29:39 +0000.289068][59f0] setOutput_w:
MicSource::setOutput() 0x0
[3067:885] [2022-09-05 03:29:39 +0000.289231][59a0] releaseThread 0x7764905380
[3067:885] [2022-09-05 03:29:39 +0000.289296][59a0] ~MicSource: Mic source
destroyed:0x7842534580
[3067:888] [2022-09-05 03:29:39 +0000.291816][59a0] StopPullFrameAndWriteMp4
leave. expire time = 382 ms

[3067:888] [2022-09-05 03:29:39 +0000.291895][59a0] DestroyPipelineAndFilters


time:660927845 enter.

[3067:888] [2022-09-05 03:29:39 +0000.291969][59a0] UnbindInputFilter 0x7764905ac0


this 0x77648ab6c0
[3067:888] [2022-09-05 03:29:39 +0000.292031][59a0] UnbindInputFilter 0x7764905f58
this 0x77649060d0
[3067:888] [2022-09-05 03:29:39 +0000.292087][59a0] UnbindInputFilter 0x77648ab6c0
this 0x7764978360
[3067:888] [2022-09-05 03:29:39 +0000.292123][59a0] filter: filter pipeline destroy
this: 0x77649782c0
[3067:891] [2022-09-05 03:29:39 +0000.294810][59a0] ClearVideoOfSources: recodring
total frames:0
[3067:891] [2022-09-05 03:29:39 +0000.294915][59a0] ClearVideoOfSources:
[3067:891] [2022-09-05 03:29:39 +0000.294960][59a0] GPUImageProcessing destruct.
[3067:891] [2022-09-05 03:29:39 +0000.295031][59a0] destroy TrivalImageDrawer
0x77520c7d00
[3067:891] [2022-09-05 03:29:39 +0000.295075][59a0] The shader has been initialize,
clean up them.

[3067:891] [2022-09-05 03:29:39 +0000.295152][59a0] ~OpenGLFrameBuffer:


[3067:892] [2022-09-05 03:29:39 +0000.295518][59a0] ~OpenGLFrameBuffer:
[3067:892] [2022-09-05 03:29:39 +0000.295629][59a0] ~OpenGLFrameBuffer:
[3067:892] [2022-09-05 03:29:39 +0000.295718][59a0] ~OpenGLFrameBuffer:
[3067:892] [2022-09-05 03:29:39 +0000.295799][59a0] ~OpenGLFrameBuffer:
[3067:892] [2022-09-05 03:29:39 +0000.295868][59a0] ~OpenGLFrameBuffer:
[3067:894] [2022-09-05 03:29:39 +0000.297509][59a0] GPUImageProcessing destruct
finish.
[3067:894] [2022-09-05 03:29:39 +0000.297613][59a0] GPURGBAFrame destruct.
[3067:894] [2022-09-05 03:29:39 +0000.297710][59a0] destroy OpenGLRenderProgram
0x77648ab498
[3067:894] [2022-09-05 03:29:39 +0000.297755][59a0] ~CameraSource time:660927851
enter.

[3067:894] [2022-09-05 03:29:39 +0000.297784][59a0] ~CameraSource leave. expire


time = 0 ms

[3067:894] [2022-09-05 03:29:39 +0000.297819][59a0] ~RecordAudioSource


time:660927851 enter.

[3067:894] [2022-09-05 03:29:39 +0000.297847][59a0] ~RecordAudioSource leave.


expire time = 0 ms

[3067:894] [2022-09-05 03:29:39 +0000.297880][59a0] DestroyPipelineAndFilters


leave. expire time = 6 ms

[3067:914] [2022-09-05 03:29:39 +0000.318095][bcc]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[3067:915] [2022-09-05 03:29:39 +0000.318892][bcc] machine model :poco
[3067:915] [2022-09-05 03:29:39 +0000.318940][bcc] Support this machine model :poco
[3067:915] [2022-09-05 03:29:39 +0000.318985][bcc] global inited! current sdk
version: 07-20-936c45f
[3067:915] [2022-09-05 03:29:39 +0000.319184][bcc] filter: filter pipeline
construtc this: 0x776eb27f00
[3067:915] [2022-09-05 03:29:39 +0000.319227][bcc] MediaFilterGraph:
MediaFilterGraph construct
[3067:915] [2022-09-05 03:29:39 +0000.319254][bcc] GLESContext:
[3067:915] [2022-09-05 03:29:39 +0000.319341][bcc] The result of eglGetDisplay is:
0xb4000078537e3a00
[3067:918] [2022-09-05 03:29:39 +0000.321752][bcc] The result of creation:
0x77516cd080
[3067:918] [2022-09-05 03:29:39 +0000.321864][bcc] The result of
eglCreatePbufferSurface is: 0x77516cd180
[3067:918] [2022-09-05 03:29:39 +0000.321984][bcc] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4
[3067:918] [2022-09-05 03:29:39 +0000.322018][bcc] The source 0 speed:1
[3067:918] [2022-09-05 03:29:39 +0000.322047][bcc] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4,
delay: 0
[3067:918] [2022-09-05 03:29:39 +0000.322129][bcc] CreateDecoderByVideoSource
time:660927875 enter.

[3067:918] [2022-09-05 03:29:39 +0000.322319][bcc] running_decoder_count:0max


count:2
[3067:918] [2022-09-05 03:29:39 +0000.322349][bcc] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7835987000
[3067:940] [2022-09-05 03:29:39 +0000.343644][5a95] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7751736c00] Current FFmpeg version git-2021-06-16-
97cea6f

[3068:080] [2022-09-05 03:29:39 +0000.483473][59aa] haveEnoughProcessedData


internalAudioStream.length: 0
[3068:125] [2022-09-05 03:29:39 +0000.528948][5a95] OnStreamInfoFound: video
duration_: 14815
[3068:126] [2022-09-05 03:29:39 +0000.529920][5a96] NO get frame from decoder
[3068:126] [2022-09-05 03:29:39 +0000.529933][bcc] start decoder
[3068:126] [2022-09-05 03:29:39 +0000.530213][bcc] CreateDecoderByVideoSource
leave. expire time = 208 ms

[3068:126] [2022-09-05 03:29:39 +0000.530388][bcc] BindInputFilter 0x7755a23f20


this 0x776ed4d1d8
[3068:127] [2022-09-05 03:29:39 +0000.530622][bcc] BindInputFilter 0x776ed4d1d8
this 0x776ed4d298
[3068:127] [2022-09-05 03:29:39 +0000.530741][bcc] BindInputFilter 0x7755a23f20
this 0x776ed4d658
[3068:127] [2022-09-05 03:29:39 +0000.530849][bcc] BindInputFilter 0x776ed4d658
this 0x776ed4d718
[3068:127] [2022-09-05 03:29:39 +0000.530922][bcc] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4
[3068:127] [2022-09-05 03:29:39 +0000.531033][bcc] BindInputFilter 0x776ed4d298
this 0x776ed4d7d8
[3068:127] [2022-09-05 03:29:39 +0000.531135][bcc] BindInputFilter 0x776ed4d7d8
this 0x776eb27fa0
[3068:127] [2022-09-05 03:29:39 +0000.531248][bcc] BindInputFilter 0x776ed4d718
this 0x776ed4d898
[3068:127] [2022-09-05 03:29:39 +0000.531357][bcc] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4
[3068:128] [2022-09-05 03:29:39 +0000.531531][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[3068:128] [2022-09-05 03:29:39 +0000.531966][5a96] NO get frame from decoder
[3068:128] [2022-09-05 03:29:39 +0000.532138][bcc] machine model :poco
[3068:128] [2022-09-05 03:29:39 +0000.532186][bcc] Support this machine model :poco
[3068:128] [2022-09-05 03:29:39 +0000.532232][bcc] global inited! current sdk
version: 07-20-936c45f
[3068:128] [2022-09-05 03:29:39 +0000.532324][bcc] GetPipeline:
-----------------------------------------
[3068:128] [2022-09-05 03:29:39 +0000.532370][bcc] GetPipeline: source:
0x7755a23d00
[3068:128] [2022-09-05 03:29:39 +0000.532419][bcc] GetPipeline: filter: NULLFilter
[3068:129] [2022-09-05 03:29:39 +0000.532466][bcc] GetPipeline: filter: NULLFilter
[3068:129] [2022-09-05 03:29:39 +0000.532512][bcc] GetPipeline: filter: NULLFilter
[3068:129] [2022-09-05 03:29:39 +0000.532564][bcc] GetPipeline: audio filter:
AuidoNULLFilter
[3068:129] [2022-09-05 03:29:39 +0000.532608][bcc] GetPipeline: audio filter:
AuidoNULLFilter
[3068:129] [2022-09-05 03:29:39 +0000.532650][bcc] GetPipeline: audio filter:
AudioNUllFilter
[3068:129] [2022-09-05 03:29:39 +0000.532693][bcc] GetPipeline:
------------------------------------------
[3068:129] [2022-09-05 03:29:39 +0000.532736][bcc] filter: filter pipeline2 update
pattern: 0
[3068:130] [2022-09-05 03:29:39 +0000.533499][bcc] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[3068:130] [2022-09-05 03:29:39 +0000.533843][5a96] NO get frame from decoder
[3068:134] [2022-09-05 03:29:39 +0000.537819][bcc] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[3068:134] [2022-09-05 03:29:39 +0000.537987][bcc] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[3068:134] [2022-09-05 03:29:39 +0000.538325][bcc] DeviceInit:
[3068:135] [2022-09-05 03:29:39 +0000.538734][bcc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[3068:135] [2022-09-05 03:29:39 +0000.538960][5a96] NO get frame from decoder
[3068:135] [2022-09-05 03:29:39 +0000.539336][bcc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[3068:136] [2022-09-05 03:29:39 +0000.539951][bcc] CreatePlatformSpecificObjects:
[3068:136] [2022-09-05 03:29:39 +0000.540059][bcc] audio device use null audio
input and opensl output
[3068:136] [2022-09-05 03:29:39 +0000.540104][bcc] Create OpenSLES output module
with java VM support.

[3068:136] [2022-09-05 03:29:39 +0000.540320][bcc] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[3068:137] [2022-09-05 03:29:39 +0000.540546][bcc] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[3068:137] [2022-09-05 03:29:39 +0000.540743][5a96] NO get frame from decoder
[3068:137] [2022-09-05 03:29:39 +0000.540792][bcc] Create OpenSLES output module
with buffer num:2

[3068:137] [2022-09-05 03:29:39 +0000.540882][bcc] Error(trace.cc:40): Init the


output and input for audio device template.
[3068:137] [2022-09-05 03:29:39 +0000.540921][bcc] Init the output device.

[3068:137] [2022-09-05 03:29:39 +0000.541037][bcc] Set the playout as stereo:1


[3068:137] [2022-09-05 03:29:39 +0000.541079][bcc] Set the sample rate to be:44100

[3068:137] [2022-09-05 03:29:39 +0000.541179][bcc] Low latency buffer size:144 low


sample rate:48000
[3068:137] [2022-09-05 03:29:39 +0000.541224][bcc] DeviceInit: Done
[3068:138] [2022-09-05 03:29:39 +0000.541579][bcc] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[3068:138] [2022-09-05 03:29:39 +0000.541583][5aa2] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77558b3718
[3068:138] [2022-09-05 03:29:39 +0000.542397][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[3068:139] [2022-09-05 03:29:39 +0000.542574][bcc]
MediaFilterPlayer::SetPlayerNotify 0x7755e63f00
[3068:139] [2022-09-05 03:29:39 +0000.542654][bcc]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[3068:139] [2022-09-05 03:29:39 +0000.542693][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[3068:139] [2022-09-05 03:29:39 +0000.542740][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[3068:139] [2022-09-05 03:29:39 +0000.542912][bcc] SetGraphLoop: SetGraphLoop 1
[3068:139] [2022-09-05 03:29:39 +0000.542972][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[3068:139] [2022-09-05 03:29:39 +0000.543025][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[3068:139] [2022-09-05 03:29:39 +0000.543358][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[3068:140] [2022-09-05 03:29:39 +0000.543703][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[3068:142] [2022-09-05 03:29:39 +0000.545697][5aa4] Start:
[3068:142] [2022-09-05 03:29:39 +0000.545873][5aa3] operator(): video render
started.
[3068:142] [2022-09-05 03:29:39 +0000.545950][5a96] NO get frame from decoder
[3068:145] [2022-09-05 03:29:39 +0000.548972][5aa4] Start:
[3068:145] [2022-09-05 03:29:39 +0000.549146][5aa4] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[3068:145] [2022-09-05 03:29:39 +0000.549201][5aa4] Reset: history total size: 98
[3068:145] [2022-09-05 03:29:39 +0000.549230][5aa4] DeviceStart:
audioDevice_:0x776eabb000
[3068:145] [2022-09-05 03:29:39 +0000.549251][5aa4] DeviceStart: time profile
playout init before
[3068:145] [2022-09-05 03:29:39 +0000.549283][5aa4] DeviceStart: time profile
playout init end
[3068:145] [2022-09-05 03:29:39 +0000.549307][5aa4] OpenSlesOutput:Start playout

[3068:146] [2022-09-05 03:29:39 +0000.550253][5a96] NO get frame from decoder


[3068:150] [2022-09-05 03:29:39 +0000.554391][5a96] NO get frame from decoder
[3068:168] [2022-09-05 03:29:39 +0000.571838][5aa4] Create the opensl output
player. streamtype before:0

[3068:168] [2022-09-05 03:29:39 +0000.571893][5aa4] Create the opensl output


player. streamtype after:3

[3068:202] [2022-09-05 03:29:39 +0000.605789][5aa4] Enqueue opensl buffer size:1764


[3068:227] [2022-09-05 03:29:39 +0000.630813][5aa4] DeviceStart: time profile
playout all end
[3068:227] [2022-09-05 03:29:39 +0000.630875][5aa4] operator(): Audio playback
started.
[3068:227] [2022-09-05 03:29:39 +0000.630942][5aa4] operator(): Started now!
[3068:227] [2022-09-05 03:29:39 +0000.631288][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:227] [2022-09-05 03:29:39 +0000.631427][5aa5] Pull audio failed.(wait video!)
[3068:228] [2022-09-05 03:29:39 +0000.631787][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:228] [2022-09-05 03:29:39 +0000.631920][5aa5] Pull audio failed.(wait video!)
[3068:228] [2022-09-05 03:29:39 +0000.632281][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:228] [2022-09-05 03:29:39 +0000.632403][5aa5] Pull audio failed.(wait video!)
[3068:229] [2022-09-05 03:29:39 +0000.632793][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:229] [2022-09-05 03:29:39 +0000.632915][5aa5] Pull audio failed.(wait video!)
[3068:229] [2022-09-05 03:29:39 +0000.633279][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:229] [2022-09-05 03:29:39 +0000.633397][5aa5] Pull audio failed.(wait video!)
[3068:230] [2022-09-05 03:29:39 +0000.633765][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:230] [2022-09-05 03:29:39 +0000.633885][5aa5] Pull audio failed.(wait video!)
[3068:230] [2022-09-05 03:29:39 +0000.634250][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:230] [2022-09-05 03:29:39 +0000.634365][5aa5] Pull audio failed.(wait video!)
[3068:231] [2022-09-05 03:29:39 +0000.634756][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:231] [2022-09-05 03:29:39 +0000.634868][5aa5] Pull audio failed.(wait video!)
[3068:231] [2022-09-05 03:29:39 +0000.635237][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:231] [2022-09-05 03:29:39 +0000.635363][5aa5] Pull audio failed.(wait video!)
[3068:232] [2022-09-05 03:29:39 +0000.635737][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:232] [2022-09-05 03:29:39 +0000.635854][5aa5] Pull audio failed.(wait video!)
[3068:264] [2022-09-05 03:29:39 +0000.667731][5aa3] lipsync_debug: First video
frame rendering.
[3068:375] [2022-09-05 03:29:39 +0000.779403][5aa4] Create the audio converter
44100 Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[3068:376] [2022-09-05 03:29:39 +0000.779492][5aa4] First audio frame rendering
[3068:376] [2022-09-05 03:29:39 +0000.779836][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:376] [2022-09-05 03:29:39 +0000.779991][5aa5] audio frame wait video
frame.last_video_timestamp:132 last_audio_timestamp:254.921
[3068:376] [2022-09-05 03:29:39 +0000.780339][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:377] [2022-09-05 03:29:39 +0000.780490][5aa5] audio frame wait video
frame.last_video_timestamp:132 last_audio_timestamp:254.921
[3068:377] [2022-09-05 03:29:39 +0000.780833][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:377] [2022-09-05 03:29:39 +0000.780992][5aa5] audio frame wait video
frame.last_video_timestamp:132 last_audio_timestamp:254.921
[3068:377] [2022-09-05 03:29:39 +0000.781339][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:378] [2022-09-05 03:29:39 +0000.781489][5aa5] audio frame wait video
frame.last_video_timestamp:132 last_audio_timestamp:254.921
[3068:378] [2022-09-05 03:29:39 +0000.781837][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:378] [2022-09-05 03:29:39 +0000.781995][5aa5] audio frame wait video
frame.last_video_timestamp:132 last_audio_timestamp:254.921
[3068:378] [2022-09-05 03:29:39 +0000.782345][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:379] [2022-09-05 03:29:39 +0000.782570][5aa5] audio frame wait video
frame.last_video_timestamp:132 last_audio_timestamp:254.921
[3068:379] [2022-09-05 03:29:39 +0000.782914][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:379] [2022-09-05 03:29:39 +0000.783074][5aa5] audio frame wait video
frame.last_video_timestamp:132 last_audio_timestamp:254.921
[3068:380] [2022-09-05 03:29:39 +0000.783486][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:380] [2022-09-05 03:29:39 +0000.783649][5aa5] audio frame wait video
frame.last_video_timestamp:164 last_audio_timestamp:277.914
[3068:380] [2022-09-05 03:29:39 +0000.783997][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:380] [2022-09-05 03:29:39 +0000.784166][5aa5] audio frame wait video
frame.last_video_timestamp:164 last_audio_timestamp:277.914
[3068:381] [2022-09-05 03:29:39 +0000.784520][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:381] [2022-09-05 03:29:39 +0000.784739][5aa5] audio frame wait video
frame.last_video_timestamp:164 last_audio_timestamp:277.914
[3068:381] [2022-09-05 03:29:39 +0000.785095][5aa5]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[3068:428] [2022-09-05 03:29:39 +0000.832067][5aa3] lipsync_debug:displaying video
ts:17730 The current displayed video timestamp is:660928385
[3068:596] [2022-09-05 03:29:39 +0000.999511][5aa6] Error(video_source.cc:430):
wait decoder a frame: 0
[3068:687] [2022-09-05 03:29:40 +0000.91066][5aa7]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[3069:022] [2022-09-05 03:29:40 +0000.426378][59aa] Run AGC when audioType = 0
[3069:023] [2022-09-05 03:29:40 +0000.426664][59aa]
AudioDeviceDataHandler::MixAndSendOutFrame
[3069:097] [2022-09-05 03:29:40 +0000.501257][5aa3] lipsync_debug:displaying video
ts:77940 The current displayed video timestamp is:660929054
[3069:228] [2022-09-05 03:29:40 +0000.632034][5aa4] do work DoLipsync!
[3069:228] [2022-09-05 03:29:40 +0000.632180][5aa4] total delay:266 videoTsMS:962
audioTsMS:696 diff:266
[3069:228] [2022-09-05 03:29:40 +0000.632254][5aa4] Set the lipsync delay:266
[3069:370] [2022-09-05 03:29:40 +0000.774169][5aa3] DriveRender working... (1/200)
[3069:440] [2022-09-05 03:29:40 +0000.843801][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[3069:451] [2022-09-05 03:29:40 +0000.855109][5aa4] Stop:
[3069:452] [2022-09-05 03:29:40 +0000.855617][5aa3] operator(): Video Render
stopped.
[3069:452] [2022-09-05 03:29:40 +0000.855760][5aa4] Stop:
[3069:452] [2022-09-05 03:29:40 +0000.855983][5aa4] DeviceStop:
audioDevice_:0x776eabb000
[3069:452] [2022-09-05 03:29:40 +0000.856024][5aa4] OpenSlesOutput:Stop playout

[3069:454] [2022-09-05 03:29:40 +0000.857781][5aa4] DeviceStop: Done


[3069:454] [2022-09-05 03:29:40 +0000.857906][5aa4] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[3069:454] [2022-09-05 03:29:40 +0000.857941][5aa4] operator(): Stop now!
[3069:535] [2022-09-05 03:29:40 +0000.938550][c19]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[3069:535] [2022-09-05 03:29:40 +0000.938788][c19] ~MediaFilterCamera
time:660929492 enter.

[3069:535] [2022-09-05 03:29:40 +0000.938841][c19] StopPullFrameAndWriteMp4


time:660929492 enter.

[3069:537] [2022-09-05 03:29:40 +0000.940709][599f] stop recording


[3069:537] [2022-09-05 03:29:40 +0000.940776][599f] we have stopped recording
before
[3069:537] [2022-09-05 03:29:40 +0000.941059][c19] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[3069:539] [2022-09-05 03:29:40 +0000.942589][c19] DestroyPipelineAndFilters


time:660929496 enter.

[3069:539] [2022-09-05 03:29:40 +0000.942691][c19] DestroyPipelineAndFilters


leave. expire time = 0 ms

[3069:539] [2022-09-05 03:29:40 +0000.942745][c19] AppDeviceManagerStopMic

[3069:539] [2022-09-05 03:29:40 +0000.942933][c19] AppDeviceManagerStopMic::mic


status is on
[3069:539] [2022-09-05 03:29:40 +0000.942986][c19] Try to stop webrtc device.

[3069:539] [2022-09-05 03:29:40 +0000.943028][c19] Set record state to


stopped.threadID:3097

[3069:589] [2022-09-05 03:29:40 +0000.993148][c19] Try to destory the


recorder.threadID:3097

[3069:829] [2022-09-05 03:29:41 +0000.233322][c19] DestroyAudioRecorder:


[3069:830] [2022-09-05 03:29:41 +0000.233554][c19] Cleanup the buffer queue in the
recorder.
[3069:830] [2022-09-05 03:29:41 +0000.233736][c19] Destroy the recorder.

[3069:833] [2022-09-05 03:29:41 +0000.237061][c19] StopRecording finished.

[3069:833] [2022-09-05 03:29:41 +0000.237239][c19] The stop recording success.

[3069:833] [2022-09-05 03:29:41 +0000.237297][c19]


AudioDeviceDataHandler::StopMicProcess

[3069:839] [2022-09-05 03:29:41 +0000.243312][c19] AppDeviceManager stop.


[3069:840] [2022-09-05 03:29:41 +0000.243474][c19] Rlease the webrtc device object.

[3069:841] [2022-09-05 03:29:41 +0000.244639][c19] OpenSlesInput destruct.

[3069:841] [2022-09-05 03:29:41 +0000.244829][c19] OpenSlesOutput destruct.

[3069:841] [2022-09-05 03:29:41 +0000.245332][c19] EventDispatchServerScope


destruct
[3069:841] [2022-09-05 03:29:41 +0000.245394][c19]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[3069:842] [2022-09-05 03:29:41 +0000.245541][c19] ~AudioDeviceDataHandler

[3069:842] [2022-09-05 03:29:41 +0000.246308][c19] AppDeviceManagerDestruct.

[3069:842] [2022-09-05 03:29:41 +0000.246369][c19] ~AppDeviceManager:


[3069:843] [2022-09-05 03:29:41 +0000.246484][c19] ~CpuOverloadDetect
time:660929800 enter.

[3069:843] [2022-09-05 03:29:41 +0000.246839][c19] ~CpuOverloadDetect leave.


expire time = 0 ms

[3069:844] [2022-09-05 03:29:41 +0000.248317][c19] Destruct BeautifyReader begin...


[3069:844] [2022-09-05 03:29:41 +0000.248382][c19] Destruct BeautifyReader done.
[3069:845] [2022-09-05 03:29:41 +0000.248445][c19] ~MediaFilterCamera leave.
expire time = 310 ms

[3069:849] [2022-09-05 03:29:41 +0000.253051][c19] ~GLESContext:


[3069:854] [2022-09-05 03:29:41 +0000.257893][c19] GLESContext destruct finish.
[3069:854] [2022-09-05 03:29:41 +0000.257991][c19] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[3069:855] [2022-09-05 03:29:41 +0000.258527][c19] global uninited!
[3070:454] [2022-09-05 03:29:41 +0000.858050][c19]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[3070:459] [2022-09-05 03:29:41 +0000.862627][c19] MediaFilterCamera
[3070:459] [2022-09-05 03:29:41 +0000.862692][c19] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[3070:459] [2022-09-05 03:29:41 +0000.862782][c19] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[3070:459] [2022-09-05 03:29:41 +0000.862811][c19] Recording session using default
bitrate support by app:31457280
[3070:464] [2022-09-05 03:29:41 +0000.867982][5adf] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7755ea52c0
[3070:464] [2022-09-05 03:29:41 +0000.868061][5adf] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[3070:464] [2022-09-05 03:29:41 +0000.868171][c19] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[3070:465] [2022-09-05 03:29:41 +0000.868756][c19] Error(ini.cc:191): Open the file
failed. error:2
[3070:465] [2022-09-05 03:29:41 +0000.868783][c19]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[3070:465] [2022-09-05 03:29:41 +0000.868799][c19] The device model: m2012k11ag
usingSoftwareAEC value: 0
[3070:469] [2022-09-05 03:29:41 +0000.872477][c19] Error(ini.cc:191): Open the file
failed. error:2
[3070:469] [2022-09-05 03:29:41 +0000.872545][c19]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[3070:469] [2022-09-05 03:29:41 +0000.872619][c19] The device model: m2012k11ag
usingHardwareAEC value: 0
[3070:469] [2022-09-05 03:29:41 +0000.872638][c19] The machine device: m2012k11ag
usingHardwareAEC value: 0
[3070:469] [2022-09-05 03:29:41 +0000.872656][c19] Using Default AEC type: software
AEC
[3070:470] [2022-09-05 03:29:41 +0000.874327][c19] The device model: m2012k11ag
enum value: 0
[3070:471] [2022-09-05 03:29:41 +0000.874784][c19] GetMachineModel is M2012K11AG
[3070:471] [2022-09-05 03:29:41 +0000.874833][c19] GetMachineInfo: M2012K11AG
[3070:471] [2022-09-05 03:29:41 +0000.874850][c19] Construct BeautifyReader
begin...
[3070:471] [2022-09-05 03:29:41 +0000.874863][c19] dumpStickerRgba:0
dumpStickerYuv:0
[3070:471] [2022-09-05 03:29:41 +0000.874878][c19] Construct BeautifyReader done.
[3070:480] [2022-09-05 03:29:41 +0000.884165][c19] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[3070:480] [2022-09-05 03:29:41 +0000.884207][c19] AppDeviceManager telnet server
for statistics started......
[3070:481] [2022-09-05 03:29:41 +0000.885399][5ae5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x77516a63a0
[3070:487] [2022-09-05 03:29:41 +0000.890495][c19] CpuOverloadDetect time:660930444
enter.

[3070:487] [2022-09-05 03:29:41 +0000.890636][c19] CpuOverloadDetect leave. expire


time = 0 ms

[3070:487] [2022-09-05 03:29:41 +0000.891093][c19] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[3070:487] [2022-09-05 03:29:41 +0000.891119][c19] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[3070:487] [2022-09-05 03:29:41 +0000.891328][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[3070:489] [2022-09-05 03:29:41 +0000.892808][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[3070:489] [2022-09-05 03:29:41 +0000.893032][c19] CreatePlatformSpecificObjects:
[3070:489] [2022-09-05 03:29:41 +0000.893063][c19] audio device use opensle input
and opensl output
[3070:489] [2022-09-05 03:29:41 +0000.893086][c19] Create OpenSLES output module
with java VM support.

[3070:489] [2022-09-05 03:29:41 +0000.893200][c19] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[3070:489] [2022-09-05 03:29:41 +0000.893421][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[3070:493] [2022-09-05 03:29:41 +0000.896675][5aeb] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7842491980
[3070:497] [2022-09-05 03:29:41 +0000.901064][c19] Create OpenSLES output module
with buffer num:1

[3070:497] [2022-09-05 03:29:41 +0000.901253][c19] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[3070:498] [2022-09-05 03:29:41 +0000.901458][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[3070:498] [2022-09-05 03:29:41 +0000.901704][c19] Create OpenSLES input module
with java VM support.

[3070:498] [2022-09-05 03:29:41 +0000.901741][c19] Create OpenSLES input module


with buffer num:1

[3070:498] [2022-09-05 03:29:41 +0000.901768][c19] Error(trace.cc:40): Init the


output and input for audio device template.
[3070:498] [2022-09-05 03:29:41 +0000.901784][c19] Init the output device.

[3070:498] [2022-09-05 03:29:41 +0000.901800][c19] Init the opensl input.


[3070:498] [2022-09-05 03:29:41 +0000.901817][c19] AppDeviceManager get setting
samplerate: 0
[3070:498] [2022-09-05 03:29:41 +0000.902080][c19] The device model: m2012k11ag
enum value: 0
[3070:499] [2022-09-05 03:29:41 +0000.902501][c19] The device model: m2012k11ag
enum value: 0
[3070:499] [2022-09-05 03:29:41 +0000.902557][c19] Set the sample rate to be:48000

[3070:499] [2022-09-05 03:29:41 +0000.902574][c19] Enable the recording stereo:0


[3070:499] [2022-09-05 03:29:41 +0000.902590][c19] Set the playout as stereo:1
[3070:499] [2022-09-05 03:29:41 +0000.902620][c19] Init the microphone.
[3070:499] [2022-09-05 03:29:41 +0000.902642][c19] Update the recording sample rate
to be: 48000
[3070:499] [2022-09-05 03:29:41 +0000.902658][c19] Init the speaker.
[3070:499] [2022-09-05 03:29:41 +0000.902680][c19] Low latency buffer size:144 low
sample rate:48000
[3070:499] [2022-09-05 03:29:41 +0000.902880][c19] Using 1 x 10ms for an audio
frame.

[3070:503] [2022-09-05 03:29:41 +0000.907153][c19] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[3070:503] [2022-09-05 03:29:41 +0000.907250][c19] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[3070:503] [2022-09-05 03:29:41 +0000.907285][c19] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[3070:510] [2022-09-05 03:29:41 +0000.914425][c19] The device model:m2012k11ag

[3070:511] [2022-09-05 03:29:41 +0000.914629][c19] speaker output factor:100


defaultFactor: 100

[3070:511] [2022-09-05 03:29:41 +0000.914711][c19] headset output factor:100


defaultFactor: 100

[3070:512] [2022-09-05 03:29:41 +0000.915672][c19] AppDeviceManagerStart finished.


[3070:512] [2022-09-05 03:29:41 +0000.915743][c19] AppDeviceManagerStartMic::mic
status is off
[3070:512] [2022-09-05 03:29:41 +0000.915862][c19] AppDeviceManagerStartMic update
aec type: 2

[3070:512] [2022-09-05 03:29:41 +0000.915995][c19] AppDeviceManagerStartMic update


voiceChangeMode: 4

[3070:512] [2022-09-05 03:29:41 +0000.916038][c19]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[3070:512] [2022-09-05 03:29:41 +0000.916077][c19]
AudioDeviceDataHandler::StartMicProcess

[3070:512] [2022-09-05 03:29:41 +0000.916276][c19] Try to start webrtc recording


device.

[3070:512] [2022-09-05 03:29:41 +0000.916401][c19] StartRecording. threadID:3097

[3070:513] [2022-09-05 03:29:41 +0000.916508][c19] default mode: Set the recording


mode to voice communication to enable HW AEC .
[3070:513] [2022-09-05 03:29:41 +0000.916557][c19] Set the recording mode before
getSetting: 4
[3070:513] [2022-09-05 03:29:41 +0000.916601][c19] Set the recording mode after
getSetting: 1
[3070:513] [2022-09-05 03:29:41 +0000.916934][5af1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[3070:563] [2022-09-05 03:29:41 +0000.967431][c19] StartRecording finished.

[3070:564] [2022-09-05 03:29:41 +0000.967522][c19] audio: start the audio mic


checker timer.

[3070:564] [2022-09-05 03:29:41 +0000.968107][c19] machine model :poco


[3070:564] [2022-09-05 03:29:41 +0000.968139][c19] Support this machine model :poco
[3070:564] [2022-09-05 03:29:41 +0000.968158][c19] global inited! current sdk
version: 07-20-936c45f
[3070:651] [2022-09-05 03:29:42 +0000.55300][5af1] haveEnoughProcessedData
internalAudioStream.length: 0
[3070:797] [2022-09-05 03:29:42 +0000.201434][46b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[3070:798] [2022-09-05 03:29:42 +0000.201755][5ae0] MediaFilterCamera, recording
file context:0x783582c780 input texture:20
[3070:798] [2022-09-05 03:29:42 +0000.201812][5ae0] GLESContext:
[3070:798] [2022-09-05 03:29:42 +0000.201837][5ae0] The result of eglGetDisplay is:
0xb4000078537e3a00
[3070:799] [2022-09-05 03:29:42 +0000.202554][5ae0] The result of creation:
0x7751659280
[3070:799] [2022-09-05 03:29:42 +0000.202639][5ae0] The result of
eglCreatePbufferSurface is: 0x7751659980
[3070:799] [2022-09-05 03:29:42 +0000.202731][46b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x783582c780 input_texture: 20
[3071:072] [2022-09-05 03:29:42 +0000.475534][bcc]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[3071:072] [2022-09-05 03:29:42 +0000.475633][bcc] StopPreView: Have Stopped,
operation cancel
[3071:072] [2022-09-05 03:29:42 +0000.475661][bcc] Stop:
[3071:072] [2022-09-05 03:29:42 +0000.475748][5aa4] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[3071:072] [2022-09-05 03:29:42 +0000.475868][bcc] DeviceRelease:
audioDevice_:0x776eabb000
[3071:072] [2022-09-05 03:29:42 +0000.475897][bcc] OpenSlesOutput:Stop playout

[3071:072] [2022-09-05 03:29:42 +0000.475943][bcc] DeviceRelease: Release the


webrtc device object.
[3071:072] [2022-09-05 03:29:42 +0000.476334][bcc] OpenSlesOutput destruct.

[3071:072] [2022-09-05 03:29:42 +0000.476380][bcc] DeviceRelease: Done


[3071:073] [2022-09-05 03:29:42 +0000.476451][bcc] Stop:
[3071:073] [2022-09-05 03:29:42 +0000.476513][5aa3] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[3071:077] [2022-09-05 03:29:42 +0000.481409][bcc] global uninited!
[3071:078] [2022-09-05 03:29:42 +0000.481505][bcc]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[3071:078] [2022-09-05 03:29:42 +0000.481572][bcc] ~MediaFilterGraph:
MediaFilterGraph destruct
[3071:078] [2022-09-05 03:29:42 +0000.481600][bcc] RemoveVideoBackGroud: hava not
add video backgroud
[3071:078] [2022-09-05 03:29:42 +0000.481627][bcc] UnbindInputFilter 0x776ed4d7d8
this 0x776eb27fa0
[3071:078] [2022-09-05 03:29:42 +0000.481656][bcc] ClearAllSource: remove source
filter, sourceid: 0x7755a23d00
[3071:078] [2022-09-05 03:29:42 +0000.481687][bcc] DestoryDecoderByVideoSource
time:660931035 enter.

[3071:078] [2022-09-05 03:29:42 +0000.481706][bcc] ~VideoBindDecoder time:660931035


enter.

[3071:078] [2022-09-05 03:29:42 +0000.481864][bcc] CleanUp time:660931035 enter.

[3071:081] [2022-09-05 03:29:42 +0000.484812][bcc] CleanUp leave. expire time = 3


ms

[3071:081] [2022-09-05 03:29:42 +0000.484852][bcc] CleanUp time:660931038 enter.

[3071:081] [2022-09-05 03:29:42 +0000.484975][bcc] CleanUp leave. expire time = 0


ms

[3071:081] [2022-09-05 03:29:42 +0000.485266][bcc] ~VideoBindDecoder leave. expire


time = 3 ms

[3071:081] [2022-09-05 03:29:42 +0000.485301][bcc] DestoryDecoderByVideoSource


leave. expire time = 3 ms

[3071:081] [2022-09-05 03:29:42 +0000.485340][bcc] UnbindInputFilter 0x776ed4d298


this 0x776ed4d7d8
[3071:081] [2022-09-05 03:29:42 +0000.485368][bcc] UnbindInputFilter 0x776ed4d1d8
this 0x776ed4d298
[3071:081] [2022-09-05 03:29:42 +0000.485398][bcc] UnbindInputFilter 0x7755a23f20
this 0x776ed4d1d8
[3071:081] [2022-09-05 03:29:42 +0000.485429][bcc] UnbindInputFilter 0x776ed4d718
this 0x776ed4d898
[3071:082] [2022-09-05 03:29:42 +0000.485457][bcc] UnbindInputFilter 0x776ed4d658
this 0x776ed4d718
[3071:082] [2022-09-05 03:29:42 +0000.485483][bcc] UnbindInputFilter 0x7755a23f20
this 0x776ed4d658
[3071:082] [2022-09-05 03:29:42 +0000.485609][bcc] ~GLESContext:
[3071:084] [2022-09-05 03:29:42 +0000.487606][bcc] GLESContext destruct finish.
[3071:084] [2022-09-05 03:29:42 +0000.487645][bcc] filter: filter pipeline destroy
this: 0x776eb27f00
[3071:084] [2022-09-05 03:29:42 +0000.488024][bcc]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[3071:084] [2022-09-05 03:29:42 +0000.488363][bcc] machine model :poco
[3071:084] [2022-09-05 03:29:42 +0000.488378][bcc] Support this machine model :poco
[3071:084] [2022-09-05 03:29:42 +0000.488390][bcc] global inited! current sdk
version: 07-20-936c45f
[3071:085] [2022-09-05 03:29:42 +0000.488668][bcc] filter: filter pipeline
construtc this: 0x776eb27f00
[3071:085] [2022-09-05 03:29:42 +0000.488696][bcc] MediaFilterGraph:
MediaFilterGraph construct
[3071:085] [2022-09-05 03:29:42 +0000.488706][bcc] GLESContext:
[3071:085] [2022-09-05 03:29:42 +0000.488732][bcc] The result of eglGetDisplay is:
0xb4000078537e3a00
[3071:086] [2022-09-05 03:29:42 +0000.489454][bcc] The result of creation:
0x77516cd000
[3071:086] [2022-09-05 03:29:42 +0000.489522][bcc] The result of
eglCreatePbufferSurface is: 0x77516cd180
[3071:086] [2022-09-05 03:29:42 +0000.489611][bcc] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4
[3071:086] [2022-09-05 03:29:42 +0000.489666][bcc] The source 0 speed:1
[3071:086] [2022-09-05 03:29:42 +0000.489683][bcc] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4,
delay: 0
[3071:086] [2022-09-05 03:29:42 +0000.489718][bcc] CreateDecoderByVideoSource
time:660931043 enter.

[3071:086] [2022-09-05 03:29:42 +0000.489834][bcc] running_decoder_count:0max


count:2
[3071:086] [2022-09-05 03:29:42 +0000.489852][bcc] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7835987000
[3071:086] [2022-09-05 03:29:42 +0000.490336][5b23] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7751941a00] Current FFmpeg version git-2021-06-16-
97cea6f

[3071:245] [2022-09-05 03:29:42 +0000.648743][5b23] OnStreamInfoFound: video


duration_: 14815
[3071:246] [2022-09-05 03:29:42 +0000.649815][bcc] start decoder
[3071:246] [2022-09-05 03:29:42 +0000.649815][5b24] NO get frame from decoder
[3071:246] [2022-09-05 03:29:42 +0000.649909][bcc] CreateDecoderByVideoSource
leave. expire time = 160 ms

[3071:246] [2022-09-05 03:29:42 +0000.649975][bcc] BindInputFilter 0x7755a23f20


this 0x776ed4cf98
[3071:246] [2022-09-05 03:29:42 +0000.649990][bcc] BindInputFilter 0x776ed4cf98
this 0x776ed4d058
[3071:246] [2022-09-05 03:29:42 +0000.650006][bcc] BindInputFilter 0x7755a23f20
this 0x776ed4d118
[3071:246] [2022-09-05 03:29:42 +0000.650021][bcc] BindInputFilter 0x776ed4d118
this 0x776ed4d4d8
[3071:246] [2022-09-05 03:29:42 +0000.650031][bcc] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4
[3071:246] [2022-09-05 03:29:42 +0000.650095][bcc] BindInputFilter 0x776ed4d058
this 0x776ed4d598
[3071:246] [2022-09-05 03:29:42 +0000.650115][bcc] BindInputFilter 0x776ed4d598
this 0x776eb27fa0
[3071:246] [2022-09-05 03:29:42 +0000.650132][bcc] BindInputFilter 0x776ed4d4d8
this 0x776ed4d658
[3071:246] [2022-09-05 03:29:42 +0000.650158][bcc] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_660912529.mp4
[3071:246] [2022-09-05 03:29:42 +0000.650224][bcc]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[3071:246] [2022-09-05 03:29:42 +0000.650354][bcc] MediaComposeFile time:660931203
enter.

[3071:246] [2022-09-05 03:29:42 +0000.650377][bcc] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[3071:247] [2022-09-05 03:29:42 +0000.650509][bcc] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[3071:247] [2022-09-05 03:29:42 +0000.650533][bcc] Recording session using default
bitrate support by app:31457280
[3071:247] [2022-09-05 03:29:42 +0000.650577][5b2e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x770de81240
[3071:247] [2022-09-05 03:29:42 +0000.650640][5b2e] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[3071:247] [2022-09-05 03:29:42 +0000.650743][bcc] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[3071:247] [2022-09-05 03:29:42 +0000.650753][5b24] NO get frame from decoder
[3071:247] [2022-09-05 03:29:42 +0000.650796][bcc] GetPipeline:
-----------------------------------------
[3071:247] [2022-09-05 03:29:42 +0000.650816][bcc] GetPipeline: source:
0x7755a23d00
[3071:247] [2022-09-05 03:29:42 +0000.650827][bcc] GetPipeline: filter: NULLFilter
[3071:247] [2022-09-05 03:29:42 +0000.650838][bcc] GetPipeline: filter: NULLFilter
[3071:247] [2022-09-05 03:29:42 +0000.650848][bcc] GetPipeline: filter: NULLFilter
[3071:247] [2022-09-05 03:29:42 +0000.650858][bcc] GetPipeline: audio filter:
AuidoNULLFilter
[3071:247] [2022-09-05 03:29:42 +0000.650867][bcc] GetPipeline: audio filter:
AuidoNULLFilter
[3071:247] [2022-09-05 03:29:42 +0000.650891][bcc] GetPipeline: audio filter:
AudioNUllFilter
[3071:247] [2022-09-05 03:29:42 +0000.650901][bcc] GetPipeline:
------------------------------------------
[3071:247] [2022-09-05 03:29:42 +0000.650911][bcc] filter: filter pipeline2 update
pattern: 2
[3071:247] [2022-09-05 03:29:42 +0000.651054][bcc] MediaComposeFile leave. expire
time = 1 ms

[3071:247] [2022-09-05 03:29:42 +0000.651295][bcc] machine model :poco


[3071:247] [2022-09-05 03:29:42 +0000.651313][bcc] Support this machine model :poco
[3071:247] [2022-09-05 03:29:42 +0000.651323][bcc] global inited! current sdk
version: 07-20-936c45f
[3071:248] [2022-09-05 03:29:42 +0000.651530][5b24] NO get frame from decoder
[3071:248] [2022-09-05 03:29:42 +0000.652073][5b24] NO get frame from decoder
[3071:251] [2022-09-05 03:29:42 +0000.654505][5b24] NO get frame from decoder
[3071:252] [2022-09-05 03:29:42 +0000.656183][5b24] NO get frame from decoder
[3071:258] [2022-09-05 03:29:42 +0000.662196][5b24] NO get frame from decoder
[3071:259] [2022-09-05 03:29:42 +0000.663070][5b24] NO get frame from decoder
[3071:263] [2022-09-05 03:29:42 +0000.666878][bcc]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[3071:263] [2022-09-05 03:29:42 +0000.666994][bcc] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 313
[3071:263] [2022-09-05 03:29:42 +0000.667063][bcc]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[3071:263] [2022-09-05 03:29:42 +0000.667092][bcc] BeginCompose: BeginCompose, is
composing 0
[3071:274] [2022-09-05 03:29:42 +0000.678116][5b2e] start recording, file path:
[3071:274] [2022-09-05 03:29:42 +0000.678284][5b2e] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 313 audio_timescale:44100
video_timescale:90000
[3071:274] [2022-09-05 03:29:42 +0000.678347][5b2e] 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
[3071:274] [2022-09-05 03:29:42 +0000.678377][5b2e] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 313
[3071:275] [2022-09-05 03:29:42 +0000.678448][5b2e] fd_open successed
handle:0xb400007907c030b0
[3071:275] [2022-09-05 03:29:42 +0000.678576][5b2e] create mp4 file:314
m_fileHandle: 0x77518b4d00
[3071:275] [2022-09-05 03:29:42 +0000.678601][5b2e] MP4 file: is opened
successfully
[3071:275] [2022-09-05 03:29:42 +0000.678616][5b2e] setupMediaProcessers:
[3071:275] [2022-09-05 03:29:42 +0000.678630][5b2e]
RecordingSessionInternalSimple:setup media processers.
[3071:275] [2022-09-05 03:29:42 +0000.678670][5b2e] construct AAC encoder
[3071:275] [2022-09-05 03:29:42 +0000.678892][5b2e] H264Encoder creating:
ultrafast012323
[3071:275] [2022-09-05 03:29:42 +0000.678921][5b2e] H264Encode::H264Encoder
creating with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[3071:275] [2022-09-05 03:29:42 +0000.679170][5b2e] H264Encode::GetMachineModel is
M2012K11AG
[3071:275] [2022-09-05 03:29:42 +0000.679200][5b2e] H264Encoder machine_mode
is:M2012K11AG
[3071:275] [2022-09-05 03:29:42 +0000.679215][5b2e] H264Encode::machine size :9
machine_mode:M2012K11AG
[3071:275] [2022-09-05 03:29:42 +0000.679242][5b2e] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[3071:275] [2022-09-05 03:29:42 +0000.679278][5b2e] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[3071:275] [2022-09-05 03:29:42 +0000.679309][5b2e] setupCompressionSession:
[3071:275] [2022-09-05 03:29:42 +0000.679323][5b2e] H264Encode::creating hareware
Encoder
[3071:275] [2022-09-05 03:29:42 +0000.679348][5b2e] AndroidHwAvcEncoder
time:660931232 enter.

[3071:276] [2022-09-05 03:29:42 +0000.679501][5b2e] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007907b33540 address:0x77388d3760
[3071:276] [2022-09-05 03:29:42 +0000.679592][5b2e] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[3071:276] [2022-09-05 03:29:42 +0000.679618][5b2e] The video avc hw codec address
is 0x776ee762e8
[3071:276] [2022-09-05 03:29:42 +0000.679681][5b2e] AndroidHwAvcEncoder leave.
expire time = 1 ms

[3071:276] [2022-09-05 03:29:42 +0000.679707][5b2e] RegisterEncodeCompleteCallback


time:660931233 enter.

[3071:276] [2022-09-05 03:29:42 +0000.679784][5b2e] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[3071:276] [2022-09-05 03:29:42 +0000.679813][5b2e] InitEncode time:660931233


enter.

[3071:276] [2022-09-05 03:29:42 +0000.679856][5b2e] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[3071:276] [2022-09-05 03:29:42 +0000.679884][5b2e] Create time:660931233 enter.

[3071:276] [2022-09-05 03:29:42 +0000.679899][5b2e] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[3071:276] [2022-09-05 03:29:42 +0000.679917][5b2e]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7751629f40
[3071:276] [2022-09-05 03:29:42 +0000.680036][5b2e]
supported_type:image/vnd.android.heic
[3071:276] [2022-09-05 03:29:42 +0000.680073][5b2e] supported_type:video/avc
[3071:276] [2022-09-05 03:29:42 +0000.680100][5b2e] name:OMX.qcom.video.encoder.avc
mime:video/avc
[3071:276] [2022-09-05 03:29:42 +0000.680144][5b2e] hwCodecPrefix :OMX.qcom.
[3071:276] [2022-09-05 03:29:42 +0000.680171][5b2e] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[3071:276] [2022-09-05 03:29:42 +0000.680204][5b2e] mediacodec_createCodecByName
time:660931233 enter.

[3071:276] [2022-09-05 03:29:42 +0000.680237][5b2e] WrapAndroidMediaCodec


time:660931233 enter.

[3071:276] [2022-09-05 03:29:42 +0000.680336][5b2e] WrapAndroidMediaCodec leave.


expire time = 0 ms

[3071:287] [2022-09-05 03:29:42 +0000.690622][5b33] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x776ed05c98
[3071:318] [2022-09-05 03:29:42 +0000.722398][5b2e] mediacodec_createCodecByName
leave. expire time = 42 ms

[3071:319] [2022-09-05 03:29:42 +0000.722496][5b2e] WrapAndroidMediaFromat


time:660931276 enter.

[3071:319] [2022-09-05 03:29:42 +0000.722555][5b2e] WrapAndroidMediaFromat leave.


expire time = 0 ms

[3071:352] [2022-09-05 03:29:42 +0000.756234][5b2e] Destroy time:660931309 enter.

[3071:352] [2022-09-05 03:29:42 +0000.756339][5b2e] WrapAndroidMediaFromat::


Destroy
[3071:352] [2022-09-05 03:29:42 +0000.756358][5b2e] Destroy leave. expire time = 0
ms

[3071:352] [2022-09-05 03:29:42 +0000.756373][5b2e] ~WrapAndroidMediaFromat


time:660931309 enter.

[3071:352] [2022-09-05 03:29:42 +0000.756389][5b2e] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[3071:352] [2022-09-05 03:29:42 +0000.756407][5b2e] Create leave. expire time = 76


ms

[3071:352] [2022-09-05 03:29:42 +0000.756423][5b2e] isSemiPlanarSupport


time:660931309 enter.

[3071:353] [2022-09-05 03:29:42 +0000.756439][5b2e] H264Encoder isSemiPlanarSupport


[3071:353] [2022-09-05 03:29:42 +0000.756456][5b2e] isSemiPlanarSupport leave.
expire time = 1 ms

[3071:353] [2022-09-05 03:29:42 +0000.756471][5b2e] creat hw H264Encoder success,


isSemiPlanar:1
[3071:353] [2022-09-05 03:29:42 +0000.756569][5b2e] InitEncode leave. expire time
= 77 ms

[3071:353] [2022-09-05 03:29:42 +0000.756658][5b2e] H264Encode::created Encoder


[3071:353] [2022-09-05 03:29:42 +0000.756676][5b2e] H264Encode:: H264 encoder
created.
[3071:353] [2022-09-05 03:29:42 +0000.756690][5b2e] H264 encoder created.
[3071:353] [2022-09-05 03:29:42 +0000.756705][5b2e]
RecordingSessionInternalSimple:created avc encoder avc: 0x7751c6c400
[3071:353] [2022-09-05 03:29:42 +0000.756721][5b2e] setOutput:
[3071:353] [2022-09-05 03:29:42 +0000.756735][5b2e]
RecordingSessionInternalSimple:encoder set output to muxer!
[3071:353] [2022-09-05 03:29:42 +0000.756750][5b2e] request a key frame
[3071:353] [2022-09-05 03:29:42 +0000.756764][5b2e] H264Encode:: request a key
frame
[3071:359] [2022-09-05 03:29:42 +0000.762936][5b2e] setDisplayRotate :90
[3071:359] [2022-09-05 03:29:42 +0000.762984][5b2e] 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
[3071:365] [2022-09-05 03:29:42 +0000.768969][5b2f]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[3071:385] [2022-09-05 03:29:42 +0000.789081][5b2f] Push an pts:96 to dts queue.
[3071:441] [2022-09-05 03:29:42 +0000.845227][5b32] audio_frame_list_ empty
[3071:492] [2022-09-05 03:29:42 +0000.895978][5b33] add aac audio track with id:1
[3071:492] [2022-09-05 03:29:42 +0000.896056][5b33] audio start ts:0
[3071:492] [2022-09-05 03:29:42 +0000.896078][5b33] the audio frame has been
written into MP4 file
[3071:494] [2022-09-05 03:29:42 +0000.897642][5b2e] setDisplayRotate :90
[3071:494] [2022-09-05 03:29:42 +0000.897680][5b2e] 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
[3071:504] [2022-09-05 03:29:42 +0000.907793][5b2f] h264 add frame header cdr flag
[3071:505] [2022-09-05 03:29:42 +0000.908926][5b2f] h264 add frame header cdr flag
[3071:506] [2022-09-05 03:29:42 +0000.909657][5b2f] Received key frame:10
[3071:506] [2022-09-05 03:29:42 +0000.909690][5b2f] H264Encode:: get a sps pps
header!headerSize:32
[3071:506] [2022-09-05 03:29:42 +0000.909882][5b33] get the H.264 SPS parameter
[3071:506] [2022-09-05 03:29:42 +0000.910069][5b33] add video track with id:2
[3071:508] [2022-09-05 03:29:42 +0000.911716][5b33] get the H.264 PPS parameter
[3071:509] [2022-09-05 03:29:42 +0000.912446][5b2f] DTS queue for
Generator:0x776ed05eb8 69 96 132 164 197 232 262 298
[3071:509] [2022-09-05 03:29:42 +0000.913146][5b33] get the H.264 IDR frame
[3071:509] [2022-09-05 03:29:42 +0000.913202][5b33] resss:true
[3071:509] [2022-09-05 03:29:42 +0000.913220][5b33] video start ts:10
[3071:509] [2022-09-05 03:29:42 +0000.913349][5b33] the video frame has been
written into MP4 file
[3071:522] [2022-09-05 03:29:42 +0000.925969][5b31] Error(video_source.cc:430):
wait decoder a frame: 0
[3071:527] [2022-09-05 03:29:42 +0000.930562][5b2f] last dts:69 currentPts:96
ppsOrSPS:0 queue length:9
[3071:570] [2022-09-05 03:29:42 +0000.974199][5b32] audio frame wait video
frame.last_video_timestamp:797 last_audio_timestamp:997.687
[3071:689] [2022-09-05 03:29:43 +0000.92529][5b2f] DTS queue for
Generator:0x776ed05eb8 898 927 962 998 1029 1060 1095 1126
[3071:761] [2022-09-05 03:29:43 +0000.164529][5b2e] setDisplayRotate :90
[3071:761] [2022-09-05 03:29:43 +0000.164591][5b2e] 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
[3071:788] [2022-09-05 03:29:43 +0000.192286][5b31] webrtc common_video plane
old ..... (1/1000) new: 19001 delete: 18968 diff: 33
[3071:794] [2022-09-05 03:29:43 +0000.197933][5b2f] Push an pts:1423 to dts queue.
[3071:812] [2022-09-05 03:29:43 +0000.216002][5b31] Error(video_source.cc:430):
wait decoder a frame: 0
[3071:842] [2022-09-05 03:29:43 +0000.245881][5b2f] SendFrame
encodedImage._timeStamp:1423encodedImage->_length:32880
[3071:842] [2022-09-05 03:29:43 +0000.246126][5b2f] last dts:1392 currentPts:1423
ppsOrSPS:0 queue length:8
[3071:853] [2022-09-05 03:29:43 +0000.256735][5b32] audio_frame_list_ empty
[3071:871] [2022-09-05 03:29:43 +0000.275120][5b2f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1900
[3071:871] [2022-09-05 03:29:43 +0000.275226][5b2f] push video frame to H264
encoder. (100 frame for one log)
[3071:871] [2022-09-05 03:29:43 +0000.275264][5b2f] push video frame to H264
encoder. (100 frame for one log) used width:1920 height:1080

[3071:871] [2022-09-05 03:29:43 +0000.275282][5b2f] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:1900(100 frame for one
log)

[3071:871] [2022-09-05 03:29:43 +0000.275305][5b2f] The input pts:1900 fps:30


[3071:873] [2022-09-05 03:29:43 +0000.277171][5b2f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1624 pts:1624
[3071:885] [2022-09-05 03:29:43 +0000.288765][5b2f] DTS queue for
Generator:0x776ed05eb8 1723 1758 1795 1829 1860 1900 1925 1957
[3071:921] [2022-09-05 03:29:43 +0000.325400][5b2f] H264Encode::H264SWEncoder get
callback, length:49152 type:1 nalType:1length:49148
[3071:991] [2022-09-05 03:29:43 +0000.394800][5b2e] setDisplayRotate :90
[3071:991] [2022-09-05 03:29:43 +0000.394845][5b2e] 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
[3071:998] [2022-09-05 03:29:43 +0000.401681][5b2f] h264 add frame header cdr flag
[3071:998] [2022-09-05 03:29:43 +0000.401871][5b2f] Received key frame:1990
[3072:002] [2022-09-05 03:29:43 +0000.405775][5b33] get the H.264 IDR frame
[3072:097] [2022-09-05 03:29:43 +0000.501096][5b2f] Push an pts:2761 to dts queue.
[3072:115] [2022-09-05 03:29:43 +0000.518748][5b2f] DTS queue for
Generator:0x776ed05eb8 2557 2593 2626 2659 2691 2728 2761
[3072:115] [2022-09-05 03:29:43 +0000.519049][5af1] Run AGC when audioType = 0
[3072:153] [2022-09-05 03:29:43 +0000.556648][5b31] Error(video_source.cc:430):
wait decoder a frame: 8
[3072:156] [2022-09-05 03:29:43 +0000.560464][5b2f] last dts:2728 currentPts:2761
ppsOrSPS:0 queue length:8
[3072:198] [2022-09-05 03:29:43 +0000.601704][5b32] audio_frame_list_ empty
[3072:267] [2022-09-05 03:29:43 +0000.671396][5b2e] setDisplayRotate :90
[3072:268] [2022-09-05 03:29:43 +0000.671448][5b2e] 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
[3072:346] [2022-09-05 03:29:43 +0000.749545][5b2f] DTS queue for
Generator:0x776ed05eb8 3422 3457 3491 3523 3556
[3072:387] [2022-09-05 03:29:43 +0000.791397][5af1] haveEnoughProcessedData
internalAudioStream.length: 0
[3072:437] [2022-09-05 03:29:43 +0000.841049][5b2f] Push an pts:4091 to dts queue.
[3072:471] [2022-09-05 03:29:43 +0000.875021][5b2f] h264 add frame header cdr flag
[3072:472] [2022-09-05 03:29:43 +0000.876142][5b2f] Received key frame:3988
[3072:473] [2022-09-05 03:29:43 +0000.876680][5b33] get the H.264 IDR frame
[3072:489] [2022-09-05 03:29:43 +0000.892732][5b2f] last dts:4058 currentPts:4091
ppsOrSPS:0 queue length:9
[3072:502] [2022-09-05 03:29:43 +0000.905608][5b2f] DTS queue for
Generator:0x776ed05eb8 4158 4190 4224 4255 4289 4334 4360 4392 4426 4457
[3072:509] [2022-09-05 03:29:43 +0000.912586][5b31] Error(video_source.cc:430):
wait decoder a frame: 28
[3072:552] [2022-09-05 03:29:43 +0000.955447][5b2e] setDisplayRotate :90
[3072:552] [2022-09-05 03:29:43 +0000.955517][5b2e] 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
[3072:582] [2022-09-05 03:29:43 +0000.985556][5b2e] setDisplayRotate :90
[3072:582] [2022-09-05 03:29:43 +0000.985651][5b2e] 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
[3072:604] [2022-09-05 03:29:44 +0000.8301][5b2e] setDisplayRotate :90
[3072:604] [2022-09-05 03:29:44 +0000.8428][5b2e] 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
[3072:646] [2022-09-05 03:29:44 +0000.50287][5b2e] setDisplayRotate :90
[3072:646] [2022-09-05 03:29:44 +0000.50377][5b2e] 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
[3072:655] [2022-09-05 03:29:44 +0000.58678][5b2f] SendFrame
encodedImage._timeStamp:4761encodedImage->_length:18304
[3072:670] [2022-09-05 03:29:44 +0000.74417][5b2e] setDisplayRotate :90
[3072:671] [2022-09-05 03:29:44 +0000.74558][5b2e] 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
[3072:693] [2022-09-05 03:29:44 +0000.97289][5b2e] setDisplayRotate :90
[3072:693] [2022-09-05 03:29:44 +0000.97334][5b2e] 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
[3072:711] [2022-09-05 03:29:44 +0000.114640][5b2e] setDisplayRotate :90
[3072:711] [2022-09-05 03:29:44 +0000.114705][5b2e] 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
[3072:722] [2022-09-05 03:29:44 +0000.125602][5b2e] setDisplayRotate :90
[3072:722] [2022-09-05 03:29:44 +0000.125651][5b2e] 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
[3072:729] [2022-09-05 03:29:44 +0000.132610][5b2f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4990 pts:4990
[3072:747] [2022-09-05 03:29:44 +0000.150927][5b2f] DTS queue for
Generator:0x776ed05eb8 5119 5153
[3072:755] [2022-09-05 03:29:44 +0000.158840][5b2e] setDisplayRotate :90
[3072:755] [2022-09-05 03:29:44 +0000.158899][5b2e] 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
[3072:757] [2022-09-05 03:29:44 +0000.161080][5b2f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:5255
[3072:757] [2022-09-05 03:29:44 +0000.161153][5b2f] push video frame to H264
encoder. (100 frame for one log)

[3072:757] [2022-09-05 03:29:44 +0000.161191][5b2f] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[3072:757] [2022-09-05 03:29:44 +0000.161213][5b2f] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:5255(100 frame for one
log)

[3072:757] [2022-09-05 03:29:44 +0000.161236][5b2f] The input pts:5255 fps:30


[3072:775] [2022-09-05 03:29:44 +0000.178504][5b2e] setDisplayRotate :90
[3072:775] [2022-09-05 03:29:44 +0000.178599][5b2e] 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
[3072:822] [2022-09-05 03:29:44 +0000.225748][5b32] audio_frame_list_ empty
[3072:860] [2022-09-05 03:29:44 +0000.263908][5b2e] setDisplayRotate :90
[3072:860] [2022-09-05 03:29:44 +0000.263952][5b2e] 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
[3072:873] [2022-09-05 03:29:44 +0000.276846][5b2f] H264Encode::H264SWEncoder get
callback, length:138560 type:1 nalType:1length:138556
[3072:879] [2022-09-05 03:29:44 +0000.282818][5b2f] Push an pts:5423 to dts queue.
[3072:901] [2022-09-05 03:29:44 +0000.304958][5b31] webrtc common_video plane
old ..... (1/1000) new: 20001 delete: 19972 diff: 29
[3072:905] [2022-09-05 03:29:44 +0000.309070][5b32] FilterPipeline2::OnAudioFrame
pts 262048 last_audio_timestamp_ 5942.13
[3072:920] [2022-09-05 03:29:44 +0000.323620][5b31] Error(video_source.cc:430):
wait decoder a frame: 0
[3072:922] [2022-09-05 03:29:44 +0000.325939][5b2f] last dts:5388 currentPts:5423
ppsOrSPS:0 queue length:7
[3073:003] [2022-09-05 03:29:44 +0000.407172][5b2f] DTS queue for
Generator:0x776ed05eb8 5897 5924 5960 5992 6024 6057
[3073:030] [2022-09-05 03:29:44 +0000.433942][5b2f] h264 add frame header cdr flag
[3073:030] [2022-09-05 03:29:44 +0000.434187][5b2f] Received key frame:5992
[3073:032] [2022-09-05 03:29:44 +0000.435608][5b33] get the H.264 IDR frame
[3073:114] [2022-09-05 03:29:44 +0000.517799][5b2e] setDisplayRotate :90
[3073:114] [2022-09-05 03:29:44 +0000.517856][5b2e] 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
[3073:206] [2022-09-05 03:29:44 +0000.609939][5b2f] Push an pts:6758 to dts queue.
[3073:224] [2022-09-05 03:29:44 +0000.627874][5b32] audio_frame_list_ empty
[3073:237] [2022-09-05 03:29:44 +0000.641211][5b31] Error(video_source.cc:430):
wait decoder a frame: 19
[3073:253] [2022-09-05 03:29:44 +0000.656962][5b2f] DTS queue for
Generator:0x776ed05eb8 6688 6723 6758 6790 6819 6855 6893
[3073:282] [2022-09-05 03:29:44 +0000.685837][5b2f] last dts:6723 currentPts:6758
ppsOrSPS:0 queue length:8
[3073:375] [2022-09-05 03:29:44 +0000.778860][5b2e] setDisplayRotate :90
[3073:375] [2022-09-05 03:29:44 +0000.778917][5b2e] 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
[3073:452] [2022-09-05 03:29:44 +0000.856243][5b2f] DTS queue for
Generator:0x776ed05eb8 7485 7521 7557 7585 7620 7656 7684 7719 7771
[3073:510] [2022-09-05 03:29:44 +0000.913879][5b2f] Push an pts:8088 to dts queue.
[3073:546] [2022-09-05 03:29:44 +0000.949468][5b2f] h264 add frame header cdr flag
[3073:546] [2022-09-05 03:29:44 +0000.949645][5b2f] Received key frame:7990
[3073:565] [2022-09-05 03:29:44 +0000.969263][5b32] audio_frame_list_ empty
[3073:572] [2022-09-05 03:29:44 +0000.976018][5b33] get the H.264 IDR frame
[3073:572] [2022-09-05 03:29:44 +0000.976180][5b2f] SendFrame
encodedImage._timeStamp:8088encodedImage->_length:62400
[3073:572] [2022-09-05 03:29:44 +0000.976233][5b2f] last dts:8054 currentPts:8088
ppsOrSPS:0 queue length:8
[3073:580] [2022-09-05 03:29:44 +0000.983618][5b31] video frame wait audio frame:
last_video_timestamp:8357 last_audio_timestamp:8147.44
[3073:660] [2022-09-05 03:29:45 +0000.64434][5b2e] setDisplayRotate :90
[3073:661] [2022-09-05 03:29:45 +0000.64473][5b2e] 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
[3073:691] [2022-09-05 03:29:45 +0000.94568][5b31] Error(video_source.cc:430): wait
decoder a frame: 0
[3073:700] [2022-09-05 03:29:45 +0000.103618][5b2f] DTS queue for
Generator:0x776ed05eb8 8398 8422 8453 8488
[3073:700] [2022-09-05 03:29:45 +0000.103682][5b2f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:8357 pts:8357
[3073:708] [2022-09-05 03:29:45 +0000.111849][5b2f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:8622
[3073:708] [2022-09-05 03:29:45 +0000.111953][5b2f] push video frame to H264
encoder. (100 frame for one log)

[3073:708] [2022-09-05 03:29:45 +0000.111979][5b2f] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080
[3073:708] [2022-09-05 03:29:45 +0000.112018][5b2f] H264Encode::push video frame to
H264 encoder, using hw H264:1 width:1920 height:1080 pts:8622(100 frame for one
log)

[3073:708] [2022-09-05 03:29:45 +0000.112039][5b2f] The input pts:8622 fps:30


[3073:771] [2022-09-05 03:29:45 +0000.174921][5b2f] H264Encode::H264SWEncoder get
callback, length:77488 type:1 nalType:1length:77484
[3073:919] [2022-09-05 03:29:45 +0000.323185][5b32] audio_frame_list_ empty
[3073:938] [2022-09-05 03:29:45 +0000.341684][5b2e] setDisplayRotate :90
[3073:938] [2022-09-05 03:29:45 +0000.341832][5b2e] 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
[3073:942] [2022-09-05 03:29:45 +0000.345979][5b2f] Push an pts:9422 to dts queue.
[3073:944] [2022-09-05 03:29:45 +0000.347928][5b2f] DTS queue for
Generator:0x776ed05eb8 9122 9153 9188 9220 9256 9290 9319 9354 9390 9422
[3073:984] [2022-09-05 03:29:45 +0000.387854][5b31] webrtc common_video plane
old ..... (1/1000) new: 21001 delete: 20952 diff: 49
[3074:001] [2022-09-05 03:29:45 +0000.404974][5b31] Error(video_source.cc:430):
wait decoder a frame: 0
[3074:003] [2022-09-05 03:29:45 +0000.406658][5b2f] last dts:9390 currentPts:9422
ppsOrSPS:0 queue length:9
[3074:111] [2022-09-05 03:29:45 +0000.515001][5b2f] DTS queue for
Generator:0x776ed05eb8 9988 10021 10055 10089 10123 10154 10187 10218
[3074:120] [2022-09-05 03:29:45 +0000.523574][5af1] Run AGC when audioType = 0
[3074:120] [2022-09-05 03:29:45 +0000.523672][5af1]
AudioDeviceDataHandler::MixAndSendOutFrame
[3074:120] [2022-09-05 03:29:45 +0000.524020][5b2f] h264 add frame header cdr flag
[3074:120] [2022-09-05 03:29:45 +0000.524177][5b2f] Received key frame:9988
[3074:121] [2022-09-05 03:29:45 +0000.525364][5b33] get the H.264 IDR frame
[3074:157] [2022-09-05 03:29:45 +0000.561137][5af1] haveEnoughProcessedData
internalAudioStream.length: 10
[3074:205] [2022-09-05 03:29:45 +0000.609417][5b2e] setDisplayRotate :90
[3074:206] [2022-09-05 03:29:45 +0000.609542][5b2e] 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
[3074:259] [2022-09-05 03:29:45 +0000.663080][5b2f] Push an pts:10750 to dts queue.
[3074:307] [2022-09-05 03:29:45 +0000.710713][5b2f] last dts:10715 currentPts:10750
ppsOrSPS:0 queue length:8
[3074:308] [2022-09-05 03:29:45 +0000.712381][5b2f] DTS queue for
Generator:0x776ed05eb8 10782 10815 10854 10889 10916 10951 10982 11015 11050
[3074:332] [2022-09-05 03:29:45 +0000.735915][5b32] audio_frame_list_ empty
[3074:338] [2022-09-05 03:29:45 +0000.741443][5b31] Error(video_source.cc:430):
wait decoder a frame: 0
[3074:438] [2022-09-05 03:29:45 +0000.841531][5b2e] setDisplayRotate :90
[3074:438] [2022-09-05 03:29:45 +0000.841605][5b2e] 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
[3074:483] [2022-09-05 03:29:45 +0000.887239][5b2f] SendFrame
encodedImage._timeStamp:11420encodedImage->_length:50416
[3074:512] [2022-09-05 03:29:45 +0000.915759][5b2f] DTS queue for
Generator:0x776ed05eb8 11613 11648 11685 11718 11752 11784 11817 11848 11889
[3074:528] [2022-09-05 03:29:45 +0000.931906][5b2f] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:11718 pts:11718
[3074:536] [2022-09-05 03:29:45 +0000.939760][5b2f] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:11985
[3074:536] [2022-09-05 03:29:45 +0000.939829][5b2f] push video frame to H264
encoder. (100 frame for one log)
[3074:536] [2022-09-05 03:29:45 +0000.939897][5b2f] push video frame to H264
encoder. (100 frame for one log) used width:1920 height:1080

[3074:536] [2022-09-05 03:29:45 +0000.939917][5b2f] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:11985(100 frame for one
log)

[3074:536] [2022-09-05 03:29:45 +0000.939942][5b2f] The input pts:11985 fps:30


[3074:548] [2022-09-05 03:29:45 +0000.952322][5b2f] Push an pts:12088 to dts queue.
[3074:567] [2022-09-05 03:29:45 +0000.970876][67ed]
monitorTime:4003totalDuration:3920
[3074:583] [2022-09-05 03:29:45 +0000.987079][5b2f] h264 add frame header cdr flag
[3074:584] [2022-09-05 03:29:45 +0000.987457][5b2f] Received key frame:11985
[3074:584] [2022-09-05 03:29:45 +0000.987535][5b2f] H264Encode::H264SWEncoder get
callback, length:74336 type:0 nalType:5length:74332
[3074:589] [2022-09-05 03:29:45 +0000.993289][5b33] get the H.264 IDR frame
[3074:591] [2022-09-05 03:29:45 +0000.995103][5b2f] last dts:12048 currentPts:12088
ppsOrSPS:0 queue length:6
[3074:673] [2022-09-05 03:29:46 +0000.76618][5b2e] setDisplayRotate :90
[3074:673] [2022-09-05 03:29:46 +0000.76697][5b2e] 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
[3074:702] [2022-09-05 03:29:46 +0000.106119][5b31] Error(video_source.cc:430):
wait decoder a frame: 0
[3074:704] [2022-09-05 03:29:46 +0000.107552][5b2f] DTS queue for
Generator:0x776ed05eb8 12451 12483 12517 12548 12581 12616 12647 12682
[3074:737] [2022-09-05 03:29:46 +0000.141139][5b32] audio_frame_list_ empty
[3074:833] [2022-09-05 03:29:46 +0000.236804][5b2f] Push an pts:13412 to dts queue.
[3074:893] [2022-09-05 03:29:46 +0000.297362][5b2e] setDisplayRotate :90
[3074:894] [2022-09-05 03:29:46 +0000.297475][5b2e] 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
[3074:901] [2022-09-05 03:29:46 +0000.304892][5b2f] DTS queue for
Generator:0x776ed05eb8 13281 13314 13351 13381 13412 13449 13482 13519
[3074:934] [2022-09-05 03:29:46 +0000.337852][5b2f] last dts:13381 currentPts:13412
ppsOrSPS:0 queue length:9
[3074:941] [2022-09-05 03:29:46 +0000.345254][5b31] webrtc common_video plane
old ..... (1/1000) new: 22001 delete: 21956 diff: 45
[3074:947] [2022-09-05 03:29:46 +0000.350760][5b31] Error(video_source.cc:430):
wait decoder a frame: 0
[3075:028] [2022-09-05 03:29:46 +0000.432078][5b24] av_read_frame AVERROR_EOF
[3075:036] [2022-09-05 03:29:46 +0000.439543][5b2f] h264 add frame header cdr flag
[3075:036] [2022-09-05 03:29:46 +0000.439859][5b2f] Received key frame:13983
[3075:037] [2022-09-05 03:29:46 +0000.440694][5b33] get the H.264 IDR frame
[3075:043] [2022-09-05 03:29:46 +0000.447145][5b2f] DTS queue for
Generator:0x776ed05eb8 14086 14113 14152 14188 14216 14251 14284 14315 14350
[3075:099] [2022-09-05 03:29:46 +0000.502870][5b24] OnReceiveEOF:
[3075:099] [2022-09-05 03:29:46 +0000.503001][5b24] OnDecoderEOF time:660935056
enter.

[3075:099] [2022-09-05 03:29:46 +0000.503268][5b24] OnDecoderEOF leave. expire


time = 0 ms

[3075:099] [2022-09-05 03:29:46 +0000.503281][5b22] CleanUp time:660935056 enter.

[3075:099] [2022-09-05 03:29:46 +0000.503341][5b24] OnDecoderFinished:


OnDecoderFinished total decoder frames:445 this:0x7755a23d00
[3075:099] [2022-09-05 03:29:46 +0000.503394][5b32] PullAudioFrame: PullFrame audio
finished.
[3075:099] [2022-09-05 03:29:46 +0000.503423][5b32] OnAudioTimer: OnAudioTimer
return
[3075:101] [2022-09-05 03:29:46 +0000.504828][5b31] OnVideoTimer: OnVideoTimer
EndComposeFile
[3075:101] [2022-09-05 03:29:46 +0000.504886][5b31] EndComposeFile:
EndComposeFile, is composing 1
[3075:103] [2022-09-05 03:29:46 +0000.506745][5b22] CleanUp leave. expire time = 4
ms

[3075:103] [2022-09-05 03:29:46 +0000.506870][5b22] clean up


[3075:103] [2022-09-05 03:29:46 +0000.506895][5b22] running_decoder_count:0max
count:2
[3075:108] [2022-09-05 03:29:46 +0000.511948][5b2f] Push an pts:14751 to dts queue.
[3075:116] [2022-09-05 03:29:46 +0000.520123][5b2f]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:445
[3075:116] [2022-09-05 03:29:46 +0000.520269][5b2f]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x77516cf800
[3075:118] [2022-09-05 03:29:46 +0000.521678][5b30]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[3075:118] [2022-09-05 03:29:46 +0000.521757][5b30]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[3075:118] [2022-09-05 03:29:46 +0000.522120][5b2e] stop recording
[3075:118] [2022-09-05 03:29:46 +0000.522198][5b2e]
RecordingSessionInternalSimple:destroy media processers
[3075:118] [2022-09-05 03:29:46 +0000.522241][5b2e] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[3075:118] [2022-09-05 03:29:46 +0000.522281][5b2e] H264Encode::flushing hareware
Encoder
[3075:119] [2022-09-05 03:29:46 +0000.523002][5b2e] Flush time:660935076 enter.

[3075:119] [2022-09-05 03:29:46 +0000.523144][5b2e] H264Encoder encoder flush


[3075:119] [2022-09-05 03:29:46 +0000.523230][5b2e] flush output queue
[3075:160] [2022-09-05 03:29:46 +0000.563518][5b2e] SendFrame
encodedImage._timeStamp:14751encodedImage->_length:63856
[3075:160] [2022-09-05 03:29:46 +0000.563621][5b2e] last dts:14719 currentPts:14751
ppsOrSPS:0 queue length:2
[3075:445] [2022-09-05 03:29:46 +0000.848804][5b2e] Flush leave. expire time = 326
ms

[3075:445] [2022-09-05 03:29:46 +0000.849013][5b2e] ~H264EncodeWrap:


[3075:445] [2022-09-05 03:29:46 +0000.849068][5b2e] ~H264Encode:
[3075:445] [2022-09-05 03:29:46 +0000.849095][5b2e] teardownCompressionSession:
H264Encode::destroying Encoder
[3075:445] [2022-09-05 03:29:46 +0000.849127][5b2e] Release time:660935402 enter.

[3075:445] [2022-09-05 03:29:46 +0000.849374][5b2e] Release:


MediaCodecVideoEncoder::Release _inited:1
[3075:446] [2022-09-05 03:29:46 +0000.849469][5b2e] Destroy time:660935403 enter.

[3075:446] [2022-09-05 03:29:46 +0000.849583][5b2e] H264Encoder encoderDestroy


[3075:446] [2022-09-05 03:29:46 +0000.849623][5b2e]
AndroidMediaCodecVideoEncoder::release env: 0x7751c6c540
[3075:446] [2022-09-05 03:29:46 +0000.849673][5b2e]
AndroidMediaCodecVideoEncoder::Destroy
[3075:495] [2022-09-05 03:29:46 +0000.899270][5b2e] Destroy leave. expire time =
49 ms

[3075:496] [2022-09-05 03:29:46 +0000.899564][5b2e] Release leave. expire time =


51 ms
[3075:496] [2022-09-05 03:29:46 +0000.899607][5b2e] ~AndroidHwAvcEncoder
time:660935453 enter.

[3075:496] [2022-09-05 03:29:46 +0000.899756][5b2e] Release time:660935453 enter.

[3075:496] [2022-09-05 03:29:46 +0000.899797][5b2e] Release:


MediaCodecVideoEncoder:: has been released before, just return
[3075:496] [2022-09-05 03:29:46 +0000.899891][5b2e] Release leave. expire time = 0
ms

[3075:496] [2022-09-05 03:29:46 +0000.899925][5b2e] ~AndroidMediaCodecVideoEncoder


[3075:496] [2022-09-05 03:29:46 +0000.899956][5b2e] ~WrapAndroidMediaCodec
time:660935453 enter.

[3075:496] [2022-09-05 03:29:46 +0000.900029][5b2e] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[3075:496] [2022-09-05 03:29:46 +0000.900061][5b2e] video hevc hw codec


destructor:0x776ee762e8

[3075:496] [2022-09-05 03:29:46 +0000.900119][5b2e] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[3075:497] [2022-09-05 03:29:46 +0000.900783][5b2e] teardownCompressionSession:


H264Encode::destroyed Encoder
[3075:497] [2022-09-05 03:29:46 +0000.900840][5b2e]
RecordingSessionInternalSimple:destroy aac encoder output!
[3075:497] [2022-09-05 03:29:46 +0000.900882][5b2e] AACSWEncode destructor
[3075:502] [2022-09-05 03:29:46 +0000.905667][5b33] fd_close successed!
[3075:508] [2022-09-05 03:29:46 +0000.911790][5b33] MP4 close file successfully
[3075:508] [2022-09-05 03:29:46 +0000.911876][5b33] Recording session Internal:
notify recording ok
[3075:508] [2022-09-05 03:29:46 +0000.911901][5b33] onRecordingOk: Recording Ok,
compose use time: 4245, averagefps 0
[3075:508] [2022-09-05 03:29:46 +0000.911922][5b33] OnReceiveEOF:
[3075:510] [2022-09-05 03:29:46 +0000.913630][5b31] OnVideoTimer: OnVideoTimer
return
[3075:534] [2022-09-05 03:29:46 +0000.937570][bcc]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[3075:534] [2022-09-05 03:29:46 +0000.937767][bcc] ~MediaComposeFile time:660935491
enter.

[3075:534] [2022-09-05 03:29:46 +0000.937814][bcc] CancelCompose: CancelCompose,


is composing 0
[3075:534] [2022-09-05 03:29:46 +0000.937951][5b2e] stop recording
[3075:534] [2022-09-05 03:29:46 +0000.938006][5b2e] we have stopped recording
before
[3075:535] [2022-09-05 03:29:46 +0000.938511][bcc] ~MediaComposeFile leave. expire
time = 1 ms

[3075:535] [2022-09-05 03:29:46 +0000.938658][bcc] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[3075:535] [2022-09-05 03:29:46 +0000.938990][bcc] global uninited!
[3075:535] [2022-09-05 03:29:46 +0000.939043][bcc]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[3075:535] [2022-09-05 03:29:46 +0000.939093][bcc] ~MediaFilterGraph:
MediaFilterGraph destruct
[3075:535] [2022-09-05 03:29:46 +0000.939117][bcc] RemoveVideoBackGroud: hava not
add video backgroud
[3075:535] [2022-09-05 03:29:46 +0000.939151][bcc] UnbindInputFilter 0x776ed4d598
this 0x776eb27fa0
[3075:535] [2022-09-05 03:29:46 +0000.939180][bcc] ClearAllSource: remove source
filter, sourceid: 0x7755a23d00
[3075:535] [2022-09-05 03:29:46 +0000.939199][bcc] DestoryDecoderByVideoSource
time:660935492 enter.

[3075:535] [2022-09-05 03:29:46 +0000.939223][bcc] ~VideoBindDecoder time:660935492


enter.

[3075:535] [2022-09-05 03:29:46 +0000.939326][bcc] CleanUp time:660935492 enter.

[3075:536] [2022-09-05 03:29:46 +0000.939543][bcc] CleanUp leave. expire time = 1


ms

[3075:536] [2022-09-05 03:29:46 +0000.939579][bcc] CleanUp time:660935493 enter.

[3075:536] [2022-09-05 03:29:46 +0000.939761][bcc] CleanUp leave. expire time = 0


ms

[3075:536] [2022-09-05 03:29:46 +0000.940254][bcc] ~VideoBindDecoder leave. expire


time = 1 ms

[3075:536] [2022-09-05 03:29:46 +0000.940303][bcc] DestoryDecoderByVideoSource


leave. expire time = 1 ms

[3075:536] [2022-09-05 03:29:46 +0000.940335][bcc] UnbindInputFilter 0x776ed4d058


this 0x776ed4d598
[3075:536] [2022-09-05 03:29:46 +0000.940396][bcc] UnbindInputFilter 0x776ed4cf98
this 0x776ed4d058
[3075:537] [2022-09-05 03:29:46 +0000.940447][bcc] UnbindInputFilter 0x7755a23f20
this 0x776ed4cf98
[3075:537] [2022-09-05 03:29:46 +0000.940492][bcc] UnbindInputFilter 0x776ed4d4d8
this 0x776ed4d658
[3075:537] [2022-09-05 03:29:46 +0000.940538][bcc] UnbindInputFilter 0x776ed4d118
this 0x776ed4d4d8
[3075:537] [2022-09-05 03:29:46 +0000.940586][bcc] UnbindInputFilter 0x7755a23f20
this 0x776ed4d118
[3075:537] [2022-09-05 03:29:46 +0000.940641][bcc] ~GLESContext:
[3075:538] [2022-09-05 03:29:46 +0000.941801][bcc] GLESContext destruct finish.
[3075:538] [2022-09-05 03:29:46 +0000.941860][bcc] filter: filter pipeline destroy
this: 0x776eb27f00
[3075:901] [2022-09-05 03:29:47 +0000.305400][5af1] haveEnoughProcessedData
internalAudioStream.length: 10
[3076:119] [2022-09-05 03:29:47 +0000.522776][5af1] Run AGC when audioType = 0
[3077:443] [2022-09-05 03:29:48 +0000.846665][c19]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[3077:446] [2022-09-05 03:29:48 +0000.850483][c19] ~MediaFilterCamera
time:660937403 enter.

[3077:447] [2022-09-05 03:29:48 +0000.850616][c19] StopPullFrameAndWriteMp4


time:660937404 enter.

[3077:449] [2022-09-05 03:29:48 +0000.853177][5adf] stop recording


[3077:449] [2022-09-05 03:29:48 +0000.853219][5adf] we have stopped recording
before
[3077:451] [2022-09-05 03:29:48 +0000.855210][c19] StopPullFrameAndWriteMp4 leave.
expire time = 5 ms
[3077:456] [2022-09-05 03:29:48 +0000.860238][c19] DestroyPipelineAndFilters
time:660937413 enter.

[3077:457] [2022-09-05 03:29:48 +0000.861057][c19] DestroyPipelineAndFilters


leave. expire time = 1 ms

[3077:458] [2022-09-05 03:29:48 +0000.862151][c19] AppDeviceManagerStopMic

[3077:458] [2022-09-05 03:29:48 +0000.862345][c19] AppDeviceManagerStopMic::mic


status is on
[3077:458] [2022-09-05 03:29:48 +0000.862385][c19] Try to stop webrtc device.

[3077:460] [2022-09-05 03:29:48 +0000.863661][c19] Set record state to


stopped.threadID:3097

[3077:548] [2022-09-05 03:29:48 +0000.952414][c19] Try to destory the


recorder.threadID:3097

[3077:697] [2022-09-05 03:29:49 +0000.100729][5af1] haveEnoughProcessedData


internalAudioStream.length: 0
[3077:787] [2022-09-05 03:29:49 +0000.190540][c19] DestroyAudioRecorder:
[3077:787] [2022-09-05 03:29:49 +0000.190687][c19] Cleanup the buffer queue in the
recorder.
[3077:787] [2022-09-05 03:29:49 +0000.190730][c19] Destroy the recorder.

[3077:788] [2022-09-05 03:29:49 +0000.192254][c19] StopRecording finished.

[3077:788] [2022-09-05 03:29:49 +0000.192362][c19] The stop recording success.

[3077:788] [2022-09-05 03:29:49 +0000.192403][c19]


AudioDeviceDataHandler::StopMicProcess

[3077:792] [2022-09-05 03:29:49 +0000.195882][c19] AppDeviceManager stop.

[3077:792] [2022-09-05 03:29:49 +0000.196098][c19] Rlease the webrtc device object.

[3077:794] [2022-09-05 03:29:49 +0000.198005][c19] OpenSlesInput destruct.

[3077:794] [2022-09-05 03:29:49 +0000.198129][c19] OpenSlesOutput destruct.

[3077:795] [2022-09-05 03:29:49 +0000.199193][c19] EventDispatchServerScope


destruct
[3077:795] [2022-09-05 03:29:49 +0000.199297][c19]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[3077:795] [2022-09-05 03:29:49 +0000.199395][c19] ~AudioDeviceDataHandler

[3077:797] [2022-09-05 03:29:49 +0000.200835][c19] AppDeviceManagerDestruct.

[3077:797] [2022-09-05 03:29:49 +0000.200940][c19] ~AppDeviceManager:


[3077:797] [2022-09-05 03:29:49 +0000.201042][c19] ~CpuOverloadDetect
time:660937754 enter.

[3077:798] [2022-09-05 03:29:49 +0000.201681][c19] ~CpuOverloadDetect leave.


expire time = 1 ms

[3077:805] [2022-09-05 03:29:49 +0000.208726][c19] Destruct BeautifyReader begin...


[3077:805] [2022-09-05 03:29:49 +0000.208828][c19] Destruct BeautifyReader done.
[3077:805] [2022-09-05 03:29:49 +0000.208902][c19] ~MediaFilterCamera leave.
expire time = 359 ms

[3077:805] [2022-09-05 03:29:49 +0000.209129][c19] ~GLESContext:


[3077:809] [2022-09-05 03:29:49 +0000.212962][c19] GLESContext destruct finish.
[3077:809] [2022-09-05 03:29:49 +0000.213086][c19] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[3077:812] [2022-09-05 03:29:49 +0000.216133][c19] global uninited!
[3077:813] [2022-09-05 03:29:49 +0000.216579][c19] clear AppID 50011
[3077:813] [2022-09-05 03:29:49 +0000.216643][c19] UnRegister JVM for Xplatform
util
[3077:813] [2022-09-05 03:29:49 +0000.216696][c19] Dispose::unregister webrtc video
engine
[3077:813] [2022-09-05 03:29:49 +0000.216743][c19] Init the android object with
jvm:0x0 env:0x0 context:0x0

[3077:813] [2022-09-05 03:29:49 +0000.216799][c19] SetAndroidMediaCodecObjects


time:660937770 enter.

[3077:813] [2022-09-05 03:29:49 +0000.216848][c19] ClearAndroidMediaCodecObjects


time:660937770 enter.

[3077:813] [2022-09-05 03:29:49 +0000.216900][c19] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[3077:813] [2022-09-05 03:29:49 +0000.216948][c19] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[3077:813] [2022-09-05 03:29:49 +0000.216996][c19] SetAndroidMediaCodecObjects


time:660937770 enter.

[3077:813] [2022-09-05 03:29:49 +0000.217044][c19] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[3077:813] [2022-09-05 03:29:49 +0000.217093][c19] ClearAndroidMediaCodecObjects
time:660937770 enter.

[3077:813] [2022-09-05 03:29:49 +0000.217143][c19] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[3077:813] [2022-09-05 03:29:49 +0000.217191][c19] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[3077:813] [2022-09-05 03:29:49 +0000.217237][c19] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[3077:813] [2022-09-05 03:29:49 +0000.217285][c19] Dispose::unregister webrtc voice


engine
[3077:813] [2022-09-05 03:29:49 +0000.217330][c19] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[3077:813] [2022-09-05 03:29:49 +0000.217381][c19] SystemUtil UnInit done


[4621:381] [2022-09-05 03:55:32 +0000.785354][c19] Register JVM for xplatform util
[4621:396] [2022-09-05 03:55:32 +0000.799692][c19] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
05 03:55:32 +0000
[4621:396] [2022-09-05 03:55:32 +0000.799755][c19] set AppID=50011 old AppID=-1
[4621:396] [2022-09-05 03:55:32 +0000.799804][c19] Init the android object with
jvm:0xb400007907b33540 env:0x78537e6d40 context:0x77cbcb4da8

[4621:397] [2022-09-05 03:55:32 +0000.801122][c19] SetAndroidMediaCodecObjects


time:662481354 enter.
[4621:397] [2022-09-05 03:55:32 +0000.801181][c19] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[4621:397] [2022-09-05 03:55:32 +0000.801228][c19] SetAndroidMediaCodecObjects


time:662481354 enter.

[4621:397] [2022-09-05 03:55:32 +0000.801272][c19] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007907b33540
[4621:397] [2022-09-05 03:55:32 +0000.801290][c19] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007907b33540 address:0x77388d3760
[4621:397] [2022-09-05 03:55:32 +0000.801324][c19] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007907b33540
address:0x77388d3760
[4621:397] [2022-09-05 03:55:32 +0000.801366][c19] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[4621:397] [2022-09-05 03:55:32 +0000.801383][c19] Set the android objects with


jvm:0xb400007907b33540 env:0x78537e6d40 context:0x77cbcb4da8

[4621:398] [2022-09-05 03:55:32 +0000.802022][c19] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x78537e6d40
[4621:398] [2022-09-05 03:55:32 +0000.802055][c19] SystemUtil Init done
[4621:399] [2022-09-05 03:55:32 +0000.802925][c19]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[4621:400] [2022-09-05 03:55:32 +0000.803819][c19] MediaFilterCamera
[4621:400] [2022-09-05 03:55:32 +0000.803886][c19] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[4621:400] [2022-09-05 03:55:32 +0000.804036][c19] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[4621:400] [2022-09-05 03:55:32 +0000.804071][c19] Recording session using default
bitrate support by app:31457280
[4621:400] [2022-09-05 03:55:32 +0000.804071][37f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7755ea52c0
[4621:400] [2022-09-05 03:55:32 +0000.804187][37f] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[4621:400] [2022-09-05 03:55:32 +0000.804279][c19] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[4621:401] [2022-09-05 03:55:32 +0000.805200][c19] Error(ini.cc:191): Open the file
failed. error:2
[4621:401] [2022-09-05 03:55:32 +0000.805230][c19]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[4621:401] [2022-09-05 03:55:32 +0000.805248][c19] The device model: m2012k11ag
usingSoftwareAEC value: 0
[4621:405] [2022-09-05 03:55:32 +0000.808754][c19] Error(ini.cc:191): Open the file
failed. error:2
[4621:405] [2022-09-05 03:55:32 +0000.808815][c19]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[4621:405] [2022-09-05 03:55:32 +0000.808873][c19] The device model: m2012k11ag
usingHardwareAEC value: 0
[4621:405] [2022-09-05 03:55:32 +0000.808898][c19] The machine device: m2012k11ag
usingHardwareAEC value: 0
[4621:405] [2022-09-05 03:55:32 +0000.808913][c19] Using Default AEC type: software
AEC
[4621:407] [2022-09-05 03:55:32 +0000.811431][c19] The device model: m2012k11ag
enum value: 0
[4621:408] [2022-09-05 03:55:32 +0000.812003][c19] GetMachineModel is M2012K11AG
[4621:408] [2022-09-05 03:55:32 +0000.812061][c19] GetMachineInfo: M2012K11AG
[4621:408] [2022-09-05 03:55:32 +0000.812080][c19] Construct BeautifyReader
begin...
[4621:408] [2022-09-05 03:55:32 +0000.812097][c19] dumpStickerRgba:0
dumpStickerYuv:0
[4621:408] [2022-09-05 03:55:32 +0000.812154][c19] Construct BeautifyReader done.
[4621:413] [2022-09-05 03:55:32 +0000.816586][c19] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[4621:413] [2022-09-05 03:55:32 +0000.816614][383] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x776e36e2a0
[4621:413] [2022-09-05 03:55:32 +0000.816662][c19] AppDeviceManager telnet server
for statistics started......
[4621:413] [2022-09-05 03:55:32 +0000.817158][c19] CpuOverloadDetect time:662481370
enter.

[4621:413] [2022-09-05 03:55:32 +0000.817391][c19] CpuOverloadDetect leave. expire


time = 0 ms

[4621:413] [2022-09-05 03:55:32 +0000.817415][384] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7842492b00
[4621:414] [2022-09-05 03:55:32 +0000.817798][c19] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[4621:414] [2022-09-05 03:55:32 +0000.817826][c19] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[4621:414] [2022-09-05 03:55:32 +0000.818045][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[4621:414] [2022-09-05 03:55:32 +0000.818338][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[4621:415] [2022-09-05 03:55:32 +0000.818587][c19] CreatePlatformSpecificObjects:
[4621:415] [2022-09-05 03:55:32 +0000.818636][c19] audio device use opensle input
and opensl output
[4621:415] [2022-09-05 03:55:32 +0000.818690][c19] Create OpenSLES output module
with java VM support.

[4621:415] [2022-09-05 03:55:32 +0000.818799][c19] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[4621:415] [2022-09-05 03:55:32 +0000.818913][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[4621:415] [2022-09-05 03:55:32 +0000.819043][c19] Create OpenSLES output module
with buffer num:1

[4621:415] [2022-09-05 03:55:32 +0000.819145][c19] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[4621:415] [2022-09-05 03:55:32 +0000.819257][c19] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[4621:415] [2022-09-05 03:55:32 +0000.819412][c19] Create OpenSLES input module
with java VM support.

[4621:416] [2022-09-05 03:55:32 +0000.819451][c19] Create OpenSLES input module


with buffer num:1

[4621:416] [2022-09-05 03:55:32 +0000.819508][c19] Error(trace.cc:40): Init the


output and input for audio device template.
[4621:416] [2022-09-05 03:55:32 +0000.819549][c19] Init the output device.

[4621:416] [2022-09-05 03:55:32 +0000.819565][c19] Init the opensl input.


[4621:416] [2022-09-05 03:55:32 +0000.819606][c19] AppDeviceManager get setting
samplerate: 0
[4621:416] [2022-09-05 03:55:32 +0000.819837][c19] The device model: m2012k11ag
enum value: 0
[4621:416] [2022-09-05 03:55:32 +0000.820220][c19] The device model: m2012k11ag
enum value: 0
[4621:416] [2022-09-05 03:55:32 +0000.820244][c19] Set the sample rate to be:48000

[4621:416] [2022-09-05 03:55:32 +0000.820290][c19] Enable the recording stereo:0


[4621:416] [2022-09-05 03:55:32 +0000.820333][c19] Set the playout as stereo:1
[4621:416] [2022-09-05 03:55:32 +0000.820373][c19] Init the microphone.
[4621:417] [2022-09-05 03:55:32 +0000.821010][c19] Update the recording sample rate
to be: 48000
[4621:417] [2022-09-05 03:55:32 +0000.821039][c19] Init the speaker.
[4621:417] [2022-09-05 03:55:32 +0000.821079][c19] Low latency buffer size:144 low
sample rate:48000
[4621:418] [2022-09-05 03:55:32 +0000.821441][c19] Using 1 x 10ms for an audio
frame.

[4621:421] [2022-09-05 03:55:32 +0000.825402][c19] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[4621:423] [2022-09-05 03:55:32 +0000.826997][c19] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[4621:423] [2022-09-05 03:55:32 +0000.827092][c19] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[4621:428] [2022-09-05 03:55:32 +0000.831457][c19] The device model:m2012k11ag

[4621:428] [2022-09-05 03:55:32 +0000.831515][c19] speaker output factor:100


defaultFactor: 100

[4621:428] [2022-09-05 03:55:32 +0000.831526][c19] headset output factor:100


defaultFactor: 100

[4621:428] [2022-09-05 03:55:32 +0000.831743][c19] AppDeviceManagerStart finished.


[4621:428] [2022-09-05 03:55:32 +0000.831764][c19] AppDeviceManagerStartMic::mic
status is off
[4621:428] [2022-09-05 03:55:32 +0000.831807][c19] AppDeviceManagerStartMic update
aec type: 2

[4621:428] [2022-09-05 03:55:32 +0000.831821][c19] AppDeviceManagerStartMic update


voiceChangeMode: 4

[4621:428] [2022-09-05 03:55:32 +0000.831831][c19]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[4621:428] [2022-09-05 03:55:32 +0000.831867][c19]
AudioDeviceDataHandler::StartMicProcess

[4621:428] [2022-09-05 03:55:32 +0000.831941][c19] Try to start webrtc recording


device.

[4621:428] [2022-09-05 03:55:32 +0000.831958][c19] StartRecording. threadID:3097

[4621:428] [2022-09-05 03:55:32 +0000.832012][c19] default mode: Set the recording


mode to voice communication to enable HW AEC .

[4621:428] [2022-09-05 03:55:32 +0000.831972][385] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[4621:428] [2022-09-05 03:55:32 +0000.832042][c19] Set the recording mode before
getSetting: 4
[4621:428] [2022-09-05 03:55:32 +0000.832107][c19] Set the recording mode after
getSetting: 1
[4621:461] [2022-09-05 03:55:32 +0000.865249][c19] StartRecording finished.
[4621:461] [2022-09-05 03:55:32 +0000.865293][c19] audio: start the audio mic
checker timer.

[4621:462] [2022-09-05 03:55:32 +0000.865646][c19] machine model :poco


[4621:462] [2022-09-05 03:55:32 +0000.865663][c19] Support this machine model :poco
[4621:466] [2022-09-05 03:55:32 +0000.869577][c19] global inited! current sdk
version: 07-20-936c45f
[4621:732] [2022-09-05 03:55:33 +0000.135749][46b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[4621:732] [2022-09-05 03:55:33 +0000.135902][380] MediaFilterCamera, recording
file context:0x783582c780 input texture:22
[4621:732] [2022-09-05 03:55:33 +0000.135953][380] GLESContext:
[4621:732] [2022-09-05 03:55:33 +0000.136042][380] The result of eglGetDisplay is:
0xb4000078537e3a00
[4621:733] [2022-09-05 03:55:33 +0000.137079][380] The result of creation:
0x7780fc8780
[4621:733] [2022-09-05 03:55:33 +0000.137152][380] The result of
eglCreatePbufferSurface is: 0x7780fc8a80
[4621:733] [2022-09-05 03:55:33 +0000.137219][46b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x783582c780 input_texture: 22
[4622:176] [2022-09-05 03:55:33 +0000.579469][386] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[4622:176] [2022-09-05 03:55:33 +0000.579790][386] _deviceSampleRate:48000

[4622:179] [2022-09-05 03:55:33 +0000.583189][385] Run AGC when audioType = 0


[4622:179] [2022-09-05 03:55:33 +0000.583373][385]
AudioDeviceDataHandler::MixAndSendOutFrame
[4622:949] [2022-09-05 03:55:34 +0000.353338][c19]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[4622:950] [2022-09-05 03:55:34 +0000.353497][c19] ~MediaFilterCamera
time:662482907 enter.

[4622:950] [2022-09-05 03:55:34 +0000.353518][c19] StopPullFrameAndWriteMp4


time:662482907 enter.

[4622:950] [2022-09-05 03:55:34 +0000.354114][37f] stop recording


[4622:950] [2022-09-05 03:55:34 +0000.354144][37f] we have stopped recording before
[4622:950] [2022-09-05 03:55:34 +0000.354223][c19] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[4622:951] [2022-09-05 03:55:34 +0000.354590][c19] DestroyPipelineAndFilters


time:662482908 enter.

[4622:951] [2022-09-05 03:55:34 +0000.354616][c19] DestroyPipelineAndFilters


leave. expire time = 0 ms

[4622:951] [2022-09-05 03:55:34 +0000.354632][c19] AppDeviceManagerStopMic

[4622:951] [2022-09-05 03:55:34 +0000.354676][c19] AppDeviceManagerStopMic::mic


status is on
[4622:951] [2022-09-05 03:55:34 +0000.354692][c19] Try to stop webrtc device.

[4622:951] [2022-09-05 03:55:34 +0000.354710][c19] Set record state to


stopped.threadID:3097

[4622:997] [2022-09-05 03:55:34 +0000.400603][c19] Try to destory the


recorder.threadID:309[000:018] [2022-09-16 16:20:48 +0000.337144][7c33] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
16 16:20:48 +0000
[000:018] [2022-09-16 16:20:48 +0000.337184][7c33] set AppID=50011 old AppID=-1
[000:018] [2022-09-16 16:20:48 +0000.337197][7c33] Init the android object with
jvm:0xb4000076de4bf380 env:0x76de5b5100 context:0x75bd85e128

[000:018] [2022-09-16 16:20:48 +0000.337242][7c33] SetAndroidMediaCodecObjects


time:52411166 enter.

[000:018] [2022-09-16 16:20:48 +0000.337255][7c33] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:018] [2022-09-16 16:20:48 +0000.337267][7c33] SetAndroidMediaCodecObjects


time:52411166 enter.

[000:018] [2022-09-16 16:20:48 +0000.337279][7c33] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000076de4bf380
[000:018] [2022-09-16 16:20:48 +0000.337290][7c33] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000076de4bf380 address:0x750454a760
[000:018] [2022-09-16 16:20:48 +0000.337334][7c33] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000076de4bf380
address:0x750454a760
[000:018] [2022-09-16 16:20:48 +0000.337346][7c33] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:018] [2022-09-16 16:20:48 +0000.337388][7c33] Set the android objects with


jvm:0xb4000076de4bf380 env:0x76de5b5100 context:0x75bd85e128

[000:020] [2022-09-16 16:20:48 +0000.338673][7c33] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x76de5b5100
[000:020] [2022-09-16 16:20:48 +0000.338760][7c33] SystemUtil Init done
[000:022] [2022-09-16 16:20:48 +0000.341119][7c33]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:023] [2022-09-16 16:20:48 +0000.342376][7c33] MediaFilterCamera
[000:023] [2022-09-16 16:20:48 +0000.342432][7c33] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:024] [2022-09-16 16:20:48 +0000.342684][7c33] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:024] [2022-09-16 16:20:48 +0000.342719][7c33] Recording session using default
bitrate support by app:31457280
[000:024] [2022-09-16 16:20:48 +0000.342724][215b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7539f02040
[000:024] [2022-09-16 16:20:48 +0000.342997][215b] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:024] [2022-09-16 16:20:48 +0000.343083][7c33] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:024] [2022-09-16 16:20:48 +0000.343559][7c33] Error(ini.cc:191): Open the file
failed. error:2
[000:024] [2022-09-16 16:20:48 +0000.343588][7c33]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:025] [2022-09-16 16:20:48 +0000.343639][7c33] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:026] [2022-09-16 16:20:48 +0000.345562][7c33] Error(ini.cc:191): Open the file
failed. error:2
[000:026] [2022-09-16 16:20:48 +0000.345600][7c33]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:027] [2022-09-16 16:20:48 +0000.345652][7c33] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:027] [2022-09-16 16:20:48 +0000.345701][7c33] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:027] [2022-09-16 16:20:48 +0000.345739][7c33] Using Default AEC type: software
AEC
[000:027] [2022-09-16 16:20:48 +0000.346601][7c33] The device model: m2012k11ag
enum value: 0
[000:028] [2022-09-16 16:20:48 +0000.346940][7c33] GetMachineModel is M2012K11AG
[000:028] [2022-09-16 16:20:48 +0000.346975][7c33] GetMachineInfo: M2012K11AG
[000:028] [2022-09-16 16:20:48 +0000.347004][7c33] Construct BeautifyReader
begin...
[000:028] [2022-09-16 16:20:48 +0000.347026][7c33] dumpStickerRgba:0
dumpStickerYuv:0
[000:028] [2022-09-16 16:20:48 +0000.347061][7c33] Construct BeautifyReader done.
[000:031] [2022-09-16 16:20:48 +0000.349859][7c33] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:031] [2022-09-16 16:20:48 +0000.349881][2160] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7623a808a0
[000:031] [2022-09-16 16:20:48 +0000.350096][7c33] AppDeviceManager telnet server
for statistics started......
[000:031] [2022-09-16 16:20:48 +0000.350440][7c33] CpuOverloadDetect time:52411179
enter.

[000:031] [2022-09-16 16:20:48 +0000.350506][7c33] CpuOverloadDetect leave. expire


time = 0 ms

[000:031] [2022-09-16 16:20:48 +0000.350521][2161] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x754f393100
[000:032] [2022-09-16 16:20:48 +0000.350985][7c33] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:032] [2022-09-16 16:20:48 +0000.351017][7c33] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:032] [2022-09-16 16:20:48 +0000.351173][7c33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:032] [2022-09-16 16:20:48 +0000.351409][7c33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:033] [2022-09-16 16:20:48 +0000.351699][7c33] CreatePlatformSpecificObjects:
[000:033] [2022-09-16 16:20:48 +0000.351733][7c33] audio device use opensle input
and opensl output
[000:033] [2022-09-16 16:20:48 +0000.351780][7c33] Create OpenSLES output module
with java VM support.

[000:033] [2022-09-16 16:20:48 +0000.351858][7c33] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:033] [2022-09-16 16:20:48 +0000.351999][7c33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:033] [2022-09-16 16:20:48 +0000.352140][7c33] Create OpenSLES output module
with buffer num:1

[000:033] [2022-09-16 16:20:48 +0000.352240][7c33] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:033] [2022-09-16 16:20:48 +0000.352357][7c33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:033] [2022-09-16 16:20:48 +0000.352509][7c33] Create OpenSLES input module
with java VM support.

[000:033] [2022-09-16 16:20:48 +0000.352546][7c33] Create OpenSLES input module


with buffer num:1
[000:033] [2022-09-16 16:20:48 +0000.352603][7c33] Error(trace.cc:40): Init the
output and input for audio device template.
[000:034] [2022-09-16 16:20:48 +0000.352632][7c33] Init the output device.

[000:034] [2022-09-16 16:20:48 +0000.352669][7c33] Init the opensl input.


[000:034] [2022-09-16 16:20:48 +0000.352712][7c33] AppDeviceManager get setting
samplerate: 0
[000:034] [2022-09-16 16:20:48 +0000.352925][7c33] The device model: m2012k11ag
enum value: 0
[000:034] [2022-09-16 16:20:48 +0000.353287][7c33] The device model: m2012k11ag
enum value: 0
[000:034] [2022-09-16 16:20:48 +0000.353313][7c33] Set the sample rate to be:48000

[000:034] [2022-09-16 16:20:48 +0000.353329][7c33] Enable the recording stereo:0


[000:034] [2022-09-16 16:20:48 +0000.353369][7c33] Set the playout as stereo:1
[000:034] [2022-09-16 16:20:48 +0000.353401][7c33] Init the microphone.
[000:035] [2022-09-16 16:20:48 +0000.353810][7c33] Update the recording sample rate
to be: 48000
[000:035] [2022-09-16 16:20:48 +0000.353853][7c33] Init the speaker.
[000:035] [2022-09-16 16:20:48 +0000.353901][7c33] Low latency buffer size:144 low
sample rate:48000
[000:035] [2022-09-16 16:20:48 +0000.354123][7c33] Using 1 x 10ms for an audio
frame.

[000:038] [2022-09-16 16:20:48 +0000.357076][7c33] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:038] [2022-09-16 16:20:48 +0000.357176][7c33] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:038] [2022-09-16 16:20:48 +0000.357213][7c33] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:042] [2022-09-16 16:20:48 +0000.361010][7c33] The device model:m2012k11ag

[000:042] [2022-09-16 16:20:48 +0000.361051][7c33] speaker output factor:100


defaultFactor: 100

[000:042] [2022-09-16 16:20:48 +0000.361068][7c33] headset output factor:100


defaultFactor: 100

[000:042] [2022-09-16 16:20:48 +0000.361348][7c33] AppDeviceManagerStart finished.


[000:042] [2022-09-16 16:20:48 +0000.361372][7c33] AppDeviceManagerStartMic::mic
status is off
[000:042] [2022-09-16 16:20:48 +0000.361434][7c33] AppDeviceManagerStartMic update
aec type: 2

[000:042] [2022-09-16 16:20:48 +0000.361454][7c33] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:042] [2022-09-16 16:20:48 +0000.361482][7c33]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:042] [2022-09-16 16:20:48 +0000.361507][7c33]
AudioDeviceDataHandler::StartMicProcess

[000:043] [2022-09-16 16:20:48 +0000.361609][7c33] Try to start webrtc recording


device.

[000:043] [2022-09-16 16:20:48 +0000.361632][7c33] StartRecording. threadID:31795

[000:043] [2022-09-16 16:20:48 +0000.361635][2162] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:043] [2022-09-16 16:20:48 +0000.361690][2162] haveEnoughProcessedData
internalAudioStream.length: 0
[000:043] [2022-09-16 16:20:48 +0000.361853][7c33] The machine model:M2012K11AG

[000:043] [2022-09-16 16:20:48 +0000.361914][7c33] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:043] [2022-09-16 16:20:48 +0000.361935][7c33] Set the recording mode before


getSetting: 4
[000:043] [2022-09-16 16:20:48 +0000.361958][7c33] Set the recording mode after
getSetting: 1
[000:065] [2022-09-16 16:20:48 +0000.384417][7c33] StartRecording finished.

[000:067] [2022-09-16 16:20:48 +0000.386099][7c33] audio: start the audio mic


checker timer.

[000:068] [2022-09-16 16:20:48 +0000.387473][7c33] machine model :poco


[000:068] [2022-09-16 16:20:48 +0000.387520][7c33] Support this machine model :poco
[000:071] [2022-09-16 16:20:48 +0000.389906][7c33] global inited! current sdk
version: 07-20-936c45f
[000:144] [2022-09-16 16:20:48 +0000.463569][2163] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:145] [2022-09-16 16:20:48 +0000.463865][2163] _deviceSampleRate:48000

[000:145] [2022-09-16 16:20:48 +0000.464509][2162] Run AGC when audioType = 0


[000:145] [2022-09-16 16:20:48 +0000.464560][2162]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:299] [2022-09-16 16:20:48 +0000.618396][ca9]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:299] [2022-09-16 16:20:48 +0000.618534][215c] MediaFilterCamera, recording
file context:0x7615d9fa80 input texture:12
[000:299] [2022-09-16 16:20:48 +0000.618580][215c] GLESContext:
[000:300] [2022-09-16 16:20:48 +0000.618669][215c] The result of eglGetDisplay is:
0xb4000076de5b18c0
[000:300] [2022-09-16 16:20:48 +0000.619221][215c] The result of creation:
0x7539dbf680
[000:300] [2022-09-16 16:20:48 +0000.619282][215c] The result of
eglCreatePbufferSurface is: 0x7539dbf780
[000:300] [2022-09-16 16:20:48 +0000.619350][ca9]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7615d9fa80 input_texture: 12
[000:870] [2022-09-16 16:20:49 +0000.189447][7c33]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:871] [2022-09-16 16:20:49 +0000.190336][7c33] ~MediaFilterCamera time:52412019
enter.

[000:871] [2022-09-16 16:20:49 +0000.190390][7c33] StopPullFrameAndWriteMp4


time:52412019 enter.

[000:873] [2022-09-16 16:20:49 +0000.192001][215b] stop recording


[000:873] [2022-09-16 16:20:49 +0000.192041][215b] we have stopped recording before
[000:873] [2022-09-16 16:20:49 +0000.192126][7c33] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[000:873] [2022-09-16 16:20:49 +0000.192461][7c33] DestroyPipelineAndFilters


time:52412021 enter.
[000:873] [2022-09-16 16:20:49 +0000.192506][7c33] DestroyPipelineAndFilters
leave. expire time = 0 ms

[000:874] [2022-09-16 16:20:49 +0000.192673][7c33] AppDeviceManagerStopMic

[000:874] [2022-09-16 16:20:49 +0000.192730][7c33] AppDeviceManagerStopMic::mic


status is on
[000:874] [2022-09-16 16:20:49 +0000.192757][7c33] Try to stop webrtc device.

[000:874] [2022-09-16 16:20:49 +0000.192775][7c33] Set record state to


stopped.threadID:31795

[000:918] [2022-09-16 16:20:49 +0000.236740][7c33] Try to destory the


recorder.threadID:31795

[001:118] [2022-09-16 16:20:49 +0000.436904][7c33] DestroyAudioRecorder:


[001:118] [2022-09-16 16:20:49 +0000.436951][7c33] Cleanup the buffer queue in the
recorder.
[001:118] [2022-09-16 16:20:49 +0000.436967][7c33] Destroy the recorder.

[001:119] [2022-09-16 16:20:49 +0000.437928][7c33] StopRecording finished.

[001:119] [2022-09-16 16:20:49 +0000.437961][7c33] The stop recording success.

[001:119] [2022-09-16 16:20:49 +0000.437973][7c33]


AudioDeviceDataHandler::StopMicProcess

[001:120] [2022-09-16 16:20:49 +0000.439469][7c33] AppDeviceManager stop.

[001:120] [2022-09-16 16:20:49 +0000.439534][7c33] Rlease the webrtc device object.

[001:122] [2022-09-16 16:20:49 +0000.440670][7c33] OpenSlesInput destruct.

[001:122] [2022-09-16 16:20:49 +0000.440720][7c33] OpenSlesOutput destruct.

[001:122] [2022-09-16 16:20:49 +0000.441071][7c33] EventDispatchServerScope


destruct
[001:122] [2022-09-16 16:20:49 +0000.441103][7c33]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[001:122] [2022-09-16 16:20:49 +0000.441156][7c33] ~AudioDeviceDataHandler

[001:123] [2022-09-16 16:20:49 +0000.441678][7c33] AppDeviceManagerDestruct.

[001:123] [2022-09-16 16:20:49 +0000.441709][7c33] ~AppDeviceManager:


[001:123] [2022-09-16 16:20:49 +0000.441759][7c33] ~CpuOverloadDetect time:52412271
enter.

[001:123] [2022-09-16 16:20:49 +0000.441894][7c33] ~CpuOverloadDetect leave.


expire time = 0 ms

[001:124] [2022-09-16 16:20:49 +0000.443185][7c33] Destruct BeautifyReader begin...


[001:124] [2022-09-16 16:20:49 +0000.443240][7c33] Destruct BeautifyReader done.
[001:124] [2022-09-16 16:20:49 +0000.443292][7c33] ~MediaFilterCamera leave.
expire time = 253 ms

[001:124] [2022-09-16 16:20:49 +0000.443400][7c33] ~GLESContext:


[001:125] [2022-09-16 16:20:49 +0000.444407][7c33] GLESContext destruct finish.
[001:125] [2022-09-16 16:20:49 +0000.444455][7c33] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[001:126] [2022-09-16 16:20:49 +0000.444804][7c33] global uninited!
[001:127] [2022-09-16 16:20:49 +0000.445766][7c33] clear AppID 50011
[001:127] [2022-09-16 16:20:49 +0000.445795][7c33] UnRegister JVM for Xplatform
util
[001:127] [2022-09-16 16:20:49 +0000.445809][7c33] Dispose::unregister webrtc video
engine
[001:127] [2022-09-16 16:20:49 +0000.445833][7c33] Init the android object with
jvm:0x0 env:0x0 context:0x0

[001:127] [2022-09-16 16:20:49 +0000.445861][7c33] SetAndroidMediaCodecObjects


time:52412275 enter.

[001:127] [2022-09-16 16:20:49 +0000.445884][7c33] ClearAndroidMediaCodecObjects


time:52412275 enter.

[001:127] [2022-09-16 16:20:49 +0000.445897][7c33] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:127] [2022-09-16 16:20:49 +0000.445914][7c33] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:127] [2022-09-16 16:20:49 +0000.445925][7c33] SetAndroidMediaCodecObjects


time:52412275 enter.

[001:127] [2022-09-16 16:20:49 +0000.445943][7c33] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[001:127] [2022-09-16 16:20:49 +0000.445954][7c33] ClearAndroidMediaCodecObjects
time:52412275 enter.

[001:127] [2022-09-16 16:20:49 +0000.445973][7c33] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:127] [2022-09-16 16:20:49 +0000.445983][7c33] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[001:127] [2022-09-16 16:20:49 +0000.446002][7c33] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[001:127] [2022-09-16 16:20:49 +0000.446012][7c33] Dispose::unregister webrtc voice


engine
[001:127] [2022-09-16 16:20:49 +0000.446032][7c33] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[001:127] [2022-09-16 16:20:49 +0000.446045][7c33] SystemUtil UnInit done


[2015:684] [2022-09-16 16:54:24 +0000.3325][7c33] Register JVM for xplatform util
[2015:689] [2022-09-16 16:54:24 +0000.7878][7c33] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
16 16:54:24 +0000
[2015:689] [2022-09-16 16:54:24 +0000.7919][7c33] set AppID=50011 old AppID=-1
[2015:689] [2022-09-16 16:54:24 +0000.7932][7c33] Init the android object with
jvm:0xb4000076de4bf380 env:0x76de5b5100 context:0x75bd85e808

[2015:689] [2022-09-16 16:54:24 +0000.7967][7c33] SetAndroidMediaCodecObjects


time:54426837 enter.

[2015:689] [2022-09-16 16:54:24 +0000.7981][7c33] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[2015:689] [2022-09-16 16:54:24 +0000.7992][7c33] SetAndroidMediaCodecObjects


time:54426837 enter.
[2015:689] [2022-09-16 16:54:24 +0000.8003][7c33] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects:: jvm :0xb4000076de4bf380
[2015:689] [2022-09-16 16:54:24 +0000.8014][7c33] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000076de4bf380 address:0x750454a760
[2015:689] [2022-09-16 16:54:24 +0000.8025][7c33] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000076de4bf380
address:0x750454a760
[2015:689] [2022-09-16 16:54:24 +0000.8036][7c33] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[2015:689] [2022-09-16 16:54:24 +0000.8046][7c33] Set the android objects with


jvm:0xb4000076de4bf380 env:0x76de5b5100 context:0x75bd85e808

[2015:689] [2022-09-16 16:54:24 +0000.8058][7c33] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x76de5b5100
[2015:689] [2022-09-16 16:54:24 +0000.8071][7c33] SystemUtil Init done
[2015:689] [2022-09-16 16:54:24 +0000.8297][7c33]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[2015:689] [2022-09-16 16:54:24 +0000.8381][7c33] MediaFilterCamera
[2015:689] [2022-09-16 16:54:24 +0000.8403][7c33] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[2015:689] [2022-09-16 16:54:24 +0000.8591][7c33] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[2015:690] [2022-09-16 16:54:24 +0000.8612][7c33] Recording session using default
bitrate support by app:31457280
[2015:690] [2022-09-16 16:54:24 +0000.8625][549c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7539f02040
[2015:690] [2022-09-16 16:54:24 +0000.8774][549c] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[2015:690] [2022-09-16 16:54:24 +0000.8838][7c33] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[2015:690] [2022-09-16 16:54:24 +0000.9304][7c33] Error(ini.cc:191): Open the file
failed. error:2
[2015:690] [2022-09-16 16:54:24 +0000.9325][7c33]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[2015:690] [2022-09-16 16:54:24 +0000.9337][7c33] The device model: m2012k11ag
usingSoftwareAEC value: 0
[2015:691] [2022-09-16 16:54:24 +0000.10425][7c33] Error(ini.cc:191): Open the file
failed. error:2
[2015:691] [2022-09-16 16:54:24 +0000.10455][7c33]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[2015:691] [2022-09-16 16:54:24 +0000.10471][7c33] The device model: m2012k11ag
usingHardwareAEC value: 0
[2015:691] [2022-09-16 16:54:24 +0000.10482][7c33] The machine device: m2012k11ag
usingHardwareAEC value: 0
[2015:691] [2022-09-16 16:54:24 +0000.10493][7c33] Using Default AEC type: software
AEC
[2015:692] [2022-09-16 16:54:24 +0000.11230][7c33] The device model: m2012k11ag
enum value: 0
[2015:694] [2022-09-16 16:54:24 +0000.12734][7c33] GetMachineModel is M2012K11AG
[2015:694] [2022-09-16 16:54:24 +0000.12759][7c33] GetMachineInfo: M2012K11AG
[2015:694] [2022-09-16 16:54:24 +0000.12771][7c33] Construct BeautifyReader
begin...
[2015:694] [2022-09-16 16:54:24 +0000.12782][7c33] dumpStickerRgba:0
dumpStickerYuv:0
[2015:694] [2022-09-16 16:54:24 +0000.12793][7c33] Construct BeautifyReader done.
[2015:696] [2022-09-16 16:54:24 +0000.15225][7c33] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[2015:696] [2022-09-16 16:54:24 +0000.15293][7c33] AppDeviceManager telnet server
for statistics started......
[2015:696] [2022-09-16 16:54:24 +0000.15399][54a0] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x75382e3ba0
[2015:697] [2022-09-16 16:54:24 +0000.15988][7c33] CpuOverloadDetect time:54426845
enter.

[2015:697] [2022-09-16 16:54:24 +0000.16091][7c33] CpuOverloadDetect leave. expire


time = 0 ms

[2015:697] [2022-09-16 16:54:24 +0000.16392][7c33] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[2015:697] [2022-09-16 16:54:24 +0000.16418][7c33] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[2015:697] [2022-09-16 16:54:24 +0000.16497][54a1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7541d919c0
[2015:697] [2022-09-16 16:54:24 +0000.16565][7c33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[2015:698] [2022-09-16 16:54:24 +0000.16866][7c33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[2015:698] [2022-09-16 16:54:24 +0000.17000][7c33] CreatePlatformSpecificObjects:
[2015:698] [2022-09-16 16:54:24 +0000.17024][7c33] audio device use opensle input
and opensl output
[2015:698] [2022-09-16 16:54:24 +0000.17039][7c33] Create OpenSLES output module
with java VM support.

[2015:698] [2022-09-16 16:54:24 +0000.17086][7c33] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[2015:698] [2022-09-16 16:54:24 +0000.17198][7c33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[2015:698] [2022-09-16 16:54:24 +0000.17286][7c33] Create OpenSLES output module
with buffer num:1

[2015:698] [2022-09-16 16:54:24 +0000.17352][7c33] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[2015:698] [2022-09-16 16:54:24 +0000.17442][7c33] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[2015:698] [2022-09-16 16:54:24 +0000.17526][7c33] Create OpenSLES input module
with java VM support.

[2015:698] [2022-09-16 16:54:24 +0000.17549][7c33] Create OpenSLES input module


with buffer num:1

[2015:698] [2022-09-16 16:54:24 +0000.17583][7c33] Error(trace.cc:40): Init the


output and input for audio device template.
[2015:699] [2022-09-16 16:54:24 +0000.17605][7c33] Init the output device.

[2015:699] [2022-09-16 16:54:24 +0000.17615][7c33] Init the opensl input.


[2015:699] [2022-09-16 16:54:24 +0000.17628][7c33] AppDeviceManager get setting
samplerate: 0
[2015:699] [2022-09-16 16:54:24 +0000.17798][7c33] The device model: m2012k11ag
enum value: 0
[2015:699] [2022-09-16 16:54:24 +0000.18045][7c33] The device model: m2012k11ag
enum value: 0
[2015:699] [2022-09-16 16:54:24 +0000.18061][7c33] Set the sample rate to be:48000

[2015:699] [2022-09-16 16:54:24 +0000.18072][7c33] Enable the recording stereo:0


[2015:699] [2022-09-16 16:54:24 +0000.18083][7c33] Set the playout as stereo:1
[2015:699] [2022-09-16 16:54:24 +0000.18093][7c33] Init the microphone.
[2015:700] [2022-09-16 16:54:24 +0000.19081][7c33] Update the recording sample rate
to be: 48000
[2015:700] [2022-09-16 16:54:24 +0000.19111][7c33] Init the speaker.
[2015:700] [2022-09-16 16:54:24 +0000.19147][7c33] Low latency buffer size:144 low
sample rate:48000
[2015:700] [2022-09-16 16:54:24 +0000.19356][7c33] Using 1 x 10ms for an audio
frame.

[2015:703] [2022-09-16 16:54:24 +0000.21972][7c33] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[2015:703] [2022-09-16 16:54:24 +0000.22040][7c33] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[2015:703] [2022-09-16 16:54:24 +0000.22101][7c33] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[2015:707] [2022-09-16 16:54:24 +0000.25612][7c33] The device model:m2012k11ag

[2015:707] [2022-09-16 16:54:24 +0000.25647][7c33] speaker output factor:100


defaultFactor: 100

[2015:707] [2022-09-16 16:54:24 +0000.25657][7c33] headset output factor:100


defaultFactor: 100

[2015:707] [2022-09-16 16:54:24 +0000.25838][7c33] AppDeviceManagerStart finished.


[2015:707] [2022-09-16 16:54:24 +0000.25883][7c33] AppDeviceManagerStartMic::mic
status is off
[2015:707] [2022-09-16 16:54:24 +0000.25962][7c33] AppDeviceManagerStartMic update
aec type: 2

[2015:707] [2022-09-16 16:54:24 +0000.25990][7c33] AppDeviceManagerStartMic update


voiceChangeMode: 4

[2015:707] [2022-09-16 16:54:24 +0000.26001][7c33]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[2015:707] [2022-09-16 16:54:24 +0000.26011][7c33]
AudioDeviceDataHandler::StartMicProcess

[2015:707] [2022-09-16 16:54:24 +0000.26116][7c33] Try to start webrtc recording


device.

[2015:707] [2022-09-16 16:54:24 +0000.26132][7c33] StartRecording. threadID:31795

[2015:707] [2022-09-16 16:54:24 +0000.26164][7c33] default mode: Set the recording


mode to voice communication to enable HW AEC .

[2015:707] [2022-09-16 16:54:24 +0000.26202][7c33] Set the recording mode before


getSetting: 4
[2015:707] [2022-09-16 16:54:24 +0000.26217][7c33] Set the recording mode after
getSetting: 1
[2015:707] [2022-09-16 16:54:24 +0000.26214][54a4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[2015:741] [2022-09-16 16:54:24 +0000.59865][7c33] StartRecording finished.

[2015:741] [2022-09-16 16:54:24 +0000.59946][7c33] audio: start the audio mic


checker timer.

[2015:741] [2022-09-16 16:54:24 +0000.60182][7c33] machine model :poco


[2015:741] [2022-09-16 16:54:24 +0000.60197][7c33] Support this machine model :poco
[2015:743] [2022-09-16 16:54:24 +0000.62138][7c33] global inited! current sdk
version: 07-20-936c45f
[2015:961] [2022-09-16 16:54:24 +0000.279871][ca9]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[2015:961] [2022-09-16 16:54:24 +0000.280029][549d] MediaFilterCamera, recording
file context:0x7615d9fa80 input texture:19
[2015:961] [2022-09-16 16:54:24 +0000.280075][549d] GLESContext:
[2015:961] [2022-09-16 16:54:24 +0000.280105][549d] The result of eglGetDisplay is:
0xb4000076de5b18c0
[2015:962] [2022-09-16 16:54:24 +0000.280732][549d] The result of creation:
0x7539dbf300
[2015:962] [2022-09-16 16:54:24 +0000.280798][549d] The result of
eglCreatePbufferSurface is: 0x7539dbf500
[2015:962] [2022-09-16 16:54:24 +0000.280890][ca9]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7615d9fa80 input_texture: 19
[2016:401] [2022-09-16 16:54:24 +0000.720453][7c33]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[2016:402] [2022-09-16 16:54:24 +0000.720611][7c33] ~MediaFilterCamera
time:54427550 enter.

[2016:402] [2022-09-16 16:54:24 +0000.720633][7c33] StopPullFrameAndWriteMp4


time:54427550 enter.

[2016:402] [2022-09-16 16:54:24 +0000.720989][549c] stop recording


[2016:402] [2022-09-16 16:54:24 +0000.721029][549c] we have stopped recording
before
[2016:402] [2022-09-16 16:54:24 +0000.721072][7c33] StopPullFrameAndWriteMp4
leave. expire time = 0 ms

[2016:402] [2022-09-16 16:54:24 +0000.721269][7c33] DestroyPipelineAndFilters


time:54427550 enter.

[2016:402] [2022-09-16 16:54:24 +0000.721290][7c33] DestroyPipelineAndFilters


leave. expire time = 0 ms

[2016:402] [2022-09-16 16:54:24 +0000.721305][7c33] AppDeviceManagerStopMic

[2016:402] [2022-09-16 16:54:24 +0000.721339][7c33] AppDeviceManagerStopMic::mic


status is on
[2016:402] [2022-09-16 16:54:24 +0000.721354][7c33] Try to stop webrtc device.

[2016:402] [2022-09-16 16:54:24 +0000.721370][7c33] Set record state to


stopped.threadID:31795

[2016:451] [2022-09-16 16:54:24 +0000.770234][7c33] Try to destory the


recorder.threadID:31795

[2016:527] [2022-09-16 16:54:24 +0000.846573][54a4] haveEnoughProcessedData


internalAudioStream.length: 0
[2016:651] [2022-09-16 16:54:24 +0000.970435][7c33] DestroyAudioRecorder:
[2016:651] [2022-09-16 16:54:24 +0000.970508][7c33] Cleanup the buffer queue in the
recorder.
[2016:651] [2022-09-16 16:54:24 +0000.970531][7c33] Destroy the recorder.

[2016:652] [2022-09-16 16:54:24 +0000.971203][7c33] StopRecording finished.

[[000:031] [2022-09-20 11:05:22 +0000.714989][7851] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
20 11:05:22 +0000
[000:031] [2022-09-20 11:05:22 +0000.715051][7851] set AppID=50011 old AppID=-1
[000:031] [2022-09-20 11:05:22 +0000.715069][7851] Init the android object with
jvm:0xb400007b90964380 env:0x7b90a5a740 context:0x7a5bb9c718

[000:031] [2022-09-20 11:05:22 +0000.715093][7851] SetAndroidMediaCodecObjects


time:256421219 enter.

[000:031] [2022-09-20 11:05:22 +0000.715110][7851] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:031] [2022-09-20 11:05:22 +0000.715121][7851] SetAndroidMediaCodecObjects


time:256421219 enter.

[000:031] [2022-09-20 11:05:22 +0000.715132][7851] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b90964380
[000:031] [2022-09-20 11:05:22 +0000.715141][7851] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b90964380 address:0x79a4122760
[000:031] [2022-09-20 11:05:22 +0000.715164][7851] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b90964380
address:0x79a4122760
[000:031] [2022-09-20 11:05:22 +0000.715175][7851] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:031] [2022-09-20 11:05:22 +0000.715204][7851] Set the android objects with


jvm:0xb400007b90964380 env:0x7b90a5a740 context:0x7a5bb9c718

[000:032] [2022-09-20 11:05:22 +0000.716341][7851] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b90a5a740
[000:032] [2022-09-20 11:05:22 +0000.716367][7851] SystemUtil Init done
[000:034] [2022-09-20 11:05:22 +0000.717947][7851]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:035] [2022-09-20 11:05:22 +0000.719618][7851] MediaFilterCamera
[000:036] [2022-09-20 11:05:22 +0000.719703][7851] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:036] [2022-09-20 11:05:22 +0000.719826][7851] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:036] [2022-09-20 11:05:22 +0000.719848][7851] Recording session using default
bitrate support by app:31457280
[000:036] [2022-09-20 11:05:22 +0000.720079][1023] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a57737740
[000:036] [2022-09-20 11:05:22 +0000.720122][1023] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:036] [2022-09-20 11:05:22 +0000.720192][7851] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:036] [2022-09-20 11:05:22 +0000.720516][7851] Error(ini.cc:191): Open the file
failed. error:2
[000:036] [2022-09-20 11:05:22 +0000.720539][7851]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:036] [2022-09-20 11:05:22 +0000.720551][7851] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:038] [2022-09-20 11:05:22 +0000.722226][7851] Error(ini.cc:191): Open the file
failed. error:2
[000:038] [2022-09-20 11:05:22 +0000.722277][7851]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:038] [2022-09-20 11:05:22 +0000.722295][7851] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:038] [2022-09-20 11:05:22 +0000.722309][7851] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:038] [2022-09-20 11:05:22 +0000.722319][7851] Using Default AEC type: software
AEC
[000:039] [2022-09-20 11:05:22 +0000.723168][7851] The device model: m2012k11ag
enum value: 0
[000:039] [2022-09-20 11:05:22 +0000.723426][7851] GetMachineModel is M2012K11AG
[000:039] [2022-09-20 11:05:22 +0000.723449][7851] GetMachineInfo: M2012K11AG
[000:039] [2022-09-20 11:05:22 +0000.723472][7851] Construct BeautifyReader
begin...
[000:039] [2022-09-20 11:05:22 +0000.723482][7851] dumpStickerRgba:0
dumpStickerYuv:0
[000:039] [2022-09-20 11:05:22 +0000.723507][7851] Construct BeautifyReader done.
[000:042] [2022-09-20 11:05:22 +0000.725992][7851] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:042] [2022-09-20 11:05:22 +0000.726019][1027] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79d9e2f9a0
[000:042] [2022-09-20 11:05:22 +0000.726193][7851] AppDeviceManager telnet server
for statistics started......
[000:042] [2022-09-20 11:05:22 +0000.726581][7851] CpuOverloadDetect time:256421230
enter.

[000:042] [2022-09-20 11:05:22 +0000.726634][7851] CpuOverloadDetect leave. expire


time = 0 ms

[000:042] [2022-09-20 11:05:22 +0000.726655][1028] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x79e40b1e00
[000:043] [2022-09-20 11:05:22 +0000.726909][7851] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:043] [2022-09-20 11:05:22 +0000.726929][7851] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:043] [2022-09-20 11:05:22 +0000.727078][7851] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:044] [2022-09-20 11:05:22 +0000.728530][7851] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:045] [2022-09-20 11:05:22 +0000.728734][7851] CreatePlatformSpecificObjects:
[000:045] [2022-09-20 11:05:22 +0000.728757][7851] audio device use opensle input
and opensl output
[000:045] [2022-09-20 11:05:22 +0000.728780][7851] Create OpenSLES output module
with java VM support.

[000:045] [2022-09-20 11:05:22 +0000.728825][7851] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:045] [2022-09-20 11:05:22 +0000.728902][7851] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:045] [2022-09-20 11:05:22 +0000.728988][7851] Create OpenSLES output module
with buffer num:1

[000:045] [2022-09-20 11:05:22 +0000.729058][7851] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:045] [2022-09-20 11:05:22 +0000.729134][7851] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:045] [2022-09-20 11:05:22 +0000.729210][7851] Create OpenSLES input module
with java VM support.

[000:045] [2022-09-20 11:05:22 +0000.729233][7851] Create OpenSLES input module


with buffer num:1

[000:045] [2022-09-20 11:05:22 +0000.729263][7851] Error(trace.cc:40): Init the


output and input for audio device template.
[000:045] [2022-09-20 11:05:22 +0000.729283][7851] Init the output device.
[000:045] [2022-09-20 11:05:22 +0000.729294][7851] Init the opensl input.
[000:045] [2022-09-20 11:05:22 +0000.729324][7851] AppDeviceManager get setting
samplerate: 0
[000:045] [2022-09-20 11:05:22 +0000.729482][7851] The device model: m2012k11ag
enum value: 0
[000:046] [2022-09-20 11:05:22 +0000.729728][7851] The device model: m2012k11ag
enum value: 0
[000:046] [2022-09-20 11:05:22 +0000.729743][7851] Set the sample rate to be:48000

[000:046] [2022-09-20 11:05:22 +0000.729754][7851] Enable the recording stereo:0


[000:046] [2022-09-20 11:05:22 +0000.729764][7851] Set the playout as stereo:1
[000:046] [2022-09-20 11:05:22 +0000.729791][7851] Init the microphone.
[000:046] [2022-09-20 11:05:22 +0000.730099][7851] Update the recording sample rate
to be: 48000
[000:046] [2022-09-20 11:05:22 +0000.730127][7851] Init the speaker.
[000:047] [2022-09-20 11:05:22 +0000.730955][7851] Low latency buffer size:144 low
sample rate:48000
[000:047] [2022-09-20 11:05:22 +0000.731204][7851] Using 1 x 10ms for an audio
frame.

[000:050] [2022-09-20 11:05:22 +0000.733701][7851] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:050] [2022-09-20 11:05:22 +0000.733787][7851] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:050] [2022-09-20 11:05:22 +0000.733808][7851] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:053] [2022-09-20 11:05:22 +0000.737648][7851] The device model:m2012k11ag

[000:054] [2022-09-20 11:05:22 +0000.737706][7851] speaker output factor:100


defaultFactor: 100

[000:054] [2022-09-20 11:05:22 +0000.737717][7851] headset output factor:100


defaultFactor: 100

[000:054] [2022-09-20 11:05:22 +0000.737947][7851] AppDeviceManagerStart finished.


[000:054] [2022-09-20 11:05:22 +0000.737969][7851] AppDeviceManagerStartMic::mic
status is off
[000:054] [2022-09-20 11:05:22 +0000.738009][7851] AppDeviceManagerStartMic update
aec type: 2

[000:054] [2022-09-20 11:05:22 +0000.738023][7851] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:054] [2022-09-20 11:05:22 +0000.738033][7851]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:054] [2022-09-20 11:05:22 +0000.738054][7851]
AudioDeviceDataHandler::StartMicProcess

[000:054] [2022-09-20 11:05:22 +0000.738141][7851] Try to start webrtc recording


device.

[000:054] [2022-09-20 11:05:22 +0000.738157][7851] StartRecording. threadID:30801

[000:054] [2022-09-20 11:05:22 +0000.738160][1029] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:054] [2022-09-20 11:05:22 +0000.738213][1029] haveEnoughProcessedData
internalAudioStream.length: 0
[000:054] [2022-09-20 11:05:22 +0000.738317][7851] The machine model:M2012K11AG
[000:054] [2022-09-20 11:05:22 +0000.738345][7851] default mode: Set the recording
mode to voice communication to enable HW AEC .

[000:054] [2022-09-20 11:05:22 +0000.738359][7851] Set the recording mode before


getSetting: 4
[000:054] [2022-09-20 11:05:22 +0000.738371][7851] Set the recording mode after
getSetting: 1
[000:084] [2022-09-20 11:05:22 +0000.768083][7851] StartRecording finished.

[000:084] [2022-09-20 11:05:22 +0000.768176][7851] audio: start the audio mic


checker timer.

[000:084] [2022-09-20 11:05:22 +0000.768561][7851] machine model :poco


[000:084] [2022-09-20 11:05:22 +0000.768630][7851] Support this machine model :poco
[000:089] [2022-09-20 11:05:22 +0000.773127][7851] global inited! current sdk
version: 07-20-936c45f
[000:169] [2022-09-20 11:05:22 +0000.853641][102a] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:170] [2022-09-20 11:05:22 +0000.853886][102a] _deviceSampleRate:48000

[000:172] [2022-09-20 11:05:22 +0000.855714][1029] Run AGC when audioType = 0


[000:172] [2022-09-20 11:05:22 +0000.855784][1029]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:335] [2022-09-20 11:05:23 +0000.18703][bef]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:335] [2022-09-20 11:05:23 +0000.18893][1024] MediaFilterCamera, recording file
context:0x7a57882880 input texture:10
[000:335] [2022-09-20 11:05:23 +0000.18957][1024] GLESContext:
[000:335] [2022-09-20 11:05:23 +0000.19016][1024] The result of eglGetDisplay is:
0xb400007b90a568c0
[000:335] [2022-09-20 11:05:23 +0000.19646][1024] The result of creation:
0x799b4d8000
[000:336] [2022-09-20 11:05:23 +0000.19782][1024] The result of
eglCreatePbufferSurface is: 0x799b4d8100
[000:336] [2022-09-20 11:05:23 +0000.19870][bef]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7a57882880 input_texture: 10
[001:805] [2022-09-20 11:05:24 +0000.489187][1029] haveEnoughProcessedData
internalAudioStream.length: 0
[002:174] [2022-09-20 11:05:24 +0000.858171][1029] Run AGC when audioType = 0
[003:528] [2022-09-20 11:05:26 +0000.212406][1029] haveEnoughProcessedData
internalAudioStream.length: 0
[003:698] [2022-09-20 11:05:26 +0000.382123][7851]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[003:698] [2022-09-20 11:05:26 +0000.382329][7851] ~MediaFilterCamera
time:256424886 enter.

[003:698] [2022-09-20 11:05:26 +0000.382388][7851] StopPullFrameAndWriteMp4


time:256424886 enter.

[003:701] [2022-09-20 11:05:26 +0000.384944][1023] stop recording


[003:701] [2022-09-20 11:05:26 +0000.384981][1023] we have stopped recording before
[003:701] [2022-09-20 11:05:26 +0000.385050][7851] StopPullFrameAndWriteMp4 leave.
expire time = 3 ms

[003:701] [2022-09-20 11:05:26 +0000.385354][7851] DestroyPipelineAndFilters


time:256424889 enter.

[003:701] [2022-09-20 11:05:26 +0000.385386][7851] DestroyPipelineAndFilters


leave. expire time = 0 ms

[003:701] [2022-09-20 11:05:26 +0000.385446][7851] AppDeviceManagerStopMic

[003:701] [2022-09-20 11:05:26 +0000.385504][7851] AppDeviceManagerStopMic::mic


status is on
[003:701] [2022-09-20 11:05:26 +0000.385521][7851] Try to stop webrtc device.

[003:701] [2022-09-20 11:05:26 +0000.385537][7851] Set record state to


stopped.threadID:30801

[003:745] [2022-09-20 11:05:26 +0000.429245][7851] Try to destory the


recorder.threadID:30801

[003:945] [2022-09-20 11:05:26 +0000.629406][7851] DestroyAudioRecorder:


[003:945] [2022-09-20 11:05:26 +0000.629503][7851] Cleanup the buffer queue in the
recorder.
[003:945] [2022-09-20 11:05:26 +0000.629529][7851] Destroy the recorder.

[003:946] [2022-09-20 11:05:26 +0000.630241][7851] StopRecording finished.

[003:946] [2022-09-20 11:05:26 +0000.630302][7851] The stop recording success.

[003:946] [2022-09-20 11:05:26 +0000.630327][7851]


AudioDeviceDataHandler::StopMicProcess

[003:951] [2022-09-20 11:05:26 +0000.634915][7851] AppDeviceManager stop.

[003:951] [2022-09-20 11:05:26 +0000.635028][7851] Rlease the webrtc device object.

[003:954] [2022-09-20 11:05:26 +0000.638009][7851] OpenSlesInput destruct.

[003:954] [2022-09-20 11:05:26 +0000.638069][7851] OpenSlesOutput destruct.

[003:954] [2022-09-20 11:05:26 +0000.638460][7851] EventDispatchServerScope


destruct
[003:954] [2022-09-20 11:05:26 +0000.638497][7851]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[003:954] [2022-09-20 11:05:26 +0000.638531][7851] ~AudioDeviceDataHandler

[003:955] [2022-09-20 11:05:26 +0000.639131][7851] AppDeviceManagerDestruct.

[003:955] [2022-09-20 11:05:26 +0000.639159][7851] ~AppDeviceManager:


[003:955] [2022-09-20 11:05:26 +0000.639190][7851] ~CpuOverloadDetect
time:256425143 enter.

[003:955] [2022-09-20 11:05:26 +0000.639329][7851] ~CpuOverloadDetect leave.


expire time = 0 ms

[003:956] [2022-09-20 11:05:26 +0000.640102][7851] Destruct BeautifyReader begin...


[003:956] [2022-09-20 11:05:26 +0000.640137][7851] Destruct BeautifyReader done.
[003:956] [2022-09-20 11:05:26 +0000.640153][7851] ~MediaFilterCamera leave.
expire time = 258 ms

[003:956] [2022-09-20 11:05:26 +0000.640234][7851] ~GLESContext:


[003:957] [2022-09-20 11:05:26 +0000.640976][7851] GLESContext destruct finish.
[003:957] [2022-09-20 11:05:26 +0000.641005][7851] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[003:957] [2022-09-20 11:05:26 +0000.641218][7851] global uninited!
[003:961] [2022-09-20 11:05:26 +0000.645223][7851] clear AppID 50011
[003:961] [2022-09-20 11:05:26 +0000.645272][7851] UnRegister JVM for Xplatform
util
[003:961] [2022-09-20 11:05:26 +0000.645285][7851] Dispose::unregister webrtc video
engine
[003:961] [2022-09-20 11:05:26 +0000.645296][7851] Init the android object with
jvm:0x0 env:0x0 context:0x0

[003:961] [2022-09-20 11:05:26 +0000.645309][7851] SetAndroidMediaCodecObjects


time:256425149 enter.

[003:961] [2022-09-20 11:05:26 +0000.645319][7851] ClearAndroidMediaCodecObjects


time:256425149 enter.

[003:961] [2022-09-20 11:05:26 +0000.645347][7851] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[003:961] [2022-09-20 11:05:26 +0000.645358][7851] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[003:961] [2022-09-20 11:05:26 +0000.645377][7851] SetAndroidMediaCodecObjects


time:256425149 enter.

[003:961] [2022-09-20 11:05:26 +0000.645387][7851] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[003:961] [2022-09-20 11:05:26 +0000.645406][7851] ClearAndroidMediaCodecObjects
time:256425149 enter.

[003:961] [2022-09-20 11:05:26 +0000.645417][7851] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[003:961] [2022-09-20 11:05:26 +0000.645457][7851] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[003:961] [2022-09-20 11:05:26 +0000.645472][7851] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[003:961] [2022-09-20 11:05:26 +0000.645482][7851] Dispose::unregister webrtc voice


engine
[003:961] [2022-09-20 11:05:26 +0000.645520][7851][000:022] [2022-09-21 17:07:11
+0000.330036][35ca] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
21 17:07:11 +0000
[000:022] [2022-09-21 17:07:11 +0000.330074][35ca] set AppID=50011 old AppID=-1
[000:022] [2022-09-21 17:07:11 +0000.330107][35ca] Init the android object with
jvm:0xb400007b90964380 env:0x7b90a5a600 context:0x7a5d3e3718

[000:022] [2022-09-21 17:07:11 +0000.330154][35ca] SetAndroidMediaCodecObjects


time:357126721 enter.

[000:022] [2022-09-21 17:07:11 +0000.330180][35ca] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:022] [2022-09-21 17:07:11 +0000.330208][35ca] SetAndroidMediaCodecObjects


time:357126721 enter.

[000:022] [2022-09-21 17:07:11 +0000.330235][35ca] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b90964380
[000:022] [2022-09-21 17:07:11 +0000.330255][35ca] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b90964380 address:0x79b2d00760
[000:022] [2022-09-21 17:07:11 +0000.330275][35ca] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b90964380
address:0x79b2d00760
[000:022] [2022-09-21 17:07:11 +0000.330304][35ca] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:022] [2022-09-21 17:07:11 +0000.330332][35ca] Set the android objects with


jvm:0xb400007b90964380 env:0x7b90a5a600 context:0x7a5d3e3718

[000:023] [2022-09-21 17:07:11 +0000.331432][35ca] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b90a5a600
[000:023] [2022-09-21 17:07:11 +0000.331464][35ca] SystemUtil Init done
[000:025] [2022-09-21 17:07:11 +0000.332990][35ca]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:026] [2022-09-21 17:07:11 +0000.334337][35ca] MediaFilterCamera
[000:026] [2022-09-21 17:07:11 +0000.334456][35ca] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:026] [2022-09-21 17:07:11 +0000.334563][35ca] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:026] [2022-09-21 17:07:11 +0000.334588][35ca] Recording session using default
bitrate support by app:31457280
[000:026] [2022-09-21 17:07:11 +0000.334594][452c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7ad3d48dc0
[000:026] [2022-09-21 17:07:11 +0000.334844][452c] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:027] [2022-09-21 17:07:11 +0000.334895][35ca] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:027] [2022-09-21 17:07:11 +0000.335304][35ca] Error(ini.cc:191): Open the file
failed. error:2
[000:027] [2022-09-21 17:07:11 +0000.335330][35ca]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:027] [2022-09-21 17:07:11 +0000.335347][35ca] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:028] [2022-09-21 17:07:11 +0000.336847][35ca] Error(ini.cc:191): Open the file
failed. error:2
[000:029] [2022-09-21 17:07:11 +0000.336899][35ca]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:029] [2022-09-21 17:07:11 +0000.336963][35ca] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:029] [2022-09-21 17:07:11 +0000.336987][35ca] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:029] [2022-09-21 17:07:11 +0000.337025][35ca] Using Default AEC type: software
AEC
[000:029] [2022-09-21 17:07:11 +0000.337365][35ca] The device model: m2012k11ag
enum value: 0
[000:029] [2022-09-21 17:07:11 +0000.337636][35ca] GetMachineModel is M2012K11AG
[000:029] [2022-09-21 17:07:11 +0000.337662][35ca] GetMachineInfo: M2012K11AG
[000:029] [2022-09-21 17:07:11 +0000.337691][35ca] Construct BeautifyReader
begin...
[000:029] [2022-09-21 17:07:11 +0000.337711][35ca] dumpStickerRgba:0
dumpStickerYuv:0
[000:029] [2022-09-21 17:07:11 +0000.337740][35ca] Construct BeautifyReader done.
[000:032] [2022-09-21 17:07:11 +0000.340405][35ca] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:032] [2022-09-21 17:07:11 +0000.340513][452f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79ef13b4a0
[000:032] [2022-09-21 17:07:11 +0000.340616][35ca] AppDeviceManager telnet server
for statistics started......
[000:033] [2022-09-21 17:07:11 +0000.341439][35ca] CpuOverloadDetect time:357126732
enter.

[000:033] [2022-09-21 17:07:11 +0000.341568][35ca] CpuOverloadDetect leave. expire


time = 0 ms

[000:034] [2022-09-21 17:07:11 +0000.341897][4531] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7ad3c98c80
[000:034] [2022-09-21 17:07:11 +0000.341998][35ca] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:034] [2022-09-21 17:07:11 +0000.342028][35ca] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:035] [2022-09-21 17:07:11 +0000.343428][35ca] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:035] [2022-09-21 17:07:11 +0000.343783][35ca] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:036] [2022-09-21 17:07:11 +0000.344091][35ca] CreatePlatformSpecificObjects:
[000:036] [2022-09-21 17:07:11 +0000.344120][35ca] audio device use opensle input
and opensl output
[000:036] [2022-09-21 17:07:11 +0000.344136][35ca] Create OpenSLES output module
with java VM support.

[000:036] [2022-09-21 17:07:11 +0000.344219][35ca] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:036] [2022-09-21 17:07:11 +0000.344316][35ca] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:036] [2022-09-21 17:07:11 +0000.344418][35ca] Create OpenSLES output module
with buffer num:1

[000:036] [2022-09-21 17:07:11 +0000.344509][35ca] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:036] [2022-09-21 17:07:11 +0000.344600][35ca] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:036] [2022-09-21 17:07:11 +0000.344692][35ca] Create OpenSLES input module
with java VM support.

[000:036] [2022-09-21 17:07:11 +0000.344718][35ca] Create OpenSLES input module


with buffer num:1

[000:036] [2022-09-21 17:07:11 +0000.344755][35ca] Error(trace.cc:40): Init the


output and input for audio device template.
[000:036] [2022-09-21 17:07:11 +0000.344772][35ca] Init the output device.

[000:036] [2022-09-21 17:07:11 +0000.344783][35ca] Init the opensl input.


[000:036] [2022-09-21 17:07:11 +0000.344795][35ca] AppDeviceManager get setting
samplerate: 0
[000:037] [2022-09-21 17:07:11 +0000.345013][35ca] The device model: m2012k11ag
enum value: 0
[000:037] [2022-09-21 17:07:11 +0000.345270][35ca] The device model: m2012k11ag
enum value: 0
[000:037] [2022-09-21 17:07:11 +0000.345298][35ca] Set the sample rate to be:48000

[000:037] [2022-09-21 17:07:11 +0000.345318][35ca] Enable the recording stereo:0


[000:037] [2022-09-21 17:07:11 +0000.345329][35ca] Set the playout as stereo:1
[000:037] [2022-09-21 17:07:11 +0000.345351][35ca] Init the microphone.
[000:039] [2022-09-21 17:07:11 +0000.346927][35ca] Update the recording sample rate
to be: 48000
[000:039] [2022-09-21 17:07:11 +0000.346953][35ca] Init the speaker.
[000:039] [2022-09-21 17:07:11 +0000.346988][35ca] Low latency buffer size:144 low
sample rate:48000
[000:039] [2022-09-21 17:07:11 +0000.347243][35ca] Using 1 x 10ms for an audio
frame.

[000:042] [2022-09-21 17:07:11 +0000.350201][35ca] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:042] [2022-09-21 17:07:11 +0000.350256][35ca] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:042] [2022-09-21 17:07:11 +0000.350281][35ca] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:045] [2022-09-21 17:07:11 +0000.353658][35ca] The device model:m2012k11ag

[000:045] [2022-09-21 17:07:11 +0000.353689][35ca] speaker output factor:100


defaultFactor: 100

[000:045] [2022-09-21 17:07:11 +0000.353700][35ca] headset output factor:100


defaultFactor: 100

[000:046] [2022-09-21 17:07:11 +0000.353928][35ca] AppDeviceManagerStart finished.


[000:046] [2022-09-21 17:07:11 +0000.353948][35ca] AppDeviceManagerStartMic::mic
status is off
[000:046] [2022-09-21 17:07:11 +0000.353988][35ca] AppDeviceManagerStartMic update
aec type: 2

[000:046] [2022-09-21 17:07:11 +0000.354001][35ca] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:046] [2022-09-21 17:07:11 +0000.354012][35ca]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:046] [2022-09-21 17:07:11 +0000.354033][35ca]
AudioDeviceDataHandler::StartMicProcess

[000:046] [2022-09-21 17:07:11 +0000.354097][35ca] Try to start webrtc recording


device.

[000:046] [2022-09-21 17:07:11 +0000.354113][35ca] StartRecording. threadID:13770

[000:046] [2022-09-21 17:07:11 +0000.354129][4532] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:046] [2022-09-21 17:07:11 +0000.354194][4532] haveEnoughProcessedData
internalAudioStream.length: 0
[000:046] [2022-09-21 17:07:11 +0000.354275][35ca] The machine model:M2012K11AG

[000:046] [2022-09-21 17:07:11 +0000.354301][35ca] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:046] [2022-09-21 17:07:11 +0000.354317][35ca] Set the recording mode before


getSetting: 4
[000:046] [2022-09-21 17:07:11 +0000.354329][35ca] Set the recording mode after
getSetting: 1
[000:071] [2022-09-21 17:07:11 +0000.379775][35ca] StartRecording finished.

[000:072] [2022-09-21 17:07:11 +0000.379883][35ca] audio: start the audio mic


checker timer.

[000:072] [2022-09-21 17:07:11 +0000.380194][35ca] machine model :poco


[000:072] [2022-09-21 17:07:11 +0000.380214][35ca] Support this machine model :poco
[000:075] [2022-09-21 17:07:11 +0000.383089][35ca] global inited! current sdk
version: 07-20-936c45f
[000:148] [2022-09-21 17:07:11 +0000.456292][4533] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:148] [2022-09-21 17:07:11 +0000.456365][4533] _deviceSampleRate:48000

[000:153] [2022-09-21 17:07:11 +0000.461295][4532] Run AGC when audioType = 0


[000:153] [2022-09-21 17:07:11 +0000.461392][4532]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:299] [2022-09-21 17:07:11 +0000.607722][50eb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:300] [2022-09-21 17:07:11 +0000.607874][452d] MediaFilterCamera, recording
file context:0x7ad3decd80 input texture:11
[000:300] [2022-09-21 17:07:11 +0000.607945][452d] GLESContext:
[000:300] [2022-09-21 17:07:11 +0000.608047][452d] The result of eglGetDisplay is:
0xb400007b90a568c0
[000:300] [2022-09-21 17:07:11 +0000.608904][452d] The result of creation:
0x7a52c3e100
[000:301] [2022-09-21 17:07:11 +0000.608991][452d] The result of
eglCreatePbufferSurface is: 0x7a52c3ea80
[000:301] [2022-09-21 17:07:11 +0000.609107][50eb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7ad3decd80 input_texture: 11
[000:511] [2022-09-21 17:07:11 +0000.819378][35ca]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:511] [2022-09-21 17:07:11 +0000.819474][35ca] ~MediaFilterCamera
time:357127210 enter.

[000:511] [2022-09-21 17:07:11 +0000.819512][35ca] StopPullFrameAndWriteMp4


time:357127210 enter.

[000:516] [2022-09-21 17:07:11 +0000.824602][452c] stop recording


[000:516] [2022-09-21 17:07:11 +0000.824648][452c] we have stopped recording before
[000:516] [2022-09-21 17:07:11 +0000.824714][35ca] StopPullFrameAndWriteMp4 leave.
expire time = 5 ms

[000:517] [2022-09-21 17:07:11 +0000.825233][35ca] DestroyPipelineAndFilters


time:357127216 enter.

[000:517] [2022-09-21 17:07:11 +0000.825268][35ca] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:517] [2022-09-21 17:07:11 +0000.825287][35ca] AppDeviceManagerStopMic

[000:517] [2022-09-21 17:07:11 +0000.825336][35ca] AppDeviceManagerStopMic::mic


status is on
[000:517] [2022-09-21 17:07:11 +0000.825352][35ca] Try to stop webrtc device.

[000:517] [2022-09-21 17:07:11 +0000.825369][35ca] Set record state to


stopped.threadID:13770

[000:562] [2022-09-21 17:07:11 +0000.870730][35ca] Try to destory the


recorder.threadID:13770

[000:763] [2022-09-21 17:07:12 +0000.71001][35ca] DestroyAudioRecorder:


[000:763] [2022-09-21 17:07:12 +0000.71183][35ca] Cleanup the buffer queue in the
recorder.
[000:763] [2022-09-21 17:07:12 +0000.71239][35ca] Destroy the recorder.

[000:765] [2022-09-21 17:07:12 +0000.73243][35ca] StopRecording finished.

[000:765] [2022-09-21 17:07:12 +0000.73337][35ca] The stop recording success.

[000:765] [2022-09-21 17:07:12 +0000.73357][35ca]


AudioDeviceDataHandler::StopMicProcess

[000:768] [2022-09-21 17:07:12 +0000.76610][35ca] AppDeviceManager stop.

[000:768] [2022-09-21 17:07:12 +0000.76674][35ca] Rlease the webrtc device object.

[000:769] [2022-09-21 17:07:12 +0000.77065][35ca] OpenSlesInput destruct.

[000:769] [2022-09-21 17:07:12 +0000.77100][35ca] OpenSlesOutput destruct.

[000:769] [2022-09-21 17:07:12 +0000.77399][35ca] EventDispatchServerScope destruct


[000:769] [2022-09-21 17:07:12 +0000.77434][35ca]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[000:769] [2022-09-21 17:07:12 +0000.77489][35ca] ~AudioDeviceDataHandler

[000:769] [2022-09-21 17:07:12 +0000.77739][35ca] AppDeviceManagerDestruct.

[000:769] [2022-09-21 17:07:12 +0000.77765][35ca] ~AppDeviceManager:


[000:769] [2022-09-21 17:07:12 +0000.77794][35ca] ~CpuOverloadDetect time:357127468
enter.

[000:770] [2022-09-21 17:07:12 +0000.77973][35ca] ~CpuOverloadDetect leave. expire


time = 1 ms

[000:770] [2022-09-21 17:07:12 +0000.78679][35ca] Destruct BeautifyReader begin...


[000:770] [2022-09-21 17:07:12 +0000.78714][35ca] Destruct BeautifyReader done.
[000:770] [2022-09-21 17:07:12 +0000.78734][35ca] ~MediaFilterCamera leave. expire
time = 259 ms

[000:770] [2022-09-21 17:07:12 +0000.78816][35ca] ~GLESContext:


[000:772] [2022-09-21 17:07:12 +0000.80783][35ca] GLESContext destruct finish.
[000:772] [2022-09-21 17:07:12 +0000.80829][35ca] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[000:773] [2022-09-21 17:07:12 +0000.81080][35ca] global uninited!
[000:773] [2022-09-21 17:07:12 +0000.81809][35ca] clear AppID 50011
[000:773] [2022-09-21 17:07:12 +0000.81842][35ca] UnRegister JVM for Xplatform util
[000:773] [2022-09-21 17:07:12 +0000.81860][35ca] Dispose::unregister webrtc video
engine
[000:774] [2022-09-21 17:07:12 +0000.81879][35ca] Init the android object with
jvm:0x0 env:0x0 context:0x0

[000:774] [2022-09-21 17:07:12 +0000.81907][35ca] SetAndroidMediaCodecObjects


time:357127473 enter.

[000:774] [2022-09-21 17:07:12 +0000.81931][35ca] ClearAndroidMediaCodecObjects


time:357127473 enter.

[000:774] [2022-09-21 17:07:12 +0000.81958][35ca] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:774] [2022-09-21 17:07:12 +0000.81983][35ca] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:774] [2022-09-21 17:07:12 +0000.82008][35ca] SetAndroidMediaCodecObjects


time:357127473 enter.

[000:774] [2022-09-21 17:07:12 +0000.82033][35ca] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[000:774] [2022-09-21 17:07:12 +0000.82059][35ca] ClearAndroidMediaCodecObjects
time:357127473 enter.

[000:774] [2022-09-21 17:07:12 +0000.82085][35ca] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:774] [2022-09-21 17:07:12 +0000.82110][35ca] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[000:774] [2022-09-21 17:07:12 +0000.82136][35ca] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:774] [2022-09-21 17:07:12 +0000.82164][35ca] Dispose::unregister webrtc voice


engine
[000:774] [2022-09-21 17:07:12 +0000.82199][35ca] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[000:774] [2022-09-21 17:07:12 +0000.82228][35ca] SystemUtil UnInit done


[2533:773] [2022-09-21 17:49:25 +0000.81652][35ca] Register JVM for xplatform util
[2533:782] [2022-09-21 17:49:25 +0000.90791][35ca] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
21 17:49:25 +0000
[2533:782] [2022-09-21 17:49:25 +0000.90840][35ca] set AppID=50011 old AppID=-1
[2533:782] [2022-09-21 17:49:25 +0000.90867][35ca] Init the android object with
jvm:0xb400007b90964380 env:0x7b90a5a600 context:0x7a5d3e3d88

[2533:783] [2022-09-21 17:49:25 +0000.90923][35ca] SetAndroidMediaCodecObjects


time:359660482 enter.

[2533:783] [2022-09-21 17:49:25 +0000.90950][35ca] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[2533:783] [2022-09-21 17:49:25 +0000.90976][35ca] SetAndroidMediaCodecObjects


time:359660482 enter.

[2533:783] [2022-09-21 17:49:25 +0000.91004][35ca] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b90964380
[2533:783] [2022-09-21 17:49:25 +0000.91034][35ca] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b90964380 address:0x79b2d00760
[2533:783] [2022-09-21 17:49:25 +0000.91068][35ca] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b90964380
address:0x79b2d00760
[2533:783] [2022-09-21 17:49:25 +0000.91098][35ca] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[2533:783] [2022-09-21 17:49:25 +0000.91126][35ca] Set the android objects with


jvm:0xb400007b90964380 env:0x7b90a5a600 context:0x7a5d3e3d88

[2533:783] [2022-09-21 17:49:25 +0000.91152][35ca] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b90a5a600
[2533:783] [2022-09-21 17:49:25 +0000.91181][35ca] SystemUtil Init done
[2533:783] [2022-09-21 17:49:25 +0000.91426][35ca]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[2533:783] [2022-09-21 17:49:25 +0000.91545][35ca] MediaFilterCamera
[2533:783] [2022-09-21 17:49:25 +0000.91574][35ca] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[2533:783] [2022-09-21 17:49:25 +0000.91657][35ca] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[2533:783] [2022-09-21 17:49:25 +0000.91686][35ca] Recording session using default
bitrate support by app:31457280
[2533:783] [2022-09-21 17:49:25 +0000.91684][7af4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7ad3d48dc0
[2533:784] [2022-09-21 17:49:25 +0000.91895][7af4] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[2533:784] [2022-09-21 17:49:25 +0000.91957][35ca] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[2533:784] [2022-09-21 17:49:25 +0000.92527][35ca] Error(ini.cc:191): Open the file
failed. error:2
[2533:784] [2022-09-21 17:49:25 +0000.92554][35ca]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[2533:784] [2022-09-21 17:49:25 +0000.92583][35ca] The device model: m2012k11ag
usingSoftwareAEC value: 0
[2533:785] [2022-09-21 17:49:25 +0000.93852][35ca] Error(ini.cc:191): Open the file
failed. error:2
[2533:786] [2022-09-21 17:49:25 +0000.93885][35ca]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[2533:786] [2022-09-21 17:49:25 +0000.93936][35ca] The device model: m2012k11ag
usingHardwareAEC value: 0
[2533:786] [2022-09-21 17:49:25 +0000.93958][35ca] The machine device: m2012k11ag
usingHardwareAEC value: 0
[2533:786] [2022-09-21 17:49:25 +0000.93988][35ca] Using Default AEC type: software
AEC
[2533:786] [2022-09-21 17:49:25 +0000.94706][35ca] The device model: m2012k11ag
enum value: 0
[2533:787] [2022-09-21 17:49:25 +0000.94970][35ca] GetMachineModel is M2012K11AG
[2533:787] [2022-09-21 17:49:25 +0000.94996][35ca] GetMachineInfo: M2012K11AG
[2533:787] [2022-09-21 17:49:25 +0000.95011][35ca] Construct BeautifyReader
begin...
[2533:787] [2022-09-21 17:49:25 +0000.95047][35ca] dumpStickerRgba:0
dumpStickerYuv:0
[2533:787] [2022-09-21 17:49:25 +0000.95085][35ca] Construct BeautifyReader done.
[2533:789] [2022-09-21 17:49:25 +0000.97233][35ca] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[2533:789] [2022-09-21 17:49:25 +0000.97282][35ca] AppDeviceManager telnet server
for statistics started......
[2533:789] [2022-09-21 17:49:25 +0000.97267][7af7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7ad3df20a0
[2533:789] [2022-09-21 17:49:25 +0000.97671][35ca] CpuOverloadDetect time:359660488
enter.

[2533:789] [2022-09-21 17:49:25 +0000.97720][35ca] CpuOverloadDetect leave. expire


time = 0 ms

[2533:789] [2022-09-21 17:49:25 +0000.97748][7af8] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7ad3c95800
[2533:790] [2022-09-21 17:49:25 +0000.98037][35ca] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[2533:790] [2022-09-21 17:49:25 +0000.98054][35ca] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[2533:790] [2022-09-21 17:49:25 +0000.98168][35ca] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[2533:792] [2022-09-21 17:49:25 +0000.100367][35ca] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[2533:792] [2022-09-21 17:49:25 +0000.100612][35ca] CreatePlatformSpecificObjects:
[2533:792] [2022-09-21 17:49:25 +0000.100652][35ca] audio device use opensle input
and opensl output
[2533:792] [2022-09-21 17:49:25 +0000.100691][35ca] Create OpenSLES output module
with java VM support.

[2533:792] [2022-09-21 17:49:25 +0000.100797][35ca] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[2533:793] [2022-09-21 17:49:25 +0000.100930][35ca] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[2533:793] [2022-09-21 17:49:25 +0000.101056][35ca] Create OpenSLES output module
with buffer num:1

[2533:793] [2022-09-21 17:49:25 +0000.101155][35ca] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[2533:793] [2022-09-21 17:49:25 +0000.101264][35ca] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[2533:793] [2022-09-21 17:49:25 +0000.101424][35ca] Create OpenSLES input module
with java VM support.

[2533:793] [2022-09-21 17:49:25 +0000.101461][35ca] Create OpenSLES input module


with buffer num:1

[2533:793] [2022-09-21 17:49:25 +0000.101528][35ca] Error(trace.cc:40): Init the


output and input for audio device template.
[2533:793] [2022-09-21 17:49:25 +0000.101553][35ca] Init the output device.

[2533:793] [2022-09-21 17:49:25 +0000.101569][35ca] Init the opensl input.


[2533:793] [2022-09-21 17:49:25 +0000.101596][35ca] AppDeviceManager get setting
samplerate: 0
[2533:793] [2022-09-21 17:49:25 +0000.101838][35ca] The device model: m2012k11ag
enum value: 0
[2533:794] [2022-09-21 17:49:25 +0000.102184][35ca] The device model: m2012k11ag
enum value: 0
[2533:794] [2022-09-21 17:49:25 +0000.102209][35ca] Set the sample rate to be:48000

[2533:794] [2022-09-21 17:49:25 +0000.102230][35ca] Enable the recording stereo:0


[2533:794] [2022-09-21 17:49:25 +0000.102254][35ca] Set the playout as stereo:1
[2533:794] [2022-09-21 17:49:25 +0000.102285][35ca] Init the microphone.
[2533:794] [2022-09-21 17:49:25 +0000.102665][35ca] Update the recording sample
rate to be: 48000
[2533:794] [2022-09-21 17:49:25 +0000.102698][35ca] Init the speaker.
[2533:794] [2022-09-21 17:49:25 +0000.102723][35ca] Low latency buffer size:144 low
sample rate:48000
[2533:795] [2022-09-21 17:49:25 +0000.102981][35ca] Using 1 x 10ms for an audio
frame.

[2533:798] [2022-09-21 17:49:25 +0000.105896][35ca] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[2533:798] [2022-09-21 17:49:25 +0000.105973][35ca] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[2533:798] [2022-09-21 17:49:25 +0000.106004][35ca] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[2533:802] [2022-09-21 17:49:25 +0000.110005][35ca] The device model:m2012k11ag

[2533:802] [2022-09-21 17:49:25 +0000.110055][35ca] speaker output factor:100


defaultFactor: 100
[2533:802] [2022-09-21 17:49:25 +0000.110072][35ca] headset output factor:100
defaultFactor: 100

[2533:802] [2022-09-21 17:49:25 +0000.110357][35ca] AppDeviceManagerStart finished.


[2533:802] [2022-09-21 17:49:25 +0000.110384][35ca] AppDeviceManagerStartMic::mic
status is off
[2533:802] [2022-09-21 17:49:25 +0000.110451][35ca] AppDeviceManagerStartMic update
aec type: 2

[2533:802] [2022-09-21 17:49:25 +0000.110471][35ca] AppDeviceManagerStartMic update


voiceChangeMode: 4

[2533:802] [2022-09-21 17:49:25 +0000.110485][35ca]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[2533:802] [2022-09-21 17:49:25 +0000.110498][35ca]
AudioDeviceDataHandler::StartMicProcess

[2533:802] [2022-09-21 17:49:25 +0000.110612][35ca] Try to start webrtc recording


device.

[2533:802] [2022-09-21 17:49:25 +0000.110637][35ca] StartRecording. threadID:13770

[2533:802] [2022-09-21 17:49:25 +0000.110640][7af9] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[2533:802] [2022-09-21 17:49:25 +0000.110706][35ca] default mode: Set the recording
mode to voice communication to enable HW AEC .

[2533:802] [2022-09-21 17:49:25 +0000.110729][35ca] Set the recording mode before


getSetting: 4
[2533:802] [2022-09-21 17:49:25 +0000.110760][35ca] Set the recording mode after
getSetting: 1
[2533:829] [2022-09-21 17:49:25 +0000.137645][35ca] StartRecording finished.

[2533:829] [2022-09-21 17:49:25 +0000.137688][35ca] audio: start the audio mic


checker timer.

[2533:830] [2022-09-21 17:49:25 +0000.138062][35ca] machine model :poco


[2533:830] [2022-09-21 17:49:25 +0000.138090][35ca] Support this machine
model :poco
[2533:837] [2022-09-21 17:49:25 +0000.145840][35ca] global inited! current sdk
version: 07-20-936c45f
[2534:041] [2022-09-21 17:49:25 +0000.349113][50eb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[2534:041] [2022-09-21 17:49:25 +0000.349303][7af5] MediaFilterCamera, recording
file context:0x7ad3decd80 input texture:17
[2534:041] [2022-09-21 17:49:25 +0000.349355][7af5] GLESContext:
[2534:041] [2022-09-21 17:49:25 +0000.349403][7af5] The result of eglGetDisplay is:
0xb400007b90a568c0
[2534:042] [2022-09-21 17:49:25 +0000.349972][7af5] The result of creation:
0x79f74edf80
[2534:042] [2022-09-21 17:49:25 +0000.350042][7af5] The result of
eglCreatePbufferSurface is: 0x79f75b7680
[2534:042] [2022-09-21 17:49:25 +0000.350127][50eb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7ad3decd80 input_texture: 17
[2534:929] [2022-09-21 17:49:26 +0000.237236][7af9] haveEnoughProcessedData
internalAudioStream.length: 0
[2535:055] [2022-09-21 17:49:26 +0000.363350][35ca]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[2535:055] [2022-09-21 17:49:26 +0000.363557][35ca] ~MediaFilterCamera
time:359661754 enter.

[2535:055] [2022-09-21 17:49:26 +0000.363641][35ca] StopPullFrameAndWriteMp4


time:359661754 enter.

[2535:058] [2022-09-21 17:49:26 +0000.366156][7af4] stop recording


[2535:058] [2022-09-21 17:49:26 +0000.366199][7af4] we have stopped recording
before
[2535:058] [2022-09-21 17:49:26 +0000.366304][35ca] StopPullFrameAndWriteMp4
leave. expire time = 3 ms

[2535:060] [2022-09-21 17:49:26 +0000.368605][35ca] DestroyPipelineAndFilters


time:359661759 enter.

[2535:060] [2022-09-21 17:49:26 +0000.368710][35ca] DestroyPipelineAndFilters


leave. expire time = 0 ms

[2535:060] [2022-09-21 17:49:26 +0000.368841][35ca] AppDeviceManagerStopMic

[2535:061] [2022-09-21 17:49:26 +0000.369206][35ca] AppDeviceManagerStopMic::mic


status is on
[2535:061] [2022-09-21 17:49:26 +0000.369252][35ca] Try to stop webrtc device.

[2535:061] [2022-09-21 17:49:26 +0000.369289][35ca] Set record state to


stopped.threadID:13770

[2535:105] [2022-09-21 17:49:26 +0000.413737][35ca] Try to destory the


recorder.threadID:13770

[2535:346] [2022-09-21 17:49:26 +0000.653917][35ca] DestroyAudioRecorder:


[2535:346] [2022-09-21 17:49:26 +0000.654058][35ca] Cleanup the buffer queue in the
recorder.
[2535:346] [2022-09-21 17:49:26 +0000.654114][35ca] Destroy the recorder.

[2535:347] [2022-09-21 17:49:26 +0000.655579][35ca] StopRecording finished.

[2535:347] [2022-09-21 17:49:26 +0000.655672][35ca] The stop recording success.

[2535:347] [2022-09-21 17:49:26 +0000.655742][35ca]


AudioDeviceDataHandler::StopMicProcess

[2535:352] [2022-09-21 17:49:26 +0000.660305][35ca] AppDeviceManager stop.

[2535:352] [2022-09-21 17:49:26 +0000.660452][35ca] Rlease the webrtc device


object.

[2535:352] [2022-09-21 17:49:26 +0000.660805][35ca] OpenSlesInput destruct.

[2535:353] [2022-09-21 17:49:26 +0000.660910][35ca] OpenSlesOutput destruct.

[2535:353] [2022-09-21 17:49:26 +0000.661341][35ca] EventDispatchServerScope


destruct
[2535:353] [2022-09-21 17:49:26 +0000.661399][35ca]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[2535:353] [2022-09-21 17:49:26 +0000.661466][35ca] ~AudioDeviceDataHandler

[2535:357] [2022-09-21 17:49:26 +0000.665229][35ca] AppDeviceManagerDestruct.


[2535:357] [2022-09-21 17:49:26 +0000.665373][35ca] ~AppDeviceManager:
[2535:357] [2022-09-21 17:49:26 +0000.665832][35ca] ~CpuOverloadDetect
time:359662056 enter.

[2535:358] [2022-09-21 17:49:26 +0000.666177][35ca] ~CpuOverloadDetect leave.


expire time = 1 ms

[2535:359] [2022-09-21 17:49:26 +0000.667358][35ca] Destruct BeautifyReader


begin...
[2535:359] [2022-09-21 17:49:26 +0000.667420][35ca] Destruct BeautifyReader done.
[2535:359] [2022-09-21 17:49:26 +0000.667482][35ca] ~MediaFilterCamera leave.
expire time = 304 ms

[2535:359] [2022-09-21 17:49:26 +0000.667682][35ca] ~GLESContext:


[2535:360] [2022-09-21 17:49:26 +0000.668668][35ca] GLESContext destruct finish.
[2535:360] [2022-09-21 17:49:26 +0000.668738][35ca]
~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[2535:361] [2022-09-21 17:49:26 +0000.669105][35ca] global uninited!
[2535:361] [2022-09-21 17:49:26 +0000.669443][35ca] clear AppID 50011
[2535:361] [2022-09-21 17:49:26 +0000.669499][35ca] UnRegister JVM for Xplatform
util
[2535:361] [2022-09-21 17:49:26 +0000.669549][35ca] Dispose::unregister webrtc
video engine
[2535:361] [2022-09-21 17:49:26 +0000.669594][35ca] Init the android object with
jvm:0x0 env:0x0 context:0x0

[2535:361] [2022-09-21 17:49:26 +0000.669647][35ca] SetAndroidMediaCodecObjects


time:359662060 enter.

[2535:361] [2022-09-21 17:49:26 +0000.669694][35ca] ClearAndroidMediaCodecObjects


time:359662060 enter.

[2535:361] [2022-09-21 17:49:26 +0000.669744][35ca] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[2535:361] [2022-09-21 17:49:26 +0000.669791][35ca] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[2535:361] [2022-09-21 17:49:26 +0000.669838][35ca] SetAndroidMediaCodecObjects


time:359662060 enter.

[2535:362] [2022-09-21 17:49:26 +0000.669884][35ca] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[2535:362] [2022-09-21 17:49:26 +0000.669929][35ca] ClearAndroidMediaCodecObjects
time:359662061 enter.

[2535:362] [2022-09-21 17:49:26 +0000.669976][35ca] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[2535:362] [2022-09-21 17:49:26 +0000.670022][35ca] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[2535:362] [2022-09-21 17:49:26 +0000.670066][35ca] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[2535:362] [2022-09-21 17:49:26 +0000.670112][35ca] Dispose::unregister webrtc


voice engine
[2535:362] [2022-09-21 17:49:26 +0000.670156][35ca] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[2535:362] [2022-09-21 17:49:26 +0000.670206][35ca] SystemUtil UnInit done


[2731:408] [2022-09-21 17:52:42 +0000.715979][35ca] Register JVM for xplatform util
[2731:411] [2022-09-21 17:52:42 +0000.719234][35ca] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
21 17:52:42 +0000
[2731:411] [2022-09-21 17:52:42 +0000.719273][35ca] set AppID=50011 old AppID=-1
[2731:411] [2022-09-21 17:52:42 +0000.719294][35ca] Init the android object with
jvm:0xb400007b90964380 env:0x7b90a5a600 context:0x7a5d3e3d88

[2731:411] [2022-09-21 17:52:42 +0000.719314][35ca] SetAndroidMediaCodecObjects


time:359858110 enter.

[2731:411] [2022-09-21 17:52:42 +0000.719334][35ca] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[2731:411] [2022-09-21 17:52:42 +0000.719351][35ca] SetAndroidMediaCodecObjects


time:359858110 enter.

[2731:411] [2022-09-21 17:52:42 +0000.719368][35ca] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b90964380
[2731:411] [2022-09-21 17:52:42 +0000.719385][35ca] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b90964380 address:0x79b2d00760
[2731:411] [2022-09-21 17:52:42 +0000.719403][35ca] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b90964380
address:0x79b2d00760
[2731:411] [2022-09-21 17:52:42 +0000.719420][35ca] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[2731:411] [2022-09-21 17:52:42 +0000.719435][35ca] Set the android objects with


jvm:0xb400007b90964380 env:0x7b90a5a600 context:0x7a5d3e3d88

[2731:411] [2022-09-21 17:52:42 +0000.719454][35ca] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b90a5a600
[2731:411] [2022-09-21 17:52:42 +0000.719471][35ca] SystemUtil Init done
[2731:411] [2022-09-21 17:52:42 +0000.719686][35ca]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[2731:411] [2022-09-21 17:52:42 +0000.719762][35ca] MediaFilterCamera
[2731:411] [2022-09-21 17:52:42 +0000.719797][35ca] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[2731:412] [2022-09-21 17:52:42 +0000.719881][35ca] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[2731:412] [2022-09-21 17:52:42 +0000.719909][35ca] Recording session using default
bitrate support by app:31457280
[2731:412] [2022-09-21 17:52:42 +0000.719914][d34] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7ad3d48dc0
[2731:412] [2022-09-21 17:52:42 +0000.719990][d34] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[2731:412] [2022-09-21 17:52:42 +0000.720062][35ca] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[2731:412] [2022-09-21 17:52:42 +0000.720759][35ca] Error(ini.cc:191): Open the
file failed. error:2
[2731:412] [2022-09-21 17:52:42 +0000.720792][35ca]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[2731:412] [2022-09-21 17:52:42 +0000.720810][35ca] The device model: m2012k11ag
usingSoftwareAEC value: 0
[2731:414] [2022-09-21 17:52:42 +0000.722408][35ca] Error(ini.cc:191): Open the
file failed. error:2
[2731:414] [2022-09-21 17:52:42 +0000.722451][35ca]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[2731:414] [2022-09-21 17:52:42 +0000.722474][35ca] The device model: m2012k11ag
usingHardwareAEC value: 0
[2731:414] [2022-09-21 17:52:42 +0000.722489][35ca] The machine device: m2012k11ag
usingHardwareAEC value: 0
[2731:414] [2022-09-21 17:52:42 +0000.722504][35ca] Using Default AEC type:
software AEC
[2731:415] [2022-09-21 17:52:42 +0000.723284][35ca] The device model: m2012k11ag
enum value: 0
[2731:415] [2022-09-21 17:52:42 +0000.723571][35ca] GetMachineModel is M2012K11AG
[2731:415] [2022-09-21 17:52:42 +0000.723601][35ca] GetMachineInfo: M2012K11AG
[2731:415] [2022-09-21 17:52:42 +0000.723617][35ca] Construct BeautifyReader
begin...
[2731:415] [2022-09-21 17:52:42 +0000.723631][35ca] dumpStickerRgba:0
dumpStickerYuv:0
[2731:415] [2022-09-21 17:52:42 +0000.723668][35ca] Construct BeautifyReader done.
[2731:418] [2022-09-21 17:52:42 +0000.726397][35ca]
AppDeviceManagerStartCamera::The result of start thread is: 1 micOn:0
[2731:418] [2022-09-21 17:52:42 +0000.726493][35ca] AppDeviceManager telnet server
for statistics started......
[2731:418] [2022-09-21 17:52:42 +0000.726609][d38] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a52c2a1a0
[2731:419] [2022-09-21 17:52:42 +0000.726990][35ca] CpuOverloadDetect
time:359858118 enter.

[2731:419] [2022-09-21 17:52:42 +0000.727087][35ca] CpuOverloadDetect leave.


expire time = 0 ms

[2731:419] [2022-09-21 17:52:42 +0000.727106][d3a] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7ad3c95640
[2731:419] [2022-09-21 17:52:42 +0000.727549][35ca] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[2731:419] [2022-09-21 17:52:42 +0000.727576][35ca] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[2731:419] [2022-09-21 17:52:42 +0000.727709][35ca] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[2731:420] [2022-09-21 17:52:42 +0000.727956][35ca] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[2731:421] [2022-09-21 17:52:42 +0000.729146][35ca] CreatePlatformSpecificObjects:
[2731:421] [2022-09-21 17:52:42 +0000.729670][35ca] audio device use opensle input
and opensl output
[2731:421] [2022-09-21 17:52:42 +0000.729705][35ca] Create OpenSLES output module
with java VM support.

[2731:421] [2022-09-21 17:52:42 +0000.729849][35ca] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[2731:423] [2022-09-21 17:52:42 +0000.731376][35ca] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[2731:423] [2022-09-21 17:52:42 +0000.731857][35ca] Create OpenSLES output module
with buffer num:1

[2731:424] [2022-09-21 17:52:42 +0000.732015][35ca] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[2731:424] [2022-09-21 17:52:42 +0000.732329][35ca] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[2731:424] [2022-09-21 17:52:42 +0000.732612][35ca] Create OpenSLES input module
with java VM support.
[2731:424] [2022-09-21 17:52:42 +0000.732656][35ca] Create OpenSLES input module
with buffer num:1

[2731:424] [2022-09-21 17:52:42 +0000.732683][35ca] Error(trace.cc:40): Init the


output and input for audio device template.
[2731:424] [2022-09-21 17:52:42 +0000.732701][35ca] Init the output device.

[2731:424] [2022-09-21 17:52:42 +0000.732739][35ca] Init the opensl input.


[2731:424] [2022-09-21 17:52:42 +0000.732760][35ca] AppDeviceManager get setting
samplerate: 0
[2731:425] [2022-09-21 17:52:42 +0000.733065][35ca] The device model: m2012k11ag
enum value: 0
[2731:425] [2022-09-21 17:52:42 +0000.733438][35ca] The device model: m2012k11ag
enum value: 0
[2731:425] [2022-09-21 17:52:42 +0000.733470][35ca] Set the sample rate to be:48000

[2731:425] [2022-09-21 17:52:42 +0000.733487][35ca] Enable the recording stereo:0


[2731:425] [2022-09-21 17:52:42 +0000.733502][35ca] Set the playout as stereo:1
[2731:425] [2022-09-21 17:52:42 +0000.733518][35ca] Init the microphone.
[2731:426] [2022-09-21 17:52:42 +0000.733887][35ca] Update the recording sample
rate to be: 48000
[2731:426] [2022-09-21 17:52:42 +0000.733934][35ca] Init the speaker.
[2731:426] [2022-09-21 17:52:42 +0000.733959][35ca] Low latency buffer size:144 low
sample rate:48000
[2731:426] [2022-09-21 17:52:42 +0000.734191][35ca] Using 1 x 10ms for an audio
frame.

[2731:429] [2022-09-21 17:52:42 +0000.737425][35ca] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[2731:429] [2022-09-21 17:52:42 +0000.737532][35ca] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[2731:429] [2022-09-21 17:52:42 +0000.737559][35ca] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[2731:433] [2022-09-21 17:52:42 +0000.741716][35ca] The device model:m2012k11ag

[2731:433] [2022-09-21 17:52:42 +0000.741782][35ca] speaker output factor:100


defaultFactor: 100

[2731:433] [2022-09-21 17:52:42 +0000.741801][35ca] headset output factor:100


defaultFactor: 100

[2731:434] [2022-09-21 17:52:42 +0000.742043][35ca] AppDeviceManagerStart finished.


[2731:434] [2022-09-21 17:52:42 +0000.742071][35ca] AppDeviceManagerStartMic::mic
status is off
[2731:434] [2022-09-21 17:52:42 +0000.742125][35ca] AppDeviceManagerStartMic update
aec type: 2

[2731:434] [2022-09-21 17:52:42 +0000.742151][35ca] AppDeviceManagerStartMic update


voiceChangeMode: 4

[2731:434] [2022-09-21 17:52:42 +0000.742166][35ca]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[2731:434] [2022-09-21 17:52:42 +0000.742180][35ca]
AudioDeviceDataHandler::StartMicProcess

[2731:434] [2022-09-21 17:52:42 +0000.742280][35ca] Try to start webrtc recording


device.
[2731:434] [2022-09-21 17:52:42 +0000.742306][35ca] StartRecording. threadID:13770

[2731:434] [2022-09-21 17:52:42 +0000.742340][35ca] default mode: Set the recording


mode to voice communication to enable HW AEC .

[2731:434] [2022-09-21 17:52:42 +0000.742375][35ca] Set the recording mode before


getSetting: 4
[2731:434] [2022-09-21 17:52:42 +0000.742395][35ca] Set the recording mode after
getSetting: 1
[2731:434] [2022-09-21 17:52:42 +0000.742551][d3c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[2731:463] [2022-09-21 17:52:42 +0000.771555][35ca] StartRecording finished.

[2731:463] [2022-09-21 17:52:42 +0000.771601][35ca] audio: start the audio mic


checker timer.

[2731:464] [2022-09-21 17:52:42 +0000.771923][35ca] machine model :poco


[2731:464] [2022-09-21 17:52:42 +0000.771953][35ca] Support this machine
model :poco
[2731:464] [2022-09-21 17:52:42 +0000.771974][35ca] global inited! current sdk
version: 07-20-936c45f
[2731:658] [2022-09-21 17:52:42 +0000.966245][50eb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[2731:658] [2022-09-21 17:52:42 +0000.966328][d36] MediaFilterCamera, recording
file context:0x7ad3decd80 input texture:19
[2731:658] [2022-09-21 17:52:42 +0000.966388][d36] GLESContext:
[2731:658] [2022-09-21 17:52:42 +0000.966423][d36] The result of eglGetDisplay is:
0xb400007b90a568c0
[2731:659] [2022-09-21 17:52:42 +0000.966954][d36] The result of creation:
0x79ef226100
[2731:659] [2022-09-21 17:52:42 +0000.967018][d36] The result of
eglCreatePbufferSurface is: 0x79ef226280
[2731:659] [2022-09-21 17:52:42 +0000.967114][50eb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7ad3decd80 input_texture: 19
[2732:001] [2022-09-21 17:52:43 +0000.309732][d3c] Run AGC when audioType = 0
[2732:865] [2022-09-21 17:52:44 +0000.173662][d3c] haveEnoughProcessedData
internalAudioStream.length: 20
[2733:616] [2022-09-21 17:52:44 +0000.924284][35ca]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[2733:616] [2022-09-21 17:52:44 +0000.924518][35ca] ~MediaFilterCamera
time:359860315 enter.

[2733:616] [2022-09-21 17:52:44 +0000.924566][35ca] StopPullFrameAndWriteMp4


time:359860315 enter.

[2733:621] [2022-09-21 17:52:44 +0000.929765][d34] stop recording


[2733:621] [2022-09-21 17:52:44 +0000.929805][d34] we have stopped recording before
[2733:622] [2022-09-21 17:52:44 +0000.930052][35ca] StopPullFrameAndWriteMp4
leave. expire time = 6 ms

[2733:624] [2022-09-21 17:52:44 +0000.932628][35ca] DestroyPipelineAndFilters


time:359860323 enter.

[2733:624] [2022-09-21 17:52:44 +0000.932740][35ca] DestroyPipelineAndFilters


leave. expire time = 0 ms

[2733:624] [2022-09-21 17:52:44 +0000.932806][35ca] AppDeviceManagerStopMic


[2733:634] [2022-09-21 17:52:44 +0000.942012][35ca] AppDeviceManagerStopMic::mic
status is on
[2733:634] [2022-09-21 17:52:44 +0000.942212][35ca] Try to stop webrtc device.

[2733:634] [2022-09-21 17:52:44 +0000.942281][35ca] Set record state to


stopped.threadID:13770

[2733:675] [2022-09-21 17:52:44 +0000.983874][35ca] Try to destory the


recorder.threadID:13770

[2733:897] [2022-09-21 17:52:45 +0000.205410][35ca] DestroyAudioRecorder:


[2733:897] [2022-09-21 17:52:45 +0000.205548][35ca] Clean[000:026] [2022-09-21
19:47:12 +0000.649007][1dda] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
21 19:47:12 +0000
[000:026] [2022-09-21 19:47:12 +0000.649059][1dda] set AppID=50011 old AppID=-1
[000:026] [2022-09-21 19:47:12 +0000.649079][1dda] Init the android object with
jvm:0xb400007b90964380 env:0x7b90a59fc0 context:0x7a62fc0718

[000:026] [2022-09-21 19:47:12 +0000.649113][1dda] SetAndroidMediaCodecObjects


time:366391710 enter.

[000:026] [2022-09-21 19:47:12 +0000.649132][1dda] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:026] [2022-09-21 19:47:12 +0000.649146][1dda] SetAndroidMediaCodecObjects


time:366391710 enter.

[000:026] [2022-09-21 19:47:12 +0000.649158][1dda] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b90964380
[000:026] [2022-09-21 19:47:12 +0000.649178][1dda] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b90964380 address:0x79e5ec3760
[000:026] [2022-09-21 19:47:12 +0000.649193][1dda] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b90964380
address:0x79e5ec3760
[000:027] [2022-09-21 19:47:12 +0000.649207][1dda] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[000:027] [2022-09-21 19:47:12 +0000.649235][1dda] Set the android objects with


jvm:0xb400007b90964380 env:0x7b90a59fc0 context:0x7a62fc0718

[000:028] [2022-09-21 19:47:12 +0000.650244][1dda] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b90a59fc0
[000:028] [2022-09-21 19:47:12 +0000.650307][1dda] SystemUtil Init done
[000:029] [2022-09-21 19:47:12 +0000.651681][1dda]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:031] [2022-09-21 19:47:12 +0000.653976][1dda] MediaFilterCamera
[000:031] [2022-09-21 19:47:12 +0000.654037][1dda] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:031] [2022-09-21 19:47:12 +0000.654172][1dda] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:031] [2022-09-21 19:47:12 +0000.654194][1dda] Recording session using default
bitrate support by app:31457280
[000:032] [2022-09-21 19:47:12 +0000.654868][44b3] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7ad3d43e40
[000:032] [2022-09-21 19:47:12 +0000.654945][44b3] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:032] [2022-09-21 19:47:12 +0000.655024][1dda] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:033] [2022-09-21 19:47:12 +0000.655471][1dda] Error(ini.cc:191): Open the file
failed. error:2
[000:033] [2022-09-21 19:47:12 +0000.655506][1dda]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:033] [2022-09-21 19:47:12 +0000.655523][1dda] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:037] [2022-09-21 19:47:12 +0000.659351][1dda] Error(ini.cc:191): Open the file
failed. error:2
[000:037] [2022-09-21 19:47:12 +0000.659413][1dda]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:037] [2022-09-21 19:47:12 +0000.659447][1dda] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:037] [2022-09-21 19:47:12 +0000.659465][1dda] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:037] [2022-09-21 19:47:12 +0000.659481][1dda] Using Default AEC type: software
AEC
[000:038] [2022-09-21 19:47:12 +0000.660963][1dda] The device model: m2012k11ag
enum value: 0
[000:039] [2022-09-21 19:47:12 +0000.661253][1dda] GetMachineModel is M2012K11AG
[000:039] [2022-09-21 19:47:12 +0000.661283][1dda] GetMachineInfo: M2012K11AG
[000:039] [2022-09-21 19:47:12 +0000.661310][1dda] Construct BeautifyReader
begin...
[000:039] [2022-09-21 19:47:12 +0000.661324][1dda] dumpStickerRgba:0
dumpStickerYuv:0
[000:039] [2022-09-21 19:47:12 +0000.661337][1dda] Construct BeautifyReader done.
[000:043] [2022-09-21 19:47:12 +0000.665267][1dda] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:043] [2022-09-21 19:47:12 +0000.665380][44b6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79f7c0c0a0
[000:043] [2022-09-21 19:47:12 +0000.666131][1dda] AppDeviceManager telnet server
for statistics started......
[000:044] [2022-09-21 19:47:12 +0000.666563][1dda] CpuOverloadDetect time:366391728
enter.

[000:044] [2022-09-21 19:47:12 +0000.666653][1dda] CpuOverloadDetect leave. expire


time = 0 ms

[000:044] [2022-09-21 19:47:12 +0000.666684][44b7] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7ad3c83200
[000:044] [2022-09-21 19:47:12 +0000.667029][1dda] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:044] [2022-09-21 19:47:12 +0000.667046][1dda] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:045] [2022-09-21 19:47:12 +0000.667248][1dda] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:047] [2022-09-21 19:47:12 +0000.669745][1dda] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:047] [2022-09-21 19:47:12 +0000.670103][1dda] CreatePlatformSpecificObjects:
[000:047] [2022-09-21 19:47:12 +0000.670257][1dda] audio device use opensle input
and opensl output
[000:048] [2022-09-21 19:47:12 +0000.670344][1dda] Create OpenSLES output module
with java VM support.

[000:048] [2022-09-21 19:47:12 +0000.670506][1dda] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:048] [2022-09-21 19:47:12 +0000.670656][1dda] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:048] [2022-09-21 19:47:12 +0000.670871][1dda] Create OpenSLES output module
with buffer num:1

[000:048] [2022-09-21 19:47:12 +0000.670987][1dda] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:048] [2022-09-21 19:47:12 +0000.671146][1dda] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:049] [2022-09-21 19:47:12 +0000.671274][1dda] Create OpenSLES input module
with java VM support.

[000:049] [2022-09-21 19:47:12 +0000.671303][1dda] Create OpenSLES input module


with buffer num:1

[000:049] [2022-09-21 19:47:12 +0000.671350][1dda] Error(trace.cc:40): Init the


output and input for audio device template.
[000:049] [2022-09-21 19:47:12 +0000.671385][1dda] Init the output device.

[000:049] [2022-09-21 19:47:12 +0000.671402][1dda] Init the opensl input.


[000:049] [2022-09-21 19:47:12 +0000.671419][1dda] AppDeviceManager get setting
samplerate: 0
[000:049] [2022-09-21 19:47:12 +0000.671728][1dda] The device model: m2012k11ag
enum value: 0
[000:049] [2022-09-21 19:47:12 +0000.672126][1dda] The device model: m2012k11ag
enum value: 0
[000:049] [2022-09-21 19:47:12 +0000.672175][1dda] Set the sample rate to be:48000

[000:049] [2022-09-21 19:47:12 +0000.672199][1dda] Enable the recording stereo:0


[000:050] [2022-09-21 19:47:12 +0000.672224][1dda] Set the playout as stereo:1
[000:050] [2022-09-21 19:47:12 +0000.672249][1dda] Init the microphone.
[000:052] [2022-09-21 19:47:12 +0000.674783][1dda] Update the recording sample rate
to be: 48000
[000:052] [2022-09-21 19:47:12 +0000.674834][1dda] Init the speaker.
[000:052] [2022-09-21 19:47:12 +0000.674876][1dda] Low latency buffer size:144 low
sample rate:48000
[000:053] [2022-09-21 19:47:12 +0000.675229][1dda] Using 1 x 10ms for an audio
frame.

[000:056] [2022-09-21 19:47:12 +0000.678514][1dda] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:056] [2022-09-21 19:47:12 +0000.678597][1dda] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:056] [2022-09-21 19:47:12 +0000.678625][1dda] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:062] [2022-09-21 19:47:12 +0000.685140][1dda] The device model:m2012k11ag

[000:062] [2022-09-21 19:47:12 +0000.685202][1dda] speaker output factor:100


defaultFactor: 100

[000:063] [2022-09-21 19:47:12 +0000.685223][1dda] headset output factor:100


defaultFactor: 100

[000:063] [2022-09-21 19:47:12 +0000.685517][1dda] AppDeviceManagerStart finished.


[000:063] [2022-09-21 19:47:12 +0000.685543][1dda] AppDeviceManagerStartMic::mic
status is off
[000:063] [2022-09-21 19:47:12 +0000.685588][1dda] AppDeviceManagerStartMic update
aec type: 2

[000:063] [2022-09-21 19:47:12 +0000.685607][1dda] AppDeviceManagerStartMic update


voiceChangeMode: 4
[000:063] [2022-09-21 19:47:12 +0000.685621][1dda]
AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:063] [2022-09-21 19:47:12 +0000.685641][1dda]
AudioDeviceDataHandler::StartMicProcess

[000:063] [2022-09-21 19:47:12 +0000.685736][1dda] Try to start webrtc recording


device.

[000:063] [2022-09-21 19:47:12 +0000.685756][1dda] StartRecording. threadID:7642

[000:063] [2022-09-21 19:47:12 +0000.685984][1dda] The machine model:M2012K11AG

[000:063] [2022-09-21 19:47:12 +0000.686028][1dda] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:063] [2022-09-21 19:47:12 +0000.686052][1dda] Set the recording mode before


getSetting: 4
[000:063] [2022-09-21 19:47:12 +0000.686069][1dda] Set the recording mode after
getSetting: 1
[000:063] [2022-09-21 19:47:12 +0000.686232][44b9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:064] [2022-09-21 19:47:12 +0000.686302][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[000:113] [2022-09-21 19:47:12 +0000.735427][1dda] StartRecording finished.

[000:113] [2022-09-21 19:47:12 +0000.735495][1dda] audio: start the audio mic


checker timer.

[000:113] [2022-09-21 19:47:12 +0000.736056][1dda] machine model :poco


[000:113] [2022-09-21 19:47:12 +0000.736105][1dda] Support this machine model :poco
[000:115] [2022-09-21 19:47:12 +0000.738199][1dda] global inited! current sdk
version: 07-20-936c45f
[000:192] [2022-09-21 19:47:12 +0000.814286][44ba] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:192] [2022-09-21 19:47:12 +0000.814347][44ba] _deviceSampleRate:48000

[000:196] [2022-09-21 19:47:12 +0000.818572][44b9] Run AGC when audioType = 0


[000:196] [2022-09-21 19:47:12 +0000.818662][44b9]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:441] [2022-09-21 19:47:13 +0000.63743][445d]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:441] [2022-09-21 19:47:13 +0000.64043][44b4] MediaFilterCamera, recording file
context:0x7ad3c0d700 input texture:4
[000:441] [2022-09-21 19:47:13 +0000.64101][44b4] GLESContext:
[000:441] [2022-09-21 19:47:13 +0000.64134][44b4] The result of eglGetDisplay is:
0xb400007b90a568c0
[000:443] [2022-09-21 19:47:13 +0000.65441][44b4] The result of creation:
0x7a59d2f400
[000:443] [2022-09-21 19:47:13 +0000.65527][44b4] The result of
eglCreatePbufferSurface is: 0x7a59d2fa00
[000:443] [2022-09-21 19:47:13 +0000.65822][445d]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7ad3c0d700 input_texture: 4
[001:842] [2022-09-21 19:47:14 +0000.464617][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[002:193] [2022-09-21 19:47:14 +0000.815498][44b9] Run AGC when audioType = 0
[003:527] [2022-09-21 19:47:16 +0000.149843][1dbf] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[003:527] [2022-09-21 19:47:16 +0000.149898][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[003:528] [2022-09-21 19:47:16 +0000.150546][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[003:528] [2022-09-21 19:47:16 +0000.150684][44b4] operator() time:366395212
enter.

[003:528] [2022-09-21 19:47:16 +0000.150747][44b4] MediaFilterCamera, recording


file context:0x7ad3c0d700 input texture:4
[003:529] [2022-09-21 19:47:16 +0000.151745][44b4] MicSource: Mic source
created:10x79f36eaf80
[003:529] [2022-09-21 19:47:16 +0000.152082][44b4] received external audio stream

[003:529] [2022-09-21 19:47:16 +0000.152116][44b4] alloc thread: 0x79f7b38300


name:worker0 thread id:523256548528 to Mic_source
[003:529] [2022-09-21 19:47:16 +0000.152174][44b4] audio: start the audio sender
thread.

[003:530] [2022-09-21 19:47:16 +0000.152222][44b4] construct OpenGLRenderProgram


0x79f3705b98
[003:530] [2022-09-21 19:47:16 +0000.152250][44b4] CropFilter::SetOrientation
orientation: 90
[003:530] [2022-09-21 19:47:16 +0000.152313][44b4] filter: filter pipeline
construtc this: 0x79d9623080
[003:530] [2022-09-21 19:47:16 +0000.152338][44b4] filter: filter pipeline2 update
pattern: 1
[003:530] [2022-09-21 19:47:16 +0000.152399][44b4] CameraSource::source_id_:1
[003:530] [2022-09-21 19:47:16 +0000.152451][44b4] RecordAudioSource::source_id_:2
[003:530] [2022-09-21 19:47:16 +0000.152597][44b4] BindInputFilter 0x79f7b38a40
this 0x79f3705dc0
[003:530] [2022-09-21 19:47:16 +0000.152631][44b4] BindInputFilter 0x79f7b38bd8
this 0x79f7b38d50
[003:530] [2022-09-21 19:47:16 +0000.152653][44b4] BindInputFilter 0x79f3705dc0
this 0x79d9623120
[003:530] [2022-09-21 19:47:16 +0000.152684][44b4] setParamentForFilters:
speed:1.000000
[003:530] [2022-09-21 19:47:16 +0000.152699][44b4] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[003:530] [2022-09-21 19:47:16 +0000.152715][44b4] SetParamForFilter time:366395214
enter.

[003:530] [2022-09-21 19:47:16 +0000.152731][44b4] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[003:530] [2022-09-21 19:47:16 +0000.152749][44b4] SetParamForFilter: Params video
index is: 0
[003:530] [2022-09-21 19:47:16 +0000.152764][44b4] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[003:530] [2022-09-21 19:47:16 +0000.152779][44b4] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[003:530] [2022-09-21 19:47:16 +0000.152794][44b4] crop filter mode tpye:
citytravelvideo index:0
[003:533] [2022-09-21 19:47:16 +0000.155373][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:533] [2022-09-21 19:47:16 +0000.155452][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:533] [2022-09-21 19:47:16 +0000.155475][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:533] [2022-09-21 19:47:16 +0000.155493][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:533] [2022-09-21 19:47:16 +0000.155512][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:533] [2022-09-21 19:47:16 +0000.155528][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:533] [2022-09-21 19:47:16 +0000.155545][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:533] [2022-09-21 19:47:16 +0000.155562][44b4]
Warning(parse_template_json.cc:81): json parament no found the parament
[003:533] [2022-09-21 19:47:16 +0000.155578][44b4]
Warning(parse_template_json.cc:81): json parament no found the parament
[003:533] [2022-09-21 19:47:16 +0000.155596][44b4]
Warning(parse_template_json.cc:67): json parament no found the parament
[003:533] [2022-09-21 19:47:16 +0000.155612][44b4]
Warning(parse_template_json.cc:93): json parament no found the duration
[003:533] [2022-09-21 19:47:16 +0000.155631][44b4] SetParamForFilter leave. expire
time = 3 ms

[003:533] [2022-09-21 19:47:16 +0000.155843][44b4] OnOutputSizeChanged width 1920


height 1080
[003:533] [2022-09-21 19:47:16 +0000.155895][44b4] OpenGLFrameBuffer: width:1920
height:1080
[003:533] [2022-09-21 19:47:16 +0000.155921][44b4] OpenGLFrameBuffer: width:1920
height:1080
[003:533] [2022-09-21 19:47:16 +0000.155940][44b4] OpenGLFrameBuffer: width:1920
height:1080
[003:533] [2022-09-21 19:47:16 +0000.155956][44b4] OpenGLFrameBuffer: width:1920
height:1080
[003:533] [2022-09-21 19:47:16 +0000.155972][44b4] OpenGLFrameBuffer: width:1920
height:1080
[003:533] [2022-09-21 19:47:16 +0000.156010][44b4] OpenGLFrameBuffer: width:1920
height:1080
[003:533] [2022-09-21 19:47:16 +0000.156027][44b4] construct TrivalImageDrawer
0x79d9581880
[003:533] [2022-09-21 19:47:16 +0000.156045][44b4] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x79d9581880 context 0x79d9621040
[003:533] [2022-09-21 19:47:16 +0000.156047][44b9] On audio frame the broadcast
with timestamp:366395217 samples:480. (1000 frame for one log)

[003:533] [2022-09-21 19:47:16 +0000.156095][44b4] setupGLES:


[003:534] [2022-09-21 19:47:16 +0000.156370][44b4] OpenGLRenderProgram::Initialize.
[003:534] [2022-09-21 19:47:16 +0000.156459][44b4] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[003:534] [2022-09-21 19:47:16 +0000.156531][44b4] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[003:534] [2022-09-21 19:47:16 +0000.156572][44b4] Init open gl render:
0x79f3705b98
[003:534] [2022-09-21 19:47:16 +0000.156593][44b4] Fragement shader path:
[003:534] [2022-09-21 19:47:16 +0000.156637][44b4] Fragement shader path:
[003:534] [2022-09-21 19:47:16 +0000.156666][44b4] create opengl program object.
[003:534] [2022-09-21 19:47:16 +0000.156682][44b4] create shader: vertex
[003:537] [2022-09-21 19:47:16 +0000.159294][44b4] create shader: fragment
[003:540] [2022-09-21 19:47:16 +0000.162317][45fb] Get data in mic source, which
has byte length:1764micAudioStream->length():20
[003:540] [2022-09-21 19:47:16 +0000.162765][45fb] The output timestamp from audio
mixer change:366395217
[003:540] [2022-09-21 19:47:16 +0000.162803][45fb] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[003:554] [2022-09-21 19:47:16 +0000.176828][44b9] haveEnoughProcessedData
internalAudioStream.length: 20
[003:566] [2022-09-21 19:47:16 +0000.188521][44b4] Have not extra filter filename!
[003:566] [2022-09-21 19:47:16 +0000.188595][44b4] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[003:566] [2022-09-21 19:47:16 +0000.188616][44b4] OpenGLRenderProgram::Initialize
success.
[003:566] [2022-09-21 19:47:16 +0000.188674][44b4] Setup the OpenGL result:1
[003:566] [2022-09-21 19:47:16 +0000.188903][44b3] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4
[003:566] [2022-09-21 19:47:16 +0000.189006][44b3] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[003:566] [2022-09-21 19:47:16 +0000.189026][4605] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a59d68098
[003:566] [2022-09-21 19:47:16 +0000.189063][44b3] 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
[003:566] [2022-09-21 19:47:16 +0000.189092][44b3] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4
fileFD: -1
[003:567] [2022-09-21 19:47:16 +0000.189410][44b3] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4
is opened successfully
[003:567] [2022-09-21 19:47:16 +0000.189438][44b3] setupMediaProcessers:
[003:567] [2022-09-21 19:47:16 +0000.189475][44b3]
RecordingSessionInternalSimple:setup media processers.
[003:567] [2022-09-21 19:47:16 +0000.189511][44b3] construct AAC encoder
[003:567] [2022-09-21 19:47:16 +0000.190004][44b3] H264Encoder creating:
superfast011818
[003:567] [2022-09-21 19:47:16 +0000.190040][44b3] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[003:568] [2022-09-21 19:47:16 +0000.190641][44b3] H264Encode::GetMachineModel is
M2012K11AG
[003:568] [2022-09-21 19:47:16 +0000.190681][44b3] H264Encoder machine_mode
is:M2012K11AG
[003:568] [2022-09-21 19:47:16 +0000.190728][44b3] H264Encode::machine size :9
machine_mode:M2012K11AG
[003:568] [2022-09-21 19:47:16 +0000.190746][44b3] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[003:568] [2022-09-21 19:47:16 +0000.190761][44b3] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[003:568] [2022-09-21 19:47:16 +0000.190776][44b3] setupCompressionSession:
[003:568] [2022-09-21 19:47:16 +0000.190813][44b3] H264Encode::creating hareware
Encoder
[003:568] [2022-09-21 19:47:16 +0000.190830][44b3] AndroidHwAvcEncoder
time:366395252 enter.

[003:568] [2022-09-21 19:47:16 +0000.190947][44b3] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b90964380 address:0x79e5ec3760
[003:568] [2022-09-21 19:47:16 +0000.191060][44b3] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[003:568] [2022-09-21 19:47:16 +0000.191097][44b3] The video avc hw codec address
is 0x79f3718568
[003:568] [2022-09-21 19:47:16 +0000.191156][44b3] AndroidHwAvcEncoder leave.
expire time = 0 ms

[003:568] [2022-09-21 19:47:16 +0000.191177][44b3] RegisterEncodeCompleteCallback


time:366395252 enter.

[003:569] [2022-09-21 19:47:16 +0000.191225][44b3] RegisterEncodeCompleteCallback


leave. expire time = 1 ms

[003:569] [2022-09-21 19:47:16 +0000.191259][44b3] InitEncode time:366395253


enter.

[003:569] [2022-09-21 19:47:16 +0000.191321][44b3] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[003:569] [2022-09-21 19:47:16 +0000.191354][44b3] Create time:366395253 enter.

[003:569] [2022-09-21 19:47:16 +0000.191393][44b3] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[003:569] [2022-09-21 19:47:16 +0000.191414][44b3]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x79f7c00c00
[003:579] [2022-09-21 19:47:16 +0000.201805][44b3]
supported_type:image/vnd.android.heic
[003:579] [2022-09-21 19:47:16 +0000.201873][44b3] supported_type:video/avc
[003:579] [2022-09-21 19:47:16 +0000.201894][44b3] name:OMX.qcom.video.encoder.avc
mime:video/avc
[003:579] [2022-09-21 19:47:16 +0000.201919][44b3] hwCodecPrefix :OMX.qcom.
[003:579] [2022-09-21 19:47:16 +0000.201942][44b3] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[003:579] [2022-09-21 19:47:16 +0000.201963][44b3] mediacodec_createCodecByName
time:366395263 enter.

[003:579] [2022-09-21 19:47:16 +0000.201988][44b3] WrapAndroidMediaCodec


time:366395263 enter.

[003:579] [2022-09-21 19:47:16 +0000.202083][44b3] WrapAndroidMediaCodec leave.


expire time = 0 ms

[003:615] [2022-09-21 19:47:16 +0000.237959][44b3] mediacodec_createCodecByName


leave. expire time = 36 ms

[003:615] [2022-09-21 19:47:16 +0000.238098][44b3] WrapAndroidMediaFromat


time:366395299 enter.

[003:615] [2022-09-21 19:47:16 +0000.238186][44b3] WrapAndroidMediaFromat leave.


expire time = 1 ms

[003:663] [2022-09-21 19:47:16 +0000.285998][44b3] Destroy time:366395347 enter.

[003:663] [2022-09-21 19:47:16 +0000.286080][44b3] WrapAndroidMediaFromat::


Destroy
[003:663] [2022-09-21 19:47:16 +0000.286103][44b3] Destroy leave. expire time = 0
ms

[003:663] [2022-09-21 19:47:16 +0000.286121][44b3] ~WrapAndroidMediaFromat


time:366395347 enter.

[003:663] [2022-09-21 19:47:16 +0000.286141][44b3] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[003:663] [2022-09-21 19:47:16 +0000.286160][44b3] Create leave. expire time = 94


ms

[003:663] [2022-09-21 19:47:16 +0000.286179][44b3] isSemiPlanarSupport


time:366395347 enter.

[003:663] [2022-09-21 19:47:16 +0000.286197][44b3] H264Encoder isSemiPlanarSupport


[003:664] [2022-09-21 19:47:16 +0000.286263][44b3] isSemiPlanarSupport leave.
expire time = 1 ms

[003:664] [2022-09-21 19:47:16 +0000.286282][44b3] creat hw H264Encoder success,


isSemiPlanar:1
[003:664] [2022-09-21 19:47:16 +0000.286367][44b3] InitEncode leave. expire time =
95 ms

[003:664] [2022-09-21 19:47:16 +0000.286397][44b3] H264Encode::created Encoder


[003:664] [2022-09-21 19:47:16 +0000.286418][44b3] H264Encode:: H264 encoder
created.
[003:664] [2022-09-21 19:47:16 +0000.286436][44b3] H264 encoder created.
[003:664] [2022-09-21 19:47:16 +0000.286454][44b3]
RecordingSessionInternalSimple:created avc encoder avc: 0x7ad46b8f40
[003:664] [2022-09-21 19:47:16 +0000.286475][44b3] setOutput:
[003:664] [2022-09-21 19:47:16 +0000.286597][44b3]
RecordingSessionInternalSimple:encoder set output to muxer!
[003:664] [2022-09-21 19:47:16 +0000.286619][44b3] request a key frame
[003:664] [2022-09-21 19:47:16 +0000.286639][44b3] H264Encode:: request a key frame
[003:664] [2022-09-21 19:47:16 +0000.286738][44b3] setDisplayRotate :90
[003:664] [2022-09-21 19:47:16 +0000.286763][44b3] 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
[003:664] [2022-09-21 19:47:16 +0000.286816][44b4] StartRecording:
[003:664] [2022-09-21 19:47:16 +0000.286879][45fb] operator(): Set the recording
session in mic source. recording session: 0x79f7b38a80
[003:664] [2022-09-21 19:47:16 +0000.286961][44b4] operator() leave. expire time =
136 ms

[003:664] [2022-09-21 19:47:16 +0000.286959][45f9] AF_SpeedFilter audio


0x79f7b38c00 PullFrame
[003:664] [2022-09-21 19:47:16 +0000.287036][45f9]
RecordAudioSource::PullAudioFrame
[003:664] [2022-09-21 19:47:16 +0000.287066][45f9] AF_SpeedFilter::PullFrame eof4
[003:666] [2022-09-21 19:47:16 +0000.289171][45f9]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[003:683] [2022-09-21 19:47:16 +0000.305931][45f9] AF_SpeedFilter audio time,
0x79f7b38c00 rcv time: 366395357
[003:683] [2022-09-21 19:47:16 +0000.305976][45f9] AF_SpeedFilter audio time,
0x79f7b38c00 rcv time: 366395357in_nSamples:441
[003:683] [2022-09-21 19:47:16 +0000.306049][45f9] resampled_data_size:0
[003:716] [2022-09-21 19:47:16 +0000.339062][44b4]
MediaFilterCamera::NeedProcessTexture
[003:716] [2022-09-21 19:47:16 +0000.339119][44b4] begine recode to first frame
spend time:188
[003:716] [2022-09-21 19:47:16 +0000.339156][44b4] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x79f7b38900
[003:716] [2022-09-21 19:47:16 +0000.339183][44b4] blur_distance_:0
[003:716] [2022-09-21 19:47:16 +0000.339198][44b4] blur_direction_angle_:-90
[003:717] [2022-09-21 19:47:16 +0000.339218][44b4]
GPUImageProcessing::SetOrientation orientation: 90
[003:717] [2022-09-21 19:47:16 +0000.339236][44b4] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[003:717] [2022-09-21 19:47:16 +0000.339482][44b4] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[003:717] [2022-09-21 19:47:16 +0000.339599][44b4] GPUImageProcessing: input frame
width1920 X 1080
[003:718] [2022-09-21 19:47:16 +0000.340513][44b4] drawYUV420 render
OpenGLRenderProgram:0x79f3705b98
[003:718] [2022-09-21 19:47:16 +0000.340838][44b4] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[003:718] [2022-09-21 19:47:16 +0000.340917][44b4] CropFilter::OnVideoFrame
outputtexture :6
[003:718] [2022-09-21 19:47:16 +0000.340937][44b4] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[003:720] [2022-09-21 19:47:16 +0000.343026][44b4] The read pixel from buffer take:
2 width:1920 height:1080 frameType:0
[003:754] [2022-09-21 19:47:16 +0000.376447][44b4] drawYUV420 render
OpenGLRenderProgram:0x79f3705b98
[003:763] [2022-09-21 19:47:16 +0000.385963][44b4] The convert RGB to YUV take 3
[003:764] [2022-09-21 19:47:16 +0000.386313][44b4] FilterPipeline2::OnVideoFrame
pts 34 last_video_timestamp_ 34
[003:764] [2022-09-21 19:47:16 +0000.386379][44b4]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[003:765] [2022-09-21 19:47:16 +0000.387299][4604]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[003:765] [2022-09-21 19:47:16 +0000.387349][4604] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[003:765] [2022-09-21 19:47:16 +0000.387389][4604] push video frame to H264
encoder. (100 frame for one log)

[003:765] [2022-09-21 19:47:16 +0000.387419][4604] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[003:765] [2022-09-21 19:47:16 +0000.387476][4604] H264Encode::push video frame to


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

[003:765] [2022-09-21 19:47:16 +0000.387496][4604] Push an pts:0 to dts queue.


[003:765] [2022-09-21 19:47:16 +0000.387543][4604] DTS queue for
Generator:0x7a59d682b8 0
[003:765] [2022-09-21 19:47:16 +0000.387565][4604] The input pts:0 fps:30
[003:767] [2022-09-21 19:47:16 +0000.389525][4604]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[003:790] [2022-09-21 19:47:16 +0000.413181][44b4] drawYUV420 render
OpenGLRenderProgram:0x79f3705b98
[003:803] [2022-09-21 19:47:16 +0000.425474][45f9] AF_SpeedFilter audio time 222,
0x79f7b38c00 out time: 366395357 org time: 366395357
[003:803] [2022-09-21 19:47:16 +0000.425593][45f9] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[003:803] [2022-09-21 19:47:16 +0000.425628][45f9]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 366395357
[003:803] [2022-09-21 19:47:16 +0000.425654][45f9]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[003:803] [2022-09-21 19:47:16 +0000.425686][45f9] AF_SpeedFilter audio time
[003:803] [2022-09-21 19:47:16 +0000.425720][45f9] AF_SpeedFilter audio time 111,
0x79f7b38c00 out time: 366395367 org time: 366395367
[003:805] [2022-09-21 19:47:16 +0000.427911][4603]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:2
[003:806] [2022-09-21 19:47:16 +0000.428473][4605] add aac audio track with id:1
[003:827] [2022-09-21 19:47:16 +0000.449321][4604] h264 add frame header cdr flag
[003:827] [2022-09-21 19:47:16 +0000.449884][4604] h264 add frame header cdr flag
[003:828] [2022-09-21 19:47:16 +0000.450630][4604] SendFrame
encodedImage._timeStamp:0encodedImage->_length:487120
[003:828] [2022-09-21 19:47:16 +0000.450682][4604] Received key frame:0
[003:828] [2022-09-21 19:47:16 +0000.450709][4604] last dts:0 currentPts:0
ppsOrSPS:0 queue length:3
[003:828] [2022-09-21 19:47:16 +0000.450729][4604] H264Encode::H264SWEncoder get
callback, length:487120 type:0 nalType:7length:19
[003:828] [2022-09-21 19:47:16 +0000.450745][4604] H264Encode:: get a sps pps
header!headerSize:32
[003:828] [2022-09-21 19:47:16 +0000.450765][4604] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[003:828] [2022-09-21 19:47:16 +0000.450846][4605] get the H.264 SPS parameter
[003:828] [2022-09-21 19:47:16 +0000.451020][4605] add video track with id:2
[003:830] [2022-09-21 19:47:16 +0000.452639][4605] get the H.264 PPS parameter
[003:831] [2022-09-21 19:47:16 +0000.453615][4605] get the H.264 IDR frame
[003:831] [2022-09-21 19:47:16 +0000.453666][4605] resss:true
[003:831] [2022-09-21 19:47:16 +0000.453683][4605] video start ts:0
[003:831] [2022-09-21 19:47:16 +0000.453832][4605] the video frame has been written
into MP4 file
[003:886] [2022-09-21 19:47:16 +0000.508451][4605] audio start ts:0
[003:886] [2022-09-21 19:47:16 +0000.508541][4605] the audio frame has been written
into MP4 file
[004:117] [2022-09-21 19:47:16 +0000.739617][44ae]
monitorTime:4004totalDuration:3920
[004:196] [2022-09-21 19:47:16 +0000.818917][44b9] Run AGC when audioType = 0
[004:196] [2022-09-21 19:47:16 +0000.819145][44b9]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:214] [2022-09-21 19:47:16 +0000.836548][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[004:253] [2022-09-21 19:47:16 +0000.875943][44b4] The convert RGB to YUV take 2
[004:545] [2022-09-21 19:47:17 +0000.167298][45fb] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:591] [2022-09-21 19:47:17 +0000.213424][4604] DTS queue for
Generator:0x7a59d682b8 802 833
[004:717] [2022-09-21 19:47:17 +0000.339996][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[004:754] [2022-09-21 19:47:17 +0000.376924][44b4] The convert RGB to YUV take 2
[005:090] [2022-09-21 19:47:17 +0000.712896][4604] Push an pts:1332 to dts queue.
[005:119] [2022-09-21 19:47:17 +0000.741657][4604] last dts:1307 currentPts:1332
ppsOrSPS:0 queue length:2
[005:216] [2022-09-21 19:47:17 +0000.838285][44b4] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[005:252] [2022-09-21 19:47:17 +0000.874368][44b4] The convert RGB to YUV take 3
[005:260] [2022-09-21 19:47:17 +0000.882765][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[005:261] [2022-09-21 19:47:17 +0000.884105][45f9] AF_SpeedFilter audio
0x79f7b38c00 PullFrame
[005:422] [2022-09-21 19:47:18 +0000.45222][4604] DTS queue for
Generator:0x7a59d682b8 1629 1666
[005:503] [2022-09-21 19:47:18 +0000.125333][45f9]
RecordAudioSource::PullAudioFrame
[005:542] [2022-09-21 19:47:18 +0000.165153][45fb] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[005:714] [2022-09-21 19:47:18 +0000.336597][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[005:756] [2022-09-21 19:47:18 +0000.378962][44b4] The convert RGB to YUV take 4
[005:782] [2022-09-21 19:47:18 +0000.405145][44b4] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[005:790] [2022-09-21 19:47:18 +0000.412936][4604] h264 add frame header cdr flag
[005:791] [2022-09-21 19:47:18 +0000.413403][4604] Received key frame:2002
[005:820] [2022-09-21 19:47:18 +0000.442993][4605] get the H.264 IDR frame
[005:907] [2022-09-21 19:47:18 +0000.529812][45f9] AF_SpeedFilter::PullFrame eof4
[005:909] [2022-09-21 19:47:18 +0000.532020][45f9]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[005:961] [2022-09-21 19:47:18 +0000.583792][45f9] resampled_data_size:7168
[006:139] [2022-09-21 19:47:18 +0000.762183][4603]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:5
[006:192] [2022-09-21 19:47:18 +0000.814513][44b9] Run AGC when audioType = 0
[006:216] [2022-09-21 19:47:18 +0000.838483][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:221] [2022-09-21 19:47:18 +0000.843418][4604] DTS queue for
Generator:0x7a59d682b8 2464
[006:249] [2022-09-21 19:47:18 +0000.871727][44b4] The convert RGB to YUV take 2
[006:419] [2022-09-21 19:47:19 +0000.41465][4604] Push an pts:2664 to dts queue.
[006:456] [2022-09-21 19:47:19 +0000.78583][4604] last dts:2631 currentPts:2664
ppsOrSPS:0 queue length:2
[006:541] [2022-09-21 19:47:19 +0000.163615][45fb] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:717] [2022-09-21 19:47:19 +0000.340086][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[006:758] [2022-09-21 19:47:19 +0000.381133][44b4] The convert RGB to YUV take 2
[006:819] [2022-09-21 19:47:19 +0000.441338][45f9] AF_SpeedFilter audio
0x79f7b38c00 PullFrame
[006:965] [2022-09-21 19:47:19 +0000.587529][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[007:017] [2022-09-21 19:47:19 +0000.639282][44b4] drawYUV420 render
OpenGLRenderProgram:0x79f3705b98
[007:057] [2022-09-21 19:47:19 +0000.679545][4604] DTS queue for
Generator:0x7a59d682b8 3300
[007:081] [2022-09-21 19:47:19 +0000.703649][44b4] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[007:082] [2022-09-21 19:47:19 +0000.704781][44b4] GPUImageProcessing: input frame
width1920 X 1080
[007:082] [2022-09-21 19:47:19 +0000.705203][44b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[007:083] [2022-09-21 19:47:19 +0000.705288][44b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[007:088] [2022-09-21 19:47:19 +0000.710599][4604]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3329
[007:090] [2022-09-21 19:47:19 +0000.712559][4604] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3300 pts:3300
[007:122] [2022-09-21 19:47:19 +0000.744776][4604] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3367
[007:122] [2022-09-21 19:47:19 +0000.744993][4604] push video frame to H264
encoder. (100 frame for one log)

[007:122] [2022-09-21 19:47:19 +0000.745030][4604] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[007:122] [2022-09-21 19:47:19 +0000.745061][4604] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3367(100 frame for one
log)

[007:122] [2022-09-21 19:47:19 +0000.745104][4604] The input pts:3367 fps:30


[007:125] [2022-09-21 19:47:19 +0000.747504][4604] SendFrame
encodedImage._timeStamp:3329encodedImage->_length:166368
[007:163] [2022-09-21 19:47:19 +0000.785744][4604] H264Encode::H264SWEncoder get
callback, length:136800 type:1 nalType:1length:136796
[007:217] [2022-09-21 19:47:19 +0000.839346][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:255] [2022-09-21 19:47:19 +0000.877618][44b4] The convert RGB to YUV take 4
[007:326] [2022-09-21 19:47:19 +0000.948218][45f9]
RecordAudioSource::PullAudioFrame
[007:543] [2022-09-21 19:47:20 +0000.165978][45fb] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[007:716] [2022-09-21 19:47:20 +0000.338591][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[007:755] [2022-09-21 19:47:20 +0000.377264][44b4] The convert RGB to YUV take 4
[007:757] [2022-09-21 19:47:20 +0000.379797][4604] Push an pts:4000 to dts queue.
[007:790] [2022-09-21 19:47:20 +0000.412344][4604] h264 add frame header cdr flag
[007:790] [2022-09-21 19:47:20 +0000.412812][4604] Received key frame:4000
[007:790] [2022-09-21 19:47:20 +0000.412875][4604] last dts:3964 currentPts:4000
ppsOrSPS:0 queue length:2
[007:823] [2022-09-21 19:47:20 +0000.445219][4605] get the H.264 IDR frame
[007:852] [2022-09-21 19:47:20 +0000.475090][44b4] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[007:888] [2022-09-21 19:47:20 +0000.510417][4604] DTS queue for
Generator:0x7a59d682b8 4098 4131
[008:141] [2022-09-21 19:47:20 +0000.763518][45f9] AF_SpeedFilter::PullFrame eof4
[008:143] [2022-09-21 19:47:20 +0000.765639][45f9]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[008:160] [2022-09-21 19:47:20 +0000.782478][45f9] resampled_data_size:0
[008:194] [2022-09-21 19:47:20 +0000.816766][44b9] Run AGC when audioType = 0
[008:194] [2022-09-21 19:47:20 +0000.816989][44b9]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:216] [2022-09-21 19:47:20 +0000.838935][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:251] [2022-09-21 19:47:20 +0000.873956][44b4] The convert RGB to YUV take 2
[008:403] [2022-09-21 19:47:21 +0000.25886][45f9] AF_SpeedFilter audio 0x79f7b38c00
PullFrame
[008:502] [2022-09-21 19:47:21 +0000.125023][4603]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:9
[008:539] [2022-09-21 19:47:21 +0000.162127][45fb] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[008:675] [2022-09-21 19:47:21 +0000.297682][44b9] haveEnoughProcessedData
internalAudioStream.length: 10
[008:713] [2022-09-21 19:47:21 +0000.335275][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[008:715] [2022-09-21 19:47:21 +0000.337872][4604] DTS queue for
Generator:0x7a59d682b8 4931 4960
[008:759] [2022-09-21 19:47:21 +0000.381446][44b4] The convert RGB to YUV take 3
[009:081] [2022-09-21 19:47:21 +0000.703470][4604] Push an pts:5326 to dts queue.
[009:120] [2022-09-21 19:47:21 +0000.742800][4604] last dts:5294 currentPts:5326
ppsOrSPS:0 queue length:2
[009:155] [2022-09-21 19:47:21 +0000.777393][45f9]
RecordAudioSource::PullAudioFrame
[009:214] [2022-09-21 19:47:21 +0000.837124][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:252] [2022-09-21 19:47:21 +0000.874532][44b4] The convert RGB to YUV take 4
[009:538] [2022-09-21 19:47:22 +0000.161196][45fb] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[009:562] [2022-09-21 19:47:22 +0000.184295][4604] DTS queue for
Generator:0x7a59d682b8 5765 5805
[009:712] [2022-09-21 19:47:22 +0000.334332][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[009:731] [2022-09-21 19:47:22 +0000.353574][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[009:731] [2022-09-21 19:47:22 +0000.353828][44b4] operator(): Stop
[009:731] [2022-09-21 19:47:22 +0000.353861][44b4] StopPullFrameAndWriteMp4
time:366401415 enter.

[009:731] [2022-09-21 19:47:22 +0000.353882][44b4] StopRecording:


[009:734] [2022-09-21 19:47:22 +0000.356322][45f9] resampled_data_size:512
[009:734] [2022-09-21 19:47:22 +0000.356357][45f9] AF_SpeedFilter audio time 222,
0x79f7b38c00 out time: 366401377 org time: 366401377
[009:734] [2022-09-21 19:47:22 +0000.356403][45f9] PullAudioFrame: PullFrame audio
finished.
[009:734] [2022-09-21 19:47:22 +0000.356422][45f9]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[009:736] [2022-09-21 19:47:22 +0000.358498][4604]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:180
[009:738] [2022-09-21 19:47:22 +0000.361007][44b3] stop recording
[009:738] [2022-09-21 19:47:22 +0000.361035][44b3]
RecordingSessionInternalSimple:destroy media processers
[009:738] [2022-09-21 19:47:22 +0000.361055][44b3] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[009:738] [2022-09-21 19:47:22 +0000.361085][44b3] H264Encode::flushing hareware
Encoder
[009:738] [2022-09-21 19:47:22 +0000.361204][44b3] Flush time:366401422 enter.

[009:739] [2022-09-21 19:47:22 +0000.361235][44b3] H264Encoder encoder flush


[009:739] [2022-09-21 19:47:22 +0000.361254][44b3] flush output queue
[010:059] [2022-09-21 19:47:22 +0000.682007][44b3] Flush leave. expire time = 321
ms

[010:060] [2022-09-21 19:47:22 +0000.682464][44b3] ~H264EncodeWrap:


[010:060] [2022-09-21 19:47:22 +0000.682587][44b3] ~H264Encode:
[010:060] [2022-09-21 19:47:22 +0000.682648][44b3] teardownCompressionSession:
H264Encode::destroying Encoder
[010:060] [2022-09-21 19:47:22 +0000.682753][44b3] Release time:366401744 enter.

[010:060] [2022-09-21 19:47:22 +0000.683100][44b3] Release:


MediaCodecVideoEncoder::Release _inited:1
[010:061] [2022-09-21 19:47:22 +0000.683209][44b3] Destroy time:366401744 enter.

[010:061] [2022-09-21 19:47:22 +0000.683279][44b3] H264Encoder encoderDestroy


[010:061] [2022-09-21 19:47:22 +0000.683371][44b3]
AndroidMediaCodecVideoEncoder::release env: 0x7ad46b9080
[010:061] [2022-09-21 19:47:22 +0000.683436][44b3]
AndroidMediaCodecVideoEncoder::Destroy
[010:103] [2022-09-21 19:47:22 +0000.725746][44b3] Destroy leave. expire time = 43
ms

[010:103] [2022-09-21 19:47:22 +0000.726026][44b3] Release leave. expire time = 43


ms

[010:103] [2022-09-21 19:47:22 +0000.726103][44b3] ~AndroidHwAvcEncoder


time:366401787 enter.

[010:104] [2022-09-21 19:47:22 +0000.726437][44b3] Release time:366401788 enter.

[010:104] [2022-09-21 19:47:22 +0000.726523][44b3] Release:


MediaCodecVideoEncoder:: has been released before, just return
[010:104] [2022-09-21 19:47:22 +0000.726567][44b3] Release leave. expire time = 0
ms

[010:104] [2022-09-21 19:47:22 +0000.726606][44b3] ~AndroidMediaCodecVideoEncoder


[010:104] [2022-09-21 19:47:22 +0000.726642][44b3] ~WrapAndroidMediaCodec
time:366401788 enter.

[010:104] [2022-09-21 19:47:22 +0000.726681][44b3] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[010:104] [2022-09-21 19:47:22 +0000.726720][44b3] video hevc hw codec


destructor:0x79f3718568

[010:104] [2022-09-21 19:47:22 +0000.726801][44b3] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[010:104] [2022-09-21 19:47:22 +0000.726866][44b3] teardownCompressionSession:


H264Encode::destroyed Encoder
[010:104] [2022-09-21 19:47:22 +0000.727062][44b3]
RecordingSessionInternalSimple:destroy aac encoder output!
[010:104] [2022-09-21 19:47:22 +0000.727129][44b3] AACSWEncode destructor
[010:112] [2022-09-21 19:47:22 +0000.734941][4605] MP4 close file successfully
[010:112] [2022-09-21 19:47:22 +0000.735003][4605] Recording session Internal:
notify recording ok
[010:112] [2022-09-21 19:47:22 +0000.735028][4605] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4,
output_video_timestamp_:5960 last_video_pts_:5960
[010:112] [2022-09-21 19:47:22 +0000.735064][4605] OnRecordFinish:
[010:113] [2022-09-21 19:47:22 +0000.735687][4605] onRecordingOk: net seek
pos:0record video duration:5993record audio duration:5967
[010:118] [2022-09-21 19:47:22 +0000.740440][45fb] destructMicSource_w:
[010:118] [2022-09-21 19:47:22 +0000.740545][45fb] setOutput_w:
MicSource::setOutput() 0x0
[010:118] [2022-09-21 19:47:22 +0000.740604][45fb] close external audio stream

[010:118] [2022-09-21 19:47:22 +0000.740797][44b4] releaseThread 0x79f7b38300


[010:118] [2022-09-21 19:47:22 +0000.740833][44b4] ~MicSource: Mic source
destroyed:0x79f36eaf80
[010:119] [2022-09-21 19:47:22 +0000.741569][44b4] StopPullFrameAndWriteMp4 leave.
expire time = 388 ms

[010:119] [2022-09-21 19:47:22 +0000.741602][44b4] DestroyPipelineAndFilters


time:366401803 enter.

[010:119] [2022-09-21 19:47:22 +0000.741632][44b4] UnbindInputFilter 0x79f7b38a40


this 0x79f3705dc0
[010:119] [2022-09-21 19:47:22 +0000.741662][44b4] UnbindInputFilter 0x79f7b38bd8
this 0x79f7b38d50
[010:119] [2022-09-21 19:47:22 +0000.741702][44b4] UnbindInputFilter 0x79f3705dc0
this 0x79d9623120
[010:119] [2022-09-21 19:47:22 +0000.741721][44b4] filter: filter pipeline destroy
this: 0x79d9623080
[010:119] [2022-09-21 19:47:22 +0000.741859][44b4] ClearVideoOfSources: recodring
total frames:0
[010:119] [2022-09-21 19:47:22 +0000.741885][44b4] ClearVideoOfSources:
[010:119] [2022-09-21 19:47:22 +0000.741902][44b4] GPUImageProcessing destruct.
[010:119] [2022-09-21 19:47:22 +0000.741979][44b4] destroy TrivalImageDrawer
0x79d9581880
[010:119] [2022-09-21 19:47:22 +0000.742000][44b4] The shader has been initialize,
clean up them.

[010:119] [2022-09-21 19:47:22 +0000.742042][44b4] ~OpenGLFrameBuffer:


[010:119] [2022-09-21 19:47:22 +0000.742105][44b4] ~OpenGLFrameBuffer:
[010:119] [2022-09-21 19:47:22 +0000.742155][44b4] ~OpenGLFrameBuffer:
[010:119] [2022-09-21 19:47:22 +0000.742200][44b4] ~OpenGLFrameBuffer:
[010:120] [2022-09-21 19:47:22 +0000.742770][44b4] ~OpenGLFrameBuffer:
[010:120] [2022-09-21 19:47:22 +0000.742827][44b4] ~OpenGLFrameBuffer:
[010:120] [2022-09-21 19:47:22 +0000.742973][44b4] GPUImageProcessing destruct
finish.
[010:120] [2022-09-21 19:47:22 +0000.743056][44b4] GPURGBAFrame destruct.
[010:120] [2022-09-21 19:47:22 +0000.743091][44b4] destroy OpenGLRenderProgram
0x79f3705b98
[010:120] [2022-09-21 19:47:22 +0000.743111][44b4] ~CameraSource time:366401804
enter.

[010:120] [2022-09-21 19:47:22 +0000.743129][44b4] ~CameraSource leave. expire


time = 0 ms

[010:120] [2022-09-21 19:47:22 +0000.743147][44b4] ~RecordAudioSource


time:366401804 enter.

[010:120] [2022-09-21 19:47:22 +0000.743162][44b4] ~RecordAudioSource leave.


expire time = 0 ms

[010:120] [2022-09-21 19:47:22 +0000.743180][44b4] DestroyPipelineAndFilters


leave. expire time = 1 ms

[010:144] [2022-09-21 19:47:22 +0000.767035][1dbf]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[010:145] [2022-09-21 19:47:22 +0000.767665][1dbf] machine model :poco
[010:145] [2022-09-21 19:47:22 +0000.767688][1dbf] Support this machine model :poco
[010:145] [2022-09-21 19:47:22 +0000.767704][1dbf] global inited! current sdk
version: 07-20-936c45f
[010:145] [2022-09-21 19:47:22 +0000.767839][1dbf] filter: filter pipeline
construtc this: 0x79d48c9880
[010:145] [2022-09-21 19:47:22 +0000.767858][1dbf] MediaFilterGraph:
MediaFilterGraph construct
[010:145] [2022-09-21 19:47:22 +0000.767873][1dbf] GLESContext:
[010:145] [2022-09-21 19:47:22 +0000.767906][1dbf] The result of eglGetDisplay is:
0xb400007b90a568c0
[010:147] [2022-09-21 19:47:22 +0000.769334][1dbf] The result of creation:
0x79d4902f00
[010:147] [2022-09-21 19:47:22 +0000.769444][1dbf] The result of
eglCreatePbufferSurface is: 0x79d49e7000
[010:148] [2022-09-21 19:47:22 +0000.771110][1dbf] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4
[010:148] [2022-09-21 19:47:22 +0000.771150][1dbf] The source 0 speed:1
[010:148] [2022-09-21 19:47:22 +0000.771195][1dbf] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4,
delay: 0
[010:149] [2022-09-21 19:47:22 +0000.771231][1dbf] CreateDecoderByVideoSource
time:366401833 enter.

[010:149] [2022-09-21 19:47:22 +0000.771405][1dbf] running_decoder_count:0max


count:2
[010:149] [2022-09-21 19:47:22 +0000.771433][1dbf] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7a0dbc0000
[010:163] [2022-09-21 19:47:22 +0000.785406][46d9] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7a0d841a00] Current FFmpeg version git-2021-06-16-
97cea6f

[010:191] [2022-09-21 19:47:22 +0000.814038][44ba] webrtc device:Handle the data


from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:191] [2022-09-21 19:47:22 +0000.814090][44ba] _deviceSampleRate:48000

[010:193] [2022-09-21 19:47:22 +0000.815663][44b9] Run AGC when audioType = 0


[010:231] [2022-09-21 19:47:22 +0000.853366][46d9] OnStreamInfoFound: video
duration_: 5993
[010:232] [2022-09-21 19:47:22 +0000.854518][46db] NO get frame from decoder
[010:232] [2022-09-21 19:47:22 +0000.854533][1dbf] start decoder
[010:232] [2022-09-21 19:47:22 +0000.854621][1dbf] CreateDecoderByVideoSource
leave. expire time = 83 ms

[010:232] [2022-09-21 19:47:22 +0000.854683][1dbf] BindInputFilter 0x7a0d9942a0


this 0x79d49f7b18
[010:232] [2022-09-21 19:47:22 +0000.854728][1dbf] BindInputFilter 0x79d49f7b18
this 0x79d49f7bd8
[010:232] [2022-09-21 19:47:22 +0000.854819][1dbf] BindInputFilter 0x7a0d9942a0
this 0x79d49f7c98
[010:232] [2022-09-21 19:47:22 +0000.854864][1dbf] BindInputFilter 0x79d49f7c98
this 0x79d49f8058
[010:232] [2022-09-21 19:47:22 +0000.854894][1dbf] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4
[010:232] [2022-09-21 19:47:22 +0000.854948][1dbf] BindInputFilter 0x79d49f7bd8
this 0x79d49f8118
[010:232] [2022-09-21 19:47:22 +0000.854989][1dbf] BindInputFilter 0x79d49f8118
this 0x79d48c9920
[010:232] [2022-09-21 19:47:22 +0000.855029][1dbf] BindInputFilter 0x79d49f8058
this 0x79d49f81d8
[010:232] [2022-09-21 19:47:22 +0000.855070][1dbf] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4
[010:234] [2022-09-21 19:47:22 +0000.856458][46db] NO get frame from decoder
[010:235] [2022-09-21 19:47:22 +0000.857895][46db] NO get frame from decoder
[010:235] [2022-09-21 19:47:22 +0000.858159][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[010:236] [2022-09-21 19:47:22 +0000.858797][1dbf] machine model :poco
[010:236] [2022-09-21 19:47:22 +0000.858864][1dbf] Support this machine model :poco
[010:236] [2022-09-21 19:47:22 +0000.858897][1dbf] global inited! current sdk
version: 07-20-936c45f
[010:236] [2022-09-21 19:47:22 +0000.858985][1dbf] GetPipeline:
-----------------------------------------
[010:236] [2022-09-21 19:47:22 +0000.859036][1dbf] GetPipeline: source:
0x7a0d994080
[010:236] [2022-09-21 19:47:22 +0000.859089][1dbf] GetPipeline: filter: NULLFilter
[010:236] [2022-09-21 19:47:22 +0000.859140][1dbf] GetPipeline: filter: NULLFilter
[010:236] [2022-09-21 19:47:22 +0000.859192][1dbf] GetPipeline: filter: NULLFilter
[010:237] [2022-09-21 19:47:22 +0000.859243][1dbf] GetPipeline: audio filter:
AuidoNULLFilter
[010:237] [2022-09-21 19:47:22 +0000.859293][1dbf] GetPipeline: audio filter:
AuidoNULLFilter
[010:237] [2022-09-21 19:47:22 +0000.859349][1dbf] GetPipeline: audio filter:
AudioNUllFilter
[010:237] [2022-09-21 19:47:22 +0000.859410][1dbf] GetPipeline:
------------------------------------------
[010:237] [2022-09-21 19:47:22 +0000.859446][1dbf] filter: filter pipeline2 update
pattern: 0
[010:240] [2022-09-21 19:47:22 +0000.862797][46db] NO get frame from decoder
[010:242] [2022-09-21 19:47:22 +0000.864333][1dbf] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[010:242] [2022-09-21 19:47:22 +0000.864857][1dbf] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[010:242] [2022-09-21 19:47:22 +0000.864969][1dbf] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[010:243] [2022-09-21 19:47:22 +0000.865282][1dbf] DeviceInit:
[010:243] [2022-09-21 19:47:22 +0000.865579][1dbf] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[010:243] [2022-09-21 19:47:22 +0000.865946][1dbf] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[010:244] [2022-09-21 19:47:22 +0000.866370][1dbf] CreatePlatformSpecificObjects:
[010:244] [2022-09-21 19:47:22 +0000.866483][1dbf] audio device use null audio
input and opensl output
[010:244] [2022-09-21 19:47:22 +0000.866559][1dbf] Create OpenSLES output module
with java VM support.

[010:244] [2022-09-21 19:47:22 +0000.866747][1dbf] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[010:244] [2022-09-21 19:47:22 +0000.866939][1dbf] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[010:244] [2022-09-21 19:47:22 +0000.867163][1dbf] Create OpenSLES output module
with buffer num:2

[010:245] [2022-09-21 19:47:22 +0000.867221][1dbf] Error(trace.cc:40): Init the


output and input for audio device template.
[010:245] [2022-09-21 19:47:22 +0000.867243][1dbf] Init the output device.

[010:245] [2022-09-21 19:47:22 +0000.867259][1dbf] Set the playout as stereo:1


[010:245] [2022-09-21 19:47:22 +0000.867279][1dbf] Set the sample rate to be:44100

[010:245] [2022-09-21 19:47:22 +0000.867412][1dbf] Low latency buffer size:144 low


sample rate:48000
[010:245] [2022-09-21 19:47:22 +0000.867469][1dbf] DeviceInit: Done
[010:245] [2022-09-21 19:47:22 +0000.867624][1dbf] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[010:246] [2022-09-21 19:47:22 +0000.868581][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[010:246] [2022-09-21 19:47:22 +0000.868681][1dbf]
MediaFilterPlayer::SetPlayerNotify 0x79d49faea0
[010:246] [2022-09-21 19:47:22 +0000.868787][46db] NO get frame from decoder
[010:247] [2022-09-21 19:47:22 +0000.869806][46e6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79d4aa6918
[010:251] [2022-09-21 19:47:22 +0000.873821][1dbf]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[010:251] [2022-09-21 19:47:22 +0000.873887][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[010:252] [2022-09-21 19:47:22 +0000.874633][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[010:252] [2022-09-21 19:47:22 +0000.875172][1dbf] SetGraphLoop: SetGraphLoop 1
[010:252] [2022-09-21 19:47:22 +0000.875203][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[010:253] [2022-09-21 19:47:22 +0000.875627][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[010:254] [2022-09-21 19:47:22 +0000.876232][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[010:254] [2022-09-21 19:47:22 +0000.876759][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[010:254] [2022-09-21 19:47:22 +0000.876850][46e8] Start:
[010:254] [2022-09-21 19:47:22 +0000.876927][46e7] operator(): video render
started.
[010:254] [2022-09-21 19:47:22 +0000.876961][46e7] DriveRender working... (1/200)
[010:254] [2022-09-21 19:47:22 +0000.876979][46e7] Warning(video_render.cc:390): No
picture to display (1/50)
[010:254] [2022-09-21 19:47:22 +0000.877041][46db] NO get frame from decoder
[010:257] [2022-09-21 19:47:22 +0000.879458][46db] NO get frame from decoder
[010:259] [2022-09-21 19:47:22 +0000.882120][46db] NO get frame from decoder
[010:254] [2022-09-21 19:47:22 +0000.877021][46e8] Start:
[010:260] [2022-09-21 19:47:22 +0000.882511][46e8] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[010:260] [2022-09-21 19:47:22 +0000.882564][46e8] Reset: history total size: 98
[010:260] [2022-09-21 19:47:22 +0000.882594][46e8] DeviceStart:
audioDevice_:0x79d4a82000
[010:260] [2022-09-21 19:47:22 +0000.882611][46e8] DeviceStart: time profile
playout init before
[010:260] [2022-09-21 19:47:22 +0000.882633][46e8] DeviceStart: time profile
playout init end
[010:260] [2022-09-21 19:47:22 +0000.882651][46e8] OpenSlesOutput:Start playout

[010:261] [2022-09-21 19:47:22 +0000.883575][46e8] Create the opensl output player.


streamtype before:0

[010:261] [2022-09-21 19:47:22 +0000.883621][46e8] Create the opensl output player.


streamtype after:3

[010:278] [2022-09-21 19:47:22 +0000.900533][46e8] Enqueue opensl buffer size:1764


[010:352] [2022-09-21 19:47:22 +0000.974419][46e8] DeviceStart: time profile
playout all end
[010:352] [2022-09-21 19:47:22 +0000.974449][46eb]
PlayerSimpleBufferQueueCallbackHandler function
[010:352] [2022-09-21 19:47:22 +0000.974537][46e8] operator(): Audio playback
started.
[010:352] [2022-09-21 19:47:22 +0000.974615][46eb] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[010:352] [2022-09-21 19:47:22 +0000.974639][46e8] operator(): Started now!
[010:352] [2022-09-21 19:47:22 +0000.974646][46eb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[010:352] [2022-09-21 19:47:22 +0000.974708][46e9] Pull audio failed.(wait video!)
[010:352] [2022-09-21 19:47:22 +0000.974744][46e9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:353] [2022-09-21 19:47:22 +0000.975540][46e9] Pull audio failed.(wait video!)
[010:353] [2022-09-21 19:47:22 +0000.975598][46e9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:354] [2022-09-21 19:47:22 +0000.976252][46e9] Pull audio failed.(wait video!)
[010:354] [2022-09-21 19:47:22 +0000.976277][46e9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:354] [2022-09-21 19:47:22 +0000.976922][46e9] Pull audio failed.(wait video!)
[010:354] [2022-09-21 19:47:22 +0000.976957][46e9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:355] [2022-09-21 19:47:22 +0000.977601][46e9] Pull audio failed.(wait video!)
[010:355] [2022-09-21 19:47:22 +0000.977637][46e9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:355] [2022-09-21 19:47:22 +0000.977718][46ea] Error(video_source.cc:430): wait
decoder a frame: 0
[010:356] [2022-09-21 19:47:22 +0000.978368][46e9] Pull audio failed.(wait video!)
[010:356] [2022-09-21 19:47:22 +0000.978406][46e9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:356] [2022-09-21 19:47:22 +0000.978858][46ea] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[010:361] [2022-09-21 19:47:22 +0000.983400][46ea] OnVideoFrameReady(1/200)
[010:361] [2022-09-21 19:47:22 +0000.983641][46e7] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[010:361] [2022-09-21 19:47:22 +0000.983684][46e7] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:366402045
[010:361] [2022-09-21 19:47:22 +0000.983773][46e9] audio_frame_list_ empty
[010:377] [2022-09-21 19:47:22 +0000.999265][46e7] lipsync_debug: render a video
frame
[010:377] [2022-09-21 19:47:22 +0000.999324][46e7] lipsync_debug: First video frame
rendering.
[010:387] [2022-09-21 19:47:23 +0000.10089][46e7] lipsync_debug:lipsync_threadhold:
lipsync_delta:0 tsDelta:24 timeDelta:26 last video ts:900 frame->pts:3060 pkt_dts:-
9223372036854775808 pkt_pts:-9223372036854775808
[010:388] [2022-09-21 19:47:23 +0000.10519][46e7] lipsync_debug: tsDelta -
timeDelta = -2
[010:388] [2022-09-21 19:47:23 +0000.10583][46e7] lipsync_debug:result remaining
time:0
[010:388] [2022-09-21 19:47:23 +0000.10625][46e7] dynamic updated lipsync delay:0
[010:397] [2022-09-21 19:47:23 +0000.19337][44b9] haveEnoughProcessedData
internalAudioStream.length: 10
[010:416] [2022-09-21 19:47:23 +0000.38940][46e7] lipsync_debug:remaining time:10
tsDelta - timeDelta:3
[010:416] [2022-09-21 19:47:23 +0000.39003][46e7] lipsync_debug:result remaining
time:3
[010:436] [2022-09-21 19:47:23 +0000.59116][46ea]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[010:576] [2022-09-21 19:47:23 +0000.198464][46e9] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[010:576] [2022-09-21 19:47:23 +0000.198636][46e9] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[010:576] [2022-09-21 19:47:23 +0000.198736][46e8] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[010:576] [2022-09-21 19:47:23 +0000.198803][46e8] The audio playback speed:100
(1/100)
[010:576] [2022-09-21 19:47:23 +0000.198827][46e8] lipsync_debug: The current
played audio timestamp is:0(1/50)
[010:576] [2022-09-21 19:47:23 +0000.198844][46e8] First audio frame rendering
[010:577] [2022-09-21 19:47:23 +0000.199897][46e9] audio frame wait video
frame.last_video_timestamp:133 last_audio_timestamp:254.921
[010:647] [2022-09-21 19:47:23 +0000.269261][46ea] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2992 diff: 9
[010:652] [2022-09-21 19:47:23 +0000.275115][46ea] video frame wait audio frame:
last_video_timestamp:400 last_audio_timestamp:277.914
[011:019] [2022-09-21 19:47:23 +0000.642248][46e7] lipsync_debug:displaying video
ts:60030 The current displayed video timestamp is:366402703
[011:352] [2022-09-21 19:47:23 +0000.975130][46e8] do work DoLipsync!
[011:353] [2022-09-21 19:47:23 +0000.975223][46e8] total delay:345 videoTsMS:1000
audioTsMS:655 diff:345
[011:353] [2022-09-21 19:47:23 +0000.975253][46e8] Set the lipsync delay:345
[011:433] [2022-09-21 19:47:24 +0000.55928][46eb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[011:603] [2022-09-21 19:47:24 +0000.225569][46ea] Error(video_source.cc:430): wait
decoder a frame: 0
[011:846] [2022-09-21 19:47:24 +0000.468705][46e7] lipsync_debug:displaying video
ts:119880 The current displayed video timestamp is:366403530
[011:898] [2022-09-21 19:47:24 +0000.520886][46e7] DriveRender working... (1/200)
[012:128] [2022-09-21 19:47:24 +0000.750367][46e7]
lipsync_debug:lipsync_threadhold: lipsync_delta:16 tsDelta:49 timeDelta:34 last
video ts:134820 frame->pts:137790 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[012:128] [2022-09-21 19:47:24 +0000.750530][46e7] lipsync_debug: tsDelta -
timeDelta = 15
[012:155] [2022-09-21 19:47:24 +0000.778089][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[012:196] [2022-09-21 19:47:24 +0000.818542][44b9] Run AGC when audioType = 0
[012:196] [2022-09-21 19:47:24 +0000.818618][44b9]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:470] [2022-09-21 19:47:25 +0000.92750][46eb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[012:569] [2022-09-21 19:47:25 +0000.191550][46e7] lipsync_debug:remaining time:10
tsDelta - timeDelta:19
[012:569] [2022-09-21 19:47:25 +0000.191618][46e7] lipsync_debug:result remaining
time:10
[012:653] [2022-09-21 19:47:25 +0000.276050][46e9] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 102324
[012:653] [2022-09-21 19:47:25 +0000.276131][46e9] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[012:692] [2022-09-21 19:47:25 +0000.315068][46e7] lipsync_debug:displaying video
ts:180180 The current displayed video timestamp is:366404376
[012:720] [2022-09-21 19:47:25 +0000.343023][46e8] The audio playback speed:100
(1/100)
[012:720] [2022-09-21 19:47:25 +0000.343082][46e8] lipsync_debug: The current
played audio timestamp is:102324(1/50)
[012:971] [2022-09-21 19:47:25 +0000.593487][46ea] Error(video_source.cc:430): wait
decoder a frame: 0
[013:354] [2022-09-21 19:47:25 +0000.976777][46e7] lipsync_debug:displaying video
ts:239760 The current displayed video timestamp is:366405038
[013:435] [2022-09-21 19:47:26 +0000.57228][46eb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[013:489] [2022-09-21 19:47:26 +0000.111443][46e7] DriveRender working... (1/200)
[013:591] [2022-09-21 19:47:26 +0000.214003][46ea] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 299610pts ms:3.329e+06
[013:594] [2022-09-21 19:47:26 +0000.217085][46ea] OnVideoFrameReady(1/200)
[013:595] [2022-09-21 19:47:26 +0000.217282][46e7] operator() frame->pts-
9223372036854775808 queue_ size: 12 (1/200)
[013:690] [2022-09-21 19:47:26 +0000.312748][46e7]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:27 timeDelta:28 last
video ts:270360 frame->pts:272790 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[013:690] [2022-09-21 19:47:26 +0000.312822][46e7] lipsync_debug: tsDelta -
timeDelta = -1
[013:899] [2022-09-21 19:47:26 +0000.521997][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[013:987] [2022-09-21 19:47:26 +0000.609842][46e7] lipsync_debug:displaying video
ts:299610 The current displayed video timestamp is:366405671
[013:995] [2022-09-21 19:47:26 +0000.617389][46e7] lipsync_debug: render a video
frame
[014:025] [2022-09-21 19:47:26 +0000.647996][46e7] lipsync_debug:result remaining
time:0
[014:025] [2022-09-21 19:47:26 +0000.648067][46e7] dynamic updated lipsync delay:0
[014:196] [2022-09-21 19:47:26 +0000.819058][44b9] Run AGC when audioType = 0
[014:324] [2022-09-21 19:47:26 +0000.946834][46ea] Error(video_source.cc:430): wait
decoder a frame: 0
[014:466] [2022-09-21 19:47:27 +0000.89011][46eb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[014:635] [2022-09-21 19:47:27 +0000.258184][46e7] lipsync_debug:remaining time:10
tsDelta - timeDelta:28
[014:636] [2022-09-21 19:47:27 +0000.258326][46e7] lipsync_debug:result remaining
time:10
[014:657] [2022-09-21 19:47:27 +0000.280076][46db] av_read_frame AVERROR_EOF
[014:699] [2022-09-21 19:47:27 +0000.321954][46e7] lipsync_debug:displaying video
ts:360000 The current displayed video timestamp is:366406383
[014:802] [2022-09-21 19:47:27 +0000.425037][46ea] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3992 diff: 9
[015:034] [2022-09-21 19:47:27 +0000.656636][46e9] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 204692
[015:034] [2022-09-21 19:47:27 +0000.656721][46e9] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[015:046] [2022-09-21 19:47:27 +0000.668634][46e8] The audio playback speed:100
(1/100)
[015:046] [2022-09-21 19:47:27 +0000.668741][46e8] lipsync_debug: The current
played audio timestamp is:204692(1/50)
[015:103] [2022-09-21 19:47:27 +0000.725823][46e7] DriveRender working... (1/200)
[015:123] [2022-09-21 19:47:27 +0000.745603][46db] OnReceiveEOF:
[015:123] [2022-09-21 19:47:27 +0000.745733][46db] OnDecoderEOF time:366406807
enter.

[015:123] [2022-09-21 19:47:27 +0000.745807][46db] OnDecoderEOF leave. expire time


= 0 ms

[015:123] [2022-09-21 19:47:27 +0000.745841][46d8] CleanUp time:366406807 enter.

[015:123] [2022-09-21 19:47:27 +0000.745863][46db] OnDecoderFinished:


OnDecoderFinished total decoder frames:180 this:0x7a0d994080
[015:135] [2022-09-21 19:47:27 +0000.757919][46d8] CleanUp leave. expire time = 12
ms

[015:135] [2022-09-21 19:47:27 +0000.758007][46d8] clean up


[015:135] [2022-09-21 19:47:27 +0000.758043][46d8] running_decoder_count:0max
count:2
[015:306] [2022-09-21 19:47:27 +0000.928516][46e7]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:41 timeDelta:41 last
video ts:410940 frame->pts:414630 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[015:306] [2022-09-21 19:47:27 +0000.928652][46e7] lipsync_debug: tsDelta -
timeDelta = 0
[015:360] [2022-09-21 19:47:27 +0000.983045][46e7] lipsync_debug:displaying video
ts:419850 The current displayed video timestamp is:366407044
[015:453] [2022-09-21 19:47:28 +0000.76125][46eb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[015:634] [2022-09-21 19:47:28 +0000.256264][44b9] haveEnoughProcessedData
internalAudioStream.length: 10
[015:697] [2022-09-21 19:47:28 +0000.319594][46ea] Error(video_source.cc:430): wait
decoder a frame: 0
[015:993] [2022-09-21 19:47:28 +0000.616180][46e7] lipsync_debug:displaying video
ts:479340 The current displayed video timestamp is:366407677
[016:194] [2022-09-21 19:47:28 +0000.816691][44b9] Run AGC when audioType = 0
[016:194] [2022-09-21 19:47:28 +0000.816886][44b9]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:329] [2022-09-21 19:47:28 +0000.951280][46e9] PullAudioFrame: PullFrame audio
finished.
[016:329] [2022-09-21 19:47:28 +0000.951368][46e9] media player notify EOF, audio
PullFrameStatus is EOF
[016:392] [2022-09-21 19:47:29 +0000.14899][46e9] Pull finished audio filter.
[016:392] [2022-09-21 19:47:29 +0000.14986][46e9] media player notify EOF, audio
PullFrameStatus is EOF
[016:422] [2022-09-21 19:47:29 +0000.45188][46e9] media player notify EOF, audio
PullFrameStatus is EOF
[016:453] [2022-09-21 19:47:29 +0000.75429][46e9] media player notify EOF, audio
PullFrameStatus is EOF
[016:472] [2022-09-21 19:47:29 +0000.94303][46eb]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[016:483] [2022-09-21 19:47:29 +0000.105644][46e9] media player notify EOF, audio
PullFrameStatus is EOF
[016:513] [2022-09-21 19:47:29 +0000.136138][46e9] media player notify EOF, audio
PullFrameStatus is EOF
[016:544] [2022-09-21 19:47:29 +0000.166390][46e9] media player notify EOF, audio
PullFrameStatus is EOF
[016:574] [2022-09-21 19:47:29 +0000.196803][46e9] media player notify EOF, audio
PullFrameStatus is EOF
[016:604] [2022-09-21 19:47:29 +0000.227214][46e9] media player notify EOF, audio
PullFrameStatus is EOF
[016:635] [2022-09-21 19:47:29 +0000.257411][46e9] media player notify EOF, audio
PullFrameStatus is EOF
[016:638] [2022-09-21 19:47:29 +0000.260999][46ea] OnVideoTimer: media player
notify EOF, PullFrameStatus is EOF and render size is 0
[016:639] [2022-09-21 19:47:29 +0000.261286][46ea] Stop:
[016:643] [2022-09-21 19:47:29 +0000.265325][46e7] operator(): Video Render
stopped.
[016:644] [2022-09-21 19:47:29 +0000.267031][46ea] Stop:
[016:646] [2022-09-21 19:47:29 +0000.268419][46e8] DeviceStop:
audioDevice_:0x79d4a82000
[016:646] [2022-09-21 19:47:29 +0000.268470][46e8] OpenSlesOutput:Stop playout

[016:649] [2022-09-21 19:47:29 +0000.271871][46e8] DeviceStop: Done


[016:649] [2022-09-21 19:47:29 +0000.272057][46e8] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[016:650] [2022-09-21 19:47:29 +0000.272995][46ea] to reset filter graph
[016:650] [2022-09-21 19:47:29 +0000.273053][46ea] RemoveVideoBackGroud: hava not
add video backgroud
[016:650] [2022-09-21 19:47:29 +0000.273111][46ea] UnbindInputFilter 0x79d49f8118
this 0x79d48c9920
[016:650] [2022-09-21 19:47:29 +0000.273157][46ea] ClearAllSource: remove source
filter, sourceid: 0x7a0d994080
[016:650] [2022-09-21 19:47:29 +0000.273185][46ea] DestoryDecoderByVideoSource
time:366408334 enter.

[016:651] [2022-09-21 19:47:29 +0000.273220][46ea] ~VideoBindDecoder time:366408335


enter.

[016:652] [2022-09-21 19:47:29 +0000.274347][46ea] CleanUp time:366408336 enter.

[016:653] [2022-09-21 19:47:29 +0000.275211][46ea] CleanUp leave. expire time = 1


ms

[016:653] [2022-09-21 19:47:29 +0000.275270][46ea] CleanUp time:366408337 enter.

[016:653] [2022-09-21 19:47:29 +0000.276011][46ea] CleanUp leave. expire time = 0


ms

[016:655] [2022-09-21 19:47:29 +0000.278153][46ea] ~VideoBindDecoder leave. expire


time = 4 ms

[016:656] [2022-09-21 19:47:29 +0000.278257][46ea] DestoryDecoderByVideoSource


leave. expire time = 6 ms

[016:656] [2022-09-21 19:47:29 +0000.278316][46ea] UnbindInputFilter 0x79d49f7bd8


this 0x79d49f8118
[016:656] [2022-09-21 19:47:29 +0000.278363][46ea] UnbindInputFilter 0x79d49f7b18
this 0x79d49f7bd8
[016:656] [2022-09-21 19:47:29 +0000.278447][46ea] UnbindInputFilter 0x7a0d9942a0
this 0x79d49f7b18
[016:656] [2022-09-21 19:47:29 +0000.278491][46ea] UnbindInputFilter 0x79d49f8058
this 0x79d49f81d8
[016:656] [2022-09-21 19:47:29 +0000.278537][46ea] UnbindInputFilter 0x79d49f7c98
this 0x79d49f8058
[016:656] [2022-09-21 19:47:29 +0000.278585][46ea] UnbindInputFilter 0x7a0d9942a0
this 0x79d49f7c98
[016:656] [2022-09-21 19:47:29 +0000.278630][46ea] to reset filter graph clear end
[016:656] [2022-09-21 19:47:29 +0000.278662][46ea] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4,
delay: 0
[016:656] [2022-09-21 19:47:29 +0000.278700][46ea] CreateDecoderByVideoSource
time:366408340 enter.

[016:656] [2022-09-21 19:47:29 +0000.278942][46ea] running_decoder_count:0max


count:2
[016:656] [2022-09-21 19:47:29 +0000.278983][46ea] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7a0dbc0000
[016:657] [2022-09-21 19:47:29 +0000.280075][47c0] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x79d4a09c00] Current FFmpeg version git-2021-06-16-
97cea6f

[016:724] [2022-09-21 19:47:29 +0000.346907][47c0] OnStreamInfoFound: video


duration_: 5993
[016:726] [2022-09-21 19:47:29 +0000.348334][46ea] start decoder
[016:726] [2022-09-21 19:47:29 +0000.348365][47c1] NO get frame from decoder
[016:726] [2022-09-21 19:47:29 +0000.348444][46ea] CreateDecoderByVideoSource
leave. expire time = 70 ms

[016:726] [2022-09-21 19:47:29 +0000.348600][46ea] BindInputFilter 0x7a0d9942a0


this 0x79d49f7c98
[016:726] [2022-09-21 19:47:29 +0000.348696][46ea] BindInputFilter 0x79d49f7c98
this 0x79d49f8058
[016:726] [2022-09-21 19:47:29 +0000.348756][46ea] BindInputFilter 0x7a0d9942a0
this 0x79d49f81d8
[016:726] [2022-09-21 19:47:29 +0000.348811][46ea] BindInputFilter 0x79d49f81d8
this 0x79d49f7b18
[016:726] [2022-09-21 19:47:29 +0000.348853][46ea] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4
[016:726] [2022-09-21 19:47:29 +0000.348910][46ea] BindInputFilter 0x79d49f8058
this 0x79d49f7bd8
[016:726] [2022-09-21 19:47:29 +0000.349016][46ea] BindInputFilter 0x79d49f7bd8
this 0x79d48c9920
[016:726] [2022-09-21 19:47:29 +0000.349079][46ea] BindInputFilter 0x79d49f7b18
this 0x79d49f8118
[016:726] [2022-09-21 19:47:29 +0000.349128][46ea] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366395250.mp4
[016:726] [2022-09-21 19:47:29 +0000.349159][46ea] to reset filter graph end
[016:726] [2022-09-21 19:47:29 +0000.349193][46ea] Start:
[016:727] [2022-09-21 19:47:29 +0000.349336][46e7] operator(): video render
started.
[016:727] [2022-09-21 19:47:29 +0000.349445][46ea] Start:
[016:727] [2022-09-21 19:47:29 +0000.349789][46e8] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[016:727] [2022-09-21 19:47:29 +0000.349852][46e8] Reset: history total size: 98
[016:727] [2022-09-21 19:47:29 +0000.349900][46e8] DeviceStart:
audioDevice_:0x79d4a82000
[016:727] [2022-09-21 19:47:29 +0000.349936][46e8] DeviceStart: time profile
playout init before
[016:727] [2022-09-21 19:47:29 +0000.349976][46e8] DeviceStart: time profile
playout init end
[016:727] [2022-09-21 19:47:29 +0000.350053][46e8] OpenSlesOutput:Start playout

[016:727] [2022-09-21 19:47:29 +0000.350050][47c1] NO get frame from decoder


[016:729] [2022-09-21 19:47:29 +0000.351714][46e8] Create the opensl output player.
streamtype before:0

[016:729] [2022-09-21 19:47:29 +0000.351800][46e8] Create the opensl output player.


streamtype after:3

[016:735] [2022-09-21 19:47:29 +0000.357597][47c1] NO get frame from decoder


[016:736] [2022-09-21 19:47:29 +0000.358978][47c1] NO get frame from decoder
[016:740] [2022-09-21 19:47:29 +0000.362510][47c1] NO get frame from decoder
[016:743] [2022-09-21 19:47:29 +0000.365925][47c1] NO get frame from decoder
[016:746] [2022-09-21 19:47:29 +0000.369099][47c1] NO get frame from decoder
[016:749] [2022-09-21 19:47:29 +0000.372205][47c1] NO get frame from decoder
[016:756] [2022-09-21 19:47:29 +0000.378353][46e8] Enqueue opensl buffer size:1764
[016:794] [2022-09-21 19:47:29 +0000.416584][46e8] DeviceStart: time profile
playout all end
[016:794] [2022-09-21 19:47:29 +0000.416829][46e8] operator(): Audio playback
started.
[016:796] [2022-09-21 19:47:29 +0000.418371][46e9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:796] [2022-09-21 19:47:29 +0000.418623][46e9] Pull audio failed.(wait video!)
[016:797] [2022-09-21 19:47:29 +0000.419262][46e9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:797] [2022-09-21 19:47:29 +0000.419497][46e9] Pull audio failed.(wait video!)
[016:797] [2022-09-21 19:47:29 +0000.420161][46e9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:798] [2022-09-21 19:47:29 +0000.420396][46e9] Pull audio failed.(wait video!)
[016:799] [2022-09-21 19:47:29 +0000.422029][46e9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:800] [2022-09-21 19:47:29 +0000.422598][46e9] Pull audio failed.(wait video!)
[016:802] [2022-09-21 19:47:29 +0000.424503][46e9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:802] [2022-09-21 19:47:29 +0000.425029][46e9] Pull audio failed.(wait video!)
[016:804] [2022-09-21 19:47:29 +0000.427019][46e9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:805] [2022-09-21 19:47:29 +0000.427607][46e9] Pull audio failed.(wait video!)
[016:807] [2022-09-21 19:47:29 +0000.429681][46e9]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[016:808] [2022-09-21 19:47:29 +0000.430258][46e9] Pull audio failed.(wait video!)
[016:819] [2022-09-21 19:47:29 +0000.441554][46e7] DriveRender working... (1/200)
[016:819] [2022-09-21 19:47:29 +0000.441617][46e7] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:366408503
[016:822] [2022-09-21 19:47:29 +0000.444682][46e7] lipsync_debug: First video frame
rendering.
[016:912] [2022-09-21 19:47:29 +0000.534918][46e9] audio_frame_list_ empty
[017:025] [2022-09-21 19:47:29 +0000.647505][46e8] First audio frame rendering
[017:100] [2022-09-21 19:47:29 +0000.722933][46e7] lipsync_debug:remaining time:10
tsDelta - timeDelta:8
[017:100] [2022-09-21 19:47:29 +0000.723001][46e7] lipsync_debug:result remaining
time:8
[017:209] [2022-09-21 19:47:29 +0000.831699][46e7]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:37 timeDelta:37 last
video ts:32670 frame->pts:36000 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[017:209] [2022-09-21 19:47:29 +0000.831888][46e7] lipsync_debug: tsDelta -
timeDelta = 0
[017:334] [2022-09-21 19:47:29 +0000.956959][46ea] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 60030pts ms:667000
[017:346] [2022-09-21 19:47:29 +0000.969038][46ea] OnVideoFrameReady(1/200)
[017:357] [2022-09-21 19:47:29 +0000.979973][46e7] operator() frame->pts-
9223372036854775808 queue_ size: 4 (1/200)
[017:364] [2022-09-21 19:47:29 +0000.986895][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[017:390] [2022-09-21 19:47:30 +0000.12581][47cc]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[017:476] [2022-09-21 19:47:30 +0000.98776][46e7] lipsync_debug:displaying video
ts:60030 The current displayed video timestamp is:366409160
[017:482] [2022-09-21 19:47:30 +0000.104485][46e7] lipsync_debug: render a video
frame
[017:540] [2022-09-21 19:47:30 +0000.162595][46e7] lipsync_debug:result remaining
time:0
[017:540] [2022-09-21 19:47:30 +0000.162695][46e7] dynamic updated lipsync delay:0
[017:555] [2022-09-21 19:47:30 +0000.177808][46ea] Error(video_source.cc:430): wait
decoder a frame: 0
[017:792] [2022-09-21 19:47:30 +0000.414695][46e9] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 42984
[017:792] [2022-09-21 19:47:30 +0000.414763][46e9] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[017:823] [2022-09-21 19:47:30 +0000.446013][46ea]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[017:872] [2022-09-21 19:47:30 +0000.494751][46e8] The audio playback speed:100
(1/100)
[017:874] [2022-09-21 19:47:30 +0000.497179][46e8] lipsync_debug: The current
played audio timestamp is:42984(1/50)
[018:181] [2022-09-21 19:47:30 +0000.803584][46ea] video frame wait audio frame:
last_video_timestamp:1465 last_audio_timestamp:1345.58
[018:195] [2022-09-21 19:47:30 +0000.818123][44b9] Run AGC when audioType = 0
[018:320] [2022-09-21 19:47:30 +0000.942394][46e7] lipsync_debug:displaying video
ts:119880 The current displayed video timestamp is:366410004
[018:488] [2022-09-21 19:47:31 +0000.111124][46e7] DriveRender working... (1/200)
[018:509] [2022-09-21 19:47:31 +0000.131916][47cc]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[018:861] [2022-09-21 19:47:31 +0000.483612][46ea] Error(video_source.cc:430): wait
decoder a frame: 0
[018:871] [2022-09-21 19:47:31 +0000.494001][46e7]
lipsync_debug:lipsync_threadhold: lipsync_delta:18 tsDelta:54 timeDelta:30 last
video ts:158940 frame->pts:162180 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[018:871] [2022-09-21 19:47:31 +0000.494062][46e7] lipsync_debug: tsDelta -
timeDelta = 24
[019:113] [2022-09-21 19:47:31 +0000.735422][44b9] haveEnoughProcessedData
internalAudioStream.length: 20
[019:158] [2022-09-21 19:47:31 +0000.781053][46e7] lipsync_debug:displaying video
ts:180180 The current displayed video timestamp is:366410842
[019:202] [2022-09-21 19:47:31 +0000.824969][46e7] lipsync_debug:remaining time:10
tsDelta - timeDelta:17
[019:202] [2022-09-21 19:47:31 +0000.825079][46e7] lipsync_debug:result remaining
time:10
[019:474] [2022-09-21 19:47:32 +0000.96786][47cc]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[019:484] [2022-09-21 19:47:32 +0000.106638][46ea] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4992 diff: 9
[019:836] [2022-09-21 19:47:32 +0000.458466][46e7] lipsync_debug:displaying video
ts:239760 The current displayed video timestamp is:366411520
[020:043] [2022-09-21 19:47:32 +0000.665691][46e9] FilterPipeline2::OnAudioFrame
pts 139180 last_audio_timestamp_ 3156.01
[020:110] [2022-09-21 19:47:32 +0000.733012][46e7] DriveRender working... (1/200)
[020:192] [2022-09-21 19:47:32 +0000.814500][44ba] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:192] [2022-09-21 19:47:32 +0000.814684][44ba] _deviceSampleRate:48000

[020:192] [2022-09-21 19:47:32 +0000.815087][44b9] Run AGC when audioType = 0


[020:193] [2022-09-21 19:47:32 +0000.815255][44b9]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:196] [2022-09-21 19:47:32 +0000.818838][46e9] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 145352
[020:196] [2022-09-21 19:47:32 +0000.818941][46e9] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[020:276] [2022-09-21 19:47:32 +0000.899121][46e8] The audio playback speed:100
(1/100)
[020:277] [2022-09-21 19:47:32 +0000.899291][46e8] lipsync_debug: The current
played audio timestamp is:145352(1/50)
[020:308] [2022-09-21 19:47:32 +0000.931186][46ea] Error(video_source.cc:430): wait
decoder a frame: 0
[020:432] [2022-09-21 19:47:33 +0000.55158][47cc]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[020:489] [2022-09-21 19:47:33 +0000.111221][46e7]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:36 timeDelta:4 last video
ts:293760 frame->pts:297000 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[020:489] [2022-09-21 19:47:33 +0000.111300][46e7] lipsync_debug: tsDelta -
timeDelta = 32
[020:550] [2022-09-21 19:47:33 +0000.173143][46e7] lipsync_debug:displaying video
ts:299610 The current displayed video timestamp is:366412234
[020:780] [2022-09-21 19:47:33 +0000.403125][46ea] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 360000pts ms:4e+06
[020:786] [2022-09-21 19:47:33 +0000.409090][46ea] OnVideoFrameReady(1/200)
[020:787] [2022-09-21 19:47:33 +0000.409298][46e7] operator() frame->pts-
9223372036854775808 queue_ size: 14 (1/200)
[020:874] [2022-09-21 19:47:33 +0000.496490][44b9] haveEnoughProcessedData
internalAudioStream.length: 20
[021:152] [2022-09-21 19:47:33 +0000.775185][46e7] lipsync_debug:displaying video
ts:360000 The current displayed video timestamp is:366412836
[021:157] [2022-09-21 19:47:33 +0000.779746][46e7] lipsync_debug: render a video
frame
[021:217] [2022-09-21 19:47:33 +0000.839339][46e7] lipsync_debug:result remaining
time:0
[021:217] [2022-09-21 19:47:33 +0000.839439][46e7] dynamic updated lipsync delay:0
[021:259] [2022-09-21 19:47:33 +0000.882029][47c1] av_read_frame AVERROR_EOF
[021:331] [2022-09-21 19:47:33 +0000.953407][46e7] lipsync_debug:remaining time:10
tsDelta - timeDelta:26
[021:331] [2022-09-21 19:47:33 +0000.953502][46e7] lipsync_debug:result remaining
time:10
[021:482] [2022-09-21 19:47:34 +0000.104562][47cc]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[021:500] [2022-09-21 19:47:34 +0000.122434][47c1] OnReceiveEOF:
[021:500] [2022-09-21 19:47:34 +0000.122550][47c1] OnDecoderEOF time:366413184
enter.

[021:500] [2022-09-21 19:47:34 +0000.122627][47c1] OnDecoderEOF leave. expire time


= 0 ms
[021:500] [2022-09-21 19:47:34 +0000.122675][46d8] CleanUp time:366413184 enter.

[021:500] [2022-09-21 19:47:34 +0000.122693][47c1] OnDecoderFinished:


OnDecoderFinished total decoder frames:180 this:0x7a0d994080
[021:508] [2022-09-21 19:47:34 +0000.131104][46d8] CleanUp leave. expire time = 8
ms

[021:508] [2022-09-21 19:47:34 +0000.131198][46d8] clean up


[021:509] [2022-09-21 19:47:34 +0000.131237][46d8] running_decoder_count:0max
count:2
[021:660] [2022-09-21 19:47:34 +0000.282708][46ea] Error(video_source.cc:430): wait
decoder a frame: 0
[021:704] [2022-09-21 19:47:34 +0000.327189][46e7] DriveRender working... (1/200)
[021:798] [2022-09-21 19:47:34 +0000.420721][46e8] total delay:67 videoTsMS:4632
audioTsMS:4565 diff:67
[021:798] [2022-09-21 19:47:34 +0000.420886][46e8] Set the lipsync delay:67
[021:834] [2022-09-21 19:47:34 +0000.456721][46e7] lipsync_debug:displaying video
ts:419850 The current displayed video timestamp is:366413518
[022:087] [2022-09-21 19:47:34 +0000.709401][46e7]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:36 timeDelta:4 last video
ts:437670 frame->pts:440910 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[022:087] [2022-09-21 19:47:34 +0000.709625][46e7] lipsync_debug: tsDelta -
timeDelta = 32
[022:195] [2022-09-21 19:47:34 +0000.817296][44b9] Run AGC when audioType = 0
[022:442] [2022-09-21 19:47:35 +0000.64231][47cc]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[022:546] [2022-09-21 19:47:35 +0000.168424][46e7] lipsync_debug:displaying video
ts:479340 The current displayed video timestamp is:366414230
[022:588] [2022-09-21 19:47:35 +0000.210629][46e9] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 247720
[022:588] [2022-09-21 19:47:35 +0000.210696][46e9] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[022:594] [2022-09-21 19:47:35 +0000.216377][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[022:602] [2022-09-21 19:47:35 +0000.224277][46e8] The audio playback speed:100
(1/100)
[022:602] [2022-09-21 19:47:35 +0000.224471][46e8] lipsync_debug: The current
played audio timestamp is:247720(1/50)
[022:697] [2022-09-21 19:47:35 +0000.319474][46e9] PullAudioFrame: PullFrame audio
finished.
[022:697] [2022-09-21 19:47:35 +0000.319710][46e9] media player notify EOF, audio
PullFrameStatus is EOF
[022:917] [2022-09-21 19:47:35 +0000.539627][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_PausePreViewJni:
[022:917] [2022-09-21 19:47:35 +0000.539757][1dbf] PausePreView:
[022:917] [2022-09-21 19:47:35 +0000.540025][46e8] operator():
[022:917] [2022-09-21 19:47:35 +0000.540082][46e8] Warning(audio_playback.cc:748):
operator(): Audio playback paused.
[022:917] [2022-09-21 19:47:35 +0000.540126][46e8] Pause:
[022:918] [2022-09-21 19:47:35 +0000.540210][46e7] operator(): video render paused.
[022:918] [2022-09-21 19:47:35 +0000.540291][46e8] operator(): Player paused.
[022:923] [2022-09-21 19:47:35 +0000.545534][47cc] NeedMorePlayData: Scale the
volume to zero now!
[023:402] [2022-09-21 19:47:36 +0000.24674][47cc]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[024:195] [2022-09-21 19:47:36 +0000.817905][44b9] Run AGC when audioType = 0
[024:196] [2022-09-21 19:47:36 +0000.818357][44b9]
AudioDeviceDataHandler::MixAndSendOutFrame
[024:316] [2022-09-21 19:47:36 +0000.938955][44b9] haveEnoughProcessedData
internalAudioStream.length: 20
[024:512] [2022-09-21 19:47:37 +0000.135196][47cc]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[024:646] [2022-09-21 19:47:37 +0000.268884][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[024:647] [2022-09-21 19:47:37 +0000.269312][46e8] Stop:
[024:647] [2022-09-21 19:47:37 +0000.269492][46e7] operator(): Video Render
stopped.
[024:647] [2022-09-21 19:47:37 +0000.269632][46e8] Stop:
[024:647] [2022-09-21 19:47:37 +0000.269681][46e8] DeviceStop:
audioDevice_:0x79d4a82000
[024:647] [2022-09-21 19:47:37 +0000.269719][46e8] OpenSlesOutput:Stop playout

[024:649] [2022-09-21 19:47:37 +0000.271959][46e8] DeviceStop: Done


[024:649] [2022-09-21 19:47:37 +0000.272083][46e8] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[024:649] [2022-09-21 19:47:37 +0000.272132][46e8] operator(): Stop now!
[024:650] [2022-09-21 19:47:37 +0000.272657][1dbf] Stop:
[024:650] [2022-09-21 19:47:37 +0000.272768][46e8] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[024:650] [2022-09-21 19:47:37 +0000.272962][1dbf] DeviceRelease:
audioDevice_:0x79d4a82000
[024:650] [2022-09-21 19:47:37 +0000.273012][1dbf] OpenSlesOutput:Stop playout

[024:650] [2022-09-21 19:47:37 +0000.273059][1dbf] DeviceRelease: Release the


webrtc device object.
[024:651] [2022-09-21 19:47:37 +0000.273583][1dbf] OpenSlesOutput destruct.

[024:651] [2022-09-21 19:47:37 +0000.273667][1dbf] DeviceRelease: Done


[024:651] [2022-09-21 19:47:37 +0000.273782][1dbf] Stop:
[024:651] [2022-09-21 19:47:37 +0000.274068][46e7] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[024:654] [2022-09-21 19:47:37 +0000.277104][1dbf] global uninited!
[024:656] [2022-09-21 19:47:37 +0000.278416][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[024:656] [2022-09-21 19:47:37 +0000.278523][1dbf] ~MediaFilterGraph:
MediaFilterGraph destruct
[024:656] [2022-09-21 19:47:37 +0000.278559][1dbf] RemoveVideoBackGroud: hava not
add video backgroud
[024:656] [2022-09-21 19:47:37 +0000.278617][1dbf] UnbindInputFilter 0x79d49f7bd8
this 0x79d48c9920
[024:656] [2022-09-21 19:47:37 +0000.278664][1dbf] ClearAllSource: remove source
filter, sourceid: 0x7a0d994080
[024:656] [2022-09-21 19:47:37 +0000.278695][1dbf] DestoryDecoderByVideoSource
time:366416340 enter.

[024:656] [2022-09-21 19:47:37 +0000.278733][1dbf] ~VideoBindDecoder time:366416340


enter.

[024:656] [2022-09-21 19:47:37 +0000.278904][1dbf] CleanUp time:366416340 enter.

[024:656] [2022-09-21 19:47:37 +0000.279208][1dbf] CleanUp leave. expire time = 1


ms

[024:657] [2022-09-21 19:47:37 +0000.279257][1dbf] CleanUp time:366416341 enter.

[024:657] [2022-09-21 19:47:37 +0000.279526][1dbf] CleanUp leave. expire time = 0


ms

[024:658] [2022-09-21 19:47:37 +0000.280892][1dbf] ~VideoBindDecoder leave. expire


time = 2 ms

[024:658] [2022-09-21 19:47:37 +0000.280940][1dbf] DestoryDecoderByVideoSource


leave. expire time = 2 ms

[024:658] [2022-09-21 19:47:37 +0000.280996][1dbf] UnbindInputFilter 0x79d49f8058


this 0x79d49f7bd8
[024:658] [2022-09-21 19:47:37 +0000.281048][1dbf] UnbindInputFilter 0x79d49f7c98
this 0x79d49f8058
[024:658] [2022-09-21 19:47:37 +0000.281100][1dbf] UnbindInputFilter 0x7a0d9942a0
this 0x79d49f7c98
[024:658] [2022-09-21 19:47:37 +0000.281151][1dbf] UnbindInputFilter 0x79d49f7b18
this 0x79d49f8118
[024:658] [2022-09-21 19:47:37 +0000.281196][1dbf] UnbindInputFilter 0x79d49f81d8
this 0x79d49f7b18
[024:659] [2022-09-21 19:47:37 +0000.281239][1dbf] UnbindInputFilter 0x7a0d9942a0
this 0x79d49f81d8
[024:659] [2022-09-21 19:47:37 +0000.281295][1dbf] ~GLESContext:
[024:659] [2022-09-21 19:47:37 +0000.282030][1dbf] GLESContext destruct finish.
[024:659] [2022-09-21 19:47:37 +0000.282076][1dbf] filter: filter pipeline destroy
this: 0x79d48c9880
[026:031] [2022-09-21 19:47:38 +0000.653919][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[026:044] [2022-09-21 19:47:38 +0000.666587][1dbf] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[026:044] [2022-09-21 19:47:38 +0000.666674][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[026:044] [2022-09-21 19:47:38 +0000.666948][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[026:044] [2022-09-21 19:47:38 +0000.667120][44b4] operator() time:366417728
enter.

[026:044] [2022-09-21 19:47:38 +0000.667190][44b4] MediaFilterCamera, recording


file context:0x7ad3c0d700 input texture:4
[026:046] [2022-09-21 19:47:38 +0000.668717][44b4] MicSource: Mic source
created:10x79f36eaf80
[026:046] [2022-09-21 19:47:38 +0000.669194][44b4] alloc thread: 0x79cdc17480
name:worker2 thread id:523859696816 to Mic_source
[026:047] [2022-09-21 19:47:38 +0000.669247][44b4] audio: start the audio sender
thread.

[026:047] [2022-09-21 19:47:38 +0000.669318][44b4] construct OpenGLRenderProgram


0x79f3705b98
[026:047] [2022-09-21 19:47:38 +0000.669359][44b4] CropFilter::SetOrientation
orientation: 90
[026:047] [2022-09-21 19:47:38 +0000.669500][44b4] filter: filter pipeline
construtc this: 0x79f7c00900
[026:047] [2022-09-21 19:47:38 +0000.669548][44b4] filter: filter pipeline2 update
pattern: 1
[026:047] [2022-09-21 19:47:38 +0000.669607][44b4] CameraSource::source_id_:5
[026:047] [2022-09-21 19:47:38 +0000.669662][44b4] RecordAudioSource::source_id_:6
[026:047] [2022-09-21 19:47:38 +0000.669792][44b4] BindInputFilter 0x79f7b39dc0
this 0x79f3705dc0
[026:047] [2022-09-21 19:47:38 +0000.669849][44b4] BindInputFilter 0x79f7b39f58
this 0x7a59f01fd0
[026:047] [2022-09-21 19:47:38 +0000.669954][44b4] BindInputFilter 0x79f3705dc0
this 0x79f7c009a0
[026:047] [2022-09-21 19:47:38 +0000.670033][44b4] setParamentForFilters:
speed:1.000000
[026:047] [2022-09-21 19:47:38 +0000.670085][44b4] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[026:047] [2022-09-21 19:47:38 +0000.670130][44b4] SetParamForFilter time:366417731
enter.

[026:047] [2022-09-21 19:47:38 +0000.670175][44b4] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[026:048] [2022-09-21 19:47:38 +0000.670259][44b4] SetParamForFilter: Params video
index is: 0
[026:048] [2022-09-21 19:47:38 +0000.670300][44b4] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[026:048] [2022-09-21 19:47:38 +0000.670354][44b4] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[026:048] [2022-09-21 19:47:38 +0000.670409][44b4] crop filter mode tpye:
citytravelvideo index:0
[026:051] [2022-09-21 19:47:38 +0000.673995][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:051] [2022-09-21 19:47:38 +0000.674056][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:052] [2022-09-21 19:47:38 +0000.674302][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:052] [2022-09-21 19:47:38 +0000.674352][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:052] [2022-09-21 19:47:38 +0000.674376][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:052] [2022-09-21 19:47:38 +0000.674399][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:052] [2022-09-21 19:47:38 +0000.674421][44b4]
Warning(parse_template_json.cc:45): json parament no found the parament
[026:052] [2022-09-21 19:47:38 +0000.674444][44b4]
Warning(parse_template_json.cc:81): json parament no found the parament
[026:052] [2022-09-21 19:47:38 +0000.674506][44b4]
Warning(parse_template_json.cc:81): json parament no found the parament
[026:052] [2022-09-21 19:47:38 +0000.674533][44b4]
Warning(parse_template_json.cc:67): json parament no found the parament
[026:052] [2022-09-21 19:47:38 +0000.674576][44b4]
Warning(parse_template_json.cc:93): json parament no found the duration
[026:052] [2022-09-21 19:47:38 +0000.674604][44b4] SetParamForFilter leave. expire
time = 5 ms

[026:052] [2022-09-21 19:47:38 +0000.674696][44b4] OnOutputSizeChanged width 1920


height 1080
[026:052] [2022-09-21 19:47:38 +0000.674730][44b4] OpenGLFrameBuffer: width:1920
height:1080
[026:052] [2022-09-21 19:47:38 +0000.674753][44b4] OpenGLFrameBuffer: width:1920
height:1080
[026:052] [2022-09-21 19:47:38 +0000.674805][44b4] OpenGLFrameBuffer: width:1920
height:1080
[026:052] [2022-09-21 19:47:38 +0000.674828][44b4] OpenGLFrameBuffer: width:1920
height:1080
[026:052] [2022-09-21 19:47:38 +0000.674848][44b4] OpenGLFrameBuffer: width:1920
height:1080
[026:052] [2022-09-21 19:47:38 +0000.674891][44b4] OpenGLFrameBuffer: width:1920
height:1080
[026:052] [2022-09-21 19:47:38 +0000.674910][44b4] construct TrivalImageDrawer
0x7ad46cac40
[026:052] [2022-09-21 19:47:38 +0000.674931][44b4] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x7ad46cac40 context 0x79d9621040
[026:052] [2022-09-21 19:47:38 +0000.674955][44b4] setupGLES:
[026:053] [2022-09-21 19:47:38 +0000.676050][44b4] OpenGLRenderProgram::Initialize.
[026:053] [2022-09-21 19:47:38 +0000.676096][44b4] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[026:053] [2022-09-21 19:47:38 +0000.676128][44b4] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[026:054] [2022-09-21 19:47:38 +0000.676268][44b4] Init open gl render:
0x79f3705b98
[026:054] [2022-09-21 19:47:38 +0000.676360][44b4] Fragement shader path:
[026:054] [2022-09-21 19:47:38 +0000.676386][44b4] Fragement shader path:
[026:054] [2022-09-21 19:47:38 +0000.676468][44b4] create opengl program object.
[026:054] [2022-09-21 19:47:38 +0000.676503][44b4] create shader: vertex
[026:054] [2022-09-21 19:47:38 +0000.676777][44b4] create shader: fragment
[026:056] [2022-09-21 19:47:38 +0000.678267][44b4] Have not extra filter filename!
[026:056] [2022-09-21 19:47:38 +0000.678307][44b4] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[026:056] [2022-09-21 19:47:38 +0000.678332][44b4] OpenGLRenderProgram::Initialize
success.
[026:056] [2022-09-21 19:47:38 +0000.678376][44b4] Setup the OpenGL result:1
[026:056] [2022-09-21 19:47:38 +0000.678651][44b3] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4
[026:056] [2022-09-21 19:47:38 +0000.678818][44b3] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[026:056] [2022-09-21 19:47:38 +0000.678862][44b3] 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
[026:056] [2022-09-21 19:47:38 +0000.678846][4882] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a59d68098
[026:056] [2022-09-21 19:47:38 +0000.678894][44b3] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4
fileFD: -1
[026:057] [2022-09-21 19:47:38 +0000.679332][44b3] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4
is opened successfully
[026:057] [2022-09-21 19:47:38 +0000.679370][44b3] setupMediaProcessers:
[026:057] [2022-09-21 19:47:38 +0000.679390][44b3]
RecordingSessionInternalSimple:setup media processers.
[026:057] [2022-09-21 19:47:38 +0000.679438][44b3] construct AAC encoder
[026:057] [2022-09-21 19:47:38 +0000.679667][44b3] H264Encoder creating:
superfast011818
[026:057] [2022-09-21 19:47:38 +0000.679712][44b3] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[026:058] [2022-09-21 19:47:38 +0000.680542][44b3] H264Encode::GetMachineModel is
M2012K11AG
[026:058] [2022-09-21 19:47:38 +0000.680581][44b3] H264Encoder machine_mode
is:M2012K11AG
[026:058] [2022-09-21 19:47:38 +0000.680622][44b3] H264Encode::machine size :9
machine_mode:M2012K11AG
[026:058] [2022-09-21 19:47:38 +0000.680663][44b3] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[026:058] [2022-09-21 19:47:38 +0000.680686][44b3] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[026:058] [2022-09-21 19:47:38 +0000.680726][44b3] setupCompressionSession:
[026:058] [2022-09-21 19:47:38 +0000.680746][44b3] H264Encode::creating hareware
Encoder
[026:058] [2022-09-21 19:47:38 +0000.680808][44b3] AndroidHwAvcEncoder
time:366417742 enter.

[026:058] [2022-09-21 19:47:38 +0000.680951][44b3] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b90964380 address:0x79e5ec3760
[026:058] [2022-09-21 19:47:38 +0000.681097][44b3] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[026:058] [2022-09-21 19:47:38 +0000.681133][44b3] The video avc hw codec address
is 0x79f3718420
[026:058] [2022-09-21 19:47:38 +0000.681186][44b3] AndroidHwAvcEncoder leave.
expire time = 0 ms

[026:059] [2022-09-21 19:47:38 +0000.681216][44b3] RegisterEncodeCompleteCallback


time:366417743 enter.

[026:059] [2022-09-21 19:47:38 +0000.681283][44b3] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[026:059] [2022-09-21 19:47:38 +0000.681323][44b3] InitEncode time:366417743


enter.

[026:059] [2022-09-21 19:47:38 +0000.681375][44b3] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[026:059] [2022-09-21 19:47:38 +0000.681410][44b3] Create time:366417743 enter.

[026:059] [2022-09-21 19:47:38 +0000.681431][44b3] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[026:059] [2022-09-21 19:47:38 +0000.681456][44b3]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x79cdc006c0
[026:059] [2022-09-21 19:47:38 +0000.681572][44b3]
supported_type:image/vnd.android.heic
[026:059] [2022-09-21 19:47:38 +0000.681625][44b3] supported_type:video/avc
[026:059] [2022-09-21 19:47:38 +0000.681678][44b3] name:OMX.qcom.video.encoder.avc
mime:video/avc
[026:059] [2022-09-21 19:47:38 +0000.681736][44b3] hwCodecPrefix :OMX.qcom.
[026:059] [2022-09-21 19:47:38 +0000.681775][44b3] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[026:059] [2022-09-21 19:47:38 +0000.681799][44b3] mediacodec_createCodecByName
time:366417743 enter.

[026:059] [2022-09-21 19:47:38 +0000.681855][44b3] WrapAndroidMediaCodec


time:366417743 enter.

[026:059] [2022-09-21 19:47:38 +0000.681969][44b3] WrapAndroidMediaCodec leave.


expire time = 0 ms

[026:073] [2022-09-21 19:47:38 +0000.696004][44b3] mediacodec_createCodecByName


leave. expire time = 14 ms

[026:074] [2022-09-21 19:47:38 +0000.696329][44b3] WrapAndroidMediaFromat


time:366417758 enter.

[026:074] [2022-09-21 19:47:38 +0000.696392][44b3] WrapAndroidMediaFromat leave.


expire time = 0 ms

[026:115] [2022-09-21 19:47:38 +0000.737986][44b3] Destroy time:366417799 enter.

[026:115] [2022-09-21 19:47:38 +0000.738060][44b3] WrapAndroidMediaFromat::


Destroy
[026:115] [2022-09-21 19:47:38 +0000.738092][44b3] Destroy leave. expire time = 0
ms

[026:116] [2022-09-21 19:47:38 +0000.738388][44b3] ~WrapAndroidMediaFromat


time:366417800 enter.

[026:116] [2022-09-21 19:47:38 +0000.738428][44b3] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[026:116] [2022-09-21 19:47:38 +0000.738459][44b3] Create leave. expire time = 57


ms

[026:116] [2022-09-21 19:47:38 +0000.738486][44b3] isSemiPlanarSupport


time:366417800 enter.

[026:116] [2022-09-21 19:47:38 +0000.738514][44b3] H264Encoder isSemiPlanarSupport


[026:116] [2022-09-21 19:47:38 +0000.738540][44b3] isSemiPlanarSupport leave.
expire time = 0 ms
[026:116] [2022-09-21 19:47:38 +0000.738568][44b3] creat hw H264Encoder success,
isSemiPlanar:1
[026:116] [2022-09-21 19:47:38 +0000.738650][44b3] InitEncode leave. expire time =
57 ms

[026:116] [2022-09-21 19:47:38 +0000.738682][44b3] H264Encode::created Encoder


[026:116] [2022-09-21 19:47:38 +0000.738709][44b3] H264Encode:: H264 encoder
created.
[026:116] [2022-09-21 19:47:38 +0000.738764][44b3] H264 encoder created.
[026:116] [2022-09-21 19:47:38 +0000.738822][44b3]
RecordingSessionInternalSimple:created avc encoder avc: 0x7ad46b9080
[026:116] [2022-09-21 19:47:38 +0000.738875][44b3] setOutput:
[026:116] [2022-09-21 19:47:38 +0000.738927][44b3]
RecordingSessionInternalSimple:encoder set output to muxer!
[026:116] [2022-09-21 19:47:38 +0000.738952][44b3] request a key frame
[026:116] [2022-09-21 19:47:38 +0000.739002][44b3] H264Encode:: request a key frame
[026:116] [2022-09-21 19:47:38 +0000.739126][44b3] setDisplayRotate :90
[026:116] [2022-09-21 19:47:38 +0000.739167][44b3] 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
[026:117] [2022-09-21 19:47:38 +0000.739238][44b4] StartRecording:
[026:117] [2022-09-21 19:47:38 +0000.739337][487d] operator(): Set the recording
session in mic source. recording session: 0x79f7b39e00
[026:117] [2022-09-21 19:47:38 +0000.739443][44b4] operator() leave. expire time =
73 ms

[026:166] [2022-09-21 19:47:38 +0000.789110][44b4] begine recode to first frame


spend time:122
[026:167] [2022-09-21 19:47:38 +0000.789222][44b4]
GPUImageProcessing::SetOrientation orientation: 90
[026:168] [2022-09-21 19:47:38 +0000.790827][44b4] drawYUV420 render
OpenGLRenderProgram:0x79f3705b98
[026:193] [2022-09-21 19:47:38 +0000.815575][44b9] Run AGC when audioType = 0
[026:202] [2022-09-21 19:47:38 +0000.824913][44b4] drawYUV420 render
OpenGLRenderProgram:0x79f3705b98
[026:213] [2022-09-21 19:47:38 +0000.835689][44b4] The convert RGB to YUV take 4
[026:218] [2022-09-21 19:47:38 +0000.840321][4881]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[026:234] [2022-09-21 19:47:38 +0000.857093][44b4] drawYUV420 render
OpenGLRenderProgram:0x79f3705b98
[026:245] [2022-09-21 19:47:38 +0000.867830][4882] add aac audio track with id:1
[026:310] [2022-09-21 19:47:38 +0000.932853][4881] h264 add frame header cdr flag
[026:311] [2022-09-21 19:47:38 +0000.933846][4881] h264 add frame header cdr flag
[026:312] [2022-09-21 19:47:38 +0000.935065][4881] Received key frame:0
[026:312] [2022-09-21 19:47:38 +0000.935132][4881] H264Encode:: get a sps pps
header!headerSize:32
[026:313] [2022-09-21 19:47:38 +0000.935239][4882] get the H.264 SPS parameter
[026:313] [2022-09-21 19:47:38 +0000.935439][4882] add video track with id:2
[026:315] [2022-09-21 19:47:38 +0000.938082][4882] get the H.264 PPS parameter
[026:319] [2022-09-21 19:47:38 +0000.941336][4882] get the H.264 IDR frame
[026:319] [2022-09-21 19:47:38 +0000.941433][4882] resss:true
[026:319] [2022-09-21 19:47:38 +0000.941527][4882] video start ts:0
[026:319] [2022-09-21 19:47:38 +0000.941669][4882] the video frame has been written
into MP4 file
[026:333] [2022-09-21 19:47:38 +0000.955497][4882] audio start ts:0
[026:333] [2022-09-21 19:47:38 +0000.955600][4882] the audio frame has been written
into MP4 file
[026:366] [2022-09-21 19:47:38 +0000.988729][487a] AF_SpeedFilter audio
0x7a59f01e80 PullFrame
[026:480] [2022-09-21 19:47:39 +0000.103075][487d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[026:600] [2022-09-21 19:47:39 +0000.222635][44b4] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5984 diff: 17
[026:632] [2022-09-21 19:47:39 +0000.255045][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[026:702] [2022-09-21 19:47:39 +0000.324680][44b4] The convert RGB to YUV take 3
[026:798] [2022-09-21 19:47:39 +0000.420404][487a] resampled_data_size:8704
[026:807] [2022-09-21 19:47:39 +0000.429779][487a] AF_SpeedFilter::PullFrame eof4
[026:811] [2022-09-21 19:47:39 +0000.434295][487a]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[026:816] [2022-09-21 19:47:39 +0000.438625][4881] DTS queue for
Generator:0x7a59d682b8 607
[026:846] [2022-09-21 19:47:39 +0000.468728][4881] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:607 pts:607
[026:867] [2022-09-21 19:47:39 +0000.489953][44b4] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[026:867] [2022-09-21 19:47:39 +0000.490079][44b4] GPUImageProcessing: input frame
width1920 X 1080
[026:868] [2022-09-21 19:47:39 +0000.490592][44b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[026:868] [2022-09-21 19:47:39 +0000.490655][44b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[026:876] [2022-09-21 19:47:39 +0000.498784][4881]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:669
[026:876] [2022-09-21 19:47:39 +0000.498868][4881] Push an pts:669 to dts queue.
[026:911] [2022-09-21 19:47:39 +0000.533912][4881] SendFrame
encodedImage._timeStamp:669encodedImage->_length:122256
[026:911] [2022-09-21 19:47:39 +0000.534042][4881] last dts:636 currentPts:669
ppsOrSPS:0 queue length:2
[026:936] [2022-09-21 19:47:39 +0000.558616][4881] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:732
[026:936] [2022-09-21 19:47:39 +0000.558697][4881] push video frame to H264
encoder. (100 frame for one log)

[026:936] [2022-09-21 19:47:39 +0000.558736][4881] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[026:936] [2022-09-21 19:47:39 +0000.558773][4881] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:732(100 frame for one
log)

[026:936] [2022-09-21 19:47:39 +0000.558823][4881] The input pts:732 fps:30


[026:978] [2022-09-21 19:47:39 +0000.600694][4881] H264Encode::H264SWEncoder get
callback, length:100320 type:1 nalType:1length:100316
[027:136] [2022-09-21 19:47:39 +0000.758605][44b4] The read pixel from buffer take:
1 width:1920 height:1080 frameType:0
[027:206] [2022-09-21 19:47:39 +0000.829215][44b4] The convert RGB to YUV take 3
[027:275] [2022-09-21 19:47:39 +0000.897754][4880]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 975queue_audio_frame_:8
[027:436] [2022-09-21 19:47:40 +0000.58823][487a] RecordAudioSource::PullAudioFrame
[027:476] [2022-09-21 19:47:40 +0000.99002][487d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[027:633] [2022-09-21 19:47:40 +0000.255482][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[027:641] [2022-09-21 19:47:40 +0000.263863][4881] DTS queue for
Generator:0x7a59d682b8 1435
[027:705] [2022-09-21 19:47:40 +0000.328186][44b4] The convert RGB to YUV take 6
[027:745] [2022-09-21 19:47:40 +0000.367377][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[028:010] [2022-09-21 19:47:40 +0000.632476][487a] AF_SpeedFilter audio
0x7a59f01e80 PullFrame
[028:131] [2022-09-21 19:47:40 +0000.754103][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:196] [2022-09-21 19:47:40 +0000.818980][44b9] Run AGC when audioType = 0
[028:196] [2022-09-21 19:47:40 +0000.819141][44b9]
AudioDeviceDataHandler::MixAndSendOutFrame
[028:204] [2022-09-21 19:47:40 +0000.827193][44b4] The convert RGB to YUV take 7
[028:207] [2022-09-21 19:47:40 +0000.829851][4881] Push an pts:1997 to dts queue.
[028:245] [2022-09-21 19:47:40 +0000.867307][4881] h264 add frame header cdr flag
[028:245] [2022-09-21 19:47:40 +0000.867707][4881] Received key frame:1997
[028:245] [2022-09-21 19:47:40 +0000.867752][4881] last dts:1965 currentPts:1997
ppsOrSPS:0 queue length:2
[028:281] [2022-09-21 19:47:40 +0000.903856][4882] get the H.264 IDR frame
[028:476] [2022-09-21 19:47:41 +0000.98242][4881] DTS queue for
Generator:0x7a59d682b8 2236 2267
[028:482] [2022-09-21 19:47:41 +0000.105227][487d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[028:629] [2022-09-21 19:47:41 +0000.251891][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[028:694] [2022-09-21 19:47:41 +0000.316737][44b4] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6980 diff: 21
[028:697] [2022-09-21 19:47:41 +0000.319792][44b4] The convert RGB to YUV take 2
[029:041] [2022-09-21 19:47:41 +0000.663488][487a] resampled_data_size:0
[029:126] [2022-09-21 19:47:41 +0000.748537][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:195] [2022-09-21 19:47:41 +0000.817709][44b4] The convert RGB to YUV take 3
[029:207] [2022-09-21 19:47:41 +0000.829640][487a] AF_SpeedFilter::PullFrame eof4
[029:211] [2022-09-21 19:47:41 +0000.833981][487a]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[029:297] [2022-09-21 19:47:41 +0000.919634][4881] DTS queue for
Generator:0x7a59d682b8 3061 3094
[029:366] [2022-09-21 19:47:41 +0000.988657][487a]
RecordAudioSource::PullAudioFrame
[029:448] [2022-09-21 19:47:42 +0000.70976][487d] The output timestamp from audio
mixer change:366421122
[029:454] [2022-09-21 19:47:42 +0000.76435][44b9] On audio frame the broadcast with
timestamp:366421138 samples:480. (1000 frame for one log)

[029:458] [2022-09-21 19:47:42 +0000.81122][44b4] drawYUV420 render


OpenGLRenderProgram:0x79f3705b98
[029:468] [2022-09-21 19:47:42 +0000.90683][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[029:480] [2022-09-21 19:47:42 +0000.102818][487d] Get data in mic source, which
has byte length:1764micAudioStream->length():20
[029:480] [2022-09-21 19:47:42 +0000.103119][487d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[029:534] [2022-09-21 19:47:42 +0000.156905][4881] Push an pts:3329 to dts queue.
[029:551] [2022-09-21 19:47:42 +0000.173309][4880]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 3297queue_audio_frame_:1
[029:570] [2022-09-21 19:47:42 +0000.192803][4881] last dts:3298 currentPts:3329
ppsOrSPS:0 queue length:2
[029:628] [2022-09-21 19:47:42 +0000.250577][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[029:657] [2022-09-21 19:47:42 +0000.279987][487a] AF_SpeedFilter audio
0x7a59f01e80 PullFrame
[029:695] [2022-09-21 19:47:42 +0000.317694][44b4] The convert RGB to YUV take 3
[030:062] [2022-09-21 19:47:42 +0000.684541][487a] AF_SpeedFilter audio time,
0x7a59f01e80 rcv time: 366421736
[030:062] [2022-09-21 19:47:42 +0000.684635][487a] AF_SpeedFilter audio time,
0x7a59f01e80 rcv time: 366421736in_nSamples:441
[030:105] [2022-09-21 19:47:42 +0000.727290][487a]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 366421738
[030:105] [2022-09-21 19:47:42 +0000.727360][487a]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[030:128] [2022-09-21 19:47:42 +0000.750465][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:135] [2022-09-21 19:47:42 +0000.758162][4881] DTS queue for
Generator:0x7a59d682b8 3897 3930
[030:192] [2022-09-21 19:47:42 +0000.814591][44ba] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:192] [2022-09-21 19:47:42 +0000.814731][44ba] _deviceSampleRate:48000

[030:196] [2022-09-21 19:47:42 +0000.818682][44b9] Run AGC when audioType = 0


[030:199] [2022-09-21 19:47:42 +0000.821498][44b4] The convert RGB to YUV take 4
[030:201] [2022-09-21 19:47:42 +0000.824192][4881]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3997
[030:203] [2022-09-21 19:47:42 +0000.825810][4881] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3964 pts:3964
[030:231] [2022-09-21 19:47:42 +0000.853426][44b4] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[030:231] [2022-09-21 19:47:42 +0000.853523][44b4] GPUImageProcessing: input frame
width1920 X 1080
[030:231] [2022-09-21 19:47:42 +0000.854070][44b4] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[030:232] [2022-09-21 19:47:42 +0000.854289][44b4] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[030:238] [2022-09-21 19:47:42 +0000.860943][4881] h264 add frame header cdr flag
[030:239] [2022-09-21 19:47:42 +0000.861988][4881] SendFrame
encodedImage._timeStamp:3997encodedImage->_length:213440
[030:239] [2022-09-21 19:47:42 +0000.862095][4881] Received key frame:3997
[030:276] [2022-09-21 19:47:42 +0000.898736][4882] get the H.264 IDR frame
[030:303] [2022-09-21 19:47:42 +0000.925501][4881] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:4098
[030:303] [2022-09-21 19:47:42 +0000.925605][4881] push video frame to H264
encoder. (100 frame for one log)

[030:303] [2022-09-21 19:47:42 +0000.925685][4881] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[030:303] [2022-09-21 19:47:42 +0000.925737][4881] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:4098(100 frame for one
log)

[030:303] [2022-09-21 19:47:42 +0000.925795][4881] The input pts:4098 fps:30


[030:337] [2022-09-21 19:47:42 +0000.959483][4881] H264Encode::H264SWEncoder get
callback, length:87552 type:1 nalType:1length:87548
[030:477] [2022-09-21 19:47:43 +0000.100143][487d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[030:635] [2022-09-21 19:47:43 +0000.257453][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[030:699] [2022-09-21 19:47:43 +0000.321406][44b4] The convert RGB to YUV take 4
[030:766] [2022-09-21 19:47:43 +0000.388659][44b4] webrtc common_video plane
old ..... (1/1000) new: 8001 delete: 7984 diff: 17
[030:866] [2022-09-21 19:47:43 +0000.488955][4881] Push an pts:4661 to dts queue.
[030:906] [2022-09-21 19:47:43 +0000.528266][4881] last dts:4629 currentPts:4661
ppsOrSPS:0 queue length:2
[030:938] [2022-09-21 19:47:43 +0000.560264][4881] DTS queue for
Generator:0x7a59d682b8 4728
[031:124] [2022-09-21 19:47:43 +0000.747156][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[031:174] [2022-09-21 19:47:43 +0000.796772][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[031:202] [2022-09-21 19:47:43 +0000.824419][44b4] The convert RGB to YUV take 7
[031:228] [2022-09-21 19:47:43 +0000.850747][487a] resampled_data_size:11776
[031:269] [2022-09-21 19:47:43 +0000.892090][44b4] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[031:301] [2022-09-21 19:47:43 +0000.924202][487a]
RecordAudioSource::PullAudioFrame
[031:310] [2022-09-21 19:47:43 +0000.932894][487a] AF_SpeedFilter audio
0x7a59f01e80 PullFrame
[031:320] [2022-09-21 19:47:43 +0000.943127][487a] AF_SpeedFilter audio time
[031:321] [2022-09-21 19:47:43 +0000.943231][487a] AF_SpeedFilter audio time 111,
0x7a59f01e80 out time: 366422938 org time: 366422938
[031:480] [2022-09-21 19:47:44 +0000.102842][487d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[031:602] [2022-09-21 19:47:44 +0000.224447][487a] AF_SpeedFilter::PullFrame eof4
[031:606] [2022-09-21 19:47:44 +0000.228694][487a]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[031:627] [2022-09-21 19:47:44 +0000.249421][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[031:698] [2022-09-21 19:47:44 +0000.320394][44b4] The convert RGB to YUV take 4
[031:772] [2022-09-21 19:47:44 +0000.394755][4881] DTS queue for
Generator:0x7a59d682b8 5565
[031:893] [2022-09-21 19:47:44 +0000.515329][4880]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 5619queue_audio_frame_:4
[032:129] [2022-09-21 19:47:44 +0000.751692][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[032:195] [2022-09-21 19:47:44 +0000.817254][44b9] Run AGC when audioType = 0
[032:195] [2022-09-21 19:47:44 +0000.817374][44b9]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:199] [2022-09-21 19:47:44 +0000.821275][44b4] The convert RGB to YUV take 4
[032:199] [2022-09-21 19:47:44 +0000.821987][4881] Push an pts:5996 to dts queue.
[032:240] [2022-09-21 19:47:44 +0000.862422][4881] h264 add frame header cdr flag
[032:240] [2022-09-21 19:47:44 +0000.863162][4881] Received key frame:5996
[032:241] [2022-09-21 19:47:44 +0000.863243][4881] last dts:5964 currentPts:5996
ppsOrSPS:0 queue length:2
[032:275] [2022-09-21 19:47:44 +0000.897687][4882] get the H.264 IDR frame
[032:478] [2022-09-21 19:47:45 +0000.100303][487d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[032:604] [2022-09-21 19:47:45 +0000.226767][4881] DTS queue for
Generator:0x7a59d682b8 6363 6397
[032:627] [2022-09-21 19:47:45 +0000.249517][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[032:701] [2022-09-21 19:47:45 +0000.324035][44b4] The convert RGB to YUV take 4
[032:793] [2022-09-21 19:47:45 +0000.416092][44b4] drawYUV420 render
OpenGLRenderProgram:0x79f3705b98
[032:859] [2022-09-21 19:47:45 +0000.481843][44b4] webrtc common_video plane
old ..... (1/1000) new: 9001 delete: 8980 diff: 21
[032:895] [2022-09-21 19:47:45 +0000.517813][44b9] haveEnoughProcessedData
internalAudioStream.length: 20
[032:920] [2022-09-21 19:47:45 +0000.542990][487a] AF_SpeedFilter audio
0x7a59f01e80 PullFrame
[033:126] [2022-09-21 19:47:45 +0000.749165][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[033:197] [2022-09-21 19:47:45 +0000.819853][487a]
RecordAudioSource::PullAudioFrame
[033:197] [2022-09-21 19:47:45 +0000.820011][44b4] The convert RGB to YUV take 5
[033:438] [2022-09-21 19:47:46 +0000.60696][4881] DTS queue for
Generator:0x7a59d682b8 7201 7234
[033:485] [2022-09-21 19:47:46 +0000.107222][487d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[033:486] [2022-09-21 19:47:46 +0000.108820][487a] resampled_data_size:2560
[033:535] [2022-09-21 19:47:46 +0000.157359][4881]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:7330
[033:535] [2022-09-21 19:47:46 +0000.157467][4881] Push an pts:7330 to dts queue.
[033:566] [2022-09-21 19:47:46 +0000.188769][4881] SendFrame
encodedImage._timeStamp:7330encodedImage->_length:131392
[033:566] [2022-09-21 19:47:46 +0000.188922][4881] last dts:7298 currentPts:7330
ppsOrSPS:0 queue length:2
[033:566] [2022-09-21 19:47:46 +0000.189026][4881] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:7330 pts:7330
[033:593] [2022-09-21 19:47:46 +0000.215325][44b4] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[033:593] [2022-09-21 19:47:46 +0000.215471][44b4] GPUImageProcessing: input frame
width1920 X 1080
[033:593] [2022-09-21 19:47:46 +0000.215958][44b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[033:593] [2022-09-21 19:47:46 +0000.216045][44b4] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[033:629] [2022-09-21 19:47:46 +0000.251786][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[033:665] [2022-09-21 19:47:46 +0000.287520][4881] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:7459
[033:665] [2022-09-21 19:47:46 +0000.287630][4881] push video frame to H264
encoder. (100 frame for one log)

[033:665] [2022-09-21 19:47:46 +0000.287708][4881] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[033:665] [2022-09-21 19:47:46 +0000.287780][4881] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:7459(100 frame for one
log)

[033:665] [2022-09-21 19:47:46 +0000.287912][4881] The input pts:7459 fps:30


[033:697] [2022-09-21 19:47:46 +0000.319654][44b4] The convert RGB to YUV take 6
[033:700] [2022-09-21 19:47:46 +0000.323140][4881] H264Encode::H264SWEncoder get
callback, length:122080 type:1 nalType:1length:122076
[033:939] [2022-09-21 19:47:46 +0000.561760][487a] AF_SpeedFilter::PullFrame eof4
[033:943] [2022-09-21 19:47:46 +0000.566125][487a]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[034:126] [2022-09-21 19:47:46 +0000.748541][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[034:196] [2022-09-21 19:47:46 +0000.818762][44b4] The convert RGB to YUV take 4
[034:197] [2022-09-21 19:47:46 +0000.819772][44b9] Run AGC when audioType = 0
[034:238] [2022-09-21 19:47:46 +0000.861099][4881] h264 add frame header cdr flag
[034:239] [2022-09-21 19:47:46 +0000.861788][4881] Received key frame:7994
[034:239] [2022-09-21 19:47:46 +0000.861936][4881] DTS queue for
Generator:0x7a59d682b8 8029
[034:240] [2022-09-21 19:47:46 +0000.862559][4880]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 7941queue_audio_frame_:8
[034:270] [2022-09-21 19:47:46 +0000.892615][4882] get the H.264 IDR frame
[034:480] [2022-09-21 19:47:47 +0000.103040][487d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[034:555] [2022-09-21 19:47:47 +0000.177327][487a] AF_SpeedFilter audio
0x7a59f01e80 PullFrame
[034:608] [2022-09-21 19:47:47 +0000.230678][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[034:631] [2022-09-21 19:47:47 +0000.253304][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[034:697] [2022-09-21 19:47:47 +0000.319634][44b4] The convert RGB to YUV take 4
[034:867] [2022-09-21 19:47:47 +0000.489656][4881] Push an pts:8661 to dts queue.
[034:899] [2022-09-21 19:47:47 +0000.521869][4881] last dts:8626 currentPts:8661
ppsOrSPS:0 queue length:2
[034:927] [2022-09-21 19:47:47 +0000.549397][44b4] webrtc common_video plane
old ..... (1/1000) new: 10001 delete: 9984 diff: 17
[035:008] [2022-09-21 19:47:47 +0000.630888][487a] FilterPipeline2::OnAudioFrame
pts 8790 last_audio_timestamp_ 8790
[035:070] [2022-09-21 19:47:47 +0000.692288][4881] DTS queue for
Generator:0x7a59d682b8 8860
[035:114] [2022-09-21 19:47:47 +0000.736802][487a]
RecordAudioSource::PullAudioFrame
[035:130] [2022-09-21 19:47:47 +0000.752299][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[035:200] [2022-09-21 19:47:47 +0000.823033][44b4] The convert RGB to YUV take 3
[035:480] [2022-09-21 19:47:48 +0000.102703][487d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[035:625] [2022-09-21 19:47:48 +0000.247831][44b4] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[035:664] [2022-09-21 19:47:48 +0000.286565][487a] resampled_data_size:14848
[035:699] [2022-09-21 19:47:48 +0000.321357][44b4] The convert RGB to YUV take 6
[035:746] [2022-09-21 19:47:48 +0000.368361][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[035:746] [2022-09-21 19:47:48 +0000.368574][44b4] operator(): Stop
[035:746] [2022-09-21 19:47:48 +0000.368637][44b4] StopPullFrameAndWriteMp4
time:366427430 enter.

[035:746] [2022-09-21 19:47:48 +0000.368687][44b4] StopRecording:


[035:750] [2022-09-21 19:47:48 +0000.372325][487a] PullAudioFrame: PullFrame audio
finished.
[035:750] [2022-09-21 19:47:48 +0000.372384][487a]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[035:754] [2022-09-21 19:47:48 +0000.376227][4881]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:287
[035:756] [2022-09-21 19:47:48 +0000.378374][44b3] stop recording
[035:756] [2022-09-21 19:47:48 +0000.378458][44b3]
RecordingSessionInternalSimple:destroy media processers
[035:756] [2022-09-21 19:47:48 +0000.378500][44b3] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[035:756] [2022-09-21 19:47:48 +0000.378537][44b3] H264Encode::flushing hareware
Encoder
[035:756] [2022-09-21 19:47:48 +0000.378774][44b3] Flush time:366427440 enter.

[035:756] [2022-09-21 19:47:48 +0000.378877][44b3] H264Encoder encoder flush


[035:756] [2022-09-21 19:47:48 +0000.378925][44b3] flush output queue
[036:088] [2022-09-21 19:47:48 +0000.711144][44b3] Flush leave. expire time = 333
ms

[036:089] [2022-09-21 19:47:48 +0000.711378][44b3] ~H264EncodeWrap:


[036:089] [2022-09-21 19:47:48 +0000.711485][44b3] ~H264Encode:
[036:089] [2022-09-21 19:47:48 +0000.711519][44b3] teardownCompressionSession:
H264Encode::destroying Encoder
[036:089] [2022-09-21 19:47:48 +0000.711552][44b3] Release time:366427773 enter.

[036:089] [2022-09-21 19:47:48 +0000.711685][44b3] Release:


MediaCodecVideoEncoder::Release _inited:1
[036:089] [2022-09-21 19:47:48 +0000.711763][44b3] Destroy time:366427773 enter.

[036:089] [2022-09-21 19:47:48 +0000.711810][44b3] H264Encoder encoderDestroy


[036:089] [2022-09-21 19:47:48 +0000.711843][44b3]
AndroidMediaCodecVideoEncoder::release env: 0x7a62b74700
[036:089] [2022-09-21 19:47:48 +0000.711916][44b3]
AndroidMediaCodecVideoEncoder::Destroy
[036:131] [2022-09-21 19:47:48 +0000.753338][44b3] Destroy leave. expire time = 42
ms

[036:131] [2022-09-21 19:47:48 +0000.753470][44b3] Release leave. expire time = 42


ms

[036:131] [2022-09-21 19:47:48 +0000.753511][44b3] ~AndroidHwAvcEncoder


time:366427815 enter.

[036:131] [2022-09-21 19:47:48 +0000.753613][44b3] Release time:366427815 enter.

[036:131] [2022-09-21 19:47:48 +0000.753657][44b3] Release:


MediaCodecVideoEncoder:: has been released before, just return
[036:131] [2022-09-21 19:47:48 +0000.753689][44b3] Release leave. expire time = 0
ms

[036:131] [2022-09-21 19:47:48 +0000.753722][44b3] ~AndroidMediaCodecVideoEncoder


[036:131] [2022-09-21 19:47:48 +0000.753753][44b3] ~WrapAndroidMediaCodec
time:366427815 enter.

[036:131] [2022-09-21 19:47:48 +0000.753787][44b3] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[036:131] [2022-09-21 19:47:48 +0000.753819][44b3] video hevc hw codec


destructor:0x79f3718420

[036:131] [2022-09-21 19:47:48 +0000.753860][44b3] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[036:131] [2022-09-21 19:47:48 +0000.753901][44b3] teardownCompressionSession:


H264Encode::destroyed Encoder
[036:131] [2022-09-21 19:47:48 +0000.753933][44b3]
RecordingSessionInternalSimple:destroy aac encoder output!
[036:131] [2022-09-21 19:47:48 +0000.753960][44b3] AACSWEncode destructor
[036:135] [2022-09-21 19:47:48 +0000.757347][4882] MP4 close file successfully
[036:135] [2022-09-21 19:47:48 +0000.757423][4882] Recording session Internal:
notify recording ok
[036:135] [2022-09-21 19:47:48 +0000.757451][4882] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4,
output_video_timestamp_:9527 last_video_pts_:9527
[036:135] [2022-09-21 19:47:48 +0000.757495][4882] OnRecordFinish:
[036:135] [2022-09-21 19:47:48 +0000.757901][4882] onRecordingOk: net seek
pos:0record video duration:9560record audio duration:9543
[036:136] [2022-09-21 19:47:48 +0000.758928][487d] destructMicSource_w:
[036:136] [2022-09-21 19:47:48 +0000.759049][487d] setOutput_w:
MicSource::setOutput() 0x0
[036:137] [2022-09-21 19:47:48 +0000.759337][44b4] releaseThread 0x79cdc17480
[036:137] [2022-09-21 19:47:48 +0000.759384][44b4] ~MicSource: Mic source
destroyed:0x79f36eaf80
[036:139] [2022-09-21 19:47:48 +0000.761681][44b4] StopPullFrameAndWriteMp4 leave.
expire time = 393 ms

[036:139] [2022-09-21 19:47:48 +0000.761737][44b4] DestroyPipelineAndFilters


time:366427823 enter.

[036:139] [2022-09-21 19:47:48 +0000.761783][44b4] UnbindInputFilter 0x79f7b39dc0


this 0x79f3705dc0
[036:139] [2022-09-21 19:47:48 +0000.761816][44b4] UnbindInputFilter 0x79f7b39f58
this 0x7a59f01fd0
[036:139] [2022-09-21 19:47:48 +0000.761855][44b4] UnbindInputFilter 0x79f3705dc0
this 0x79f7c009a0
[036:139] [2022-09-21 19:47:48 +0000.761875][44b4] filter: filter pipeline destroy
this: 0x79f7c00900
[036:140] [2022-09-21 19:47:48 +0000.762361][44b4] ClearVideoOfSources: recodring
total frames:0
[036:140] [2022-09-21 19:47:48 +0000.762430][44b4] ClearVideoOfSources:
[036:140] [2022-09-21 19:47:48 +0000.762455][44b4] GPUImageProcessing destruct.
[036:140] [2022-09-21 19:47:48 +0000.762506][44b4] destroy TrivalImageDrawer
0x7ad46cac40
[036:140] [2022-09-21 19:47:48 +0000.762531][44b4] The shader has been initialize,
clean up them.

[036:140] [2022-09-21 19:47:48 +0000.762575][44b4] ~OpenGLFrameBuffer:


[036:140] [2022-09-21 19:47:48 +0000.762655][44b4] ~OpenGLFrameBuffer:
[036:140] [2022-09-21 19:47:48 +0000.762718][44b4] ~OpenGLFrameBuffer:
[036:140] [2022-09-21 19:47:48 +0000.762783][44b4] ~OpenGLFrameBuffer:
[036:140] [2022-09-21 19:47:48 +0000.763194][44b4] ~OpenGLFrameBuffer:
[036:141] [2022-09-21 19:47:48 +0000.763275][44b4] ~OpenGLFrameBuffer:
[036:141] [2022-09-21 19:47:48 +0000.763947][44b4] GPUImageProcessing destruct
finish.
[036:141] [2022-09-21 19:47:48 +0000.763995][44b4] GPURGBAFrame destruct.
[036:141] [2022-09-21 19:47:48 +0000.764042][44b4] destroy OpenGLRenderProgram
0x79f3705b98
[036:141] [2022-09-21 19:47:48 +0000.764070][44b4] ~CameraSource time:366427825
enter.

[036:141] [2022-09-21 19:47:48 +0000.764091][44b4] ~CameraSource leave. expire


time = 0 ms

[036:141] [2022-09-21 19:47:48 +0000.764118][44b4] ~RecordAudioSource


time:366427825 enter.

[036:141] [2022-09-21 19:47:48 +0000.764139][44b4] ~RecordAudioSource leave.


expire time = 0 ms

[036:141] [2022-09-21 19:47:48 +0000.764163][44b4] DestroyPipelineAndFilters


leave. expire time = 2 ms

[036:156] [2022-09-21 19:47:48 +0000.778759][1dbf]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[036:157] [2022-09-21 19:47:48 +0000.779283][1dbf] machine model :poco
[036:157] [2022-09-21 19:47:48 +0000.779308][1dbf] Support this machine model :poco
[036:157] [2022-09-21 19:47:48 +0000.779332][1dbf] global inited! current sdk
version: 07-20-936c45f
[036:157] [2022-09-21 19:47:48 +0000.779487][1dbf] filter: filter pipeline
construtc this: 0x79d48c9700
[036:157] [2022-09-21 19:47:48 +0000.779513][1dbf] MediaFilterGraph:
MediaFilterGraph construct
[036:158] [2022-09-21 19:47:48 +0000.781158][1dbf] GLESContext:
[036:159] [2022-09-21 19:47:48 +0000.781783][1dbf] The result of eglGetDisplay is:
0xb400007b90a568c0
[036:160] [2022-09-21 19:47:48 +0000.782562][1dbf] The result of creation:
0x79d4902a00
[036:160] [2022-09-21 19:47:48 +0000.782657][1dbf] The result of
eglCreatePbufferSurface is: 0x79d4902b00
[036:160] [2022-09-21 19:47:48 +0000.782779][1dbf] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4
[036:160] [2022-09-21 19:47:48 +0000.782817][1dbf] The source 0 speed:1
[036:160] [2022-09-21 19:47:48 +0000.782860][1dbf] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4,
delay: 0
[036:160] [2022-09-21 19:47:48 +0000.782899][1dbf] CreateDecoderByVideoSource
time:366427844 enter.

[036:160] [2022-09-21 19:47:48 +0000.783072][1dbf] running_decoder_count:0max


count:2
[036:160] [2022-09-21 19:47:48 +0000.783099][1dbf] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7a0d876400
[036:162] [2022-09-21 19:47:48 +0000.784469][4927] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7a62cf7400] Current FFmpeg version git-2021-06-16-
97cea6f

[036:196] [2022-09-21 19:47:48 +0000.819201][44b9] Run AGC when audioType = 0


[036:197] [2022-09-21 19:47:48 +0000.819325][44b9]
AudioDeviceDataHandler::MixAndSendOutFrame
[036:248] [2022-09-21 19:47:48 +0000.870780][4927] OnStreamInfoFound: video
duration_: 9560
[036:251] [2022-09-21 19:47:48 +0000.873571][1dbf] start decoder
[036:251] [2022-09-21 19:47:48 +0000.873663][1dbf] CreateDecoderByVideoSource
leave. expire time = 91 ms

[036:251] [2022-09-21 19:47:48 +0000.873785][1dbf] BindInputFilter 0x79d4a927a0


this 0x79d48b6fd8
[036:251] [2022-09-21 19:47:48 +0000.873875][1dbf] BindInputFilter 0x79d48b6fd8
this 0x79d49f7098
[036:251] [2022-09-21 19:47:48 +0000.873925][1dbf] BindInputFilter 0x79d4a927a0
this 0x79d49f7158
[036:251] [2022-09-21 19:47:48 +0000.873994][4928] NO get frame from decoder
[036:251] [2022-09-21 19:47:48 +0000.874025][1dbf] BindInputFilter 0x79d49f7158
this 0x79d49f7518
[036:252] [2022-09-21 19:47:48 +0000.875171][1dbf] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4
[036:253] [2022-09-21 19:47:48 +0000.875259][1dbf] BindInputFilter 0x79d49f7098
this 0x79d49f75d8
[036:253] [2022-09-21 19:47:48 +0000.875321][1dbf] BindInputFilter 0x79d49f75d8
this 0x79d48c97a0
[036:253] [2022-09-21 19:47:48 +0000.875371][1dbf] BindInputFilter 0x79d49f7518
this 0x79d49f7698
[036:253] [2022-09-21 19:47:48 +0000.875423][1dbf] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4
[036:253] [2022-09-21 19:47:48 +0000.875526][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[036:253] [2022-09-21 19:47:48 +0000.876128][1dbf] machine model :poco
[036:253] [2022-09-21 19:47:48 +0000.876201][1dbf] Support this machine model :poco
[036:254] [2022-09-21 19:47:48 +0000.876231][1dbf] global inited! current sdk
version: 07-20-936c45f
[036:254] [2022-09-21 19:47:48 +0000.876335][1dbf] GetPipeline:
-----------------------------------------
[036:254] [2022-09-21 19:47:48 +0000.876369][1dbf] GetPipeline: source:
0x79d4a92580
[036:254] [2022-09-21 19:47:48 +0000.876400][1dbf] GetPipeline: filter: NULLFilter
[036:254] [2022-09-21 19:47:48 +0000.876431][1dbf] GetPipeline: filter: NULLFilter
[036:254] [2022-09-21 19:47:48 +0000.876461][1dbf] GetPipeline: filter: NULLFilter
[036:254] [2022-09-21 19:47:48 +0000.876492][1dbf] GetPipeline: audio filter:
AuidoNULLFilter
[036:254] [2022-09-21 19:47:48 +0000.876540][1dbf] GetPipeline: audio filter:
AuidoNULLFilter
[036:254] [2022-09-21 19:47:48 +0000.876592][1dbf] GetPipeline: audio filter:
AudioNUllFilter
[036:254] [2022-09-21 19:47:48 +0000.876646][1dbf] GetPipeline:
------------------------------------------
[036:254] [2022-09-21 19:47:48 +0000.876696][1dbf] filter: filter pipeline2 update
pattern: 0
[036:255] [2022-09-21 19:47:48 +0000.877222][1dbf] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[036:255] [2022-09-21 19:47:48 +0000.878101][1dbf] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[036:256] [2022-09-21 19:47:48 +0000.878280][1dbf] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[036:256] [2022-09-21 19:47:48 +0000.878548][1dbf] DeviceInit:
[036:256] [2022-09-21 19:47:48 +0000.878779][1dbf] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[036:257] [2022-09-21 19:47:48 +0000.879344][1dbf] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[036:257] [2022-09-21 19:47:48 +0000.879777][1dbf] CreatePlatformSpecificObjects:
[036:257] [2022-09-21 19:47:48 +0000.879884][1dbf] audio device use null audio
input and opensl output
[036:257] [2022-09-21 19:47:48 +0000.879949][1dbf] Create OpenSLES output module
with java VM support.

[036:258] [2022-09-21 19:47:48 +0000.880240][1dbf] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[036:258] [2022-09-21 19:47:48 +0000.880663][1dbf] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[036:258] [2022-09-21 19:47:48 +0000.880932][1dbf] Create OpenSLES output module
with buffer num:2

[036:258] [2022-09-21 19:47:48 +0000.881013][1dbf] Error(trace.cc:40): Init the


output and input for audio device template.
[036:258] [2022-09-21 19:47:48 +0000.881072][1dbf] Init the output device.

[036:258] [2022-09-21 19:47:48 +0000.881139][1dbf] Set the playout as stereo:1


[036:259] [2022-09-21 19:47:48 +0000.881217][1dbf] Set the sample rate to be:44100
[036:259] [2022-09-21 19:47:48 +0000.881279][1dbf] Low latency buffer size:144 low
sample rate:48000
[036:259] [2022-09-21 19:47:48 +0000.881341][1dbf] DeviceInit: Done
[036:259] [2022-09-21 19:47:48 +0000.881547][1dbf] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[036:259] [2022-09-21 19:47:48 +0000.882042][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[036:259] [2022-09-21 19:47:48 +0000.882097][4932] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79d4ccc618
[036:259] [2022-09-21 19:47:48 +0000.882149][1dbf]
MediaFilterPlayer::SetPlayerNotify 0x79d4912880
[036:260] [2022-09-21 19:47:48 +0000.882443][1dbf]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[036:260] [2022-09-21 19:47:48 +0000.882481][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[036:260] [2022-09-21 19:47:48 +0000.882509][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[036:260] [2022-09-21 19:47:48 +0000.882588][1dbf] SetGraphLoop: SetGraphLoop 1
[036:260] [2022-09-21 19:47:48 +0000.882616][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[036:260] [2022-09-21 19:47:48 +0000.882651][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[036:260] [2022-09-21 19:47:48 +0000.882905][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[036:260] [2022-09-21 19:47:48 +0000.883202][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[036:261] [2022-09-21 19:47:48 +0000.883386][4934] Start:
[036:262] [2022-09-21 19:47:48 +0000.884726][4933] operator(): video render
started.
[036:263] [2022-09-21 19:47:48 +0000.885354][4934] Start:
[036:263] [2022-09-21 19:47:48 +0000.885519][4934] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[036:263] [2022-09-21 19:47:48 +0000.885605][4934] Reset: history total size: 98
[036:263] [2022-09-21 19:47:48 +0000.885642][4934] DeviceStart:
audioDevice_:0x7a0dbb7000
[036:263] [2022-09-21 19:47:48 +0000.885702][4934] DeviceStart: time profile
playout init before
[036:263] [2022-09-21 19:47:48 +0000.885733][4934] DeviceStart: time profile
playout init end
[036:263] [2022-09-21 19:47:48 +0000.885756][4934] OpenSlesOutput:Start playout

[036:264] [2022-09-21 19:47:48 +0000.886997][4934] Create the opensl output player.


streamtype before:0

[036:264] [2022-09-21 19:47:48 +0000.887057][4934] Create the opensl output player.


streamtype after:3

[036:268] [2022-09-21 19:47:48 +0000.890754][4928] NO get frame from decoder


[036:280] [2022-09-21 19:47:48 +0000.902371][4928] NO get frame from decoder
[036:285] [2022-09-21 19:47:48 +0000.907690][4928] NO get frame from decoder
[036:286] [2022-09-21 19:47:48 +0000.908516][4928] NO get frame from decoder
[036:292] [2022-09-21 19:47:48 +0000.915001][4934] Enqueue opensl buffer size:1764
[036:299] [2022-09-21 19:47:48 +0000.921743][4928] NO get frame from decoder
[036:311] [2022-09-21 19:47:48 +0000.933998][4928] NO get frame from decoder
[036:318] [2022-09-21 19:47:48 +0000.941151][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[036:324] [2022-09-21 19:47:48 +0000.946359][4933] Warning(video_render.cc:390): No
picture to display (1/50)
[036:326] [2022-09-21 19:47:48 +0000.948728][4928] NO get frame from decoder
[036:374] [2022-09-21 19:47:48 +0000.997160][4934] DeviceStart: time profile
playout all end
[036:375] [2022-09-21 19:47:48 +0000.997366][4934] operator(): Audio playback
started.
[036:375] [2022-09-21 19:47:48 +0000.997504][4934] operator(): Started now!
[036:375] [2022-09-21 19:47:48 +0000.997686][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:375] [2022-09-21 19:47:48 +0000.998090][4935] Pull audio failed.(wait video!)
[036:376] [2022-09-21 19:47:48 +0000.998693][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:376] [2022-09-21 19:47:48 +0000.999087][4935] Pull audio failed.(wait video!)
[036:403] [2022-09-21 19:47:49 +0000.25689][4933] lipsync_debug: First video frame
rendering.
[036:561] [2022-09-21 19:47:49 +0000.183676][4935] audio_frame_list_ empty
[036:606] [2022-09-21 19:47:49 +0000.228208][4934] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[036:606] [2022-09-21 19:47:49 +0000.228331][4934] First audio frame rendering
[036:606] [2022-09-21 19:47:49 +0000.229018][4935] audio frame wait video
frame.last_video_timestamp:133 last_audio_timestamp:254.921
[036:606] [2022-09-21 19:47:49 +0000.229078][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:607] [2022-09-21 19:47:49 +0000.229847][4935] audio frame wait video
frame.last_video_timestamp:133 last_audio_timestamp:254.921
[036:607] [2022-09-21 19:47:49 +0000.229914][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:608] [2022-09-21 19:47:49 +0000.230788][4935] audio frame wait video
frame.last_video_timestamp:167 last_audio_timestamp:277.914
[036:608] [2022-09-21 19:47:49 +0000.230866][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:609] [2022-09-21 19:47:49 +0000.231838][4935] audio frame wait video
frame.last_video_timestamp:167 last_audio_timestamp:277.914
[036:609] [2022-09-21 19:47:49 +0000.231914][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:610] [2022-09-21 19:47:49 +0000.232688][4935] audio frame wait video
frame.last_video_timestamp:167 last_audio_timestamp:277.914
[036:610] [2022-09-21 19:47:49 +0000.232738][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:611] [2022-09-21 19:47:49 +0000.233504][4935] audio frame wait video
frame.last_video_timestamp:167 last_audio_timestamp:277.914
[036:611] [2022-09-21 19:47:49 +0000.233553][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:612] [2022-09-21 19:47:49 +0000.234375][4935] audio frame wait video
frame.last_video_timestamp:167 last_audio_timestamp:277.914
[036:612] [2022-09-21 19:47:49 +0000.234427][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:613] [2022-09-21 19:47:49 +0000.235255][4935] audio frame wait video
frame.last_video_timestamp:167 last_audio_timestamp:277.914
[036:613] [2022-09-21 19:47:49 +0000.235309][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:613] [2022-09-21 19:47:49 +0000.236072][4935] audio frame wait video
frame.last_video_timestamp:167 last_audio_timestamp:277.914
[036:613] [2022-09-21 19:47:49 +0000.236121][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:614] [2022-09-21 19:47:49 +0000.236886][4935] audio frame wait video
frame.last_video_timestamp:167 last_audio_timestamp:277.914
[036:615] [2022-09-21 19:47:49 +0000.237235][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:615] [2022-09-21 19:47:49 +0000.238055][4935] audio frame wait video
frame.last_video_timestamp:199 last_audio_timestamp:300.907
[036:615] [2022-09-21 19:47:49 +0000.238124][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:616] [2022-09-21 19:47:49 +0000.239039][4935] audio frame wait video
frame.last_video_timestamp:199 last_audio_timestamp:300.907
[036:616] [2022-09-21 19:47:49 +0000.239121][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:617] [2022-09-21 19:47:49 +0000.239905][4935] audio frame wait video
frame.last_video_timestamp:199 last_audio_timestamp:300.907
[036:617] [2022-09-21 19:47:49 +0000.239969][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:618] [2022-09-21 19:47:49 +0000.240788][4935] audio frame wait video
frame.last_video_timestamp:199 last_audio_timestamp:300.907
[036:618] [2022-09-21 19:47:49 +0000.240841][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:619] [2022-09-21 19:47:49 +0000.241614][4935] audio frame wait video
frame.last_video_timestamp:199 last_audio_timestamp:300.907
[036:619] [2022-09-21 19:47:49 +0000.241682][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:620] [2022-09-21 19:47:49 +0000.242553][4935] audio frame wait video
frame.last_video_timestamp:234 last_audio_timestamp:347.891
[036:620] [2022-09-21 19:47:49 +0000.242705][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:621] [2022-09-21 19:47:49 +0000.243499][4935] audio frame wait video
frame.last_video_timestamp:234 last_audio_timestamp:347.891
[036:621] [2022-09-21 19:47:49 +0000.243568][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:622] [2022-09-21 19:47:49 +0000.244337][4935] audio frame wait video
frame.last_video_timestamp:234 last_audio_timestamp:347.891
[036:622] [2022-09-21 19:47:49 +0000.244393][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:623] [2022-09-21 19:47:49 +0000.245254][4935] audio frame wait video
frame.last_video_timestamp:234 last_audio_timestamp:347.891
[036:623] [2022-09-21 19:47:49 +0000.245316][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:623] [2022-09-21 19:47:49 +0000.246092][4935] audio frame wait video
frame.last_video_timestamp:234 last_audio_timestamp:347.891
[036:623] [2022-09-21 19:47:49 +0000.246142][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:624] [2022-09-21 19:47:49 +0000.246941][4935] audio frame wait video
frame.last_video_timestamp:234 last_audio_timestamp:347.891
[036:624] [2022-09-21 19:47:49 +0000.247003][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:626] [2022-09-21 19:47:49 +0000.248302][4935] audio frame wait video
frame.last_video_timestamp:234 last_audio_timestamp:347.891
[036:626] [2022-09-21 19:47:49 +0000.248391][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:626] [2022-09-21 19:47:49 +0000.249178][4935] audio frame wait video
frame.last_video_timestamp:234 last_audio_timestamp:347.891
[036:627] [2022-09-21 19:47:49 +0000.249236][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:629] [2022-09-21 19:47:49 +0000.251704][4935] audio frame wait video
frame.last_video_timestamp:270 last_audio_timestamp:370.884
[036:629] [2022-09-21 19:47:49 +0000.251924][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:630] [2022-09-21 19:47:49 +0000.252700][4935] audio frame wait video
frame.last_video_timestamp:270 last_audio_timestamp:370.884
[036:630] [2022-09-21 19:47:49 +0000.252755][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:631] [2022-09-21 19:47:49 +0000.253542][4935] audio frame wait video
frame.last_video_timestamp:270 last_audio_timestamp:370.884
[036:631] [2022-09-21 19:47:49 +0000.253707][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:632] [2022-09-21 19:47:49 +0000.254886][4935] audio frame wait video
frame.last_video_timestamp:270 last_audio_timestamp:370.884
[036:632] [2022-09-21 19:47:49 +0000.254966][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:633] [2022-09-21 19:47:49 +0000.255753][4935] audio frame wait video
frame.last_video_timestamp:270 last_audio_timestamp:370.884
[036:633] [2022-09-21 19:47:49 +0000.255823][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:634] [2022-09-21 19:47:49 +0000.256601][4935] audio frame wait video
frame.last_video_timestamp:270 last_audio_timestamp:370.884
[036:634] [2022-09-21 19:47:49 +0000.256660][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:635] [2022-09-21 19:47:49 +0000.257437][4935] audio frame wait video
frame.last_video_timestamp:270 last_audio_timestamp:370.884
[036:635] [2022-09-21 19:47:49 +0000.257494][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:636] [2022-09-21 19:47:49 +0000.258353][4935] audio frame wait video
frame.last_video_timestamp:270 last_audio_timestamp:370.884
[036:636] [2022-09-21 19:47:49 +0000.258415][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:636] [2022-09-21 19:47:49 +0000.259178][4935] audio frame wait video
frame.last_video_timestamp:270 last_audio_timestamp:370.884
[036:637] [2022-09-21 19:47:49 +0000.259276][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:637] [2022-09-21 19:47:49 +0000.260091][4935] audio frame wait video
frame.last_video_timestamp:270 last_audio_timestamp:370.884
[036:637] [2022-09-21 19:47:49 +0000.260149][4935]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[036:638] [2022-09-21 19:47:49 +0000.260395][4936] Error(video_source.cc:430): wait
decoder a frame: 0
[036:718] [2022-09-21 19:47:49 +0000.340668][4933] lipsync_debug:displaying video
ts:30240 The current displayed video timestamp is:366428402
[036:832] [2022-09-21 19:47:49 +0000.454326][4933] DriveRender working... (1/200)
[037:262] [2022-09-21 19:47:49 +0000.884659][4933] Warning(video_render.cc:390): No
picture to display (1/50)
[037:499] [2022-09-21 19:47:50 +0000.121657][4937]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[037:527] [2022-09-21 19:47:50 +0000.149267][4933] lipsync_debug:displaying video
ts:90090 The current displayed video timestamp is:366429211
[037:632] [2022-09-21 19:47:50 +0000.254457][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[037:633] [2022-09-21 19:47:50 +0000.255243][4934] Stop:
[037:633] [2022-09-21 19:47:50 +0000.255370][4933] operator(): Video Render
stopped.
[037:634] [2022-09-21 19:47:50 +0000.256298][4934] Stop:
[037:634] [2022-09-21 19:47:50 +0000.256863][4934] DeviceStop:
audioDevice_:0x7a0dbb7000
[037:634] [2022-09-21 19:47:50 +0000.256914][4934] OpenSlesOutput:Stop playout

[037:636] [2022-09-21 19:47:50 +0000.258663][4934] DeviceStop: Done


[037:636] [2022-09-21 19:47:50 +0000.258854][4934] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[037:636] [2022-09-21 19:47:50 +0000.258924][4934] operator(): Stop now!
[037:689] [2022-09-21 19:47:50 +0000.311366][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[037:689] [2022-09-21 19:47:50 +0000.311483][1dbf] StopPreView: Have Stopped,
operation cancel
[037:689] [2022-09-21 19:47:50 +0000.311518][1dbf] Stop:
[037:689] [2022-09-21 19:47:50 +0000.311663][4934] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[037:689] [2022-09-21 19:47:50 +0000.311923][1dbf] DeviceRelease:
audioDevice_:0x7a0dbb7000
[037:689] [2022-09-21 19:47:50 +0000.311968][1dbf] OpenSlesOutput:Stop playout

[037:689] [2022-09-21 19:47:50 +0000.312019][1dbf] DeviceRelease: Release the


webrtc device object.
[037:690] [2022-09-21 19:47:50 +0000.312641][1dbf] OpenSlesOutput destruct.

[037:690] [2022-09-21 19:47:50 +0000.312710][1dbf] DeviceRelease: Done


[037:691] [2022-09-21 19:47:50 +0000.313212][1dbf] Stop:
[037:691] [2022-09-21 19:47:50 +0000.313348][4933] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[037:696] [2022-09-21 19:47:50 +0000.318667][1dbf] global uninited!
[037:696] [2022-09-21 19:47:50 +0000.318777][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[037:696] [2022-09-21 19:47:50 +0000.318841][1dbf] ~MediaFilterGraph:
MediaFilterGraph destruct
[037:696] [2022-09-21 19:47:50 +0000.318861][1dbf] RemoveVideoBackGroud: hava not
add video backgroud
[037:696] [2022-09-21 19:47:50 +0000.318893][1dbf] UnbindInputFilter 0x79d49f75d8
this 0x79d48c97a0
[037:696] [2022-09-21 19:47:50 +0000.318921][1dbf] ClearAllSource: remove source
filter, sourceid: 0x79d4a92580
[037:696] [2022-09-21 19:47:50 +0000.318940][1dbf] DestoryDecoderByVideoSource
time:366429380 enter.

[037:696] [2022-09-21 19:47:50 +0000.319007][1dbf] ~VideoBindDecoder time:366429380


enter.

[037:696] [2022-09-21 19:47:50 +0000.319123][1dbf] CleanUp time:366429380 enter.

[037:702] [2022-09-21 19:47:50 +0000.325046][1dbf] CleanUp leave. expire time = 6


ms

[037:702] [2022-09-21 19:47:50 +0000.325124][1dbf] CleanUp time:366429386 enter.

[037:704] [2022-09-21 19:47:50 +0000.326317][1dbf] CleanUp leave. expire time = 2


ms

[037:706] [2022-09-21 19:47:50 +0000.329120][1dbf] ~VideoBindDecoder leave. expire


time = 10 ms

[037:706] [2022-09-21 19:47:50 +0000.329180][1dbf] DestoryDecoderByVideoSource


leave. expire time = 10 ms

[037:707] [2022-09-21 19:47:50 +0000.329221][1dbf] UnbindInputFilter 0x79d49f7098


this 0x79d49f75d8
[037:707] [2022-09-21 19:47:50 +0000.329256][1dbf] UnbindInputFilter 0x79d48b6fd8
this 0x79d49f7098
[037:707] [2022-09-21 19:47:50 +0000.329293][1dbf] UnbindInputFilter 0x79d4a927a0
this 0x79d48b6fd8
[037:707] [2022-09-21 19:47:50 +0000.329330][1dbf] UnbindInputFilter 0x79d49f7518
this 0x79d49f7698
[037:707] [2022-09-21 19:47:50 +0000.329362][1dbf] UnbindInputFilter 0x79d49f7158
this 0x79d49f7518
[037:707] [2022-09-21 19:47:50 +0000.329399][1dbf] UnbindInputFilter 0x79d4a927a0
this 0x79d49f7158
[037:707] [2022-09-21 19:47:50 +0000.329611][1dbf] ~GLESContext:
[037:711] [2022-09-21 19:47:50 +0000.333743][1dbf] GLESContext destruct finish.
[037:711] [2022-09-21 19:47:50 +0000.333801][1dbf] filter: filter pipeline destroy
this: 0x79d48c9700
[037:712] [2022-09-21 19:47:50 +0000.335147][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[037:713] [2022-09-21 19:47:50 +0000.335919][1dbf] machine model :poco
[037:713] [2022-09-21 19:47:50 +0000.335959][1dbf] Support this machine model :poco
[037:713] [2022-09-21 19:47:50 +0000.336003][1dbf] global inited! current sdk
version: 07-20-936c45f
[037:714] [2022-09-21 19:47:50 +0000.336432][1dbf] filter: filter pipeline
construtc this: 0x79d48c9700
[037:714] [2022-09-21 19:47:50 +0000.336477][1dbf] MediaFilterGraph:
MediaFilterGraph construct
[037:714] [2022-09-21 19:47:50 +0000.336526][1dbf] GLESContext:
[037:714] [2022-09-21 19:47:50 +0000.336593][1dbf] The result of eglGetDisplay is:
0xb400007b90a568c0
[037:715] [2022-09-21 19:47:50 +0000.337534][1dbf] The result of creation:
0x79d4902780
[037:715] [2022-09-21 19:47:50 +0000.337634][1dbf] The result of
eglCreatePbufferSurface is: 0x79d4902880
[037:715] [2022-09-21 19:47:50 +0000.337801][1dbf] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4
[037:715] [2022-09-21 19:47:50 +0000.337845][1dbf] The source 0 speed:1
[037:715] [2022-09-21 19:47:50 +0000.337925][1dbf] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4,
delay: 0
[037:715] [2022-09-21 19:47:50 +0000.337963][1dbf] CreateDecoderByVideoSource
time:366429399 enter.

[037:715] [2022-09-21 19:47:50 +0000.338176][1dbf] running_decoder_count:0max


count:2
[037:717] [2022-09-21 19:47:50 +0000.340047][1dbf] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7a0d876400
[037:719] [2022-09-21 19:47:50 +0000.341618][493e] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x79f7b6ae00] Current FFmpeg version git-2021-06-16-
97cea6f

[037:799] [2022-09-21 19:47:50 +0000.421608][493e] OnStreamInfoFound: video


duration_: 9560
[037:800] [2022-09-21 19:47:50 +0000.422933][1dbf] start decoder
[037:800] [2022-09-21 19:47:50 +0000.422929][493f] NO get frame from decoder
[037:800] [2022-09-21 19:47:50 +0000.423041][1dbf] CreateDecoderByVideoSource
leave. expire time = 85 ms

[037:800] [2022-09-21 19:47:50 +0000.423171][1dbf] BindInputFilter 0x79d4a927a0


this 0x79d48b6a98
[037:801] [2022-09-21 19:47:50 +0000.423285][1dbf] BindInputFilter 0x79d48b6a98
this 0x79d48b6b58
[037:801] [2022-09-21 19:47:50 +0000.423349][1dbf] BindInputFilter 0x79d4a927a0
this 0x79d48b6c18
[037:801] [2022-09-21 19:47:50 +0000.423401][1dbf] BindInputFilter 0x79d48b6c18
this 0x79d48b6cd8
[037:801] [2022-09-21 19:47:50 +0000.423446][1dbf] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4
[037:801] [2022-09-21 19:47:50 +0000.423513][1dbf] BindInputFilter 0x79d48b6b58
this 0x79d48b6d98
[037:801] [2022-09-21 19:47:50 +0000.423578][1dbf] BindInputFilter 0x79d48b6d98
this 0x79d48c97a0
[037:801] [2022-09-21 19:47:50 +0000.423688][1dbf] BindInputFilter 0x79d48b6cd8
this 0x79d48b6e58
[037:801] [2022-09-21 19:47:50 +0000.423747][1dbf] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366417740.mp4
[037:804] [2022-09-21 19:47:50 +0000.427170][493f] NO get frame from decoder
[037:808] [2022-09-21 19:47:50 +0000.430546][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[037:808] [2022-09-21 19:47:50 +0000.430814][1dbf] MediaComposeFile time:366429492
enter.

[037:808] [2022-09-21 19:47:50 +0000.430816][493f] NO get frame from decoder


[037:808] [2022-09-21 19:47:50 +0000.430957][1dbf] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[037:809] [2022-09-21 19:47:50 +0000.431361][1dbf] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[037:809] [2022-09-21 19:47:50 +0000.431428][1dbf] Recording session using default
bitrate support by app:31457280
[037:809] [2022-09-21 19:47:50 +0000.432051][494a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79cbb6ca40
[037:809] [2022-09-21 19:47:50 +0000.432149][494a] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[037:810] [2022-09-21 19:47:50 +0000.432313][1dbf] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[037:810] [2022-09-21 19:47:50 +0000.432670][493f] NO get frame from decoder
[037:810] [2022-09-21 19:47:50 +0000.433102][1dbf] GetPipeline:
-----------------------------------------
[037:810] [2022-09-21 19:47:50 +0000.433161][1dbf] GetPipeline: source:
0x79d4a92580
[037:811] [2022-09-21 19:47:50 +0000.433213][1dbf] GetPipeline: filter: NULLFilter
[037:811] [2022-09-21 19:47:50 +0000.433255][1dbf] GetPipeline: filter: NULLFilter
[037:811] [2022-09-21 19:47:50 +0000.433301][1dbf] GetPipeline: filter: NULLFilter
[037:811] [2022-09-21 19:47:50 +0000.433351][1dbf] GetPipeline: audio filter:
AuidoNULLFilter
[037:811] [2022-09-21 19:47:50 +0000.433400][1dbf] GetPipeline: audio filter:
AuidoNULLFilter
[037:811] [2022-09-21 19:47:50 +0000.433444][1dbf] GetPipeline: audio filter:
AudioNUllFilter
[037:811] [2022-09-21 19:47:50 +0000.433495][1dbf] GetPipeline:
------------------------------------------
[037:811] [2022-09-21 19:47:50 +0000.433536][1dbf] filter: filter pipeline2 update
pattern: 2
[037:811] [2022-09-21 19:47:50 +0000.434066][493f] NO get frame from decoder
[037:816] [2022-09-21 19:47:50 +0000.438442][493f] NO get frame from decoder
[037:816] [2022-09-21 19:47:50 +0000.438851][1dbf] MediaComposeFile leave. expire
time = 8 ms

[037:817] [2022-09-21 19:47:50 +0000.439353][1dbf] machine model :poco


[037:817] [2022-09-21 19:47:50 +0000.439422][1dbf] Support this machine model :poco
[037:817] [2022-09-21 19:47:50 +0000.439454][1dbf] global inited! current sdk
version: 07-20-936c45f
[037:822] [2022-09-21 19:47:50 +0000.445198][493f] NO get frame from decoder
[037:825] [2022-09-21 19:47:50 +0000.447720][493f] NO get frame from decoder
[037:836] [2022-09-21 19:47:50 +0000.459062][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[037:836] [2022-09-21 19:47:50 +0000.459194][1dbf] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 280
[037:837] [2022-09-21 19:47:50 +0000.459783][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[037:837] [2022-09-21 19:47:50 +0000.459845][1dbf] BeginCompose: BeginCompose, is
composing 0
[037:837] [2022-09-21 19:47:50 +0000.459995][494a] start recording, file path:
[037:838] [2022-09-21 19:47:50 +0000.460232][494a] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 280 audio_timescale:44100
video_timescale:90000
[037:838] [2022-09-21 19:47:50 +0000.460299][494a] 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
[037:838] [2022-09-21 19:47:50 +0000.460332][494a] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 280
[037:838] [2022-09-21 19:47:50 +0000.460410][494a] fd_open successed
handle:0xb400007b90a340b0
[037:838] [2022-09-21 19:47:50 +0000.460555][494a] create mp4 file:313
m_fileHandle: 0x7a0db35500
[037:838] [2022-09-21 19:47:50 +0000.460583][494a] MP4 file: is opened successfully
[037:838] [2022-09-21 19:47:50 +0000.460603][494a] setupMediaProcessers:
[037:838] [2022-09-21 19:47:50 +0000.460621][494a]
RecordingSessionInternalSimple:setup media processers.
[037:838] [2022-09-21 19:47:50 +0000.460642][494a] construct AAC encoder
[037:838] [2022-09-21 19:47:50 +0000.460895][494f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a0d8a9098
[037:838] [2022-09-21 19:47:50 +0000.461185][494a] H264Encoder creating:
ultrafast012323
[037:839] [2022-09-21 19:47:50 +0000.461260][494a] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[037:839] [2022-09-21 19:47:50 +0000.462167][494a] H264Encode::GetMachineModel is
M2012K11AG
[037:840] [2022-09-21 19:47:50 +0000.462914][494a] H264Encoder machine_mode
is:M2012K11AG
[037:840] [2022-09-21 19:47:50 +0000.462999][494a] H264Encode::machine size :9
machine_mode:M2012K11AG
[037:840] [2022-09-21 19:47:50 +0000.463035][494a] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[037:840] [2022-09-21 19:47:50 +0000.463069][494a] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[037:840] [2022-09-21 19:47:50 +0000.463101][494a] setupCompressionSession:
[037:840] [2022-09-21 19:47:50 +0000.463132][494a] H264Encode::creating hareware
Encoder
[037:840] [2022-09-21 19:47:50 +0000.463164][494a] AndroidHwAvcEncoder
time:366429524 enter.

[037:841] [2022-09-21 19:47:50 +0000.463405][494a] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b90964380 address:0x79e5ec3760
[037:841] [2022-09-21 19:47:50 +0000.463581][494a] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[037:841] [2022-09-21 19:47:50 +0000.463625][494a] The video avc hw codec address
is 0x7a0db2c270
[037:841] [2022-09-21 19:47:50 +0000.463709][494a] AndroidHwAvcEncoder leave.
expire time = 1 ms

[037:841] [2022-09-21 19:47:50 +0000.463747][494a] RegisterEncodeCompleteCallback


time:366429525 enter.

[037:841] [2022-09-21 19:47:50 +0000.463837][494a] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[037:841] [2022-09-21 19:47:50 +0000.463887][494a] InitEncode time:366429525


enter.

[037:842] [2022-09-21 19:47:50 +0000.464266][494a] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[037:842] [2022-09-21 19:47:50 +0000.464313][494a] Create time:366429526 enter.

[037:842] [2022-09-21 19:47:50 +0000.464346][494a] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[037:842] [2022-09-21 19:47:50 +0000.464389][494a]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x79d49f7480
[037:842] [2022-09-21 19:47:50 +0000.464594][494a]
supported_type:image/vnd.android.heic
[037:842] [2022-09-21 19:47:50 +0000.464667][494a] supported_type:video/avc
[037:842] [2022-09-21 19:47:50 +0000.464704][494a] name:OMX.qcom.video.encoder.avc
mime:video/avc
[037:842] [2022-09-21 19:47:50 +0000.464756][494a] hwCodecPrefix :OMX.qcom.
[037:842] [2022-09-21 19:47:50 +0000.464793][494a] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[037:842] [2022-09-21 19:47:50 +0000.464831][494a] mediacodec_createCodecByName
time:366429526 enter.

[037:842] [2022-09-21 19:47:50 +0000.464865][494a] WrapAndroidMediaCodec


time:366429526 enter.

[037:842] [2022-09-21 19:47:50 +0000.465029][494a] WrapAndroidMediaCodec leave.


expire time = 0 ms

[037:878] [2022-09-21 19:47:50 +0000.500218][494a] mediacodec_createCodecByName


leave. expire time = 36 ms

[037:878] [2022-09-21 19:47:50 +0000.500298][494a] WrapAndroidMediaFromat


time:366429562 enter.

[037:878] [2022-09-21 19:47:50 +0000.500356][494a] WrapAndroidMediaFromat leave.


expire time = 0 ms

[037:936] [2022-09-21 19:47:50 +0000.559155][494a] Destroy time:366429620 enter.

[037:937] [2022-09-21 19:47:50 +0000.559263][494a] WrapAndroidMediaFromat::


Destroy
[037:937] [2022-09-21 19:47:50 +0000.559290][494a] Destroy leave. expire time = 1
ms

[037:937] [2022-09-21 19:47:50 +0000.559312][494a] ~WrapAndroidMediaFromat


time:366429621 enter.

[037:937] [2022-09-21 19:47:50 +0000.559334][494a] ~WrapAndroidMediaFromat leave.


expire time = 0 ms
[037:937] [2022-09-21 19:47:50 +0000.559359][494a] Create leave. expire time = 95
ms

[037:937] [2022-09-21 19:47:50 +0000.559380][494a] isSemiPlanarSupport


time:366429621 enter.

[037:937] [2022-09-21 19:47:50 +0000.559401][494a] H264Encoder isSemiPlanarSupport


[037:937] [2022-09-21 19:47:50 +0000.559422][494a] isSemiPlanarSupport leave.
expire time = 0 ms

[037:937] [2022-09-21 19:47:50 +0000.559443][494a] creat hw H264Encoder success,


isSemiPlanar:1
[037:937] [2022-09-21 19:47:50 +0000.559515][494a] InitEncode leave. expire time =
96 ms

[037:937] [2022-09-21 19:47:50 +0000.559541][494a] H264Encode::created Encoder


[037:937] [2022-09-21 19:47:50 +0000.559563][494a] H264Encode:: H264 encoder
created.
[037:937] [2022-09-21 19:47:50 +0000.559584][494a] H264 encoder created.
[037:937] [2022-09-21 19:47:50 +0000.559604][494a]
RecordingSessionInternalSimple:created avc encoder avc: 0x7a0d94c880
[037:937] [2022-09-21 19:47:50 +0000.559625][494a] setOutput:
[037:937] [2022-09-21 19:47:50 +0000.559644][494a]
RecordingSessionInternalSimple:encoder set output to muxer!
[037:937] [2022-09-21 19:47:50 +0000.559663][494a] request a key frame
[037:937] [2022-09-21 19:47:50 +0000.559682][494a] H264Encode:: request a key frame
[037:938] [2022-09-21 19:47:50 +0000.560693][494a] setDisplayRotate :90
[037:938] [2022-09-21 19:47:50 +0000.560739][494a] 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
[037:941] [2022-09-21 19:47:50 +0000.563608][494b] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[037:943] [2022-09-21 19:47:50 +0000.565682][494b]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[037:979] [2022-09-21 19:47:50 +0000.602139][494a] setDisplayRotate :90
[037:980] [2022-09-21 19:47:50 +0000.602239][494a] 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
[038:001] [2022-09-21 19:47:50 +0000.623909][494a] setDisplayRotate :90
[038:001] [2022-09-21 19:47:50 +0000.623967][494a] 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
[038:082] [2022-09-21 19:47:50 +0000.704536][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[038:151] [2022-09-21 19:47:50 +0000.773347][494f] add aac audio track with id:1
[038:151] [2022-09-21 19:47:50 +0000.773441][494f] audio start ts:0
[038:151] [2022-09-21 19:47:50 +0000.773475][494f] the audio frame has been written
into MP4 file
[038:154] [2022-09-21 19:47:50 +0000.777024][494a] setDisplayRotate :90
[038:154] [2022-09-21 19:47:50 +0000.777073][494a] 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
[038:157] [2022-09-21 19:47:50 +0000.780082][494b] DTS queue for
Generator:0x7a0d8a9eb8 10 36 69 100 133 167 199 234 270
[038:175] [2022-09-21 19:47:50 +0000.797690][494b] h264 add frame header cdr flag
[038:176] [2022-09-21 19:47:50 +0000.799050][494b] h264 add frame header cdr flag
[038:177] [2022-09-21 19:47:50 +0000.800199][494b] Received key frame:10
[038:178] [2022-09-21 19:47:50 +0000.800274][494b] H264Encode:: get a sps pps
header!headerSize:32
[038:178] [2022-09-21 19:47:50 +0000.800379][494f] get the H.264 SPS parameter
[038:178] [2022-09-21 19:47:50 +0000.800581][494f] add video track with id:2
[038:180] [2022-09-21 19:47:50 +0000.802573][494f] get the H.264 PPS parameter
[038:181] [2022-09-21 19:47:50 +0000.803987][494f] get the H.264 IDR frame
[038:181] [2022-09-21 19:47:50 +0000.804049][494f] resss:true
[038:181] [2022-09-21 19:47:50 +0000.804121][494f] video start ts:10
[038:182] [2022-09-21 19:47:50 +0000.804260][494f] the video frame has been written
into MP4 file
[038:183] [2022-09-21 19:47:50 +0000.805837][494d] Error(video_source.cc:430): wait
decoder a frame: 0
[038:195] [2022-09-21 19:47:50 +0000.817754][44b9] Run AGC when audioType = 0
[038:202] [2022-09-21 19:47:50 +0000.824873][494b] Push an pts:435 to dts queue.
[038:246] [2022-09-21 19:47:50 +0000.869097][494e] audio_frame_list_ empty
[038:271] [2022-09-21 19:47:50 +0000.893905][494b] last dts:398 currentPts:435
ppsOrSPS:0 queue length:8
[038:366] [2022-09-21 19:47:50 +0000.988430][494b] DTS queue for
Generator:0x7a0d8a9eb8 834 866 902 934 969 1001 1033 1068
[038:484] [2022-09-21 19:47:51 +0000.106946][494a] setDisplayRotate :90
[038:484] [2022-09-21 19:47:51 +0000.106995][494a] 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
[038:489] [2022-09-21 19:47:51 +0000.111888][494b] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1068 pts:1068
[038:491] [2022-09-21 19:47:51 +0000.114163][494b] SendFrame
encodedImage._timeStamp:1099encodedImage->_length:98192
[038:494] [2022-09-21 19:47:51 +0000.117170][494b] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1265
[038:495] [2022-09-21 19:47:51 +0000.117231][494b] push video frame to H264
encoder. (100 frame for one log)

[038:495] [2022-09-21 19:47:51 +0000.117255][494b] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[038:495] [2022-09-21 19:47:51 +0000.117277][494b] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:1265(100 frame for one
log)

[038:497] [2022-09-21 19:47:51 +0000.119257][494b] The input pts:1265 fps:30


[038:497] [2022-09-21 19:47:51 +0000.120104][494d] webrtc common_video plane
old ..... (1/1000) new: 11001 delete: 10976 diff: 25
[038:556] [2022-09-21 19:47:51 +0000.178741][494d] Error(video_source.cc:430): wait
decoder a frame: 0
[038:571] [2022-09-21 19:47:51 +0000.194139][494b] H264Encode::H264SWEncoder get
callback, length:96496 type:1 nalType:1length:96492
[038:599] [2022-09-21 19:47:51 +0000.221308][494e] audio_frame_list_ empty
[038:632] [2022-09-21 19:47:51 +0000.255088][494b] Push an pts:1769 to dts queue.
[038:669] [2022-09-21 19:47:51 +0000.291206][494b] DTS queue for
Generator:0x7a0d8a9eb8 1666 1701 1735 1769 1799 1834 1868 1900
[038:701] [2022-09-21 19:47:51 +0000.323464][494b] last dts:1735 currentPts:1769
ppsOrSPS:0 queue length:9
[038:820] [2022-09-21 19:47:51 +0000.443176][494a] setDisplayRotate :90
[038:821] [2022-09-21 19:47:51 +0000.443452][494a] 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
[038:833] [2022-09-21 19:47:51 +0000.456002][494b] h264 add frame header cdr flag
[038:834] [2022-09-21 19:47:51 +0000.456391][494b] Received key frame:1997
[038:837] [2022-09-21 19:47:51 +0000.459209][494f] get the H.264 IDR frame
[038:970] [2022-09-21 19:47:51 +0000.592683][494b] DTS queue for
Generator:0x7a0d8a9eb8 2497 2530 2563 2597 2630 2664 2696
[038:980] [2022-09-21 19:47:51 +0000.603207][494e] audio_frame_list_ empty
[039:029] [2022-09-21 19:47:51 +0000.651861][494d] Error(video_source.cc:430): wait
decoder a frame: 20
[039:072] [2022-09-21 19:47:51 +0000.694347][494b] Push an pts:3094 to dts queue.
[039:112] [2022-09-21 19:47:51 +0000.734411][494d] video frame wait audio frame:
last_video_timestamp:3261 last_audio_timestamp:3040.05
[039:197] [2022-09-21 19:47:51 +0000.819250][494a] setDisplayRotate :90
[039:197] [2022-09-21 19:47:51 +0000.819310][494a] 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
[039:208] [2022-09-21 19:47:51 +0000.831129][494b] last dts:3061 currentPts:3094
ppsOrSPS:0 queue length:7
[039:262] [2022-09-21 19:47:51 +0000.884917][494b] DTS queue for
Generator:0x7a0d8a9eb8 3298 3329 3360 3395 3429 3463 3494 3527 3562
[039:345] [2022-09-21 19:47:51 +0000.967855][494e] audio_frame_list_ empty
[039:439] [2022-09-21 19:47:52 +0000.61861][494b] h264 add frame header cdr flag
[039:440] [2022-09-21 19:47:52 +0000.62247][494b] Received key frame:3997
[039:441] [2022-09-21 19:47:52 +0000.63632][494f] get the H.264 IDR frame
[039:523] [2022-09-21 19:47:52 +0000.145801][494a] setDisplayRotate :90
[039:523] [2022-09-21 19:47:52 +0000.145887][494a] 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
[039:535] [2022-09-21 19:47:52 +0000.158060][494b] DTS queue for
Generator:0x7a0d8a9eb8 4201 4231 4265 4298
[039:544] [2022-09-21 19:47:52 +0000.166656][494b] Push an pts:4434 to dts queue.
[039:560] [2022-09-21 19:47:52 +0000.182277][494d] Error(video_source.cc:430): wait
decoder a frame: 0
[039:560] [2022-09-21 19:47:52 +0000.182801][494d] FilterPipeline2::OnVideoFrame
pts 416610 last_video_timestamp_ 4629
[039:608] [2022-09-21 19:47:52 +0000.230741][494b] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:4629
[039:608] [2022-09-21 19:47:52 +0000.230856][494b] push video frame to H264
encoder. (100 frame for one log)

[039:608] [2022-09-21 19:47:52 +0000.230923][494b] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[039:608] [2022-09-21 19:47:52 +0000.230953][494b] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:4629(100 frame for one
log)

[039:608] [2022-09-21 19:47:52 +0000.230988][494b] The input pts:4629 fps:30


[039:637] [2022-09-21 19:47:52 +0000.259447][494b] SendFrame
encodedImage._timeStamp:4434encodedImage->_length:86880
[039:637] [2022-09-21 19:47:52 +0000.259528][494b] last dts:4396 currentPts:4434
ppsOrSPS:0 queue length:9
[039:637] [2022-09-21 19:47:52 +0000.259559][494b] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4434 pts:4434
[039:676] [2022-09-21 19:47:52 +0000.298685][494b] H264Encode::H264SWEncoder get
callback, length:76848 type:1 nalType:1length:76844
[039:726] [2022-09-21 19:47:52 +0000.348404][494e] audio_frame_list_ empty
[039:750] [2022-09-21 19:47:52 +0000.372822][494b] DTS queue for
Generator:0x7a0d8a9eb8 4961 4996 5031 5065 5098 5132 5161 5204
[039:858] [2022-09-21 19:47:52 +0000.480225][44b9] haveEnoughProcessedData
internalAudioStream.length: 0
[039:879] [2022-09-21 19:47:52 +0000.501629][494a] setDisplayRotate :90
[039:879] [2022-09-21 19:47:52 +0000.501702][494a] 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
[039:904] [2022-09-21 19:47:52 +0000.526512][494d] webrtc common_video plane
old ..... (1/1000) new: 12001 delete: 11968 diff: 33
[039:972] [2022-09-21 19:47:52 +0000.594872][494d] Error(video_source.cc:430): wait
decoder a frame: 0
[039:997] [2022-09-21 19:47:52 +0000.619906][494b] Push an pts:5769 to dts queue.
[040:042] [2022-09-21 19:47:52 +0000.664501][494b] last dts:5730 currentPts:5769
ppsOrSPS:0 queue length:7
[040:048] [2022-09-21 19:47:52 +0000.670760][494b] DTS queue for
Generator:0x7a0d8a9eb8 5794 5832 5865 5896 5931 5964 5996 6031
[040:091] [2022-09-21 19:47:52 +0000.713870][494e] audio_frame_list_ empty
[040:101] [2022-09-21 19:47:52 +0000.724200][494b] h264 add frame header cdr flag
[040:102] [2022-09-21 19:47:52 +0000.724510][494b] Received key frame:5996
[040:114] [2022-09-21 19:47:52 +0000.736735][494f] get the H.264 IDR frame
[040:191] [2022-09-21 19:47:52 +0000.813609][44ba] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[040:191] [2022-09-21 19:47:52 +0000.813680][44ba] _deviceSampleRate:48000

[040:193] [2022-09-21 19:47:52 +0000.815749][44b9] Run AGC when audioType = 0


[040:193] [2022-09-21 19:47:52 +0000.815857][44b9]
AudioDeviceDataHandler::MixAndSendOutFrame
[040:207] [2022-09-21 19:47:52 +0000.829588][494a] setDisplayRotate :90
[040:207] [2022-09-21 19:47:52 +0000.829661][494a] 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
[040:318] [2022-09-21 19:47:52 +0000.940205][494b] DTS queue for
Generator:0x7a0d8a9eb8 6630 6661 6697 6726 6761 6794 6828
[040:366] [2022-09-21 19:47:52 +0000.988956][494b] Push an pts:7099 to dts queue.
[040:433] [2022-09-21 19:47:53 +0000.55793][494e] audio_frame_list_ empty
[040:523] [2022-09-21 19:47:53 +0000.145794][494d] Error(video_source.cc:430): wait
decoder a frame: 0
[040:524] [2022-09-21 19:47:53 +0000.146338][494a] setDisplayRotate :90
[040:524] [2022-09-21 19:47:53 +0000.146388][494a] 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
[040:530] [2022-09-21 19:47:53 +0000.152707][494b] last dts:7063 currentPts:7099
ppsOrSPS:0 queue length:9
[040:606] [2022-09-21 19:47:53 +0000.228617][494b] DTS queue for
Generator:0x7a0d8a9eb8 7459 7492 7533 7563 7593 7628 7662
[040:674] [2022-09-21 19:47:53 +0000.296387][494b] SendFrame
encodedImage._timeStamp:7768encodedImage->_length:100112
[040:674] [2022-09-21 19:47:53 +0000.297080][494b] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:7994
[040:674] [2022-09-21 19:47:53 +0000.297129][494b] push video frame to H264
encoder. (100 frame for one log)

[040:674] [2022-09-21 19:47:53 +0000.297149][494b] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[040:674] [2022-09-21 19:47:53 +0000.297169][494b] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:7994(100 frame for one
log)

[040:674] [2022-09-21 19:47:53 +0000.297200][494b] The input pts:7994 fps:30


[040:686] [2022-09-21 19:47:53 +0000.308891][494b] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:7792 pts:7792
[040:739] [2022-09-21 19:47:53 +0000.362053][494b] h264 add frame header cdr flag
[040:740] [2022-09-21 19:47:53 +0000.362481][494b] Received key frame:7994
[040:740] [2022-09-21 19:47:53 +0000.362534][494b] H264Encode::H264SWEncoder get
callback, length:218384 type:0 nalType:5length:218380
[040:756] [2022-09-21 19:47:53 +0000.378608][494f] get the H.264 IDR frame
[040:802] [2022-09-21 19:47:53 +0000.424685][494e] audio_frame_list_ empty
[040:868] [2022-09-21 19:47:53 +0000.490898][494a] setDisplayRotate :90
[040:868] [2022-09-21 19:47:53 +0000.491028][494a] 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
[040:884] [2022-09-21 19:47:53 +0000.506964][494b] Push an pts:8427 to dts queue.
[040:886] [2022-09-21 19:47:53 +0000.509114][494b] DTS queue for
Generator:0x7a0d8a9eb8 8294 8327 8365 8394 8427 8460
[040:907] [2022-09-21 19:47:53 +0000.529371][494d] Error(video_source.cc:430): wait
decoder a frame: 0
[040:950] [2022-09-21 19:47:53 +0000.572742][494b] last dts:8394 currentPts:8427
ppsOrSPS:0 queue length:8
[041:036] [2022-09-21 19:47:53 +0000.659059][493f] av_read_frame AVERROR_EOF
[041:092] [2022-09-21 19:47:53 +0000.714497][494b] DTS queue for
Generator:0x7a0d8a9eb8 9127 9165 9201 9228 9257 9295
[041:106] [2022-09-21 19:47:53 +0000.729149][493f] OnReceiveEOF:
[041:107] [2022-09-21 19:47:53 +0000.729218][493f] OnDecoderEOF time:366432791
enter.

[041:107] [2022-09-21 19:47:53 +0000.729256][493f] OnDecoderEOF leave. expire time


= 0 ms

[041:107] [2022-09-21 19:47:53 +0000.729276][493f] OnDecoderFinished:


OnDecoderFinished total decoder frames:287 this:0x79d4a92580
[041:107] [2022-09-21 19:47:53 +0000.729282][493d] CleanUp time:366432791 enter.

[041:108] [2022-09-21 19:47:53 +0000.730359][494d]


Warning(media_filter_composefile.cc:321): pull video frame failed:8
[041:108] [2022-09-21 19:47:53 +0000.730425][494d] OnVideoTimer: OnVideoTimer
return
[041:107] [2022-09-21 19:47:53 +0000.729323][493f] NULLFilter::OnVideoSourceEOF
0x79d4a92580 this 0x79d48b6a00
[041:108] [2022-09-21 19:47:53 +0000.730562][493f] NULLFilter::OnVideoSourceEOF
0x79d48b6a00 this 0x79d48b6ac0
[041:108] [2022-09-21 19:47:53 +0000.730639][493f] NULLFilter::OnVideoSourceEOF
0x79d48b6ac0 this 0x79d48b6d00
[041:109] [2022-09-21 19:47:53 +0000.731783][494e] PullAudioFrame: PullFrame audio
finished.
[041:109] [2022-09-21 19:47:53 +0000.731850][494e]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[041:109] [2022-09-21 19:47:53 +0000.731880][494e] OnAudioTimer: OnAudioTimer
EndComposeFile
[041:109] [2022-09-21 19:47:53 +0000.731921][494e] EndComposeFile: EndComposeFile,
is composing 1
[041:113] [2022-09-21 19:47:53 +0000.735418][493d] CleanUp leave. expire time = 6
ms

[041:113] [2022-09-21 19:47:53 +0000.735492][493d] clean up


[041:113] [2022-09-21 19:47:53 +0000.735515][493d] running_decoder_count:0max
count:2
[041:130] [2022-09-21 19:47:53 +0000.752862][494b]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:287
[041:130] [2022-09-21 19:47:53 +0000.752980][494b]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x7a62ce8000
[041:131] [2022-09-21 19:47:53 +0000.753657][494c]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[041:131] [2022-09-21 19:47:53 +0000.753719][494c]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[041:131] [2022-09-21 19:47:53 +0000.754000][494a] stop recording
[041:131] [2022-09-21 19:47:53 +0000.754056][494a]
RecordingSessionInternalSimple:destroy media processers
[041:131] [2022-09-21 19:47:53 +0000.754080][494a] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[041:131] [2022-09-21 19:47:53 +0000.754101][494a] H264Encode::flushing hareware
Encoder
[041:132] [2022-09-21 19:47:53 +0000.754240][494a] Flush time:366432816 enter.

[041:132] [2022-09-21 19:47:53 +0000.754282][494a] H264Encoder encoder flush


[041:132] [2022-09-21 19:47:53 +0000.754305][494a] flush output queue
[041:463] [2022-09-21 19:47:54 +0000.85518][494a] Flush leave. expire time = 331
ms

[041:463] [2022-09-21 19:47:54 +0000.85690][494a] ~H264EncodeWrap:


[041:463] [2022-09-21 19:47:54 +0000.85735][494a] ~H264Encode:
[041:463] [2022-09-21 19:47:54 +0000.85767][494a] teardownCompressionSession:
H264Encode::destroying Encoder
[041:463] [2022-09-21 19:47:54 +0000.85841][494a] Release time:366433147 enter.

[041:463] [2022-09-21 19:47:54 +0000.85999][494a] Release:


MediaCodecVideoEncoder::Release _inited:1
[041:463] [2022-09-21 19:47:54 +0000.86071][494a] Destroy time:366433147 enter.

[041:463] [2022-09-21 19:47:54 +0000.86108][494a] H264Encoder encoderDestroy


[041:464] [2022-09-21 19:47:54 +0000.86239][494a]
AndroidMediaCodecVideoEncoder::release env: 0x7a0d94c9c0
[041:464] [2022-09-21 19:47:54 +0000.86276][494a]
AndroidMediaCodecVideoEncoder::Destroy
[041:509] [2022-09-21 19:47:54 +0000.131365][494a] Destroy leave. expire time = 46
ms

[041:509] [2022-09-21 19:47:54 +0000.131501][494a] Release leave. expire time = 46


ms

[041:509] [2022-09-21 19:47:54 +0000.131634][494a] ~AndroidHwAvcEncoder


time:366433193 enter.

[041:509] [2022-09-21 19:47:54 +0000.131872][494a] Release time:366433193 enter.

[041:509] [2022-09-21 19:47:54 +0000.131940][494a] Release:


MediaCodecVideoEncoder:: has been released before, just return
[041:509] [2022-09-21 19:47:54 +0000.131995][494a] Release leave. expire time = 0
ms

[041:509] [2022-09-21 19:47:54 +0000.132039][494a] ~AndroidMediaCodecVideoEncoder


[041:509] [2022-09-21 19:47:54 +0000.132085][494a] ~WrapAndroidMediaCodec
time:366433193 enter.

[041:509] [2022-09-21 19:47:54 +0000.132130][494a] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[041:509] [2022-09-21 19:47:54 +0000.132176][494a] video hevc hw codec


destructor:0x7a0db2c270

[041:510] [2022-09-21 19:47:54 +0000.132238][494a] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[041:510] [2022-09-21 19:47:54 +0000.132302][494a] teardownCompressionSession:


H264Encode::destroyed Encoder
[041:510] [2022-09-21 19:47:54 +0000.132352][494a]
RecordingSessionInternalSimple:destroy aac encoder output!
[041:510] [2022-09-21 19:47:54 +0000.132448][494a] AACSWEncode destructor
[041:515] [2022-09-21 19:47:54 +0000.138055][494f] fd_close successed!
[041:527] [2022-09-21 19:47:54 +0000.149905][494f] MP4 close file successfully
[041:527] [2022-09-21 19:47:54 +0000.150024][494f] Recording session Internal:
notify recording ok
[041:527] [2022-09-21 19:47:54 +0000.150056][494f] onRecordingOk: Recording Ok,
compose use time: 3690, averagefps 0
[041:527] [2022-09-21 19:47:54 +0000.150142][494f] OnReceiveEOF:
[041:529] [2022-09-21 19:47:54 +0000.151766][494e] OnAudioTimer: OnAudioTimer
return
[041:559] [2022-09-21 19:47:54 +0000.181477][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[041:559] [2022-09-21 19:47:54 +0000.181583][1dbf] ~MediaComposeFile time:366433243
enter.

[041:559] [2022-09-21 19:47:54 +0000.181611][1dbf] CancelCompose: CancelCompose,


is composing 0
[041:559] [2022-09-21 19:47:54 +0000.181996][494a] stop recording
[041:559] [2022-09-21 19:47:54 +0000.182044][494a] we have stopped recording before
[041:560] [2022-09-21 19:47:54 +0000.183031][1dbf] ~MediaComposeFile leave. expire
time = 1 ms

[041:560] [2022-09-21 19:47:54 +0000.183172][1dbf] ~RecordingSessionInternalSimple:


RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[041:562] [2022-09-21 19:47:54 +0000.184468][1dbf] global uninited!
[041:562] [2022-09-21 19:47:54 +0000.184561][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[041:562] [2022-09-21 19:47:54 +0000.184637][1dbf] ~MediaFilterGraph:
MediaFilterGraph destruct
[041:562] [2022-09-21 19:47:54 +0000.184669][1dbf] RemoveVideoBackGroud: hava not
add video backgroud
[041:562] [2022-09-21 19:47:54 +0000.184719][1dbf] UnbindInputFilter 0x79d48b6d98
this 0x79d48c97a0
[041:562] [2022-09-21 19:47:54 +0000.184766][1dbf] ClearAllSource: remove source
filter, sourceid: 0x79d4a92580
[041:562] [2022-09-21 19:47:54 +0000.184796][1dbf] DestoryDecoderByVideoSource
time:366433246 enter.

[041:562] [2022-09-21 19:47:54 +0000.184830][1dbf] ~VideoBindDecoder time:366433246


enter.

[041:562] [2022-09-21 19:47:54 +0000.184974][1dbf] CleanUp time:366433246 enter.

[041:563] [2022-09-21 19:47:54 +0000.185222][1dbf] CleanUp leave. expire time = 1


ms

[041:563] [2022-09-21 19:47:54 +0000.185261][1dbf] CleanUp time:366433247 enter.

[041:563] [2022-09-21 19:47:54 +0000.185490][1dbf] CleanUp leave. expire time = 0


ms
[041:563] [2022-09-21 19:47:54 +0000.186074][1dbf] ~VideoBindDecoder leave. expire
time = 1 ms

[041:563] [2022-09-21 19:47:54 +0000.186109][1dbf] DestoryDecoderByVideoSource


leave. expire time = 1 ms

[041:563] [2022-09-21 19:47:54 +0000.186155][1dbf] UnbindInputFilter 0x79d48b6b58


this 0x79d48b6d98
[041:563] [2022-09-21 19:47:54 +0000.186200][1dbf] UnbindInputFilter 0x79d48b6a98
this 0x79d48b6b58
[041:564] [2022-09-21 19:47:54 +0000.186267][1dbf] UnbindInputFilter 0x79d4a927a0
this 0x79d48b6a98
[041:564] [2022-09-21 19:47:54 +0000.186313][1dbf] UnbindInputFilter 0x79d48b6cd8
this 0x79d48b6e58
[041:564] [2022-09-21 19:47:54 +0000.186355][1dbf] UnbindInputFilter 0x79d48b6c18
this 0x79d48b6cd8
[041:564] [2022-09-21 19:47:54 +0000.186397][1dbf] UnbindInputFilter 0x79d4a927a0
this 0x79d48b6c18
[041:564] [2022-09-21 19:47:54 +0000.186444][1dbf] ~GLESContext:
[041:565] [2022-09-21 19:47:54 +0000.187846][1dbf] GLESContext destruct finish.
[041:565] [2022-09-21 19:47:54 +0000.188147][1dbf] filter: filter pipeline destroy
this: 0x79d48c9700
[041:638] [2022-09-21 19:47:54 +0000.260337][44b9] haveEnoughProcessedData
internalAudioStream.length: 10
[042:196] [2022-09-21 19:47:54 +0000.819123][44b9] Run AGC when audioType = 0
[042:759] [2022-09-21 19:47:55 +0000.381759][1dda]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[042:759] [2022-09-21 19:47:55 +0000.381984][1dda] ~MediaFilterCamera
time:366434443 enter.

[042:759] [2022-09-21 19:47:55 +0000.382030][1dda] StopPullFrameAndWriteMp4


time:366434443 enter.

[042:761] [2022-09-21 19:47:55 +0000.383608][44b3] stop recording


[042:761] [2022-09-21 19:47:55 +0000.383734][44b3] we have stopped recording before
[042:761] [2022-09-21 19:47:55 +0000.383842][1dda] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[042:762] [2022-09-21 19:47:55 +0000.384875][1dda] DestroyPipelineAndFilters


time:366434446 enter.

[042:762] [2022-09-21 19:47:55 +0000.384928][1dda] DestroyPipelineAndFilters


leave. expire time = 0 ms

[042:762] [2022-09-21 19:47:55 +0000.384962][1dda] AppDeviceManagerStopMic

[042:762] [2022-09-21 19:47:55 +0000.385032][1dda] AppDeviceManagerStopMic::mic


status is on
[042:762] [2022-09-21 19:47:55 +0000.385066][1dda] Try to stop webrtc device.

[042:762] [2022-09-21 19:47:55 +0000.385099][1dda] Set record state to


stopped.threadID:7642

[042:805] [2022-09-21 19:47:55 +0000.427513][1dda] Try to destory the


recorder.threadID:7642

[043:044] [2022-09-21 19:47:55 +0000.666717][1dda] DestroyAudioRecorder:


[043:044] [2022-09-21 19:47:55 +0000.666918][1dda] Cleanup the buffer queue in the
recorder.
[043:044] [2022-09-21 19:47:55 +0000.666965][1dda] Destroy the recorder.

[043:047] [2022-09-21 19:47:55 +0000.669260][1dda] StopRecording finished.

[043:047] [2022-09-21 19:47:55 +0000.669392][1dda] The stop recording success.

[043:047] [2022-09-21 19:47:55 +0000.669437][1dda]


AudioDeviceDataHandler::StopMicProcess

[043:052] [2022-09-21 19:47:55 +0000.674833][1dda] AppDeviceManager stop.

[043:052] [2022-09-21 19:47:55 +0000.674963][1dda] Rlease the webrtc device object.

[043:053] [2022-09-21 19:47:55 +0000.675362][1dda] OpenSlesInput destruct.

[043:053] [2022-09-21 19:47:55 +0000.675449][1dda] OpenSlesOutput destruct.

[043:056] [2022-09-21 19:47:55 +0000.678966][1dda] EventDispatchServerScope


destruct
[043:056] [2022-09-21 19:47:55 +0000.679049][1dda]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[043:056] [2022-09-21 19:47:55 +0000.679125][1dda] ~AudioDeviceDataHandler

[043:057] [2022-09-21 19:47:55 +0000.679942][1dda] AppDeviceManagerDestruct.

[043:057] [2022-09-21 19:47:55 +0000.680012][1dda] ~AppDeviceManager:


[043:057] [2022-09-21 19:47:55 +0000.680119][1dda] ~CpuOverloadDetect
time:366434741 enter.

[043:058] [2022-09-21 19:47:55 +0000.680656][1dda] ~CpuOverloadDetect leave.


expire time = 1 ms

[043:059] [2022-09-21 19:47:55 +0000.681792][1dda] Destruct BeautifyReader begin...


[043:059] [2022-09-21 19:47:55 +0000.681858][1dda] Destruct BeautifyReader done.
[043:059] [2022-09-21 19:47:55 +0000.681923][1dda] ~MediaFilterCamera leave.
expire time = 300 ms

[043:060] [2022-09-21 19:47:55 +0000.682572][1dda] ~GLESContext:


[043:066] [2022-09-21 19:47:55 +0000.688393][1dda] GLESContext destruct finish.
[043:066] [2022-09-21 19:47:55 +0000.688497][1dda] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[043:067] [2022-09-21 19:47:55 +0000.689237][1dda] global uninited!
[043:068] [2022-09-21 19:47:55 +0000.691072][1dda] clear AppID 50011
[043:068] [2022-09-21 19:47:55 +0000.691135][1dda] UnRegister JVM for Xplatform
util
[043:068] [2022-09-21 19:47:55 +0000.691187][1dda] Dispose::unregister webrtc video
engine
[043:069] [2022-09-21 19:47:55 +0000.691233][1dda] Init the android object with
jvm:0x0 env:0x0 context:0x0

[043:069] [2022-09-21 19:47:55 +0000.691286][1dda] SetAndroidMediaCodecObjects


time:366434753 enter.

[043:069] [2022-09-21 19:47:55 +0000.691335][1dda] ClearAndroidMediaCodecObjects


time:366434753 enter.

[043:069] [2022-09-21 19:47:55 +0000.691386][1dda] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms
[043:069] [2022-09-21 19:47:55 +0000.691433][1dda] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[043:069] [2022-09-21 19:47:55 +0000.691480][1dda] SetAndroidMediaCodecObjects


time:366434753 enter.

[043:069] [2022-09-21 19:47:55 +0000.691527][1dda] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[043:069] [2022-09-21 19:47:55 +0000.691574][1dda] ClearAndroidMediaCodecObjects
time:366434753 enter.

[043:069] [2022-09-21 19:47:55 +0000.691621][1dda] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[043:069] [2022-09-21 19:47:55 +0000.691714][1dda] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[043:069] [2022-09-21 19:47:55 +0000.691763][1dda] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[043:069] [2022-09-21 19:47:55 +0000.691811][1dda] Dispose::unregister webrtc voice


engine
[043:069] [2022-09-21 19:47:55 +0000.691855][1dda] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[043:069] [2022-09-21 19:47:55 +0000.691908][1dda] SystemUtil UnInit done


[043:412] [2022-09-21 19:47:56 +0000.34543][1dda] Register JVM for xplatform util
[043:415] [2022-09-21 19:47:56 +0000.37815][1dda] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
21 19:47:56 +0000
[043:415] [2022-09-21 19:47:56 +0000.37854][1dda] set AppID=50011 old AppID=-1
[043:415] [2022-09-21 19:47:56 +0000.37872][1dda] Init the android object with
jvm:0xb400007b90964380 env:0x7b90a59fc0 context:0x7a62fc0d88

[043:415] [2022-09-21 19:47:56 +0000.37927][1dda] SetAndroidMediaCodecObjects


time:366435099 enter.

[043:415] [2022-09-21 19:47:56 +0000.37946][1dda] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[043:415] [2022-09-21 19:47:56 +0000.37984][1dda] SetAndroidMediaCodecObjects


time:366435099 enter.

[043:415] [2022-09-21 19:47:56 +0000.38000][1dda] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b90964380
[043:415] [2022-09-21 19:47:56 +0000.38036][1dda] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b90964380 address:0x79e5ec3760
[043:415] [2022-09-21 19:47:56 +0000.38081][1dda] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b90964380
address:0x79e5ec3760
[043:415] [2022-09-21 19:47:56 +0000.38099][1dda] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[043:415] [2022-09-21 19:47:56 +0000.38135][1dda] Set the android objects with


jvm:0xb400007b90964380 env:0x7b90a59fc0 context:0x7a62fc0d88

[043:415] [2022-09-21 19:47:56 +0000.38181][1dda] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b90a59fc0
[043:416] [2022-09-21 19:47:56 +0000.38245][1dda] SystemUtil Init done
[043:416] [2022-09-21 19:47:56 +0000.38517][1dda]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[043:416] [2022-09-21 19:47:56 +0000.38613][1dda] MediaFilterCamera
[043:416] [2022-09-21 19:47:56 +0000.38645][1dda] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[043:416] [2022-09-21 19:47:56 +0000.38804][1dda] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[043:416] [2022-09-21 19:47:56 +0000.38834][1dda] Recording session using default
bitrate support by app:31457280
[043:416] [2022-09-21 19:47:56 +0000.38836][4a04] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7ad3d43e40
[043:416] [2022-09-21 19:47:56 +0000.38898][4a04] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[043:416] [2022-09-21 19:47:56 +0000.38964][1dda] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[043:417] [2022-09-21 19:47:56 +0000.39683][1dda] Error(ini.cc:191): Open the file
failed. error:2
[043:417] [2022-09-21 19:47:56 +0000.39718][1dda]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[043:417] [2022-09-21 19:47:56 +0000.39736][1dda] The device model: m2012k11ag
usingSoftwareAEC value: 0
[043:419] [2022-09-21 19:47:56 +0000.41976][1dda] Error(ini.cc:191): Open the file
failed. error:2
[043:419] [2022-09-21 19:47:56 +0000.42038][1dda]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[043:419] [2022-09-21 19:47:56 +0000.42059][1dda] The device model: m2012k11ag
usingHardwareAEC value: 0
[043:419] [2022-09-21 19:47:56 +0000.42073][1dda] The machine device: m2012k11ag
usingHardwareAEC value: 0
[043:419] [2022-09-21 19:47:56 +0000.42088][1dda] Using Default AEC type: software
AEC
[043:420] [2022-09-21 19:47:56 +0000.42577][1dda] The device model: m2012k11ag enum
value: 0
[043:420] [2022-09-21 19:47:56 +0000.42887][1dda] GetMachineModel is M2012K11AG
[043:420] [2022-09-21 19:47:56 +0000.42917][1dda] GetMachineInfo: M2012K11AG
[043:420] [2022-09-21 19:47:56 +0000.42930][1dda] Construct BeautifyReader begin...
[043:420] [2022-09-21 19:47:56 +0000.42943][1dda] dumpStickerRgba:0
dumpStickerYuv:0
[043:420] [2022-09-21 19:47:56 +0000.42957][1dda] Construct BeautifyReader done.
[043:423] [2022-09-21 19:47:56 +0000.45241][1dda] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[043:423] [2022-09-21 19:47:56 +0000.45325][1dda] AppDeviceManager telnet server
for statistics started......
[043:423] [2022-09-21 19:47:56 +0000.45465][4a07] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79f7c0cea0
[043:423] [2022-09-21 19:47:56 +0000.45837][1dda] CpuOverloadDetect time:366435107
enter.

[043:423] [2022-09-21 19:47:56 +0000.45916][1dda] CpuOverloadDetect leave. expire


time = 0 ms

[043:424] [2022-09-21 19:47:56 +0000.46336][1dda] AppDeviceMana GetOpenslVoiceMode


before get setting: 1
[043:424] [2022-09-21 19:47:56 +0000.46362][1dda] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[043:424] [2022-09-21 19:47:56 +0000.46497][1dda] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[043:424] [2022-09-21 19:47:56 +0000.46771][1dda] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[043:424] [2022-09-21 19:47:56 +0000.46901][1dda] CreatePlatformSpecificObjects:
[043:424] [2022-09-21 19:47:56 +0000.46936][1dda] audio device use opensle input
and opensl output
[043:424] [2022-09-21 19:47:56 +0000.46956][1dda] Create OpenSLES output module
with java VM support.

[043:424] [2022-09-21 19:47:56 +0000.47041][1dda] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[043:424] [2022-09-21 19:47:56 +0000.47134][1dda] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[043:425] [2022-09-21 19:47:56 +0000.47238][1dda] Create OpenSLES output module
with buffer num:1

[043:425] [2022-09-21 19:47:56 +0000.47316][1dda] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[043:425] [2022-09-21 19:47:56 +0000.47452][1dda] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[043:425] [2022-09-21 19:47:56 +0000.47574][1dda] Create OpenSLES input module with
java VM support.

[043:425] [2022-09-21 19:47:56 +0000.47608][1dda] Create OpenSLES input module with


buffer num:1

[043:425] [2022-09-21 19:47:56 +0000.47629][1dda] Error(trace.cc:40): Init the


output and input for audio device template.
[043:425] [2022-09-21 19:47:56 +0000.47655][1dda] Init the output device.

[043:425] [2022-09-21 19:47:56 +0000.47668][1dda] Init the opensl input.


[043:425] [2022-09-21 19:47:56 +0000.47708][1dda] AppDeviceManager get setting
samplerate: 0
[043:425] [2022-09-21 19:47:56 +0000.47944][1dda] The device model: m2012k11ag enum
value: 0
[043:426] [2022-09-21 19:47:56 +0000.48299][1dda] The device model: m2012k11ag enum
value: 0
[043:426] [2022-09-21 19:47:56 +0000.48322][1dda] Set the sample rate to be:48000

[043:426] [2022-09-21 19:47:56 +0000.48340][1dda] Enable the recording stereo:0


[043:426] [2022-09-21 19:47:56 +0000.48358][1dda] Set the playout as stereo:1
[043:426] [2022-09-21 19:47:56 +0000.48414][1dda] Init the microphone.
[043:426] [2022-09-21 19:47:56 +0000.48582][4a08] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7ad3c82780
[043:426] [2022-09-21 19:47:56 +0000.48877][1dda] Update the recording sample rate
to be: 48000
[043:426] [2022-09-21 19:47:56 +0000.48930][1dda] Init the speaker.
[043:426] [2022-09-21 19:47:56 +0000.48991][1dda] Low latency buffer size:144 low
sample rate:48000
[043:426] [2022-09-21 19:47:56 +0000.49182][1dda] Using 1 x 10ms for an audio
frame.

[043:428] [2022-09-21 19:47:56 +0000.51147][1dda] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[043:429] [2022-09-21 19:47:56 +0000.51244][1dda] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[043:429] [2022-09-21 19:47:56 +0000.51279][1dda] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[043:433] [2022-09-21 19:47:56 +0000.55592][1dda] The device model:m2012k11ag

[043:433] [2022-09-21 19:47:56 +0000.55660][1dda] speaker output factor:100


defaultFactor: 100

[043:433] [2022-09-21 19:47:56 +0000.55674][1dda] headset output factor:100


defaultFactor: 100

[043:433] [2022-09-21 19:47:56 +0000.56014][1dda] AppDeviceManagerStart finished.


[043:433] [2022-09-21 19:47:56 +0000.56081][1dda] AppDeviceManagerStartMic::mic
status is off
[043:433] [2022-09-21 19:47:56 +0000.56148][1dda] AppDeviceManagerStartMic update
aec type: 2

[043:433] [2022-09-21 19:47:56 +0000.56169][1dda] AppDeviceManagerStartMic update


voiceChangeMode: 4

[043:433] [2022-09-21 19:47:56 +0000.56183][1dda]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[043:434] [2022-09-21 19:47:56 +0000.56214][1dda]
AudioDeviceDataHandler::StartMicProcess

[043:434] [2022-09-21 19:47:56 +0000.56313][1dda] Try to start webrtc recording


device.

[043:434] [2022-09-21 19:47:56 +0000.56338][1dda] StartRecording. threadID:7642

[043:434] [2022-09-21 19:47:56 +0000.56373][1dda] default mode: Set the recording


mode to voice communication to enable HW AEC .

[043:434] [2022-09-21 19:47:56 +0000.56395][1dda] Set the recording mode before


getSetting: 4
[043:434] [2022-09-21 19:47:56 +0000.56412][1dda] Set the recording mode after
getSetting: 1
[043:434] [2022-09-21 19:47:56 +0000.56621][4a0b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[043:479] [2022-09-21 19:47:56 +0000.101805][1dda] StartRecording finished.

[043:479] [2022-09-21 19:47:56 +0000.101923][1dda] audio: start the audio mic


checker timer.

[043:480] [2022-09-21 19:47:56 +0000.102262][1dda] machine model :poco


[043:480] [2022-09-21 19:47:56 +0000.102314][1dda] Support this machine model :poco
[043:480] [2022-09-21 19:47:56 +0000.102335][1dda] global inited! current sdk
version: 07-20-936c45f
[043:677] [2022-09-21 19:47:56 +0000.299606][445d]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[043:677] [2022-09-21 19:47:56 +0000.300033][4a05] MediaFilterCamera, recording
file context:0x7ad3c0d700 input texture:6
[043:677] [2022-09-21 19:47:56 +0000.300131][4a05] GLESContext:
[043:677] [2022-09-21 19:47:56 +0000.300166][4a05] The result of eglGetDisplay is:
0xb400007b90a568c0
[043:678] [2022-09-21 19:47:56 +0000.300665][4a05] The result of creation:
0x79d4902e80
[043:678] [2022-09-21 19:47:56 +0000.300723][4a05] The result of
eglCreatePbufferSurface is: 0x79d49e7000
[043:678] [2022-09-21 19:47:56 +0000.300790][445d]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7ad3c0d700 input_texture: 6
[044:074] [2022-09-21 19:47:56 +0000.697139][4a0b] haveEnoughProcessedData
internalAudioStream.length: 20
[044:991] [2022-09-21 19:47:57 +0000.614197][4a0b] Run AGC when audioType = 0
[044:992] [2022-09-21 19:47:57 +0000.614568][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[045:779] [2022-09-21 19:47:58 +0000.402047][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[046:990] [2022-09-21 19:47:59 +0000.613158][4a0b] Run AGC when audioType = 0
[047:482] [2022-09-21 19:48:00 +0000.104637][44ae]
monitorTime:4003totalDuration:3920
[047:503] [2022-09-21 19:48:00 +0000.125481][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[048:992] [2022-09-21 19:48:01 +0000.614321][4a0b] Run AGC when audioType = 0
[048:992] [2022-09-21 19:48:01 +0000.614468][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[049:218] [2022-09-21 19:48:01 +0000.840941][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[050:934] [2022-09-21 19:48:03 +0000.556823][4a0b] haveEnoughProcessedData
internalAudioStream.length: 20
[050:991] [2022-09-21 19:48:03 +0000.613302][4a0c] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[050:991] [2022-09-21 19:48:03 +0000.613472][4a0c] _deviceSampleRate:48000

[050:991] [2022-09-21 19:48:03 +0000.614013][4a0b] Run AGC when audioType = 0


[052:646] [2022-09-21 19:48:05 +0000.268296][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[052:991] [2022-09-21 19:48:05 +0000.613546][4a0b] Run AGC when audioType = 0
[052:991] [2022-09-21 19:48:05 +0000.613855][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[054:359] [2022-09-21 19:48:06 +0000.981262][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[054:991] [2022-09-21 19:48:07 +0000.613885][4a0b] Run AGC when audioType = 0
[056:119] [2022-09-21 19:48:08 +0000.741752][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[056:990] [2022-09-21 19:48:09 +0000.612780][4a0b] Run AGC when audioType = 0
[056:990] [2022-09-21 19:48:09 +0000.612882][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[057:846] [2022-09-21 19:48:10 +0000.468540][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[058:993] [2022-09-21 19:48:11 +0000.615785][4a0b] Run AGC when audioType = 0
[059:573] [2022-09-21 19:48:12 +0000.196129][4a0b] haveEnoughProcessedData
internalAudioStream.length: 10
[060:991] [2022-09-21 19:48:13 +0000.613286][4a0c] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[060:991] [2022-09-21 19:48:13 +0000.613593][4a0c] _deviceSampleRate:48000

[060:996] [2022-09-21 19:48:13 +0000.618444][4a0b] Run AGC when audioType = 0


[060:997] [2022-09-21 19:48:13 +0000.619270][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[061:292] [2022-09-21 19:48:13 +0000.914968][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[062:994] [2022-09-21 19:48:15 +0000.616900][4a0b] Run AGC when audioType = 0
[063:027] [2022-09-21 19:48:15 +0000.649385][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[064:752] [2022-09-21 19:48:17 +0000.374958][4a0b] haveEnoughProcessedData
internalAudioStream.length: 20
[064:994] [2022-09-21 19:48:17 +0000.617025][4a0b] Run AGC when audioType = 0
[064:995] [2022-09-21 19:48:17 +0000.617304][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[066:470] [2022-09-21 19:48:19 +0000.92240][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[066:992] [2022-09-21 19:48:19 +0000.614634][4a0b] Run AGC when audioType = 0
[068:192] [2022-09-21 19:48:20 +0000.814579][4a0b] haveEnoughProcessedData
internalAudioStream.length: 20
[068:994] [2022-09-21 19:48:21 +0000.617036][4a0b] Run AGC when audioType = 0
[068:995] [2022-09-21 19:48:21 +0000.617732][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[069:912] [2022-09-21 19:48:22 +0000.534761][4a0b] haveEnoughProcessedData
internalAudioStream.length: 10
[070:991] [2022-09-21 19:48:23 +0000.613478][4a0c] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[070:991] [2022-09-21 19:48:23 +0000.613636][4a0c] _deviceSampleRate:48000

[070:992] [2022-09-21 19:48:23 +0000.614976][4a0b] Run AGC when audioType = 0


[071:632] [2022-09-21 19:48:24 +0000.255123][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[072:994] [2022-09-21 19:48:25 +0000.617137][4a0b] Run AGC when audioType = 0
[072:995] [2022-09-21 19:48:25 +0000.617363][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[073:361] [2022-09-21 19:48:25 +0000.984183][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[074:995] [2022-09-21 19:48:27 +0000.617788][4a0b] Run AGC when audioType = 0
[075:092] [2022-09-21 19:48:27 +0000.714783][4a0b] haveEnoughProcessedData
internalAudioStream.length: 20
[076:814] [2022-09-21 19:48:29 +0000.436697][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[076:993] [2022-09-21 19:48:29 +0000.615855][4a0b] Run AGC when audioType = 0
[076:993] [2022-09-21 19:48:29 +0000.616107][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[078:531] [2022-09-21 19:48:31 +0000.153867][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[078:991] [2022-09-21 19:48:31 +0000.613804][4a0b] Run AGC when audioType = 0
[080:254] [2022-09-21 19:48:32 +0000.876705][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[080:991] [2022-09-21 19:48:33 +0000.613515][4a0c] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[080:991] [2022-09-21 19:48:33 +0000.613709][4a0c] _deviceSampleRate:48000

[080:995] [2022-09-21 19:48:33 +0000.617474][4a0b] Run AGC when audioType = 0


[080:995] [2022-09-21 19:48:33 +0000.617636][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[081:973] [2022-09-21 19:48:34 +0000.595624][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[082:992] [2022-09-21 19:48:35 +0000.614474][4a0b] Run AGC when audioType = 0
[083:697] [2022-09-21 19:48:36 +0000.319811][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[084:995] [2022-09-21 19:48:37 +0000.617449][4a0b] Run AGC when audioType = 0
[084:995] [2022-09-21 19:48:37 +0000.618177][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[085:417] [2022-09-21 19:48:38 +0000.39527][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[086:995] [2022-09-21 19:48:39 +0000.617288][4a0b] Run AGC when audioType = 0
[087:135] [2022-09-21 19:48:39 +0000.757320][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[088:857] [2022-09-21 19:48:41 +0000.479933][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[088:993] [2022-09-21 19:48:41 +0000.615645][4a0b] Run AGC when audioType = 0
[088:993] [2022-09-21 19:48:41 +0000.615861][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[090:583] [2022-09-21 19:48:43 +0000.205627][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[090:991] [2022-09-21 19:48:43 +0000.613362][4a0c] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[090:991] [2022-09-21 19:48:43 +0000.613529][4a0c] _deviceSampleRate:48000

[090:995] [2022-09-21 19:48:43 +0000.617988][4a0b] Run AGC when audioType = 0


[092:309] [2022-09-21 19:48:44 +0000.931638][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[092:995] [2022-09-21 19:48:45 +0000.617253][4a0b] Run AGC when audioType = 0
[092:995] [2022-09-21 19:48:45 +0000.617441][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[094:026] [2022-09-21 19:48:46 +0000.648474][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[094:990] [2022-09-21 19:48:47 +0000.613126][4a0b] Run AGC when audioType = 0
[095:738] [2022-09-21 19:48:48 +0000.360383][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[096:997] [2022-09-21 19:48:49 +0000.619238][4a0b] Run AGC when audioType = 0
[096:997] [2022-09-21 19:48:49 +0000.619451][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[097:454] [2022-09-21 19:48:50 +0000.76362][4a0b] haveEnoughProcessedData
internalAudioStream.length: 10
[098:993] [2022-09-21 19:48:51 +0000.616002][4a0b] Run AGC when audioType = 0
[099:171] [2022-09-21 19:48:51 +0000.793662][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[100:892] [2022-09-21 19:48:53 +0000.514417][4a0b] haveEnoughProcessedData
internalAudioStream.length: 10
[101:004] [2022-09-21 19:48:53 +0000.627021][4a0c] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[101:004] [2022-09-21 19:48:53 +0000.627171][4a0c] _deviceSampleRate:48000

[101:007] [2022-09-21 19:48:53 +0000.629828][4a0b] Run AGC when audioType = 0


[101:007] [2022-09-21 19:48:53 +0000.629995][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[102:611] [2022-09-21 19:48:55 +0000.233907][4a0b] haveEnoughProcessedData
internalAudioStream.length: 20
[102:992] [2022-09-21 19:48:55 +0000.615189][4a0b] Run AGC when audioType = 0
[104:333] [2022-09-21 19:48:56 +0000.955983][4a0b] haveEnoughProcessedData
internalAudioStream.length: 10
[104:992] [2022-09-21 19:48:57 +0000.614365][4a0b] Run AGC when audioType = 0
[104:992] [2022-09-21 19:48:57 +0000.614655][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[106:051] [2022-09-21 19:48:58 +0000.673704][4a0b] haveEnoughProcessedData
internalAudioStream.length: 20
[106:995] [2022-09-21 19:48:59 +0000.617397][4a0b] Run AGC when audioType = 0
[107:774] [2022-09-21 19:49:00 +0000.396856][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[108:993] [2022-09-21 19:49:01 +0000.616008][4a0b] Run AGC when audioType = 0
[108:994] [2022-09-21 19:49:01 +0000.616602][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[109:496] [2022-09-21 19:49:02 +0000.119188][4a0b] haveEnoughProcessedData
internalAudioStream.length: 10
[110:991] [2022-09-21 19:49:03 +0000.613327][4a0c] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[110:991] [2022-09-21 19:49:03 +0000.613604][4a0c] _deviceSampleRate:48000

[110:996] [2022-09-21 19:49:03 +0000.618618][4a0b] Run AGC when audioType = 0


[111:214] [2022-09-21 19:49:03 +0000.836772][4a0b] haveEnoughProcessedData
internalAudioStream.length: 20
[112:920] [2022-09-21 19:49:05 +0000.542567][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[112:995] [2022-09-21 19:49:05 +0000.618126][4a0b] Run AGC when audioType = 0
[112:996] [2022-09-21 19:49:05 +0000.618652][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[114:634] [2022-09-21 19:49:07 +0000.256641][4a0b] haveEnoughProcessedData
internalAudioStream.length: 10
[114:993] [2022-09-21 19:49:07 +0000.615799][4a0b] Run AGC when audioType = 0
[116:355] [2022-09-21 19:49:08 +0000.977532][4a0b] haveEnoughProcessedData
internalAudioStream.length: 10
[116:993] [2022-09-21 19:49:09 +0000.615604][4a0b] Run AGC when audioType = 0
[116:993] [2022-09-21 19:49:09 +0000.615852][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[118:075] [2022-09-21 19:49:10 +0000.697680][4a0b] haveEnoughProcessedData
internalAudioStream.length: 20
[118:994] [2022-09-21 19:49:11 +0000.616267][4a0b] Run AGC when audioType = 0
[119:792] [2022-09-21 19:49:12 +0000.414532][4a0b] haveEnoughProcessedData
internalAudioStream.length: 20
[120:990] [2022-09-21 19:49:13 +0000.612868][4a0c] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[120:990] [2022-09-21 19:49:13 +0000.612959][4a0c] _deviceSampleRate:48000

[120:991] [2022-09-21 19:49:13 +0000.613237][4a0b] Run AGC when audioType = 0


[120:991] [2022-09-21 19:49:13 +0000.613343][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[121:493] [2022-09-21 19:49:14 +0000.116010][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[122:995] [2022-09-21 19:49:15 +0000.617428][4a0b] Run AGC when audioType = 0
[123:208] [2022-09-21 19:49:15 +0000.831089][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[124:921] [2022-09-21 19:49:17 +0000.544221][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[124:994] [2022-09-21 19:49:17 +0000.616914][4a0b] Run AGC when audioType = 0
[124:994] [2022-09-21 19:49:17 +0000.617167][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[126:631] [2022-09-21 19:49:19 +0000.253906][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[126:991] [2022-09-21 19:49:19 +0000.613976][4a0b] Run AGC when audioType = 0
[128:354] [2022-09-21 19:49:20 +0000.977162][4a0b] haveEnoughProcessedData
internalAudioStream.length: 20
[128:996] [2022-09-21 19:49:21 +0000.618477][4a0b] Run AGC when audioType = 0
[128:996] [2022-09-21 19:49:21 +0000.618682][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[129:393] [2022-09-21 19:49:22 +0000.15874][1dbf] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[129:393] [2022-09-21 19:49:22 +0000.15959][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[129:394] [2022-09-21 19:49:22 +0000.16249][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[129:394] [2022-09-21 19:49:22 +0000.16416][4a05] operator() time:366521078 enter.

[129:394] [2022-09-21 19:49:22 +0000.16460][4a05] MediaFilterCamera, recording


file context:0x7ad3c0d700 input texture:6
[129:395] [2022-09-21 19:49:22 +0000.17667][4a05] MicSource: Mic source
created:10x7acba95580
[129:396] [2022-09-21 19:49:22 +0000.18449][4a05] alloc thread: 0x79d2f84b00
name:worker0 thread id:524652887216 to Mic_source
[129:396] [2022-09-21 19:49:22 +0000.18524][4a05] audio: start the audio sender
thread.

[129:396] [2022-09-21 19:49:22 +0000.18584][4a05] construct OpenGLRenderProgram


0x79d49e9b98
[129:396] [2022-09-21 19:49:22 +0000.18626][4a05] CropFilter::SetOrientation
orientation: 90
[129:396] [2022-09-21 19:49:22 +0000.18781][4a05] filter: filter pipeline construtc
this: 0x7a0da60f40
[129:396] [2022-09-21 19:49:22 +0000.18824][4a05] filter: filter pipeline2 update
pattern: 1
[129:396] [2022-09-21 19:49:22 +0000.18927][4a05] CameraSource::source_id_:9
[129:396] [2022-09-21 19:49:22 +0000.18964][4a05] RecordAudioSource::source_id_:10
[129:396] [2022-09-21 19:49:22 +0000.19164][4a05] BindInputFilter 0x79d2f853c0
this 0x79d49e9dc0
[129:397] [2022-09-21 19:49:22 +0000.19224][4a05] BindInputFilter 0x79d2f85cd8
this 0x79d2f85e50
[129:397] [2022-09-21 19:49:22 +0000.19257][4a05] BindInputFilter 0x79d49e9dc0
this 0x7a0da60fe0
[129:397] [2022-09-21 19:49:22 +0000.19300][4a05] setParamentForFilters:
speed:1.000000
[129:397] [2022-09-21 19:49:22 +0000.19324][4a05] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[129:397] [2022-09-21 19:49:22 +0000.19414][4a05] SetParamForFilter time:366521081
enter.

[129:397] [2022-09-21 19:49:22 +0000.19442][4a05] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[129:397] [2022-09-21 19:49:22 +0000.19501][4a05] SetParamForFilter: Params video
index is: 0
[129:397] [2022-09-21 19:49:22 +0000.19555][4a05] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[129:397] [2022-09-21 19:49:22 +0000.19610][4a05] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[129:397] [2022-09-21 19:49:22 +0000.19665][4a05] crop filter mode tpye:
citytravelvideo index:0
[129:401] [2022-09-21 19:49:22 +0000.23416][4a05]
Warning(parse_template_json.cc:45): json parament no found the parament
[129:401] [2022-09-21 19:49:22 +0000.23489][4a05]
Warning(parse_template_json.cc:45): json parament no found the parament
[129:401] [2022-09-21 19:49:22 +0000.23518][4a05]
Warning(parse_template_json.cc:45): json parament no found the parament
[129:401] [2022-09-21 19:49:22 +0000.23542][4a05]
Warning(parse_template_json.cc:45): json parament no found the parament
[129:401] [2022-09-21 19:49:22 +0000.23566][4a05]
Warning(parse_template_json.cc:45): json parament no found the parament
[129:401] [2022-09-21 19:49:22 +0000.23589][4a05]
Warning(parse_template_json.cc:45): json parament no found the parament
[129:401] [2022-09-21 19:49:22 +0000.23612][4a05]
Warning(parse_template_json.cc:45): json parament no found the parament
[129:401] [2022-09-21 19:49:22 +0000.23636][4a05]
Warning(parse_template_json.cc:81): json parament no found the parament
[129:401] [2022-09-21 19:49:22 +0000.23697][4a05]
Warning(parse_template_json.cc:81): json parament no found the parament
[129:401] [2022-09-21 19:49:22 +0000.23723][4a05]
Warning(parse_template_json.cc:67): json parament no found the parament
[129:401] [2022-09-21 19:49:22 +0000.23748][4a05]
Warning(parse_template_json.cc:93): json parament no found the duration
[129:401] [2022-09-21 19:49:22 +0000.23778][4a05] SetParamForFilter leave. expire
time = 4 ms

[129:401] [2022-09-21 19:49:22 +0000.23949][4a05] OnOutputSizeChanged width 1920


height 1080
[129:401] [2022-09-21 19:49:22 +0000.23998][4a05] OpenGLFrameBuffer: width:1920
height:1080
[129:401] [2022-09-21 19:49:22 +0000.24023][4a05] OpenGLFrameBuffer: width:1920
height:1080
[129:401] [2022-09-21 19:49:22 +0000.24046][4a05] OpenGLFrameBuffer: width:1920
height:1080
[129:401] [2022-09-21 19:49:22 +0000.24068][4a05] OpenGLFrameBuffer: width:1920
height:1080
[129:401] [2022-09-21 19:49:22 +0000.24091][4a05] OpenGLFrameBuffer: width:1920
height:1080
[129:401] [2022-09-21 19:49:22 +0000.24114][4a05] OpenGLFrameBuffer: width:1920
height:1080
[129:401] [2022-09-21 19:49:22 +0000.24136][4a05] construct TrivalImageDrawer
0x79d4a4fbc0
[129:401] [2022-09-21 19:49:22 +0000.24162][4a05] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x79d4a4fbc0 context 0x79d48f0ec0
[129:401] [2022-09-21 19:49:22 +0000.24189][4a05] setupGLES:
[129:402] [2022-09-21 19:49:22 +0000.24518][4a05] OpenGLRenderProgram::Initialize.
[129:402] [2022-09-21 19:49:22 +0000.24558][4a05] The version of the OpenGL: OpenGL
ES GLSL ES 3.20
[129:402] [2022-09-21 19:49:22 +0000.24582][4a05] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[129:402] [2022-09-21 19:49:22 +0000.24752][4a05] Init open gl render: 0x79d49e9b98
[129:402] [2022-09-21 19:49:22 +0000.24787][4a05] Fragement shader path:
[129:402] [2022-09-21 19:49:22 +0000.24813][4a05] Fragement shader path:
[129:402] [2022-09-21 19:49:22 +0000.24836][4a05] create opengl program object.
[129:402] [2022-09-21 19:49:22 +0000.24859][4a05] create shader: vertex
[129:402] [2022-09-21 19:49:22 +0000.25078][4a05] create shader: fragment
[129:406] [2022-09-21 19:49:22 +0000.28262][4a05] Have not extra filter filename!
[129:406] [2022-09-21 19:49:22 +0000.28346][4a05] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[129:406] [2022-09-21 19:49:22 +0000.28374][4a05] OpenGLRenderProgram::Initialize
success.
[129:406] [2022-09-21 19:49:22 +0000.28426][4a05] Setup the OpenGL result:1
[129:406] [2022-09-21 19:49:22 +0000.28922][4a04] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_366521090.mp4
[129:406] [2022-09-21 19:49:22 +0000.29059][4a04] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_366521090.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[129:406] [2022-09-21 19:49:22 +0000.29113][4a04] 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
[129:406] [2022-09-21 19:49:22 +0000.29158][4a04] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_366521090.mp4
fileFD: -1
[129:407] [2022-09-21 19:49:22 +0000.29385][4f34] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a0dad9898
[129:407] [2022-09-21 19:49:22 +0000.29620][4a04] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_366521090.mp4
is opened successfully
[129:407] [2022-09-21 19:49:22 +0000.29661][4a04] setupMediaProcessers:
[129:407] [2022-09-21 19:49:22 +0000.29683][4a04]
RecordingSessionInternalSimple:setup media processers.
[129:407] [2022-09-21 19:49:22 +0000.29724][4a04] construct AAC encoder
[129:407] [2022-09-21 19:49:22 +0000.30021][4a04] H264Encoder creating:
superfast011818
[129:407] [2022-09-21 19:49:22 +0000.30065][4a04] H264Encode::H264Encoder creating
with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[129:408] [2022-09-21 19:49:22 +0000.30706][4a04] H264Encode::GetMachineModel is
M2012K11AG
[129:408] [2022-09-21 19:49:22 +0000.30752][4a04] H264Encoder machine_mode
is:M2012K11AG
[129:408] [2022-09-21 19:49:22 +0000.30777][4a04] H264Encode::machine size :9
machine_mode:M2012K11AG
[129:408] [2022-09-21 19:49:22 +0000.30821][4a04] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[129:408] [2022-09-21 19:49:22 +0000.30866][4a04] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[129:408] [2022-09-21 19:49:22 +0000.30908][4a04] setupCompressionSession:
[129:408] [2022-09-21 19:49:22 +0000.30952][4a04] H264Encode::creating hareware
Encoder
[129:408] [2022-09-21 19:49:22 +0000.30975][4a04] AndroidHwAvcEncoder
time:366521092 enter.

[129:408] [2022-09-21 19:49:22 +0000.31108][4a04] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007b90964380 address:0x79e5ec3760
[129:409] [2022-09-21 19:49:22 +0000.31217][4a04] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[129:409] [2022-09-21 19:49:22 +0000.31257][4a04] The video avc hw codec address is
0x7a0db2c568
[129:409] [2022-09-21 19:49:22 +0000.31327][4a04] AndroidHwAvcEncoder leave.
expire time = 1 ms

[129:409] [2022-09-21 19:49:22 +0000.31369][4a04] RegisterEncodeCompleteCallback


time:366521093 enter.

[129:409] [2022-09-21 19:49:22 +0000.31456][4a04] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[129:409] [2022-09-21 19:49:22 +0000.31503][4a04] InitEncode time:366521093 enter.

[129:409] [2022-09-21 19:49:22 +0000.31581][4a04] InitEncode:


MediaCodecVideoEncoder::Release _inited:0
[129:409] [2022-09-21 19:49:22 +0000.31626][4a04] Create time:366521093 enter.

[129:409] [2022-09-21 19:49:22 +0000.31670][4a04] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[129:409] [2022-09-21 19:49:22 +0000.31714][4a04]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x79b4bceac0
[129:409] [2022-09-21 19:49:22 +0000.31849][4a04]
supported_type:image/vnd.android.heic
[129:409] [2022-09-21 19:49:22 +0000.31913][4a04] supported_type:video/avc
[129:409] [2022-09-21 19:49:22 +0000.31955][4a04] name:OMX.qcom.video.encoder.avc
mime:video/avc
[129:409] [2022-09-21 19:49:22 +0000.32005][4a04] hwCodecPrefix :OMX.qcom.
[129:409] [2022-09-21 19:49:22 +0000.32043][4a04] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[129:409] [2022-09-21 19:49:22 +0000.32141][4a04] mediacodec_createCodecByName
time:366521093 enter.

[129:409] [2022-09-21 19:49:22 +0000.32168][4a04] WrapAndroidMediaCodec


time:366521093 enter.

[129:410] [2022-09-21 19:49:22 +0000.32253][4a04] WrapAndroidMediaCodec leave.


expire time = 1 ms

[129:429] [2022-09-21 19:49:22 +0000.51311][4a04] mediacodec_createCodecByName


leave. expire time = 20 ms
[129:429] [2022-09-21 19:49:22 +0000.51480][4a04] WrapAndroidMediaFromat
time:366521113 enter.

[129:429] [2022-09-21 19:49:22 +0000.51571][4a04] WrapAndroidMediaFromat leave.


expire time = 0 ms

[129:474] [2022-09-21 19:49:22 +0000.97054][4a04] Destroy time:366521158 enter.

[129:474] [2022-09-21 19:49:22 +0000.97129][4a04] WrapAndroidMediaFromat::


Destroy
[129:474] [2022-09-21 19:49:22 +0000.97160][4a04] Destroy leave. expire time = 0
ms

[129:474] [2022-09-21 19:49:22 +0000.97194][4a04] ~WrapAndroidMediaFromat


time:366521158 enter.

[129:475] [2022-09-21 19:49:22 +0000.97243][4a04] ~WrapAndroidMediaFromat leave.


expire time = 1 ms

[129:475] [2022-09-21 19:49:22 +0000.97336][4a04] Create leave. expire time = 66


ms

[129:475] [2022-09-21 19:49:22 +0000.97378][4a04] isSemiPlanarSupport


time:366521159 enter.

[129:475] [2022-09-21 19:49:22 +0000.97441][4a04] H264Encoder isSemiPlanarSupport


[129:475] [2022-09-21 19:49:22 +0000.97490][4a04] isSemiPlanarSupport leave.
expire time = 0 ms

[129:475] [2022-09-21 19:49:22 +0000.97545][4a04] creat hw H264Encoder success,


isSemiPlanar:1
[129:475] [2022-09-21 19:49:22 +0000.97623][4a04] InitEncode leave. expire time =
66 ms

[129:475] [2022-09-21 19:49:22 +0000.97667][4a04] H264Encode::created Encoder


[129:475] [2022-09-21 19:49:22 +0000.97711][4a04] H264Encode:: H264 encoder
created.
[129:475] [2022-09-21 19:49:22 +0000.97751][4a04] H264 encoder created.
[129:475] [2022-09-21 19:49:22 +0000.97791][4a04]
RecordingSessionInternalSimple:created avc encoder avc: 0x79d4a500c0
[129:475] [2022-09-21 19:49:22 +0000.97834][4a04] setOutput:
[129:475] [2022-09-21 19:49:22 +0000.97873][4a04]
RecordingSessionInternalSimple:encoder set output to muxer!
[129:475] [2022-09-21 19:49:22 +0000.97915][4a04] request a key frame
[129:475] [2022-09-21 19:49:22 +0000.97956][4a04] H264Encode:: request a key frame
[129:475] [2022-09-21 19:49:22 +0000.98072][4a04] setDisplayRotate :90
[129:475] [2022-09-21 19:49:22 +0000.98113][4a04] 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
[129:475] [2022-09-21 19:49:22 +0000.98188][4a05] StartRecording:
[129:476] [2022-09-21 19:49:22 +0000.98366][4f2d] operator(): Set the recording
session in mic source. recording session: 0x79d2f85b80
[129:476] [2022-09-21 19:49:22 +0000.98495][4a05] operator() leave. expire time =
82 ms

[129:542] [2022-09-21 19:49:22 +0000.164674][4a05] begine recode to first frame


spend time:148
[129:542] [2022-09-21 19:49:22 +0000.164759][4a05]
GPUImageProcessing::SetOrientation orientation: 90
[129:544] [2022-09-21 19:49:22 +0000.167073][4a05] drawYUV420 render
OpenGLRenderProgram:0x79d49e9b98
[129:570] [2022-09-21 19:49:22 +0000.192294][4a05] drawYUV420 render
OpenGLRenderProgram:0x79d49e9b98
[129:582] [2022-09-21 19:49:22 +0000.204877][4f33]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[129:602] [2022-09-21 19:49:22 +0000.224265][4a05] drawYUV420 render
OpenGLRenderProgram:0x79d49e9b98
[129:606] [2022-09-21 19:49:22 +0000.229067][4a05] webrtc common_video plane
old ..... (1/1000) new: 13001 delete: 12984 diff: 17
[129:675] [2022-09-21 19:49:22 +0000.297938][4f33] h264 add frame header cdr flag
[129:676] [2022-09-21 19:49:22 +0000.298874][4f33] h264 add frame header cdr flag
[129:678] [2022-09-21 19:49:22 +0000.300511][4f33] Received key frame:0
[129:678] [2022-09-21 19:49:22 +0000.300600][4f33] H264Encode:: get a sps pps
header!headerSize:32
[129:678] [2022-09-21 19:49:22 +0000.300738][4f34] get the H.264 SPS parameter
[129:678] [2022-09-21 19:49:22 +0000.301017][4f34] add video track with id:1
[129:682] [2022-09-21 19:49:22 +0000.304626][4f34] get the H.264 PPS parameter
[129:683] [2022-09-21 19:49:22 +0000.305922][4f34] get the H.264 IDR frame
[129:683] [2022-09-21 19:49:22 +0000.305997][4f34] resss:true
[129:683] [2022-09-21 19:49:22 +0000.306049][4f34] video start ts:0
[129:683] [2022-09-21 19:49:22 +0000.306201][4f34] the video frame has been written
into MP4 file
[129:688] [2022-09-21 19:49:22 +0000.310603][4f34] add aac audio track with id:2
[129:688] [2022-09-21 19:49:22 +0000.310702][4f34] audio start ts:0
[129:688] [2022-09-21 19:49:22 +0000.310754][4f34] the audio frame has been written
into MP4 file
[129:734] [2022-09-21 19:49:22 +0000.356697][4f2d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[129:769] [2022-09-21 19:49:22 +0000.392188][4f33] Push an pts:196 to dts queue.
[129:817] [2022-09-21 19:49:22 +0000.439371][4f33] last dts:169 currentPts:196
ppsOrSPS:0 queue length:2
[129:900] [2022-09-21 19:49:22 +0000.522523][4a05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[129:927] [2022-09-21 19:49:22 +0000.550127][4f2b] AF_SpeedFilter audio
0x79d2f85d00 PullFrame
[130:002] [2022-09-21 19:49:22 +0000.624362][4a05] The convert RGB to YUV take 3
[130:043] [2022-09-21 19:49:22 +0000.666171][4f33] DTS queue for
Generator:0x7a0dad9ab8 469
[130:049] [2022-09-21 19:49:22 +0000.671348][4f2b] AF_SpeedFilter::PullFrame eof4
[130:055] [2022-09-21 19:49:22 +0000.677667][4f2b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[130:061] [2022-09-21 19:49:22 +0000.683486][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[130:341] [2022-09-21 19:49:22 +0000.963305][4f32]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 696queue_audio_frame_:6
[130:401] [2022-09-21 19:49:23 +0000.23425][4a05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[130:506] [2022-09-21 19:49:23 +0000.128498][4a05] The convert RGB to YUV take 4
[130:671] [2022-09-21 19:49:23 +0000.293660][4f33]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:1099
[130:730] [2022-09-21 19:49:23 +0000.353031][4a05] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[130:731] [2022-09-21 19:49:23 +0000.353216][4a05] GPUImageProcessing: input frame
width1920 X 1080
[130:732] [2022-09-21 19:49:23 +0000.354570][4a05] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[130:732] [2022-09-21 19:49:23 +0000.354681][4a05] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[130:746] [2022-09-21 19:49:23 +0000.369063][4f2d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[130:759] [2022-09-21 19:49:23 +0000.381934][4f2b]
RecordAudioSource::PullAudioFrame
[130:874] [2022-09-21 19:49:23 +0000.497126][4f33] DTS queue for
Generator:0x7a0dad9ab8 1298
[130:899] [2022-09-21 19:49:23 +0000.522061][4a05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[130:990] [2022-09-21 19:49:23 +0000.612818][4a0c] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[130:990] [2022-09-21 19:49:23 +0000.612874][4a0c] _deviceSampleRate:48000

[130:993] [2022-09-21 19:49:23 +0000.615427][4a0b] Run AGC when audioType = 0


[131:000] [2022-09-21 19:49:23 +0000.622933][4a05] The convert RGB to YUV take 2
[131:104] [2022-09-21 19:49:23 +0000.726712][4f33] Push an pts:1529 to dts queue.
[131:143] [2022-09-21 19:49:23 +0000.765322][4f33] SendFrame
encodedImage._timeStamp:1529encodedImage->_length:80208
[131:143] [2022-09-21 19:49:23 +0000.765450][4f33] last dts:1494 currentPts:1529
ppsOrSPS:0 queue length:2
[131:143] [2022-09-21 19:49:23 +0000.765500][4f33] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1529 pts:1529
[131:376] [2022-09-21 19:49:23 +0000.999203][4f33] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1797
[131:377] [2022-09-21 19:49:23 +0000.999341][4f33] push video frame to H264
encoder. (100 frame for one log)

[131:377] [2022-09-21 19:49:23 +0000.999399][4f33] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[131:377] [2022-09-21 19:49:23 +0000.999436][4f33] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:1797(100 frame for one
log)

[131:377] [2022-09-21 19:49:23 +0000.999476][4f33] The input pts:1797 fps:30


[131:396] [2022-09-21 19:49:24 +0000.18719][4a05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[131:405] [2022-09-21 19:49:24 +0000.27893][4f33] H264Encode::H264SWEncoder get
callback, length:103440 type:1 nalType:1length:103436
[131:500] [2022-09-21 19:49:24 +0000.122972][4a05] The convert RGB to YUV take 2
[131:554] [2022-09-21 19:49:24 +0000.176619][4f2b] AF_SpeedFilter audio
0x79d2f85d00 PullFrame
[131:608] [2022-09-21 19:49:24 +0000.230414][4f33] h264 add frame header cdr flag
[131:608] [2022-09-21 19:49:24 +0000.230982][4f33] Received key frame:1993
[131:638] [2022-09-21 19:49:24 +0000.261144][4f34] get the H.264 IDR frame
[131:669] [2022-09-21 19:49:24 +0000.292098][4f2b] resampled_data_size:4096
[131:694] [2022-09-21 19:49:24 +0000.316956][4a05] webrtc common_video plane
old ..... (1/1000) new: 14001 delete: 13984 diff: 17
[131:700] [2022-09-21 19:49:24 +0000.322636][4f33] DTS queue for
Generator:0x7a0dad9ab8 2093 2127
[131:740] [2022-09-21 19:49:24 +0000.363172][4f2d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[131:787] [2022-09-21 19:49:24 +0000.409818][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[131:897] [2022-09-21 19:49:24 +0000.519598][4a05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[132:001] [2022-09-21 19:49:24 +0000.623999][4a05] The convert RGB to YUV take 4
[132:398] [2022-09-21 19:49:25 +0000.20875][4a05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[132:408] [2022-09-21 19:49:25 +0000.30613][4f2b] AF_SpeedFilter::PullFrame eof4
[132:416] [2022-09-21 19:49:25 +0000.38614][4f2b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[132:446] [2022-09-21 19:49:25 +0000.69189][4f33] Push an pts:2864 to dts queue.
[132:474] [2022-09-21 19:49:25 +0000.97079][4f33] last dts:2830 currentPts:2864
ppsOrSPS:0 queue length:2
[132:499] [2022-09-21 19:49:25 +0000.121940][4a05] The convert RGB to YUV take 2
[132:537] [2022-09-21 19:49:25 +0000.160029][4f33] DTS queue for
Generator:0x7a0dad9ab8 2928 2961
[132:668] [2022-09-21 19:49:25 +0000.291115][4f2b]
RecordAudioSource::PullAudioFrame
[132:677] [2022-09-21 19:49:25 +0000.299386][4f2d] The output timestamp from audio
mixer change:366524359
[132:691] [2022-09-21 19:49:25 +0000.313954][4a0b] On audio frame the broadcast
with timestamp:366524375 samples:480. (1000 frame for one log)

[132:704] [2022-09-21 19:49:25 +0000.326611][4f32]


MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 3018queue_audio_frame_:9
[132:740] [2022-09-21 19:49:25 +0000.363168][4f2d] Get data in mic source, which
has byte length:1764micAudioStream->length():10
[132:741] [2022-09-21 19:49:25 +0000.363972][4f2d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[132:831] [2022-09-21 19:49:25 +0000.453211][4a05] drawYUV420 render
OpenGLRenderProgram:0x79d49e9b98
[132:898] [2022-09-21 19:49:25 +0000.520330][4a05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[132:996] [2022-09-21 19:49:25 +0000.618910][4a0b] Run AGC when audioType = 0
[132:996] [2022-09-21 19:49:25 +0000.619002][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[132:997] [2022-09-21 19:49:25 +0000.619385][4a05] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[133:000] [2022-09-21 19:49:25 +0000.622468][4a05] The convert RGB to YUV take 3
[133:185] [2022-09-21 19:49:25 +0000.807420][4f2b] AF_SpeedFilter audio
0x79d2f85d00 PullFrame
[133:368] [2022-09-21 19:49:25 +0000.990784][4f33] DTS queue for
Generator:0x7a0dad9ab8 3760 3793
[133:397] [2022-09-21 19:49:26 +0000.19860][4a05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[133:502] [2022-09-21 19:49:26 +0000.124599][4a05] The convert RGB to YUV take 5
[133:515] [2022-09-21 19:49:26 +0000.137876][4a0b] haveEnoughProcessedData
internalAudioStream.length: 20
[133:602] [2022-09-21 19:49:26 +0000.225041][4f33] h264 add frame header cdr flag
[133:603] [2022-09-21 19:49:26 +0000.225667][4f33] Received key frame:3994
[133:640] [2022-09-21 19:49:26 +0000.263050][4f34] get the H.264 IDR frame
[133:741] [2022-09-21 19:49:26 +0000.364057][4f2d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[133:767] [2022-09-21 19:49:26 +0000.389453][4a05] webrtc common_video plane
old ..... (1/1000) new: 15001 delete: 14984 diff: 17
[133:767] [2022-09-21 19:49:26 +0000.389677][4f33] Push an pts:4194 to dts queue.
[133:783] [2022-09-21 19:49:26 +0000.405640][4f2b] AF_SpeedFilter audio time,
0x79d2f85d00 rcv time: 366525460
[133:783] [2022-09-21 19:49:26 +0000.405715][4f2b] AF_SpeedFilter audio time,
0x79d2f85d00 rcv time: 366525460in_nSamples:441
[133:804] [2022-09-21 19:49:26 +0000.427063][4f33] last dts:4159 currentPts:4194
ppsOrSPS:0 queue length:2
[133:836] [2022-09-21 19:49:26 +0000.459122][4f2b] resampled_data_size:16384
[133:837] [2022-09-21 19:49:26 +0000.459258][4f2b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 366525458
[133:837] [2022-09-21 19:49:26 +0000.459324][4f2b]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[133:896] [2022-09-21 19:49:26 +0000.518384][4a05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[134:002] [2022-09-21 19:49:26 +0000.624658][4a05] The convert RGB to YUV take 5
[134:004] [2022-09-21 19:49:26 +0000.626503][4f33]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:4429
[134:095] [2022-09-21 19:49:26 +0000.719650][4a05] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[134:097] [2022-09-21 19:49:26 +0000.719821][4a05] GPUImageProcessing: input frame
width1920 X 1080
[134:098] [2022-09-21 19:49:26 +0000.720739][4a05] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[134:098] [2022-09-21 19:49:26 +0000.720847][4a05] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[134:120] [2022-09-21 19:49:26 +0000.743127][4f2b] FilterPipeline2::OnAudioFrame
pts 4590 last_audio_timestamp_ 4590
[134:174] [2022-09-21 19:49:26 +0000.796972][4f33] DTS queue for
Generator:0x7a0dad9ab8 4597
[134:396] [2022-09-21 19:49:27 +0000.18556][4a05] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[134:475] [2022-09-21 19:49:27 +0000.98167][4f33] SendFrame
encodedImage._timeStamp:4864encodedImage->_length:124496
[134:503] [2022-09-21 19:49:27 +0000.125708][4a05] The convert RGB to YUV take 3
[134:508] [2022-09-21 19:49:27 +0000.131095][4f33] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4898 pts:4898
[134:549] [2022-09-21 19:49:27 +0000.172105][4f2b]
RecordAudioSource::PullAudioFrame
[134:731] [2022-09-21 19:49:27 +0000.353917][4f2b] AF_SpeedFilter::PullFrame eof4
[134:733] [2022-09-21 19:49:27 +0000.355456][4f33] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:5160
[134:733] [2022-09-21 19:49:27 +0000.355550][4f33] push video frame to H264
encoder. (100 frame for one log)

[134:733] [2022-09-21 19:49:27 +0000.355604][4f33] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[134:733] [2022-09-21 19:49:27 +0000.355637][4f33] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:5160(100 frame for one
log)

[134:733] [2022-09-21 19:49:27 +0000.355677][4f33] The input pts:5160 fps:30


[134:735] [2022-09-21 19:49:27 +0000.357683][4f2d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[134:738] [2022-09-21 19:49:27 +0000.360463][4f2b]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[134:773] [2022-09-21 19:49:27 +0000.395533][4f33] H264Encode::H264SWEncoder get
callback, length:123968 type:1 nalType:1length:123964
[134:782] [2022-09-21 19:49:27 +0000.404663][4f2b] AF_SpeedFilter audio
0x79d2f85d00 PullFrame
[134:802] [2022-09-21 19:49:27 +0000.424967][1dbf]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[134:806] [2022-09-21 19:49:27 +0000.428710][4a05] operator(): Stop
[134:806] [2022-09-21 19:49:27 +0000.429022][4a05] StopPullFrameAndWriteMp4
time:366526490 enter.
[134:806] [2022-09-21 19:49:27 +0000.429087][4a05] StopRecording:
[134:811] [2022-09-21 19:49:27 +0000.433560][4f2b] PullAudioFrame: PullFrame audio
finished.
[134:811] [2022-09-21 19:49:27 +0000.433670][4f2b]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[134:812] [2022-09-21 19:49:27 +0000.434827][4f33]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:158
[134:813] [2022-09-21 19:49:27 +0000.435883][4a04] stop recording
[134:813] [2022-09-21 19:49:27 +0000.435926][4a04]
RecordingSessionInternalSimple:destroy media processers
[134:813] [2022-09-21 19:49:27 +0000.435953][4a04] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[134:813] [2022-09-21 19:49:27 +0000.435978][4a04] H264Encode::flushing hareware
Encoder
[134:814] [2022-09-21 19:49:27 +0000.436237][4a04] Flush time:366526498 enter.

[134:814] [2022-09-21 19:49:27 +0000.436284][4a04] H264Encoder encoder flush


[134:814] [2022-09-21 19:49:27 +0000.436312][4a04] flush output queue
[134:993] [2022-09-21 19:49:27 +0000.615839][4a0b] Run AGC when audioType = 0
[135:129] [2022-09-21 19:49:27 +0000.751518][4a04] Flush leave. expire time = 315
ms

[135:129] [2022-09-21 19:49:27 +0000.751672][4a04] ~H264EncodeWrap:


[135:129] [2022-09-21 19:49:27 +0000.751735][4a04] ~H264Encode:
[135:129] [2022-09-21 19:49:27 +0000.751781][4a04] teardownCompressionSession:
H264Encode::destroying Encoder
[135:129] [2022-09-21 19:49:27 +0000.751826][4a04] Release time:366526813 enter.

[135:129] [2022-09-21 19:49:27 +0000.751953][4a04] Release:


MediaCodecVideoEncoder::Release _inited:1
[135:129] [2022-09-21 19:49:27 +0000.752012][4a04] Destroy time:366526813 enter.

[135:129] [2022-09-21 19:49:27 +0000.752057][4a04] H264Encoder encoderDestroy


[135:129] [2022-09-21 19:49:27 +0000.752154][4a04]
AndroidMediaCodecVideoEncoder::release env: 0x79d4a50200
[135:129] [2022-09-21 19:49:27 +0000.752198][4a04]
AndroidMediaCodecVideoEncoder::Destroy
[135:172] [2022-09-21 19:49:27 +0000.794456][4a04] Destroy leave. expire time = 43
ms

[135:172] [2022-09-21 19:49:27 +0000.794588][4a04] Release leave. expire time = 43


ms

[135:172] [2022-09-21 19:49:27 +0000.794620][4a04] ~AndroidHwAvcEncoder


time:366526856 enter.

[135:172] [2022-09-21 19:49:27 +0000.794773][4a04] Release time:366526856 enter.

[135:172] [2022-09-21 19:49:27 +0000.794815][4a04] Release:


MediaCodecVideoEncoder:: has been released before, just return
[135:172] [2022-09-21 19:49:27 +0000.794844][4a04] Release leave. expire time = 0
ms

[135:172] [2022-09-21 19:49:27 +0000.794869][4a04] ~AndroidMediaCodecVideoEncoder


[135:172] [2022-09-21 19:49:27 +0000.794894][4a04] ~WrapAndroidMediaCodec
time:366526856 enter.

[135:172] [2022-09-21 19:49:27 +0000.794921][4a04] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[135:172] [2022-09-21 19:49:27 +0000.794946][4a04] video hevc hw codec


destructor:0x7a0db2c568

[135:172] [2022-09-21 19:49:27 +0000.794982][4a04] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[135:172] [2022-09-21 19:49:27 +0000.795020][4a04] teardownCompressionSession:


H264Encode::destroyed Encoder
[135:172] [2022-09-21 19:49:27 +0000.795051][4a04]
RecordingSessionInternalSimple:destroy aac encoder output!
[135:172] [2022-09-21 19:49:27 +0000.795077][4a04] AACSWEncode destructor
[135:176] [2022-09-21 19:49:27 +0000.799108][4f34] MP4 close file successfully
[135:177] [2022-09-21 19:49:27 +0000.799235][4f34] Recording session Internal:
notify recording ok
[135:177] [2022-09-21 19:49:27 +0000.799278][4f34] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_366521090.mp4,
output_video_timestamp_:5231 last_video_pts_:5231
[135:177] [2022-09-21 19:49:27 +0000.799330][4f34] OnRecordFinish:
[135:177] [2022-09-21 19:49:27 +0000.799841][4f34] onRecordingOk: net seek
pos:0record video duration:5264record audio duration:5224
[135:178] [2022-09-21 19:49:27 +0000.800334][4f2d] destructMicSource_w:
[135:178] [2022-09-21 19:49:27 +0000.800398][4f2d] setOutput_w:
MicSource::setOutput() 0x0
[135:178] [2022-09-21 19:49:27 +0000.800564][4a05] releaseThread 0x79d2f84b00
[135:178] [2022-09-21 19:49:27 +0000.800618][4a05] ~MicSource: Mic source
destroyed:0x7acba95580
[135:179] [2022-09-21 19:49:27 +0000.801438][4a05] StopPullFrameAndWriteMp4 leave.
expire time = 373 ms

[135:179] [2022-09-21 19:49:27 +0000.801490][4a05] DestroyPipelineAndFilters


time:366526863 enter.

[135:179] [2022-09-21 19:49:27 +0000.801584][4a05] UnbindInputFilter 0x79d2f853c0


this 0x79d49e9dc0
[135:179] [2022-09-21 19:49:27 +0000.801665][4a05] UnbindInputFilter 0x79d2f85cd8
this 0x79d2f85e50
[135:179] [2022-09-21 19:49:27 +0000.801722][4a05] UnbindInputFilter 0x79d49e9dc0
this 0x7a0da60fe0
[135:179] [2022-09-21 19:49:27 +0000.801753][4a05] filter: filter pipeline destroy
this: 0x7a0da60f40
[135:181] [2022-09-21 19:49:27 +0000.803479][4a05] ClearVideoOfSources: recodring
total frames:0
[135:181] [2022-09-21 19:49:27 +0000.803542][4a05] ClearVideoOfSources:
[135:181] [2022-09-21 19:49:27 +0000.803587][4a05] GPUImageProcessing destruct.
[135:181] [2022-09-21 19:49:27 +0000.803664][4a05] destroy TrivalImageDrawer
0x79d4a4fbc0
[135:181] [2022-09-21 19:49:27 +0000.803708][4a05] The shader has been initialize,
clean up them.

[135:181] [2022-09-21 19:49:27 +0000.803787][4a05] ~OpenGLFrameBuffer:


[135:181] [2022-09-21 19:49:27 +0000.803904][4a05] ~OpenGLFrameBuffer:
[135:181] [2022-09-21 19:49:27 +0000.804021][4a05] ~OpenGLFrameBuffer:
[135:183] [2022-09-21 19:49:27 +0000.805813][4a05] ~OpenGLFrameBuffer:
[135:183] [2022-09-21 19:49:27 +0000.805903][4a05] ~OpenGLFrameBuffer:
[135:183] [2022-09-21 19:49:27 +0000.805991][4a05] ~OpenGLFrameBuffer:
[135:183] [2022-09-21 19:49:27 +0000.806171][4a05] GPUImageProcessing destruct
finish.
[135:184] [2022-09-21 19:49:27 +0000.806255][4a05] GPURGBAFrame destruct.
[135:184] [2022-09-21 19:49:27 +0000.806312][4a05] destroy OpenGLRenderProgram
0x79d49e9b98
[135:184] [2022-09-21 19:49:27 +0000.806350][4a05] ~CameraSource time:366526868
enter.

[135:184] [2022-09-21 19:49:27 +0000.806382][4a05] ~CameraSource leave. expire


time = 0 ms

[135:184] [2022-09-21 19:49:27 +0000.806418][4a05] ~RecordAudioSource


time:366526868 enter.

[135:184] [2022-09-21 19:49:27 +0000.806447][4a05] ~RecordAudioSource leave.


expire time = 0 ms

[135:184] [2022-09-21 19:49:27 +0000.806483][4a05] DestroyPipelineAndFilters


leave. expire time = 5 ms

[135:203] [2022-09-21 19:49:27 +0000.825383][1dbf]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[135:203] [2022-09-21 19:49:27 +0000.826144][1dbf] machine model :poco
[135:204] [2022-09-21 19:49:27 +0000.826240][1dbf] Support this machine model :poco
[135:204] [2022-09-21 19:49:27 +0000.826278][1dbf] global inited! current sdk
version: 07-20-936c45f
[135:204] [2022-09-21 19:49:27 +0000.826660][1dbf] filter: filter pipeline
construtc this: 0x79d48c7900
[135:204] [2022-09-21 19:49:27 +0000.826720][1dbf] MediaFilterGraph:
MediaFilterGraph construct
[135:204] [2022-09-21 19:49:27 +0000.826744][1dbf] GLESContext:
[135:204] [2022-09-21 19:49:27 +0000.826788][1dbf] The result of eglGetDisplay is:
0xb400007b90a568c0
[135:205] [2022-09-21 19:49:27 +0000.827787][1dbf] The result of creation:
0x79d49e7100
[135:205] [2022-09-21 19:49:27 +0000.827891][1dbf] The result of
eglCreatePbufferSurface is: 0x79d49e7200
[135:205] [2022-09-21 19:49:27 +0000.828005][1dbf] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_366521090.mp4
[135:205] [2022-09-21 19:49:27 +0000.828048][1dbf] The source 0 speed:1
[135:205] [2022-09-21 19:49:27 +0000.828090][1dbf] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366521090.mp4,
delay: 0
[135:205] [2022-09-21 19:49:27 +0000.828128][1dbf] CreateDecoderByVideoSource
time:366526889 enter.

[135:206] [2022-09-21 19:49:27 +0000.828343][1dbf] running_decoder_count:0max


count:2
[135:206] [2022-09-21 19:49:27 +0000.828378][1dbf] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_366521090.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7a62dad000
[135:206] [2022-09-21 19:49:27 +0000.829099][4fa1] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x79d2effc00] Current FFmpeg version git-2021-06-16-
97cea6f

[135:224] [2022-09-21 19:49:27 +0000.846811][4a0b] haveEnoughProcessedData


internalAudioStream.length: 0
[135:287] [2022-09-21 19:49:27 +0000.909663][4fa1] OnStreamInfoFound: video
duration_: 5264
[135:289] [2022-09-21 19:49:27 +0000.911671][4fa2] NO get frame from decoder
[135:290] [2022-09-21 19:49:27 +0000.912504][1dbf] start decoder
[135:290] [2022-09-21 19:49:27 +0000.912597][1dbf] CreateDecoderByVideoSource
leave. expire time = 85 ms

[135:290] [2022-09-21 19:49:27 +0000.912839][1dbf] BindInputFilter 0x79d2ec7ca0


this 0x7a0dbf3e58
[135:290] [2022-09-21 19:49:27 +0000.912877][1dbf] BindInputFilter 0x7a0dbf3e58
this 0x7a0dbf3f18
[135:290] [2022-09-21 19:49:27 +0000.912914][1dbf] BindInputFilter 0x79d2ec7ca0
this 0x79d49f75d8
[135:290] [2022-09-21 19:49:27 +0000.912950][1dbf] BindInputFilter 0x79d49f75d8
this 0x79d49f7ed8
[135:290] [2022-09-21 19:49:27 +0000.912972][1dbf] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366521090.mp4
[135:290] [2022-09-21 19:49:27 +0000.913009][1dbf] BindInputFilter 0x7a0dbf3f18
this 0x79d49f8058
[135:290] [2022-09-21 19:49:27 +0000.913042][1dbf] BindInputFilter 0x79d49f8058
this 0x79d48c79a0
[135:290] [2022-09-21 19:49:27 +0000.913102][1dbf] BindInputFilter 0x79d49f7ed8
this 0x79d49f8118
[135:290] [2022-09-21 19:49:27 +0000.913137][1dbf] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_366521090.mp4
[135:291] [2022-09-21 19:49:27 +0000.913257][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[135:291] [2022-09-21 19:49:27 +0000.913770][1dbf] machine model :poco
[135:291] [2022-09-21 19:49:27 +0000.913819][1dbf] Support this machine model :poco
[135:291] [2022-09-21 19:49:27 +0000.913858][1dbf] global inited! current sdk
version: 07-20-936c45f
[135:291] [2022-09-21 19:49:27 +0000.913935][1dbf] GetPipeline:
-----------------------------------------
[135:291] [2022-09-21 19:49:27 +0000.914009][1dbf] GetPipeline: source:
0x79d2ec7a80
[135:291] [2022-09-21 19:49:27 +0000.914077][1dbf] GetPipeline: filter: NULLFilter
[135:291] [2022-09-21 19:49:27 +0000.914105][1dbf] GetPipeline: filter: NULLFilter
[135:291] [2022-09-21 19:49:27 +0000.914136][1dbf] GetPipeline: filter: NULLFilter
[135:291] [2022-09-21 19:49:27 +0000.914174][1dbf] GetPipeline: audio filter:
AuidoNULLFilter
[135:292] [2022-09-21 19:49:27 +0000.914291][1dbf] GetPipeline: audio filter:
AuidoNULLFilter
[135:292] [2022-09-21 19:49:27 +0000.914326][1dbf] GetPipeline: audio filter:
AudioNUllFilter
[135:292] [2022-09-21 19:49:27 +0000.914405][1dbf] GetPipeline:
------------------------------------------
[135:292] [2022-09-21 19:49:27 +0000.914513][1dbf] filter: filter pipeline2 update
pattern: 0
[135:293] [2022-09-21 19:49:27 +0000.915458][4fa2] NO get frame from decoder
[135:294] [2022-09-21 19:49:27 +0000.917195][1dbf] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[135:295] [2022-09-21 19:49:27 +0000.917602][1dbf] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[135:295] [2022-09-21 19:49:27 +0000.917753][1dbf] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[135:296] [2022-09-21 19:49:27 +0000.918311][1dbf] DeviceInit:
[135:297] [2022-09-21 19:49:27 +0000.919653][1dbf] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[135:297] [2022-09-21 19:49:27 +0000.920016][1dbf] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[135:298] [2022-09-21 19:49:27 +0000.920307][1dbf] CreatePlatformSpecificObjects:
[135:298] [2022-09-21 19:49:27 +0000.920363][1dbf] audio device use null audio
input and opensl output
[135:298] [2022-09-21 19:49:27 +0000.920405][1dbf] Create OpenSLES output module
with java VM support.

[135:298] [2022-09-21 19:49:27 +0000.920527][1dbf] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[135:298] [2022-09-21 19:49:27 +0000.920704][1dbf] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[135:298] [2022-09-21 19:49:27 +0000.921034][1dbf] Create OpenSLES output module
with buffer num:2

[135:298] [2022-09-21 19:49:27 +0000.921094][1dbf] Error(trace.cc:40): Init the


output and input for audio device template.
[135:298] [2022-09-21 19:49:27 +0000.921121][1dbf] Init the output device.

[135:299] [2022-09-21 19:49:27 +0000.921572][1dbf] Set the playout as stereo:1


[135:299] [2022-09-21 19:49:27 +0000.921617][1dbf] Set the sample rate to be:44100

[135:299] [2022-09-21 19:49:27 +0000.921687][1dbf] Low latency buffer size:144 low


sample rate:48000
[135:299] [2022-09-21 19:49:27 +0000.921733][1dbf] DeviceInit: Done
[135:299] [2022-09-21 19:49:27 +0000.921902][1dbf] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[135:299] [2022-09-21 19:49:27 +0000.921928][4fad] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a0dc01e18
[135:300] [2022-09-21 19:49:27 +0000.922285][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[135:300] [2022-09-21 19:49:27 +0000.922376][1dbf]
MediaFilterPlayer::SetPlayerNotify 0x79d2c9ff60
[135:300] [2022-09-21 19:49:27 +0000.922434][1dbf]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[135:300] [2022-09-21 19:49:27 +0000.922464][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[135:300] [2022-09-21 19:49:27 +0000.922501][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[135:300] [2022-09-21 19:49:27 +0000.922603][1dbf] SetGraphLoop: SetGraphLoop 1
[135:300] [2022-09-21 19:49:27 +0000.922642][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[135:300] [2022-09-21 19:49:27 +0000.922701][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[135:300] [2022-09-21 19:49:27 +0000.922980][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[135:301] [2022-09-21 19:49:27 +0000.923216][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[135:301] [2022-09-21 19:49:27 +0000.923470][4faf] Start:
[135:301] [2022-09-21 19:49:27 +0000.923552][4fae] operator(): video render
started.
[135:301] [2022-09-21 19:49:27 +0000.923682][4faf] Start:
[135:301] [2022-09-21 19:49:27 +0000.923783][4faf] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[135:301] [2022-09-21 19:49:27 +0000.923844][4faf] Reset: history total size: 98
[135:301] [2022-09-21 19:49:27 +0000.923942][4faf] DeviceStart:
audioDevice_:0x79d48f4000
[135:301] [2022-09-21 19:49:27 +0000.923968][4faf] DeviceStart: time profile
playout init before
[135:301] [2022-09-21 19:49:27 +0000.923995][4faf] DeviceStart: time profile
playout init end
[135:301] [2022-09-21 19:49:27 +0000.924017][4faf] OpenSlesOutput:Start playout

[135:303] [2022-09-21 19:49:27 +0000.925429][4faf] Create the opensl output player.


streamtype before:0

[135:303] [2022-09-21 19:49:27 +0000.925485][4faf] Create the opensl output player.


streamtype after:3

[135:304] [2022-09-21 19:49:27 +0000.926518][4fa2] NO get frame from decoder


[135:308] [2022-09-21 19:49:27 +0000.931070][4fa2] NO get frame from decoder
[135:312] [2022-09-21 19:49:27 +0000.934405][4fa2] NO get frame from decoder
[135:322] [2022-09-21 19:49:27 +0000.944415][4faf] Enqueue opensl buffer size:1764
[135:324] [2022-09-21 19:49:27 +0000.946498][4fa2] NO get frame from decoder
[135:336] [2022-09-21 19:49:27 +0000.959214][4fa2] NO get frame from decoder
[135:340] [2022-09-21 19:49:27 +0000.962680][4fa2] NO get frame from decoder
[135:406] [2022-09-21 19:49:28 +0000.28997][4faf] DeviceStart: time profile playout
all end
[135:406] [2022-09-21 19:49:28 +0000.29068][4faf] operator(): Audio playback
started.
[135:406] [2022-09-21 19:49:28 +0000.29142][4faf] operator(): Started now!
[135:407] [2022-09-21 19:49:28 +0000.29655][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:408] [2022-09-21 19:49:28 +0000.30548][4fb0] Pull audio failed.(wait video!)
[135:408] [2022-09-21 19:49:28 +0000.30772][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:409] [2022-09-21 19:49:28 +0000.31567][4fb0] Pull audio failed.(wait video!)
[135:409] [2022-09-21 19:49:28 +0000.31787][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:410] [2022-09-21 19:49:28 +0000.32574][4fb0] Pull audio failed.(wait video!)
[135:410] [2022-09-21 19:49:28 +0000.32797][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:411] [2022-09-21 19:49:28 +0000.33586][4fb0] Pull audio failed.(wait video!)
[135:411] [2022-09-21 19:49:28 +0000.33812][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:413] [2022-09-21 19:49:28 +0000.35327][4fb0] Pull audio failed.(wait video!)
[135:413] [2022-09-21 19:49:28 +0000.35577][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:414] [2022-09-21 19:49:28 +0000.36359][4fb0] Pull audio failed.(wait video!)
[135:414] [2022-09-21 19:49:28 +0000.36589][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:415] [2022-09-21 19:49:28 +0000.37367][4fb0] Pull audio failed.(wait video!)
[135:415] [2022-09-21 19:49:28 +0000.37600][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:440] [2022-09-21 19:49:28 +0000.62862][4fae] lipsync_debug: First video frame
rendering.
[135:605] [2022-09-21 19:49:28 +0000.227943][4fb0] audio_frame_list_ empty
[135:653] [2022-09-21 19:49:28 +0000.275270][4fb0] audio frame wait video
frame.last_video_timestamp:130 last_audio_timestamp:231.927
[135:654] [2022-09-21 19:49:28 +0000.277014][4fae] Warning(video_render.cc:390): No
picture to display (1/50)
[135:655] [2022-09-21 19:49:28 +0000.277469][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:656] [2022-09-21 19:49:28 +0000.278451][4fb0] audio frame wait video
frame.last_video_timestamp:169 last_audio_timestamp:277.914
[135:656] [2022-09-21 19:49:28 +0000.278746][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:658] [2022-09-21 19:49:28 +0000.280430][4fb0] audio frame wait video
frame.last_video_timestamp:169 last_audio_timestamp:277.914
[135:658] [2022-09-21 19:49:28 +0000.280765][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:660] [2022-09-21 19:49:28 +0000.282253][4fb0] audio frame wait video
frame.last_video_timestamp:169 last_audio_timestamp:277.914
[135:660] [2022-09-21 19:49:28 +0000.282552][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:661] [2022-09-21 19:49:28 +0000.283328][4fb0] audio frame wait video
frame.last_video_timestamp:169 last_audio_timestamp:277.914
[135:661] [2022-09-21 19:49:28 +0000.283607][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:662] [2022-09-21 19:49:28 +0000.284433][4fb0] audio frame wait video
frame.last_video_timestamp:169 last_audio_timestamp:277.914
[135:662] [2022-09-21 19:49:28 +0000.284713][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:663] [2022-09-21 19:49:28 +0000.285962][4fb0] audio frame wait video
frame.last_video_timestamp:169 last_audio_timestamp:277.914
[135:664] [2022-09-21 19:49:28 +0000.286351][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:670] [2022-09-21 19:49:28 +0000.293092][4fb0] audio frame wait video
frame.last_video_timestamp:169 last_audio_timestamp:277.914
[135:671] [2022-09-21 19:49:28 +0000.293394][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:672] [2022-09-21 19:49:28 +0000.294419][4fb0] audio frame wait video
frame.last_video_timestamp:169 last_audio_timestamp:277.914
[135:672] [2022-09-21 19:49:28 +0000.294703][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:673] [2022-09-21 19:49:28 +0000.295463][4fb0] audio frame wait video
frame.last_video_timestamp:169 last_audio_timestamp:277.914
[135:673] [2022-09-21 19:49:28 +0000.295891][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:676] [2022-09-21 19:49:28 +0000.299003][4fb1] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 17640pts ms:196000
[135:677] [2022-09-21 19:49:28 +0000.300018][4fb0] audio frame wait video
frame.last_video_timestamp:196 last_audio_timestamp:300.907
[135:678] [2022-09-21 19:49:28 +0000.300298][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:678] [2022-09-21 19:49:28 +0000.301062][4fb0] audio frame wait video
frame.last_video_timestamp:196 last_audio_timestamp:300.907
[135:679] [2022-09-21 19:49:28 +0000.301321][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:679] [2022-09-21 19:49:28 +0000.302083][4fb0] audio frame wait video
frame.last_video_timestamp:196 last_audio_timestamp:300.907
[135:680] [2022-09-21 19:49:28 +0000.302828][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:681] [2022-09-21 19:49:28 +0000.303940][4fb0] audio frame wait video
frame.last_video_timestamp:196 last_audio_timestamp:300.907
[135:682] [2022-09-21 19:49:28 +0000.304228][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:682] [2022-09-21 19:49:28 +0000.305199][4fb0] audio frame wait video
frame.last_video_timestamp:196 last_audio_timestamp:300.907
[135:683] [2022-09-21 19:49:28 +0000.305473][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:684] [2022-09-21 19:49:28 +0000.306432][4fb0] audio frame wait video
frame.last_video_timestamp:196 last_audio_timestamp:300.907
[135:684] [2022-09-21 19:49:28 +0000.306703][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:685] [2022-09-21 19:49:28 +0000.307465][4fb0] audio frame wait video
frame.last_video_timestamp:196 last_audio_timestamp:300.907
[135:685] [2022-09-21 19:49:28 +0000.307641][4fb1] OnVideoFrameReady(1/200)
[135:685] [2022-09-21 19:49:28 +0000.307736][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:686] [2022-09-21 19:49:28 +0000.308489][4fb0] audio frame wait video
frame.last_video_timestamp:196 last_audio_timestamp:300.907
[135:686] [2022-09-21 19:49:28 +0000.308748][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:687] [2022-09-21 19:49:28 +0000.309473][4fae] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[135:687] [2022-09-21 19:49:28 +0000.309506][4fb0] audio frame wait video
frame.last_video_timestamp:196 last_audio_timestamp:300.907
[135:687] [2022-09-21 19:49:28 +0000.309763][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:692] [2022-09-21 19:49:28 +0000.314285][4fb0] audio frame wait video
frame.last_video_timestamp:196 last_audio_timestamp:300.907
[135:692] [2022-09-21 19:49:28 +0000.314581][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:693] [2022-09-21 19:49:28 +0000.315654][4fb0] audio frame wait video
frame.last_video_timestamp:233 last_audio_timestamp:347.891
[135:693] [2022-09-21 19:49:28 +0000.315934][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:694] [2022-09-21 19:49:28 +0000.316699][4fb0] audio frame wait video
frame.last_video_timestamp:233 last_audio_timestamp:347.891
[135:694] [2022-09-21 19:49:28 +0000.316972][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:695] [2022-09-21 19:49:28 +0000.317738][4fb0] audio frame wait video
frame.last_video_timestamp:233 last_audio_timestamp:347.891
[135:695] [2022-09-21 19:49:28 +0000.318013][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:696] [2022-09-21 19:49:28 +0000.318833][4fb0] audio frame wait video
frame.last_video_timestamp:233 last_audio_timestamp:347.891
[135:697] [2022-09-21 19:49:28 +0000.320151][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:701] [2022-09-21 19:49:28 +0000.323225][4fb0] audio frame wait video
frame.last_video_timestamp:233 last_audio_timestamp:347.891
[135:701] [2022-09-21 19:49:28 +0000.323621][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:702] [2022-09-21 19:49:28 +0000.324422][4fb0] audio frame wait video
frame.last_video_timestamp:233 last_audio_timestamp:347.891
[135:702] [2022-09-21 19:49:28 +0000.324733][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:703] [2022-09-21 19:49:28 +0000.325566][4fb0] audio frame wait video
frame.last_video_timestamp:233 last_audio_timestamp:347.891
[135:703] [2022-09-21 19:49:28 +0000.325872][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:704] [2022-09-21 19:49:28 +0000.326698][4fb0] audio frame wait video
frame.last_video_timestamp:233 last_audio_timestamp:347.891
[135:704] [2022-09-21 19:49:28 +0000.326969][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:705] [2022-09-21 19:49:28 +0000.327740][4fb0] audio frame wait video
frame.last_video_timestamp:233 last_audio_timestamp:347.891
[135:705] [2022-09-21 19:49:28 +0000.328089][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:706] [2022-09-21 19:49:28 +0000.328960][4fb0] audio frame wait video
frame.last_video_timestamp:269 last_audio_timestamp:370.884
[135:707] [2022-09-21 19:49:28 +0000.329472][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:708] [2022-09-21 19:49:28 +0000.330336][4fb0] audio frame wait video
frame.last_video_timestamp:269 last_audio_timestamp:370.884
[135:708] [2022-09-21 19:49:28 +0000.330622][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:709] [2022-09-21 19:49:28 +0000.331404][4fb0] audio frame wait video
frame.last_video_timestamp:269 last_audio_timestamp:370.884
[135:709] [2022-09-21 19:49:28 +0000.331680][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:710] [2022-09-21 19:49:28 +0000.332473][4fb0] audio frame wait video
frame.last_video_timestamp:269 last_audio_timestamp:370.884
[135:710] [2022-09-21 19:49:28 +0000.332749][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:711] [2022-09-21 19:49:28 +0000.333529][4fb0] audio frame wait video
frame.last_video_timestamp:269 last_audio_timestamp:370.884
[135:711] [2022-09-21 19:49:28 +0000.333798][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:712] [2022-09-21 19:49:28 +0000.334842][4fb0] audio frame wait video
frame.last_video_timestamp:269 last_audio_timestamp:370.884
[135:712] [2022-09-21 19:49:28 +0000.335144][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:713] [2022-09-21 19:49:28 +0000.335992][4fb0] audio frame wait video
frame.last_video_timestamp:269 last_audio_timestamp:370.884
[135:714] [2022-09-21 19:49:28 +0000.336596][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:717] [2022-09-21 19:49:28 +0000.339370][4fb0] audio frame wait video
frame.last_video_timestamp:269 last_audio_timestamp:370.884
[135:717] [2022-09-21 19:49:28 +0000.339660][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:718] [2022-09-21 19:49:28 +0000.340662][4fb0] audio frame wait video
frame.last_video_timestamp:296 last_audio_timestamp:416.871
[135:718] [2022-09-21 19:49:28 +0000.340972][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:719] [2022-09-21 19:49:28 +0000.341768][4fb0] audio frame wait video
frame.last_video_timestamp:296 last_audio_timestamp:416.871
[135:719] [2022-09-21 19:49:28 +0000.342071][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:720] [2022-09-21 19:49:28 +0000.342901][4fb0] audio frame wait video
frame.last_video_timestamp:296 last_audio_timestamp:416.871
[135:723] [2022-09-21 19:49:28 +0000.345351][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:727] [2022-09-21 19:49:28 +0000.349890][4fb0] audio frame wait video
frame.last_video_timestamp:332 last_audio_timestamp:440.862
[135:728] [2022-09-21 19:49:28 +0000.350249][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:728] [2022-09-21 19:49:28 +0000.351023][4fb0] audio frame wait video
frame.last_video_timestamp:332 last_audio_timestamp:440.862
[135:729] [2022-09-21 19:49:28 +0000.351282][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:729] [2022-09-21 19:49:28 +0000.352043][4fb0] audio frame wait video
frame.last_video_timestamp:332 last_audio_timestamp:440.862
[135:730] [2022-09-21 19:49:28 +0000.352306][4fb0]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[135:730] [2022-09-21 19:49:28 +0000.352853][4faf] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[135:730] [2022-09-21 19:49:28 +0000.352947][4faf] First audio frame rendering
[135:811] [2022-09-21 19:49:28 +0000.433984][4fb1] Error(video_source.cc:430): wait
decoder a frame: 0
[135:950] [2022-09-21 19:49:28 +0000.572543][4fae] lipsync_debug:displaying video
ts:47880 The current displayed video timestamp is:366527634
[135:963] [2022-09-21 19:49:28 +0000.585988][4fae] lipsync_debug: render a video
frame
[135:975] [2022-09-21 19:49:28 +0000.597607][4fae] lipsync_debug:remaining time:10
tsDelta - timeDelta:14
[135:975] [2022-09-21 19:49:28 +0000.597675][4fae] lipsync_debug:result remaining
time:10
[136:144] [2022-09-21 19:49:28 +0000.766406][4fae]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:31 timeDelta:155 last
video ts:51390 frame->pts:54180 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[136:144] [2022-09-21 19:49:28 +0000.766889][4fae] lipsync_debug: tsDelta -
timeDelta = -124
[136:209] [2022-09-21 19:49:28 +0000.832175][4fae] lipsync_debug:result remaining
time:0
[136:211] [2022-09-21 19:49:28 +0000.833552][4fae] dynamic updated lipsync delay:0
[136:240] [2022-09-21 19:49:28 +0000.862508][4fb1]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[136:413] [2022-09-21 19:49:29 +0000.35403][4fae] DriveRender working... (1/200)
[136:580] [2022-09-21 19:49:29 +0000.202878][4fae] Warning(video_render.cc:390): No
picture to display (1/50)
[136:593] [2022-09-21 19:49:29 +0000.215824][4fb0] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 40912
[136:593] [2022-09-21 19:49:29 +0000.215884][4fb0] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[136:670] [2022-09-21 19:49:29 +0000.292325][4fb2]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[136:730] [2022-09-21 19:49:29 +0000.352874][4faf] The audio playback speed:100
(1/100)
[136:730] [2022-09-21 19:49:29 +0000.353000][4faf] lipsync_debug: The current
played audio timestamp is:45012(1/50)
[136:779] [2022-09-21 19:49:29 +0000.402078][4fae] lipsync_debug:displaying video
ts:107640 The current displayed video timestamp is:366528463
[136:991] [2022-09-21 19:49:29 +0000.613967][4a0b] Run AGC when audioType = 0
[136:991] [2022-09-21 19:49:29 +0000.614144][4a0b]
AudioDeviceDataHandler::MixAndSendOutFrame
[137:062] [2022-09-21 19:49:29 +0000.684553][4a0b] haveEnoughProcessedData
internalAudioStream.length: 0
[137:180] [2022-09-21 19:49:29 +0000.803202][1dbf]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[137:182] [2022-09-21 19:49:29 +0000.805086][4faf] Stop:
[137:183] [2022-09-21 19:49:29 +0000.805226][4fae] operator(): Video Render
stopped.
[137:183] [2022-09-21 19:49:29 +0000.805356][4faf] Stop:
[137:183] [2022-09-21 19:49:29 +0000.805629][4faf] DeviceStop:
audioDevice_:0x79d48f4000
[137:183] [2022-09-21 19:49:29 +0000.805672][4faf] OpenSlesOutput:Stop playout

[137:184] [2022-09-21 19:49:29 +0000.806953][4faf] DeviceStop: Done


[137:184] [2022-09-21 19:49:29 +0000.807040][4faf] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[137:184] [2022-09-21 19:49:29 +0000.807072][4faf] operator(): Stop now!
[137:250] [2022-09-21 19:49:29 +0000.873066][1dda]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffec[000:015]
[2022-09-23 16:16:23 +0000.507632][1d6f] Log to file:/storage/emulated/0/voip-
data/com.android.camera/trace.txt start time:2022-09-23 16:16:23 +0000
[000:015] [2022-09-23 16:16:23 +0000.507660][1d6f] set AppID=50011 old AppID=-1
[000:015] [2022-09-23 16:16:23 +0000.507672][1d6f] Init the android object with
jvm:0xb400007b90964380 env:0x7b90a59fc0 context:0x7a5e9e8718
[000:016] [2022-09-23 16:16:23 +0000.507713][1d6f] SetAndroidMediaCodecObjects
time:518592625 enter.

[000:016] [2022-09-23 16:16:23 +0000.507737][1d6f] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:016] [2022-09-23 16:16:23 +0000.507748][1d6f] SetAndroidMediaCodecObjects


time:518592625 enter.

[000:016] [2022-09-23 16:16:23 +0000.507759][1d6f] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b90964380
[000:016] [2022-09-23 16:16:23 +0000.507769][1d6f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b90964380 address:0x79c5f00760
[000:016] [2022-09-23 16:16:23 +0000.507781][1d6f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b90964380
address:0x79c5f00760
[000:016] [2022-09-23 16:16:23 +0000.507806][1d6f] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:016] [2022-09-23 16:16:23 +0000.507823][1d6f] Set the android objects with


jvm:0xb400007b90964380 env:0x7b90a59fc0 context:0x7a5e9e8718

[000:016] [2022-09-23 16:16:23 +0000.508391][1d6f] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b90a59fc0
[000:016] [2022-09-23 16:16:23 +0000.508418][1d6f] SystemUtil Init done
[000:017] [2022-09-23 16:16:23 +0000.509484][1d6f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:018] [2022-09-23 16:16:23 +0000.510421][1d6f] MediaFilterCamera
[000:018] [2022-09-23 16:16:23 +0000.510450][1d6f] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:018] [2022-09-23 16:16:23 +0000.510532][1d6f] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:018] [2022-09-23 16:16:23 +0000.510552][1d6f] Recording session using default
bitrate support by app:31457280
[000:018] [2022-09-23 16:16:23 +0000.510564][28e0] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79f7b5b1c0
[000:019] [2022-09-23 16:16:23 +0000.510772][28e0] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:019] [2022-09-23 16:16:23 +0000.510835][1d6f] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:019] [2022-09-23 16:16:23 +0000.511143][1d6f] Error(ini.cc:191): Open the file
failed. error:2
[000:019] [2022-09-23 16:16:23 +0000.511162][1d6f]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:019] [2022-09-23 16:16:23 +0000.511175][1d6f] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:020] [2022-09-23 16:16:23 +0000.512236][1d6f] Error(ini.cc:191): Open the file
failed. error:2
[000:020] [2022-09-23 16:16:23 +0000.512264][1d6f]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:020] [2022-09-23 16:16:23 +0000.512280][1d6f] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:020] [2022-09-23 16:16:23 +0000.512291][1d6f] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:020] [2022-09-23 16:16:23 +0000.512318][1d6f] Using Default AEC type: software
AEC
[000:021] [2022-09-23 16:16:23 +0000.512934][1d6f] The device model: m2012k11ag
enum value: 0
[000:021] [2022-09-23 16:16:23 +0000.513144][1d6f] GetMachineModel is M2012K11AG
[000:021] [2022-09-23 16:16:23 +0000.513162][1d6f] GetMachineInfo: M2012K11AG
[000:021] [2022-09-23 16:16:23 +0000.513181][1d6f] Construct BeautifyReader
begin...
[000:021] [2022-09-23 16:16:23 +0000.513197][1d6f] dumpStickerRgba:0
dumpStickerYuv:0
[000:021] [2022-09-23 16:16:23 +0000.513207][1d6f] Construct BeautifyReader done.
[000:024] [2022-09-23 16:16:23 +0000.515924][1d6f] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:024] [2022-09-23 16:16:23 +0000.515952][28e6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79da9fd3a0
[000:024] [2022-09-23 16:16:23 +0000.516220][1d6f] AppDeviceManager telnet server
for statistics started......
[000:024] [2022-09-23 16:16:23 +0000.516599][1d6f] CpuOverloadDetect time:518592633
enter.

[000:024] [2022-09-23 16:16:23 +0000.516650][1d6f] CpuOverloadDetect leave. expire


time = 0 ms

[000:024] [2022-09-23 16:16:23 +0000.516676][28e8] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7a07b92080
[000:025] [2022-09-23 16:16:23 +0000.516922][1d6f] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:025] [2022-09-23 16:16:23 +0000.516940][1d6f] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:025] [2022-09-23 16:16:23 +0000.517093][1d6f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:025] [2022-09-23 16:16:23 +0000.517354][1d6f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:025] [2022-09-23 16:16:23 +0000.517603][1d6f] CreatePlatformSpecificObjects:
[000:025] [2022-09-23 16:16:23 +0000.517641][1d6f] audio device use opensle input
and opensl output
[000:025] [2022-09-23 16:16:23 +0000.517679][1d6f] Create OpenSLES output module
with java VM support.

[000:026] [2022-09-23 16:16:23 +0000.517749][1d6f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:026] [2022-09-23 16:16:23 +0000.517873][1d6f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:026] [2022-09-23 16:16:23 +0000.518017][1d6f] Create OpenSLES output module
with buffer num:1

[000:026] [2022-09-23 16:16:23 +0000.518111][1d6f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:026] [2022-09-23 16:16:23 +0000.518223][1d6f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:026] [2022-09-23 16:16:23 +0000.518359][1d6f] Create OpenSLES input module
with java VM support.

[000:026] [2022-09-23 16:16:23 +0000.518394][1d6f] Create OpenSLES input module


with buffer num:1

[000:026] [2022-09-23 16:16:23 +0000.518453][1d6f] Error(trace.cc:40): Init the


output and input for audio device template.
[000:026] [2022-09-23 16:16:23 +0000.518480][1d6f] Init the output device.

[000:026] [2022-09-23 16:16:23 +0000.518511][1d6f] Init the opensl input.


[000:026] [2022-09-23 16:16:23 +0000.518544][1d6f] AppDeviceManager get setting
samplerate: 0
[000:027] [2022-09-23 16:16:23 +0000.518805][1d6f] The device model: m2012k11ag
enum value: 0
[000:027] [2022-09-23 16:16:23 +0000.519154][1d6f] The device model: m2012k11ag
enum value: 0
[000:027] [2022-09-23 16:16:23 +0000.519193][1d6f] Set the sample rate to be:48000

[000:027] [2022-09-23 16:16:23 +0000.519219][1d6f] Enable the recording stereo:0


[000:027] [2022-09-23 16:16:23 +0000.519254][1d6f] Set the playout as stereo:1
[000:027] [2022-09-23 16:16:23 +0000.519268][1d6f] Init the microphone.
[000:029] [2022-09-23 16:16:23 +0000.520978][1d6f] Update the recording sample rate
to be: 48000
[000:029] [2022-09-23 16:16:23 +0000.521030][1d6f] Init the speaker.
[000:029] [2022-09-23 16:16:23 +0000.521078][1d6f] Low latency buffer size:144 low
sample rate:48000
[000:029] [2022-09-23 16:16:23 +0000.521299][1d6f] Using 1 x 10ms for an audio
frame.

[000:032] [2022-09-23 16:16:23 +0000.524330][1d6f] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:032] [2022-09-23 16:16:23 +0000.524415][1d6f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:032] [2022-09-23 16:16:23 +0000.524437][1d6f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:036] [2022-09-23 16:16:23 +0000.528065][1d6f] The device model:m2012k11ag

[000:036] [2022-09-23 16:16:23 +0000.528116][1d6f] speaker output factor:100


defaultFactor: 100

[000:036] [2022-09-23 16:16:23 +0000.528127][1d6f] headset output factor:100


defaultFactor: 100

[000:036] [2022-09-23 16:16:23 +0000.528344][1d6f] AppDeviceManagerStart finished.


[000:036] [2022-09-23 16:16:23 +0000.528364][1d6f] AppDeviceManagerStartMic::mic
status is off
[000:036] [2022-09-23 16:16:23 +0000.528402][1d6f] AppDeviceManagerStartMic update
aec type: 2

[000:036] [2022-09-23 16:16:23 +0000.528416][1d6f] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:036] [2022-09-23 16:16:23 +0000.528426][1d6f]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:036] [2022-09-23 16:16:23 +0000.528436][1d6f]
AudioDeviceDataHandler::StartMicProcess

[000:036] [2022-09-23 16:16:23 +0000.528519][1d6f] Try to start webrtc recording


device.

[000:036] [2022-09-23 16:16:23 +0000.528537][1d6f] StartRecording. threadID:7535

[000:036] [2022-09-23 16:16:23 +0000.528548][28e9] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:036] [2022-09-23 16:16:23 +0000.528607][28e9] haveEnoughProcessedData
internalAudioStream.length: 0
[000:037] [2022-09-23 16:16:23 +0000.528703][1d6f] The machine model:M2012K11AG

[000:037] [2022-09-23 16:16:23 +0000.528729][1d6f] default mode: Set the recording


mode to voice communication to enable HW AEC .
[000:037] [2022-09-23 16:16:23 +0000.528744][1d6f] Set the recording mode before
getSetting: 4
[000:037] [2022-09-23 16:16:23 +0000.528756][1d6f] Set the recording mode after
getSetting: 1
[000:068] [2022-09-23 16:16:23 +0000.560392][1d6f] StartRecording finished.

[000:068] [2022-09-23 16:16:23 +0000.560443][1d6f] audio: start the audio mic


checker timer.

[000:069] [2022-09-23 16:16:23 +0000.561212][1d6f] machine model :poco


[000:069] [2022-09-23 16:16:23 +0000.561245][1d6f] Support this machine model :poco
[000:071] [2022-09-23 16:16:23 +0000.563422][1d6f] global inited! current sdk
version: 07-20-936c45f
[000:146] [2022-09-23 16:16:23 +0000.637955][28ea] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:146] [2022-09-23 16:16:23 +0000.638100][28ea] _deviceSampleRate:48000

[000:146] [2022-09-23 16:16:23 +0000.638387][28e9] Run AGC when audioType = 0


[000:146] [2022-09-23 16:16:23 +0000.638434][28e9]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:293] [2022-09-23 16:16:23 +0000.784983][25fb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:293] [2022-09-23 16:16:23 +0000.785091][28e1] MediaFilterCamera, recording
file context:0x7ac7eb0400 input texture:10
[000:293] [2022-09-23 16:16:23 +0000.785151][28e1] GLESContext:
[000:293] [2022-09-23 16:16:23 +0000.785186][28e1] The result of eglGetDisplay is:
0xb400007b90a568c0
[000:294] [2022-09-23 16:16:23 +0000.785781][28e1] The result of creation:
0x7a07af7b00
[000:294] [2022-09-23 16:16:23 +0000.785844][28e1] The result of
eglCreatePbufferSurface is: 0x7a07af7c00
[000:294] [2022-09-23 16:16:23 +0000.785906][25fb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7ac7eb0400 input_texture: 10
[000:875] [2022-09-23 16:16:24 +0000.367096][1d6f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:875] [2022-09-23 16:16:24 +0000.367207][1d6f] ~MediaFilterCamera
time:518593484 enter.

[000:875] [2022-09-23 16:16:24 +0000.367221][1d6f] StopPullFrameAndWriteMp4


time:518593484 enter.

[000:875] [2022-09-23 16:16:24 +0000.367565][28e0] stop recording


[000:875] [2022-09-23 16:16:24 +0000.367605][28e0] we have stopped recording before
[000:875] [2022-09-23 16:16:24 +0000.367653][1d6f] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[000:877] [2022-09-23 16:16:24 +0000.369352][1d6f] DestroyPipelineAndFilters


time:518593486 enter.

[000:877] [2022-09-23 16:16:24 +0000.369377][1d6f] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:877] [2022-09-23 16:16:24 +0000.369391][1d6f] AppDeviceManagerStopMic

[000:877] [2022-09-23 16:16:24 +0000.369425][1d6f] AppDeviceManagerStopMic::mic


status is on
[000:877] [2022-09-23 16:16:24 +0000.369436][1d6f] Try to stop webrtc device.

[000:877] [2022-09-23 16:16:24 +0000.369448][1d6f] Set record state to


stopped.threadID:7535

[000:921] [2022-09-23 16:16:24 +0000.412988][1d6f] Try to destory the


recorder.threadID:7535

[001:121] [2022-09-23 16:16:24 +0000.613172][1d6f] DestroyAudioRecorder:


[001:121] [2022-09-23 16:16:24 +0000.613233][1d6f] Cleanup the buffer queue in the
recorder.
[001:121] [2022-09-23 16:16:24 +0000.613255][1d6f] Destroy the recorder.

[001:122] [2022-09-23 16:16:24 +0000.613745][1d6f] StopRecording finished.

[001:122] [2022-09-23 16:16:24 +0000.613779][1d6f] The stop recording success.

[001:122] [2022-09-23 16:16:24 +0000.613823][1d6f]


AudioDeviceDataHandler::StopMicProcess

[001:126] [2022-09-23 16:16:24 +0000.617748][1d6f] AppDeviceManager stop.

[001:126] [2022-09-23 16:16:24 +0000.617828][1d6f] Rlease the webrtc device object.

[001:126] [2022-09-23 16:16:24 +0000.617992][1d6f] OpenSlesInput destruct.

[001:126] [2022-09-23 16:16:24 +0000.618031][1d6f] OpenSlesOutput destruct.

[001:126] [2022-09-23 16:16:24 +0000.618288][1d6f] EventDispatchServerScope


destruct
[001:126] [2022-09-23 16:16:24 +0000.618313][1d6f]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[001:126] [2022-09-23 16:16:24 +0000.618346][1d6f] ~AudioDeviceDataHandler

[001:126] [2022-09-23 16:16:24 +0000.618642][1d6f] AppDeviceManagerDestruct.

[001:126] [2022-09-23 16:16:24 +0000.618668][1d6f] ~AppDeviceManager:


[001:127] [2022-09-23 16:16:24 +0000.618738][1d6f] ~CpuOverloadDetect
time:518593736 enter.

[001:127] [2022-09-23 16:16:24 +0000.618870][1d6f] ~CpuOverloadDetect leave.


expire time = 0 ms

[001:128] [2022-09-23 16:16:24 +0000.619785][1d6f] Destruct BeautifyReader begin...


[001:128] [2022-09-23 16:16:24 +0000.619818][1d6f] Destruct BeautifyReader done.
[001:128] [2022-09-23 16:16:24 +0000.619837][1d6f] ~MediaFilterCamera leave.
expire time = 253 ms

[001:128] [2022-09-23 16:16:24 +0000.619932][1d6f] ~GLESContext:


[001:128] [2022-09-23 16:16:24 +0000.620375][1d6f] GLESContext destruct finish.
[001:128] [2022-09-23 16:16:24 +0000.620422][1d6f] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[001:129] [2022-09-23 16:16:24 +0000.621241][1d6f] global uninited!
[001:130] [2022-09-23 16:16:24 +0000.621857][1d6f] clear AppID 50011
[001:130] [2022-09-23 16:16:24 +0000.621884][1d6f] UnRegister JVM for Xplatform
util
[001:130] [2022-09-23 16:16:24 +0000.621898][1d6f] Dispose::unregister webrtc video
engine
[001:130] [2022-09-23 16:16:24 +0000.621925][1d6f] Init the android object with
jvm:0x0 env:0x0 context:0x0

[001:130] [2022-09-23 16:16:24 +0000.621957][1d6f] SetAndroidMediaCodecObjects


time:518593739 enter.

[001:130] [2022-09-23 16:16:24 +0000.621967][1d6f] ClearAndroidMediaCodecObjects


time:518593739 enter.

[001:130] [2022-09-23 16:16:24 +0000.621991][1d6f] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:130] [2022-09-23 16:16:24 +0000.622003][1d6f] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:130] [2022-09-23 16:16:24 +0000.622023][1d6f] SetAndroidMediaCodecObjects


time:518593739 enter.

[001:130] [2022-09-23 16:16:24 +0000.622034][1d6f] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[001:130] [2022-09-23 16:16:24 +0000.622056][1d6f] ClearAndroidMediaCodecObjects
time:518593739 enter.

[001:130] [2022-09-23 16:16:24 +0000.622066][1d6f] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[001:130] [2022-09-23 16:16:24 +0000.622093][1d6f] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[001:130] [2022-09-23 16:16:24 +0000.622103][1d6f] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[001:130] [2022-09-23 16:16:24 +0000.622114][1d6f] Dispose::unregister webrtc voice


engine
[001:130] [2022-09-23 16:16:24 +0000.622124][1d6f] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[001:130] [2022-09-23 16:16:24 +0000.622151][1d6f] SystemUtil UnInit done


[095:745] [2022-09-23 16:20:18 +0000.838609][1d6f] Register JVM for xplatform util
[095:748] [2022-09-23 16:20:18 +0000.841838][1d6f] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-09-
23 16:20:18 +0000
[095:748] [2022-09-23 16:20:18 +0000.841873][1d6f] set AppID=50011 old AppID=-1
[095:748] [2022-09-23 16:20:18 +0000.841891][1d6f] Init the android object with
jvm:0xb400007b90964380 env:0x7b90a59fc0 context:0x7a5e9e8d88

[095:748] [2022-09-23 16:20:18 +0000.841932][1d6f] SetAndroidMediaCodecObjects


time:518688357 enter.

[095:748] [2022-09-23 16:20:18 +0000.841964][1d6f] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[095:748] [2022-09-23 16:20:18 +0000.841989][1d6f] SetAndroidMediaCodecObjects


time:518688357 enter.

[095:748] [2022-09-23 16:20:18 +0000.842015][1d6f] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007b90964380
[095:748] [2022-09-23 16:20:18 +0000.842043][1d6f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007b90964380 address:0x79c5f00760
[095:748] [2022-09-23 16:20:18 +0000.842070][1d6f] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007b90964380
address:0x79c5f00760
[095:748] [2022-09-23 16:20:18 +0000.842097][1d6f] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[095:748] [2022-09-23 16:20:18 +0000.842125][1d6f] Set the android objects with


jvm:0xb400007b90964380 env:0x7b90a59fc0 context:0x7a5e9e8d88

[095:748] [2022-09-23 16:20:18 +0000.842152][1d6f] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7b90a59fc0
[095:748] [2022-09-23 16:20:18 +0000.842180][1d6f] SystemUtil Init done
[095:749] [2022-09-23 16:20:18 +0000.842397][1d6f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[095:749] [2022-09-23 16:20:18 +0000.842495][1d6f] MediaFilterCamera
[095:749] [2022-09-23 16:20:18 +0000.842526][1d6f] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[095:749] [2022-09-23 16:20:18 +0000.842604][1d6f] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[095:749] [2022-09-23 16:20:18 +0000.842635][1d6f] Recording session using default
bitrate support by app:31457280
[095:749] [2022-09-23 16:20:18 +0000.842634][2dc1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x79f7b5b1c0
[095:749] [2022-09-23 16:20:18 +0000.842833][2dc1] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[095:749] [2022-09-23 16:20:18 +0000.842882][1d6f] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[095:750] [2022-09-23 16:20:18 +0000.843446][1d6f] Error(ini.cc:191): Open the file
failed. error:2
[095:750] [2022-09-23 16:20:18 +0000.843473][1d6f]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[095:750] [2022-09-23 16:20:18 +0000.843503][1d6f] The device model: m2012k11ag
usingSoftwareAEC value: 0
[095:751] [2022-09-23 16:20:18 +0000.844936][1d6f] Error(ini.cc:191): Open the file
failed. error:2
[095:751] [2022-09-23 16:20:18 +0000.844976][1d6f]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[095:751] [2022-09-23 16:20:18 +0000.845022][1d6f] The device model: m2012k11ag
usingHardwareAEC value: 0
[095:751] [2022-09-23 16:20:18 +0000.845049][1d6f] The machine device: m2012k11ag
usingHardwareAEC value: 0
[095:751] [2022-09-23 16:20:18 +0000.845067][1d6f] Using Default AEC type: software
AEC
[095:752] [2022-09-23 16:20:18 +0000.845863][1d6f] The device model: m2012k11ag
enum value: 0
[095:752] [2022-09-23 16:20:18 +0000.846161][1d6f] GetMachineModel is M2012K11AG
[095:752] [2022-09-23 16:20:18 +0000.846191][1d6f] GetMachineInfo: M2012K11AG
[095:752] [2022-09-23 16:20:18 +0000.846223][1d6f] Construct BeautifyReader
begin...
[095:752] [2022-09-23 16:20:18 +0000.846252][1d6f] dumpStickerRgba:0
dumpStickerYuv:0
[095:752] [2022-09-23 16:20:18 +0000.846280][1d6f] Construct BeautifyReader done.
[095:754] [2022-09-23 16:20:18 +0000.847984][1d6f] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[095:754] [2022-09-23 16:20:18 +0000.848054][1d6f] AppDeviceManager telnet server
for statistics started......
[095:754] [2022-09-23 16:20:18 +0000.848153][2dc4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7a5fc5eaa0
[095:755] [2022-09-23 16:20:18 +0000.848824][1d6f] CpuOverloadDetect time:518688364
enter.

[095:755] [2022-09-23 16:20:18 +0000.848923][1d6f] CpuOverloadDetect leave. expire


time = 0 ms

[095:755] [2022-09-23 16:20:18 +0000.849100][2dc5] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7a07b933c0
[095:756] [2022-09-23 16:20:18 +0000.849320][1d6f] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[095:756] [2022-09-23 16:20:18 +0000.849354][1d6f] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[095:756] [2022-09-23 16:20:18 +0000.849526][1d6f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[095:756] [2022-09-23 16:20:18 +0000.850139][1d6f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[095:757] [2022-09-23 16:20:18 +0000.850383][1d6f] CreatePlatformSpecificObjects:
[095:757] [2022-09-23 16:20:18 +0000.850429][1d6f] audio device use opensle input
and opensl output
[095:757] [2022-09-23 16:20:18 +0000.850473][1d6f] Create OpenSLES output module
with java VM support.

[095:757] [2022-09-23 16:20:18 +0000.850587][1d6f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[095:757] [2022-09-23 16:20:18 +0000.850719][1d6f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[095:757] [2022-09-23 16:20:18 +0000.851019][1d6f] Create OpenSLES output module
with buffer num:1

[095:757] [2022-09-23 16:20:18 +0000.851134][1d6f] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[095:758] [2022-09-23 16:20:18 +0000.851550][1d6f] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[095:758] [2022-09-23 16:20:18 +0000.851699][1d6f] Create OpenSLES input module
with java VM support.

[095:758] [2022-09-23 16:20:18 +0000.851734][1d6f] Create OpenSLES input module


with buffer num:1

[095:758] [2022-09-23 16:20:18 +0000.851755][1d6f] Error(trace.cc:40): Init the


output and input for audio device template.
[095:758] [2022-09-23 16:20:18 +0000.851771][1d6f] Init the output device.

[095:758] [2022-09-23 16:20:18 +0000.851783][1d6f] Init the opensl input.


[095:758] [2022-09-23 16:20:18 +0000.851811][1d6f] AppDeviceManager get setting
samplerate: 0
[095:758] [2022-09-23 16:20:18 +0000.851998][1d6f] The device model: m2012k11ag
enum value: 0
[095:758] [2022-09-23 16:20:18 +0000.852257][1d6f] The device model: m2012k11ag
enum value: 0
[095:758] [2022-09-23 16:20:18 +0000.852276][1d6f] Set the sample rate to be:48000

[095:759] [2022-09-23 16:20:18 +0000.852308][1d6f] Enable the recording stereo:0


[095:759] [2022-09-23 16:20:18 +0000.852321][1d6f] Set the playout as stereo:1
[095:759] [2022-09-23 16:20:18 +0000.852356][1d6f] Init the microphone.
[095:759] [2022-09-23 16:20:18 +0000.852779][1d6f] Update the recording sample rate
to be: 48000
[095:759] [2022-09-23 16:20:18 +0000.852816][1d6f] Init the speaker.
[095:759] [2022-09-23 16:20:18 +0000.852835][1d6f] Low latency buffer size:144 low
sample rate:48000
[095:759] [2022-09-23 16:20:18 +0000.853026][1d6f] Using 1 x 10ms for an audio
frame.

[095:762] [2022-09-23 16:20:18 +0000.856153][1d6f] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[095:762] [2022-09-23 16:20:18 +0000.856215][1d6f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[095:762] [2022-09-23 16:20:18 +0000.856241][1d6f] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[095:766] [2022-09-23 16:20:18 +0000.860271][1d6f] The device model:m2012k11ag

[095:767] [2022-09-23 16:20:18 +0000.860332][1d6f] speaker output factor:100


defaultFactor: 100

[095:767] [2022-09-23 16:20:18 +0000.860342][1d6f] headset output factor:100


defaultFactor: 100

[095:767] [2022-09-23 16:20:18 +0000.860548][1d6f] AppDeviceManagerStart finished.


[095:767] [2022-09-23 16:20:18 +0000.860565][1d6f] AppDeviceManagerStartMic::mic
status is off
[095:767] [2022-09-23 16:20:18 +0000.860613][1d6f] AppDeviceManagerStartMic update
aec type: 2

[095:767] [2022-09-23 16:20:18 +0000.860626][1d6f] AppDeviceManagerStartMic update


voiceChangeMode: 4

[095:767] [2022-09-23 16:20:18 +0000.860636][1d6f]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[095:767] [2022-09-23 16:20:18 +0000.860645][1d6f]
AudioDeviceDataHandler::StartMicProcess

[095:767] [2022-09-23 16:20:18 +0000.860724][1d6f] Try to start webrtc recording


device.

[095:767] [2022-09-23 16:20:18 +0000.860742][1d6f] StartRecording. threadID:7535

[095:767] [2022-09-23 16:20:18 +0000.860774][1d6f] default mode: Set the recording


mode to voice communication to enable HW AEC .

[095:767] [2022-09-23 16:20:18 +0000.860796][1d6f] Set the recording mode before


getSetting: 4
[095:767] [2022-09-23 16:20:18 +0000.860753][2dc6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[095:767] [2022-09-23 16:20:18 +0000.860839][1d6f] Set the recording mode after
getSetting: 1
[095:791] [2022-09-23 16:20:18 +0000.884547][1d6f] StartRecording finished.

[095:791] [2022-09-23 16:20:18 +0000.884620][1d6f] audio: start the audio mic


checker timer.

[095:791] [2022-09-23 16:20:18 +0000.884863][1d6f] machine model :poco


[095:791] [2022-09-23 16:20:18 +0000.884889][1d6f] Support this machine model :poco
[095:791] [2022-09-23 16:20:18 +0000.884928][1d6f] global inited! current sdk
version: 07-20-936c45f
[096:004] [2022-09-23 16:20:19 +0000.97395][25fb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[096:004] [2022-09-23 16:20:19 +0000.97521][2dc2] MediaFilterCamera, recording file
context:0x7ac7eb0400 input texture:17
[096:004] [2022-09-23 16:20:19 +0000.97603][2dc2] GLESContext:
[096:004] [2022-09-23 16:20:19 +0000.97630][2dc2] The result of eglGetDisplay is:
0xb400007b90a568c0
[096:004] [2022-09-23 16:20:19 +0000.98151][2dc2] The result of creation:
0x7a07976700
[096:004] [2022-09-23 16:20:19 +0000.98216][2dc2] The result of
eglCreatePbufferSurface is: 0x7a07976880
[096:004] [2022-09-23 16:20:19 +0000.98289][25fb]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7ac7eb0400 input_texture: 17
[096:244] [2022-09-23 16:20:19 +0000.337930][1d6f]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[096:244] [2022-09-23 16:20:19 +0000.338128][1d6f] ~MediaFilterCamera
time:518688853 enter.

[096:244] [2022-09-23 16:20:19 +0000.338157][1d6f] StopPullFrameAndWriteMp4


time:518688853 enter.

[096:246] [2022-09-23 16:20:19 +0000.339358][2dc1] stop recording


[096:246] [2022-09-23 16:20:19 +0000.339390][2dc1] we have stopped recording before
[096:246] [2022-09-23 16:20:19 +0000.339531][1d6f] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[096:247] [2022-09-23 16:20:19 +0000.340400][1d6f] DestroyPipelineAndFilters


time:518688856 enter.

[096:247] [2022-09-23 16:20:19 +0000.340586][1d6f] DestroyPipelineAndFilters


leave. expire time = 0 ms

[096:247] [2022-09-23 16:20:19 +0000.340606][1d6f] AppDeviceManagerStopMic

[096:247] [2022-09-23 16:20:19 +0000.340961][1d6f] AppDeviceManagerStopMic::mic


status is on
[096:247] [2022-09-23 16:20:19 +0000.340986][1d6f] Try to stop webrtc device.

[096:247] [2022-09-23 16:20:19 +0000.341005][1d6f] Set record state to


stopped.threadID:7535

[096:299] [2022-09-23 16:20:19 +0000.393233][1d6f] Try to destory the


recorder.threadID:7535

[096:500] [2022-09-23 16:20:19 +0000.593387][1d6f] DestroyAudioRecorder:


[096:500] [2022-09-23 16:20:19 +0000.593483][1d6f] Cleanup the buffer queue in the
recorder.
[096:500] [2022-09-23 16:20:19 +0000.593514][1d6f] Destroy the recorder.

[096:501] [2022-09-23 16:20:19 +0000.594489][1d6f] StopRecording finished.

[096:501] [2022-09-23 16:20:19 +0000.594558][1d6f] The stop recording success.

[096:501] [2022-09-23 16:20:1[000:017] [2022-10-10 10:42:52 +0000.810527][316e] Log


to file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-
10-10 10:42:52 +0000
[000:017] [2022-10-10 10:42:52 +0000.810557][316e] set AppID=50011 old AppID=-1
[000:017] [2022-10-10 10:42:52 +0000.810567][316e] Init the android object with
jvm:0xb400007e894ac380 env:0x7e895a2100 context:0x7d568be718

[000:017] [2022-10-10 10:42:52 +0000.810612][316e] SetAndroidMediaCodecObjects


time:236858160 enter.
[000:017] [2022-10-10 10:42:52 +0000.810637][316e] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:017] [2022-10-10 10:42:52 +0000.810649][316e] SetAndroidMediaCodecObjects


time:236858160 enter.

[000:017] [2022-10-10 10:42:52 +0000.810674][316e] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007e894ac380
[000:017] [2022-10-10 10:42:52 +0000.810685][316e] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007e894ac380 address:0x7cbe872760
[000:017] [2022-10-10 10:42:52 +0000.810721][316e] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007e894ac380
address:0x7cbe872760
[000:017] [2022-10-10 10:42:52 +0000.810731][316e] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:017] [2022-10-10 10:42:52 +0000.810770][316e] Set the android objects with


jvm:0xb400007e894ac380 env:0x7e895a2100 context:0x7d568be718

[000:018] [2022-10-10 10:42:52 +0000.811426][316e] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7e895a2100
[000:018] [2022-10-10 10:42:52 +0000.811449][316e] SystemUtil Init done
[000:020] [2022-10-10 10:42:52 +0000.813303][316e]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:021] [2022-10-10 10:42:52 +0000.814410][316e] MediaFilterCamera
[000:021] [2022-10-10 10:42:52 +0000.814447][316e] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:021] [2022-10-10 10:42:52 +0000.814533][316e] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:021] [2022-10-10 10:42:52 +0000.814554][316e] Recording session using default
bitrate support by app:31457280
[000:021] [2022-10-10 10:42:52 +0000.814566][561c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d064b3440
[000:021] [2022-10-10 10:42:52 +0000.814631][561c] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:021] [2022-10-10 10:42:52 +0000.814726][316e] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:021] [2022-10-10 10:42:52 +0000.815152][316e] Error(ini.cc:191): Open the file
failed. error:2
[000:021] [2022-10-10 10:42:52 +0000.815176][316e]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:021] [2022-10-10 10:42:52 +0000.815188][316e] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:023] [2022-10-10 10:42:52 +0000.816480][316e] Error(ini.cc:191): Open the file
failed. error:2
[000:023] [2022-10-10 10:42:52 +0000.816507][316e]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:023] [2022-10-10 10:42:52 +0000.816524][316e] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:023] [2022-10-10 10:42:52 +0000.816540][316e] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:023] [2022-10-10 10:42:52 +0000.816552][316e] Using Default AEC type: software
AEC
[000:023] [2022-10-10 10:42:52 +0000.817178][316e] The device model: m2012k11ag
enum value: 0
[000:024] [2022-10-10 10:42:52 +0000.817393][316e] GetMachineModel is M2012K11AG
[000:024] [2022-10-10 10:42:52 +0000.817413][316e] GetMachineInfo: M2012K11AG
[000:024] [2022-10-10 10:42:52 +0000.817434][316e] Construct BeautifyReader
begin...
[000:024] [2022-10-10 10:42:52 +0000.817471][316e] dumpStickerRgba:0
dumpStickerYuv:0
[000:024] [2022-10-10 10:42:52 +0000.817483][316e] Construct BeautifyReader done.
[000:026] [2022-10-10 10:42:52 +0000.819728][316e] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:026] [2022-10-10 10:42:52 +0000.819839][561f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cf2e219a0
[000:026] [2022-10-10 10:42:52 +0000.819943][316e] AppDeviceManager telnet server
for statistics started......
[000:027] [2022-10-10 10:42:52 +0000.820400][316e] CpuOverloadDetect time:236858170
enter.

[000:027] [2022-10-10 10:42:52 +0000.820476][316e] CpuOverloadDetect leave. expire


time = 0 ms

[000:027] [2022-10-10 10:42:52 +0000.820812][316e] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[000:027] [2022-10-10 10:42:52 +0000.820835][316e] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:027] [2022-10-10 10:42:52 +0000.821010][316e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:028] [2022-10-10 10:42:52 +0000.821294][316e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:028] [2022-10-10 10:42:52 +0000.821541][316e] CreatePlatformSpecificObjects:
[000:028] [2022-10-10 10:42:52 +0000.821581][316e] audio device use opensle input
and opensl output
[000:028] [2022-10-10 10:42:52 +0000.821609][316e] Create OpenSLES output module
with java VM support.

[000:028] [2022-10-10 10:42:52 +0000.821685][316e] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:028] [2022-10-10 10:42:52 +0000.821787][316e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:028] [2022-10-10 10:42:52 +0000.821893][316e] Create OpenSLES output module
with buffer num:1

[000:028] [2022-10-10 10:42:52 +0000.821995][316e] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:028] [2022-10-10 10:42:52 +0000.822084][316e] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:028] [2022-10-10 10:42:52 +0000.822190][316e] Create OpenSLES input module
with java VM support.

[000:028] [2022-10-10 10:42:52 +0000.822238][316e] Create OpenSLES input module


with buffer num:1

[000:029] [2022-10-10 10:42:52 +0000.822276][316e] Error(trace.cc:40): Init the


output and input for audio device template.
[000:029] [2022-10-10 10:42:52 +0000.822293][316e] Init the output device.

[000:029] [2022-10-10 10:42:52 +0000.822305][316e] Init the opensl input.


[000:029] [2022-10-10 10:42:52 +0000.822355][316e] AppDeviceManager get setting
samplerate: 0
[000:029] [2022-10-10 10:42:52 +0000.822555][316e] The device model: m2012k11ag
enum value: 0
[000:029] [2022-10-10 10:42:52 +0000.822829][316e] The device model: m2012k11ag
enum value: 0
[000:029] [2022-10-10 10:42:52 +0000.822865][316e] Set the sample rate to be:48000
[000:029] [2022-10-10 10:42:52 +0000.822875][316e] Enable the recording stereo:0
[000:029] [2022-10-10 10:42:52 +0000.822909][316e] Set the playout as stereo:1
[000:029] [2022-10-10 10:42:52 +0000.822919][316e] Init the microphone.
[000:030] [2022-10-10 10:42:52 +0000.823652][316e] Update the recording sample rate
to be: 48000
[000:030] [2022-10-10 10:42:52 +0000.823716][316e] Init the speaker.
[000:030] [2022-10-10 10:42:52 +0000.823769][316e] Low latency buffer size:144 low
sample rate:48000
[000:030] [2022-10-10 10:42:52 +0000.823313][5620] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cf2d10fc0
[000:030] [2022-10-10 10:42:52 +0000.824022][316e] Using 1 x 10ms for an audio
frame.

[000:033] [2022-10-10 10:42:52 +0000.827194][316e] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:034] [2022-10-10 10:42:52 +0000.827262][316e] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:034] [2022-10-10 10:42:52 +0000.827292][316e] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:038] [2022-10-10 10:42:52 +0000.831412][316e] The device model:m2012k11ag

[000:038] [2022-10-10 10:42:52 +0000.831454][316e] speaker output factor:100


defaultFactor: 100

[000:038] [2022-10-10 10:42:52 +0000.831495][316e] headset output factor:100


defaultFactor: 100

[000:038] [2022-10-10 10:42:52 +0000.831783][316e] AppDeviceManagerStart finished.


[000:038] [2022-10-10 10:42:52 +0000.831809][316e] AppDeviceManagerStartMic::mic
status is off
[000:038] [2022-10-10 10:42:52 +0000.831878][316e] AppDeviceManagerStartMic update
aec type: 2

[000:038] [2022-10-10 10:42:52 +0000.831897][316e] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:038] [2022-10-10 10:42:52 +0000.831910][316e]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:038] [2022-10-10 10:42:52 +0000.831937][316e]
AudioDeviceDataHandler::StartMicProcess

[000:038] [2022-10-10 10:42:52 +0000.832024][316e] Try to start webrtc recording


device.

[000:038] [2022-10-10 10:42:52 +0000.832047][316e] StartRecording. threadID:12654

[000:038] [2022-10-10 10:42:52 +0000.832124][5621] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:038] [2022-10-10 10:42:52 +0000.832166][5621] haveEnoughProcessedData
internalAudioStream.length: 0
[000:039] [2022-10-10 10:42:52 +0000.832277][316e] The machine model:M2012K11AG

[000:039] [2022-10-10 10:42:52 +0000.832315][316e] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:039] [2022-10-10 10:42:52 +0000.832338][316e] Set the recording mode before


getSetting: 4
[000:039] [2022-10-10 10:42:52 +0000.832377][316e] Set the recording mode after
getSetting: 1
[000:066] [2022-10-10 10:42:52 +0000.859838][316e] StartRecording finished.

[000:066] [2022-10-10 10:42:52 +0000.859880][316e] audio: start the audio mic


checker timer.

[000:066] [2022-10-10 10:42:52 +0000.860139][316e] machine model :poco


[000:066] [2022-10-10 10:42:52 +0000.860163][316e] Support this machine model :poco
[000:069] [2022-10-10 10:42:52 +0000.862604][316e] global inited! current sdk
version: 07-20-936c45f
[000:142] [2022-10-10 10:42:52 +0000.935311][5622] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:142] [2022-10-10 10:42:52 +0000.935468][5622] _deviceSampleRate:48000

[000:146] [2022-10-10 10:42:52 +0000.939630][5621] Run AGC when audioType = 0


[000:146] [2022-10-10 10:42:52 +0000.939750][5621]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:326] [2022-10-10 10:42:53 +0000.120110][53b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:327] [2022-10-10 10:42:53 +0000.120235][561d] MediaFilterCamera, recording
file context:0x7dd57cb300 input texture:10
[000:327] [2022-10-10 10:42:53 +0000.120290][561d] GLESContext:
[000:327] [2022-10-10 10:42:53 +0000.120331][561d] The result of eglGetDisplay is:
0xb400007e8959edc0
[000:327] [2022-10-10 10:42:53 +0000.120926][561d] The result of creation:
0x7cf2d2de00
[000:327] [2022-10-10 10:42:53 +0000.120993][561d] The result of
eglCreatePbufferSurface is: 0x7cf2def980
[000:327] [2022-10-10 10:42:53 +0000.121058][53b5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7dd57cb300 input_texture: 10
[000:446] [2022-10-10 10:42:53 +0000.239558][316e]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:446] [2022-10-10 10:42:53 +0000.239646][316e] ~MediaFilterCamera
time:236858589 enter.

[000:446] [2022-10-10 10:42:53 +0000.239668][316e] StopPullFrameAndWriteMp4


time:236858589 enter.

[000:446] [2022-10-10 10:42:53 +0000.240010][561c] stop recording


[000:446] [2022-10-10 10:42:53 +0000.240061][561c] we have stopped recording before
[000:447] [2022-10-10 10:42:53 +0000.240519][316e] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[000:449] [2022-10-10 10:42:53 +0000.242647][316e] DestroyPipelineAndFilters


time:236858592 enter.

[000:449] [2022-10-10 10:42:53 +0000.242807][316e] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:449] [2022-10-10 10:42:53 +0000.242826][316e] AppDeviceManagerStopMic

[000:449] [2022-10-10 10:42:53 +0000.242884][316e] AppDeviceManagerStopMic::mic


status is on
[000:449] [2022-10-10 10:42:53 +0000.242898][316e] Try to stop webrtc device.

[000:019] [2022-10-10 16:59:53 +0000.294674][7909] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-10-
10 16:59:53 +0000
[000:019] [2022-10-10 16:59:53 +0000.294729][7909] set AppID=50011 old AppID=-1
[000:019] [2022-10-10 16:59:53 +0000.294761][7909] Init the android object with
jvm:0xb400007e894ac380 env:0x7e895a2600 context:0x7d54af7718

[000:020] [2022-10-10 16:59:53 +0000.294819][7909] SetAndroidMediaCodecObjects


time:258640953 enter.

[000:020] [2022-10-10 16:59:53 +0000.294840][7909] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:020] [2022-10-10 16:59:53 +0000.294876][7909] SetAndroidMediaCodecObjects


time:258640953 enter.

[000:020] [2022-10-10 16:59:53 +0000.294912][7909] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007e894ac380
[000:020] [2022-10-10 16:59:53 +0000.294926][7909] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007e894ac380 address:0x7ccd290760
[000:020] [2022-10-10 16:59:53 +0000.294941][7909] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007e894ac380
address:0x7ccd290760
[000:020] [2022-10-10 16:59:53 +0000.294968][7909] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:020] [2022-10-10 16:59:53 +0000.294995][7909] Set the android objects with


jvm:0xb400007e894ac380 env:0x7e895a2600 context:0x7d54af7718

[000:022] [2022-10-10 16:59:53 +0000.297030][7909] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7e895a2600
[000:022] [2022-10-10 16:59:53 +0000.297090][7909] SystemUtil Init done
[000:023] [2022-10-10 16:59:53 +0000.298692][7909]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:025] [2022-10-10 16:59:53 +0000.299893][7909] MediaFilterCamera
[000:025] [2022-10-10 16:59:53 +0000.299953][7909] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:025] [2022-10-10 16:59:53 +0000.300097][7909] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:025] [2022-10-10 16:59:53 +0000.300124][7909] Recording session using default
bitrate support by app:31457280
[000:025] [2022-10-10 16:59:53 +0000.300404][1582] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d0d49dac0
[000:025] [2022-10-10 16:59:53 +0000.300449][1582] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:025] [2022-10-10 16:59:53 +0000.300641][7909] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:026] [2022-10-10 16:59:53 +0000.301612][7909] Error(ini.cc:191): Open the file
failed. error:2
[000:026] [2022-10-10 16:59:53 +0000.301648][7909]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:026] [2022-10-10 16:59:53 +0000.301683][7909] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:029] [2022-10-10 16:59:53 +0000.303842][7909] Error(ini.cc:191): Open the file
failed. error:2
[000:029] [2022-10-10 16:59:53 +0000.303879][7909]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:029] [2022-10-10 16:59:53 +0000.303933][7909] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:029] [2022-10-10 16:59:53 +0000.303968][7909] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:029] [2022-10-10 16:59:53 +0000.304002][7909] Using Default AEC type: software
AEC
[000:030] [2022-10-10 16:59:53 +0000.304931][7909] The device model: m2012k11ag
enum value: 0
[000:030] [2022-10-10 16:59:53 +0000.305243][7909] GetMachineModel is M2012K11AG
[000:030] [2022-10-10 16:59:53 +0000.305276][7909] GetMachineInfo: M2012K11AG
[000:030] [2022-10-10 16:59:53 +0000.305306][7909] Construct BeautifyReader
begin...
[000:030] [2022-10-10 16:59:53 +0000.305337][7909] dumpStickerRgba:0
dumpStickerYuv:0
[000:030] [2022-10-10 16:59:53 +0000.305352][7909] Construct BeautifyReader done.
[000:033] [2022-10-10 16:59:53 +0000.308534][7909] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:034] [2022-10-10 16:59:53 +0000.308814][7909] AppDeviceManager telnet server
for statistics started......
[000:033] [2022-10-10 16:59:53 +0000.308678][1585] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d003fc8a0
[000:034] [2022-10-10 16:59:53 +0000.309527][7909] CpuOverloadDetect time:258640967
enter.

[000:034] [2022-10-10 16:59:53 +0000.309629][7909] CpuOverloadDetect leave. expire


time = 0 ms

[000:035] [2022-10-10 16:59:53 +0000.310104][7909] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[000:035] [2022-10-10 16:59:53 +0000.310136][7909] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:035] [2022-10-10 16:59:53 +0000.310369][7909] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:036] [2022-10-10 16:59:53 +0000.310938][7909] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:034] [2022-10-10 16:59:53 +0000.311584][1586] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cf25ddf00
[000:036] [2022-10-10 16:59:53 +0000.311720][7909] CreatePlatformSpecificObjects:
[000:037] [2022-10-10 16:59:53 +0000.312207][7909] audio device use opensle input
and opensl output
[000:037] [2022-10-10 16:59:53 +0000.312259][7909] Create OpenSLES output module
with java VM support.

[000:037] [2022-10-10 16:59:53 +0000.312383][7909] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:037] [2022-10-10 16:59:53 +0000.312598][7909] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:037] [2022-10-10 16:59:53 +0000.312764][7909] Create OpenSLES output module
with buffer num:1

[000:038] [2022-10-10 16:59:53 +0000.312885][7909] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:038] [2022-10-10 16:59:53 +0000.313012][7909] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:038] [2022-10-10 16:59:53 +0000.313150][7909] Create OpenSLES input module
with java VM support.

[000:038] [2022-10-10 16:59:53 +0000.313189][7909] Create OpenSLES input module


with buffer num:1

[000:038] [2022-10-10 16:59:53 +0000.313250][7909] Error(trace.cc:40): Init the


output and input for audio device template.
[000:038] [2022-10-10 16:59:53 +0000.313276][7909] Init the output device.

[000:038] [2022-10-10 16:59:53 +0000.313310][7909] Init the opensl input.


[000:038] [2022-10-10 16:59:53 +0000.313347][7909] AppDeviceManager get setting
samplerate: 0
[000:038] [2022-10-10 16:59:53 +0000.313601][7909] The device model: m2012k11ag
enum value: 0
[000:039] [2022-10-10 16:59:53 +0000.314054][7909] The device model: m2012k11ag
enum value: 0
[000:039] [2022-10-10 16:59:53 +0000.314101][7909] Set the sample rate to be:48000

[000:039] [2022-10-10 16:59:53 +0000.314116][7909] Enable the recording stereo:0


[000:039] [2022-10-10 16:59:53 +0000.314144][7909] Set the playout as stereo:1
[000:039] [2022-10-10 16:59:53 +0000.314157][7909] Init the microphone.
[000:039] [2022-10-10 16:59:53 +0000.314628][7909] Update the recording sample rate
to be: 48000
[000:039] [2022-10-10 16:59:53 +0000.314683][7909] Init the speaker.
[000:039] [2022-10-10 16:59:53 +0000.314726][7909] Low latency buffer size:144 low
sample rate:48000
[000:040] [2022-10-10 16:59:53 +0000.315025][7909] Using 1 x 10ms for an audio
frame.

[000:043] [2022-10-10 16:59:53 +0000.318616][7909] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:043] [2022-10-10 16:59:53 +0000.318692][7909] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:043] [2022-10-10 16:59:53 +0000.318737][7909] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:048] [2022-10-10 16:59:53 +0000.323050][7909] The device model:m2012k11ag

[000:048] [2022-10-10 16:59:53 +0000.323102][7909] speaker output factor:100


defaultFactor: 100

[000:048] [2022-10-10 16:59:53 +0000.323133][7909] headset output factor:100


defaultFactor: 100

[000:048] [2022-10-10 16:59:53 +0000.323447][7909] AppDeviceManagerStart finished.


[000:048] [2022-10-10 16:59:53 +0000.323472][7909] AppDeviceManagerStartMic::mic
status is off
[000:048] [2022-10-10 16:59:53 +0000.323514][7909] AppDeviceManagerStartMic update
aec type: 2

[000:048] [2022-10-10 16:59:53 +0000.323535][7909] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:048] [2022-10-10 16:59:53 +0000.323548][7909]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:048] [2022-10-10 16:59:53 +0000.323568][7909]
AudioDeviceDataHandler::StartMicProcess

[000:048] [2022-10-10 16:59:53 +0000.323657][7909] Try to start webrtc recording


device.

[000:048] [2022-10-10 16:59:53 +0000.323681][7909] StartRecording. threadID:30985

[000:048] [2022-10-10 16:59:53 +0000.323685][1587] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:048] [2022-10-10 16:59:53 +0000.323755][1587] haveEnoughProcessedData
internalAudioStream.length: 0
[000:049] [2022-10-10 16:59:53 +0000.323884][7909] The machine model:M2012K11AG

[000:049] [2022-10-10 16:59:53 +0000.323920][7909] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:049] [2022-10-10 16:59:53 +0000.323938][7909] Set the recording mode before


getSetting: 4
[000:049] [2022-10-10 16:59:53 +0000.323955][7909] Set the recording mode after
getSetting: 1
[000:099] [2022-10-10 16:59:53 +0000.374453][7909] StartRecording finished.

[000:099] [2022-10-10 16:59:53 +0000.374576][7909] audio: start the audio mic


checker timer.

[000:100] [2022-10-10 16:59:53 +0000.374920][7909] machine model :poco


[000:100] [2022-10-10 16:59:53 +0000.374981][7909] Support this machine model :poco
[000:105] [2022-10-10 16:59:53 +0000.380659][7909] global inited! current sdk
version: 07-20-936c45f
[000:170] [2022-10-10 16:59:53 +0000.445547][1588] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:170] [2022-10-10 16:59:53 +0000.445618][1588] _deviceSampleRate:48000

[000:172] [2022-10-10 16:59:53 +0000.447514][1587] Run AGC when audioType = 0


[000:172] [2022-10-10 16:59:53 +0000.447587][1587]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:336] [2022-10-10 16:59:53 +0000.611659][1391]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:337] [2022-10-10 16:59:53 +0000.612460][1583] MediaFilterCamera, recording
file context:0x7dc0e8f880 input texture:10
[000:337] [2022-10-10 16:59:53 +0000.612526][1583] GLESContext:
[000:337] [2022-10-10 16:59:53 +0000.612566][1583] The result of eglGetDisplay is:
0xb400007e8959edc0
[000:338] [2022-10-10 16:59:53 +0000.613088][1583] The result of creation:
0x7dd4ff1180
[000:338] [2022-10-10 16:59:53 +0000.613156][1583] The result of
eglCreatePbufferSurface is: 0x7dd4ff1500
[000:338] [2022-10-10 16:59:53 +0000.613241][1391]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7dc0e8f880 input_texture: 10
[000:503] [2022-10-10 16:59:53 +0000.778760][7909]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:504] [2022-10-10 16:59:53 +0000.779119][7909] ~MediaFilterCamera
time:258641437 enter.

[000:504] [2022-10-10 16:59:53 +0000.779140][7909] StopPullFrameAndWriteMp4


time:258641437 enter.

[000:504] [2022-10-10 16:59:53 +0000.779376][1582] stop recording


[000:504] [2022-10-10 16:59:53 +0000.779404][1582] we have stopped recording before
[000:504] [2022-10-10 16:59:53 +0000.779473][7909] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[000:504] [2022-10-10 16:59:53 +0000.779753][7909] DestroyPipelineAndFilters


time:258641437 enter.

[000:504] [2022-10-10 16:59:53 +0000.779778][7909] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:504] [2022-10-10 16:59:53 +0000.779793][7909] AppDeviceManagerStopMic

[000:505] [2022-10-10 16:59:53 +0000.779841][7909] AppDeviceManagerStopMic::mic


status is on
[000:505] [2022-10-10 16:59:53 +0000.779875][7909] Try to stop webrtc device.

[000:025] [2022-10-11 17:02:47 +0000.626686][6d18] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-10-
11 17:02:47 +0000
[000:025] [2022-10-11 17:02:47 +0000.626730][6d18] set AppID=50011 old AppID=-1
[000:025] [2022-10-11 17:02:47 +0000.626750][6d18] Init the android object with
jvm:0xb400007e894ac380 env:0x7e895a1fc0 context:0x7d5973f718

[000:025] [2022-10-11 17:02:47 +0000.626811][6d18] SetAndroidMediaCodecObjects


time:338540791 enter.

[000:025] [2022-10-11 17:02:47 +0000.626852][6d18] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:025] [2022-10-11 17:02:47 +0000.626870][6d18] SetAndroidMediaCodecObjects


time:338540791 enter.

[000:025] [2022-10-11 17:02:47 +0000.626908][6d18] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007e894ac380
[000:025] [2022-10-11 17:02:47 +0000.626926][6d18] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007e894ac380 address:0x7ca9ea2760
[000:025] [2022-10-11 17:02:47 +0000.626942][6d18] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007e894ac380
address:0x7ca9ea2760
[000:025] [2022-10-11 17:02:47 +0000.626959][6d18] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:025] [2022-10-11 17:02:47 +0000.626989][6d18] Set the android objects with


jvm:0xb400007e894ac380 env:0x7e895a1fc0 context:0x7d5973f718

[000:026] [2022-10-11 17:02:47 +0000.628192][6d18] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7e895a1fc0
[000:026] [2022-10-11 17:02:47 +0000.628223][6d18] SystemUtil Init done
[000:028] [2022-10-11 17:02:47 +0000.629662][6d18]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:029] [2022-10-11 17:02:47 +0000.631173][6d18] MediaFilterCamera
[000:029] [2022-10-11 17:02:47 +0000.631233][6d18] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:029] [2022-10-11 17:02:47 +0000.631342][6d18] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:029] [2022-10-11 17:02:47 +0000.631376][6d18] Recording session using default
bitrate support by app:31457280
[000:029] [2022-10-11 17:02:47 +0000.631396][3cec] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7ce94f6f40
[000:030] [2022-10-11 17:02:47 +0000.631688][3cec] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:030] [2022-10-11 17:02:47 +0000.631762][6d18] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:030] [2022-10-11 17:02:47 +0000.632325][6d18] Error(ini.cc:191): Open the file
failed. error:2
[000:030] [2022-10-11 17:02:47 +0000.632355][6d18]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:030] [2022-10-11 17:02:47 +0000.632372][6d18] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:032] [2022-10-11 17:02:47 +0000.633971][6d18] Error(ini.cc:191): Open the file
failed. error:2
[000:032] [2022-10-11 17:02:47 +0000.634008][6d18]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:032] [2022-10-11 17:02:47 +0000.634030][6d18] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:032] [2022-10-11 17:02:47 +0000.634069][6d18] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:032] [2022-10-11 17:02:47 +0000.634088][6d18] Using Default AEC type: software
AEC
[000:032] [2022-10-11 17:02:47 +0000.634403][6d18] The device model: m2012k11ag
enum value: 0
[000:033] [2022-10-11 17:02:47 +0000.634678][6d18] GetMachineModel is M2012K11AG
[000:033] [2022-10-11 17:02:47 +0000.634705][6d18] GetMachineInfo: M2012K11AG
[000:033] [2022-10-11 17:02:47 +0000.634734][6d18] Construct BeautifyReader
begin...
[000:033] [2022-10-11 17:02:47 +0000.634762][6d18] dumpStickerRgba:0
dumpStickerYuv:0
[000:033] [2022-10-11 17:02:47 +0000.634778][6d18] Construct BeautifyReader done.
[000:035] [2022-10-11 17:02:47 +0000.637189][6d18] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:035] [2022-10-11 17:02:47 +0000.637211][3cef] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7ce9645ea0
[000:035] [2022-10-11 17:02:47 +0000.637405][6d18] AppDeviceManager telnet server
for statistics started......
[000:036] [2022-10-11 17:02:47 +0000.637752][6d18] CpuOverloadDetect time:338540802
enter.

[000:036] [2022-10-11 17:02:47 +0000.637824][6d18] CpuOverloadDetect leave. expire


time = 0 ms

[000:036] [2022-10-11 17:02:47 +0000.637837][3cf0] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7d11624e00
[000:036] [2022-10-11 17:02:47 +0000.638169][6d18] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:036] [2022-10-11 17:02:47 +0000.638196][6d18] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:038] [2022-10-11 17:02:47 +0000.639717][6d18] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:039] [2022-10-11 17:02:47 +0000.640445][6d18] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:039] [2022-10-11 17:02:47 +0000.640678][6d18] CreatePlatformSpecificObjects:
[000:039] [2022-10-11 17:02:47 +0000.640710][6d18] audio device use opensle input
and opensl output
[000:039] [2022-10-11 17:02:47 +0000.640736][6d18] Create OpenSLES output module
with java VM support.

[000:039] [2022-10-11 17:02:47 +0000.640805][6d18] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:039] [2022-10-11 17:02:47 +0000.640894][6d18] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:039] [2022-10-11 17:02:47 +0000.640991][6d18] Create OpenSLES output module
with buffer num:1

[000:039] [2022-10-11 17:02:47 +0000.641072][6d18] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:039] [2022-10-11 17:02:47 +0000.641158][6d18] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:039] [2022-10-11 17:02:47 +0000.641253][6d18] Create OpenSLES input module
with java VM support.

[000:039] [2022-10-11 17:02:47 +0000.641278][6d18] Create OpenSLES input module


with buffer num:1

[000:039] [2022-10-11 17:02:47 +0000.641310][6d18] Error(trace.cc:40): Init the


output and input for audio device template.
[000:039] [2022-10-11 17:02:47 +0000.641333][6d18] Init the output device.

[000:039] [2022-10-11 17:02:47 +0000.641344][6d18] Init the opensl input.


[000:039] [2022-10-11 17:02:47 +0000.641367][6d18] AppDeviceManager get setting
samplerate: 0
[000:040] [2022-10-11 17:02:47 +0000.641531][6d18] The device model: m2012k11ag
enum value: 0
[000:040] [2022-10-11 17:02:47 +0000.641776][6d18] The device model: m2012k11ag
enum value: 0
[000:040] [2022-10-11 17:02:47 +0000.641793][6d18] Set the sample rate to be:48000

[000:040] [2022-10-11 17:02:47 +0000.641805][6d18] Enable the recording stereo:0


[000:040] [2022-10-11 17:02:47 +0000.641817][6d18] Set the playout as stereo:1
[000:040] [2022-10-11 17:02:47 +0000.641828][6d18] Init the microphone.
[000:042] [2022-10-11 17:02:47 +0000.643496][6d18] Update the recording sample rate
to be: 48000
[000:042] [2022-10-11 17:02:47 +0000.643530][6d18] Init the speaker.
[000:042] [2022-10-11 17:02:47 +0000.643551][6d18] Low latency buffer size:144 low
sample rate:48000
[000:042] [2022-10-11 17:02:47 +0000.643675][6d18] Using 1 x 10ms for an audio
frame.

[000:044] [2022-10-11 17:02:47 +0000.646342][6d18] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:044] [2022-10-11 17:02:47 +0000.646417][6d18] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:045] [2022-10-11 17:02:47 +0000.646452][6d18] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:048] [2022-10-11 17:02:47 +0000.649960][6d18] The device model:m2012k11ag

[000:048] [2022-10-11 17:02:47 +0000.650000][6d18] speaker output factor:100


defaultFactor: 100

[000:048] [2022-10-11 17:02:47 +0000.650011][6d18] headset output factor:100


defaultFactor: 100

[000:048] [2022-10-11 17:02:47 +0000.650233][6d18] AppDeviceManagerStart finished.


[000:048] [2022-10-11 17:02:47 +0000.650252][6d18] AppDeviceManagerStartMic::mic
status is off
[000:048] [2022-10-11 17:02:47 +0000.650294][6d18] AppDeviceManagerStartMic update
aec type: 2

[000:048] [2022-10-11 17:02:47 +0000.650308][6d18] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:048] [2022-10-11 17:02:47 +0000.650318][6d18]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:048] [2022-10-11 17:02:47 +0000.650328][6d18]
AudioDeviceDataHandler::StartMicProcess
[000:048] [2022-10-11 17:02:47 +0000.650413][6d18] Try to start webrtc recording
device.

[000:049] [2022-10-11 17:02:47 +0000.650429][6d18] StartRecording. threadID:27928

[000:049] [2022-10-11 17:02:47 +0000.650442][3cf1] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:049] [2022-10-11 17:02:47 +0000.650498][3cf1] haveEnoughProcessedData
internalAudioStream.length: 0
[000:049] [2022-10-11 17:02:47 +0000.650593][6d18] The machine model:M2012K11AG

[000:049] [2022-10-11 17:02:47 +0000.650620][6d18] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:049] [2022-10-11 17:02:47 +0000.650629][6d18] Set the recording mode before


getSetting: 4
[000:049] [2022-10-11 17:02:47 +0000.650642][6d18] Set the recording mode after
getSetting: 1
[000:074] [2022-10-11 17:02:47 +0000.675964][6d18] StartRecording finished.

[000:074] [2022-10-11 17:02:47 +0000.676005][6d18] audio: start the audio mic


checker timer.

[000:074] [2022-10-11 17:02:47 +0000.676319][6d18] machine model :poco


[000:074] [2022-10-11 17:02:47 +0000.676336][6d18] Support this machine model :poco
[000:077] [2022-10-11 17:02:47 +0000.678621][6d18] global inited! current sdk
version: 07-20-936c45f
[000:152] [2022-10-11 17:02:47 +0000.754034][3cf2] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:152] [2022-10-11 17:02:47 +0000.754081][3cf2] _deviceSampleRate:48000

[000:156] [2022-10-11 17:02:47 +0000.758339][3cf1] Run AGC when audioType = 0


[000:157] [2022-10-11 17:02:47 +0000.758445][3cf1]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:296] [2022-10-11 17:02:47 +0000.897927][2567]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:296] [2022-10-11 17:02:47 +0000.898114][3ced] MediaFilterCamera, recording
file context:0x7d5748d380 input texture:13
[000:296] [2022-10-11 17:02:47 +0000.898174][3ced] GLESContext:
[000:296] [2022-10-11 17:02:47 +0000.898233][3ced] The result of eglGetDisplay is:
0xb400007e8959edc0
[000:297] [2022-10-11 17:02:47 +0000.898900][3ced] The result of creation:
0x7d11678b80
[000:297] [2022-10-11 17:02:47 +0000.898981][3ced] The result of
eglCreatePbufferSurface is: 0x7d11678e80
[000:297] [2022-10-11 17:02:47 +0000.899054][2567]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7d5748d380 input_texture: 13
[001:781] [2022-10-11 17:02:49 +0000.382863][3cf1] haveEnoughProcessedData
internalAudioStream.length: 0
[002:153] [2022-10-11 17:02:49 +0000.754989][3cf1] Run AGC when audioType = 0
[003:479] [2022-10-11 17:02:51 +0000.81016][3cf1] haveEnoughProcessedData
internalAudioStream.length: 0
[004:078] [2022-10-11 17:02:51 +0000.680197][3ce8]
monitorTime:4004totalDuration:3940
[004:155] [2022-10-11 17:02:51 +0000.756914][3cf1] Run AGC when audioType = 0
[004:155] [2022-10-11 17:02:51 +0000.757083][3cf1]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:611] [2022-10-11 17:02:52 +0000.212995][6d18]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[004:616] [2022-10-11 17:02:52 +0000.217494][6d18] ~MediaFilterCamera
time:338545382 enter.

[004:616] [2022-10-11 17:02:52 +0000.217594][6d18] StopPullFrameAndWriteMp4


time:338545382 enter.

[004:619] [2022-10-11 17:02:52 +0000.221207][3cec] stop recording


[004:619] [2022-10-11 17:02:52 +0000.221283][3cec] we have stopped recording before
[004:620] [2022-10-11 17:02:52 +0000.221454][6d18] StopPullFrameAndWriteMp4 leave.
expire time = 4 ms

[004:623] [2022-10-11 17:02:52 +0000.224437][6d18] DestroyPipelineAndFilters


time:338545388 enter.

[004:623] [2022-10-11 17:02:52 +0000.224713][6d18] DestroyPipelineAndFilters


leave. expire time = 1 ms

[004:623] [2022-10-11 17:02:52 +0000.224795][6d18] AppDeviceManagerStopMic

[004:623] [2022-10-11 17:02:52 +0000.225137][6d18] AppDeviceManagerStopMic::mic


status is on
[004:623] [2022-10-11 17:02:52 +0000.225190][6d18] Try to stop webrtc device.

[004:623] [2022-10-11 17:02:52 +0000.225227][6d18] Set record state to


stopped.threadID:27928

[004:675] [2022-10-11 17:02:52 +0000.276958][6d18] Try to destory the


recorder.threadID:27928

[004:915] [2022-10-11 17:02:52 +0000.517202][6d18] DestroyAudioRecorder:


[004:915] [2022-10-11 17:02:52 +0000.517347][6d18] Cleanup the buffer queue in the
recorder.
[004:915] [2022-10-11 17:02:52 +0000.517393][6d18] Destroy the recorder.

[004:917] [2022-10-11 17:02:52 +0000.518523][6d18] StopRecording finished.

[004:917] [2022-10-11 17:02:52 +0000.518600][6d18] The stop recording success.

[004:917] [2022-10-11 17:02:52 +0000.518635][6d18]


AudioDeviceDataHandler::StopMicProcess

[004:922] [2022-10-11 17:02:52 +0000.523470][6d18] AppDeviceManager stop.

[004:922] [2022-10-11 17:02:52 +0000.523622][6d18] Rlease the webrtc device object.

[004:922] [2022-10-11 17:02:52 +0000.524006][6d18] OpenSlesInput destruct.

[004:922] [2022-10-11 17:02:52 +0000.524084][6d18] OpenSlesOutput destruct.

[004:923] [2022-10-11 17:02:52 +0000.524589][6d18] EventDispatchServerScope


destruct
[004:923] [2022-10-11 17:02:52 +0000.524661][6d18]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[004:923] [2022-10-11 17:02:52 +0000.524750][6d18] ~AudioDeviceDataHandler
[004:930] [2022-10-11 17:02:52 +0000.531586][6d18] AppDeviceManagerDestruct.

[004:930] [2022-10-11 17:02:52 +0000.531759][6d18] ~AppDeviceManager:


[004:930] [2022-10-11 17:02:52 +0000.531893][6d18] ~CpuOverloadDetect
time:338545696 enter.

[004:930] [2022-10-11 17:02:52 +0000.532253][6d18] ~CpuOverloadDetect leave.


expire time = 0 ms

[004:933] [2022-10-11 17:02:52 +0000.534856][6d18] Destruct BeautifyReader begin...


[004:933] [2022-10-11 17:02:52 +0000.535037][6d18] Destruct BeautifyReader done.
[004:933] [2022-10-11 17:02:52 +0000.535119][6d18] ~MediaFilterCamera leave.
expire time = 317 ms

[004:934] [2022-10-11 17:02:52 +0000.535517][6d18] ~GLESContext:


[004:935] [2022-10-11 17:02:52 +0000.536674][6d18] GLESContext destruct finish.
[004:935] [2022-10-11 17:02:52 +0000.536768][6d18] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[004:935] [2022-10-11 17:02:52 +0000.537159][6d18] global uninited!
[004:939] [2022-10-11 17:02:52 +0000.540783][6d18] clear AppID 50011
[004:939] [2022-10-11 17:02:52 +0000.540868][6d18] UnRegister JVM for Xplatform
util
[004:939] [2022-10-11 17:02:52 +0000.540930][6d18] Dispose::unregister webrtc video
engine
[004:939] [2022-10-11 17:02:52 +0000.540980][6d18] Init the android object with
jvm:0x0 env:0x0 context:0x0

[004:939] [2022-10-11 17:02:52 +0000.541036][6d18] SetAndroidMediaCodecObjects


time:338545705 enter.

[004:939] [2022-10-11 17:02:52 +0000.541085][6d18] ClearAndroidMediaCodecObjects


time:338545705 enter.

[004:939] [2022-10-11 17:02:52 +0000.541149][6d18] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[004:939] [2022-10-11 17:02:52 +0000.541211][6d18] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[004:939] [2022-10-11 17:02:52 +0000.541267][6d18] SetAndroidMediaCodecObjects


time:338545705 enter.

[004:939] [2022-10-11 17:02:52 +0000.541322][6d18] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[004:939] [2022-10-11 17:02:52 +0000.541376][6d18] ClearAndroidMediaCodecObjects
time:338545705 enter.

[004:940] [2022-10-11 17:02:52 +0000.541433][6d18] ClearAndroidMediaCodecObjects


leave. expire time = 1 ms

[004:940] [2022-10-11 17:02:52 +0000.541488][6d18] SetAndroidMediaCodecObjects:


SetAndroidMediaCo[000:069] [2022-10-13 13:01:44 +0000.223][6385] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-10-
13 13:01:44 +0000
[000:069] [2022-10-13 13:01:44 +0000.344][6385] set AppID=50011 old AppID=-1
[000:069] [2022-10-13 13:01:44 +0000.362][6385] Init the android object with
jvm:0xb400007e894ac380 env:0x7e895a24c0 context:0x7d5b27e718

[000:069] [2022-10-13 13:01:44 +0000.394][6385] SetAndroidMediaCodecObjects


time:480244300 enter.

[000:070] [2022-10-13 13:01:44 +0000.413][6385] SetAndroidMediaCodecObjects leave.


expire time = 1 ms

[000:070] [2022-10-13 13:01:44 +0000.427][6385] SetAndroidMediaCodecObjects


time:480244301 enter.

[000:070] [2022-10-13 13:01:44 +0000.439][6385] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007e894ac380
[000:070] [2022-10-13 13:01:44 +0000.450][6385] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007e894ac380 address:0x7ceb675760
[000:070] [2022-10-13 13:01:44 +0000.462][6385] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007e894ac380
address:0x7ceb675760
[000:070] [2022-10-13 13:01:44 +0000.473][6385] SetAndroidMediaCodecObjects leave.
expire time = 0 ms

[000:070] [2022-10-13 13:01:44 +0000.495][6385] Set the android objects with


jvm:0xb400007e894ac380 env:0x7e895a24c0 context:0x7d5b27e718

[000:071] [2022-10-13 13:01:44 +0000.1995][6385] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7e895a24c0
[000:071] [2022-10-13 13:01:44 +0000.2053][6385] SystemUtil Init done
[000:073] [2022-10-13 13:01:44 +0000.3777][6385]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:075] [2022-10-13 13:01:44 +0000.5467][6385] MediaFilterCamera
[000:075] [2022-10-13 13:01:44 +0000.5533][6385] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:075] [2022-10-13 13:01:44 +0000.5641][6385] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:075] [2022-10-13 13:01:44 +0000.5661][6385] Recording session using default
bitrate support by app:31457280
[000:076] [2022-10-13 13:01:44 +0000.6451][67cf] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7dd5715f40
[000:092] [2022-10-13 13:01:44 +0000.22608][67cf] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:092] [2022-10-13 13:01:44 +0000.22963][6385] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:102] [2022-10-13 13:01:44 +0000.33037][6385] Error(ini.cc:191): Open the file
failed. error:2
[000:102] [2022-10-13 13:01:44 +0000.33089][6385]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:102] [2022-10-13 13:01:44 +0000.33106][6385] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:105] [2022-10-13 13:01:44 +0000.35703][6385] Error(ini.cc:191): Open the file
failed. error:2
[000:105] [2022-10-13 13:01:44 +0000.35755][6385]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:105] [2022-10-13 13:01:44 +0000.35785][6385] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:105] [2022-10-13 13:01:44 +0000.35800][6385] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:105] [2022-10-13 13:01:44 +0000.35811][6385] Using Default AEC type: software
AEC
[000:106] [2022-10-13 13:01:44 +0000.36757][6385] The device model: m2012k11ag enum
value: 0
[000:106] [2022-10-13 13:01:44 +0000.37067][6385] GetMachineModel is M2012K11AG
[000:106] [2022-10-13 13:01:44 +0000.37094][6385] GetMachineInfo: M2012K11AG
[000:106] [2022-10-13 13:01:44 +0000.37127][6385] Construct BeautifyReader begin...
[000:106] [2022-10-13 13:01:44 +0000.37141][6385] dumpStickerRgba:0
dumpStickerYuv:0
[000:106] [2022-10-13 13:01:44 +0000.37152][6385] Construct BeautifyReader done.
[000:112] [2022-10-13 13:01:44 +0000.43416][6385] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:113] [2022-10-13 13:01:44 +0000.43466][6385] AppDeviceManager telnet server
for statistics started......
[000:113] [2022-10-13 13:01:44 +0000.43627][67d8] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7dd57e77a0
[000:114] [2022-10-13 13:01:44 +0000.45058][6385] CpuOverloadDetect time:480244345
enter.

[000:114] [2022-10-13 13:01:44 +0000.45192][6385] CpuOverloadDetect leave. expire


time = 0 ms

[000:115] [2022-10-13 13:01:44 +0000.45846][6385] AppDeviceMana GetOpenslVoiceMode


before get setting: 1
[000:115] [2022-10-13 13:01:44 +0000.45893][6385] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[000:116] [2022-10-13 13:01:44 +0000.46820][6385] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:116] [2022-10-13 13:01:44 +0000.47045][67d9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7dd5688e40
[000:119] [2022-10-13 13:01:44 +0000.50045][6385] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:120] [2022-10-13 13:01:44 +0000.50574][6385] CreatePlatformSpecificObjects:
[000:120] [2022-10-13 13:01:44 +0000.50611][6385] audio device use opensle input
and opensl output
[000:120] [2022-10-13 13:01:44 +0000.50652][6385] Create OpenSLES output module
with java VM support.

[000:120] [2022-10-13 13:01:44 +0000.50755][6385] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:120] [2022-10-13 13:01:44 +0000.51146][6385] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:123] [2022-10-13 13:01:44 +0000.53777][6385] Create OpenSLES output module
with buffer num:1

[000:123] [2022-10-13 13:01:44 +0000.53999][6385] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:126] [2022-10-13 13:01:44 +0000.56434][6385] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:126] [2022-10-13 13:01:44 +0000.57045][6385] Create OpenSLES input module with
java VM support.

[000:127] [2022-10-13 13:01:44 +0000.58212][6385] Create OpenSLES input module with


buffer num:1

[000:127] [2022-10-13 13:01:44 +0000.58291][6385] Error(trace.cc:40): Init the


output and input for audio device template.
[000:127] [2022-10-13 13:01:44 +0000.58313][6385] Init the output device.

[000:127] [2022-10-13 13:01:44 +0000.58330][6385] Init the opensl input.


[000:127] [2022-10-13 13:01:44 +0000.58350][6385] AppDeviceManager get setting
samplerate: 0
[000:128] [2022-10-13 13:01:44 +0000.58621][6385] The device model: m2012k11ag enum
value: 0
[000:128] [2022-10-13 13:01:44 +0000.59035][6385] The device model: m2012k11ag enum
value: 0
[000:128] [2022-10-13 13:01:44 +0000.59062][6385] Set the sample rate to be:48000

[000:128] [2022-10-13 13:01:44 +0000.59079][6385] Enable the recording stereo:0


[000:128] [2022-10-13 13:01:44 +0000.59093][6385] Set the playout as stereo:1
[000:128] [2022-10-13 13:01:44 +0000.59108][6385] Init the microphone.
[000:136] [2022-10-13 13:01:44 +0000.66547][6385] Update the recording sample rate
to be: 48000
[000:136] [2022-10-13 13:01:44 +0000.66610][6385] Init the speaker.
[000:136] [2022-10-13 13:01:44 +0000.66674][6385] Low latency buffer size:144 low
sample rate:48000
[000:136] [2022-10-13 13:01:44 +0000.67140][6385] Using 1 x 10ms for an audio
frame.

[000:143] [2022-10-13 13:01:44 +0000.74143][6385] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:143] [2022-10-13 13:01:44 +0000.74297][6385] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:144] [2022-10-13 13:01:44 +0000.74490][6385] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:150] [2022-10-13 13:01:44 +0000.80827][6385] The device model:m2012k11ag

[000:150] [2022-10-13 13:01:44 +0000.80900][6385] speaker output factor:100


defaultFactor: 100

[000:150] [2022-10-13 13:01:44 +0000.80924][6385] headset output factor:100


defaultFactor: 100

[000:150] [2022-10-13 13:01:44 +0000.81239][6385] AppDeviceManagerStart finished.


[000:150] [2022-10-13 13:01:44 +0000.81272][6385] AppDeviceManagerStartMic::mic
status is off
[000:152] [2022-10-13 13:01:44 +0000.82662][6385] AppDeviceManagerStartMic update
aec type: 2

[000:152] [2022-10-13 13:01:44 +0000.83165][6385] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:152] [2022-10-13 13:01:44 +0000.83190][6385]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:152] [2022-10-13 13:01:44 +0000.83206][6385]
AudioDeviceDataHandler::StartMicProcess

[000:152] [2022-10-13 13:01:44 +0000.83321][6385] Try to start webrtc recording


device.

[000:152] [2022-10-13 13:01:44 +0000.83347][6385] StartRecording. threadID:25477

[000:153] [2022-10-13 13:01:44 +0000.83775][6385] The machine model:M2012K11AG

[000:153] [2022-10-13 13:01:44 +0000.84026][6385] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:153] [2022-10-13 13:01:44 +0000.84058][6385] Set the recording mode before


getSetting: 4
[000:153] [2022-10-13 13:01:44 +0000.84106][6385] Set the recording mode after
getSetting: 1
[000:153] [2022-10-13 13:01:44 +0000.84297][67da] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:153] [2022-10-13 13:01:44 +0000.84370][67da] haveEnoughProcessedData
internalAudioStream.length: 0
[000:248] [2022-10-13 13:01:44 +0000.179376][6385] StartRecording finished.

[000:249] [2022-10-13 13:01:44 +0000.179472][6385] audio: start the audio mic


checker timer.

[000:250] [2022-10-13 13:01:44 +0000.180470][6385] machine model :poco


[000:250] [2022-10-13 13:01:44 +0000.180514][6385] Support this machine model :poco
[000:256] [2022-10-13 13:01:44 +0000.186421][6385] global inited! current sdk
version: 07-20-936c45f
[000:380] [2022-10-13 13:01:44 +0000.311149][67db] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:380] [2022-10-13 13:01:44 +0000.311339][67db] _deviceSampleRate:48000

[000:384] [2022-10-13 13:01:44 +0000.315249][67da] Run AGC when audioType = 0


[000:384] [2022-10-13 13:01:44 +0000.315350][67da]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:979] [2022-10-13 13:01:44 +0000.909473][6385]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:979] [2022-10-13 13:01:44 +0000.909817][6385] ~MediaFilterCamera
time:480245210 enter.

[000:979] [2022-10-13 13:01:44 +0000.909885][6385] StopPullFrameAndWriteMp4


time:480245210 enter.

[001:007] [2022-10-13 13:01:44 +0000.938050][67cf] stop recording


[001:007] [2022-10-13 13:01:44 +0000.938161][67cf] we have stopped recording before
[001:009] [2022-10-13 13:01:44 +0000.940137][6385] StopPullFrameAndWriteMp4 leave.
expire time = 30 ms

[001:011] [2022-10-13 13:01:44 +0000.941786][6385] DestroyPipelineAndFilters


time:480245242 enter.

[001:011] [2022-10-13 13:01:44 +0000.941895][6385] DestroyPipelineAndFilters


leave. expire time = 0 ms

[001:011] [2022-10-13 13:01:44 +0000.941940][6385] AppDeviceManagerStopMic

[001:011] [2022-10-13 13:01:44 +0000.942026][6385] AppDeviceManagerStopMic::mic


status is on
[001:011] [2022-10-13 13:01:44 +0000.942069][6385] Try to stop webrtc device.

[001:011] [2022-10-13 13:01:44 +0000.942123][6385] Set record state to


stopped.threadID:25477

[001:077] [2022-10-13 13:01:45 +0000.7767][6385] Try to destory the


recorder.threadID:25477

[001:317] [2022-10-13 13:01:45 +0000.247569][6385] DestroyAudioRecorder:


[001:317] [2022-10-13 13:01:45 +0000.248100][6385] Cleanup the buffer queue in the
recorder.
[001:317] [2022-10-13 13:01:45 +0000.248232][6385] Destroy the recorder.

[001:324] [2022-10-13 13:01:45 +0000.254629][6385] StopRecording finished.

[001:324] [2022-10-13 13:01:45 +0000.254768][6385] The stop recording success.


[001:324] [2022-10-13 13:01:45 +0000.254817][6385]
AudioDeviceDataHandler::StopMicProcess

[001:346] [2022-10-13 13:01:45 +0000.277109][6385] AppDeviceManager stop.

[001:346] [2022-10-13 13:01:45 +0000.277324][6385] Rlease the webrtc device object.

[001:347] [2022-10-13 13:01:45 +0000.277881][6385] OpenSle[000:020] [2022-10-13


19:31:21 +0000.766953][13cd] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-10-
13 19:31:21 +0000
[000:020] [2022-10-13 19:31:21 +0000.766983][13cd] set AppID=50011 old AppID=-1
[000:020] [2022-10-13 19:31:21 +0000.766995][13cd] Init the android object with
jvm:0xb400007e894ac380 env:0x7e895a24c0 context:0x7d53838718

[000:020] [2022-10-13 19:31:21 +0000.767023][13cd] SetAndroidMediaCodecObjects


time:502820040 enter.

[000:020] [2022-10-13 19:31:21 +0000.767049][13cd] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:020] [2022-10-13 19:31:21 +0000.767061][13cd] SetAndroidMediaCodecObjects


time:502820040 enter.

[000:020] [2022-10-13 19:31:21 +0000.767087][13cd] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007e894ac380
[000:020] [2022-10-13 19:31:21 +0000.767097][13cd] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007e894ac380 address:0x7ce1891760
[000:020] [2022-10-13 19:31:21 +0000.767122][13cd] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007e894ac380
address:0x7ce1891760
[000:020] [2022-10-13 19:31:21 +0000.767133][13cd] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:020] [2022-10-13 19:31:21 +0000.767170][13cd] Set the android objects with


jvm:0xb400007e894ac380 env:0x7e895a24c0 context:0x7d53838718

[000:021] [2022-10-13 19:31:21 +0000.767919][13cd] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7e895a24c0
[000:021] [2022-10-13 19:31:21 +0000.767957][13cd] SystemUtil Init done
[000:023] [2022-10-13 19:31:21 +0000.769643][13cd]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:024] [2022-10-13 19:31:21 +0000.770375][13cd] MediaFilterCamera
[000:024] [2022-10-13 19:31:21 +0000.770408][13cd] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:024] [2022-10-13 19:31:21 +0000.770509][13cd] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:024] [2022-10-13 19:31:21 +0000.770529][13cd] Recording session using default
bitrate support by app:31457280
[000:024] [2022-10-13 19:31:21 +0000.770543][295e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d58df29c0
[000:024] [2022-10-13 19:31:21 +0000.770598][295e] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:024] [2022-10-13 19:31:21 +0000.770658][13cd] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:024] [2022-10-13 19:31:21 +0000.770962][13cd] Error(ini.cc:191): Open the file
failed. error:2
[000:024] [2022-10-13 19:31:21 +0000.770981][13cd]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:024] [2022-10-13 19:31:21 +0000.770992][13cd] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:026] [2022-10-13 19:31:21 +0000.772768][13cd] Error(ini.cc:191): Open the file
failed. error:2
[000:026] [2022-10-13 19:31:21 +0000.772811][13cd]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:026] [2022-10-13 19:31:21 +0000.772838][13cd] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:026] [2022-10-13 19:31:21 +0000.772875][13cd] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:026] [2022-10-13 19:31:21 +0000.772892][13cd] Using Default AEC type: software
AEC
[000:027] [2022-10-13 19:31:21 +0000.773666][13cd] The device model: m2012k11ag
enum value: 0
[000:027] [2022-10-13 19:31:21 +0000.773955][13cd] GetMachineModel is M2012K11AG
[000:027] [2022-10-13 19:31:21 +0000.773982][13cd] GetMachineInfo: M2012K11AG
[000:027] [2022-10-13 19:31:21 +0000.774007][13cd] Construct BeautifyReader
begin...
[000:027] [2022-10-13 19:31:21 +0000.774029][13cd] dumpStickerRgba:0
dumpStickerYuv:0
[000:027] [2022-10-13 19:31:21 +0000.774064][13cd] Construct BeautifyReader done.
[000:035] [2022-10-13 19:31:21 +0000.781698][13cd] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:035] [2022-10-13 19:31:21 +0000.782072][13cd] AppDeviceManager telnet server
for statistics started......
[000:035] [2022-10-13 19:31:21 +0000.781822][2961] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d58ec5ea0
[000:036] [2022-10-13 19:31:21 +0000.782914][13cd] CpuOverloadDetect time:502820056
enter.

[000:036] [2022-10-13 19:31:21 +0000.783014][13cd] CpuOverloadDetect leave. expire


time = 0 ms

[000:036] [2022-10-13 19:31:21 +0000.783213][2963] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7cfa05c980
[000:037] [2022-10-13 19:31:21 +0000.783439][13cd] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:037] [2022-10-13 19:31:21 +0000.783463][13cd] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:037] [2022-10-13 19:31:21 +0000.783660][13cd] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:039] [2022-10-13 19:31:21 +0000.786175][13cd] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:041] [2022-10-13 19:31:21 +0000.788268][13cd] CreatePlatformSpecificObjects:
[000:042] [2022-10-13 19:31:21 +0000.788325][13cd] audio device use opensle input
and opensl output
[000:042] [2022-10-13 19:31:21 +0000.788358][13cd] Create OpenSLES output module
with java VM support.

[000:042] [2022-10-13 19:31:21 +0000.788452][13cd] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:042] [2022-10-13 19:31:21 +0000.788624][13cd] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:042] [2022-10-13 19:31:21 +0000.788811][13cd] Create OpenSLES output module
with buffer num:1

[000:042] [2022-10-13 19:31:21 +0000.788926][13cd] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:042] [2022-10-13 19:31:21 +0000.789077][13cd] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:043] [2022-10-13 19:31:21 +0000.789428][13cd] Create OpenSLES input module
with java VM support.

[000:043] [2022-10-13 19:31:21 +0000.789464][13cd] Create OpenSLES input module


with buffer num:1

[000:043] [2022-10-13 19:31:21 +0000.789505][13cd] Error(trace.cc:40): Init the


output and input for audio device template.
[000:043] [2022-10-13 19:31:21 +0000.789552][13cd] Init the output device.

[000:043] [2022-10-13 19:31:21 +0000.789563][13cd] Init the opensl input.


[000:043] [2022-10-13 19:31:21 +0000.789576][13cd] AppDeviceManager get setting
samplerate: 0
[000:043] [2022-10-13 19:31:21 +0000.789786][13cd] The device model: m2012k11ag
enum value: 0
[000:043] [2022-10-13 19:31:21 +0000.790053][13cd] The device model: m2012k11ag
enum value: 0
[000:043] [2022-10-13 19:31:21 +0000.790090][13cd] Set the sample rate to be:48000

[000:043] [2022-10-13 19:31:21 +0000.790103][13cd] Enable the recording stereo:0


[000:043] [2022-10-13 19:31:21 +0000.790115][13cd] Set the playout as stereo:1
[000:043] [2022-10-13 19:31:21 +0000.790180][13cd] Init the microphone.
[000:044] [2022-10-13 19:31:21 +0000.791237][13cd] Update the recording sample rate
to be: 48000
[000:045] [2022-10-13 19:31:21 +0000.791306][13cd] Init the speaker.
[000:045] [2022-10-13 19:31:21 +0000.791356][13cd] Low latency buffer size:144 low
sample rate:48000
[000:045] [2022-10-13 19:31:21 +0000.791599][13cd] Using 1 x 10ms for an audio
frame.

[000:050] [2022-10-13 19:31:21 +0000.796433][13cd] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:050] [2022-10-13 19:31:21 +0000.796530][13cd] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:050] [2022-10-13 19:31:21 +0000.796576][13cd] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:055] [2022-10-13 19:31:21 +0000.801632][13cd] The device model:m2012k11ag

[000:055] [2022-10-13 19:31:21 +0000.801702][13cd] speaker output factor:100


defaultFactor: 100

[000:055] [2022-10-13 19:31:21 +0000.801722][13cd] headset output factor:100


defaultFactor: 100

[000:055] [2022-10-13 19:31:21 +0000.802039][13cd] AppDeviceManagerStart finished.


[000:055] [2022-10-13 19:31:21 +0000.802064][13cd] AppDeviceManagerStartMic::mic
status is off
[000:055] [2022-10-13 19:31:21 +0000.802116][13cd] AppDeviceManagerStartMic update
aec type: 2

[000:055] [2022-10-13 19:31:21 +0000.802143][13cd] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:055] [2022-10-13 19:31:21 +0000.802159][13cd]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:055] [2022-10-13 19:31:21 +0000.802201][13cd]
AudioDeviceDataHandler::StartMicProcess

[000:056] [2022-10-13 19:31:21 +0000.802325][13cd] Try to start webrtc recording


device.

[000:056] [2022-10-13 19:31:21 +0000.802353][13cd] StartRecording. threadID:5069

[000:056] [2022-10-13 19:31:21 +0000.802624][13cd] The machine model:M2012K11AG

[000:056] [2022-10-13 19:31:21 +0000.802689][13cd] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:056] [2022-10-13 19:31:21 +0000.802749][13cd] Set the recording mode before


getSetting: 4
[000:056] [2022-10-13 19:31:21 +0000.802770][13cd] Set the recording mode after
getSetting: 1
[000:056] [2022-10-13 19:31:21 +0000.802813][2965] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:056] [2022-10-13 19:31:21 +0000.802947][2965] haveEnoughProcessedData
internalAudioStream.length: 0
[000:107] [2022-10-13 19:31:21 +0000.853340][13cd] StartRecording finished.

[000:107] [2022-10-13 19:31:21 +0000.853430][13cd] audio: start the audio mic


checker timer.

[000:107] [2022-10-13 19:31:21 +0000.853884][13cd] machine model :poco


[000:107] [2022-10-13 19:31:21 +0000.853913][13cd] Support this machine model :poco
[000:110] [2022-10-13 19:31:21 +0000.856424][13cd] global inited! current sdk
version: 07-20-936c45f
[000:200] [2022-10-13 19:31:21 +0000.947179][2966] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:200] [2022-10-13 19:31:21 +0000.947256][2966] _deviceSampleRate:48000

[000:201] [2022-10-13 19:31:21 +0000.947533][2965] Run AGC when audioType = 0


[000:201] [2022-10-13 19:31:21 +0000.947593][2965]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:513] [2022-10-13 19:31:22 +0000.259833][290a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:513] [2022-10-13 19:31:22 +0000.260038][295f] MediaFilterCamera, recording
file context:0x7d057e9400 input texture:4
[000:513] [2022-10-13 19:31:22 +0000.260073][295f] GLESContext:
[000:513] [2022-10-13 19:31:22 +0000.260097][295f] The result of eglGetDisplay is:
0xb400007e8959edc0
[000:514] [2022-10-13 19:31:22 +0000.260582][295f] The result of creation:
0x7cea503d80
[000:514] [2022-10-13 19:31:22 +0000.260633][295f] The result of
eglCreatePbufferSurface is: 0x7cea503e80
[000:514] [2022-10-13 19:31:22 +0000.260700][290a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7d057e9400 input_texture: 4
[001:806] [2022-10-13 19:31:23 +0000.552373][2965] haveEnoughProcessedData
internalAudioStream.length: 0
[002:201] [2022-10-13 19:31:23 +0000.947975][2965] Run AGC when audioType = 0
[002:506] [2022-10-13 19:31:24 +0000.253025][13cd]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[002:506] [2022-10-13 19:31:24 +0000.253095][13cd] ~MediaFilterCamera
time:502822526 enter.
[002:506] [2022-10-13 19:31:24 +0000.253109][13cd] StopPullFrameAndWriteMp4
time:502822526 enter.

[002:512] [2022-10-13 19:31:24 +0000.259267][295e] stop recording


[002:513] [2022-10-13 19:31:24 +0000.259312][295e] we have stopped recording before
[002:513] [2022-10-13 19:31:24 +0000.259932][13cd] StopPullFrameAndWriteMp4 leave.
expire time = 7 ms

[002:514] [2022-10-13 19:31:24 +0000.260797][13cd] DestroyPipelineAndFilters


time:502822534 enter.

[002:514] [2022-10-13 19:31:24 +0000.260832][13cd] DestroyPipelineAndFilters


leave. expire time = 0 ms

[002:514] [2022-10-13 19:31:24 +0000.260844][13cd] AppDeviceManagerStopMic

[002:514] [2022-10-13 19:31:24 +0000.260968][13cd] AppDeviceManagerStopMic::mic


status is on
[002:514] [2022-10-13 19:31:24 +0000.260986][13cd] Try to stop webrtc device.

[002:514] [2022-10-13 19:31:24 +0000.261001][13cd] Set record state to


stopped.threadID:5069

[002:557] [2022-10-13 19:31:24 +0000.304074][13cd] Try to destory the


recorder.threadID:5069

[002:758] [2022-10-13 19:31:24 +0000.504335][13cd] DestroyAudioRecorder:


[002:758] [2022-10-13 19:31:24 +0000.504397][13cd] Cleanup the buffer queue in the
recorder.
[002:758] [2022-10-13 19:31:24 +0000.504419][13cd] Destroy the recorder.

[002:760] [2022-10-13 19:31:24 +0000.506564][13cd] StopRecording finished.

[002:760] [2022-10-13 19:31:24 +0000.506604][13cd] The stop recording success.

[002:760] [2022-10-13 19:31:24 +0000.506616][13cd]


AudioDeviceDataHandler::StopMicProcess

[002:763] [2022-10-13 19:31:24 +0000.510195][13cd] AppDeviceManager stop.

[002:763] [2022-10-13 19:31:24 +0000.510262][13cd] Rlease the webrtc device object.

[002:764] [2022-10-13 19:31:24 +0000.510467][13cd] OpenSlesInput destruct.

[002:764] [2022-10-13 19:31:24 +0000.510498][13cd] OpenSlesOutput destruct.

[002:764] [2022-10-13 19:31:24 +0000.510726][13cd] EventDispatchServerScope


destruct
[002:764] [2022-10-13 19:31:24 +0000.510746][13cd]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[002:764] [2022-10-13 19:31:24 +0000.510768][13cd] ~AudioDeviceDataHandler

[002:764] [2022-10-13 19:31:24 +0000.511081][13cd] AppDeviceManagerDestruct.

[002:764] [2022-10-13 19:31:24 +0000.511118][13cd] ~AppDeviceManager:


[002:764] [2022-10-13 19:31:24 +0000.511173][13cd] ~CpuOverloadDetect
time:502822784 enter.
[002:765] [2022-10-13 19:31:24 +0000.511363][13cd] ~CpuOverloadDetect leave.
expire time = 1 ms

[002:766] [2022-10-13 19:31:24 +0000.512325][13cd] Destruct BeautifyReader begin...


[002:766] [2022-10-13 19:31:24 +0000.512358][13cd] Destruct BeautifyReader done.
[002:766] [2022-10-13 19:31:24 +0000.512379][13cd] ~MediaFilterCamera leave.
expire time = 260 ms

[002:766] [2022-10-13 19:31:24 +0000.512477][13cd] ~GLESContext:


[002:766] [2022-10-13 19:31:24 +0000.512869][13cd] GLESContext destruct finish.
[002:766] [2022-10-13 19:31:24 +0000.512907][13cd] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[002:766] [2022-10-13 19:31:24 +0000.513113][13cd] global uninited!
[002:768] [2022-10-13 19:31:24 +0000.514960][13cd] clear AppID 50011
[002:768] [2022-10-13 19:31:24 +0000.515009][13cd] UnRegister JVM for Xplatform
util
[002:768] [2022-10-13 19:31:24 +0000.515027][13cd] Dispose::unregister webrtc video
engine
[002:768] [2022-10-13 19:31:24 +0000.515047][13cd] Init the android object with
jvm:0x0 env:0x0 context:0x0

[002:768] [2022-10-13 19:31:24 +0000.515074][13cd] SetAndroidMediaCodecObjects


time:502822788 enter.

[002:768] [2022-10-13 19:31:24 +0000.515097][13cd] ClearAndroidMediaCodecObjects


time:502822788 enter.

[002:768] [2022-10-13 19:31:24 +0000.515124][13cd] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[002:768] [2022-10-13 19:31:24 +0000.515150][13cd] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[002:768] [2022-10-13 19:31:24 +0000.515178][13cd] SetAndroidMediaCodecObjects


time:502822788 enter.

[002:768] [2022-10-13 19:31:24 +0000.515227][13cd] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[002:768] [2022-10-13 19:31:24 +0000.515256][13cd] ClearAndroidMediaCodecObjects
time:502822788 enter.

[002:768] [2022-10-13 19:31:24 +0000.515283][13cd] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[002:769] [2022-10-13 19:31:24 +0000.515321][13cd] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[002:769] [2022-10-13 19:31:24 +0000.515337][13cd] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[002:769] [2022-10-13 19:31:24 +0000.515363][13cd] Dispose::unregister webrtc voice


engine
[002:769] [2022-10-13 19:31:24 +0000.515408][13cd] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[002:769] [2022-10-13 19:31:24 +0000.515454][13cd] SystemUtil UnInit done


[6088:929] [2022-10-13 21:15:09 +0000.412270][13cd] Register JVM for xplatform util
[6088:950] [2022-10-13 21:15:09 +0000.430060][13cd] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-10-
13 21:15:09 +0000
[6088:950] [2022-10-13 21:15:09 +0000.430112][13cd] set AppID=50011 old AppID=-1
[6088:950] [2022-10-13 21:15:09 +0000.430137][13cd] Init the android object with
jvm:0xb400007e894ac380 env:0x7e895a24c0 context:0x7d53838d88

[6088:950] [2022-10-13 21:15:09 +0000.430211][13cd] SetAndroidMediaCodecObjects


time:508908970 enter.

[6088:950] [2022-10-13 21:15:09 +0000.430261][13cd] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[6088:950] [2022-10-13 21:15:09 +0000.430289][13cd] SetAndroidMediaCodecObjects


time:508908970 enter.

[6088:950] [2022-10-13 21:15:09 +0000.430304][13cd] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007e894ac380
[6088:950] [2022-10-13 21:15:09 +0000.430332][13cd] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007e894ac380 address:0x7ce1891760
[6088:950] [2022-10-13 21:15:09 +0000.430367][13cd] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007e894ac380
address:0x7ce1891760
[6088:950] [2022-10-13 21:15:09 +0000.430381][13cd] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[6088:950] [2022-10-13 21:15:09 +0000.430417][13cd] Set the android objects with


jvm:0xb400007e894ac380 env:0x7e895a24c0 context:0x7d53838d88

[6088:952] [2022-10-13 21:15:09 +0000.432749][13cd] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7e895a24c0
[6088:952] [2022-10-13 21:15:09 +0000.432797][13cd] SystemUtil Init done
[6088:954] [2022-10-13 21:15:09 +0000.434803][13cd]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[6088:957] [2022-10-13 21:15:09 +0000.437331][13cd] MediaFilterCamera
[6088:957] [2022-10-13 21:15:09 +0000.437402][13cd] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[6088:957] [2022-10-13 21:15:09 +0000.437507][13cd] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[6088:957] [2022-10-13 21:15:09 +0000.437536][13cd] Recording session using default
bitrate support by app:31457280
[6088:957] [2022-10-13 21:15:09 +0000.437551][1fa9] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d58df29c0
[6088:957] [2022-10-13 21:15:09 +0000.437854][1fa9] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[6088:957] [2022-10-13 21:15:09 +0000.437938][13cd] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[6088:960] [2022-10-13 21:15:09 +0000.440799][13cd] Error(ini.cc:191): Open the
file failed. error:2
[6088:960] [2022-10-13 21:15:09 +0000.440829][13cd]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[6088:960] [2022-10-13 21:15:09 +0000.440845][13cd] The device model: m2012k11ag
usingSoftwareAEC value: 0
[6088:962] [2022-10-13 21:15:09 +0000.442612][13cd] Error(ini.cc:191): Open the
file failed. error:2
[6088:962] [2022-10-13 21:15:09 +0000.442649][13cd]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[6088:962] [2022-10-13 21:15:09 +0000.442694][13cd] The device model: m2012k11ag
usingHardwareAEC value: 0
[6088:962] [2022-10-13 21:15:09 +0000.442722][13cd] The machine device: m2012k11ag
usingHardwareAEC value: 0
[6088:962] [2022-10-13 21:15:09 +0000.442736][13cd] Using Default AEC type:
software AEC
[6088:963] [2022-10-13 21:15:09 +0000.443689][13cd] The device model: m2012k11ag
enum value: 0
[6088:963] [2022-10-13 21:15:09 +0000.443967][13cd] GetMachineModel is M2012K11AG
[6088:964] [2022-10-13 21:15:09 +0000.444005][13cd] GetMachineInfo: M2012K11AG
[6088:964] [2022-10-13 21:15:09 +0000.444032][13cd] Construct BeautifyReader
begin...
[6088:964] [2022-10-13 21:15:09 +0000.444055][13cd] dumpStickerRgba:0
dumpStickerYuv:0
[6088:964] [2022-10-13 21:15:09 +0000.444069][13cd] Construct BeautifyReader done.
[6088:966] [2022-10-13 21:15:09 +0000.446688][13cd]
AppDeviceManagerStartCamera::The result of start thread is: 1 micOn:0
[6088:966] [2022-10-13 21:15:09 +0000.446751][13cd] AppDeviceManager telnet server
for statistics started......
[6088:966] [2022-10-13 21:15:09 +0000.446720][1fac] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cd4ddd4a0
[6088:967] [2022-10-13 21:15:09 +0000.447335][13cd] CpuOverloadDetect
time:508908987 enter.

[6088:967] [2022-10-13 21:15:09 +0000.447407][13cd] CpuOverloadDetect leave.


expire time = 0 ms

[6088:967] [2022-10-13 21:15:09 +0000.447437][1fad] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7cd4a545c0
[6088:967] [2022-10-13 21:15:09 +0000.447771][13cd] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[6088:967] [2022-10-13 21:15:09 +0000.447794][13cd] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[6088:967] [2022-10-13 21:15:09 +0000.447963][13cd] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[6088:968] [2022-10-13 21:15:09 +0000.448300][13cd] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[6088:968] [2022-10-13 21:15:09 +0000.448449][13cd] CreatePlatformSpecificObjects:
[6088:968] [2022-10-13 21:15:09 +0000.448477][13cd] audio device use opensle input
and opensl output
[6088:968] [2022-10-13 21:15:09 +0000.448519][13cd] Create OpenSLES output module
with java VM support.

[6088:968] [2022-10-13 21:15:09 +0000.448576][13cd] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[6088:968] [2022-10-13 21:15:09 +0000.448670][13cd] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[6088:968] [2022-10-13 21:15:09 +0000.448773][13cd] Create OpenSLES output module
with buffer num:1

[6088:968] [2022-10-13 21:15:09 +0000.448846][13cd] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[6088:968] [2022-10-13 21:15:09 +0000.448938][13cd] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[6088:969] [2022-10-13 21:15:09 +0000.449035][13cd] Create OpenSLES input module
with java VM support.

[6088:969] [2022-10-13 21:15:09 +0000.449064][13cd] Create OpenSLES input module


with buffer num:1

[6088:969] [2022-10-13 21:15:09 +0000.449119][13cd] Error(trace.cc:40): Init the


output and input for audio device template.
[6088:969] [2022-10-13 21:15:09 +0000.449138][13cd] Init the output device.
[6088:969] [2022-10-13 21:15:09 +0000.449152][13cd] Init the opensl input.
[6088:969] [2022-10-13 21:15:09 +0000.449173][13cd] AppDeviceManager get setting
samplerate: 0
[6088:969] [2022-10-13 21:15:09 +0000.449371][13cd] The device model: m2012k11ag
enum value: 0
[6088:969] [2022-10-13 21:15:09 +0000.449729][13cd] The device model: m2012k11ag
enum value: 0
[6088:969] [2022-10-13 21:15:09 +0000.449763][13cd] Set the sample rate to be:48000

[6088:969] [2022-10-13 21:15:09 +0000.449794][13cd] Enable the recording stereo:0


[6088:969] [2022-10-13 21:15:09 +0000.449810][13cd] Set the playout as stereo:1
[6088:969] [2022-10-13 21:15:09 +0000.449839][13cd] Init the microphone.
[6088:972] [2022-10-13 21:15:09 +0000.452662][13cd] Update the recording sample
rate to be: 48000
[6088:972] [2022-10-13 21:15:09 +0000.452709][13cd] Init the speaker.
[6088:972] [2022-10-13 21:15:09 +0000.452763][13cd] Low latency buffer size:144 low
sample rate:48000
[6088:973] [2022-10-13 21:15:09 +0000.452994][13cd] Using 1 x 10ms for an audio
frame.

[6088:975] [2022-10-13 21:15:09 +0000.455947][13cd] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[6088:977] [2022-10-13 21:15:09 +0000.457687][13cd] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[6088:977] [2022-10-13 21:15:09 +0000.457725][13cd] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[6088:981] [2022-10-13 21:15:09 +0000.461742][13cd] The device model:m2012k11ag

[6088:981] [2022-10-13 21:15:09 +0000.461779][13cd] speaker output factor:100


defaultFactor: 100

[6088:981] [2022-10-13 21:15:09 +0000.461793][13cd] headset output factor:100


defaultFactor: 100

[6088:982] [2022-10-13 21:15:09 +0000.462074][13cd] AppDeviceManagerStart finished.


[6088:982] [2022-10-13 21:15:09 +0000.462097][13cd] AppDeviceManagerStartMic::mic
status is off
[6088:982] [2022-10-13 21:15:09 +0000.462141][13cd] AppDeviceManagerStartMic update
aec type: 2

[6088:982] [2022-10-13 21:15:09 +0000.462159][13cd] AppDeviceManagerStartMic update


voiceChangeMode: 4

[6088:982] [2022-10-13 21:15:09 +0000.462172][13cd]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[6088:982] [2022-10-13 21:15:09 +0000.462191][13cd]
AudioDeviceDataHandler::StartMicProcess

[6088:982] [2022-10-13 21:15:09 +0000.462283][13cd] Try to start webrtc recording


device.

[6088:982] [2022-10-13 21:15:09 +0000.462304][13cd] StartRecording. threadID:5069

[6088:982] [2022-10-13 21:15:09 +0000.462315][1faf] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[6088:982] [2022-10-13 21:15:09 +0000.462358][13cd] default mode: Set the recording
mode to voice communication to enable HW AEC .
[6088:982] [2022-10-13 21:15:09 +0000.462373][13cd] Set the recording mode before
getSetting: 4
[6088:982] [2022-10-13 21:15:09 +0000.462401][13cd] Set the recording mode after
getSetting: 1
[6089:002] [2022-10-13 21:15:09 +0000.482168][13cd] StartRecording finished.

[6089:002] [2022-10-13 21:15:09 +0000.482231][13cd] audio: start the audio mic


checker timer.

[6089:002] [2022-10-13 21:15:09 +0000.482597][13cd] machine model :poco


[6089:002] [2022-10-13 21:15:09 +0000.482638][13cd] Support this machine
model :poco
[6089:029] [2022-10-13 21:15:09 +0000.509599][13cd] global inited! current sdk
version: 07-20-936c45f
[6089:237] [2022-10-13 21:15:09 +0000.717578][290a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[6089:237] [2022-10-13 21:15:09 +0000.717742][1faa] MediaFilterCamera, recording
file context:0x7d057e9400 input texture:26
[6089:237] [2022-10-13 21:15:09 +0000.717786][1faa] GLESContext:
[6089:237] [2022-10-13 21:15:09 +0000.717816][1faa] The result of eglGetDisplay is:
0xb400007e8959edc0
[6089:238] [2022-10-13 21:15:09 +0000.718385][1faa] The result of creation:
0x7cfa37a980
[6089:238] [2022-10-13 21:15:09 +0000.718450][1faa] The result of
eglCreatePbufferSurface is: 0x7cfa37ab80
[6089:238] [2022-10-13 21:15:09 +0000.718515][290a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7d057e9400 input_texture: 26
[6089:459] [2022-10-13 21:15:09 +0000.939367][13cd]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[6089:459] [2022-10-13 21:15:09 +0000.939455][13cd] ~MediaFilterCamera
time:508909479 enter.

[6089:459] [2022-10-13 21:15:09 +0000.939484][13cd] StopPullFrameAndWriteMp4


time:508909479 enter.

[6089:459] [2022-10-13 21:15:09 +0000.939855][1fa9] stop recording


[6089:459] [2022-10-13 21:15:09 +0000.939882][1fa9] we have stopped recording
before
[6089:459] [2022-10-13 21:15:09 +0000.939926][13cd] StopPullFrameAndWriteMp4
leave. expire time = 0 ms

[6089:460] [2022-10-13 21:15:09 +0000.940346][13cd] DestroyPipelineAndFilters


time:508909480 enter.

[6089:460] [2022-10-13 21:15:09 +0000.940386][13cd] DestroyPipelineAndFilters


leave. expire time = 0 ms

[6089:460] [2022-10-13 21:15:09 +0000.940405][13cd] AppDeviceManagerStopMic

[6089:460] [2022-10-13 21:15:09 +0000.940463][13cd] AppDeviceManagerStopMic::mic


status is on
[6089:460] [2022-10-13 21:15:09 +0000.940479][13cd] Try to stop webrtc device.

[6089:460] [2022-10-13 21:15:09 +0000.940493][13cd] Set record state to


stopped.threadID:5069

[6089:491] [2022-10-13 21:15:09 +0000.971877][13cd] Try to destory the


recorder.threadID:5069
[6089:692] [2022-10-13 21:15:10 +0000.172058][13cd] DestroyAudioRecorder:
[6089:692] [2022-10-13 21:15:10 +0000.172135][13cd] Cleanup the buffer queue in the
recorder.
[6089:692] [2022-10-13 21:15:10 +0000.172210][13cd] Destroy the recorder.

[6089:693] [2022-10-13 21:15:10 +0000.173323][13cd] StopRecordi[000:029] [2022-11-


29 15:40:59 +0000.463537][7703] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
29 15:40:59 +0000
[000:029] [2022-11-29 15:40:59 +0000.463573][7703] set AppID=50011 old AppID=-1
[000:029] [2022-11-29 15:40:59 +0000.463592][7703] Init the android object with
jvm:0xb4000070069b5380 env:0x7006aaae80 context:0x6ed7c11718

[000:029] [2022-11-29 15:40:59 +0000.463625][7703] SetAndroidMediaCodecObjects


time:46429839 enter.

[000:029] [2022-11-29 15:40:59 +0000.463656][7703] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:029] [2022-11-29 15:40:59 +0000.463681][7703] SetAndroidMediaCodecObjects


time:46429839 enter.

[000:029] [2022-11-29 15:40:59 +0000.463708][7703] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000070069b5380
[000:029] [2022-11-29 15:40:59 +0000.463735][7703] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000070069b5380 address:0x6e28737760
[000:029] [2022-11-29 15:40:59 +0000.463761][7703] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000070069b5380
address:0x6e28737760
[000:029] [2022-11-29 15:40:59 +0000.463788][7703] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:029] [2022-11-29 15:40:59 +0000.463830][7703] Set the android objects with


jvm:0xb4000070069b5380 env:0x7006aaae80 context:0x6ed7c11718

[000:030] [2022-11-29 15:40:59 +0000.464988][7703] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7006aaae80
[000:030] [2022-11-29 15:40:59 +0000.465019][7703] SystemUtil Init done
[000:032] [2022-11-29 15:40:59 +0000.466844][7703]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:034] [2022-11-29 15:40:59 +0000.468206][7703] MediaFilterCamera
[000:034] [2022-11-29 15:40:59 +0000.468250][7703] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:034] [2022-11-29 15:40:59 +0000.468335][7703] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:034] [2022-11-29 15:40:59 +0000.468358][7703] Recording session using default
bitrate support by app:31457280
[000:034] [2022-11-29 15:40:59 +0000.468369][708c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e6972c340
[000:034] [2022-11-29 15:40:59 +0000.468613][708c] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:034] [2022-11-29 15:40:59 +0000.468721][7703] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:035] [2022-11-29 15:40:59 +0000.469218][7703] Error(ini.cc:191): Open the file
failed. error:2
[000:035] [2022-11-29 15:40:59 +0000.469251][7703]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:035] [2022-11-29 15:40:59 +0000.469294][7703] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:036] [2022-11-29 15:40:59 +0000.470676][7703] Error(ini.cc:191): Open the file
failed. error:2
[000:036] [2022-11-29 15:40:59 +0000.470714][7703]
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-11-29 15:40:59 +0000.470738][7703] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:036] [2022-11-29 15:40:59 +0000.470771][7703] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:036] [2022-11-29 15:40:59 +0000.470802][7703] Using Default AEC type: software
AEC
[000:037] [2022-11-29 15:40:59 +0000.471134][7703] The device model: m2012k11ag
enum value: 0
[000:037] [2022-11-29 15:40:59 +0000.471434][7703] GetMachineModel is M2012K11AG
[000:037] [2022-11-29 15:40:59 +0000.471466][7703] GetMachineInfo: M2012K11AG
[000:037] [2022-11-29 15:40:59 +0000.471509][7703] Construct BeautifyReader
begin...
[000:037] [2022-11-29 15:40:59 +0000.471532][7703] dumpStickerRgba:0
dumpStickerYuv:0
[000:037] [2022-11-29 15:40:59 +0000.471562][7703] Construct BeautifyReader done.
[000:040] [2022-11-29 15:40:59 +0000.475048][7703] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:041] [2022-11-29 15:40:59 +0000.475103][708f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x6e58e1e4a0
[000:041] [2022-11-29 15:40:59 +0000.475393][7703] AppDeviceManager telnet server
for statistics started......
[000:041] [2022-11-29 15:40:59 +0000.475908][7703] CpuOverloadDetect time:46429851
enter.

[000:041] [2022-11-29 15:40:59 +0000.475982][7703] CpuOverloadDetect leave. expire


time = 0 ms

[000:041] [2022-11-29 15:40:59 +0000.476006][7090] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x6e58c1e100
[000:042] [2022-11-29 15:40:59 +0000.476426][7703] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:042] [2022-11-29 15:40:59 +0000.476452][7703] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:042] [2022-11-29 15:40:59 +0000.476645][7703] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:043] [2022-11-29 15:40:59 +0000.477696][7703] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:043] [2022-11-29 15:40:59 +0000.477973][7703] CreatePlatformSpecificObjects:
[000:043] [2022-11-29 15:40:59 +0000.478008][7703] audio device use opensle input
and opensl output
[000:043] [2022-11-29 15:40:59 +0000.478051][7703] Create OpenSLES output module
with java VM support.

[000:044] [2022-11-29 15:40:59 +0000.478119][7703] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:044] [2022-11-29 15:40:59 +0000.478231][7703] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:044] [2022-11-29 15:40:59 +0000.478356][7703] Create OpenSLES output module
with buffer num:1

[000:044] [2022-11-29 15:40:59 +0000.478450][7703] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:044] [2022-11-29 15:40:59 +0000.478554][7703] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:044] [2022-11-29 15:40:59 +0000.478673][7703] Create OpenSLES input module
with java VM support.

[000:044] [2022-11-29 15:40:59 +0000.478705][7703] Create OpenSLES input module


with buffer num:1

[000:044] [2022-11-29 15:40:59 +0000.478759][7703] Error(trace.cc:40): Init the


output and input for audio device template.
[000:044] [2022-11-29 15:40:59 +0000.478782][7703] Init the output device.

[000:044] [2022-11-29 15:40:59 +0000.478797][7703] Init the opensl input.


[000:044] [2022-11-29 15:40:59 +0000.478818][7703] AppDeviceManager get setting
samplerate: 0
[000:044] [2022-11-29 15:40:59 +0000.479040][7703] The device model: m2012k11ag
enum value: 0
[000:045] [2022-11-29 15:40:59 +0000.479376][7703] The device model: m2012k11ag
enum value: 0
[000:045] [2022-11-29 15:40:59 +0000.479400][7703] Set the sample rate to be:48000

[000:045] [2022-11-29 15:40:59 +0000.479430][7703] Enable the recording stereo:0


[000:045] [2022-11-29 15:40:59 +0000.479457][7703] Set the playout as stereo:1
[000:045] [2022-11-29 15:40:59 +0000.479483][7703] Init the microphone.
[000:046] [2022-11-29 15:40:59 +0000.480831][7703] Update the recording sample rate
to be: 48000
[000:046] [2022-11-29 15:40:59 +0000.480861][7703] Init the speaker.
[000:046] [2022-11-29 15:40:59 +0000.480909][7703] Low latency buffer size:144 low
sample rate:48000
[000:046] [2022-11-29 15:40:59 +0000.481049][7703] Using 1 x 10ms for an audio
frame.

[000:049] [2022-11-29 15:40:59 +0000.483830][7703] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:049] [2022-11-29 15:40:59 +0000.483899][7703] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:049] [2022-11-29 15:40:59 +0000.483947][7703] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:053] [2022-11-29 15:40:59 +0000.487933][7703] The device model:m2012k11ag

[000:053] [2022-11-29 15:40:59 +0000.487979][7703] speaker output factor:100


defaultFactor: 100

[000:053] [2022-11-29 15:40:59 +0000.487996][7703] headset output factor:100


defaultFactor: 100

[000:054] [2022-11-29 15:40:59 +0000.488308][7703] AppDeviceManagerStart finished.


[000:054] [2022-11-29 15:40:59 +0000.488336][7703] AppDeviceManagerStartMic::mic
status is off
[000:054] [2022-11-29 15:40:59 +0000.488405][7703] AppDeviceManagerStartMic update
aec type: 2

[000:054] [2022-11-29 15:40:59 +0000.488427][7703] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:054] [2022-11-29 15:40:59 +0000.488441][7703]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:054] [2022-11-29 15:40:59 +0000.488461][7703]
AudioDeviceDataHandler::StartMicProcess
[000:054] [2022-11-29 15:40:59 +0000.488571][7703] Try to start webrtc recording
device.

[000:054] [2022-11-29 15:40:59 +0000.488596][7703] StartRecording. threadID:30467

[000:054] [2022-11-29 15:40:59 +0000.488597][7091] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:054] [2022-11-29 15:40:59 +0000.488640][7091] haveEnoughProcessedData
internalAudioStream.length: 0
[000:054] [2022-11-29 15:40:59 +0000.488824][7703] The machine model:M2012K11AG

[000:054] [2022-11-29 15:40:59 +0000.488864][7703] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:054] [2022-11-29 15:40:59 +0000.488886][7703] Set the recording mode before


getSetting: 4
[000:054] [2022-11-29 15:40:59 +0000.488905][7703] Set the recording mode after
getSetting: 1
[000:084] [2022-11-29 15:40:59 +0000.518444][7703] StartRecording finished.

[000:084] [2022-11-29 15:40:59 +0000.518499][7703] audio: start the audio mic


checker timer.

[000:084] [2022-11-29 15:40:59 +0000.518786][7703] machine model :poco


[000:084] [2022-11-29 15:40:59 +0000.518808][7703] Support this machine model :poco
[000:087] [2022-11-29 15:40:59 +0000.521178][7703] global inited! current sdk
version: 07-20-936c45f
[000:159] [2022-11-29 15:40:59 +0000.593316][7092] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:159] [2022-11-29 15:40:59 +0000.593401][7092] _deviceSampleRate:48000

[000:161] [2022-11-29 15:40:59 +0000.595565][7091] Run AGC when audioType = 0


[000:161] [2022-11-29 15:40:59 +0000.595683][7091]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:307] [2022-11-29 15:40:59 +0000.741349][7c82]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:307] [2022-11-29 15:40:59 +0000.741478][708d] MediaFilterCamera, recording
file context:0x6f479ac580 input texture:14
[000:307] [2022-11-29 15:40:59 +0000.741529][708d] GLESContext:
[000:307] [2022-11-29 15:40:59 +0000.741638][708d] The result of eglGetDisplay is:
0xb400007006aa78c0
[000:308] [2022-11-29 15:40:59 +0000.742352][708d] The result of creation:
0x6e698e3b00
[000:308] [2022-11-29 15:40:59 +0000.742429][708d] The result of
eglCreatePbufferSurface is: 0x6e698e3c80
[000:308] [2022-11-29 15:40:59 +0000.742505][7c82]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x6f479ac580 input_texture: 14
[000:985] [2022-11-29 15:41:00 +0000.419647][7703]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:985] [2022-11-29 15:41:00 +0000.419738][7703] ~MediaFilterCamera time:46430795
enter.

[000:985] [2022-11-29 15:41:00 +0000.419760][7703] StopPullFrameAndWriteMp4


time:46430795 enter.

[000:985] [2022-11-29 15:41:00 +0000.420007][708c] stop recording


[000:985] [2022-11-29 15:41:00 +0000.420039][708c] we have stopped recording before
[000:986] [2022-11-29 15:41:00 +0000.420110][7703] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[000:987] [2022-11-29 15:41:00 +0000.421597][7703] DestroyPipelineAndFilters


time:46430797 enter.

[000:987] [2022-11-29 15:41:00 +0000.421640][7703] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:987] [2022-11-29 15:41:00 +0000.421663][7703] AppDeviceManagerStopMic

[000:987] [2022-11-29 15:41:00 +0000.421714][7703] AppDeviceManagerStopMic::mic


status is on
[000:987] [2022-11-29 15:41:00 +0000.421733][7703] Try to stop webrtc device.

[000:9[000:025] [2022-11-29 16:39:14 +0000.711467][38a6] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-11-
29 16:39:14 +0000
[000:025] [2022-11-29 16:39:14 +0000.711507][38a6] set AppID=50011 old AppID=-1
[000:025] [2022-11-29 16:39:14 +0000.711630][38a6] Init the android object with
jvm:0xb400007ef4117380 env:0x7ef420cac0 context:0x7dc1158718

[000:025] [2022-11-29 16:39:14 +0000.711676][38a6] SetAndroidMediaCodecObjects


time:141091 enter.

[000:025] [2022-11-29 16:39:14 +0000.711712][38a6] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:025] [2022-11-29 16:39:14 +0000.711742][38a6] SetAndroidMediaCodecObjects


time:141091 enter.

[000:025] [2022-11-29 16:39:14 +0000.711774][38a6] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007ef4117380
[000:025] [2022-11-29 16:39:14 +0000.711805][38a6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007ef4117380 address:0x7d39b18760
[000:025] [2022-11-29 16:39:14 +0000.711837][38a6] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007ef4117380
address:0x7d39b18760
[000:025] [2022-11-29 16:39:14 +0000.711871][38a6] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:025] [2022-11-29 16:39:14 +0000.711912][38a6] Set the android objects with


jvm:0xb400007ef4117380 env:0x7ef420cac0 context:0x7dc1158718

[000:026] [2022-11-29 16:39:14 +0000.712643][38a6] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7ef420cac0
[000:026] [2022-11-29 16:39:14 +0000.712671][38a6] SystemUtil Init done
[000:028] [2022-11-29 16:39:14 +0000.714607][38a6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:029] [2022-11-29 16:39:14 +0000.715923][38a6] MediaFilterCamera
[000:029] [2022-11-29 16:39:14 +0000.715960][38a6] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:029] [2022-11-29 16:39:14 +0000.716047][38a6] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:029] [2022-11-29 16:39:14 +0000.716068][38a6] Recording session using default
bitrate support by app:31457280
[000:029] [2022-11-29 16:39:14 +0000.716080][3d0e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d7a9c7c40
[000:030] [2022-11-29 16:39:14 +0000.716360][3d0e] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:030] [2022-11-29 16:39:14 +0000.716458][38a6] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:030] [2022-11-29 16:39:14 +0000.716990][38a6] Error(ini.cc:191): Open the file
failed. error:2
[000:030] [2022-11-29 16:39:14 +0000.717016][38a6]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:030] [2022-11-29 16:39:14 +0000.717040][38a6] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:032] [2022-11-29 16:39:14 +0000.718623][38a6] Error(ini.cc:191): Open the file
failed. error:2
[000:032] [2022-11-29 16:39:14 +0000.718657][38a6]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:032] [2022-11-29 16:39:14 +0000.718684][38a6] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:032] [2022-11-29 16:39:14 +0000.718712][38a6] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:032] [2022-11-29 16:39:14 +0000.718727][38a6] Using Default AEC type: software
AEC
[000:033] [2022-11-29 16:39:14 +0000.719455][38a6] The device model: m2012k11ag
enum value: 0
[000:034] [2022-11-29 16:39:14 +0000.720555][38a6] GetMachineModel is M2012K11AG
[000:034] [2022-11-29 16:39:14 +0000.720589][38a6] GetMachineInfo: M2012K11AG
[000:034] [2022-11-29 16:39:14 +0000.720614][38a6] Construct BeautifyReader
begin...
[000:034] [2022-11-29 16:39:14 +0000.720650][38a6] dumpStickerRgba:0
dumpStickerYuv:0
[000:034] [2022-11-29 16:39:14 +0000.720663][38a6] Construct BeautifyReader done.
[000:037] [2022-11-29 16:39:14 +0000.723453][38a6] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:037] [2022-11-29 16:39:14 +0000.723788][38a6] AppDeviceManager telnet server
for statistics started......
[000:037] [2022-11-29 16:39:14 +0000.723602][3d11] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d654b9da0
[000:038] [2022-11-29 16:39:14 +0000.724690][38a6] CpuOverloadDetect time:141104
enter.

[000:038] [2022-11-29 16:39:14 +0000.724777][38a6] CpuOverloadDetect leave. expire


time = 0 ms

[000:039] [2022-11-29 16:39:14 +0000.725170][38a6] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[000:039] [2022-11-29 16:39:14 +0000.725191][38a6] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:039] [2022-11-29 16:39:14 +0000.725363][38a6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:039] [2022-11-29 16:39:14 +0000.725761][38a6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:039] [2022-11-29 16:39:14 +0000.726035][38a6] CreatePlatformSpecificObjects:
[000:039] [2022-11-29 16:39:14 +0000.726059][38a6] audio device use opensle input
and opensl output
[000:039] [2022-11-29 16:39:14 +0000.726093][38a6] Create OpenSLES output module
with java VM support.

[000:040] [2022-11-29 16:39:14 +0000.726165][38a6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:040] [2022-11-29 16:39:14 +0000.726294][38a6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:040] [2022-11-29 16:39:14 +0000.726445][38a6] Create OpenSLES output module
with buffer num:1

[000:040] [2022-11-29 16:39:14 +0000.726544][38a6] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:040] [2022-11-29 16:39:14 +0000.726664][38a6] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:040] [2022-11-29 16:39:14 +0000.726765][38a6] Create OpenSLES input module
with java VM support.

[000:040] [2022-11-29 16:39:14 +0000.726787][38a6] Create OpenSLES input module


with buffer num:1

[000:040] [2022-11-29 16:39:14 +0000.726825][38a6] Error(trace.cc:40): Init the


output and input for audio device template.
[000:040] [2022-11-29 16:39:14 +0000.726839][38a6] Init the output device.

[000:040] [2022-11-29 16:39:14 +0000.726877][38a6] Init the opensl input.


[000:040] [2022-11-29 16:39:14 +0000.726893][38a6] AppDeviceManager get setting
samplerate: 0
[000:040] [2022-11-29 16:39:14 +0000.727108][38a6] The device model: m2012k11ag
enum value: 0
[000:041] [2022-11-29 16:39:14 +0000.727419][38a6] The device model: m2012k11ag
enum value: 0
[000:041] [2022-11-29 16:39:14 +0000.727450][38a6] Set the sample rate to be:48000

[000:041] [2022-11-29 16:39:14 +0000.727463][38a6] Enable the recording stereo:0


[000:041] [2022-11-29 16:39:14 +0000.727492][38a6] Set the playout as stereo:1
[000:041] [2022-11-29 16:39:14 +0000.727506][38a6] Init the microphone.
[000:041] [2022-11-29 16:39:14 +0000.727501][3d12] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d5baf8300
[000:043] [2022-11-29 16:39:14 +0000.729394][38a6] Update the recording sample rate
to be: 48000
[000:043] [2022-11-29 16:39:14 +0000.729432][38a6] Init the speaker.
[000:043] [2022-11-29 16:39:14 +0000.729457][38a6] Low latency buffer size:144 low
sample rate:48000
[000:043] [2022-11-29 16:39:14 +0000.729657][38a6] Using 1 x 10ms for an audio
frame.

[000:046] [2022-11-29 16:39:14 +0000.732823][38a6] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:046] [2022-11-29 16:39:14 +0000.732886][38a6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:046] [2022-11-29 16:39:14 +0000.732911][38a6] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:051] [2022-11-29 16:39:14 +0000.737158][38a6] The device model:m2012k11ag

[000:051] [2022-11-29 16:39:14 +0000.737211][38a6] speaker output factor:100


defaultFactor: 100

[000:051] [2022-11-29 16:39:14 +0000.737226][38a6] headset output factor:100


defaultFactor: 100

[000:051] [2022-11-29 16:39:14 +0000.737491][38a6] AppDeviceManagerStart finished.


[000:051] [2022-11-29 16:39:14 +0000.737514][38a6] AppDeviceManagerStartMic::mic
status is off
[000:051] [2022-11-29 16:39:14 +0000.737554][38a6] AppDeviceManagerStartMic update
aec type: 2
[000:051] [2022-11-29 16:39:14 +0000.737571][38a6] AppDeviceManagerStartMic update
voiceChangeMode: 4

[000:051] [2022-11-29 16:39:14 +0000.737585][38a6]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:051] [2022-11-29 16:39:14 +0000.737598][38a6]
AudioDeviceDataHandler::StartMicProcess

[000:051] [2022-11-29 16:39:14 +0000.737700][38a6] Try to start webrtc recording


device.

[000:051] [2022-11-29 16:39:14 +0000.737722][38a6] StartRecording. threadID:14502

[000:051] [2022-11-29 16:39:14 +0000.737731][3d13] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:051] [2022-11-29 16:39:14 +0000.737805][3d13] haveEnoughProcessedData
internalAudioStream.length: 0
[000:051] [2022-11-29 16:39:14 +0000.737943][38a6] The machine model:M2012K11AG

[000:051] [2022-11-29 16:39:14 +0000.737977][38a6] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:051] [2022-11-29 16:39:14 +0000.737990][38a6] Set the recording mode before


getSetting: 4
[000:051] [2022-11-29 16:39:14 +0000.738006][38a6] Set the recording mode after
getSetting: 1
[000:114] [2022-11-29 16:39:14 +0000.800424][38a6] StartRecording finished.

[000:114] [2022-11-29 16:39:14 +0000.800472][38a6] audio: start the audio mic


checker timer.

[000:114] [2022-11-29 16:39:14 +0000.800790][38a6] machine model :poco


[000:114] [2022-11-29 16:39:14 +0000.800821][38a6] Support this machine model :poco
[000:122] [2022-11-29 16:39:14 +0000.808812][38a6] global inited! current sdk
version: 07-20-936c45f
[000:230] [2022-11-29 16:39:14 +0000.916732][3d14] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:230] [2022-11-29 16:39:14 +0000.916784][3d14] _deviceSampleRate:48000

[000:234] [2022-11-29 16:39:14 +0000.920294][3d13] Run AGC when audioType = 0


[000:234] [2022-11-29 16:39:14 +0000.920368][3d13]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:420] [2022-11-29 16:39:15 +0000.106863][3bb5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:420] [2022-11-29 16:39:15 +0000.107116][3d0f] MediaFilterCamera, recording
file context:0x7d7aabc400 input texture:6
[000:421] [2022-11-29 16:39:15 +0000.107168][3d0f] GLESContext:
[000:421] [2022-11-29 16:39:15 +0000.107200][3d0f] The result of eglGetDisplay is:
0xb400007ef42098c0
[000:421] [2022-11-29 16:39:15 +0000.107831][3d0f] The result of creation:
0x7d673c6e80
[000:421] [2022-11-29 16:39:15 +0000.107898][3d0f] The result of
eglCreatePbufferSurface is: 0x7d673c6f80
[000:421] [2022-11-29 16:39:15 +0000.108052][3bb5]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7d7aabc400 input_texture: 6
[000:727] [2022-11-29 16:39:15 +0000.413245][38a6]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:727] [2022-11-29 16:39:15 +0000.413308][38a6] ~MediaFilterCamera time:141793
enter.

[000:727] [2022-11-29 16:39:15 +0000.413330][38a6] StopPullFrameAndWriteMp4


time:141793 enter.

[000:729] [2022-11-29 16:39:15 +0000.415224][3d0e] stop recording


[000:729] [2022-11-29 16:39:15 +0000.415264][3d0e] we have stopped recording before
[000:729] [2022-11-29 16:39:15 +0000.415335][38a6] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[000:731] [2022-11-29 16:39:15 +0000.417288][38a6] DestroyPipelineAndFilters


time:141797 enter.

[000:731] [2022-11-29 16:39:15 +0000.417325][38a6] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:731] [2022-11-29 16:39:15 +0000.417340][38a6] AppDeviceManagerStopMic

[000:731] [2022-11-29 16:39:15 +0000.417377][38a6] AppDeviceManagerStopMic::mic


status is on
[000:731] [2022-11-29 16:39:15 +0000.417395][38a6] Try to stop webrtc device.

[000:731] [2022-11-2[000:029] [2022-12-04 15:09:43 +0000.792044][157a] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-12-
04 15:09:43 +0000
[000:029] [2022-12-04 15:09:43 +0000.792077][157a] set AppID=50011 old AppID=-1
[000:029] [2022-12-04 15:09:43 +0000.792089][157a] Init the android object with
jvm:0xb4000072773b6380 env:0x72774ac240 context:0x713eef5718

[000:029] [2022-12-04 15:09:43 +0000.792116][157a] SetAndroidMediaCodecObjects


time:119583717 enter.

[000:029] [2022-12-04 15:09:43 +0000.792129][157a] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:029] [2022-12-04 15:09:43 +0000.792152][157a] SetAndroidMediaCodecObjects


time:119583717 enter.

[000:029] [2022-12-04 15:09:43 +0000.792162][157a] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000072773b6380
[000:029] [2022-12-04 15:09:43 +0000.792188][157a] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000072773b6380 address:0x708a6ac760
[000:029] [2022-12-04 15:09:43 +0000.792212][157a] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000072773b6380
address:0x708a6ac760
[000:029] [2022-12-04 15:09:43 +0000.792237][157a] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:029] [2022-12-04 15:09:43 +0000.792256][157a] Set the android objects with


jvm:0xb4000072773b6380 env:0x72774ac240 context:0x713eef5718

[000:031] [2022-12-04 15:09:43 +0000.794579][157a] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x72774ac240
[000:031] [2022-12-04 15:09:43 +0000.794614][157a] SystemUtil Init done
[000:033] [2022-12-04 15:09:43 +0000.796301][157a]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:035] [2022-12-04 15:09:43 +0000.798684][157a] MediaFilterCamera
[000:036] [2022-12-04 15:09:43 +0000.798742][157a] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:036] [2022-12-04 15:09:43 +0000.798829][157a] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:036] [2022-12-04 15:09:43 +0000.798852][157a] Recording session using default
bitrate support by app:31457280
[000:036] [2022-12-04 15:09:43 +0000.798865][140b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x71af327940
[000:036] [2022-12-04 15:09:43 +0000.799062][140b] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:036] [2022-12-04 15:09:43 +0000.799241][157a] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:038] [2022-12-04 15:09:43 +0000.800782][157a] Error(ini.cc:191): Open the file
failed. error:2
[000:038] [2022-12-04 15:09:43 +0000.800834][157a]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:038] [2022-12-04 15:09:43 +0000.800871][157a] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:040] [2022-12-04 15:09:43 +0000.802738][157a] Error(ini.cc:191): Open the file
failed. error:2
[000:040] [2022-12-04 15:09:43 +0000.802795][157a]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:040] [2022-12-04 15:09:43 +0000.802819][157a] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:040] [2022-12-04 15:09:43 +0000.802947][157a] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:040] [2022-12-04 15:09:43 +0000.803003][157a] Using Default AEC type: software
AEC
[000:041] [2022-12-04 15:09:43 +0000.803722][157a] The device model: m2012k11ag
enum value: 0
[000:041] [2022-12-04 15:09:43 +0000.804023][157a] GetMachineModel is M2012K11AG
[000:041] [2022-12-04 15:09:43 +0000.804053][157a] GetMachineInfo: M2012K11AG
[000:041] [2022-12-04 15:09:43 +0000.804112][157a] Construct BeautifyReader
begin...
[000:041] [2022-12-04 15:09:43 +0000.804136][157a] dumpStickerRgba:0
dumpStickerYuv:0
[000:041] [2022-12-04 15:09:43 +0000.804171][157a] Construct BeautifyReader done.
[000:044] [2022-12-04 15:09:43 +0000.806994][157a] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:044] [2022-12-04 15:09:43 +0000.807222][157a] AppDeviceManager telnet server
for statistics started......
[000:044] [2022-12-04 15:09:43 +0000.807019][140f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x70d2de89a0
[000:044] [2022-12-04 15:09:43 +0000.807654][157a] CpuOverloadDetect time:119583732
enter.

[000:045] [2022-12-04 15:09:43 +0000.807738][157a] CpuOverloadDetect leave. expire


time = 1 ms

[000:045] [2022-12-04 15:09:43 +0000.807851][1410] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x70d2d4c480
[000:045] [2022-12-04 15:09:43 +0000.808130][157a] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:045] [2022-12-04 15:09:43 +0000.808158][157a] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:045] [2022-12-04 15:09:43 +0000.808403][157a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:046] [2022-12-04 15:09:43 +0000.809408][157a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:047] [2022-12-04 15:09:43 +0000.809701][157a] CreatePlatformSpecificObjects:
[000:047] [2022-12-04 15:09:43 +0000.809737][157a] audio device use opensle input
and opensl output
[000:047] [2022-12-04 15:09:43 +0000.809784][157a] Create OpenSLES output module
with java VM support.

[000:047] [2022-12-04 15:09:43 +0000.809864][157a] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:047] [2022-12-04 15:09:43 +0000.809978][157a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:047] [2022-12-04 15:09:43 +0000.810109][157a] Create OpenSLES output module
with buffer num:1

[000:047] [2022-12-04 15:09:43 +0000.810210][157a] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:047] [2022-12-04 15:09:43 +0000.810317][157a] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:047] [2022-12-04 15:09:43 +0000.810446][157a] Create OpenSLES input module
with java VM support.

[000:047] [2022-12-04 15:09:43 +0000.810479][157a] Create OpenSLES input module


with buffer num:1

[000:047] [2022-12-04 15:09:43 +0000.810557][157a] Error(trace.cc:40): Init the


output and input for audio device template.
[000:047] [2022-12-04 15:09:43 +0000.810583][157a] Init the output device.

[000:047] [2022-12-04 15:09:43 +0000.810600][157a] Init the opensl input.


[000:047] [2022-12-04 15:09:43 +0000.810633][157a] AppDeviceManager get setting
samplerate: 0
[000:048] [2022-12-04 15:09:43 +0000.810930][157a] The device model: m2012k11ag
enum value: 0
[000:048] [2022-12-04 15:09:43 +0000.811280][157a] The device model: m2012k11ag
enum value: 0
[000:048] [2022-12-04 15:09:43 +0000.811306][157a] Set the sample rate to be:48000

[000:048] [2022-12-04 15:09:43 +0000.811344][157a] Enable the recording stereo:0


[000:048] [2022-12-04 15:09:43 +0000.811360][157a] Set the playout as stereo:1
[000:048] [2022-12-04 15:09:43 +0000.811374][157a] Init the microphone.
[000:050] [2022-12-04 15:09:43 +0000.813497][157a] Update the recording sample rate
to be: 48000
[000:050] [2022-12-04 15:09:43 +0000.813543][157a] Init the speaker.
[000:050] [2022-12-04 15:09:43 +0000.813578][157a] Low latency buffer size:144 low
sample rate:48000
[000:051] [2022-12-04 15:09:43 +0000.813824][157a] Using 1 x 10ms for an audio
frame.

[000:054] [2022-12-04 15:09:43 +0000.817236][157a] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:054] [2022-12-04 15:09:43 +0000.817304][157a] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:054] [2022-12-04 15:09:43 +0000.817392][157a] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:059] [2022-12-04 15:09:43 +0000.821800][157a] The device model:m2012k11ag

[000:059] [2022-12-04 15:09:43 +0000.821857][157a] speaker output factor:100


defaultFactor: 100
[000:059] [2022-12-04 15:09:43 +0000.821876][157a] headset output factor:100
defaultFactor: 100

[000:059] [2022-12-04 15:09:43 +0000.822159][157a] AppDeviceManagerStart finished.


[000:059] [2022-12-04 15:09:43 +0000.822186][157a] AppDeviceManagerStartMic::mic
status is off
[000:059] [2022-12-04 15:09:43 +0000.822234][157a] AppDeviceManagerStartMic update
aec type: 2

[000:059] [2022-12-04 15:09:43 +0000.822253][157a] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:059] [2022-12-04 15:09:43 +0000.822268][157a]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:059] [2022-12-04 15:09:43 +0000.822292][157a]
AudioDeviceDataHandler::StartMicProcess

[000:059] [2022-12-04 15:09:43 +0000.822405][157a] Try to start webrtc recording


device.

[000:059] [2022-12-04 15:09:43 +0000.822432][157a] StartRecording. threadID:5498

[000:059] [2022-12-04 15:09:43 +0000.822436][1412] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:059] [2022-12-04 15:09:43 +0000.822521][1412] haveEnoughProcessedData
internalAudioStream.length: 0
[000:059] [2022-12-04 15:09:43 +0000.822662][157a] The machine model:M2012K11AG

[000:060] [2022-12-04 15:09:43 +0000.822743][157a] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:060] [2022-12-04 15:09:43 +0000.822766][157a] Set the recording mode before


getSetting: 4
[000:060] [2022-12-04 15:09:43 +0000.822784][157a] Set the recording mode after
getSetting: 1
[000:097] [2022-12-04 15:09:43 +0000.859718][157a] StartRecording finished.

[000:097] [2022-12-04 15:09:43 +0000.859768][157a] audio: start the audio mic


checker timer.

[000:097] [2022-12-04 15:09:43 +0000.860143][157a] machine model :poco


[000:097] [2022-12-04 15:09:43 +0000.860250][157a] Support this machine model :poco
[000:099] [2022-12-04 15:09:43 +0000.862466][157a] global inited! current sdk
version: 07-20-936c45f
[000:163] [2022-12-04 15:09:43 +0000.926197][1413] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:163] [2022-12-04 15:09:43 +0000.926259][1413] _deviceSampleRate:48000

[000:167] [2022-12-04 15:09:43 +0000.929964][1412] Run AGC when audioType = 0


[000:167] [2022-12-04 15:09:43 +0000.930083][1412]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:355] [2022-12-04 15:09:44 +0000.117946][3f58]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:355] [2022-12-04 15:09:44 +0000.118095][140c] MediaFilterCamera, recording
file context:0x70e51a3080 input texture:22
[000:355] [2022-12-04 15:09:44 +0000.118138][140c] GLESContext:
[000:355] [2022-12-04 15:09:44 +0000.118220][140c] The result of eglGetDisplay is:
0xb4000072774a88c0
[000:356] [2022-12-04 15:09:44 +0000.119022][140c] The result of creation:
0x70d51a6a00
[000:356] [2022-12-04 15:09:44 +0000.119118][140c] The result of
eglCreatePbufferSurface is: 0x70d51a6b80
[000:356] [2022-12-04 15:09:44 +0000.119214][3f58]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x70e51a3080 input_texture: 22
[000:490] [2022-12-04 15:09:44 +0000.253575][157a]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:490] [2022-12-04 15:09:44 +0000.253667][157a] ~MediaFilterCamera
time:119584178 enter.

[000:490] [2022-12-04 15:09:44 +0000.253684][157a] StopPullFrameAndWriteMp4


time:119584178 enter.

[000:491] [2022-12-04 15:09:44 +0000.253892][140b] stop recording


[000:491] [2022-12-04 15:09:44 +0000.253918][140b] we have stopped recording before
[000:491] [2022-12-04 15:09:44 +0000.253961][157a] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[000:491] [2022-12-04 15:09:44 +0000.254484][157a] DestroyPipelineAndFilters


time:119584179 enter.

[000:491] [2022-12-04 15:09:44 +0000.254517][157a] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:491] [2022-12-04 15:09:44 +0000.254560][157a] AppDeviceManagerStopMic

[000:491] [2022-12-04 15:09:44 +0000.254686][157a] AppDeviceManagerStopMic::mic


status is on
[000:492] [2022-12-04 15:09:44 +0000.254731][157a] Try to stop webrtc device.

[[000:019] [2022-12-06 14:29:55 +0000.339127][4556] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-12-
06 14:29:55 +0000
[000:019] [2022-12-06 14:29:55 +0000.339163][4556] set AppID=50011 old AppID=-1
[000:019] [2022-12-06 14:29:55 +0000.339201][4556] Init the android object with
jvm:0xb400007487b5b380 env:0x7487c51880 context:0x735e13b718

[000:019] [2022-12-06 14:29:55 +0000.339245][4556] SetAndroidMediaCodecObjects


time:91559251 enter.

[000:019] [2022-12-06 14:29:55 +0000.339270][4556] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:019] [2022-12-06 14:29:55 +0000.339299][4556] SetAndroidMediaCodecObjects


time:91559251 enter.

[000:019] [2022-12-06 14:29:55 +0000.339327][4556] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007487b5b380
[000:019] [2022-12-06 14:29:55 +0000.339354][4556] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007487b5b380 address:0x72b3275760
[000:019] [2022-12-06 14:29:55 +0000.339381][4556] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007487b5b380
address:0x72b3275760
[000:019] [2022-12-06 14:29:55 +0000.339409][4556] SetAndroidMediaCodecObjects
leave. expire time = 0 ms
[000:019] [2022-12-06 14:29:55 +0000.339448][4556] Set the android objects with
jvm:0xb400007487b5b380 env:0x7487c51880 context:0x735e13b718

[000:021] [2022-12-06 14:29:55 +0000.340652][4556] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7487c51880
[000:021] [2022-12-06 14:29:55 +0000.340680][4556] SystemUtil Init done
[000:022] [2022-12-06 14:29:55 +0000.342109][4556]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:023] [2022-12-06 14:29:55 +0000.343471][4556] MediaFilterCamera
[000:023] [2022-12-06 14:29:55 +0000.343521][4556] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:024] [2022-12-06 14:29:55 +0000.343673][4556] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:024] [2022-12-06 14:29:55 +0000.343718][4556] Recording session using default
bitrate support by app:31457280
[000:024] [2022-12-06 14:29:55 +0000.343706][fb8] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x73d0cf4a40
[000:024] [2022-12-06 14:29:55 +0000.343999][fb8] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:024] [2022-12-06 14:29:55 +0000.344053][4556] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:024] [2022-12-06 14:29:55 +0000.344482][4556] Error(ini.cc:191): Open the file
failed. error:2
[000:024] [2022-12-06 14:29:55 +0000.344511][4556]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:024] [2022-12-06 14:29:55 +0000.344545][4556] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:026] [2022-12-06 14:29:55 +0000.345940][4556] Error(ini.cc:191): Open the file
failed. error:2
[000:026] [2022-12-06 14:29:55 +0000.345980][4556]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:026] [2022-12-06 14:29:55 +0000.346022][4556] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:026] [2022-12-06 14:29:55 +0000.346049][4556] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:026] [2022-12-06 14:29:55 +0000.346081][4556] Using Default AEC type: software
AEC
[000:027] [2022-12-06 14:29:55 +0000.346976][4556] The device model: m2012k11ag
enum value: 0
[000:027] [2022-12-06 14:29:55 +0000.347261][4556] GetMachineModel is M2012K11AG
[000:027] [2022-12-06 14:29:55 +0000.347290][4556] GetMachineInfo: M2012K11AG
[000:027] [2022-12-06 14:29:55 +0000.347333][4556] Construct BeautifyReader
begin...
[000:027] [2022-12-06 14:29:55 +0000.347355][4556] dumpStickerRgba:0
dumpStickerYuv:0
[000:027] [2022-12-06 14:29:55 +0000.347382][4556] Construct BeautifyReader done.
[000:030] [2022-12-06 14:29:55 +0000.350209][4556] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:030] [2022-12-06 14:29:55 +0000.350447][fbc] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x72f057d6a0
[000:031] [2022-12-06 14:29:55 +0000.350583][4556] AppDeviceManager telnet server
for statistics started......
[000:031] [2022-12-06 14:29:55 +0000.351060][4556] CpuOverloadDetect time:91559263
enter.

[000:031] [2022-12-06 14:29:55 +0000.351134][4556] CpuOverloadDetect leave. expire


time = 0 ms
[000:031] [2022-12-06 14:29:55 +0000.351166][fbe] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x72e0cc2640
[000:031] [2022-12-06 14:29:55 +0000.351455][4556] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:031] [2022-12-06 14:29:55 +0000.351475][4556] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:032] [2022-12-06 14:29:55 +0000.351731][4556] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:033] [2022-12-06 14:29:55 +0000.352796][4556] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:033] [2022-12-06 14:29:55 +0000.353066][4556] CreatePlatformSpecificObjects:
[000:033] [2022-12-06 14:29:55 +0000.353099][4556] audio device use opensle input
and opensl output
[000:033] [2022-12-06 14:29:55 +0000.353143][4556] Create OpenSLES output module
with java VM support.

[000:033] [2022-12-06 14:29:55 +0000.353209][4556] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:033] [2022-12-06 14:29:55 +0000.353314][4556] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:033] [2022-12-06 14:29:55 +0000.353430][4556] Create OpenSLES output module
with buffer num:1

[000:033] [2022-12-06 14:29:55 +0000.353515][4556] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:034] [2022-12-06 14:29:55 +0000.353616][4556] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:034] [2022-12-06 14:29:55 +0000.353727][4556] Create OpenSLES input module
with java VM support.

[000:034] [2022-12-06 14:29:55 +0000.353760][4556] Create OpenSLES input module


with buffer num:1

[000:034] [2022-12-06 14:29:55 +0000.353812][4556] Error(trace.cc:40): Init the


output and input for audio device template.
[000:034] [2022-12-06 14:29:55 +0000.353835][4556] Init the output device.

[000:034] [2022-12-06 14:29:55 +0000.353850][4556] Init the opensl input.


[000:034] [2022-12-06 14:29:55 +0000.353871][4556] AppDeviceManager get setting
samplerate: 0
[000:034] [2022-12-06 14:29:55 +0000.354086][4556] The device model: m2012k11ag
enum value: 0
[000:034] [2022-12-06 14:29:55 +0000.354418][4556] The device model: m2012k11ag
enum value: 0
[000:034] [2022-12-06 14:29:55 +0000.354443][4556] Set the sample rate to be:48000

[000:034] [2022-12-06 14:29:55 +0000.354471][4556] Enable the recording stereo:0


[000:034] [2022-12-06 14:29:55 +0000.354498][4556] Set the playout as stereo:1
[000:034] [2022-12-06 14:29:55 +0000.354527][4556] Init the microphone.
[000:035] [2022-12-06 14:29:55 +0000.355156][4556] Update the recording sample rate
to be: 48000
[000:035] [2022-12-06 14:29:55 +0000.355182][4556] Init the speaker.
[000:035] [2022-12-06 14:29:55 +0000.355208][4556] Low latency buffer size:144 low
sample rate:48000
[000:035] [2022-12-06 14:29:55 +0000.355427][4556] Using 1 x 10ms for an audio
frame.

[000:038] [2022-12-06 14:29:55 +0000.358353][4556] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:038] [2022-12-06 14:29:55 +0000.358429][4556] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:038] [2022-12-06 14:29:55 +0000.358460][4556] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:042] [2022-12-06 14:29:55 +0000.362384][4556] The device model:m2012k11ag

[000:042] [2022-12-06 14:29:55 +0000.362431][4556] speaker output factor:100


defaultFactor: 100

[000:042] [2022-12-06 14:29:55 +0000.362450][4556] headset output factor:100


defaultFactor: 100

[000:043] [2022-12-06 14:29:55 +0000.362710][4556] AppDeviceManagerStart finished.


[000:043] [2022-12-06 14:29:55 +0000.362736][4556] AppDeviceManagerStartMic::mic
status is off
[000:043] [2022-12-06 14:29:55 +0000.362797][4556] AppDeviceManagerStartMic update
aec type: 2

[000:043] [2022-12-06 14:29:55 +0000.362820][4556] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:043] [2022-12-06 14:29:55 +0000.362848][4556]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:043] [2022-12-06 14:29:55 +0000.362876][4556]
AudioDeviceDataHandler::StartMicProcess

[000:043] [2022-12-06 14:29:55 +0000.362962][4556] Try to start webrtc recording


device.

[000:043] [2022-12-06 14:29:55 +0000.362988][4556] StartRecording. threadID:17750

[000:043] [2022-12-06 14:29:55 +0000.362986][fc0] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:043] [2022-12-06 14:29:55 +0000.363032][fc0] haveEnoughProcessedData
internalAudioStream.length: 0
[000:043] [2022-12-06 14:29:55 +0000.363202][4556] The machine model:M2012K11AG

[000:043] [2022-12-06 14:29:55 +0000.363249][4556] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:043] [2022-12-06 14:29:55 +0000.363270][4556] Set the recording mode before


getSetting: 4
[000:043] [2022-12-06 14:29:55 +0000.363302][4556] Set the recording mode after
getSetting: 1
[000:076] [2022-12-06 14:29:55 +0000.396078][4556] StartRecording finished.

[000:076] [2022-12-06 14:29:55 +0000.396132][4556] audio: start the audio mic


checker timer.

[000:076] [2022-12-06 14:29:55 +0000.396491][4556] machine model :poco


[000:076] [2022-12-06 14:29:55 +0000.396514][4556] Support this machine model :poco
[000:080] [2022-12-06 14:29:55 +0000.400516][4556] global inited! current sdk
version: 07-20-936c45f
[000:161] [2022-12-06 14:29:55 +0000.481431][fc3] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:161] [2022-12-06 14:29:55 +0000.481490][fc3] _deviceSampleRate:48000


[000:165] [2022-12-06 14:29:55 +0000.485361][fc0] Run AGC when audioType = 0
[000:165] [2022-12-06 14:29:55 +0000.485440][fc0]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:296] [2022-12-06 14:29:55 +0000.616078][5df9]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:296] [2022-12-06 14:29:55 +0000.616214][fb9] MediaFilterCamera, recording file
context:0x73d0cddf80 input texture:13
[000:296] [2022-12-06 14:29:55 +0000.616274][fb9] GLESContext:
[000:296] [2022-12-06 14:29:55 +0000.616364][fb9] The result of eglGetDisplay is:
0xb400007487c4d8c0
[000:297] [2022-12-06 14:29:55 +0000.617342][fb9] The result of creation:
0x72f03ee780
[000:297] [2022-12-06 14:29:55 +0000.617423][fb9] The result of
eglCreatePbufferSurface is: 0x72f03ee980
[000:297] [2022-12-06 14:29:55 +0000.617503][5df9]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x73d0cddf80 input_texture: 13
[000:623] [2022-12-06 14:29:55 +0000.942766][4556]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:623] [2022-12-06 14:29:55 +0000.942877][4556] ~MediaFilterCamera time:91559855
enter.

[000:623] [2022-12-06 14:29:55 +0000.942901][4556] StopPullFrameAndWriteMp4


time:91559855 enter.

[000:624] [2022-12-06 14:29:55 +0000.944174][fb8] stop recording


[000:624] [2022-12-06 14:29:55 +0000.944210][fb8] we have stopped recording before
[000:624] [2022-12-06 14:29:55 +0000.944405][4556] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[000:625] [2022-12-06 14:29:55 +0000.944738][4556] DestroyPipelineAndFilters


time:91559857 enter.

[000:625] [2022-12-06 14:29:55 +0000.944765][4556] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:625] [2022-12-06 14:29:55 +0000.944777][4556] AppDeviceManagerStopMic

[000:625] [2022-12-06 14:29:55 +0000.944849][4556] AppDeviceManagerStopMic::mic


status is on
[000:625] [2022-12-06 14:29:55 +0000.944864][4556] Try to stop webrtc device.

[000:625] [2022-12-06 1[000:020] [2022-12-17 13:34:26 +0000.793454][5f3d] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-12-
17 13:34:26 +0000
[000:021] [2022-12-17 13:34:26 +0000.793549][5f3d] set AppID=50011 old AppID=-1
[000:021] [2022-12-17 13:34:26 +0000.793569][5f3d] Init the android object with
jvm:0xb400007d8f38e380 env:0x7d8f484600 context:0x7c5c1ad718

[000:021] [2022-12-17 13:34:26 +0000.793610][5f3d] SetAndroidMediaCodecObjects


time:235594096 enter.

[000:021] [2022-12-17 13:34:26 +0000.793649][5f3d] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:021] [2022-12-17 13:34:26 +0000.793682][5f3d] SetAndroidMediaCodecObjects


time:235594096 enter.
[000:021] [2022-12-17 13:34:26 +0000.793697][5f3d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects:: jvm :0xb400007d8f38e380
[000:021] [2022-12-17 13:34:26 +0000.793711][5f3d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d8f38e380 address:0x7bb6927760
[000:021] [2022-12-17 13:34:26 +0000.793740][5f3d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d8f38e380
address:0x7bb6927760
[000:021] [2022-12-17 13:34:26 +0000.793774][5f3d] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:021] [2022-12-17 13:34:26 +0000.793808][5f3d] Set the android objects with


jvm:0xb400007d8f38e380 env:0x7d8f484600 context:0x7c5c1ad718

[000:022] [2022-12-17 13:34:26 +0000.794685][5f3d] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7d8f484600
[000:022] [2022-12-17 13:34:26 +0000.794719][5f3d] SystemUtil Init done
[000:023] [2022-12-17 13:34:26 +0000.796427][5f3d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:025] [2022-12-17 13:34:26 +0000.797586][5f3d] MediaFilterCamera
[000:025] [2022-12-17 13:34:26 +0000.797622][5f3d] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:025] [2022-12-17 13:34:26 +0000.797716][5f3d] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:025] [2022-12-17 13:34:26 +0000.797738][5f3d] Recording session using default
bitrate support by app:31457280
[000:025] [2022-12-17 13:34:26 +0000.797972][b45] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c4f0391c0
[000:025] [2022-12-17 13:34:26 +0000.798016][b45] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:025] [2022-12-17 13:34:26 +0000.798073][5f3d] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:026] [2022-12-17 13:34:26 +0000.798907][5f3d] Error(ini.cc:191): Open the file
failed. error:2
[000:026] [2022-12-17 13:34:26 +0000.798934][5f3d]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:026] [2022-12-17 13:34:26 +0000.798958][5f3d] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:028] [2022-12-17 13:34:26 +0000.800559][5f3d] Error(ini.cc:191): Open the file
failed. error:2
[000:028] [2022-12-17 13:34:26 +0000.800593][5f3d]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:028] [2022-12-17 13:34:26 +0000.800614][5f3d] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:028] [2022-12-17 13:34:26 +0000.800645][5f3d] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:028] [2022-12-17 13:34:26 +0000.800661][5f3d] Using Default AEC type: software
AEC
[000:028] [2022-12-17 13:34:26 +0000.801434][5f3d] The device model: m2012k11ag
enum value: 0
[000:029] [2022-12-17 13:34:26 +0000.801781][5f3d] GetMachineModel is M2012K11AG
[000:029] [2022-12-17 13:34:26 +0000.801805][5f3d] GetMachineInfo: M2012K11AG
[000:029] [2022-12-17 13:34:26 +0000.801834][5f3d] Construct BeautifyReader
begin...
[000:029] [2022-12-17 13:34:26 +0000.801866][5f3d] dumpStickerRgba:0
dumpStickerYuv:0
[000:029] [2022-12-17 13:34:26 +0000.801880][5f3d] Construct BeautifyReader done.
[000:032] [2022-12-17 13:34:26 +0000.804587][5f3d] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:032] [2022-12-17 13:34:26 +0000.804849][5f3d] AppDeviceManager telnet server
for statistics started......
[000:032] [2022-12-17 13:34:26 +0000.804708][b4b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bf0b95da0
[000:032] [2022-12-17 13:34:26 +0000.805252][5f3d] CpuOverloadDetect time:235594107
enter.

[000:032] [2022-12-17 13:34:26 +0000.805328][5f3d] CpuOverloadDetect leave. expire


time = 0 ms

[000:033] [2022-12-17 13:34:26 +0000.805659][5f3d] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[000:033] [2022-12-17 13:34:26 +0000.805682][5f3d] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:033] [2022-12-17 13:34:26 +0000.805858][5f3d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:033] [2022-12-17 13:34:26 +0000.806084][b4c] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bf0d28e00
[000:034] [2022-12-17 13:34:26 +0000.807411][5f3d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:035] [2022-12-17 13:34:26 +0000.807814][5f3d] CreatePlatformSpecificObjects:
[000:035] [2022-12-17 13:34:26 +0000.807843][5f3d] audio device use opensle input
and opensl output
[000:035] [2022-12-17 13:34:26 +0000.807878][5f3d] Create OpenSLES output module
with java VM support.

[000:035] [2022-12-17 13:34:26 +0000.807998][5f3d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:035] [2022-12-17 13:34:26 +0000.808171][5f3d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:035] [2022-12-17 13:34:26 +0000.808358][5f3d] Create OpenSLES output module
with buffer num:1

[000:035] [2022-12-17 13:34:26 +0000.808463][5f3d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:036] [2022-12-17 13:34:26 +0000.808622][5f3d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:036] [2022-12-17 13:34:26 +0000.808842][5f3d] Create OpenSLES input module
with java VM support.

[000:036] [2022-12-17 13:34:26 +0000.808880][5f3d] Create OpenSLES input module


with buffer num:1

[000:036] [2022-12-17 13:34:26 +0000.808942][5f3d] Error(trace.cc:40): Init the


output and input for audio device template.
[000:036] [2022-12-17 13:34:26 +0000.808971][5f3d] Init the output device.

[000:036] [2022-12-17 13:34:26 +0000.808988][5f3d] Init the opensl input.


[000:036] [2022-12-17 13:34:26 +0000.809014][5f3d] AppDeviceManager get setting
samplerate: 0
[000:036] [2022-12-17 13:34:26 +0000.809280][5f3d] The device model: m2012k11ag
enum value: 0
[000:037] [2022-12-17 13:34:26 +0000.809663][5f3d] The device model: m2012k11ag
enum value: 0
[000:037] [2022-12-17 13:34:26 +0000.809708][5f3d] Set the sample rate to be:48000

[000:037] [2022-12-17 13:34:26 +0000.809743][5f3d] Enable the recording stereo:0


[000:037] [2022-12-17 13:34:26 +0000.809777][5f3d] Set the playout as stereo:1
[000:037] [2022-12-17 13:34:26 +0000.809814][5f3d] Init the microphone.
[000:038] [2022-12-17 13:34:26 +0000.810943][5f3d] Update the recording sample rate
to be: 48000
[000:038] [2022-12-17 13:34:26 +0000.810978][5f3d] Init the speaker.
[000:038] [2022-12-17 13:34:26 +0000.811007][5f3d] Low latency buffer size:144 low
sample rate:48000
[000:038] [2022-12-17 13:34:26 +0000.811216][5f3d] Using 1 x 10ms for an audio
frame.

[000:041] [2022-12-17 13:34:26 +0000.814322][5f3d] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:041] [2022-12-17 13:34:26 +0000.814395][5f3d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:041] [2022-12-17 13:34:26 +0000.814430][5f3d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:046] [2022-12-17 13:34:26 +0000.818537][5f3d] The device model:m2012k11ag

[000:046] [2022-12-17 13:34:26 +0000.818583][5f3d] speaker output factor:100


defaultFactor: 100

[000:046] [2022-12-17 13:34:26 +0000.818599][5f3d] headset output factor:100


defaultFactor: 100

[000:046] [2022-12-17 13:34:26 +0000.818910][5f3d] AppDeviceManagerStart finished.


[000:046] [2022-12-17 13:34:26 +0000.818942][5f3d] AppDeviceManagerStartMic::mic
status is off
[000:046] [2022-12-17 13:34:26 +0000.818996][5f3d] AppDeviceManagerStartMic update
aec type: 2

[000:046] [2022-12-17 13:34:26 +0000.819018][5f3d] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:046] [2022-12-17 13:34:26 +0000.819033][5f3d]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:046] [2022-12-17 13:34:26 +0000.819059][5f3d]
AudioDeviceDataHandler::StartMicProcess

[000:046] [2022-12-17 13:34:26 +0000.819154][5f3d] Try to start webrtc recording


device.

[000:046] [2022-12-17 13:34:26 +0000.819175][5f3d] StartRecording. threadID:24381

[000:046] [2022-12-17 13:34:26 +0000.819184][b4d] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:046] [2022-12-17 13:34:26 +0000.819259][b4d] haveEnoughProcessedData
internalAudioStream.length: 0
[000:046] [2022-12-17 13:34:26 +0000.819421][5f3d] The machine model:M2012K11AG

[000:046] [2022-12-17 13:34:26 +0000.819464][5f3d] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:047] [2022-12-17 13:34:26 +0000.819494][5f3d] Set the recording mode before


getSetting: 4
[000:047] [2022-12-17 13:34:26 +0000.819530][5f3d] Set the recording mode after
getSetting: 1
[000:083] [2022-12-17 13:34:26 +0000.855800][5f3d] StartRecording finished.

[000:083] [2022-12-17 13:34:26 +0000.855858][5f3d] audio: start the audio mic


checker timer.
[000:083] [2022-12-17 13:34:26 +0000.856243][5f3d] machine model :poco
[000:083] [2022-12-17 13:34:26 +0000.856277][5f3d] Support this machine model :poco
[000:086] [2022-12-17 13:34:26 +0000.859018][5f3d] global inited! current sdk
version: 07-20-936c45f
[000:161] [2022-12-17 13:34:26 +0000.933585][b4e] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:161] [2022-12-17 13:34:26 +0000.933653][b4e] _deviceSampleRate:48000

[000:165] [2022-12-17 13:34:26 +0000.937652][b4d] Run AGC when audioType = 0


[000:165] [2022-12-17 13:34:26 +0000.937765][b4d]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:303] [2022-12-17 13:34:27 +0000.75824][724a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:303] [2022-12-17 13:34:27 +0000.75948][b46] MediaFilterCamera, recording file
context:0x7c4f01c180 input texture:15
[000:303] [2022-12-17 13:34:27 +0000.76195][b46] GLESContext:
[000:303] [2022-12-17 13:34:27 +0000.76249][b46] The result of eglGetDisplay is:
0xb400007d8f4808c0
[000:304] [2022-12-17 13:34:27 +0000.77424][b46] The result of creation:
0x7c10167100
[000:305] [2022-12-17 13:34:27 +0000.78006][b46] The result of
eglCreatePbufferSurface is: 0x7c10167400
[000:305] [2022-12-17 13:34:27 +0000.78142][724a]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7c4f01c180 input_texture: 15
[000:673] [2022-12-17 13:34:27 +0000.445681][5f3d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:673] [2022-12-17 13:34:27 +0000.445847][5f3d] ~MediaFilterCamera
time:235594748 enter.

[000:673] [2022-12-17 13:34:27 +0000.445863][5f3d] StopPullFrameAndWriteMp4


time:235594748 enter.

[000:673] [2022-12-17 13:34:27 +0000.446409][b45] stop recording


[000:673] [2022-12-17 13:34:27 +0000.446462][b45] we have stopped recording before
[000:674] [2022-12-17 13:34:27 +0000.446728][5f3d] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[000:676] [2022-12-17 13:34:27 +0000.448477][5f3d] DestroyPipelineAndFilters


time:235594751 enter.

[000:676] [2022-12-17 13:34:27 +0000.448515][5f3d] DestroyPipelineAndFilters


leave. expire time = 0 ms

[000:676] [2022-12-17 13:34:27 +0000.448532][5f3d] AppDeviceManagerStopMic

[000:676] [2022-12-17 13:34:27 +0000.448581][5f3d] AppDeviceManagerStopMic::mic


status is on
[000:676] [2022-12-17 13:34:27 +0000.448597][5f3d] Try to stop webrtc device.

[000:676] [2022-12-17 13[000:012] [2022-12-17 16:05:16 +0000.222165][40f7] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-12-
17 16:05:16 +0000
[000:012] [2022-12-17 16:05:16 +0000.222191][40f7] set AppID=50011 old AppID=-1
[000:012] [2022-12-17 16:05:16 +0000.222201][40f7] Init the android object with
jvm:0xb400007d8f38e380 env:0x7d8f484600 context:0x7c5c43b718
[000:012] [2022-12-17 16:05:16 +0000.222215][40f7] SetAndroidMediaCodecObjects
time:244643524 enter.

[000:012] [2022-12-17 16:05:16 +0000.222245][40f7] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:012] [2022-12-17 16:05:16 +0000.222257][40f7] SetAndroidMediaCodecObjects


time:244643524 enter.

[000:012] [2022-12-17 16:05:16 +0000.222280][40f7] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007d8f38e380
[000:012] [2022-12-17 16:05:16 +0000.222290][40f7] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007d8f38e380 address:0x7bc7e76760
[000:012] [2022-12-17 16:05:16 +0000.222310][40f7] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007d8f38e380
address:0x7bc7e76760
[000:012] [2022-12-17 16:05:16 +0000.222321][40f7] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:012] [2022-12-17 16:05:16 +0000.222351][40f7] Set the android objects with


jvm:0xb400007d8f38e380 env:0x7d8f484600 context:0x7c5c43b718

[000:013] [2022-12-17 16:05:16 +0000.222835][40f7] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7d8f484600
[000:013] [2022-12-17 16:05:16 +0000.222856][40f7] SystemUtil Init done
[000:014] [2022-12-17 16:05:16 +0000.223937][40f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:015] [2022-12-17 16:05:16 +0000.224550][40f7] MediaFilterCamera
[000:015] [2022-12-17 16:05:16 +0000.224586][40f7] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:015] [2022-12-17 16:05:16 +0000.224667][40f7] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:015] [2022-12-17 16:05:16 +0000.224688][40f7] Recording session using default
bitrate support by app:31457280
[000:015] [2022-12-17 16:05:16 +0000.224700][5bc3] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7ccdf73540
[000:015] [2022-12-17 16:05:16 +0000.224891][5bc3] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:015] [2022-12-17 16:05:16 +0000.224949][40f7] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:015] [2022-12-17 16:05:16 +0000.225293][40f7] Error(ini.cc:191): Open the file
failed. error:2
[000:015] [2022-12-17 16:05:16 +0000.225321][40f7]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:015] [2022-12-17 16:05:16 +0000.225335][40f7] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:017] [2022-12-17 16:05:16 +0000.226601][40f7] Error(ini.cc:191): Open the file
failed. error:2
[000:017] [2022-12-17 16:05:16 +0000.226640][40f7]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:017] [2022-12-17 16:05:16 +0000.226657][40f7] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:017] [2022-12-17 16:05:16 +0000.226667][40f7] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:017] [2022-12-17 16:05:16 +0000.226678][40f7] Using Default AEC type: software
AEC
[000:017] [2022-12-17 16:05:16 +0000.227414][40f7] The device model: m2012k11ag
enum value: 0
[000:018] [2022-12-17 16:05:16 +0000.227640][40f7] GetMachineModel is M2012K11AG
[000:018] [2022-12-17 16:05:16 +0000.227660][40f7] GetMachineInfo: M2012K11AG
[000:018] [2022-12-17 16:05:16 +0000.227681][40f7] Construct BeautifyReader
begin...
[000:018] [2022-12-17 16:05:16 +0000.227711][40f7] dumpStickerRgba:0
dumpStickerYuv:0
[000:018] [2022-12-17 16:05:16 +0000.227722][40f7] Construct BeautifyReader done.
[000:020] [2022-12-17 16:05:16 +0000.229882][40f7] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:020] [2022-12-17 16:05:16 +0000.229910][5bc6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bfde556a0
[000:020] [2022-12-17 16:05:16 +0000.230079][40f7] AppDeviceManager telnet server
for statistics started......
[000:020] [2022-12-17 16:05:16 +0000.230428][40f7] CpuOverloadDetect time:244643532
enter.

[000:021] [2022-12-17 16:05:16 +0000.230484][40f7] CpuOverloadDetect leave. expire


time = 1 ms

[000:021] [2022-12-17 16:05:16 +0000.230504][5bc7] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7ccde91b00
[000:021] [2022-12-17 16:05:16 +0000.230754][40f7] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:021] [2022-12-17 16:05:16 +0000.230770][40f7] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:021] [2022-12-17 16:05:16 +0000.230922][40f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:022] [2022-12-17 16:05:16 +0000.231479][40f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:022] [2022-12-17 16:05:16 +0000.231692][40f7] CreatePlatformSpecificObjects:
[000:022] [2022-12-17 16:05:16 +0000.231716][40f7] audio device use opensle input
and opensl output
[000:022] [2022-12-17 16:05:16 +0000.231739][40f7] Create OpenSLES output module
with java VM support.

[000:022] [2022-12-17 16:05:16 +0000.231791][40f7] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:022] [2022-12-17 16:05:16 +0000.231867][40f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:022] [2022-12-17 16:05:16 +0000.231955][40f7] Create OpenSLES output module
with buffer num:1

[000:022] [2022-12-17 16:05:16 +0000.232027][40f7] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:022] [2022-12-17 16:05:16 +0000.232100][40f7] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:022] [2022-12-17 16:05:16 +0000.232177][40f7] Create OpenSLES input module
with java VM support.

[000:022] [2022-12-17 16:05:16 +0000.232200][40f7] Create OpenSLES input module


with buffer num:1

[000:022] [2022-12-17 16:05:16 +0000.232233][40f7] Error(trace.cc:40): Init the


output and input for audio device template.
[000:022] [2022-12-17 16:05:16 +0000.232249][40f7] Init the output device.

[000:022] [2022-12-17 16:05:16 +0000.232261][40f7] Init the opensl input.


[000:022] [2022-12-17 16:05:16 +0000.232290][40f7] AppDeviceManager get setting
samplerate: 0
[000:022] [2022-12-17 16:05:16 +0000.232439][40f7] The device model: m2012k11ag
enum value: 0
[000:023] [2022-12-17 16:05:16 +0000.232672][40f7] The device model: m2012k11ag
enum value: 0
[000:023] [2022-12-17 16:05:16 +0000.232687][40f7] Set the sample rate to be:48000

[000:023] [2022-12-17 16:05:16 +0000.232699][40f7] Enable the recording stereo:0


[000:023] [2022-12-17 16:05:16 +0000.232727][40f7] Set the playout as stereo:1
[000:023] [2022-12-17 16:05:16 +0000.232738][40f7] Init the microphone.
[000:024] [2022-12-17 16:05:16 +0000.234119][40f7] Update the recording sample rate
to be: 48000
[000:024] [2022-12-17 16:05:16 +0000.234142][40f7] Init the speaker.
[000:024] [2022-12-17 16:05:16 +0000.234164][40f7] Low latency buffer size:144 low
sample rate:48000
[000:024] [2022-12-17 16:05:16 +0000.234324][40f7] Using 1 x 10ms for an audio
frame.

[000:027] [2022-12-17 16:05:16 +0000.236959][40f7] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:027] [2022-12-17 16:05:16 +0000.237028][40f7] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:027] [2022-12-17 16:05:16 +0000.237056][40f7] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:031] [2022-12-17 16:05:16 +0000.240645][40f7] The device model:m2012k11ag

[000:031] [2022-12-17 16:05:16 +0000.240685][40f7] speaker output factor:100


defaultFactor: 100

[000:031] [2022-12-17 16:05:16 +0000.240697][40f7] headset output factor:100


defaultFactor: 100

[000:031] [2022-12-17 16:05:16 +0000.240911][40f7] AppDeviceManagerStart finished.


[000:031] [2022-12-17 16:05:16 +0000.240930][40f7] AppDeviceManagerStartMic::mic
status is off
[000:031] [2022-12-17 16:05:16 +0000.240966][40f7] AppDeviceManagerStartMic update
aec type: 2

[000:031] [2022-12-17 16:05:16 +0000.240980][40f7] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:031] [2022-12-17 16:05:16 +0000.240990][40f7]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:031] [2022-12-17 16:05:16 +0000.241019][40f7]
AudioDeviceDataHandler::StartMicProcess

[000:031] [2022-12-17 16:05:16 +0000.241130][40f7] Try to start webrtc recording


device.

[000:031] [2022-12-17 16:05:16 +0000.241148][40f7] StartRecording. threadID:16631

[000:031] [2022-12-17 16:05:16 +0000.241162][5bc8] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:031] [2022-12-17 16:05:16 +0000.241230][5bc8] haveEnoughProcessedData
internalAudioStream.length: 0
[000:031] [2022-12-17 16:05:16 +0000.241309][40f7] The machine model:M2012K11AG

[000:031] [2022-12-17 16:05:16 +0000.241342][40f7] default mode: Set the recording


mode to voice communication to enable HW AEC .
[000:031] [2022-12-17 16:05:16 +0000.241359][40f7] Set the recording mode before
getSetting: 4
[000:031] [2022-12-17 16:05:16 +0000.241373][40f7] Set the recording mode after
getSetting: 1
[000:053] [2022-12-17 16:05:16 +0000.263460][40f7] StartRecording finished.

[000:054] [2022-12-17 16:05:16 +0000.263515][40f7] audio: start the audio mic


checker timer.

[000:054] [2022-12-17 16:05:16 +0000.264063][40f7] machine model :poco


[000:054] [2022-12-17 16:05:16 +0000.264095][40f7] Support this machine model :poco
[000:056] [2022-12-17 16:05:16 +0000.266437][40f7] global inited! current sdk
version: 07-20-936c45f
[000:112] [2022-12-17 16:05:16 +0000.321575][5bc9] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:112] [2022-12-17 16:05:16 +0000.321690][5bc9] _deviceSampleRate:48000

[000:113] [2022-12-17 16:05:16 +0000.322808][5bc8] Run AGC when audioType = 0


[000:113] [2022-12-17 16:05:16 +0000.322888][5bc8]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:265] [2022-12-17 16:05:16 +0000.475009][5a29]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:265] [2022-12-17 16:05:16 +0000.475118][5bc4] MediaFilterCamera, recording
file context:0x7c0b4fdd00 input texture:6
[000:265] [2022-12-17 16:05:16 +0000.475173][5bc4] GLESContext:
[000:265] [2022-12-17 16:05:16 +0000.475218][5bc4] The result of eglGetDisplay is:
0xb400007d8f4808c0
[000:266] [2022-12-17 16:05:16 +0000.475868][5bc4] The result of creation:
0x7bfde99a00
[000:266] [2022-12-17 16:05:16 +0000.475937][5bc4] The result of
eglCreatePbufferSurface is: 0x7bfde99b00
[000:266] [2022-12-17 16:05:16 +0000.476009][5a29]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7c0b4fdd00 input_texture: 6
[000:622] [2022-12-17 16:05:16 +0000.832356][40f7]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[000:622] [2022-12-17 16:05:16 +0000.832466][40f7] ~MediaFilterCamera
time:244644134 enter.

[000:623] [2022-12-17 16:05:16 +0000.832500][40f7] StopPullFrameAndWriteMp4


time:244644135 enter.

[000:625] [2022-12-17 16:05:16 +0000.835106][5bc3] stop recording


[000:625] [2022-12-17 16:05:16 +0000.835147][5bc3] we have stopped recording before
[000:625] [2022-12-17 16:05:16 +0000.835431][40f7] StopPullFrameAndWriteMp4 leave.
expire time = 2 ms

[000:626] [2022-12-17 16:05:16 +0000.836459][40f7] DestroyPipelineAndFilters


time:244644138 enter.

[000:627] [2022-12-17 16:05:16 +0000.836498][40f7] DestroyPipelineAndFilters


leave. expire time = 1 ms

[000:627] [2022-12-17 16:05:16 +0000.836518][40f7] AppDeviceManagerStopMic

[000:627] [2022-12-17 16:05:16 +0000.836565][40f7] AppDeviceManagerStopMic::mic


status is on
[000:627] [2022-12-17 16:05:16 +0000.836580][40f7] Try to stop webrtc device.

[0[000:028] [2023-01-24 23:39:32 +0000.396251][3b86] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-01-
24 23:39:32 +0000
[000:028] [2023-01-24 23:39:32 +0000.396287][3b86] set AppID=50011 old AppID=-1
[000:028] [2023-01-24 23:39:32 +0000.396300][3b86] Init the android object with
jvm:0xb40000740055a380 env:0x7400650fc0 context:0x72cda87718

[000:028] [2023-01-24 23:39:32 +0000.396346][3b86] SetAndroidMediaCodecObjects


time:53102783 enter.

[000:028] [2023-01-24 23:39:32 +0000.396366][3b86] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:028] [2023-01-24 23:39:32 +0000.396378][3b86] SetAndroidMediaCodecObjects


time:53102783 enter.

[000:028] [2023-01-24 23:39:32 +0000.396397][3b86] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000740055a380
[000:028] [2023-01-24 23:39:32 +0000.396409][3b86] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000740055a380 address:0x721cec2760
[000:028] [2023-01-24 23:39:32 +0000.396432][3b86] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000740055a380
address:0x721cec2760
[000:028] [2023-01-24 23:39:32 +0000.396444][3b86] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:028] [2023-01-24 23:39:32 +0000.396474][3b86] Set the android objects with


jvm:0xb40000740055a380 env:0x7400650fc0 context:0x72cda87718

[000:029] [2023-01-24 23:39:32 +0000.397703][3b86] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7400650fc0
[000:029] [2023-01-24 23:39:32 +0000.397750][3b86] SystemUtil Init done
[000:032] [2023-01-24 23:39:32 +0000.400183][3b86]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:032] [2023-01-24 23:39:32 +0000.400904][3b86] MediaFilterCamera
[000:033] [2023-01-24 23:39:32 +0000.400969][3b86] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:033] [2023-01-24 23:39:32 +0000.401097][3b86] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:033] [2023-01-24 23:39:32 +0000.401129][3b86] Recording session using default
bitrate support by app:31457280
[000:033] [2023-01-24 23:39:32 +0000.401125][71fc] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7252dec4c0
[000:033] [2023-01-24 23:39:32 +0000.401429][71fc] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:033] [2023-01-24 23:39:32 +0000.401491][3b86] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:033] [2023-01-24 23:39:32 +0000.401905][3b86] Error(ini.cc:191): Open the file
failed. error:2
[000:034] [2023-01-24 23:39:32 +0000.401934][3b86]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:034] [2023-01-24 23:39:32 +0000.401965][3b86] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:035] [2023-01-24 23:39:32 +0000.403671][3b86] Error(ini.cc:191): Open the file
failed. error:2
[000:035] [2023-01-24 23:39:32 +0000.403708][3b86]
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] [2023-01-24 23:39:32 +0000.403750][3b86] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:035] [2023-01-24 23:39:32 +0000.403775][3b86] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:035] [2023-01-24 23:39:32 +0000.403805][3b86] Using Default AEC type: software
AEC
[000:036] [2023-01-24 23:39:32 +0000.404741][3b86] The device model: m2012k11ag
enum value: 0
[000:037] [2023-01-24 23:39:32 +0000.405049][3b86] GetMachineModel is M2012K11AG
[000:037] [2023-01-24 23:39:32 +0000.405080][3b86] GetMachineInfo: M2012K11AG
[000:037] [2023-01-24 23:39:32 +0000.405124][3b86] Construct BeautifyReader
begin...
[000:037] [2023-01-24 23:39:32 +0000.405140][3b86] dumpStickerRgba:0
dumpStickerYuv:0
[000:037] [2023-01-24 23:39:32 +0000.405161][3b86] Construct BeautifyReader done.
[000:039] [2023-01-24 23:39:32 +0000.407771][3b86] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:039] [2023-01-24 23:39:32 +0000.407790][71ff] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7273dd7fa0
[000:040] [2023-01-24 23:39:32 +0000.408013][3b86] AppDeviceManager telnet server
for statistics started......
[000:040] [2023-01-24 23:39:32 +0000.408427][3b86] CpuOverloadDetect time:53102795
enter.

[000:040] [2023-01-24 23:39:32 +0000.408501][3b86] CpuOverloadDetect leave. expire


time = 0 ms

[000:040] [2023-01-24 23:39:32 +0000.408514][7200] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x72671fa180
[000:040] [2023-01-24 23:39:32 +0000.408864][3b86] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:040] [2023-01-24 23:39:32 +0000.408888][3b86] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:041] [2023-01-24 23:39:32 +0000.409125][3b86] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:041] [2023-01-24 23:39:32 +0000.409411][3b86] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:041] [2023-01-24 23:39:32 +0000.409669][3b86] CreatePlatformSpecificObjects:
[000:041] [2023-01-24 23:39:32 +0000.409701][3b86] audio device use opensle input
and opensl output
[000:041] [2023-01-24 23:39:32 +0000.409746][3b86] Create OpenSLES output module
with java VM support.

[000:041] [2023-01-24 23:39:32 +0000.409812][3b86] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:041] [2023-01-24 23:39:32 +0000.409924][3b86] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:042] [2023-01-24 23:39:32 +0000.410046][3b86] Create OpenSLES output module
with buffer num:1

[000:042] [2023-01-24 23:39:32 +0000.410139][3b86] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:042] [2023-01-24 23:39:32 +0000.410247][3b86] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:042] [2023-01-24 23:39:32 +0000.410378][3b86] Create OpenSLES input module
with java VM support.

[000:042] [2023-01-24 23:39:32 +0000.410412][3b86] Create OpenSLES input module


with buffer num:1

[000:042] [2023-01-24 23:39:32 +0000.410467][3b86] Error(trace.cc:40): Init the


output and input for audio device template.
[000:042] [2023-01-24 23:39:32 +0000.410492][3b86] Init the output device.

[000:042] [2023-01-24 23:39:32 +0000.410523][3b86] Init the opensl input.


[000:042] [2023-01-24 23:39:32 +0000.410550][3b86] AppDeviceManager get setting
samplerate: 0
[000:042] [2023-01-24 23:39:32 +0000.410755][3b86] The device model: m2012k11ag
enum value: 0
[000:043] [2023-01-24 23:39:32 +0000.411106][3b86] The device model: m2012k11ag
enum value: 0
[000:043] [2023-01-24 23:39:32 +0000.411136][3b86] Set the sample rate to be:48000

[000:043] [2023-01-24 23:39:32 +0000.411153][3b86] Enable the recording stereo:0


[000:043] [2023-01-24 23:39:32 +0000.411176][3b86] Set the playout as stereo:1
[000:043] [2023-01-24 23:39:32 +0000.411205][3b86] Init the microphone.
[000:043] [2023-01-24 23:39:32 +0000.411670][3b86] Update the recording sample rate
to be: 48000
[000:043] [2023-01-24 23:39:32 +0000.411725][3b86] Init the speaker.
[000:043] [2023-01-24 23:39:32 +0000.411771][3b86] Low latency buffer size:144 low
sample rate:48000
[000:044] [2023-01-24 23:39:32 +0000.412018][3b86] Using 1 x 10ms for an audio
frame.

[000:047] [2023-01-24 23:39:32 +0000.415424][3b86] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:047] [2023-01-24 23:39:32 +0000.415517][3b86] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:047] [2023-01-24 23:39:32 +0000.415555][3b86] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:051] [2023-01-24 23:39:32 +0000.419489][3b86] The device model:m2012k11ag

[000:051] [2023-01-24 23:39:32 +0000.419535][3b86] speaker output factor:100


defaultFactor: 100

[000:051] [2023-01-24 23:39:32 +0000.419553][3b86] headset output factor:100


defaultFactor: 100

[000:051] [2023-01-24 23:39:32 +0000.419838][3b86] AppDeviceManagerStart finished.


[000:051] [2023-01-24 23:39:32 +0000.419864][3b86] AppDeviceManagerStartMic::mic
status is off
[000:051] [2023-01-24 23:39:32 +0000.419923][3b86] AppDeviceManagerStartMic update
aec type: 2

[000:052] [2023-01-24 23:39:32 +0000.419943][3b86] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:052] [2023-01-24 23:39:32 +0000.419958][3b86]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:052] [2023-01-24 23:39:32 +0000.419977][3b86]
AudioDeviceDataHandler::StartMicProcess

[000:052] [2023-01-24 23:39:32 +0000.420055][3b86] Try to start webrtc recording


device.

[000:052] [2023-01-24 23:39:32 +0000.420080][3b86] StartRecording. threadID:15238


[000:052] [2023-01-24 23:39:32 +0000.420078][7201] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:052] [2023-01-24 23:39:32 +0000.420143][7201] haveEnoughProcessedData
internalAudioStream.length: 0
[000:052] [2023-01-24 23:39:32 +0000.420304][3b86] The machine model:M2012K11AG

[000:052] [2023-01-24 23:39:32 +0000.420344][3b86] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:052] [2023-01-24 23:39:32 +0000.420366][3b86] Set the recording mode before


getSetting: 4
[000:052] [2023-01-24 23:39:32 +0000.420397][3b86] Set the recording mode after
getSetting: 1
[000:073] [2023-01-24 23:39:32 +0000.441202][3b86] StartRecording finished.

[000:073] [2023-01-24 23:39:32 +0000.441254][3b86] audio: start the audio mic


checker timer.

[000:073] [2023-01-24 23:39:32 +0000.441587][3b86] machine model :poco


[000:073] [2023-01-24 23:39:32 +0000.441614][3b86] Support this machine model :poco
[000:076] [2023-01-24 23:39:32 +0000.444811][3b86] global inited! current sdk
version: 07-20-936c45f
[000:148] [2023-01-24 23:39:32 +0000.516478][7202] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:148] [2023-01-24 23:39:32 +0000.516558][7202] _deviceSampleRate:48000

[000:148] [2023-01-24 23:39:32 +0000.516870][7201] Run AGC when audioType = 0


[000:149] [2023-01-24 23:39:32 +0000.516967][7201]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:310] [2023-01-24 23:39:32 +0000.678676][5845]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:310] [2023-01-24 23:39:32 +0000.678802][71fd] MediaFilterCamera, recording
file context:0x734116a900 input texture:33
[000:310] [2023-01-24 23:39:32 +0000.678843][71fd] GLESContext:
[000:310] [2023-01-24 23:39:32 +0000.678866][71fd] The result of eglGetDisplay is:
0xb40000740064d8c0
[000:311] [2023-01-24 23:39:32 +0000.679439][71fd] The result of creation:
0x73410c5d00
[000:311] [2023-01-24 23:39:32 +0000.679494][71fd] The result of
eglCreatePbufferSurface is: 0x734115e100
[000:311] [2023-01-24 23:39:32 +0000.679562][5845]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x734116a900 input_texture: 33
[001:791] [2023-01-24 23:39:34 +0000.159737][7201] haveEnoughProcessedData
internalAudioStream.length: 0
[002:151] [2023-01-24 23:39:34 +0000.519791][7201] Run AGC when audioType = 0
[003:504] [2023-01-24 23:39:35 +0000.872251][7201] haveEnoughProcessedData
internalAudioStream.length: 0
[004:074] [2023-01-24 23:39:36 +0000.442609][71f7]
monitorTime:4001totalDuration:3940
[004:129] [2023-01-24 23:39:36 +0000.497868][3b86]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[004:132] [2023-01-24 23:39:36 +0000.500101][3b86] ~MediaFilterCamera time:53106886
enter.

[004:134] [2023-01-24 23:39:36 +0000.502744][3b86] StopPullFrameAndWriteMp4


time:53106889 enter.
[004:137] [2023-01-24 23:39:36 +0000.505722][71fc] stop recording
[004:137] [2023-01-24 23:39:36 +0000.505810][71fc] we have stopped recording before
[004:138] [2023-01-24 23:39:36 +0000.506055][3b86] StopPullFrameAndWriteMp4 leave.
expire time = 4 ms

[004:138] [2023-01-24 23:39:36 +0000.506838][3b86] DestroyPipelineAndFilters


time:53106893 enter.

[004:139] [2023-01-24 23:39:36 +0000.506943][3b86] DestroyPipelineAndFilters


leave. expire time = 1 ms

[004:139] [2023-01-24 23:39:36 +0000.507073][3b86] AppDeviceManagerStopMic

[004:139] [2023-01-24 23:39:36 +0000.507194][3b86] AppDeviceManagerStopMic::mic


status is on
[004:140] [2023-01-24 23:39:36 +0000.507998][3b86] Try to stop webrtc device.

[004:140] [2023-01-24 23:39:36 +0000.508086][3b86] Set record state to


stopped.threadID:15238

[004:194] [2023-01-24 23:39:36 +0000.562327][3b86] Try to destory the


recorder.threadID:15238

[004:432] [2023-01-24 23:39:36 +0000.800637][3b86] DestroyAudioRecorder:


[004:433] [2023-01-24 23:39:36 +0000.801390][3b86] Cleanup the buffer queue in the
recorder.
[004:433] [2023-01-24 23:39:36 +0000.801492][3b86] Destroy the recorder.

[004:436] [2023-01-24 23:39:36 +0000.803999][3b86] StopRecording finished.

[004:436] [2023-01-24 23:39:36 +0000.804097][3b86] The stop recording success.

[004:436] [2023-01-24 23:39:36 +0000.804161][3b86]


AudioDeviceDataHandler::StopMicProcess

[004:447] [2023-01-24 23:39:36 +0000.815896][3b86] AppDeviceManager stop.

[004:448] [2023-01-24 23:39:36 +0000.816117][3b86] Rlease the webrtc device object.

[004:452] [2023-01-24 23:39:36 +0000.819959][3b86] OpenSlesInput destruct.

[004:452] [2023-01-24 23:39:36 +0000.820119][3b86] OpenSlesOutput destruct.

[004:454] [2023-01-24 23:39:36 +0000.822097][3b86] EventDispatchServerScope


destruct
[004:454] [2023-01-24 23:39:36 +0000.822262][3b86]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[004:457] [2023-01-24 23:39:36 +0000.825229][3b86] ~AudioDeviceDataHandler

[004:458] [2023-01-24 23:39:36 +0000.826342][3b86] AppDeviceManagerDestruct.

[004:458] [2023-01-24 23:39:36 +0000.826417][3b86] ~AppDeviceManager:


[004:458] [2023-01-24 23:39:36 +0000.826503][3b86] ~CpuOverloadDetect time:53107213
enter.

[004:459] [2023-01-24 23:39:36 +0000.827440][3b86] ~CpuOverloadDetect leave.


expire time = 1 ms
[004:462] [2023-01-24 23:39:36 +0000.830529][3b86] Destruct BeautifyReader begin...
[004:462] [2023-01-24 23:39:36 +0000.830630][3b86] Destruct BeautifyReader done.
[004:462] [2023-01-24 23:39:36 +0000.830698][3b86] ~MediaFilterCamera leave.
expire time = 331 ms

[004:463] [2023-01-24 23:39:36 +0000.831070][3b86] ~GLESContext:


[004:464] [2023-01-24 23:39:36 +0000.832634][3b86] GLESContext destruct finish.
[004:464] [2023-01-24 23:39:36 +0000.832697][3b86] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[004:465] [2023-01-24 23:39:36 +0000.833493][3b86] global uninited!
[004:477] [2023-01-24 23:39:36 +0000.845490][3b86] clear AppID 50011
[004:477] [2023-01-24 23:39:36 +0000.845590][3b86] UnRegister JVM for Xplatform
util
[004:477] [2023-01-24 23:39:36 +0000.845639][3b86] Dispose::unregister webrtc video
engine
[004:477] [2023-01-24 23:39:36 +0000.845675][3b86] Init the android object with
jvm:0x0 env:0x0 context:0x0

[004:477] [2023-01-24 23:39:36 +0000.845724][3b86] SetAndroidMediaCodecObjects


time:53107232 enter.

[004:477] [2023-01-24 23:39:36 +0000.845761][3b86] ClearAndroidMediaCodecObjects


time:53107232 enter.

[004:477] [2023-01-24 23:39:36 +0000.845802][3b86] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[004:477] [2023-01-24 23:39:36 +0000.845836][3b86] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[004:477] [2023-01-24 23:39:36 +0000.845869][3b86] SetAndroidMediaCodecObjects


time:53107232 enter.

[004:477] [2023-01-24 23:39:36 +0000.845903][3b86] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[004:478] [2023-01-24 23:39:36 +0000.845937][3b86] ClearAndroidMediaCodecObjects
time:53107233 enter.

[004:478] [2023-01-24 23:39:36 +0000.845971][3b86] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[004:478] [2023-01-24 23:39:36 +0000.846004][3b86] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[004:478] [2023-01-24 23:39:36 +0000.846035][3b86] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[004:478] [2023-01-24 23:39:36 +0000.846068][3b86] Dispose::unregister webrtc voice


engine
[004:478] [2023-01-24 23:39:36 +0000.846191][3b86] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[004:478] [2023-01-24 23:39:36 +0000.846234][3b86] SystemUtil UnInit done


[1662:251] [2023-01-25 00:07:32 +0000.245773][3b86] Register JVM for xplatform util
[1662:254] [2023-01-25 00:07:32 +0000.248935][3b86] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-01-
25 00:07:32 +0000
[1662:254] [2023-01-25 00:07:32 +0000.248965][3b86] set AppID=50011 old AppID=-1
[1662:254] [2023-01-25 00:07:32 +0000.248979][3b86] Init the android object with
jvm:0xb40000740055a380 env:0x7400650fc0 context:0x72cda87d88
[1662:254] [2023-01-25 00:07:32 +0000.248994][3b86] SetAndroidMediaCodecObjects
time:54765009 enter.

[1662:254] [2023-01-25 00:07:32 +0000.249009][3b86] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1662:254] [2023-01-25 00:07:32 +0000.249022][3b86] SetAndroidMediaCodecObjects


time:54765009 enter.

[1662:254] [2023-01-25 00:07:32 +0000.249036][3b86] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000740055a380
[1662:254] [2023-01-25 00:07:32 +0000.249048][3b86] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000740055a380 address:0x721cec2760
[1662:254] [2023-01-25 00:07:32 +0000.249062][3b86] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000740055a380
address:0x721cec2760
[1662:254] [2023-01-25 00:07:32 +0000.249075][3b86] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1662:254] [2023-01-25 00:07:32 +0000.249088][3b86] Set the android objects with


jvm:0xb40000740055a380 env:0x7400650fc0 context:0x72cda87d88

[1662:254] [2023-01-25 00:07:32 +0000.249101][3b86] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7400650fc0
[1662:254] [2023-01-25 00:07:32 +0000.249116][3b86] SystemUtil Init done
[1662:255] [2023-01-25 00:07:32 +0000.249433][3b86]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[1662:255] [2023-01-25 00:07:32 +0000.249581][3b86] MediaFilterCamera
[1662:255] [2023-01-25 00:07:32 +0000.249604][3b86] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[1662:255] [2023-01-25 00:07:32 +0000.249687][3b86] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1662:255] [2023-01-25 00:07:32 +0000.249707][3b86] Recording session using default
bitrate support by app:31457280
[1662:255] [2023-01-25 00:07:32 +0000.249780][77be] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7252dec4c0
[1662:255] [2023-01-25 00:07:32 +0000.249821][77be] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1662:256] [2023-01-25 00:07:32 +0000.251135][3b86] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1662:258] [2023-01-25 00:07:32 +0000.252359][3b86] Error(ini.cc:191): Open the
file failed. error:2
[1662:258] [2023-01-25 00:07:32 +0000.252399][3b86]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[1662:258] [2023-01-25 00:07:32 +0000.252415][3b86] The device model: m2012k11ag
usingSoftwareAEC value: 0
[1662:267] [2023-01-25 00:07:32 +0000.261800][3b86] Error(ini.cc:191): Open the
file failed. error:2
[1662:267] [2023-01-25 00:07:32 +0000.261850][3b86]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[1662:267] [2023-01-25 00:07:32 +0000.261873][3b86] The device model: m2012k11ag
usingHardwareAEC value: 0
[1662:267] [2023-01-25 00:07:32 +0000.261888][3b86] The machine device: m2012k11ag
usingHardwareAEC value: 0
[1662:267] [2023-01-25 00:07:32 +0000.261904][3b86] Using Default AEC type:
software AEC
[1662:268] [2023-01-25 00:07:32 +0000.262759][3b86] The device model: m2012k11ag
enum value: 0
[1662:268] [2023-01-25 00:07:32 +0000.263063][3b86] GetMachineModel is M2012K11AG
[1662:268] [2023-01-25 00:07:32 +0000.263135][3b86] GetMachineInfo: M2012K11AG
[1662:268] [2023-01-25 00:07:32 +0000.263152][3b86] Construct BeautifyReader
begin...
[1662:268] [2023-01-25 00:07:32 +0000.263168][3b86] dumpStickerRgba:0
dumpStickerYuv:0
[1662:268] [2023-01-25 00:07:32 +0000.263182][3b86] Construct BeautifyReader done.
[1662:283] [2023-01-25 00:07:32 +0000.277878][3b86]
AppDeviceManagerStartCamera::The result of start thread is: 1 micOn:0
[1662:283] [2023-01-25 00:07:32 +0000.277953][3b86] AppDeviceManager telnet server
for statistics started......
[1662:283] [2023-01-25 00:07:32 +0000.278119][77cb] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x72cb38b5a0
[1662:284] [2023-01-25 00:07:32 +0000.278519][3b86] CpuOverloadDetect time:54765039
enter.

[1662:284] [2023-01-25 00:07:32 +0000.278773][3b86] CpuOverloadDetect leave.


expire time = 0 ms

[1662:284] [2023-01-25 00:07:32 +0000.279207][3b86] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[1662:286] [2023-01-25 00:07:32 +0000.281141][3b86] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[1662:287] [2023-01-25 00:07:32 +0000.281327][3b86] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1662:287] [2023-01-25 00:07:32 +0000.282114][77cc] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x72671fc2c0
[1662:378] [2023-01-25 00:07:32 +0000.372561][3b86] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1662:380] [2023-01-25 00:07:32 +0000.375049][3b86] CreatePlatformSpecificObjects:
[1662:380] [2023-01-25 00:07:32 +0000.375118][3b86] audio device use opensle input
and opensl output
[1662:380] [2023-01-25 00:07:32 +0000.375137][3b86] Create OpenSLES output module
with java VM support.

[1662:380] [2023-01-25 00:07:32 +0000.375223][3b86] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1662:381] [2023-01-25 00:07:32 +0000.375663][3b86] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1662:381] [2023-01-25 00:07:32 +0000.375830][3b86] Create OpenSLES output module
with buffer num:1

[1662:381] [2023-01-25 00:07:32 +0000.375935][3b86] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1662:382] [2023-01-25 00:07:32 +0000.376522][3b86] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1662:382] [2023-01-25 00:07:32 +0000.376789][3b86] Create OpenSLES input module
with java VM support.

[1662:382] [2023-01-25 00:07:32 +0000.376828][3b86] Create OpenSLES input module


with buffer num:1

[1662:382] [2023-01-25 00:07:32 +0000.376851][3b86] Error(trace.cc:40): Init the


output and input for audio device template.
[1662:382] [2023-01-25 00:07:32 +0000.376865][3b86] Init the output device.

[1662:382] [2023-01-25 00:07:32 +0000.376878][3b86] Init the opensl input.


[1662:382] [2023-01-25 00:07:32 +0000.376924][3b86] AppDeviceManager get setting
samplerate: 0
[1662:383] [2023-01-25 00:07:32 +0000.377275][3b86] The device model: m2012k11ag
enum value: 0
[1662:383] [2023-01-25 00:07:32 +0000.377605][3b86] The device model: m2012k11ag
enum value: 0
[1662:383] [2023-01-25 00:07:32 +0000.377630][3b86] Set the sample rate to be:48000

[1662:383] [2023-01-25 00:07:32 +0000.377643][3b86] Enable the recording stereo:0


[1662:383] [2023-01-25 00:07:32 +0000.377657][3b86] Set the playout as stereo:1
[1662:383] [2023-01-25 00:07:32 +0000.377695][3b86] Init the microphone.
[1662:383] [2023-01-25 00:07:32 +0000.378070][3b86] Update the recording sample
rate to be: 48000
[1662:383] [2023-01-25 00:07:32 +0000.378107][3b86] Init the speaker.
[1662:383] [2023-01-25 00:07:32 +0000.378129][3b86] Low latency buffer size:144 low
sample rate:48000
[1662:384] [2023-01-25 00:07:32 +0000.378407][3b86] Using 1 x 10ms for an audio
frame.

[1662:387] [2023-01-25 00:07:32 +0000.381397][3b86] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[1662:387] [2023-01-25 00:07:32 +0000.381489][3b86] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1662:387] [2023-01-25 00:07:32 +0000.381518][3b86] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1662:398] [2023-01-25 00:07:32 +0000.392363][3b86] The device model:m2012k11ag

[1662:398] [2023-01-25 00:07:32 +0000.392413][3b86] speaker output factor:100


defaultFactor: 100

[1662:398] [2023-01-25 00:07:32 +0000.392472][3b86] headset output factor:100


defaultFactor: 100

[1662:398] [2023-01-25 00:07:32 +0000.392716][3b86] AppDeviceManagerStart finished.


[1662:398] [2023-01-25 00:07:32 +0000.392761][3b86] AppDeviceManagerStartMic::mic
status is off
[1662:398] [2023-01-25 00:07:32 +0000.393015][3b86] AppDeviceManagerStartMic update
aec type: 2

[1662:398] [2023-01-25 00:07:32 +0000.393041][3b86] AppDeviceManagerStartMic update


voiceChangeMode: 4

[1662:398] [2023-01-25 00:07:32 +0000.393056][3b86]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[1662:398] [2023-01-25 00:07:32 +0000.393070][3b86]
AudioDeviceDataHandler::StartMicProcess

[1662:399] [2023-01-25 00:07:32 +0000.393314][3b86] Try to start webrtc recording


device.

[1662:399] [2023-01-25 00:07:32 +0000.393355][3b86] StartRecording. threadID:15238

[1662:399] [2023-01-25 00:07:32 +0000.393385][3b86] default mode: Set the recording


mode to voice communication to enable HW AEC .

[1662:399] [2023-01-25 00:07:32 +0000.393415][3b86] Set the recording mode before


getSetting: 4
[1662:399] [2023-01-25 00:07:32 +0000.393432][3b86] Set the recording mode after
getSetting: 1
[1662:399] [2023-01-25 00:07:32 +0000.393380][77d6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[1662:672] [2023-01-25 00:07:32 +0000.667172][3b86] StartRecording finished.

[1662:673] [2023-01-25 00:07:32 +0000.667327][3b86] audio: start the audio mic


checker timer.

[1662:673] [2023-01-25 00:07:32 +0000.667952][3b86] machine model :poco


[1662:673] [2023-01-25 00:07:32 +0000.667978][3b86] Support this machine
model :poco
[1662:673] [2023-01-25 00:07:32 +0000.667996][3b86] global inited! current sdk
version: 07-20-936c45f
[1662:761] [2023-01-25 00:07:32 +0000.755722][77d6] Run AGC when audioType = 0
[1662:761] [2023-01-25 00:07:32 +0000.755861][77d6]
AudioDeviceDataHandler::MixAndSendOutFrame
[1663:020] [2023-01-25 00:07:33 +0000.15169][5845]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[1663:021] [2023-01-25 00:07:33 +0000.15666][77bf] MediaFilterCamera, recording
file context:0x734116a900 input texture:35
[1663:021] [2023-01-25 00:07:33 +0000.15727][77bf] GLESContext:
[1663:021] [2023-01-25 00:07:33 +0000.15762][77bf] The result of eglGetDisplay is:
0xb40000740064d8c0
[1663:022] [2023-01-25 00:07:33 +0000.16784][77bf] The result of creation:
0x7266d74e80
[1663:022] [2023-01-25 00:07:33 +0000.16887][77bf] The result of
eglCreatePbufferSurface is: 0x7266d74f80
[1663:022] [2023-01-25 00:07:33 +0000.16988][5845]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x734116a900 input_texture: 35
[1663:413] [2023-01-25 00:07:33 +0000.409998][77d6] haveEnoughProcessedData
internalAudioStream.length: 0
[1664:758] [2023-01-25 00:07:34 +0000.752632][77d6] Run AGC when audioType = 0
[1665:138] [2023-01-25 00:07:35 +0000.133240][77d6] haveEnoughProcessedData
internalAudioStream.length: 20
[1666:674] [2023-01-25 00:07:36 +0000.668336][71f7]
monitorTime:4001totalDuration:3920
[1666:761] [2023-01-25 00:07:36 +0000.756301][77d6] Run AGC when audioType = 0
[1666:762] [2023-01-25 00:07:36 +0000.756515][77d6]
AudioDeviceDataHandler::MixAndSendOutFrame
[1666:882] [2023-01-25 00:07:36 +0000.877209][77d6] haveEnoughProcessedData
internalAudioStream.length: 20
[1668:605] [2023-01-25 00:07:38 +0000.599420][77d6] haveEnoughProcessedData
internalAudioStream.length: 0
[1668:758] [2023-01-25 00:07:38 +0000.752914][77d7] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1668:758] [2023-01-25 00:07:38 +0000.753230][77d7] _deviceSampleRate:48000

[1668:760] [2023-01-25 00:07:38 +0000.754885][77d6] Run AGC when audioType = 0


[1670:339] [2023-01-25 00:07:40 +0000.336695][77d6] haveEnoughProcessedData
internalAudioStream.length: 10
[1670:763] [2023-01-25 00:07:40 +0000.757420][77d6] Run AGC when audioType = 0
[1670:763] [2023-01-25 00:07:40 +0000.757561][77d6]
AudioDeviceDataHandler::MixAndSendOutFrame
[1672:069] [2023-01-25 00:07:42 +0000.64071][77d6] haveEnoughProcessedData
internalAudioStream.length: 0
[1672:761] [2023-01-25 00:07:42 +0000.755392][77d6] Run AGC when audioType = 0
[1673:781] [2023-01-25 00:07:43 +0000.775709][77d6] haveEnoughProcessedData
internalAudioStream.length: 0
[1674:760] [2023-01-25 00:07:44 +0000.754521][77d6] Run AGC when audioType = 0
[1674:760] [2023-01-25 00:07:44 +0000.755007][77d6]
AudioDeviceDataHandler::MixAndSendOutFrame
[1675:504] [2023-01-25 00:07:45 +0000.498834][77d6] haveEnoughProcessedData
internalAudioStream.length: 10
[1676:761] [2023-01-25 00:07:46 +0000.756164][77d6] Run AGC when audioType = 0
[1677:231] [2023-01-25 00:07:47 +0000.225378][77d6] haveEnoughProcessedData
internalAudioStream.length: 0
[1677:782] [2023-01-25 00:07:47 +0000.776643][3b86]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[1677:782] [2023-01-25 00:07:47 +0000.776835][3b86] ~MediaFilterCamera
time:54780537 enter.

[1677:782] [2023-01-25 00:07:47 +0000.776880][3b86] StopPullFrameAndWriteMp4


time:54780537 enter.

[1677:790] [2023-01-25 00:07:47 +0000.784245][77be] stop recording


[1677:790] [2023-01-25 00:07:47 +0000.784294][77be] we have stopped recording
before
[1677:792] [2023-01-25 00:07:47 +0000.786563][3b86] StopPullFrameAndWriteMp4
leave. expire time = 10 ms

[1677:804] [2023-01-25 00:07:47 +0000.798913][3b86] DestroyPipelineAndFilters


time:54780559 enter.

[1677:804] [2023-01-25 00:07:47 +0000.799011][3b86] DestroyPipelineAndFilters


leave. expire time = 0 ms

[1677:804] [2023-01-25 00:07:47 +0000.799053][3b86] AppDeviceManagerStopMic

[1677:804] [2023-01-25 00:07:47 +0000.799144][3b86] AppDeviceManagerStopMic::mic


status is on
[1677:804] [2023-01-25 00:07:47 +0000.799180][3b86] Try to stop webrtc device.

[1677:804] [2023-01-25 00:07:47 +0000.799217][3b86] Set record state to


stopped.threadID:15238

[1677:868] [2023-01-25 00:07:47 +0000.862918][3b86] Try to destory the


recorder.threadID:15238

[1678:105] [2023-01-25 00:07:48 +0000.99452][3b86] DestroyAudioRecorder:


[1678:105] [2023-01-25 00:07:48 +0000.99664][3b86] Cleanup the buffer queue in the
recorder.
[1678:105] [2023-01-25 00:07:48 +0000.99748][3b86] Destroy the recorder.

[1678:108] [2023-01-25 00:07:48 +0000.102315][3b86] StopRecording finished.

[1678:108] [2023-01-25 00:07:48 +0000.102441][3b86] The stop recording success.

[1678:108] [2023-01-25 00:07:48 +0000.102522][3b86]


AudioDeviceDataHandler::StopMicProcess

[1678:112] [2023-01-25 00:07:48 +0000.106341][3b86] AppDeviceManager stop.

[1678:112] [2023-01-25 00:07:48 +0000.106461][3b86] Rlease the webrtc device


object.

[1678:115] [2023-01-25 00:07:48 +0000.109394][3b86] OpenSlesInput destruct.


[1678:115] [2023-01-25 00:07:48 +0000.109507][3b86] OpenSlesOutput destruct.

[1678:118] [2023-01-25 00:07:48 +0000.112573][3b86] EventDispatchServerScope


destruct
[1678:118] [2023-01-25 00:07:48 +0000.112649][3b86]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[1678:118] [2023-01-25 00:07:48 +0000.112738][3b86] ~AudioDeviceDataHandler

[1678:119] [2023-01-25 00:07:48 +0000.114219][3b86] AppDeviceManagerDestruct.

[1678:120] [2023-01-25 00:07:48 +0000.114285][3b86] ~AppDeviceManager:


[1678:120] [2023-01-25 00:07:48 +0000.114371][3b86] ~CpuOverloadDetect
time:54780875 enter.

[1678:120] [2023-01-25 00:07:48 +0000.115001][3b86] ~CpuOverloadDetect leave.


expire time = 0 ms

[1678:142] [2023-01-25 00:07:48 +0000.136299][3b86] Destruct BeautifyReader


begin...
[1678:142] [2023-01-25 00:07:48 +0000.136660][3b86] Destruct BeautifyReader done.
[1678:142] [2023-01-25 00:07:48 +0000.136718][3b86] ~MediaFilterCamera leave.
expire time = 360 ms

[1678:142] [2023-01-25 00:07:48 +0000.136948][3b86] ~GLESContext:


[1678:144] [2023-01-25 00:07:48 +0000.138994][3b86] GLESContext destruct finish.
[1678:144] [2023-01-25 00:07:48 +0000.139070][3b86]
~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[1678:221] [2023-01-25 00:07:48 +0000.215731][3b86] global uninited!
[1678:221] [2023-01-25 00:07:48 +0000.216205][3b86] clear AppID 50011
[1678:222] [2023-01-25 00:07:48 +0000.216311][3b86] UnRegister JVM for Xplatform
util
[1678:222] [2023-01-25 00:07:48 +0000.216371][3b86] Dispose::unregister webrtc
video engine
[1678:222] [2023-01-25 00:07:48 +0000.216546][3b86] Init the android object with
jvm:0x0 env:0x0 context:0x0

[1678:223] [2023-01-25 00:07:48 +0000.218073][3b86] SetAndroidMediaCodecObjects


time:54780978 enter.

[1678:223] [2023-01-25 00:07:48 +0000.218132][3b86] ClearAndroidMediaCodecObjects


time:54780978 enter.

[1678:223] [2023-01-25 00:07:48 +0000.218188][3b86] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[1678:224] [2023-01-25 00:07:48 +0000.218236][3b86] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[1678:224] [2023-01-25 00:07:48 +0000.218285][3b86] SetAndroidMediaCodecObjects


time:54780979 enter.

[1678:224] [2023-01-25 00:07:48 +0000.218339][3b86] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[1678:224] [2023-01-25 00:07:48 +0000.218400][3b86] ClearAndroidMediaCodecObjects
time:54780979 enter.

[1678:224] [2023-01-25 00:07:48 +0000.218435][3b86] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms
[1678:224] [2023-01-25 00:07:48 +0000.218525][3b86] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects failed
[1678:224] [2023-01-25 00:07:48 +0000.218658][3b86] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1678:224] [2023-01-25 00:07:48 +0000.218713][3b86] Dispose::unregister webrtc


voice engine
[1678:224] [2023-01-25 00:07:48 +0000.218760][3b86] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[1678:224] [2023-01-25 00:07:48 +0000.218816][3b86] SystemUtil UnInit done


[1697:404] [2023-01-25 00:08:07 +0000.398637][3b86] Register JVM for xplatform util
[1697:413] [2023-01-25 00:08:07 +0000.408033][3b86] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-01-
25 00:08:07 +0000
[1697:413] [2023-01-25 00:08:07 +0000.408083][3b86] set AppID=50011 old AppID=-1
[1697:413] [2023-01-25 00:08:07 +0000.408104][3b86] Init the android object with
jvm:0xb40000740055a380 env:0x7400650fc0 context:0x72cda87d88

[1697:413] [2023-01-25 00:08:07 +0000.408142][3b86] SetAndroidMediaCodecObjects


time:54800168 enter.

[1697:413] [2023-01-25 00:08:07 +0000.408166][3b86] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1697:413] [2023-01-25 00:08:07 +0000.408182][3b86] SetAndroidMediaCodecObjects


time:54800168 enter.

[1697:413] [2023-01-25 00:08:07 +0000.408196][3b86] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000740055a380
[1697:414] [2023-01-25 00:08:07 +0000.408832][3b86] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000740055a380 address:0x721cec2760
[1697:414] [2023-01-25 00:08:07 +0000.408887][3b86] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000740055a380
address:0x721cec2760
[1697:414] [2023-01-25 00:08:07 +0000.408908][3b86] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[1697:414] [2023-01-25 00:08:07 +0000.409160][3b86] Set the android objects with


jvm:0xb40000740055a380 env:0x7400650fc0 context:0x72cda87d88

[1697:415] [2023-01-25 00:08:07 +0000.409314][3b86] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7400650fc0
[1697:415] [2023-01-25 00:08:07 +0000.409920][3b86] SystemUtil Init done
[1697:416] [2023-01-25 00:08:07 +0000.411053][3b86]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[1697:417] [2023-01-25 00:08:07 +0000.411356][3b86] MediaFilterCamera
[1697:417] [2023-01-25 00:08:07 +0000.411450][3b86] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[1697:417] [2023-01-25 00:08:07 +0000.411709][3b86] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1697:417] [2023-01-25 00:08:07 +0000.411837][3b86] Recording session using default
bitrate support by app:31457280
[1697:417] [2023-01-25 00:08:07 +0000.411731][bac] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7252dec4c0
[1697:418] [2023-01-25 00:08:07 +0000.412803][bac] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1697:421] [2023-01-25 00:08:07 +0000.415460][3b86] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1697:421] [2023-01-25 00:08:07 +0000.416220][3b86] Error(ini.cc:191): Open the
file failed. error:2
[1697:422] [2023-01-25 00:08:07 +0000.416264][3b86]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[1697:422] [2023-01-25 00:08:07 +0000.416301][3b86] The device model: m2012k11ag
usingSoftwareAEC value: 0
[1697:423] [2023-01-25 00:08:07 +0000.418052][3b86] Error(ini.cc:191): Open the
file failed. error:2
[1697:423] [2023-01-25 00:08:07 +0000.418113][3b86]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[1697:423] [2023-01-25 00:08:07 +0000.418139][3b86] The device model: m2012k11ag
usingHardwareAEC value: 0
[1697:423] [2023-01-25 00:08:07 +0000.418154][3b86] The machine device: m2012k11ag
usingHardwareAEC value: 0
[1697:424] [2023-01-25 00:08:07 +0000.418428][3b86] Using Default AEC type:
software AEC
[1697:425] [2023-01-25 00:08:07 +0000.419457][3b86] The device model: m2012k11ag
enum value: 0
[1697:425] [2023-01-25 00:08:07 +0000.419800][3b86] GetMachineModel is M2012K11AG
[1697:425] [2023-01-25 00:08:07 +0000.419874][3b86] GetMachineInfo: M2012K11AG
[1697:425] [2023-01-25 00:08:07 +0000.419896][3b86] Construct BeautifyReader
begin...
[1697:425] [2023-01-25 00:08:07 +0000.419933][3b86] dumpStickerRgba:0
dumpStickerYuv:0
[1697:425] [2023-01-25 00:08:07 +0000.419948][3b86] Construct BeautifyReader done.
[1697:427] [2023-01-25 00:08:07 +0000.422167][3b86]
AppDeviceManagerStartCamera::The result of start thread is: 1 micOn:0
[1697:428] [2023-01-25 00:08:07 +0000.422235][3b86] AppDeviceManager telnet server
for statistics started......
[1697:428] [2023-01-25 00:08:07 +0000.422344][bb2] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7266d65da0
[1697:432] [2023-01-25 00:08:07 +0000.426558][3b86] CpuOverloadDetect time:54800187
enter.

[1697:432] [2023-01-25 00:08:07 +0000.426678][3b86] CpuOverloadDetect leave.


expire time = 0 ms

[1697:432] [2023-01-25 00:08:07 +0000.426867][bb3] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x72671ab3c0
[1697:432] [2023-01-25 00:08:07 +0000.427013][3b86] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[1697:432] [2023-01-25 00:08:07 +0000.427029][3b86] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[1697:432] [2023-01-25 00:08:07 +0000.427172][3b86] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1697:435] [2023-01-25 00:08:07 +0000.429741][3b86] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1697:435] [2023-01-25 00:08:07 +0000.430184][3b86] CreatePlatformSpecificObjects:
[1697:435] [2023-01-25 00:08:07 +0000.430214][3b86] audio device use opensle input
and opensl output
[1697:436] [2023-01-25 00:08:07 +0000.430230][3b86] Create OpenSLES output module
with java VM support.

[1697:436] [2023-01-25 00:08:07 +0000.430311][3b86] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1697:436] [2023-01-25 00:08:07 +0000.430474][3b86] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1697:436] [2023-01-25 00:08:07 +0000.430608][3b86] Create OpenSLES output module
with buffer num:1

[1697:436] [2023-01-25 00:08:07 +0000.430682][3b86] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1697:436] [2023-01-25 00:08:07 +0000.430857][3b86] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1697:436] [2023-01-25 00:08:07 +0000.431142][3b86] Create OpenSLES input module
with java VM support.

[1697:436] [2023-01-25 00:08:07 +0000.431173][3b86] Create OpenSLES input module


with buffer num:1

[1697:436] [2023-01-25 00:08:07 +0000.431214][3b86] Error(trace.cc:40): Init the


output and input for audio device template.
[1697:437] [2023-01-25 00:08:07 +0000.431253][3b86] Init the output device.

[1697:437] [2023-01-25 00:08:07 +0000.431272][3b86] Init the opensl input.


[1697:437] [2023-01-25 00:08:07 +0000.431285][3b86] AppDeviceManager get setting
samplerate: 0
[1697:437] [2023-01-25 00:08:07 +0000.431474][3b86] The device model: m2012k11ag
enum value: 0
[1697:437] [2023-01-25 00:08:07 +0000.431735][3b86] The device model: m2012k11ag
enum value: 0
[1697:437] [2023-01-25 00:08:07 +0000.431757][3b86] Set the sample rate to be:48000

[1697:437] [2023-01-25 00:08:07 +0000.431769][3b86] Enable the recording stereo:0


[1697:437] [2023-01-25 00:08:07 +0000.431780][3b86] Set the playout as stereo:1
[1697:437] [2023-01-25 00:08:07 +0000.431790][3b86] Init the microphone.
[1697:438] [2023-01-25 00:08:07 +0000.432435][3b86] Update the recording sample
rate to be: 48000
[1697:438] [2023-01-25 00:08:07 +0000.432536][3b86] Init the speaker.
[1697:438] [2023-01-25 00:08:07 +0000.432807][3b86] Low latency buffer size:144 low
sample rate:48000
[1697:438] [2023-01-25 00:08:07 +0000.433034][3b86] Using 1 x 10ms for an audio
frame.

[1697:441] [2023-01-25 00:08:07 +0000.436044][3b86] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[1697:441] [2023-01-25 00:08:07 +0000.436127][3b86] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1697:441] [2023-01-25 00:08:07 +0000.436148][3b86] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1697:447] [2023-01-25 00:08:07 +0000.442212][3b86] The device model:m2012k11ag

[1697:448] [2023-01-25 00:08:07 +0000.442357][3b86] speaker output factor:100


defaultFactor: 100

[1697:448] [2023-01-25 00:08:07 +0000.442420][3b86] headset output factor:100


defaultFactor: 100

[1697:449] [2023-01-25 00:08:07 +0000.443615][3b86] AppDeviceManagerStart finished.


[1697:449] [2023-01-25 00:08:07 +0000.443707][3b86] AppDeviceManagerStartMic::mic
status is off
[1697:449] [2023-01-25 00:08:07 +0000.443827][3b86] AppDeviceManagerStartMic update
aec type: 2

[1697:449] [2023-01-25 00:08:07 +0000.443897][3b86] AppDeviceManagerStartMic update


voiceChangeMode: 4
[1697:449] [2023-01-25 00:08:07 +0000.443940][3b86]
AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[1697:449] [2023-01-25 00:08:07 +0000.443982][3b86]
AudioDeviceDataHandler::StartMicProcess

[1697:449] [2023-01-25 00:08:07 +0000.444214][3b86] Try to start webrtc recording


device.

[1697:450] [2023-01-25 00:08:07 +0000.444307][3b86] StartRecording. threadID:15238

[1697:450] [2023-01-25 00:08:07 +0000.444420][3b86] default mode: Set the recording


mode to voice communication to enable HW AEC .

[1697:450] [2023-01-25 00:08:07 +0000.444606][3b86] Set the recording mode before


getSetting: 4
[1697:450] [2023-01-25 00:08:07 +0000.444678][3b86] Set the recording mode after
getSetting: 1
[1697:450] [2023-01-25 00:08:07 +0000.445117][bbe] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[1697:556] [2023-01-25 00:08:07 +0000.550953][3b86] StartRecording finished.

[1697:556] [2023-01-25 00:08:07 +0000.551028][3b86] audio: start the audio mic


checker timer.

[1697:557] [2023-01-25 00:08:07 +0000.551358][3b86] machine model :poco


[1697:557] [2023-01-25 00:08:07 +0000.551379][3b86] Support this machine
model :poco
[1697:557] [2023-01-25 00:08:07 +0000.551392][3b86] global inited! current sdk
version: 07-20-936c45f
[1697:887] [2023-01-25 00:08:07 +0000.882065][5845]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[1697:888] [2023-01-25 00:08:07 +0000.882616][bad] MediaFilterCamera, recording
file context:0x734116a900 input texture:37
[1697:888] [2023-01-25 00:08:07 +0000.882726][bad] GLESContext:
[1697:888] [2023-01-25 00:08:07 +0000.882808][bad] The result of eglGetDisplay is:
0xb40000740064d8c0
[1697:892] [2023-01-25 00:08:07 +0000.886295][bad] The result of creation:
0x734115e700
[1697:892] [2023-01-25 00:08:07 +0000.886606][bad] The result of
eglCreatePbufferSurface is: 0x734115e800
[1697:898] [2023-01-25 00:08:07 +0000.893002][5845]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x734116a900 input_texture: 37
[1698:503] [2023-01-25 00:08:08 +0000.498197][bbe] haveEnoughProcessedData
internalAudioStream.length: 0
[1698:571] [2023-01-25 00:08:08 +0000.565961][bd8] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1698:571] [2023-01-25 00:08:08 +0000.566075][bd8] _deviceSampleRate:48000

[1698:572] [2023-01-25 00:08:08 +0000.566974][bbe] Run AGC when audioType = 0


[1698:572] [2023-01-25 00:08:08 +0000.567126][bbe]
AudioDeviceDataHandler::MixAndSendOutFrame
[1698:589] [2023-01-25 00:08:08 +0000.583470][3b86]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[1698:589] [2023-01-25 00:08:08 +0000.583710][3b86] ~MediaFilterCamera
time:54801344 enter.
[1698:589] [2023-01-25 00:08:08 +0000.583756][3b86] StopPullFrameAndWriteMp4
time:54801344 enter.

[1698:592] [2023-01-25 00:08:08 +0000.586482][bac] stop recording


[1698:592] [2023-01-25 00:08:08 +0000.586686][bac] we have stopped recording before
[1698:592] [2023-01-25 00:08:08 +0000.586876][3b86] StopPullFrameAndWriteMp4
leave. expire time = 3 ms

[1698:593] [2023-01-25 00:08:08 +0000.587740][3b86] DestroyPipelineAndFilters


time:54801348 enter.

[1698:593] [2023-01-25 00:08:08 +0000.587944][3b86] DestroyPipelineAndFilters


leave. expire time = 0 ms

[1698:593] [2023-01-25 00:08:08 +0000.587987][3b86] AppDeviceManagerStopMic

[1698:593] [2023-01-25 00:08:08 +0000.588081][3b86] AppDeviceManagerStopMic::mic


status is on
[1698:593] [2023-01-25 00:08:08 +0000.588126][3b86] Try to stop webrt[000:030]
[2023-01-25 23:11:00 +0000.421054][229b] Log to file:/storage/emulated/0/voip-
data/com.android.camera/trace.txt start time:2023-01-25 23:11:00 +0000
[000:030] [2023-01-25 23:11:00 +0000.421094][229b] set AppID=50011 old AppID=-1
[000:030] [2023-01-25 23:11:00 +0000.421107][229b] Init the android object with
jvm:0xb40000740055a380 env:0x7400650ac0 context:0x72cd43e718

[000:030] [2023-01-25 23:11:00 +0000.421133][229b] SetAndroidMediaCodecObjects


time:136349357 enter.

[000:030] [2023-01-25 23:11:00 +0000.421161][229b] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:030] [2023-01-25 23:11:00 +0000.421195][229b] SetAndroidMediaCodecObjects


time:136349357 enter.

[000:030] [2023-01-25 23:11:00 +0000.421207][229b] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb40000740055a380
[000:030] [2023-01-25 23:11:00 +0000.421233][229b] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb40000740055a380 address:0x725b745760
[000:030] [2023-01-25 23:11:00 +0000.421245][229b] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb40000740055a380
address:0x725b745760
[000:030] [2023-01-25 23:11:00 +0000.421270][229b] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:030] [2023-01-25 23:11:00 +0000.421289][229b] Set the android objects with


jvm:0xb40000740055a380 env:0x7400650ac0 context:0x72cd43e718

[000:031] [2023-01-25 23:11:00 +0000.422033][229b] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7400650ac0
[000:031] [2023-01-25 23:11:00 +0000.422059][229b] SystemUtil Init done
[000:032] [2023-01-25 23:11:00 +0000.423616][229b]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:034] [2023-01-25 23:11:00 +0000.425060][229b] MediaFilterCamera
[000:034] [2023-01-25 23:11:00 +0000.425101][229b] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:034] [2023-01-25 23:11:00 +0000.425189][229b] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:034] [2023-01-25 23:11:00 +0000.425211][229b] Recording session using default
bitrate support by app:31457280
[000:034] [2023-01-25 23:11:00 +0000.425224][3af0] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x734114a040
[000:034] [2023-01-25 23:11:00 +0000.425407][3af0] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:034] [2023-01-25 23:11:00 +0000.425476][229b] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:035] [2023-01-25 23:11:00 +0000.425838][229b] Error(ini.cc:191): Open the file
failed. error:2
[000:035] [2023-01-25 23:11:00 +0000.425859][229b]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:035] [2023-01-25 23:11:00 +0000.425871][229b] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:036] [2023-01-25 23:11:00 +0000.426973][229b] Error(ini.cc:191): Open the file
failed. error:2
[000:036] [2023-01-25 23:11:00 +0000.426999][229b]
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] [2023-01-25 23:11:00 +0000.427015][229b] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:036] [2023-01-25 23:11:00 +0000.427040][229b] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:036] [2023-01-25 23:11:00 +0000.427050][229b] Using Default AEC type: software
AEC
[000:036] [2023-01-25 23:11:00 +0000.427679][229b] The device model: m2012k11ag
enum value: 0
[000:037] [2023-01-25 23:11:00 +0000.427915][229b] GetMachineModel is M2012K11AG
[000:037] [2023-01-25 23:11:00 +0000.427936][229b] GetMachineInfo: M2012K11AG
[000:037] [2023-01-25 23:11:00 +0000.427956][229b] Construct BeautifyReader
begin...
[000:037] [2023-01-25 23:11:00 +0000.427966][229b] dumpStickerRgba:0
dumpStickerYuv:0
[000:037] [2023-01-25 23:11:00 +0000.427999][229b] Construct BeautifyReader done.
[000:039] [2023-01-25 23:11:00 +0000.429815][229b] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:039] [2023-01-25 23:11:00 +0000.429841][3af3] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x726d6a08a0
[000:039] [2023-01-25 23:11:00 +0000.430200][229b] AppDeviceManager telnet server
for statistics started......
[000:039] [2023-01-25 23:11:00 +0000.430539][229b] CpuOverloadDetect time:136349366
enter.

[000:039] [2023-01-25 23:11:00 +0000.430589][229b] CpuOverloadDetect leave. expire


time = 0 ms

[000:039] [2023-01-25 23:11:00 +0000.430607][3af5] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7341093400
[000:040] [2023-01-25 23:11:00 +0000.430856][229b] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:040] [2023-01-25 23:11:00 +0000.430875][229b] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:040] [2023-01-25 23:11:00 +0000.431018][229b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:040] [2023-01-25 23:11:00 +0000.431581][229b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:041] [2023-01-25 23:11:00 +0000.431798][229b] CreatePlatformSpecificObjects:
[000:041] [2023-01-25 23:11:00 +0000.431824][229b] audio device use opensle input
and opensl output
[000:041] [2023-01-25 23:11:00 +0000.431851][229b] Create OpenSLES output module
with java VM support.

[000:041] [2023-01-25 23:11:00 +0000.431911][229b] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:041] [2023-01-25 23:11:00 +0000.431985][229b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:041] [2023-01-25 23:11:00 +0000.432064][229b] Create OpenSLES output module
with buffer num:1

[000:041] [2023-01-25 23:11:00 +0000.432144][229b] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:041] [2023-01-25 23:11:00 +0000.432219][229b] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:042] [2023-01-25 23:11:00 +0000.432862][229b] Create OpenSLES input module
with java VM support.

[000:042] [2023-01-25 23:11:00 +0000.433084][229b] Create OpenSLES input module


with buffer num:1

[000:042] [2023-01-25 23:11:00 +0000.433127][229b] Error(trace.cc:40): Init the


output and input for audio device template.
[000:042] [2023-01-25 23:11:00 +0000.433204][229b] Init the output device.

[000:042] [2023-01-25 23:11:00 +0000.433219][229b] Init the opensl input.


[000:042] [2023-01-25 23:11:00 +0000.433232][229b] AppDeviceManager get setting
samplerate: 0
[000:042] [2023-01-25 23:11:00 +0000.433455][229b] The device model: m2012k11ag
enum value: 0
[000:043] [2023-01-25 23:11:00 +0000.433740][229b] The device model: m2012k11ag
enum value: 0
[000:043] [2023-01-25 23:11:00 +0000.433766][229b] Set the sample rate to be:48000

[000:043] [2023-01-25 23:11:00 +0000.433778][229b] Enable the recording stereo:0


[000:043] [2023-01-25 23:11:00 +0000.433791][229b] Set the playout as stereo:1
[000:043] [2023-01-25 23:11:00 +0000.433801][229b] Init the microphone.
[000:043] [2023-01-25 23:11:00 +0000.434625][229b] Update the recording sample rate
to be: 48000
[000:043] [2023-01-25 23:11:00 +0000.434665][229b] Init the speaker.
[000:045] [2023-01-25 23:11:00 +0000.436314][229b] Low latency buffer size:144 low
sample rate:48000
[000:045] [2023-01-25 23:11:00 +0000.436554][229b] Using 1 x 10ms for an audio
frame.

[000:048] [2023-01-25 23:11:00 +0000.439184][229b] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:048] [2023-01-25 23:11:00 +0000.439259][229b] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:048] [2023-01-25 23:11:00 +0000.439277][229b] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:052] [2023-01-25 23:11:00 +0000.442789][229b] The device model:m2012k11ag

[000:052] [2023-01-25 23:11:00 +0000.442832][229b] speaker output factor:100


defaultFactor: 100

[000:052] [2023-01-25 23:11:00 +0000.442843][229b] headset output factor:100


defaultFactor: 100

[000:052] [2023-01-25 23:11:00 +0000.443070][229b] AppDeviceManagerStart finished.


[000:052] [2023-01-25 23:11:00 +0000.443089][229b] AppDeviceManagerStartMic::mic
status is off
[000:052] [2023-01-25 23:11:00 +0000.443122][229b] AppDeviceManagerStartMic update
aec type: 2

[000:052] [2023-01-25 23:11:00 +0000.443136][229b] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:052] [2023-01-25 23:11:00 +0000.443146][229b]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:052] [2023-01-25 23:11:00 +0000.443176][229b]
AudioDeviceDataHandler::StartMicProcess

[000:052] [2023-01-25 23:11:00 +0000.443249][229b] Try to start webrtc recording


device.

[000:052] [2023-01-25 23:11:00 +0000.443266][229b] StartRecording. threadID:8859

[000:052] [2023-01-25 23:11:00 +0000.443277][3af6] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:052] [2023-01-25 23:11:00 +0000.443343][3af6] haveEnoughProcessedData
internalAudioStream.length: 0
[000:052] [2023-01-25 23:11:00 +0000.443439][229b] The machine model:M2012K11AG

[000:052] [2023-01-25 23:11:00 +0000.443469][229b] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:052] [2023-01-25 23:11:00 +0000.443490][229b] Set the recording mode before


getSetting: 4
[000:052] [2023-01-25 23:11:00 +0000.443504][229b] Set the recording mode after
getSetting: 1
[000:081] [2023-01-25 23:11:00 +0000.472350][229b] StartRecording finished.

[000:081] [2023-01-25 23:11:00 +0000.472409][229b] audio: start the audio mic


checker timer.

[000:082] [2023-01-25 23:11:00 +0000.473200][229b] machine model :poco


[000:082] [2023-01-25 23:11:00 +0000.473272][229b] Support this machine model :poco
[000:088] [2023-01-25 23:11:00 +0000.479009][229b] global inited! current sdk
version: 07-20-936c45f
[000:159] [2023-01-25 23:11:00 +0000.550406][3af8] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:159] [2023-01-25 23:11:00 +0000.550467][3af8] _deviceSampleRate:48000

[000:163] [2023-01-25 23:11:00 +0000.553854][3af6] Run AGC when audioType = 0


[000:163] [2023-01-25 23:11:00 +0000.553940][3af6]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:296] [2023-01-25 23:11:00 +0000.687146][3a74]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:296] [2023-01-25 23:11:00 +0000.687287][3af1] MediaFilterCamera, recording
file context:0x72c5b4eb00 input texture:4
[000:296] [2023-01-25 23:11:00 +0000.687332][3af1] GLESContext:
[000:296] [2023-01-25 23:11:00 +0000.687377][3af1] The result of eglGetDisplay is:
0xb40000740064d8c0
[000:297] [2023-01-25 23:11:00 +0000.687953][3af1] The result of creation:
0x724ec50700
[000:297] [2023-01-25 23:11:00 +0000.688025][3af1] The result of
eglCreatePbufferSurface is: 0x724ec50800
[000:297] [2023-01-25 23:11:00 +0000.688089][3a74]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x72c5b4eb00 input_texture: 4
[001:781] [2023-01-25 23:11:02 +0000.171876][3af6] haveEnoughProcessedData
internalAudioStream.length: 10
[001:825] [2023-01-25 23:11:02 +0000.216617][229b]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[001:826] [2023-01-25 23:11:02 +0000.216926][229b] ~MediaFilterCamera
time:136351153 enter.

[001:826] [2023-01-25 23:11:02 +0000.217017][229b] StopPullFrameAndWriteMp4


time:136351153 enter.

[001:827] [2023-01-25 23:11:02 +0000.218460][3af0] stop recording


[001:827] [2023-01-25 23:11:02 +0000.218493][3af0] we have stopped recording before
[001:827] [2023-01-25 23:11:02 +0000.218564][229b] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[001:828] [2023-01-25 23:11:02 +0000.219073][229b] DestroyPipelineAndFilters


time:136351155 enter.

[001:828] [2023-01-25 23:11:02 +0000.219115][229b] DestroyPipelineAndFilters


leave. expire time = 0 ms

[001:828] [2023-01-25 23:11:02 +0000.219134][229b] AppDeviceManagerStopMic

[001:828] [2023-01-25 23:11:02 +0000.219247][229b] AppDeviceManagerSt[000:026]


[2023-02-23 13:57:59 +0000.167932][3a8c] Log to file:/storage/emulated/0/voip-
data/com.android.camera/trace.txt start time:2023-02-23 13:57:59 +0000
[000:026] [2023-02-23 13:57:59 +0000.167959][3a8c] set AppID=50011 old AppID=-1
[000:026] [2023-02-23 13:57:59 +0000.167971][3a8c] Init the android object with
jvm:0xb4000073f5c80380 env:0x73f5d75e80 context:0x72c8adf108

[000:026] [2023-02-23 13:57:59 +0000.167984][3a8c] SetAndroidMediaCodecObjects


time:11075020 enter.

[000:026] [2023-02-23 13:57:59 +0000.168012][3a8c] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:026] [2023-02-23 13:57:59 +0000.168023][3a8c] SetAndroidMediaCodecObjects


time:11075020 enter.

[000:026] [2023-02-23 13:57:59 +0000.168045][3a8c] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000073f5c80380
[000:026] [2023-02-23 13:57:59 +0000.168057][3a8c] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000073f5c80380 address:0x7219acb760
[000:026] [2023-02-23 13:57:59 +0000.168083][3a8c] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000073f5c80380
address:0x7219acb760
[000:026] [2023-02-23 13:57:59 +0000.168094][3a8c] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:026] [2023-02-23 13:57:59 +0000.168125][3a8c] Set the android objects with


jvm:0xb4000073f5c80380 env:0x73f5d75e80 context:0x72c8adf108

[000:028] [2023-02-23 13:57:59 +0000.169877][3a8c] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x73f5d75e80
[000:028] [2023-02-23 13:57:59 +0000.169903][3a8c] SystemUtil Init done
[000:030] [2023-02-23 13:57:59 +0000.171829][3a8c]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:032] [2023-02-23 13:57:59 +0000.174192][3a8c] MediaFilterCamera
[000:032] [2023-02-23 13:57:59 +0000.174240][3a8c] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:032] [2023-02-23 13:57:59 +0000.174327][3a8c] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:033] [2023-02-23 13:57:59 +0000.174347][3a8c] Recording session using default
bitrate support by app:31457280
[000:033] [2023-02-23 13:57:59 +0000.174585][7293] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7326caa4c0
[000:034] [2023-02-23 13:57:59 +0000.175850][7293] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:034] [2023-02-23 13:57:59 +0000.175960][3a8c] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:035] [2023-02-23 13:57:59 +0000.176459][3a8c] Error(ini.cc:191): Open the file
failed. error:2
[000:035] [2023-02-23 13:57:59 +0000.176486][3a8c]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:035] [2023-02-23 13:57:59 +0000.176516][3a8c] The device model: m2012k11ag
usingSoftwareAEC value: 0
[000:036] [2023-02-23 13:57:59 +0000.178255][3a8c] Error(ini.cc:191): Open the file
failed. error:2
[000:036] [2023-02-23 13:57:59 +0000.178284][3a8c]
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] [2023-02-23 13:57:59 +0000.178312][3a8c] The device model: m2012k11ag
usingHardwareAEC value: 0
[000:036] [2023-02-23 13:57:59 +0000.178323][3a8c] The machine device: m2012k11ag
usingHardwareAEC value: 0
[000:037] [2023-02-23 13:57:59 +0000.178334][3a8c] Using Default AEC type: software
AEC
[000:037] [2023-02-23 13:57:59 +0000.179009][3a8c] The device model: m2012k11ag
enum value: 0
[000:037] [2023-02-23 13:57:59 +0000.179241][3a8c] GetMachineModel is M2012K11AG
[000:037] [2023-02-23 13:57:59 +0000.179266][3a8c] GetMachineInfo: M2012K11AG
[000:037] [2023-02-23 13:57:59 +0000.179286][3a8c] Construct BeautifyReader
begin...
[000:037] [2023-02-23 13:57:59 +0000.179308][3a8c] dumpStickerRgba:0
dumpStickerYuv:0
[000:037] [2023-02-23 13:57:59 +0000.179317][3a8c] Construct BeautifyReader done.
[000:040] [2023-02-23 13:57:59 +0000.181568][3a8c] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:040] [2023-02-23 13:57:59 +0000.181601][7296] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7244f289a0
[000:040] [2023-02-23 13:57:59 +0000.181771][3a8c] AppDeviceManager telnet server
for statistics started......
[000:040] [2023-02-23 13:57:59 +0000.182124][3a8c] CpuOverloadDetect time:11075034
enter.

[000:040] [2023-02-23 13:57:59 +0000.182181][3a8c] CpuOverloadDetect leave. expire


time = 0 ms

[000:040] [2023-02-23 13:57:59 +0000.182201][7297] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7256af7500
[000:041] [2023-02-23 13:57:59 +0000.182443][3a8c] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:041] [2023-02-23 13:57:59 +0000.182460][3a8c] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:041] [2023-02-23 13:57:59 +0000.182675][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:042] [2023-02-23 13:57:59 +0000.183929][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:042] [2023-02-23 13:57:59 +0000.184120][3a8c] CreatePlatformSpecificObjects:
[000:042] [2023-02-23 13:57:59 +0000.184145][3a8c] audio device use opensle input
and opensl output
[000:042] [2023-02-23 13:57:59 +0000.184168][3a8c] Create OpenSLES output module
with java VM support.

[000:042] [2023-02-23 13:57:59 +0000.184223][3a8c] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:042] [2023-02-23 13:57:59 +0000.184308][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:043] [2023-02-23 13:57:59 +0000.184398][3a8c] Create OpenSLES output module
with buffer num:1

[000:043] [2023-02-23 13:57:59 +0000.184468][3a8c] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:043] [2023-02-23 13:57:59 +0000.184540][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:043] [2023-02-23 13:57:59 +0000.184617][3a8c] Create OpenSLES input module
with java VM support.

[000:043] [2023-02-23 13:57:59 +0000.184640][3a8c] Create OpenSLES input module


with buffer num:1

[000:043] [2023-02-23 13:57:59 +0000.184684][3a8c] Error(trace.cc:40): Init the


output and input for audio device template.
[000:043] [2023-02-23 13:57:59 +0000.184702][3a8c] Init the output device.

[000:043] [2023-02-23 13:57:59 +0000.184713][3a8c] Init the opensl input.


[000:043] [2023-02-23 13:57:59 +0000.184735][3a8c] AppDeviceManager get setting
samplerate: 0
[000:043] [2023-02-23 13:57:59 +0000.184882][3a8c] The device model: m2012k11ag
enum value: 0
[000:043] [2023-02-23 13:57:59 +0000.185127][3a8c] The device model: m2012k11ag
enum value: 0
[000:043] [2023-02-23 13:57:59 +0000.185143][3a8c] Set the sample rate to be:48000

[000:043] [2023-02-23 13:57:59 +0000.185154][3a8c] Enable the recording stereo:0


[000:043] [2023-02-23 13:57:59 +0000.185173][3a8c] Set the playout as stereo:1
[000:043] [2023-02-23 13:57:59 +0000.185183][3a8c] Init the microphone.
[000:045] [2023-02-23 13:57:59 +0000.186433][3a8c] Update the recording sample rate
to be: 48000
[000:045] [2023-02-23 13:57:59 +0000.186469][3a8c] Init the speaker.
[000:045] [2023-02-23 13:57:59 +0000.186511][3a8c] Low latency buffer size:144 low
sample rate:48000
[000:045] [2023-02-23 13:57:59 +0000.186755][3a8c] Using 1 x 10ms for an audio
frame.

[000:048] [2023-02-23 13:57:59 +0000.189676][3a8c] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:048] [2023-02-23 13:57:59 +0000.189746][3a8c] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:048] [2023-02-23 13:57:59 +0000.189779][3a8c] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:052] [2023-02-23 13:57:59 +0000.194027][3a8c] The device model:m2012k11ag

[000:052] [2023-02-23 13:57:59 +0000.194083][3a8c] speaker output factor:100


defaultFactor: 100

[000:052] [2023-02-23 13:57:59 +0000.194102][3a8c] headset output factor:100


defaultFactor: 100

[000:053] [2023-02-23 13:57:59 +0000.194397][3a8c] AppDeviceManagerStart finished.


[000:053] [2023-02-23 13:57:59 +0000.194430][3a8c] AppDeviceManagerStartMic::mic
status is off
[000:053] [2023-02-23 13:57:59 +0000.194478][3a8c] AppDeviceManagerStartMic update
aec type: 2

[000:053] [2023-02-23 13:57:59 +0000.194503][3a8c] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:053] [2023-02-23 13:57:59 +0000.194517][3a8c]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:053] [2023-02-23 13:57:59 +0000.194546][3a8c]
AudioDeviceDataHandler::StartMicProcess

[000:053] [2023-02-23 13:57:59 +0000.194642][3a8c] Try to start webrtc recording


device.

[000:053] [2023-02-23 13:57:59 +0000.194667][3a8c] StartRecording. threadID:14988

[000:053] [2023-02-23 13:57:59 +0000.194693][7298] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:053] [2023-02-23 13:57:59 +0000.194760][7298] haveEnoughProcessedData
internalAudioStream.length: 0
[000:053] [2023-02-23 13:57:59 +0000.194889][3a8c] The machine model:M2012K11AG

[000:053] [2023-02-23 13:57:59 +0000.194930][3a8c] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:053] [2023-02-23 13:57:59 +0000.194952][3a8c] Set the recording mode before


getSetting: 4
[000:053] [2023-02-23 13:57:59 +0000.194990][3a8c] Set the recording mode after
getSetting: 1
[000:083] [2023-02-23 13:57:59 +0000.224380][3a8c] StartRecording finished.

[000:083] [2023-02-23 13:57:59 +0000.224431][3a8c] audio: start the audio mic


checker timer.

[000:083] [2023-02-23 13:57:59 +0000.224688][3a8c] machine model :poco


[000:083] [2023-02-23 13:57:59 +0000.224711][3a8c] Support this machine model :poco
[000:085] [2023-02-23 13:57:59 +0000.227025][3a8c] global inited! current sdk
version: 07-20-936c45f
[000:167] [2023-02-23 13:57:59 +0000.308611][7299] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:167] [2023-02-23 13:57:59 +0000.308682][7299] _deviceSampleRate:48000

[000:171] [2023-02-23 13:57:59 +0000.312403][7298] Run AGC when audioType = 0


[000:171] [2023-02-23 13:57:59 +0000.312467][7298]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:332] [2023-02-23 13:57:59 +0000.473467][3cba]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:332] [2023-02-23 13:57:59 +0000.473654][7294] MediaFilterCamera, recording
file context:0x726af74200 input texture:16
[000:332] [2023-02-23 13:57:59 +0000.473712][7294] GLESContext:
[000:332] [2023-02-23 13:57:59 +0000.473834][7294] The result of eglGetDisplay is:
0xb4000073f5d728c0
[000:333] [2023-02-23 13:57:59 +0000.474553][7294] The result of creation:
0x724deff600
[000:333] [2023-02-23 13:57:59 +0000.474624][7294] The result of
eglCreatePbufferSurface is: 0x724deff700
[000:333] [2023-02-23 13:57:59 +0000.474701][3cba]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x726af74200 input_texture: 16
[001:793] [2023-02-23 13:58:00 +0000.934453][7298] haveEnoughProcessedData
internalAudioStream.length: 10
[002:173] [2023-02-23 13:58:01 +0000.314955][7298] Run AGC when audioType = 0
[003:511] [2023-02-23 13:58:02 +0000.652535][7298] haveEnoughProcessedData
internalAudioStream.length: 20
[004:087] [2023-02-23 13:58:03 +0000.228707][728f]
monitorTime:4004totalDuration:3920
[004:170] [2023-02-23 13:58:03 +0000.312097][7298] Run AGC when audioType = 0
[004:170] [2023-02-23 13:58:03 +0000.312317][7298]
AudioDeviceDataHandler::MixAndSendOutFrame
[005:225] [2023-02-23 13:58:04 +0000.366664][7298] haveEnoughProcessedData
internalAudioStream.length: 0
[006:172] [2023-02-23 13:58:05 +0000.313851][7298] Run AGC when audioType = 0
[006:941] [2023-02-23 13:58:06 +0000.82409][7298] haveEnoughProcessedData
internalAudioStream.length: 0
[008:173] [2023-02-23 13:58:07 +0000.314492][7298] Run AGC when audioType = 0
[008:173] [2023-02-23 13:58:07 +0000.314693][7298]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:649] [2023-02-23 13:58:07 +0000.790529][7298] haveEnoughProcessedData
internalAudioStream.length: 0
[010:168] [2023-02-23 13:58:09 +0000.309548][7299] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:168] [2023-02-23 13:58:09 +0000.309743][7299] _deviceSampleRate:48000

[010:170] [2023-02-23 13:58:09 +0000.311707][7298] Run AGC when audioType = 0


[010:372] [2023-02-23 13:58:09 +0000.514114][7298] haveEnoughProcessedData
internalAudioStream.length: 0
[012:093] [2023-02-23 13:58:11 +0000.235255][7298] haveEnoughProcessedData
internalAudioStream.length: 0
[012:171] [2023-02-23 13:58:11 +0000.312995][7298] Run AGC when audioType = 0
[012:171] [2023-02-23 13:58:11 +0000.313208][7298]
AudioDeviceDataHandler::MixAndSendOutFrame
[013:812] [2023-02-23 13:58:12 +0000.954283][7298] haveEnoughProcessedData
internalAudioStream.length: 20
[014:169] [2023-02-23 13:58:13 +0000.310481][7298] Run AGC when audioType = 0
[015:520] [2023-02-23 13:58:14 +0000.661510][7298] haveEnoughProcessedData
internalAudioStream.length: 0
[016:169] [2023-02-23 13:58:15 +0000.310382][7298] Run AGC when audioType = 0
[016:169] [2023-02-23 13:58:15 +0000.310577][7298]
AudioDeviceDataHandler::MixAndSendOutFrame
[017:234] [2023-02-23 13:58:16 +0000.375526][7298] haveEnoughProcessedData
internalAudioStream.length: 0
[018:168] [2023-02-23 13:58:17 +0000.310265][7298] Run AGC when audioType = 0
[018:953] [2023-02-23 13:58:18 +0000.94976][7298] haveEnoughProcessedData
internalAudioStream.length: 10
[020:168] [2023-02-23 13:58:19 +0000.309635][7299] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:168] [2023-02-23 13:58:19 +0000.309827][7299] _deviceSampleRate:48000

[020:169] [2023-02-23 13:58:19 +0000.310941][7298] Run AGC when audioType = 0


[020:169] [2023-02-23 13:58:19 +0000.311111][7298]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:673] [2023-02-23 13:58:19 +0000.814961][7298] haveEnoughProcessedData
internalAudioStream.length: 20
[022:170] [2023-02-23 13:58:21 +0000.312295][7298] Run AGC when audioType = 0
[022:389] [2023-02-23 13:58:21 +0000.530439][7298] haveEnoughProcessedData
internalAudioStream.length: 10
[024:101] [2023-02-23 13:58:23 +0000.242949][7298] haveEnoughProcessedData
internalAudioStream.length: 0
[024:170] [2023-02-23 13:58:23 +0000.311627][7298] Run AGC when audioType = 0
[024:170] [2023-02-23 13:58:23 +0000.312548][7298]
AudioDeviceDataHandler::MixAndSendOutFrame
[025:809] [2023-02-23 13:58:24 +0000.950671][7298] haveEnoughProcessedData
internalAudioStream.length: 0
[026:171] [2023-02-23 13:58:25 +0000.313061][7298] Run AGC when audioType = 0
[027:532] [2023-02-23 13:58:26 +0000.673911][7298] haveEnoughProcessedData
internalAudioStream.length: 10
[028:171] [2023-02-23 13:58:27 +0000.312809][7298] Run AGC when audioType = 0
[028:171] [2023-02-23 13:58:27 +0000.313081][7298]
AudioDeviceDataHandler::MixAndSendOutFrame
[029:249] [2023-02-23 13:58:28 +0000.391189][7298] haveEnoughProcessedData
internalAudioStream.length: 20
[030:168] [2023-02-23 13:58:29 +0000.309623][7299] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[030:168] [2023-02-23 13:58:29 +0000.309816][7299] _deviceSampleRate:48000

[030:169] [2023-02-23 13:58:29 +0000.310905][7298] Run AGC when audioType = 0


[030:969] [2023-02-23 13:58:30 +0000.110658][7298] haveEnoughProcessedData
internalAudioStream.length: 20
[032:171] [2023-02-23 13:58:31 +0000.313059][7298] Run AGC when audioType = 0
[032:174] [2023-02-23 13:58:31 +0000.315668][7298]
AudioDeviceDataHandler::MixAndSendOutFrame
[032:574] [2023-02-23 13:58:31 +0000.716297][3a8c]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[032:575] [2023-02-23 13:58:31 +0000.716397][3a8c] ~MediaFilterCamera time:11107569
enter.

[032:575] [2023-02-23 13:58:31 +0000.716438][3a8c] StopPullFrameAndWriteMp4


time:11107569 enter.

[032:575] [2023-02-23 13:58:31 +0000.716658][7293] stop recording


[032:575] [2023-02-23 13:58:31 +0000.716735][7293] we have stopped recording before
[032:575] [2023-02-23 13:58:31 +0000.716809][3a8c] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[032:575] [2023-02-23 13:58:31 +0000.717051][3a8c] DestroyPipelineAndFilters


time:11107569 enter.

[032:575] [2023-02-23 13:58:31 +0000.717071][3a8c] DestroyPipelineAndFilters


leave. expire time = 0 ms

[032:575] [2023-02-23 13:58:31 +0000.717087][3a8c] AppDeviceManagerStopMic


[032:575] [2023-02-23 13:58:31 +0000.717111][3a8c] AppDeviceManagerStopMic::mic
status is on
[032:575] [2023-02-23 13:58:31 +0000.717126][3a8c] Try to stop webrtc device.

[032:575] [2023-02-23 13:58:31 +0000.717144][3a8c] Set record state to


stopped.threadID:14988

[032:624] [2023-02-23 13:58:31 +0000.765841][3a8c] Try to destory the


recorder.threadID:14988

[032:735] [2023-02-23 13:58:31 +0000.876938][7298] haveEnoughProcessedData


internalAudioStream.length: 0
[032:824] [2023-02-23 13:58:31 +0000.966089][3a8c] DestroyAudioRecorder:
[032:824] [2023-02-23 13:58:31 +0000.966164][3a8c] Cleanup the buffer queue in the
recorder.
[032:824] [2023-02-23 13:58:31 +0000.966186][3a8c] Destroy the recorder.

[032:825] [2023-02-23 13:58:31 +0000.967038][3a8c] StopRecording finished.

[032:825] [2023-02-23 13:58:31 +0000.967079][3a8c] The stop recording success.

[032:825] [2023-02-23 13:58:31 +0000.967093][3a8c]


AudioDeviceDataHandler::StopMicProcess

[032:827] [2023-02-23 13:58:31 +0000.968378][3a8c] AppDeviceManager stop.

[032:827] [2023-02-23 13:58:31 +0000.968450][3a8c] Rlease the webrtc device object.

[032:827] [2023-02-23 13:58:31 +0000.969099][3a8c] OpenSlesInput destruct.

[032:827] [2023-02-23 13:58:31 +0000.969148][3a8c] OpenSlesOutput destruct.

[032:829] [2023-02-23 13:58:31 +0000.970520][3a8c] EventDispatchServerScope


destruct
[032:829] [2023-02-23 13:58:31 +0000.970573][3a8c]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[032:829] [2023-02-23 13:58:31 +0000.970612][3a8c] ~AudioDeviceDataHandler

[032:830] [2023-02-23 13:58:31 +0000.972158][3a8c] AppDeviceManagerDestruct.

[032:830] [2023-02-23 13:58:31 +0000.972200][3a8c] ~AppDeviceManager:


[032:830] [2023-02-23 13:58:31 +0000.972238][3a8c] ~CpuOverloadDetect time:11107824
enter.

[032:831] [2023-02-23 13:58:31 +0000.972546][3a8c] ~CpuOverloadDetect leave.


expire time = 1 ms

[032:832] [2023-02-23 13:58:31 +0000.973807][3a8c] Destruct BeautifyReader begin...


[032:832] [2023-02-23 13:58:31 +0000.973860][3a8c] Destruct BeautifyReader done.
[032:832] [2023-02-23 13:58:31 +0000.973918][3a8c] ~MediaFilterCamera leave.
expire time = 257 ms

[032:832] [2023-02-23 13:58:31 +0000.974016][3a8c] ~GLESContext:


[032:833] [2023-02-23 13:58:31 +0000.974471][3a8c] GLESContext destruct finish.
[032:833] [2023-02-23 13:58:31 +0000.974509][3a8c] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[032:833] [2023-02-23 13:58:31 +0000.974769][3a8c] global uninited!
[032:836] [2023-02-23 13:58:31 +0000.978037][3a8c] clear AppID 50011
[032:836] [2023-02-23 13:58:31 +0000.978129][3a8c] UnRegister JVM for Xplatform
util
[032:836] [2023-02-23 13:58:31 +0000.978153][3a8c] Dispose::unregister webrtc video
engine
[032:836] [2023-02-23 13:58:31 +0000.978195][3a8c] Init the android object with
jvm:0x0 env:0x0 context:0x0

[032:836] [2023-02-23 13:58:31 +0000.978215][3a8c] SetAndroidMediaCodecObjects


time:11107830 enter.

[032:836] [2023-02-23 13:58:31 +0000.978253][3a8c] ClearAndroidMediaCodecObjects


time:11107830 enter.

[032:836] [2023-02-23 13:58:31 +0000.978281][3a8c] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[032:837] [2023-02-23 13:58:31 +0000.978469][3a8c] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[032:837] [2023-02-23 13:58:31 +0000.978485][3a8c] SetAndroidMediaCodecObjects


time:11107831 enter.

[032:837] [2023-02-23 13:58:31 +0000.978497][3a8c] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[032:837] [2023-02-23 13:58:31 +0000.978576][3a8c] ClearAndroidMediaCodecObjects
time:11107831 enter.

[032:837] [2023-02-23 13:58:31 +0000.978597][3a8c] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[032:837] [2023-02-23 13:58:31 +0000.978639][3a8c] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[032:837] [2023-02-23 13:58:31 +0000.978655][3a8c] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[032:837] [2023-02-23 13:58:31 +0000.978667][3a8c] Dispose::unregister webrtc voice


engine
[032:837] [2023-02-23 13:58:31 +0000.978692][3a8c] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[032:837] [2023-02-23 13:58:31 +0000.978705][3a8c] SystemUtil UnInit done


[697:582] [2023-02-23 14:09:36 +0000.723691][3a8c] Register JVM for xplatform util
[697:585] [2023-02-23 14:09:36 +0000.726922][3a8c] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-02-
23 14:09:36 +0000
[697:585] [2023-02-23 14:09:36 +0000.726956][3a8c] set AppID=50011 old AppID=-1
[697:585] [2023-02-23 14:09:36 +0000.726992][3a8c] Init the android object with
jvm:0xb4000073f5c80380 env:0x73f5d75e80 context:0x72c8adf808

[697:585] [2023-02-23 14:09:36 +0000.727021][3a8c] SetAndroidMediaCodecObjects


time:11772579 enter.

[697:585] [2023-02-23 14:09:36 +0000.727049][3a8c] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[697:585] [2023-02-23 14:09:36 +0000.727073][3a8c] SetAndroidMediaCodecObjects


time:11772579 enter.

[697:585] [2023-02-23 14:09:36 +0000.727088][3a8c] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000073f5c80380
[697:585] [2023-02-23 14:09:36 +0000.727113][3a8c] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000073f5c80380 address:0x7219acb760
[697:585] [2023-02-23 14:09:36 +0000.727140][3a8c] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000073f5c80380
address:0x7219acb760
[697:585] [2023-02-23 14:09:36 +0000.727167][3a8c] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[697:585] [2023-02-23 14:09:36 +0000.727193][3a8c] Set the android objects with


jvm:0xb4000073f5c80380 env:0x73f5d75e80 context:0x72c8adf808

[697:585] [2023-02-23 14:09:36 +0000.727220][3a8c] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x73f5d75e80
[697:585] [2023-02-23 14:09:36 +0000.727247][3a8c] SystemUtil Init done
[697:586] [2023-02-23 14:09:36 +0000.727494][3a8c]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[697:586] [2023-02-23 14:09:36 +0000.727587][3a8c] MediaFilterCamera
[697:586] [2023-02-23 14:09:36 +0000.727619][3a8c] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[697:586] [2023-02-23 14:09:36 +0000.727710][3a8c] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[697:586] [2023-02-23 14:09:36 +0000.727737][3a8c] Recording session using default
bitrate support by app:31457280
[697:586] [2023-02-23 14:09:36 +0000.727738][fd3] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x725c6089c0
[697:586] [2023-02-23 14:09:36 +0000.727917][fd3] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[697:586] [2023-02-23 14:09:36 +0000.727963][3a8c] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[697:587] [2023-02-23 14:09:36 +0000.728494][3a8c] Error(ini.cc:191): Open the file
failed. error:2
[697:587] [2023-02-23 14:09:36 +0000.728521][3a8c]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[697:587] [2023-02-23 14:09:36 +0000.728549][3a8c] The device model: m2012k11ag
usingSoftwareAEC value: 0
[697:588] [2023-02-23 14:09:36 +0000.729761][3a8c] Error(ini.cc:191): Open the file
failed. error:2
[697:588] [2023-02-23 14:09:36 +0000.729795][3a8c]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[697:588] [2023-02-23 14:09:36 +0000.729838][3a8c] The device model: m2012k11ag
usingHardwareAEC value: 0
[697:588] [2023-02-23 14:09:36 +0000.729862][3a8c] The machine device: m2012k11ag
usingHardwareAEC value: 0
[697:588] [2023-02-23 14:09:36 +0000.729889][3a8c] Using Default AEC type: software
AEC
[697:589] [2023-02-23 14:09:36 +0000.730609][3a8c] The device model: m2012k11ag
enum value: 0
[697:589] [2023-02-23 14:09:36 +0000.730860][3a8c] GetMachineModel is M2012K11AG
[697:589] [2023-02-23 14:09:36 +0000.730885][3a8c] GetMachineInfo: M2012K11AG
[697:589] [2023-02-23 14:09:36 +0000.730899][3a8c] Construct BeautifyReader
begin...
[697:589] [2023-02-23 14:09:36 +0000.730920][3a8c] dumpStickerRgba:0
dumpStickerYuv:0
[697:589] [2023-02-23 14:09:36 +0000.730945][3a8c] Construct BeautifyReader done.
[697:591] [2023-02-23 14:09:36 +0000.732607][3a8c] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[697:591] [2023-02-23 14:09:36 +0000.732628][fd7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7244f297a0
[697:591] [2023-02-23 14:09:36 +0000.732669][3a8c] AppDeviceManager telnet server
for statistics started......
[697:591] [2023-02-23 14:09:36 +0000.733027][3a8c] CpuOverloadDetect time:11772585
enter.

[697:591] [2023-02-23 14:09:36 +0000.733086][3a8c] CpuOverloadDetect leave. expire


time = 0 ms

[697:591] [2023-02-23 14:09:36 +0000.733101][fd8] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7326c923c0
[697:592] [2023-02-23 14:09:36 +0000.733434][3a8c] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[697:592] [2023-02-23 14:09:36 +0000.733459][3a8c] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[697:592] [2023-02-23 14:09:36 +0000.733582][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[697:592] [2023-02-23 14:09:36 +0000.733861][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[697:592] [2023-02-23 14:09:36 +0000.734009][3a8c] CreatePlatformSpecificObjects:
[697:592] [2023-02-23 14:09:36 +0000.734039][3a8c] audio device use opensle input
and opensl output
[697:592] [2023-02-23 14:09:36 +0000.734070][3a8c] Create OpenSLES output module
with java VM support.

[697:592] [2023-02-23 14:09:36 +0000.734131][3a8c] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[697:592] [2023-02-23 14:09:36 +0000.734238][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[697:593] [2023-02-23 14:09:36 +0000.734352][3a8c] Create OpenSLES output module
with buffer num:1

[697:593] [2023-02-23 14:09:36 +0000.734414][3a8c] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[697:593] [2023-02-23 14:09:36 +0000.734516][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[697:593] [2023-02-23 14:09:36 +0000.734626][3a8c] Create OpenSLES input module
with java VM support.

[697:593] [2023-02-23 14:09:36 +0000.734659][3a8c] Create OpenSLES input module


with buffer num:1

[697:593] [2023-02-23 14:09:36 +0000.734695][3a8c] Error(trace.cc:40): Init the


output and input for audio device template.
[697:593] [2023-02-23 14:09:36 +0000.734718][3a8c] Init the output device.

[697:593] [2023-02-23 14:09:36 +0000.734731][3a8c] Init the opensl input.


[697:593] [2023-02-23 14:09:36 +0000.734750][3a8c] AppDeviceManager get setting
samplerate: 0
[697:593] [2023-02-23 14:09:36 +0000.734958][3a8c] The device model: m2012k11ag
enum value: 0
[697:593] [2023-02-23 14:09:36 +0000.735286][3a8c] The device model: m2012k11ag
enum value: 0
[697:593] [2023-02-23 14:09:36 +0000.735311][3a8c] Set the sample rate to be:48000

[697:594] [2023-02-23 14:09:36 +0000.735361][3a8c] Enable the recording stereo:0


[697:594] [2023-02-23 14:09:36 +0000.735396][3a8c] Set the playout as stereo:1
[697:594] [2023-02-23 14:09:36 +0000.735411][3a8c] Init the microphone.
[697:594] [2023-02-23 14:09:36 +0000.735741][3a8c] Update the recording sample rate
to be: 48000
[697:594] [2023-02-23 14:09:36 +0000.735771][3a8c] Init the speaker.
[697:594] [2023-02-23 14:09:36 +0000.735794][3a8c] Low latency buffer size:144 low
sample rate:48000
[697:594] [2023-02-23 14:09:36 +0000.735982][3a8c] Using 1 x 10ms for an audio
frame.

[697:597] [2023-02-23 14:09:36 +0000.739042][3a8c] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[697:597] [2023-02-23 14:09:36 +0000.739109][3a8c] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[697:597] [2023-02-23 14:09:36 +0000.739144][3a8c] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[697:601] [2023-02-23 14:09:36 +0000.743102][3a8c] The device model:m2012k11ag

[697:601] [2023-02-23 14:09:36 +0000.743150][3a8c] speaker output factor:100


defaultFactor: 100

[697:601] [2023-02-23 14:09:36 +0000.743165][3a8c] headset output factor:100


defaultFactor: 100

[697:602] [2023-02-23 14:09:36 +0000.743432][3a8c] AppDeviceManagerStart finished.


[697:602] [2023-02-23 14:09:36 +0000.743456][3a8c] AppDeviceManagerStartMic::mic
status is off
[697:602] [2023-02-23 14:09:36 +0000.743498][3a8c] AppDeviceManagerStartMic update
aec type: 2

[697:602] [2023-02-23 14:09:36 +0000.743518][3a8c] AppDeviceManagerStartMic update


voiceChangeMode: 4

[697:602] [2023-02-23 14:09:36 +0000.743532][3a8c]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[697:602] [2023-02-23 14:09:36 +0000.743549][3a8c]
AudioDeviceDataHandler::StartMicProcess

[697:602] [2023-02-23 14:09:36 +0000.743642][3a8c] Try to start webrtc recording


device.

[697:602] [2023-02-23 14:09:36 +0000.743666][3a8c] StartRecording. threadID:14988

[697:602] [2023-02-23 14:09:36 +0000.743667][fda] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[697:602] [2023-02-23 14:09:36 +0000.743713][3a8c] default mode: Set the recording
mode to voice communication to enable HW AEC .

[697:602] [2023-02-23 14:09:36 +0000.743735][3a8c] Set the recording mode before


getSetting: 4
[697:602] [2023-02-23 14:09:36 +0000.743766][3a8c] Set the recording mode after
getSetting: 1
[697:625] [2023-02-23 14:09:36 +0000.767114][3a8c] StartRecording finished.

[697:625] [2023-02-23 14:09:36 +0000.767154][3a8c] audio: start the audio mic


checker timer.

[697:626] [2023-02-23 14:09:36 +0000.768092][3a8c] machine model :poco


[697:626] [2023-02-23 14:09:36 +0000.768127][3a8c] Support this machine model :poco
[697:626] [2023-02-23 14:09:36 +0000.768142][3a8c] global inited! current sdk
version: 07-20-936c45f
[697:843] [2023-02-23 14:09:36 +0000.984905][3cba]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[697:843] [2023-02-23 14:09:36 +0000.985096][fd5] MediaFilterCamera, recording file
context:0x726af74200 input texture:21
[697:843] [2023-02-23 14:09:36 +0000.985167][fd5] GLESContext:
[697:843] [2023-02-23 14:09:36 +0000.985216][fd5] The result of eglGetDisplay is:
0xb4000073f5d728c0
[697:844] [2023-02-23 14:09:36 +0000.986062][fd5] The result of creation:
0x7256b82180
[697:844] [2023-02-23 14:09:36 +0000.986167][fd5] The result of
eglCreatePbufferSurface is: 0x724deff800
[697:844] [2023-02-23 14:09:36 +0000.986264][3cba]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x726af74200 input_texture: 21
[699:273] [2023-02-23 14:09:38 +0000.415292][fda] haveEnoughProcessedData
internalAudioStream.length: 0
[699:289] [2023-02-23 14:09:38 +0000.430948][fda] Run AGC when audioType = 0
[700:988] [2023-02-23 14:09:40 +0000.130067][fda] haveEnoughProcessedData
internalAudioStream.length: 10
[701:288] [2023-02-23 14:09:40 +0000.429423][fda] Run AGC when audioType = 0
[701:288] [2023-02-23 14:09:40 +0000.429618][fda]
AudioDeviceDataHandler::MixAndSendOutFrame
[701:629] [2023-02-23 14:09:40 +0000.770695][728f]
monitorTime:4004totalDuration:3940
[702:710] [2023-02-23 14:09:41 +0000.851583][fda] haveEnoughProcessedData
internalAudioStream.length: 20
[703:287] [2023-02-23 14:09:42 +0000.428741][fda] Run AGC when audioType = 0
[704:426] [2023-02-23 14:09:43 +0000.568067][fda] haveEnoughProcessedData
internalAudioStream.length: 20
[705:285] [2023-02-23 14:09:44 +0000.426851][fdb] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[705:285] [2023-02-23 14:09:44 +0000.427027][fdb] _deviceSampleRate:48000

[705:289] [2023-02-23 14:09:44 +0000.431265][fda] Run AGC when audioType = 0


[705:290] [2023-02-23 14:09:44 +0000.431542][fda]
AudioDeviceDataHandler::MixAndSendOutFrame
[706:148] [2023-02-23 14:09:45 +0000.289789][fda] haveEnoughProcessedData
internalAudioStream.length: 20
[706:354] [2023-02-23 14:09:45 +0000.495949][3a8c]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[706:354] [2023-02-23 14:09:45 +0000.496188][3a8c] ~MediaFilterCamera time:11781348
enter.

[706:354] [2023-02-23 14:09:45 +0000.496245][3a8c] StopPullFrameAndWriteMp4


time:11781348 enter.

[706:355] [2023-02-23 14:09:45 +0000.497022][fd3] stop recording


[706:355] [2023-02-23 14:09:45 +0000.497104][fd3] we have stopped recording before
[706:355] [2023-02-23 14:09:45 +0000.497292][3a8c] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[706:358] [2023-02-23 14:09:45 +0000.499803][3a8c] DestroyPipelineAndFilters


time:11781352 enter.

[706:358] [2023-02-23 14:09:45 +0000.499932][3a8c] DestroyPipelineAndFilters


leave. expire time = 0 ms

[706:358] [2023-02-23 14:09:45 +0000.499976][3a8c] AppDeviceManagerStopMic


[706:358] [2023-02-23 14:09:45 +0000.500065][3a8c] AppDeviceManagerStopMic::mic
status is on
[706:358] [2023-02-23 14:09:45 +0000.500102][3a8c] Try to stop webrtc device.

[706:358] [2023-02-23 14:09:45 +0000.500138][3a8c] Set record state to


stopped.threadID:14988

[706:405] [2023-02-23 14:09:45 +0000.547306][3a8c] Try to destory the


recorder.threadID:14988

[706:631] [2023-02-23 14:09:45 +0000.772512][3a8c] DestroyAudioRecorder:


[706:631] [2023-02-23 14:09:45 +0000.772682][3a8c] Cleanup the buffer queue in the
recorder.
[706:631] [2023-02-23 14:09:45 +0000.772768][3a8c] Destroy the recorder.

[706:633] [2023-02-23 14:09:45 +0000.775004][3a8c] StopRecording finished.

[706:633] [2023-02-23 14:09:45 +0000.775212][3a8c] The stop recording success.

[706:633] [2023-02-23 14:09:45 +0000.775284][3a8c]


AudioDeviceDataHandler::StopMicProcess

[706:636] [2023-02-23 14:09:45 +0000.778217][3a8c] AppDeviceManager stop.

[706:637] [2023-02-23 14:09:45 +0000.778404][3a8c] Rlease the webrtc device object.

[706:637] [2023-02-23 14:09:45 +0000.779072][3a8c] OpenSlesInput destruct.

[706:637] [2023-02-23 14:09:45 +0000.779180][3a8c] OpenSlesOutput destruct.

[706:638] [2023-02-23 14:09:45 +0000.779842][3a8c] EventDispatchServerScope


destruct
[706:638] [2023-02-23 14:09:45 +0000.779925][3a8c]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[706:638] [2023-02-23 14:09:45 +0000.780020][3a8c] ~AudioDeviceDataHandler

[706:640] [2023-02-23 14:09:45 +0000.782331][3a8c] AppDeviceManagerDestruct.

[706:641] [2023-02-23 14:09:45 +0000.782411][3a8c] ~AppDeviceManager:


[706:641] [2023-02-23 14:09:45 +0000.782504][3a8c] ~CpuOverloadDetect time:11781635
enter.

[706:641] [2023-02-23 14:09:45 +0000.782800][3a8c] ~CpuOverloadDetect leave.


expire time = 0 ms

[706:642] [2023-02-23 14:09:45 +0000.784124][3a8c] Destruct BeautifyReader begin...


[706:642] [2023-02-23 14:09:45 +0000.784187][3a8c] Destruct BeautifyReader done.
[706:642] [2023-02-23 14:09:45 +0000.784247][3a8c] ~MediaFilterCamera leave.
expire time = 288 ms

[706:643] [2023-02-23 14:09:45 +0000.784450][3a8c] ~GLESContext:


[706:646] [2023-02-23 14:09:45 +0000.787886][3a8c] GLESContext destruct finish.
[706:646] [2023-02-23 14:09:45 +0000.787967][3a8c] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[706:647] [2023-02-23 14:09:45 +0000.788345][3a8c] global uninited!
[706:647] [2023-02-23 14:09:45 +0000.788745][3a8c] clear AppID 50011
[706:647] [2023-02-23 14:09:45 +0000.788803][3a8c] UnRegister JVM for Xplatform
util
[706:647] [2023-02-23 14:09:45 +0000.788854][3a8c] Dispose::unregister webrtc video
engine
[706:647] [2023-02-23 14:09:45 +0000.788901][3a8c] Init the android object with
jvm:0x0 env:0x0 context:0x0

[706:647] [2023-02-23 14:09:45 +0000.788956][3a8c] SetAndroidMediaCodecObjects


time:11781641 enter.

[706:647] [2023-02-23 14:09:45 +0000.789004][3a8c] ClearAndroidMediaCodecObjects


time:11781641 enter.

[706:647] [2023-02-23 14:09:45 +0000.789056][3a8c] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[706:647] [2023-02-23 14:09:45 +0000.789105][3a8c] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[706:647] [2023-02-23 14:09:45 +0000.789154][3a8c] SetAndroidMediaCodecObjects


time:11781641 enter.

[706:647] [2023-02-23 14:09:45 +0000.789203][3a8c] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[706:647] [2023-02-23 14:09:45 +0000.789250][3a8c] ClearAndroidMediaCodecObjects
time:11781641 enter.

[706:647] [2023-02-23 14:09:45 +0000.789298][3a8c] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[706:648] [2023-02-23 14:09:45 +0000.789394][3a8c] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[706:648] [2023-02-23 14:09:45 +0000.789445][3a8c] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[706:648] [2023-02-23 14:09:45 +0000.789494][3a8c] Dispose::unregister webrtc voice


engine
[706:648] [2023-02-23 14:09:45 +0000.789541][3a8c] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[706:648] [2023-02-23 14:09:45 +0000.789593][3a8c] SystemUtil UnInit done


[1542:952] [2023-02-23 14:23:42 +0000.94215][3a8c] Register JVM for xplatform util
[1542:957] [2023-02-23 14:23:42 +0000.98521][3a8c] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-02-
23 14:23:42 +0000
[1542:957] [2023-02-23 14:23:42 +0000.98628][3a8c] set AppID=50011 old AppID=-1
[1542:957] [2023-02-23 14:23:42 +0000.98663][3a8c] Init the android object with
jvm:0xb4000073f5c80380 env:0x73f5d75e80 context:0x72c8adf808

[1542:957] [2023-02-23 14:23:42 +0000.98705][3a8c] SetAndroidMediaCodecObjects


time:12617951 enter.

[1542:957] [2023-02-23 14:23:42 +0000.98775][3a8c] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1542:957] [2023-02-23 14:23:42 +0000.98793][3a8c] SetAndroidMediaCodecObjects


time:12617951 enter.

[1542:957] [2023-02-23 14:23:42 +0000.98807][3a8c] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000073f5c80380
[1542:957] [2023-02-23 14:23:42 +0000.98825][3a8c] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000073f5c80380 address:0x7219acb760
[1542:957] [2023-02-23 14:23:42 +0000.98841][3a8c] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000073f5c80380
address:0x7219acb760
[1542:957] [2023-02-23 14:23:42 +0000.98856][3a8c] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1542:957] [2023-02-23 14:23:42 +0000.98872][3a8c] Set the android objects with


jvm:0xb4000073f5c80380 env:0x73f5d75e80 context:0x72c8adf808

[1542:957] [2023-02-23 14:23:42 +0000.98889][3a8c] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x73f5d75e80
[1542:957] [2023-02-23 14:23:42 +0000.98907][3a8c] SystemUtil Init done
[1542:957] [2023-02-23 14:23:42 +0000.99296][3a8c]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[1542:958] [2023-02-23 14:23:42 +0000.99526][3a8c] MediaFilterCamera
[1542:958] [2023-02-23 14:23:42 +0000.99562][3a8c] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[1542:958] [2023-02-23 14:23:42 +0000.99661][3a8c] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1542:958] [2023-02-23 14:23:42 +0000.99693][3a8c] Recording session using default
bitrate support by app:31457280
[1542:958] [2023-02-23 14:23:42 +0000.99788][1473] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x725c6089c0
[1542:958] [2023-02-23 14:23:42 +0000.99871][1473] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1542:961] [2023-02-23 14:23:42 +0000.103233][3a8c] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1542:963] [2023-02-23 14:23:42 +0000.104594][3a8c] Error(ini.cc:191): Open the
file failed. error:2
[1542:963] [2023-02-23 14:23:42 +0000.104650][3a8c]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[1542:963] [2023-02-23 14:23:42 +0000.104671][3a8c] The device model: m2012k11ag
usingSoftwareAEC value: 0
[1542:965] [2023-02-23 14:23:42 +0000.106454][3a8c] Error(ini.cc:191): Open the
file failed. error:2
[1542:965] [2023-02-23 14:23:42 +0000.106504][3a8c]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[1542:965] [2023-02-23 14:23:42 +0000.106553][3a8c] The device model: m2012k11ag
usingHardwareAEC value: 0
[1542:965] [2023-02-23 14:23:42 +0000.106578][3a8c] The machine device: m2012k11ag
usingHardwareAEC value: 0
[1542:965] [2023-02-23 14:23:42 +0000.106616][3a8c] Using Default AEC type:
software AEC
[1542:966] [2023-02-23 14:23:42 +0000.107744][3a8c] The device model: m2012k11ag
enum value: 0
[1542:966] [2023-02-23 14:23:42 +0000.108077][3a8c] GetMachineModel is M2012K11AG
[1542:966] [2023-02-23 14:23:42 +0000.108102][3a8c] GetMachineInfo: M2012K11AG
[1542:966] [2023-02-23 14:23:42 +0000.108117][3a8c] Construct BeautifyReader
begin...
[1542:966] [2023-02-23 14:23:42 +0000.108131][3a8c] dumpStickerRgba:0
dumpStickerYuv:0
[1542:966] [2023-02-23 14:23:42 +0000.108144][3a8c] Construct BeautifyReader done.
[1542:968] [2023-02-23 14:23:42 +0000.110112][3a8c]
AppDeviceManagerStartCamera::The result of start thread is: 1 micOn:0
[1542:968] [2023-02-23 14:23:42 +0000.110134][1478] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7244f2c1a0
[1542:968] [2023-02-23 14:23:42 +0000.110175][3a8c] AppDeviceManager telnet server
for statistics started......
[1542:969] [2023-02-23 14:23:42 +0000.110569][3a8c] CpuOverloadDetect time:12617963
enter.

[1542:969] [2023-02-23 14:23:42 +0000.110635][3a8c] CpuOverloadDetect leave.


expire time = 0 ms

[1542:969] [2023-02-23 14:23:42 +0000.110649][1479] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7326c91cc0
[1542:970] [2023-02-23 14:23:42 +0000.111703][3a8c] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[1542:970] [2023-02-23 14:23:42 +0000.111731][3a8c] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[1542:970] [2023-02-23 14:23:42 +0000.111891][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1542:970] [2023-02-23 14:23:42 +0000.112141][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1542:970] [2023-02-23 14:23:42 +0000.112305][3a8c] CreatePlatformSpecificObjects:
[1542:971] [2023-02-23 14:23:42 +0000.112335][3a8c] audio device use opensle input
and opensl output
[1542:971] [2023-02-23 14:23:42 +0000.112373][3a8c] Create OpenSLES output module
with java VM support.

[1542:971] [2023-02-23 14:23:42 +0000.112452][3a8c] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1542:971] [2023-02-23 14:23:42 +0000.112560][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1542:971] [2023-02-23 14:23:42 +0000.112677][3a8c] Create OpenSLES output module
with buffer num:1

[1542:971] [2023-02-23 14:23:42 +0000.112767][3a8c] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1542:971] [2023-02-23 14:23:42 +0000.112871][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1542:973] [2023-02-23 14:23:42 +0000.114687][3a8c] Create OpenSLES input module
with java VM support.

[1542:973] [2023-02-23 14:23:42 +0000.114737][3a8c] Create OpenSLES input module


with buffer num:1

[1542:973] [2023-02-23 14:23:42 +0000.114783][3a8c] Error(trace.cc:40): Init the


output and input for audio device template.
[1542:973] [2023-02-23 14:23:42 +0000.114813][3a8c] Init the output device.

[1542:973] [2023-02-23 14:23:42 +0000.114828][3a8c] Init the opensl input.


[1542:973] [2023-02-23 14:23:42 +0000.114856][3a8c] AppDeviceManager get setting
samplerate: 0
[1542:973] [2023-02-23 14:23:42 +0000.115101][3a8c] The device model: m2012k11ag
enum value: 0
[1542:974] [2023-02-23 14:23:42 +0000.115486][3a8c] The device model: m2012k11ag
enum value: 0
[1542:974] [2023-02-23 14:23:42 +0000.115517][3a8c] Set the sample rate to be:48000

[1542:974] [2023-02-23 14:23:42 +0000.115536][3a8c] Enable the recording stereo:0


[1542:974] [2023-02-23 14:23:42 +0000.115562][3a8c] Set the playout as stereo:1
[1542:974] [2023-02-23 14:23:42 +0000.115599][3a8c] Init the microphone.
[1542:975] [2023-02-23 14:23:42 +0000.116609][3a8c] Update the recording sample
rate to be: 48000
[1542:975] [2023-02-23 14:23:42 +0000.116651][3a8c] Init the speaker.
[1542:975] [2023-02-23 14:23:42 +0000.116698][3a8c] Low latency buffer size:144 low
sample rate:48000
[1542:975] [2023-02-23 14:23:42 +0000.117030][3a8c] Using 1 x 10ms for an audio
frame.

[1542:978] [2023-02-23 14:23:42 +0000.119937][3a8c] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[1542:978] [2023-02-23 14:23:42 +0000.120004][3a8c] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1542:978] [2023-02-23 14:23:42 +0000.120038][3a8c] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1542:982] [2023-02-23 14:23:42 +0000.124083][3a8c] The device model:m2012k11ag

[1542:982] [2023-02-23 14:23:42 +0000.124127][3a8c] speaker output factor:100


defaultFactor: 100

[1542:982] [2023-02-23 14:23:42 +0000.124139][3a8c] headset output factor:100


defaultFactor: 100

[1542:983] [2023-02-23 14:23:42 +0000.124373][3a8c] AppDeviceManagerStart finished.


[1542:983] [2023-02-23 14:23:42 +0000.124393][3a8c] AppDeviceManagerStartMic::mic
status is off
[1542:983] [2023-02-23 14:23:42 +0000.124433][3a8c] AppDeviceManagerStartMic update
aec type: 2

[1542:983] [2023-02-23 14:23:42 +0000.124442][3a8c] AppDeviceManagerStartMic update


voiceChangeMode: 4

[1542:983] [2023-02-23 14:23:42 +0000.124452][3a8c]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[1542:983] [2023-02-23 14:23:42 +0000.124463][3a8c]
AudioDeviceDataHandler::StartMicProcess

[1542:983] [2023-02-23 14:23:42 +0000.124549][3a8c] Try to start webrtc recording


device.

[1542:983] [2023-02-23 14:23:42 +0000.124566][3a8c] StartRecording. threadID:14988

[1542:983] [2023-02-23 14:23:42 +0000.124599][3a8c] default mode: Set the recording


mode to voice communication to enable HW AEC .

[1542:983] [2023-02-23 14:23:42 +0000.124613][3a8c] Set the recording mode before


getSetting: 4
[1542:983] [2023-02-23 14:23:42 +0000.124626][3a8c] Set the recording mode after
getSetting: 1
[1542:983] [2023-02-23 14:23:42 +0000.124584][147a] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[1543:016] [2023-02-23 14:23:42 +0000.157863][3a8c] StartRecording finished.

[1543:016] [2023-02-23 14:23:42 +0000.157977][3a8c] audio: start the audio mic


checker timer.

[1543:016] [2023-02-23 14:23:42 +0000.158309][3a8c] machine model :poco


[1543:017] [2023-02-23 14:23:42 +0000.158404][3a8c] Support this machine
model :poco
[1543:017] [2023-02-23 14:23:42 +0000.158457][3a8c] global inited! current sdk
version: 07-20-936c45f
[1543:210] [2023-02-23 14:23:42 +0000.351566][3cba]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[1543:210] [2023-02-23 14:23:42 +0000.351678][1474] MediaFilterCamera, recording
file context:0x726af74200 input texture:23
[1543:210] [2023-02-23 14:23:42 +0000.351730][1474] GLESContext:
[1543:210] [2023-02-23 14:23:42 +0000.351776][1474] The result of eglGetDisplay is:
0xb4000073f5d728c0
[1543:211] [2023-02-23 14:23:42 +0000.352650][1474] The result of creation:
0x724defc880
[1543:211] [2023-02-23 14:23:42 +0000.352727][1474] The result of
eglCreatePbufferSurface is: 0x724defcc80
[1543:211] [2023-02-23 14:23:42 +0000.353151][3cba]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x726af74200 input_texture: 23
[1544:025] [2023-02-23 14:23:43 +0000.166509][147a] Run AGC when audioType = 0
[1544:330] [2023-02-23 14:23:43 +0000.472007][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1546:021] [2023-02-23 14:23:45 +0000.163205][147a] Run AGC when audioType = 0
[1546:022] [2023-02-23 14:23:45 +0000.163671][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1546:043] [2023-02-23 14:23:45 +0000.184937][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1547:020] [2023-02-23 14:23:46 +0000.161765][728f]
monitorTime:4004totalDuration:3940
[1547:765] [2023-02-23 14:23:46 +0000.907268][147a] haveEnoughProcessedData
internalAudioStream.length: 20
[1548:022] [2023-02-23 14:23:47 +0000.163824][147a] Run AGC when audioType = 0
[1549:484] [2023-02-23 14:23:48 +0000.626236][147a] haveEnoughProcessedData
internalAudioStream.length: 20
[1550:025] [2023-02-23 14:23:49 +0000.166360][147a] Run AGC when audioType = 0
[1550:025] [2023-02-23 14:23:49 +0000.166493][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1551:203] [2023-02-23 14:23:50 +0000.344655][147a] haveEnoughProcessedData
internalAudioStream.length: 10
[1552:020] [2023-02-23 14:23:51 +0000.162381][147b] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1552:021] [2023-02-23 14:23:51 +0000.162646][147b] _deviceSampleRate:48000

[1552:026] [2023-02-23 14:23:51 +0000.167449][147a] Run AGC when audioType = 0


[1552:921] [2023-02-23 14:23:52 +0000.63198][147a] haveEnoughProcessedData
internalAudioStream.length: 20
[1554:022] [2023-02-23 14:23:53 +0000.163769][147a] Run AGC when audioType = 0
[1554:022] [2023-02-23 14:23:53 +0000.164237][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1554:633] [2023-02-23 14:23:53 +0000.775129][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1556:023] [2023-02-23 14:23:55 +0000.165002][147a] Run AGC when audioType = 0
[1556:342] [2023-02-23 14:23:55 +0000.483620][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1558:021] [2023-02-23 14:23:57 +0000.162834][147a] Run AGC when audioType = 0
[1558:021] [2023-02-23 14:23:57 +0000.163150][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1558:063] [2023-02-23 14:23:57 +0000.205195][147a] haveEnoughProcessedData
internalAudioStream.length: 20
[1559:777] [2023-02-23 14:23:58 +0000.918876][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1560:021] [2023-02-23 14:23:59 +0000.162992][147a] Run AGC when audioType = 0
[1560:152] [2023-02-23 14:23:59 +0000.294260][3a72] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[1560:153] [2023-02-23 14:23:59 +0000.294338][3a72]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[1560:154] [2023-02-23 14:23:59 +0000.295977][3a72]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[1560:155] [2023-02-23 14:23:59 +0000.297349][1474] operator() time:12635149
enter.

[1560:156] [2023-02-23 14:23:59 +0000.297507][1474] MediaFilterCamera, recording


file context:0x726af74200 input texture:23
[1560:159] [2023-02-23 14:23:59 +0000.300443][1474] MicSource: Mic source
created:10x7256c32500
[1560:159] [2023-02-23 14:23:59 +0000.301186][1474] received external audio stream

[1560:159] [2023-02-23 14:23:59 +0000.301274][1474] alloc thread: 0x724038c480


name:worker3 thread id:490805034160 to Mic_source
[1560:161] [2023-02-23 14:23:59 +0000.302381][1474] audio: start the audio sender
thread.

[1560:161] [2023-02-23 14:23:59 +0000.302832][147a] On audio frame the broadcast


with timestamp:12635155 samples:480. (1000 frame for one log)

[1560:161] [2023-02-23 14:23:59 +0000.303267][1474] construct OpenGLRenderProgram


0x72403a9a98
[1560:161] [2023-02-23 14:23:59 +0000.303318][1474] CropFilter::SetOrientation
orientation: 90
[1560:162] [2023-02-23 14:23:59 +0000.303546][1474] filter: filter pipeline
construtc this: 0x7326d62000
[1560:162] [2023-02-23 14:23:59 +0000.303591][1474] filter: filter pipeline2 update
pattern: 1
[1560:165] [2023-02-23 14:23:59 +0000.306575][1474] CameraSource::source_id_:1
[1560:165] [2023-02-23 14:23:59 +0000.306658][1474] RecordAudioSource::source_id_:2
[1560:165] [2023-02-23 14:23:59 +0000.306807][1474] BindInputFilter 0x724038cbc0
this 0x72403a9cc0
[1560:165] [2023-02-23 14:23:59 +0000.306876][1474] BindInputFilter 0x724038cd58
this 0x724038ced0
[1560:165] [2023-02-23 14:23:59 +0000.306923][1474] BindInputFilter 0x72403a9cc0
this 0x7326d620a0
[1560:167] [2023-02-23 14:23:59 +0000.308547][1474] setParamentForFilters:
speed:1.000000
[1560:167] [2023-02-23 14:23:59 +0000.308892][1474] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[1560:167] [2023-02-23 14:23:59 +0000.308941][1474] SetParamForFilter time:12635161
enter.

[1560:167] [2023-02-23 14:23:59 +0000.308964][1474] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[1560:167] [2023-02-23 14:23:59 +0000.308997][1474] SetParamForFilter: Params
video index is: 0
[1560:167] [2023-02-23 14:23:59 +0000.309032][1474] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[1560:167] [2023-02-23 14:23:59 +0000.309078][1474] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[1560:167] [2023-02-23 14:23:59 +0000.309107][1474] crop filter mode tpye:
citytravelvideo index:0
[1560:171] [2023-02-23 14:23:59 +0000.312612][14fd] Get data in mic source, which
has byte length:1764micAudioStream->length():20
[1560:172] [2023-02-23 14:23:59 +0000.313720][1474]
Warning(parse_template_json.cc:45): json parament no found the parament
[1560:172] [2023-02-23 14:23:59 +0000.313821][1474]
Warning(parse_template_json.cc:45): json parament no found the parament
[1560:172] [2023-02-23 14:23:59 +0000.313862][1474]
Warning(parse_template_json.cc:45): json parament no found the parament
[1560:172] [2023-02-23 14:23:59 +0000.313882][1474]
Warning(parse_template_json.cc:45): json parament no found the parament
[1560:172] [2023-02-23 14:23:59 +0000.313911][1474]
Warning(parse_template_json.cc:45): json parament no found the parament
[1560:172] [2023-02-23 14:23:59 +0000.313930][1474]
Warning(parse_template_json.cc:45): json parament no found the parament
[1560:172] [2023-02-23 14:23:59 +0000.313948][1474]
Warning(parse_template_json.cc:45): json parament no found the parament
[1560:172] [2023-02-23 14:23:59 +0000.313967][1474]
Warning(parse_template_json.cc:81): json parament no found the parament
[1560:172] [2023-02-23 14:23:59 +0000.313994][1474]
Warning(parse_template_json.cc:81): json parament no found the parament
[1560:172] [2023-02-23 14:23:59 +0000.314012][1474]
Warning(parse_template_json.cc:67): json parament no found the parament
[1560:172] [2023-02-23 14:23:59 +0000.314030][1474]
Warning(parse_template_json.cc:93): json parament no found the duration
[1560:172] [2023-02-23 14:23:59 +0000.314081][1474] SetParamForFilter leave.
expire time = 5 ms

[1560:172] [2023-02-23 14:23:59 +0000.314299][1474] OnOutputSizeChanged width 1920


height 1080
[1560:174] [2023-02-23 14:23:59 +0000.315972][14fd] The output timestamp from audio
mixer change:12635155
[1560:174] [2023-02-23 14:23:59 +0000.316019][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1560:175] [2023-02-23 14:23:59 +0000.316645][1474] OpenGLFrameBuffer: width:1920
height:1080
[1560:175] [2023-02-23 14:23:59 +0000.316705][1474] OpenGLFrameBuffer: width:1920
height:1080
[1560:175] [2023-02-23 14:23:59 +0000.316727][1474] OpenGLFrameBuffer: width:1920
height:1080
[1560:175] [2023-02-23 14:23:59 +0000.316747][1474] OpenGLFrameBuffer: width:1920
height:1080
[1560:175] [2023-02-23 14:23:59 +0000.316790][1474] OpenGLFrameBuffer: width:1920
height:1080
[1560:175] [2023-02-23 14:23:59 +0000.316823][1474] OpenGLFrameBuffer: width:1920
height:1080
[1560:175] [2023-02-23 14:23:59 +0000.316843][1474] construct TrivalImageDrawer
0x724e044e80
[1560:175] [2023-02-23 14:23:59 +0000.316877][1474] GPUImageProcessing construct:
frame resolution is: 1920 X 1080 drawer 0x724e044e80 context 0x7326d0c640
[1560:175] [2023-02-23 14:23:59 +0000.316906][1474] setupGLES:
[1560:176] [2023-02-23 14:23:59 +0000.317548][1474]
OpenGLRenderProgram::Initialize.
[1560:176] [2023-02-23 14:23:59 +0000.317588][1474] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[1560:176] [2023-02-23 14:23:59 +0000.317630][1474] 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_motion_estimation
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[1560:176] [2023-02-23 14:23:59 +0000.317717][1474] Init open gl render:
0x72403a9a98
[1560:176] [2023-02-23 14:23:59 +0000.317752][1474] Fragement shader path:
[1560:176] [2023-02-23 14:23:59 +0000.317789][1474] Fragement shader path:
[1560:176] [2023-02-23 14:23:59 +0000.317807][1474] create opengl program object.
[1560:176] [2023-02-23 14:23:59 +0000.317840][1474] create shader: vertex
[1560:178] [2023-02-23 14:23:59 +0000.320146][1474] create shader: fragment
[1560:208] [2023-02-23 14:23:59 +0000.350010][1474] Have not extra filter filename!
[1560:208] [2023-02-23 14:23:59 +0000.350059][1474] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[1560:208] [2023-02-23 14:23:59 +0000.350075][1474] OpenGLRenderProgram::Initialize
success.
[1560:208] [2023-02-23 14:23:59 +0000.350111][1474] Setup the OpenGL result:1
[1560:208] [2023-02-23 14:23:59 +0000.350307][1473] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4
[1560:209] [2023-02-23 14:23:59 +0000.350413][1473] MP4 session params: fps:30
width:1920 height:1080 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[1560:209] [2023-02-23 14:23:59 +0000.350431][1504] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x73f5e11298
[1560:209] [2023-02-23 14:23:59 +0000.350459][1473] 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
[1560:209] [2023-02-23 14:23:59 +0000.350483][1473] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4
fileFD: -1
[1560:211] [2023-02-23 14:23:59 +0000.352607][1473] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4
is opened successfully
[1560:211] [2023-02-23 14:23:59 +0000.352630][1473] setupMediaProcessers:
[1560:211] [2023-02-23 14:23:59 +0000.352644][1473]
RecordingSessionInternalSimple:setup media processers.
[1560:211] [2023-02-23 14:23:59 +0000.352659][1473] construct AAC encoder
[1560:212] [2023-02-23 14:23:59 +0000.353580][1473] H264Encoder creating:
superfast011818
[1560:212] [2023-02-23 14:23:59 +0000.353610][1473] H264Encode::H264Encoder
creating with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[1560:212] [2023-02-23 14:23:59 +0000.354277][1473] H264Encode::GetMachineModel is
M2012K11AG
[1560:212] [2023-02-23 14:23:59 +0000.354313][1473] H264Encoder machine_mode
is:M2012K11AG
[1560:213] [2023-02-23 14:23:59 +0000.354377][1473] H264Encode::machine size :9
machine_mode:M2012K11AG
[1560:213] [2023-02-23 14:23:59 +0000.354399][1473] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[1560:213] [2023-02-23 14:23:59 +0000.354417][1473] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[1560:213] [2023-02-23 14:23:59 +0000.354433][1473] setupCompressionSession:
[1560:213] [2023-02-23 14:23:59 +0000.354448][1473] H264Encode::creating hareware
Encoder
[1560:213] [2023-02-23 14:23:59 +0000.354465][1473] AndroidHwAvcEncoder
time:12635207 enter.

[1560:213] [2023-02-23 14:23:59 +0000.354594][1473] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000073f5c80380 address:0x7219acb760
[1560:213] [2023-02-23 14:23:59 +0000.354681][1473] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[1560:213] [2023-02-23 14:23:59 +0000.354701][1473] The video avc hw codec address
is 0x725c3bba60
[1560:213] [2023-02-23 14:23:59 +0000.354744][1473] AndroidHwAvcEncoder leave.
expire time = 0 ms

[1560:213] [2023-02-23 14:23:59 +0000.354776][1473] RegisterEncodeCompleteCallback


time:12635207 enter.

[1560:213] [2023-02-23 14:23:59 +0000.354827][1473] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[1560:214] [2023-02-23 14:23:59 +0000.355779][1473] InitEncode time:12635208


enter.

[1560:214] [2023-02-23 14:23:59 +0000.355850][1473] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[1560:214] [2023-02-23 14:23:59 +0000.355876][1473] Create time:12635208 enter.

[1560:214] [2023-02-23 14:23:59 +0000.355894][1473] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[1560:214] [2023-02-23 14:23:59 +0000.355917][1473]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x726b0252c0
[1560:225] [2023-02-23 14:23:59 +0000.367234][1473]
supported_type:image/vnd.android.heic
[1560:225] [2023-02-23 14:23:59 +0000.367309][1473] supported_type:video/avc
[1560:226] [2023-02-23 14:23:59 +0000.367380][1473] name:OMX.qcom.video.encoder.avc
mime:video/avc
[1560:226] [2023-02-23 14:23:59 +0000.367441][1473] hwCodecPrefix :OMX.qcom.
[1560:226] [2023-02-23 14:23:59 +0000.367521][1473] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[1560:226] [2023-02-23 14:23:59 +0000.367545][1473] mediacodec_createCodecByName
time:12635220 enter.

[1560:226] [2023-02-23 14:23:59 +0000.367564][1473] WrapAndroidMediaCodec


time:12635220 enter.

[1560:226] [2023-02-23 14:23:59 +0000.367658][1473] WrapAndroidMediaCodec leave.


expire time = 0 ms

[1560:237] [2023-02-23 14:23:59 +0000.379315][1473] mediacodec_createCodecByName


leave. expire time = 11 ms

[1560:238] [2023-02-23 14:23:59 +0000.379393][1473] WrapAndroidMediaFromat


time:12635232 enter.

[1560:238] [2023-02-23 14:23:59 +0000.379488][1473] WrapAndroidMediaFromat leave.


expire time = 0 ms

[1560:307] [2023-02-23 14:23:59 +0000.448559][1473] Destroy time:12635301 enter.

[1560:307] [2023-02-23 14:23:59 +0000.448626][1473] WrapAndroidMediaFromat::


Destroy
[1560:307] [2023-02-23 14:23:59 +0000.448650][1473] Destroy leave. expire time = 0
ms

[1560:307] [2023-02-23 14:23:59 +0000.448673][1473] ~WrapAndroidMediaFromat


time:12635301 enter.

[1560:307] [2023-02-23 14:23:59 +0000.448727][1473] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[1560:307] [2023-02-23 14:23:59 +0000.448753][1473] Create leave. expire time = 93


ms

[1560:307] [2023-02-23 14:23:59 +0000.448776][1473] isSemiPlanarSupport


time:12635301 enter.

[1560:307] [2023-02-23 14:23:59 +0000.448798][1473] H264Encoder isSemiPlanarSupport


[1560:307] [2023-02-23 14:23:59 +0000.448822][1473] isSemiPlanarSupport leave.
expire time = 0 ms

[1560:307] [2023-02-23 14:23:59 +0000.448845][1473] creat hw H264Encoder success,


isSemiPlanar:1
[1560:307] [2023-02-23 14:23:59 +0000.448915][1473] InitEncode leave. expire time
= 93 ms

[1560:307] [2023-02-23 14:23:59 +0000.448942][1473] H264Encode::created Encoder


[1560:307] [2023-02-23 14:23:59 +0000.448964][1473] H264Encode:: H264 encoder
created.
[1560:307] [2023-02-23 14:23:59 +0000.449038][1473] H264 encoder created.
[1560:307] [2023-02-23 14:23:59 +0000.449064][1473]
RecordingSessionInternalSimple:created avc encoder avc: 0x725c412580
[1560:307] [2023-02-23 14:23:59 +0000.449091][1473] setOutput:
[1560:307] [2023-02-23 14:23:59 +0000.449116][1473]
RecordingSessionInternalSimple:encoder set output to muxer!
[1560:307] [2023-02-23 14:23:59 +0000.449139][1473] request a key frame
[1560:307] [2023-02-23 14:23:59 +0000.449161][1473] H264Encode:: request a key
frame
[1560:307] [2023-02-23 14:23:59 +0000.449288][1473] setDisplayRotate :90
[1560:307] [2023-02-23 14:23:59 +0000.449328][1473] 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
[1560:308] [2023-02-23 14:23:59 +0000.449392][1474] StartRecording:
[1560:308] [2023-02-23 14:23:59 +0000.449705][14fd] operator(): Set the recording
session in mic source. recording session: 0x724038cc00
[1560:308] [2023-02-23 14:23:59 +0000.449812][1474] operator() leave. expire time
= 153 ms

[1560:308] [2023-02-23 14:23:59 +0000.449844][14f4] AF_SpeedFilter audio


0x724038cd80 PullFrame
[1560:308] [2023-02-23 14:23:59 +0000.449900][14f4]
RecordAudioSource::PullAudioFrame
[1560:308] [2023-02-23 14:23:59 +0000.449939][14f4] AF_SpeedFilter::PullFrame eof4
[1560:311] [2023-02-23 14:23:59 +0000.452501][14f4]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1560:339] [2023-02-23 14:23:59 +0000.481059][14f4] AF_SpeedFilter audio time,
0x724038cd80 rcv time: 12635315
[1560:339] [2023-02-23 14:23:59 +0000.481120][14f4] AF_SpeedFilter audio time,
0x724038cd80 rcv time: 12635315in_nSamples:441
[1560:339] [2023-02-23 14:23:59 +0000.481209][14f4] resampled_data_size:0
[1560:353] [2023-02-23 14:23:59 +0000.494546][1474]
MediaFilterCamera::NeedProcessTexture
[1560:353] [2023-02-23 14:23:59 +0000.494595][1474] begine recode to first frame
spend time:197
[1560:353] [2023-02-23 14:23:59 +0000.494616][1474] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1920, height: 1080, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x724038ca80
[1560:353] [2023-02-23 14:23:59 +0000.494675][1474] blur_distance_:0
[1560:353] [2023-02-23 14:23:59 +0000.494698][1474] blur_direction_angle_:-90
[1560:353] [2023-02-23 14:23:59 +0000.494726][1474]
GPUImageProcessing::SetOrientation orientation: 90
[1560:353] [2023-02-23 14:23:59 +0000.495060][1474] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[1560:353] [2023-02-23 14:23:59 +0000.495128][1474] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[1560:354] [2023-02-23 14:23:59 +0000.495559][1474] GPUImageProcessing: input frame
width1920 X 1080
[1560:354] [2023-02-23 14:23:59 +0000.496150][1474] drawYUV420 render
OpenGLRenderProgram:0x72403a9a98
[1560:355] [2023-02-23 14:23:59 +0000.496613][1474] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[1560:355] [2023-02-23 14:23:59 +0000.496669][1474] CropFilter::OnVideoFrame
outputtexture :25
[1560:355] [2023-02-23 14:23:59 +0000.496688][1474] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[1560:356] [2023-02-23 14:23:59 +0000.497624][1474] The read pixel from buffer
take: 1 width:1920 height:1080 frameType:0
[1560:393] [2023-02-23 14:23:59 +0000.534560][1474] drawYUV420 render
OpenGLRenderProgram:0x72403a9a98
[1560:405] [2023-02-23 14:23:59 +0000.547412][1474] The convert RGB to YUV take 5
[1560:406] [2023-02-23 14:23:59 +0000.547809][1474] FilterPipeline2::OnVideoFrame
pts 38 last_video_timestamp_ 38
[1560:406] [2023-02-23 14:23:59 +0000.547895][1474]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[1560:410] [2023-02-23 14:23:59 +0000.551354][1502]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[1560:410] [2023-02-23 14:23:59 +0000.551434][1502] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:0
[1560:410] [2023-02-23 14:23:59 +0000.551465][1502] push video frame to H264
encoder. (100 frame for one log)

[1560:410] [2023-02-23 14:23:59 +0000.551529][1502] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1560:410] [2023-02-23 14:23:59 +0000.551560][1502] H264Encode::push video frame to


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

[1560:410] [2023-02-23 14:23:59 +0000.551583][1502] Push an pts:0 to dts queue.


[1560:410] [2023-02-23 14:23:59 +0000.551702][1502] DTS queue for
Generator:0x73f5e114b8 0
[1560:410] [2023-02-23 14:23:59 +0000.551725][1502] The input pts:0 fps:30
[1560:411] [2023-02-23 14:23:59 +0000.552939][1502]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[1560:429] [2023-02-23 14:23:59 +0000.570387][1474] drawYUV420 render
OpenGLRenderProgram:0x72403a9a98
[1560:443] [2023-02-23 14:23:59 +0000.585207][14f4] AF_SpeedFilter audio time 222,
0x724038cd80 out time: 12635315 org time: 12635315
[1560:443] [2023-02-23 14:23:59 +0000.585288][14f4] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[1560:443] [2023-02-23 14:23:59 +0000.585319][14f4]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 12635315
[1560:444] [2023-02-23 14:23:59 +0000.585340][14f4]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[1560:444] [2023-02-23 14:23:59 +0000.585376][14f4] AF_SpeedFilter audio time
[1560:444] [2023-02-23 14:23:59 +0000.585418][14f4] AF_SpeedFilter audio time 111,
0x724038cd80 out time: 12635325 org time: 12635325
[1560:444] [2023-02-23 14:23:59 +0000.585827][1501]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:3
[1560:445] [2023-02-23 14:23:59 +0000.586380][1504] add aac audio track with id:1
[1560:445] [2023-02-23 14:23:59 +0000.586450][1504] audio start ts:0
[1560:445] [2023-02-23 14:23:59 +0000.586498][1504] the audio frame has been
written into MP4 file
[1560:497] [2023-02-23 14:23:59 +0000.639056][1502] h264 add frame header cdr flag
[1560:498] [2023-02-23 14:23:59 +0000.639822][1502] h264 add frame header cdr flag
[1560:499] [2023-02-23 14:23:59 +0000.640941][1502] SendFrame
encodedImage._timeStamp:0encodedImage->_length:420576
[1560:499] [2023-02-23 14:23:59 +0000.641021][1502] Received key frame:0
[1560:499] [2023-02-23 14:23:59 +0000.641068][1502] last dts:0 currentPts:0
ppsOrSPS:0 queue length:4
[1560:499] [2023-02-23 14:23:59 +0000.641107][1502] H264Encode::H264SWEncoder get
callback, length:420576 type:0 nalType:7length:19
[1560:499] [2023-02-23 14:23:59 +0000.641139][1502] H264Encode:: get a sps pps
header!headerSize:32
[1560:499] [2023-02-23 14:23:59 +0000.641170][1502] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[1560:499] [2023-02-23 14:23:59 +0000.641277][1504] get the H.264 SPS parameter
[1560:500] [2023-02-23 14:23:59 +0000.641553][1504] add video track with id:2
[1560:503] [2023-02-23 14:23:59 +0000.645027][1504] get the H.264 PPS parameter
[1560:505] [2023-02-23 14:23:59 +0000.646658][1504] get the H.264 IDR frame
[1560:505] [2023-02-23 14:23:59 +0000.647407][1504] resss:true
[1560:506] [2023-02-23 14:23:59 +0000.647485][1504] video start ts:0
[1560:506] [2023-02-23 14:23:59 +0000.647880][1504] the video frame has been
written into MP4 file
[1560:864] [2023-02-23 14:24:00 +0000.5829][1474] The read pixel from buffer take:
0 width:1920 height:1080 frameType:0
[1560:895] [2023-02-23 14:24:00 +0000.37109][1474] The convert RGB to YUV take 2
[1561:167] [2023-02-23 14:24:00 +0000.308868][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1561:232] [2023-02-23 14:24:00 +0000.373980][1502] DTS queue for
Generator:0x73f5e114b8 796 833
[1561:357] [2023-02-23 14:24:00 +0000.498754][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1561:395] [2023-02-23 14:24:00 +0000.537308][1474] The convert RGB to YUV take 3
[1561:484] [2023-02-23 14:24:00 +0000.626026][147a] haveEnoughProcessedData
internalAudioStream.length: 10
[1561:726] [2023-02-23 14:24:00 +0000.867830][1502] Push an pts:1327 to dts queue.
[1561:769] [2023-02-23 14:24:00 +0000.910424][1502] last dts:1299 currentPts:1327
ppsOrSPS:0 queue length:2
[1561:856] [2023-02-23 14:24:00 +0000.997423][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1561:891] [2023-02-23 14:24:01 +0000.33305][1474] The convert RGB to YUV take 2
[1561:945] [2023-02-23 14:24:01 +0000.86772][14f4] AF_SpeedFilter audio
0x724038cd80 PullFrame
[1562:020] [2023-02-23 14:24:01 +0000.162257][147b] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1562:021] [2023-02-23 14:24:01 +0000.162441][147b] _deviceSampleRate:48000

[1562:022] [2023-02-23 14:24:01 +0000.163607][147a] Run AGC when audioType = 0


[1562:022] [2023-02-23 14:24:01 +0000.164027][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1562:062] [2023-02-23 14:24:01 +0000.204301][1502] DTS queue for
Generator:0x73f5e114b8 1631 1664
[1562:168] [2023-02-23 14:24:01 +0000.310185][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1562:199] [2023-02-23 14:24:01 +0000.340377][14f4]
RecordAudioSource::PullAudioFrame
[1562:359] [2023-02-23 14:24:01 +0000.501198][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1562:395] [2023-02-23 14:24:01 +0000.536942][1474] The convert RGB to YUV take 4
[1562:425] [2023-02-23 14:24:01 +0000.566719][1474] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[1562:435] [2023-02-23 14:24:01 +0000.576617][1502] h264 add frame header cdr flag
[1562:435] [2023-02-23 14:24:01 +0000.577090][1502] Received key frame:1999
[1562:469] [2023-02-23 14:24:01 +0000.610980][1504] get the H.264 IDR frame
[1562:608] [2023-02-23 14:24:01 +0000.749363][14f4] resampled_data_size:7168
[1562:649] [2023-02-23 14:24:01 +0000.790799][14f4] AF_SpeedFilter::PullFrame eof4
[1562:652] [2023-02-23 14:24:01 +0000.793708][14f4]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1562:792] [2023-02-23 14:24:01 +0000.934125][1501]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:6
[1562:855] [2023-02-23 14:24:01 +0000.997090][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1562:862] [2023-02-23 14:24:02 +0000.3874][1502] DTS queue for
Generator:0x73f5e114b8 2463
[1562:895] [2023-02-23 14:24:02 +0000.37126][1474] The convert RGB to YUV take 3
[1563:069] [2023-02-23 14:24:02 +0000.210407][1502] Push an pts:2669 to dts queue.
[1563:099] [2023-02-23 14:24:02 +0000.240473][1502] last dts:2633 currentPts:2669
ppsOrSPS:0 queue length:2
[1563:166] [2023-02-23 14:24:02 +0000.307550][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1563:203] [2023-02-23 14:24:02 +0000.345075][147a] haveEnoughProcessedData
internalAudioStream.length: 20
[1563:354] [2023-02-23 14:24:02 +0000.495860][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1563:395] [2023-02-23 14:24:02 +0000.537265][1474] The convert RGB to YUV take 4
[1563:559] [2023-02-23 14:24:02 +0000.700901][14f4] AF_SpeedFilter audio
0x724038cd80 PullFrame
[1563:654] [2023-02-23 14:24:02 +0000.796081][1474] drawYUV420 render
OpenGLRenderProgram:0x72403a9a98
[1563:697] [2023-02-23 14:24:02 +0000.838553][1502] DTS queue for
Generator:0x73f5e114b8 3297
[1563:720] [2023-02-23 14:24:02 +0000.861449][1474] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[1563:720] [2023-02-23 14:24:02 +0000.861526][1474] GPUImageProcessing: input frame
width1920 X 1080
[1563:720] [2023-02-23 14:24:02 +0000.862164][1474] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[1563:721] [2023-02-23 14:24:02 +0000.862377][1474] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[1563:729] [2023-02-23 14:24:02 +0000.870732][1502]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3328
[1563:732] [2023-02-23 14:24:02 +0000.873578][1502] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3297 pts:3297
[1563:764] [2023-02-23 14:24:02 +0000.906021][1502] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:3364
[1563:764] [2023-02-23 14:24:02 +0000.906145][1502] push video frame to H264
encoder. (100 frame for one log)

[1563:764] [2023-02-23 14:24:02 +0000.906214][1502] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1563:764] [2023-02-23 14:24:02 +0000.906262][1502] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:3364(100 frame for one
log)

[1563:764] [2023-02-23 14:24:02 +0000.906321][1502] The input pts:3364 fps:30


[1563:768] [2023-02-23 14:24:02 +0000.909439][1502] SendFrame
encodedImage._timeStamp:3328encodedImage->_length:60368
[1563:796] [2023-02-23 14:24:02 +0000.937664][1502] H264Encode::H264SWEncoder get
callback, length:48592 type:1 nalType:1length:48588
[1563:854] [2023-02-23 14:24:02 +0000.996005][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1563:887] [2023-02-23 14:24:03 +0000.28708][1474] The convert RGB to YUV take 4
[1564:023] [2023-02-23 14:24:03 +0000.164430][147a] Run AGC when audioType = 0
[1564:093] [2023-02-23 14:24:03 +0000.235221][14f4]
RecordAudioSource::PullAudioFrame
[1564:164] [2023-02-23 14:24:03 +0000.305875][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1564:351] [2023-02-23 14:24:03 +0000.493210][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1564:395] [2023-02-23 14:24:03 +0000.536724][1474] The convert RGB to YUV take 3
[1564:396] [2023-02-23 14:24:03 +0000.537647][1502] Push an pts:3999 to dts queue.
[1564:432] [2023-02-23 14:24:03 +0000.573761][1502] h264 add frame header cdr flag
[1564:432] [2023-02-23 14:24:03 +0000.574339][1502] Received key frame:3999
[1564:433] [2023-02-23 14:24:03 +0000.574458][1502] last dts:3959 currentPts:3999
ppsOrSPS:0 queue length:2
[1564:468] [2023-02-23 14:24:03 +0000.609782][1504] get the H.264 IDR frame
[1564:492] [2023-02-23 14:24:03 +0000.634015][1474] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[1564:527] [2023-02-23 14:24:03 +0000.668859][1502] DTS queue for
Generator:0x73f5e114b8 4095 4128
[1564:813] [2023-02-23 14:24:03 +0000.954834][14f4] resampled_data_size:0
[1564:852] [2023-02-23 14:24:03 +0000.993691][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1564:890] [2023-02-23 14:24:04 +0000.31642][1474] The convert RGB to YUV take 4
[1564:913] [2023-02-23 14:24:04 +0000.54968][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1564:997] [2023-02-23 14:24:04 +0000.138911][14f4] AF_SpeedFilter::PullFrame eof4
[1564:999] [2023-02-23 14:24:04 +0000.141070][14f4]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1565:158] [2023-02-23 14:24:04 +0000.299626][1501]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:10
[1565:163] [2023-02-23 14:24:04 +0000.304392][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1565:192] [2023-02-23 14:24:04 +0000.333856][14f4] AF_SpeedFilter audio
0x724038cd80 PullFrame
[1565:355] [2023-02-23 14:24:04 +0000.496745][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1565:358] [2023-02-23 14:24:04 +0000.499712][1502] DTS queue for
Generator:0x73f5e114b8 4931 4962
[1565:388] [2023-02-23 14:24:04 +0000.530147][1474] The convert RGB to YUV take 4
[1565:728] [2023-02-23 14:24:04 +0000.869570][1502] Push an pts:5327 to dts queue.
[1565:761] [2023-02-23 14:24:04 +0000.902843][1502] last dts:5292 currentPts:5327
ppsOrSPS:0 queue length:2
[1565:851] [2023-02-23 14:24:04 +0000.992489][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1565:889] [2023-02-23 14:24:05 +0000.30808][1474] The convert RGB to YUV take 5
[1566:012] [2023-02-23 14:24:05 +0000.153558][14f4]
RecordAudioSource::PullAudioFrame
[1566:025] [2023-02-23 14:24:05 +0000.166374][147a] Run AGC when audioType = 0
[1566:025] [2023-02-23 14:24:05 +0000.166601][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1566:166] [2023-02-23 14:24:05 +0000.308314][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1566:193] [2023-02-23 14:24:05 +0000.334716][1502] DTS queue for
Generator:0x73f5e114b8 5763 5798
[1566:352] [2023-02-23 14:24:05 +0000.493626][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1566:390] [2023-02-23 14:24:05 +0000.531428][1474] The convert RGB to YUV take 3
[1566:427] [2023-02-23 14:24:05 +0000.568998][1502] h264 add frame header cdr flag
[1566:428] [2023-02-23 14:24:05 +0000.569422][1502] Received key frame:5994
[1566:466] [2023-02-23 14:24:05 +0000.608321][1504] get the H.264 IDR frame
[1566:590] [2023-02-23 14:24:05 +0000.731612][1474] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[1566:627] [2023-02-23 14:24:05 +0000.768364][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1566:822] [2023-02-23 14:24:05 +0000.963976][14f4] AF_SpeedFilter audio
0x724038cd80 PullFrame
[1566:855] [2023-02-23 14:24:05 +0000.996689][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1566:887] [2023-02-23 14:24:06 +0000.29115][1474] The convert RGB to YUV take 6
[1566:987] [2023-02-23 14:24:06 +0000.128728][1474] drawYUV420 render
OpenGLRenderProgram:0x72403a9a98
[1566:994] [2023-02-23 14:24:06 +0000.136235][1502] DTS queue for
Generator:0x73f5e114b8 6595
[1567:035] [2023-02-23 14:24:06 +0000.177088][14f4] resampled_data_size:10240
[1567:053] [2023-02-23 14:24:06 +0000.195080][1502]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6654
[1567:053] [2023-02-23 14:24:06 +0000.195170][1502] Push an pts:6654 to dts queue.
[1567:088] [2023-02-23 14:24:06 +0000.230079][1474] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[1567:088] [2023-02-23 14:24:06 +0000.230219][1474] GPUImageProcessing: input frame
width1920 X 1080
[1567:089] [2023-02-23 14:24:06 +0000.230730][1474] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[1567:089] [2023-02-23 14:24:06 +0000.230813][1474] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[1567:096] [2023-02-23 14:24:06 +0000.237915][1502] SendFrame
encodedImage._timeStamp:6654encodedImage->_length:50912
[1567:096] [2023-02-23 14:24:06 +0000.238087][1502] last dts:6625 currentPts:6654
ppsOrSPS:0 queue length:2
[1567:096] [2023-02-23 14:24:06 +0000.238138][1502] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6654 pts:6654
[1567:121] [2023-02-23 14:24:06 +0000.262348][1502] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:6724
[1567:121] [2023-02-23 14:24:06 +0000.262474][1502] push video frame to H264
encoder. (100 frame for one log)

[1567:121] [2023-02-23 14:24:06 +0000.262558][1502] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1567:121] [2023-02-23 14:24:06 +0000.262601][1502] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:6724(100 frame for one
log)

[1567:121] [2023-02-23 14:24:06 +0000.262648][1502] The input pts:6724 fps:30


[1567:162] [2023-02-23 14:24:06 +0000.304170][1502] H264Encode::H264SWEncoder get
callback, length:48496 type:1 nalType:1length:48492
[1567:171] [2023-02-23 14:24:06 +0000.313043][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1567:352] [2023-02-23 14:24:06 +0000.494108][14f4] AF_SpeedFilter::PullFrame eof4
[1567:354] [2023-02-23 14:24:06 +0000.496190][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1567:354] [2023-02-23 14:24:06 +0000.496276][14f4]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1567:387] [2023-02-23 14:24:06 +0000.529183][1474] The convert RGB to YUV take 3
[1567:412] [2023-02-23 14:24:06 +0000.554287][1501]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6965queue_audio_frame_:4
[1567:828] [2023-02-23 14:24:06 +0000.969391][1502] DTS queue for
Generator:0x73f5e114b8 7427
[1567:851] [2023-02-23 14:24:06 +0000.992875][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1567:887] [2023-02-23 14:24:07 +0000.29307][1474] The convert RGB to YUV take 5
[1567:926] [2023-02-23 14:24:07 +0000.67829][14f4]
RecordAudioSource::PullAudioFrame
[1568:024] [2023-02-23 14:24:07 +0000.166329][147a] Run AGC when audioType = 0
[1568:173] [2023-02-23 14:24:07 +0000.314649][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1568:340] [2023-02-23 14:24:07 +0000.482230][147a] haveEnoughProcessedData
internalAudioStream.length: 10
[1568:353] [2023-02-23 14:24:07 +0000.495257][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1568:389] [2023-02-23 14:24:07 +0000.531303][1474] The convert RGB to YUV take 3
[1568:392] [2023-02-23 14:24:07 +0000.533487][1502] Push an pts:7994 to dts queue.
[1568:426] [2023-02-23 14:24:07 +0000.567419][1502] h264 add frame header cdr flag
[1568:426] [2023-02-23 14:24:07 +0000.567902][1502] Received key frame:7994
[1568:426] [2023-02-23 14:24:07 +0000.567947][1502] last dts:7961 currentPts:7994
ppsOrSPS:0 queue length:2
[1568:460] [2023-02-23 14:24:07 +0000.601659][1504] get the H.264 IDR frame
[1568:469] [2023-02-23 14:24:07 +0000.610587][14f4] AF_SpeedFilter audio
0x724038cd80 PullFrame
[1568:653] [2023-02-23 14:24:07 +0000.794753][1474] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3984 diff: 17
[1568:656] [2023-02-23 14:24:07 +0000.797682][1502] DTS queue for
Generator:0x73f5e114b8 8223 8257
[1568:849] [2023-02-23 14:24:07 +0000.990883][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1568:891] [2023-02-23 14:24:08 +0000.32389][1474] The convert RGB to YUV take 4
[1569:166] [2023-02-23 14:24:08 +0000.308322][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1569:288] [2023-02-23 14:24:08 +0000.429898][14f4] resampled_data_size:1024
[1569:346] [2023-02-23 14:24:08 +0000.487539][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1569:384] [2023-02-23 14:24:08 +0000.525412][1474] The convert RGB to YUV take 5
[1569:490] [2023-02-23 14:24:08 +0000.632308][1502] DTS queue for
Generator:0x73f5e114b8 9067 9091
[1569:721] [2023-02-23 14:24:08 +0000.862784][1502] Push an pts:9322 to dts queue.
[1569:737] [2023-02-23 14:24:08 +0000.878738][14f4] AF_SpeedFilter::PullFrame eof4
[1569:739] [2023-02-23 14:24:08 +0000.881018][14f4]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1569:755] [2023-02-23 14:24:08 +0000.896727][1502] last dts:9288 currentPts:9322
ppsOrSPS:0 queue length:2
[1569:779] [2023-02-23 14:24:08 +0000.920494][1501]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 9287queue_audio_frame_:6
[1569:852] [2023-02-23 14:24:08 +0000.993765][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1569:852] [2023-02-23 14:24:08 +0000.993789][14f4]
RecordAudioSource::PullAudioFrame
[1569:886] [2023-02-23 14:24:09 +0000.27861][1474] The convert RGB to YUV take 4
[1570:024] [2023-02-23 14:24:09 +0000.165735][147a] Run AGC when audioType = 0
[1570:024] [2023-02-23 14:24:09 +0000.165957][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1570:056] [2023-02-23 14:24:09 +0000.197524][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1570:107] [2023-02-23 14:24:09 +0000.248422][14f4] AF_SpeedFilter audio
0x724038cd80 PullFrame
[1570:126] [2023-02-23 14:24:09 +0000.268281][14fd] The output timestamp from audio
mixer change:12645117
[1570:165] [2023-02-23 14:24:09 +0000.306819][147a] On audio frame the broadcast
with timestamp:12645159 samples:480. (1000 frame for one log)

[1570:168] [2023-02-23 14:24:09 +0000.310038][14fd] Get data in mic source, which


has byte length:1764micAudioStream->length():20
[1570:169] [2023-02-23 14:24:09 +0000.310575][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1570:315] [2023-02-23 14:24:09 +0000.457181][1474] drawYUV420 render
OpenGLRenderProgram:0x72403a9a98
[1570:320] [2023-02-23 14:24:09 +0000.461553][1502] DTS queue for
Generator:0x73f5e114b8 9888 9922
[1570:328] [2023-02-23 14:24:09 +0000.469818][14f4] AF_SpeedFilter audio time,
0x724038cd80 rcv time: 12645315
[1570:328] [2023-02-23 14:24:09 +0000.469911][14f4] AF_SpeedFilter audio time,
0x724038cd80 rcv time: 12645315in_nSamples:441
[1570:349] [2023-02-23 14:24:09 +0000.491182][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1570:385] [2023-02-23 14:24:09 +0000.527268][1474] The convert RGB to YUV take 3
[1570:387] [2023-02-23 14:24:09 +0000.528476][1502]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:9990
[1570:422] [2023-02-23 14:24:09 +0000.563550][1502] h264 add frame header cdr flag
[1570:422] [2023-02-23 14:24:09 +0000.563901][1502] SendFrame
encodedImage._timeStamp:9990encodedImage->_length:185520
[1570:422] [2023-02-23 14:24:09 +0000.563957][1502] Received key frame:9990
[1570:434] [2023-02-23 14:24:09 +0000.576037][14f4] FilterPipeline2::OnAudioFrame
pts 10010 last_audio_timestamp_ 10010
[1570:434] [2023-02-23 14:24:09 +0000.576121][14f4]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 12645315
[1570:434] [2023-02-23 14:24:09 +0000.576158][14f4]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[1570:450] [2023-02-23 14:24:09 +0000.592277][1474] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[1570:451] [2023-02-23 14:24:09 +0000.592352][1474] GPUImageProcessing: input frame
width1920 X 1080
[1570:452] [2023-02-23 14:24:09 +0000.593611][1474] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[1570:452] [2023-02-23 14:24:09 +0000.593728][1474] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[1570:459] [2023-02-23 14:24:09 +0000.600590][1502] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:10023 pts:10023
[1570:459] [2023-02-23 14:24:09 +0000.601194][1504] get the H.264 IDR frame
[1570:486] [2023-02-23 14:24:09 +0000.627849][1502] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:10088
[1570:486] [2023-02-23 14:24:09 +0000.627938][1502] push video frame to H264
encoder. (100 frame for one log)

[1570:486] [2023-02-23 14:24:09 +0000.627987][1502] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1570:486] [2023-02-23 14:24:09 +0000.628027][1502] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:10088(100 frame for one
log)

[1570:486] [2023-02-23 14:24:09 +0000.628071][1502] The input pts:10088 fps:30


[1570:523] [2023-02-23 14:24:09 +0000.665164][1502] H264Encode::H264SWEncoder get
callback, length:54112 type:1 nalType:1length:54108
[1570:749] [2023-02-23 14:24:09 +0000.890359][1474] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4980 diff: 21
[1570:846] [2023-02-23 14:24:09 +0000.987710][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1570:884] [2023-02-23 14:24:10 +0000.25988][1474] The convert RGB to YUV take 4
[1571:054] [2023-02-23 14:24:10 +0000.195373][1502] Push an pts:10654 to dts queue.
[1571:088] [2023-02-23 14:24:10 +0000.229493][1502] last dts:10627 currentPts:10654
ppsOrSPS:0 queue length:2
[1571:120] [2023-02-23 14:24:10 +0000.262124][1502] DTS queue for
Generator:0x73f5e114b8 10721
[1571:170] [2023-02-23 14:24:10 +0000.311840][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1571:345] [2023-02-23 14:24:10 +0000.486605][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1571:389] [2023-02-23 14:24:10 +0000.530949][1474] The convert RGB to YUV take 4
[1571:475] [2023-02-23 14:24:10 +0000.617085][14f4] resampled_data_size:13312
[1571:478] [2023-02-23 14:24:10 +0000.620079][1474] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[1571:550] [2023-02-23 14:24:10 +0000.691722][14f4] AF_SpeedFilter audio time
[1571:550] [2023-02-23 14:24:10 +0000.691916][14f4] AF_SpeedFilter audio time 111,
0x724038cd80 out time: 12646505 org time: 12646505
[1571:754] [2023-02-23 14:24:10 +0000.896030][14f4] AF_SpeedFilter audio
0x724038cd80 PullFrame
[1571:763] [2023-02-23 14:24:10 +0000.904538][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1571:774] [2023-02-23 14:24:10 +0000.916236][14f4]
RecordAudioSource::PullAudioFrame
[1571:844] [2023-02-23 14:24:10 +0000.985558][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1571:885] [2023-02-23 14:24:11 +0000.26524][1474] The convert RGB to YUV take 6
[1571:956] [2023-02-23 14:24:11 +0000.97495][1502] DTS queue for
Generator:0x73f5e114b8 11557
[1572:020] [2023-02-23 14:24:11 +0000.161695][147b] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1572:020] [2023-02-23 14:24:11 +0000.161852][147b] _deviceSampleRate:48000

[1572:024] [2023-02-23 14:24:11 +0000.165516][147a] Run AGC when audioType = 0


[1572:033] [2023-02-23 14:24:11 +0000.175111][1501]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 11609queue_audio_frame_:1
[1572:120] [2023-02-23 14:24:11 +0000.261605][14f4] AF_SpeedFilter::PullFrame eof4
[1572:122] [2023-02-23 14:24:11 +0000.263820][14f4]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1572:174] [2023-02-23 14:24:11 +0000.315390][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1572:348] [2023-02-23 14:24:11 +0000.489929][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1572:386] [2023-02-23 14:24:11 +0000.527548][1474] The convert RGB to YUV take 3
[1572:388] [2023-02-23 14:24:11 +0000.529849][1502] Push an pts:11988 to dts queue.
[1572:424] [2023-02-23 14:24:11 +0000.565561][1502] h264 add frame header cdr flag
[1572:424] [2023-02-23 14:24:11 +0000.565992][1502] Received key frame:11988
[1572:424] [2023-02-23 14:24:11 +0000.566041][1502] last dts:11956 currentPts:11988
ppsOrSPS:0 queue length:2
[1572:458] [2023-02-23 14:24:11 +0000.600088][1504] get the H.264 IDR frame
[1572:791] [2023-02-23 14:24:11 +0000.932451][1502] DTS queue for
Generator:0x73f5e114b8 12352 12394
[1572:817] [2023-02-23 14:24:11 +0000.958575][1474] webrtc common_video plane
old ..... (1/1000) new: 6001 delete: 5984 diff: 17
[1572:850] [2023-02-23 14:24:11 +0000.991841][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1572:884] [2023-02-23 14:24:12 +0000.26342][1474] The convert RGB to YUV take 2
[1573:165] [2023-02-23 14:24:12 +0000.306743][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1573:343] [2023-02-23 14:24:12 +0000.484877][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1573:382] [2023-02-23 14:24:12 +0000.523680][1474] The convert RGB to YUV take 3
[1573:393] [2023-02-23 14:24:12 +0000.534599][14f4] AF_SpeedFilter audio
0x724038cd80 PullFrame
[1573:484] [2023-02-23 14:24:12 +0000.626302][147a] haveEnoughProcessedData
internalAudioStream.length: 20
[1573:617] [2023-02-23 14:24:12 +0000.758440][1502] DTS queue for
Generator:0x73f5e114b8 13190 13218
[1573:647] [2023-02-23 14:24:12 +0000.789001][1474] drawYUV420 render
OpenGLRenderProgram:0x72403a9a98
[1573:696] [2023-02-23 14:24:12 +0000.837651][14f4]
RecordAudioSource::PullAudioFrame
[1573:718] [2023-02-23 14:24:12 +0000.859591][1502]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:13320
[1573:718] [2023-02-23 14:24:12 +0000.859678][1502] Push an pts:13320 to dts queue.
[1573:731] [2023-02-23 14:24:12 +0000.873284][14f4] resampled_data_size:4096
[1573:757] [2023-02-23 14:24:12 +0000.898393][1502] SendFrame
encodedImage._timeStamp:13320encodedImage->_length:51632
[1573:757] [2023-02-23 14:24:12 +0000.898514][1502] last dts:13284 currentPts:13320
ppsOrSPS:0 queue length:2
[1573:809] [2023-02-23 14:24:12 +0000.950855][1474] GPUImageProcessing: process
video frame with resolution 1920 X 1080
[1573:809] [2023-02-23 14:24:12 +0000.950962][1474] GPUImageProcessing: input frame
width1920 X 1080
[1573:810] [2023-02-23 14:24:12 +0000.951485][1474] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[1573:810] [2023-02-23 14:24:12 +0000.951609][1474] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[1573:822] [2023-02-23 14:24:12 +0000.963744][1502] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:13384 pts:13384
[1573:844] [2023-02-23 14:24:12 +0000.985815][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1573:849] [2023-02-23 14:24:12 +0000.990616][1502] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:13450
[1573:849] [2023-02-23 14:24:12 +0000.990751][1502] push video frame to H264
encoder. (100 frame for one log)

[1573:849] [2023-02-23 14:24:12 +0000.990793][1502] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1573:849] [2023-02-23 14:24:12 +0000.990830][1502] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:13450(100 frame for one
log)

[1573:849] [2023-02-23 14:24:12 +0000.990891][1502] The input pts:13450 fps:30


[1573:881] [2023-02-23 14:24:13 +0000.23160][1474] The convert RGB to YUV take 5
[1573:887] [2023-02-23 14:24:13 +0000.28377][1502] H264Encode::H264SWEncoder get
callback, length:47392 type:1 nalType:1length:47388
[1574:024] [2023-02-23 14:24:13 +0000.165752][147a] Run AGC when audioType = 0
[1574:024] [2023-02-23 14:24:13 +0000.165852][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1574:185] [2023-02-23 14:24:13 +0000.326920][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1574:345] [2023-02-23 14:24:13 +0000.487244][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1574:383] [2023-02-23 14:24:13 +0000.524943][1474] The convert RGB to YUV take 3
[1574:392] [2023-02-23 14:24:13 +0000.533910][1501]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 13931queue_audio_frame_:4
[1574:420] [2023-02-23 14:24:13 +0000.561362][1502] h264 add frame header cdr flag
[1574:420] [2023-02-23 14:24:13 +0000.561919][1502] Received key frame:13988
[1574:420] [2023-02-23 14:24:13 +0000.562006][1502] DTS queue for
Generator:0x73f5e114b8 14018
[1574:456] [2023-02-23 14:24:13 +0000.598573][1504] get the H.264 IDR frame
[1574:496] [2023-02-23 14:24:13 +0000.637512][14f4] AF_SpeedFilter::PullFrame eof4
[1574:498] [2023-02-23 14:24:13 +0000.639675][14f4]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[1574:842] [2023-02-23 14:24:13 +0000.984100][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1574:882] [2023-02-23 14:24:14 +0000.23472][1474] The convert RGB to YUV take 3
[1574:911] [2023-02-23 14:24:14 +0000.53176][1474] webrtc common_video plane
old ..... (1/1000) new: 7001 delete: 6980 diff: 21
[1575:027] [2023-02-23 14:24:14 +0000.169007][14f4] AF_SpeedFilter audio
0x724038cd80 PullFrame
[1575:050] [2023-02-23 14:24:14 +0000.191620][1502] Push an pts:14651 to dts queue.
[1575:080] [2023-02-23 14:24:14 +0000.221955][1502] last dts:14623 currentPts:14651
ppsOrSPS:0 queue length:2
[1575:166] [2023-02-23 14:24:14 +0000.307680][14fd] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[1575:198] [2023-02-23 14:24:14 +0000.340012][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1575:256] [2023-02-23 14:24:14 +0000.397601][1502] DTS queue for
Generator:0x73f5e114b8 14855
[1575:346] [2023-02-23 14:24:14 +0000.487448][1474] The read pixel from buffer
take: 0 width:1920 height:1080 frameType:0
[1575:381] [2023-02-23 14:24:14 +0000.522592][1474] The convert RGB to YUV take 4
[1575:600] [2023-02-23 14:24:14 +0000.741476][14f4]
RecordAudioSource::PullAudioFrame
[1575:616] [2023-02-23 14:24:14 +0000.757593][1474] StopRecording:
[1575:616] [2023-02-23 14:24:14 +0000.758141][1474] OnNeedStopRecording:
[1575:620] [2023-02-23 14:24:14 +0000.761811][14f4] resampled_data_size:512
[1575:620] [2023-02-23 14:24:14 +0000.761886][14f4] AF_SpeedFilter audio time 222,
0x724038cd80 out time: 12650565 org time: 12650565
[1575:620] [2023-02-23 14:24:14 +0000.761970][14f4] PullAudioFrame: PullFrame audio
finished.
[1575:620] [2023-02-23 14:24:14 +0000.762006][14f4]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[1575:623] [2023-02-23 14:24:14 +0000.764675][3a72]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[1575:623] [2023-02-23 14:24:14 +0000.764849][1474] operator(): Stop
[1575:623] [2023-02-23 14:24:14 +0000.764884][1474] StopPullFrameAndWriteMp4
time:12650617 enter.

[1575:623] [2023-02-23 14:24:14 +0000.764911][1474] StopRecording:


[1575:626] [2023-02-23 14:24:14 +0000.768226][1502]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:457
[1575:630] [2023-02-23 14:24:14 +0000.771656][1473] stop recording
[1575:630] [2023-02-23 14:24:14 +0000.771720][1473]
RecordingSessionInternalSimple:destroy media processers
[1575:630] [2023-02-23 14:24:14 +0000.771747][1473] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[1575:630] [2023-02-23 14:24:14 +0000.771797][1473] H264Encode::flushing hareware
Encoder
[1575:630] [2023-02-23 14:24:14 +0000.771937][1473] Flush time:12650624 enter.

[1575:630] [2023-02-23 14:24:14 +0000.771991][1473] H264Encoder encoder flush


[1575:630] [2023-02-23 14:24:14 +0000.772019][1473] flush output queue
[1575:960] [2023-02-23 14:24:15 +0000.101526][1473] Flush leave. expire time = 330
ms

[1575:960] [2023-02-23 14:24:15 +0000.101664][1473] ~H264EncodeWrap:


[1575:960] [2023-02-23 14:24:15 +0000.101705][1473] ~H264Encode:
[1575:960] [2023-02-23 14:24:15 +0000.101769][1473] teardownCompressionSession:
H264Encode::destroying Encoder
[1575:960] [2023-02-23 14:24:15 +0000.101803][1473] Release time:12650954 enter.

[1575:960] [2023-02-23 14:24:15 +0000.101921][1473] Release:


MediaCodecVideoEncoder::Release _inited:1
[1575:960] [2023-02-23 14:24:15 +0000.101970][1473] Destroy time:12650954 enter.

[1575:960] [2023-02-23 14:24:15 +0000.102024][1473] H264Encoder encoderDestroy


[1575:960] [2023-02-23 14:24:15 +0000.102088][1473]
AndroidMediaCodecVideoEncoder::release env: 0x725c4126c0
[1575:960] [2023-02-23 14:24:15 +0000.102141][1473]
AndroidMediaCodecVideoEncoder::Destroy
[1575:998] [2023-02-23 14:24:15 +0000.140187][1473] Destroy leave. expire time =
38 ms

[1575:999] [2023-02-23 14:24:15 +0000.140488][1473] Release leave. expire time =


39 ms

[1575:999] [2023-02-23 14:24:15 +0000.140583][1473] ~AndroidHwAvcEncoder


time:12650993 enter.

[1575:999] [2023-02-23 14:24:15 +0000.140747][1473] Release time:12650993 enter.

[1575:999] [2023-02-23 14:24:15 +0000.140829][1473] Release:


MediaCodecVideoEncoder:: has been released before, just return
[1575:999] [2023-02-23 14:24:15 +0000.140861][1473] Release leave. expire time = 0
ms

[1575:999] [2023-02-23 14:24:15 +0000.140892][1473] ~AndroidMediaCodecVideoEncoder


[1575:999] [2023-02-23 14:24:15 +0000.140934][1473] ~WrapAndroidMediaCodec
time:12650993 enter.

[1575:999] [2023-02-23 14:24:15 +0000.140966][1473] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[1575:999] [2023-02-23 14:24:15 +0000.141018][1473] video hevc hw codec


destructor:0x725c3bba60

[1575:999] [2023-02-23 14:24:15 +0000.141069][1473] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[1575:999] [2023-02-23 14:24:15 +0000.141119][1473] teardownCompressionSession:


H264Encode::destroyed Encoder
[1575:999] [2023-02-23 14:24:15 +0000.141156][1473]
RecordingSessionInternalSimple:destroy aac encoder output!
[1575:999] [2023-02-23 14:24:15 +0000.141242][1473] AACSWEncode destructor
[1576:014] [2023-02-23 14:24:15 +0000.155684][1504] MP4 close file successfully
[1576:014] [2023-02-23 14:24:15 +0000.155789][1504] Recording session Internal:
notify recording ok
[1576:014] [2023-02-23 14:24:15 +0000.155867][1504] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4,
output_video_timestamp_:15217 last_video_pts_:15183
[1576:014] [2023-02-23 14:24:15 +0000.155918][1504] OnRecordFinish:
[1576:015] [2023-02-23 14:24:15 +0000.156920][1504] onRecordingOk: net seek
pos:0record video duration:15216record audio duration:15185
[1576:016] [2023-02-23 14:24:15 +0000.158074][14fd] destructMicSource_w:
[1576:016] [2023-02-23 14:24:15 +0000.158137][14fd] setOutput_w:
MicSource::setOutput() 0x0
[1576:016] [2023-02-23 14:24:15 +0000.158197][14fd] close external audio stream

[1576:017] [2023-02-23 14:24:15 +0000.158341][1474] releaseThread 0x724038c480


[1576:017] [2023-02-23 14:24:15 +0000.158408][1474] ~MicSource: Mic source
destroyed:0x7256c32500
[1576:018] [2023-02-23 14:24:15 +0000.159703][1474] StopPullFrameAndWriteMp4
leave. expire time = 395 ms

[1576:018] [2023-02-23 14:24:15 +0000.159774][1474] DestroyPipelineAndFilters


time:12651012 enter.

[1576:018] [2023-02-23 14:24:15 +0000.159830][1474] UnbindInputFilter 0x724038cbc0


this 0x72403a9cc0
[1576:018] [2023-02-23 14:24:15 +0000.159889][1474] UnbindInputFilter 0x724038cd58
this 0x724038ced0
[1576:018] [2023-02-23 14:24:15 +0000.160005][1474] UnbindInputFilter 0x72403a9cc0
this 0x7326d620a0
[1576:018] [2023-02-23 14:24:15 +0000.160055][1474] filter: filter pipeline destroy
this: 0x7326d62000
[1576:019] [2023-02-23 14:24:15 +0000.161201][1474] ClearVideoOfSources: recodring
total frames:0
[1576:019] [2023-02-23 14:24:15 +0000.161288][1474] ClearVideoOfSources:
[1576:020] [2023-02-23 14:24:15 +0000.161337][1474] GPUImageProcessing destruct.
[1576:020] [2023-02-23 14:24:15 +0000.161414][1474] destroy TrivalImageDrawer
0x724e044e80
[1576:020] [2023-02-23 14:24:15 +0000.161464][1474] The shader has been initialize,
clean up them.

[1576:020] [2023-02-23 14:24:15 +0000.161537][1474] ~OpenGLFrameBuffer:


[1576:020] [2023-02-23 14:24:15 +0000.161654][1474] ~OpenGLFrameBuffer:
[1576:020] [2023-02-23 14:24:15 +0000.161745][1474] ~OpenGLFrameBuffer:
[1576:021] [2023-02-23 14:24:15 +0000.163237][1474] ~OpenGLFrameBuffer:
[1576:022] [2023-02-23 14:24:15 +0000.163429][1474] ~OpenGLFrameBuffer:
[1576:022] [2023-02-23 14:24:15 +0000.163542][1474] ~OpenGLFrameBuffer:
[1576:022] [2023-02-23 14:24:15 +0000.163753][1474] GPUImageProcessing destruct
finish.
[1576:022] [2023-02-23 14:24:15 +0000.163825][1474] GPURGBAFrame destruct.
[1576:022] [2023-02-23 14:24:15 +0000.163885][1474] destroy OpenGLRenderProgram
0x72403a9a98
[1576:022] [2023-02-23 14:24:15 +0000.163921][1474] ~CameraSource time:12651016
enter.

[1576:022] [2023-02-23 14:24:15 +0000.163954][1474] ~CameraSource leave. expire


time = 0 ms

[1576:022] [2023-02-23 14:24:15 +0000.163991][1474] ~RecordAudioSource


time:12651016 enter.

[1576:022] [2023-02-23 14:24:15 +0000.164024][1474] ~RecordAudioSource leave.


expire time = 0 ms

[1576:022] [2023-02-23 14:24:15 +0000.164059][1474] DestroyPipelineAndFilters


leave. expire time = 4 ms

[1576:024] [2023-02-23 14:24:15 +0000.166050][147a] Run AGC when audioType = 0


[1576:046] [2023-02-23 14:24:15 +0000.187462][3a72]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[1576:046] [2023-02-23 14:24:15 +0000.188198][3a72] machine model :poco
[1576:046] [2023-02-23 14:24:15 +0000.188235][3a72] Support this machine
model :poco
[1576:046] [2023-02-23 14:24:15 +0000.188276][3a72] global inited! current sdk
version: 07-20-936c45f
[1576:047] [2023-02-23 14:24:15 +0000.188425][3a72] filter: filter pipeline
construtc this: 0x725c496b80
[1576:047] [2023-02-23 14:24:15 +0000.188458][3a72] MediaFilterGraph:
MediaFilterGraph construct
[1576:047] [2023-02-23 14:24:15 +0000.188491][3a72] GLESContext:
[1576:047] [2023-02-23 14:24:15 +0000.188535][3a72] The result of eglGetDisplay is:
0xb4000073f5d728c0
[1576:048] [2023-02-23 14:24:15 +0000.189505][3a72] The result of creation:
0x725c421980
[1576:048] [2023-02-23 14:24:15 +0000.189595][3a72] The result of
eglCreatePbufferSurface is: 0x725c421d80
[1576:050] [2023-02-23 14:24:15 +0000.191967][3a72] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4
[1576:050] [2023-02-23 14:24:15 +0000.192033][3a72] The source 0 speed:1
[1576:050] [2023-02-23 14:24:15 +0000.192099][3a72] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4,
delay: 0
[1576:050] [2023-02-23 14:24:15 +0000.192157][3a72] CreateDecoderByVideoSource
time:12651044 enter.

[1576:051] [2023-02-23 14:24:15 +0000.192598][3a72] running_decoder_count:0max


count:2
[1576:051] [2023-02-23 14:24:15 +0000.192663][3a72] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7275bca000
[1576:071] [2023-02-23 14:24:15 +0000.212686][151d] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7256c47400] Current FFmpeg version git-2021-06-16-
97cea6f

[1576:133] [2023-02-23 14:24:15 +0000.275045][151d] OnStreamInfoFound: video


duration_: 15216
[1576:135] [2023-02-23 14:24:15 +0000.276787][3a72] start decoder
[1576:135] [2023-02-23 14:24:15 +0000.276947][3a72] CreateDecoderByVideoSource
leave. expire time = 85 ms

[1576:135] [2023-02-23 14:24:15 +0000.277097][3a72] BindInputFilter 0x7319e13b20


this 0x723958a898
[1576:135] [2023-02-23 14:24:15 +0000.277230][3a72] BindInputFilter 0x723958a898
this 0x723958a958
[1576:136] [2023-02-23 14:24:15 +0000.277355][3a72] BindInputFilter 0x7319e13b20
this 0x723958aa18
[1576:136] [2023-02-23 14:24:15 +0000.277476][3a72] BindInputFilter 0x723958aa18
this 0x723958aad8
[1576:136] [2023-02-23 14:24:15 +0000.277559][3a72] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4
[1576:136] [2023-02-23 14:24:15 +0000.277678][3a72] BindInputFilter 0x723958a958
this 0x723958ab98
[1576:136] [2023-02-23 14:24:15 +0000.277778][3a72] BindInputFilter 0x723958ab98
this 0x725c496c20
[1576:136] [2023-02-23 14:24:15 +0000.277880][3a72] BindInputFilter 0x723958aad8
this 0x723958ac58
[1576:136] [2023-02-23 14:24:15 +0000.277976][3a72] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4
[1576:135] [2023-02-23 14:24:15 +0000.276961][151e] NO get frame from decoder
[1576:139] [2023-02-23 14:24:15 +0000.280427][151e] NO get frame from decoder
[1576:140] [2023-02-23 14:24:15 +0000.282281][3a72]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[1576:141] [2023-02-23 14:24:15 +0000.283259][3a72] machine model :poco
[1576:141] [2023-02-23 14:24:15 +0000.283318][3a72] Support this machine
model :poco
[1576:142] [2023-02-23 14:24:15 +0000.283381][3a72] global inited! current sdk
version: 07-20-936c45f
[1576:142] [2023-02-23 14:24:15 +0000.283486][3a72] GetPipeline:
-----------------------------------------
[1576:142] [2023-02-23 14:24:15 +0000.283532][3a72] GetPipeline: source:
0x7319e13900
[1576:142] [2023-02-23 14:24:15 +0000.283598][3a72] GetPipeline: filter: NULLFilter
[1576:142] [2023-02-23 14:24:15 +0000.283654][3a72] GetPipeline: filter: NULLFilter
[1576:142] [2023-02-23 14:24:15 +0000.283694][3a72] GetPipeline: filter: NULLFilter
[1576:142] [2023-02-23 14:24:15 +0000.283730][3a72] GetPipeline: audio filter:
AuidoNULLFilter
[1576:142] [2023-02-23 14:24:15 +0000.283824][3a72] GetPipeline: audio filter:
AuidoNULLFilter
[1576:142] [2023-02-23 14:24:15 +0000.283858][3a72] GetPipeline: audio filter:
AudioNUllFilter
[1576:142] [2023-02-23 14:24:15 +0000.283895][3a72] GetPipeline:
------------------------------------------
[1576:142] [2023-02-23 14:24:15 +0000.283953][3a72] filter: filter pipeline2 update
pattern: 0
[1576:144] [2023-02-23 14:24:15 +0000.285838][3a72] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[1576:145] [2023-02-23 14:24:15 +0000.286419][3a72] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[1576:145] [2023-02-23 14:24:15 +0000.286539][3a72] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[1576:145] [2023-02-23 14:24:15 +0000.286999][3a72] DeviceInit:
[1576:145] [2023-02-23 14:24:15 +0000.287225][3a72] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1576:145] [2023-02-23 14:24:15 +0000.286353][151e] NO get frame from decoder
[1576:149] [2023-02-23 14:24:15 +0000.290611][3a72] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1576:149] [2023-02-23 14:24:15 +0000.291014][3a72] CreatePlatformSpecificObjects:
[1576:149] [2023-02-23 14:24:15 +0000.291090][3a72] audio device use null audio
input and opensl output
[1576:149] [2023-02-23 14:24:15 +0000.291129][3a72] Create OpenSLES output module
with java VM support.

[1576:149] [2023-02-23 14:24:15 +0000.291276][3a72] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1576:150] [2023-02-23 14:24:15 +0000.291771][3a72] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1576:150] [2023-02-23 14:24:15 +0000.292235][3a72] Create OpenSLES output module
with buffer num:2

[1576:151] [2023-02-23 14:24:15 +0000.292679][3a72] Error(trace.cc:40): Init the


output and input for audio device template.
[1576:151] [2023-02-23 14:24:15 +0000.292761][3a72] Init the output device.

[1576:151] [2023-02-23 14:24:15 +0000.292862][3a72] Set the playout as stereo:1


[1576:151] [2023-02-23 14:24:15 +0000.292924][3a72] Set the sample rate to be:44100

[1576:151] [2023-02-23 14:24:15 +0000.292997][3a72] Low latency buffer size:144 low


sample rate:48000
[1576:151] [2023-02-23 14:24:15 +0000.293049][3a72] DeviceInit: Done
[1576:151] [2023-02-23 14:24:15 +0000.293234][3a72] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[1576:152] [2023-02-23 14:24:15 +0000.293591][1538] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7239492118
[1576:153] [2023-02-23 14:24:15 +0000.294492][3a72]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[1576:153] [2023-02-23 14:24:15 +0000.294635][3a72]
MediaFilterPlayer::SetPlayerNotify 0x7239534720
[1576:154] [2023-02-23 14:24:15 +0000.295481][3a72]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[1576:154] [2023-02-23 14:24:15 +0000.295542][3a72]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[1576:155] [2023-02-23 14:24:15 +0000.296509][3a72]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[1576:155] [2023-02-23 14:24:15 +0000.297131][151e] NO get frame from decoder
[1576:156] [2023-02-23 14:24:15 +0000.297350][3a72] SetGraphLoop: SetGraphLoop 1
[1576:156] [2023-02-23 14:24:15 +0000.297408][3a72]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[1576:156] [2023-02-23 14:24:15 +0000.298158][3a72]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[1576:157] [2023-02-23 14:24:15 +0000.299250][3a72]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[1576:159] [2023-02-23 14:24:15 +0000.300401][3a72]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[1576:159] [2023-02-23 14:24:15 +0000.300706][153d] Start:
[1576:159] [2023-02-23 14:24:15 +0000.301085][153c] operator(): video render
started.
[1576:159] [2023-02-23 14:24:15 +0000.301164][153c] DriveRender working... (1/200)
[1576:159] [2023-02-23 14:24:15 +0000.301218][153c] Warning(video_render.cc:390):
No picture to display (1/50)
[1576:160] [2023-02-23 14:24:15 +0000.301339][153d] Start:
[1576:160] [2023-02-23 14:24:15 +0000.301453][153d] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[1576:160] [2023-02-23 14:24:15 +0000.302139][151e] NO get frame from decoder
[1576:160] [2023-02-23 14:24:15 +0000.302348][153d] Reset: history total size: 98
[1576:161] [2023-02-23 14:24:15 +0000.302398][153d] DeviceStart:
audioDevice_:0x725c4b4000
[1576:161] [2023-02-23 14:24:15 +0000.302437][153d] DeviceStart: time profile
playout init before
[1576:161] [2023-02-23 14:24:15 +0000.302530][153d] DeviceStart: time profile
playout init end
[1576:161] [2023-02-23 14:24:15 +0000.302568][153d] OpenSlesOutput:Start playout

[1576:176] [2023-02-23 14:24:15 +0000.317583][153d] Create the opensl output


player. streamtype before:0

[1576:176] [2023-02-23 14:24:15 +0000.317676][153d] Create the opensl output


player. streamtype after:3

[1576:178] [2023-02-23 14:24:15 +0000.319705][151e] NO get frame from decoder


[1576:181] [2023-02-23 14:24:15 +0000.322603][151e] NO get frame from decoder
[1576:184] [2023-02-23 14:24:15 +0000.325911][151e] NO get frame from decoder
[1576:201] [2023-02-23 14:24:15 +0000.343015][153d] Enqueue opensl buffer size:1764
[1576:226] [2023-02-23 14:24:15 +0000.368059][153d] DeviceStart: time profile
playout all end
[1576:226] [2023-02-23 14:24:15 +0000.368175][153d] operator(): Audio playback
started.
[1576:226] [2023-02-23 14:24:15 +0000.368243][153d] operator(): Started now!
[1576:227] [2023-02-23 14:24:15 +0000.368534][153e] Pull audio failed.(wait video!)
[1576:229] [2023-02-23 14:24:15 +0000.370756][153e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1576:230] [2023-02-23 14:24:15 +0000.371746][153e] Pull audio failed.(wait video!)
[1576:230] [2023-02-23 14:24:15 +0000.371788][153e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1576:230] [2023-02-23 14:24:15 +0000.371783][154b]
PlayerSimpleBufferQueueCallbackHandler function
[1576:231] [2023-02-23 14:24:15 +0000.372463][154b] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[1576:231] [2023-02-23 14:24:15 +0000.372477][153e] Pull audio failed.(wait video!)
[1576:231] [2023-02-23 14:24:15 +0000.372491][154b]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[1576:231] [2023-02-23 14:24:15 +0000.372502][153e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1576:231] [2023-02-23 14:24:15 +0000.373112][153e] Pull audio failed.(wait video!)
[1576:231] [2023-02-23 14:24:15 +0000.373140][153e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1576:232] [2023-02-23 14:24:15 +0000.373751][153f] Error(video_source.cc:430):
wait decoder a frame: 0
[1576:234] [2023-02-23 14:24:15 +0000.376086][153e] Pull audio failed.(wait video!)
[1576:235] [2023-02-23 14:24:15 +0000.376489][153e]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[1576:240] [2023-02-23 14:24:15 +0000.381874][153f] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[1576:248] [2023-02-23 14:24:15 +0000.390017][153f] OnVideoFrameReady(1/200)
[1576:248] [2023-02-23 14:24:15 +0000.390263][153c] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[1576:249] [2023-02-23 14:24:15 +0000.391321][153e] audio_frame_list_ empty
[1576:255] [2023-02-23 14:24:15 +0000.396413][153c] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:12651249
[1576:276] [2023-02-23 14:24:15 +0000.417577][153c] lipsync_debug: render a video
frame
[1576:276] [2023-02-23 14:24:15 +0000.417623][153c] lipsync_debug: First video
frame rendering.
[1576:285] [2023-02-23 14:24:15 +0000.426657][153f]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[1576:286] [2023-02-23 14:24:15 +0000.427563][153c]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:22 timeDelta:31 last
video ts:900 frame->pts:2880 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[1576:286] [2023-02-23 14:24:15 +0000.427608][153c] lipsync_debug: tsDelta -
timeDelta = -9
[1576:286] [2023-02-23 14:24:15 +0000.427622][153c] lipsync_debug:result remaining
time:0
[1576:286] [2023-02-23 14:24:15 +0000.427633][153c] dynamic updated lipsync delay:0
[1576:288] [2023-02-23 14:24:15 +0000.429934][153c] lipsync_debug:remaining time:10
tsDelta - timeDelta:19
[1576:288] [2023-02-23 14:24:15 +0000.429983][153c] lipsync_debug:result remaining
time:10
[1576:365] [2023-02-23 14:24:15 +0000.506758][153e] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[1576:365] [2023-02-23 14:24:15 +0000.506837][153e] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[1576:365] [2023-02-23 14:24:15 +0000.506917][153d] Create the audio converter
44100 Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[1576:365] [2023-02-23 14:24:15 +0000.507031][153d] The audio playback speed:100
(1/100)
[1576:365] [2023-02-23 14:24:15 +0000.507097][153d] lipsync_debug: The current
played audio timestamp is:0(1/50)
[1576:365] [2023-02-23 14:24:15 +0000.507135][153d] First audio frame rendering
[1576:419] [2023-02-23 14:24:15 +0000.560920][153f] video frame wait audio frame:
last_video_timestamp:333 last_audio_timestamp:207.937
[1576:913] [2023-02-23 14:24:16 +0000.55224][153c] lipsync_debug:displaying video
ts:60120 The current displayed video timestamp is:12651907
[1576:924] [2023-02-23 14:24:16 +0000.65514][147a] haveEnoughProcessedData
internalAudioStream.length: 20
[1577:226] [2023-02-23 14:24:16 +0000.367745][153d] do work DoLipsync!
[1577:226] [2023-02-23 14:24:16 +0000.367964][153d] total delay:208 videoTsMS:964
audioTsMS:756 diff:208
[1577:226] [2023-02-23 14:24:16 +0000.368012][153d] Set the lipsync delay:208
[1577:266] [2023-02-23 14:24:16 +0000.407810][154b]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[1577:373] [2023-02-23 14:24:16 +0000.514986][153f] Error(video_source.cc:430):
wait decoder a frame: 0
[1577:751] [2023-02-23 14:24:16 +0000.892566][153c] lipsync_debug:displaying video
ts:119430 The current displayed video timestamp is:12652745
[1577:889] [2023-02-23 14:24:17 +0000.31087][153c] DriveRender working... (1/200)
[1577:963] [2023-02-23 14:24:17 +0000.104625][153c]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:42 timeDelta:14 last
video ts:134640 frame->pts:138420 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[1577:963] [2023-02-23 14:24:17 +0000.104744][153c] lipsync_debug: tsDelta -
timeDelta = 28
[1578:022] [2023-02-23 14:24:17 +0000.163479][147a] Run AGC when audioType = 0
[1578:022] [2023-02-23 14:24:17 +0000.163582][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1578:304] [2023-02-23 14:24:17 +0000.446058][154b]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[1578:438] [2023-02-23 14:24:17 +0000.580257][153c] lipsync_debug:remaining time:10
tsDelta - timeDelta:18
[1578:439] [2023-02-23 14:24:17 +0000.580373][153c] lipsync_debug:result remaining
time:10
[1578:456] [2023-02-23 14:24:17 +0000.597690][153c] lipsync_debug:displaying video
ts:179910 The current displayed video timestamp is:12653450
[1578:471] [2023-02-23 14:24:17 +0000.612803][153e] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 102324
[1578:471] [2023-02-23 14:24:17 +0000.612942][153e] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[1578:515] [2023-02-23 14:24:17 +0000.657038][153d] The audio playback speed:100
(1/100)
[1578:515] [2023-02-23 14:24:17 +0000.657160][153d] lipsync_debug: The current
played audio timestamp is:102324(1/50)
[1578:649] [2023-02-23 14:24:17 +0000.790938][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1578:742] [2023-02-23 14:24:17 +0000.884278][153f] Error(video_source.cc:430):
wait decoder a frame: 0
[1578:743] [2023-02-23 14:24:17 +0000.884337][153f] webrtc common_video plane
old ..... (1/1000) new: 8001 delete: 7996 diff: 5
[1579:127] [2023-02-23 14:24:18 +0000.269238][153c] lipsync_debug:displaying video
ts:240210 The current displayed video timestamp is:12654121
[1579:273] [2023-02-23 14:24:18 +0000.414713][154b]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[1579:355] [2023-02-23 14:24:18 +0000.497076][153f] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 299520pts ms:3.328e+06
[1579:358] [2023-02-23 14:24:18 +0000.499613][153f] OnVideoFrameReady(1/200)
[1579:358] [2023-02-23 14:24:18 +0000.499795][153c] operator() frame->pts-
9223372036854775808 queue_ size: 14 (1/200)
[1579:500] [2023-02-23 14:24:18 +0000.641399][153c] DriveRender working... (1/200)
[1579:578] [2023-02-23 14:24:18 +0000.719691][153c]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:38 timeDelta:14 last
video ts:279000 frame->pts:282420 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[1579:578] [2023-02-23 14:24:18 +0000.719806][153c] lipsync_debug: tsDelta -
timeDelta = 24
[1579:792] [2023-02-23 14:24:18 +0000.934055][153c] lipsync_debug:displaying video
ts:299520 The current displayed video timestamp is:12654786
[1579:799] [2023-02-23 14:24:18 +0000.940666][153c] lipsync_debug: render a video
frame
[1579:828] [2023-02-23 14:24:18 +0000.970151][153c] lipsync_debug:result remaining
time:0
[1579:828] [2023-02-23 14:24:18 +0000.970286][153c] dynamic updated lipsync delay:0
[1580:021] [2023-02-23 14:24:19 +0000.162960][147a] Run AGC when audioType = 0
[1580:148] [2023-02-23 14:24:19 +0000.290107][153f] Error(video_source.cc:430):
wait decoder a frame: 0
[1580:199] [2023-02-23 14:24:19 +0000.340397][3a72]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StopPreViewJni:
[1580:199] [2023-02-23 14:24:19 +0000.340749][153d] Stop:
[1580:199] [2023-02-23 14:24:19 +0000.340953][153c] operator(): Video Render
stopped.
[1580:199] [2023-02-23 14:24:19 +0000.341146][153d] Stop:
[1580:200] [2023-02-23 14:24:19 +0000.341413][153d] DeviceStop:
audioDevice_:0x725c4b4000
[1580:200] [2023-02-23 14:24:19 +0000.341476][153d] OpenSlesOutput:Stop playout

[1580:203] [2023-02-23 14:24:19 +0000.345001][153d] DeviceStop: Done


[1580:203] [2023-02-23 14:24:19 +0000.345261][153d] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[1580:204] [2023-02-23 14:24:19 +0000.345353][153d] operator(): Stop now!
[1580:305] [2023-02-23 14:24:19 +0000.447224][3a72]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[1580:306] [2023-02-23 14:24:19 +0000.447372][3a72] StopPreView: Have Stopped,
operation cancel
[1580:306] [2023-02-23 14:24:19 +0000.447415][3a72] Stop:
[1580:306] [2023-02-23 14:24:19 +0000.447609][153d] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[1580:306] [2023-02-23 14:24:19 +0000.447997][3a72] DeviceRelease:
audioDevice_:0x725c4b4000
[1580:306] [2023-02-23 14:24:19 +0000.448031][3a72] OpenSlesOutput:Stop playout

[1580:306] [2023-02-23 14:24:19 +0000.448065][3a72] DeviceRelease: Release the


webrtc device object.
[1580:306] [2023-02-23 14:24:19 +0000.448238][3a72] OpenSlesOutput destruct.

[1580:306] [2023-02-23 14:24:19 +0000.448287][3a72] DeviceRelease: Done


[1580:307] [2023-02-23 14:24:19 +0000.448365][3a72] Stop:
[1580:307] [2023-02-23 14:24:19 +0000.448435][153c] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[1580:311] [2023-02-23 14:24:19 +0000.452572][3a72] global uninited!
[1580:312] [2023-02-23 14:24:19 +0000.453340][3a72]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[1580:312] [2023-02-23 14:24:19 +0000.453433][3a72] ~MediaFilterGraph:
MediaFilterGraph destruct
[1580:312] [2023-02-23 14:24:19 +0000.453559][3a72] RemoveVideoBackGroud: hava not
add video backgroud
[1580:312] [2023-02-23 14:24:19 +0000.453591][3a72] UnbindInputFilter 0x723958ab98
this 0x725c496c20
[1580:312] [2023-02-23 14:24:19 +0000.453613][3a72] ClearAllSource: remove source
filter, sourceid: 0x7319e13900
[1580:312] [2023-02-23 14:24:19 +0000.453629][3a72] DestoryDecoderByVideoSource
time:12655306 enter.

[1580:312] [2023-02-23 14:24:19 +0000.453650][3a72] ~VideoBindDecoder time:12655306


enter.

[1580:312] [2023-02-23 14:24:19 +0000.453805][3a72] CleanUp time:12655306 enter.

[1580:316] [2023-02-23 14:24:19 +0000.457385][3a72] CleanUp leave. expire time = 4


ms

[1580:316] [2023-02-23 14:24:19 +0000.457440][3a72] CleanUp time:12655310 enter.

[1580:316] [2023-02-23 14:24:19 +0000.457651][3a72] CleanUp leave. expire time = 0


ms

[1580:316] [2023-02-23 14:24:19 +0000.458193][3a72] ~VideoBindDecoder leave.


expire time = 4 ms

[1580:316] [2023-02-23 14:24:19 +0000.458221][3a72] DestoryDecoderByVideoSource


leave. expire time = 4 ms

[1580:316] [2023-02-23 14:24:19 +0000.458279][3a72] UnbindInputFilter 0x723958a958


this 0x723958ab98
[1580:316] [2023-02-23 14:24:19 +0000.458317][3a72] UnbindInputFilter 0x723958a898
this 0x723958a958
[1580:317] [2023-02-23 14:24:19 +0000.458356][3a72] UnbindInputFilter 0x7319e13b20
this 0x723958a898
[1580:317] [2023-02-23 14:24:19 +0000.458393][3a72] UnbindInputFilter 0x723958aad8
this 0x723958ac58
[1580:317] [2023-02-23 14:24:19 +0000.458451][3a72] UnbindInputFilter 0x723958aa18
this 0x723958aad8
[1580:317] [2023-02-23 14:24:19 +0000.458472][3a72] UnbindInputFilter 0x7319e13b20
this 0x723958aa18
[1580:319] [2023-02-23 14:24:19 +0000.460836][3a72] ~GLESContext:
[1580:322] [2023-02-23 14:24:19 +0000.463977][3a72] GLESContext destruct finish.
[1580:322] [2023-02-23 14:24:19 +0000.464043][3a72] filter: filter pipeline destroy
this: 0x725c496b80
[1580:323] [2023-02-23 14:24:19 +0000.464947][3a72]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[1580:324] [2023-02-23 14:24:19 +0000.465531][3a72] machine model :poco
[1580:324] [2023-02-23 14:24:19 +0000.465560][3a72] Support this machine
model :poco
[1580:324] [2023-02-23 14:24:19 +0000.465595][3a72] global inited! current sdk
version: 07-20-936c45f
[1580:324] [2023-02-23 14:24:19 +0000.465920][3a72] filter: filter pipeline
construtc this: 0x725c496b80
[1580:324] [2023-02-23 14:24:19 +0000.465945][3a72] MediaFilterGraph:
MediaFilterGraph construct
[1580:324] [2023-02-23 14:24:19 +0000.465960][3a72] GLESContext:
[1580:324] [2023-02-23 14:24:19 +0000.466003][3a72] The result of eglGetDisplay is:
0xb4000073f5d728c0
[1580:325] [2023-02-23 14:24:19 +0000.466797][3a72] The result of creation:
0x725c421800
[1580:325] [2023-02-23 14:24:19 +0000.466867][3a72] The result of
eglCreatePbufferSurface is: 0x725c421b00
[1580:325] [2023-02-23 14:24:19 +0000.466947][3a72] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4
[1580:325] [2023-02-23 14:24:19 +0000.466980][3a72] The source 0 speed:1
[1580:325] [2023-02-23 14:24:19 +0000.467003][3a72] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4,
delay: 0
[1580:325] [2023-02-23 14:24:19 +0000.467030][3a72] CreateDecoderByVideoSource
time:12655319 enter.

[1580:325] [2023-02-23 14:24:19 +0000.467180][3a72] running_decoder_count:0max


count:2
[1580:325] [2023-02-23 14:24:19 +0000.467207][3a72] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7275bca000
[1580:326] [2023-02-23 14:24:19 +0000.467915][1594] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x724e1e3000] Current FFmpeg version git-2021-06-16-
97cea6f

[1580:369] [2023-02-23 14:24:19 +0000.510805][1594] OnStreamInfoFound: video


duration_: 15216
[1580:374] [2023-02-23 14:24:19 +0000.515755][3a72] start decoder
[1580:374] [2023-02-23 14:24:19 +0000.515788][1595] NO get frame from decoder
[1580:374] [2023-02-23 14:24:19 +0000.515821][3a72] CreateDecoderByVideoSource
leave. expire time = 49 ms

[1580:374] [2023-02-23 14:24:19 +0000.515866][3a72] BindInputFilter 0x7319e13b20


this 0x723958a418
[1580:374] [2023-02-23 14:24:19 +0000.515899][3a72] BindInputFilter 0x723958a418
this 0x723958a4d8
[1580:374] [2023-02-23 14:24:19 +0000.515937][3a72] BindInputFilter 0x7319e13b20
this 0x723958a598
[1580:374] [2023-02-23 14:24:19 +0000.515972][3a72] BindInputFilter 0x723958a598
this 0x723958a658
[1580:374] [2023-02-23 14:24:19 +0000.515994][3a72] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4
[1580:374] [2023-02-23 14:24:19 +0000.516027][3a72] BindInputFilter 0x723958a4d8
this 0x723958a718
[1580:374] [2023-02-23 14:24:19 +0000.516058][3a72] BindInputFilter 0x723958a718
this 0x725c496c20
[1580:374] [2023-02-23 14:24:19 +0000.516094][3a72] BindInputFilter 0x723958a658
this 0x723958a7d8
[1580:374] [2023-02-23 14:24:19 +0000.516128][3a72] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_12635202.mp4
[1580:376] [2023-02-23 14:24:19 +0000.517753][1595] NO get frame from decoder
[1580:376] [2023-02-23 14:24:19 +0000.518149][1595] NO get frame from decoder
[1580:376] [2023-02-23 14:24:19 +0000.518206][3a72]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_ConstructMediaComposeFileJni:
[1580:377] [2023-02-23 14:24:19 +0000.518366][3a72] MediaComposeFile time:12655371
enter.

[1580:377] [2023-02-23 14:24:19 +0000.518417][3a72] RecordingSessionInternalSimple:


Create session internal:1080 X 1920 fps:30
[1580:377] [2023-02-23 14:24:19 +0000.518564][3a72] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1580:377] [2023-02-23 14:24:19 +0000.518588][159f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7211c61540
[1580:377] [2023-02-23 14:24:19 +0000.518605][3a72] Recording session using default
bitrate support by app:31457280
[1580:381] [2023-02-23 14:24:19 +0000.523047][159f] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1580:381] [2023-02-23 14:24:19 +0000.523180][3a72] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1580:381] [2023-02-23 14:24:19 +0000.523326][3a72] GetPipeline:
-----------------------------------------
[1580:382] [2023-02-23 14:24:19 +0000.523394][3a72] GetPipeline: source:
0x7319e13900
[1580:382] [2023-02-23 14:24:19 +0000.523421][3a72] GetPipeline: filter: NULLFilter
[1580:382] [2023-02-23 14:24:19 +0000.523444][3a72] GetPipeline: filter: NULLFilter
[1580:382] [2023-02-23 14:24:19 +0000.523467][3a72] GetPipeline: filter: NULLFilter
[1580:382] [2023-02-23 14:24:19 +0000.523489][3a72] GetPipeline: audio filter:
AuidoNULLFilter
[1580:382] [2023-02-23 14:24:19 +0000.523518][3a72] GetPipeline: audio filter:
AuidoNULLFilter
[1580:382] [2023-02-23 14:24:19 +0000.523546][3a72] GetPipeline: audio filter:
AudioNUllFilter
[1580:382] [2023-02-23 14:24:19 +0000.523587][3a72] GetPipeline:
------------------------------------------
[1580:382] [2023-02-23 14:24:19 +0000.523628][3a72] filter: filter pipeline2 update
pattern: 2
[1580:382] [2023-02-23 14:24:19 +0000.523734][1595] NO get frame from decoder
[1580:382] [2023-02-23 14:24:19 +0000.524043][3a72] MediaComposeFile leave. expire
time = 5 ms

[1580:383] [2023-02-23 14:24:19 +0000.524417][3a72] machine model :poco


[1580:383] [2023-02-23 14:24:19 +0000.524451][3a72] Support this machine
model :poco
[1580:383] [2023-02-23 14:24:19 +0000.524487][3a72] global inited! current sdk
version: 07-20-936c45f
[1580:385] [2023-02-23 14:24:19 +0000.526348][147a] haveEnoughProcessedData
internalAudioStream.length: 10
[1580:389] [2023-02-23 14:24:19 +0000.531293][1595] NO get frame from decoder
[1580:394] [2023-02-23 14:24:19 +0000.536210][1595] NO get frame from decoder
[1580:397] [2023-02-23 14:24:19 +0000.538931][1595] NO get frame from decoder
[1580:399] [2023-02-23 14:24:19 +0000.540455][3a72]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_SetComposeFileFdJni:
SetComposeFileFdJni:
[1580:399] [2023-02-23 14:24:19 +0000.540576][3a72] SetComposeFileFd:
MediaComposeFile::SetComposeFileFd: 305
[1580:399] [2023-02-23 14:24:19 +0000.540990][3a72]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_BeginComposeJni:
[1580:399] [2023-02-23 14:24:19 +0000.541030][3a72] BeginCompose: BeginCompose, is
composing 0
[1580:399] [2023-02-23 14:24:19 +0000.541112][159f] start recording, file path:
[1580:399] [2023-02-23 14:24:19 +0000.541245][159f] MP4 session params: fps:30
width:1920 height:1080 file name: fileFd: 305 audio_timescale:44100
video_timescale:90000
[1580:399] [2023-02-23 14:24:19 +0000.541287][159f] 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
[1580:399] [2023-02-23 14:24:19 +0000.541311][159f] MP4 recorder params: fps:30
width:1920 height:1080 audio time scale:44100 video time scale:90000 file name:
fileFD: 305
[1580:400] [2023-02-23 14:24:19 +0000.541338][159f] fd_open successed
handle:0xb4000073f5d500b0
[1580:400] [2023-02-23 14:24:19 +0000.541489][159f] create mp4 file:332
m_fileHandle: 0x724e0e7900
[1580:400] [2023-02-23 14:24:19 +0000.541507][159f] MP4 file: is opened
successfully
[1580:400] [2023-02-23 14:24:19 +0000.541521][159f] setupMediaProcessers:
[1580:400] [2023-02-23 14:24:19 +0000.541535][159f]
RecordingSessionInternalSimple:setup media processers.
[1580:400] [2023-02-23 14:24:19 +0000.541552][159f] construct AAC encoder
[1580:404] [2023-02-23 14:24:19 +0000.546354][15a7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x724e0fb498
[1580:406] [2023-02-23 14:24:19 +0000.547971][1595] NO get frame from decoder
[1580:407] [2023-02-23 14:24:19 +0000.549119][159f] H264Encoder creating:
ultrafast012323
[1580:407] [2023-02-23 14:24:19 +0000.549248][159f] H264Encode::H264Encoder
creating with width:1920 height:1080 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[1580:408] [2023-02-23 14:24:19 +0000.550069][159f] H264Encode::GetMachineModel is
M2012K11AG
[1580:408] [2023-02-23 14:24:19 +0000.550124][159f] H264Encoder machine_mode
is:M2012K11AG
[1580:408] [2023-02-23 14:24:19 +0000.550156][159f] H264Encode::machine size :9
machine_mode:M2012K11AG
[1580:408] [2023-02-23 14:24:19 +0000.550190][159f] H264Encode::machine array
size :22 machine_mode:M2012K11AG
[1580:408] [2023-02-23 14:24:19 +0000.550223][159f] H264Encode::current machine
is :M2012K11AG auto check hw codec decide to use hw codec
[1580:408] [2023-02-23 14:24:19 +0000.550258][159f] setupCompressionSession:
[1580:408] [2023-02-23 14:24:19 +0000.550290][159f] H264Encode::creating hareware
Encoder
[1580:408] [2023-02-23 14:24:19 +0000.550321][159f] AndroidHwAvcEncoder
time:12655402 enter.

[1580:409] [2023-02-23 14:24:19 +0000.550544][159f] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000073f5c80380 address:0x7219acb760
[1580:409] [2023-02-23 14:24:19 +0000.550705][159f] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[1580:409] [2023-02-23 14:24:19 +0000.550748][159f] The video avc hw codec address
is 0x7256b1ee60
[1580:409] [2023-02-23 14:24:19 +0000.550821][159f] AndroidHwAvcEncoder leave.
expire time = 1 ms

[1580:409] [2023-02-23 14:24:19 +0000.550859][159f] RegisterEncodeCompleteCallback


time:12655403 enter.

[1580:409] [2023-02-23 14:24:19 +0000.550955][159f] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[1580:409] [2023-02-23 14:24:19 +0000.551004][159f] InitEncode time:12655403


enter.

[1580:409] [2023-02-23 14:24:19 +0000.551078][159f] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[1580:409] [2023-02-23 14:24:19 +0000.551123][159f] Create time:12655403 enter.

[1580:409] [2023-02-23 14:24:19 +0000.551184][159f] H264Encoder encoderCreate


width:1920 height:1080 fps:30 bitrate:31457280 usingVbrMode:1
[1580:409] [2023-02-23 14:24:19 +0000.551230][159f]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1920, height: 1080,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7256c52880
[1580:410] [2023-02-23 14:24:19 +0000.551484][159f]
supported_type:image/vnd.android.heic
[1580:410] [2023-02-23 14:24:19 +0000.551571][159f] supported_type:video/avc
[1580:410] [2023-02-23 14:24:19 +0000.551610][159f] name:OMX.qcom.video.encoder.avc
mime:video/avc
[1580:410] [2023-02-23 14:24:19 +0000.551681][159f] hwCodecPrefix :OMX.qcom.
[1580:410] [2023-02-23 14:24:19 +0000.551719][159f] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[1580:410] [2023-02-23 14:24:19 +0000.551782][159f] mediacodec_createCodecByName
time:12655404 enter.

[1580:410] [2023-02-23 14:24:19 +0000.551819][159f] WrapAndroidMediaCodec


time:12655404 enter.

[1580:410] [2023-02-23 14:24:19 +0000.551983][159f] WrapAndroidMediaCodec leave.


expire time = 0 ms

[1580:435] [2023-02-23 14:24:19 +0000.576752][159f] mediacodec_createCodecByName


leave. expire time = 25 ms

[1580:435] [2023-02-23 14:24:19 +0000.576809][159f] WrapAndroidMediaFromat


time:12655429 enter.

[1580:435] [2023-02-23 14:24:19 +0000.576856][159f] WrapAndroidMediaFromat leave.


expire time = 0 ms

[1580:477] [2023-02-23 14:24:19 +0000.618956][159f] Destroy time:12655471 enter.

[1580:477] [2023-02-23 14:24:19 +0000.619009][159f] WrapAndroidMediaFromat::


Destroy
[1580:477] [2023-02-23 14:24:19 +0000.619026][159f] Destroy leave. expire time = 0
ms

[1580:477] [2023-02-23 14:24:19 +0000.619060][159f] ~WrapAndroidMediaFromat


time:12655471 enter.

[1580:477] [2023-02-23 14:24:19 +0000.619075][159f] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[1580:477] [2023-02-23 14:24:19 +0000.619090][159f] Create leave. expire time = 68


ms

[1580:477] [2023-02-23 14:24:19 +0000.619112][159f] isSemiPlanarSupport


time:12655471 enter.

[1580:477] [2023-02-23 14:24:19 +0000.619140][159f] H264Encoder isSemiPlanarSupport


[1580:477] [2023-02-23 14:24:19 +0000.619171][159f] isSemiPlanarSupport leave.
expire time = 0 ms

[1580:477] [2023-02-23 14:24:19 +0000.619198][159f] creat hw H264Encoder success,


isSemiPlanar:1
[1580:477] [2023-02-23 14:24:19 +0000.619262][159f] InitEncode leave. expire time
= 68 ms

[1580:477] [2023-02-23 14:24:19 +0000.619285][159f] H264Encode::created Encoder


[1580:477] [2023-02-23 14:24:19 +0000.619299][159f] H264Encode:: H264 encoder
created.
[1580:477] [2023-02-23 14:24:19 +0000.619319][159f] H264 encoder created.
[1580:478] [2023-02-23 14:24:19 +0000.619366][159f]
RecordingSessionInternalSimple:created avc encoder avc: 0x724e085280
[1580:478] [2023-02-23 14:24:19 +0000.619387][159f] setOutput:
[1580:478] [2023-02-23 14:24:19 +0000.619405][159f]
RecordingSessionInternalSimple:encoder set output to muxer!
[1580:478] [2023-02-23 14:24:19 +0000.619420][159f] request a key frame
[1580:478] [2023-02-23 14:24:19 +0000.619433][159f] H264Encode:: request a key
frame
[1580:478] [2023-02-23 14:24:19 +0000.620314][159f] setDisplayRotate :90
[1580:479] [2023-02-23 14:24:19 +0000.620347][159f] 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
[1580:482] [2023-02-23 14:24:19 +0000.623898][15a2] MediaComposeFile
WriteVideoFrametoMP4_w -> pushExtraYUVFrame
[1580:484] [2023-02-23 14:24:19 +0000.625541][15a2]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[1580:574] [2023-02-23 14:24:19 +0000.715730][15a7] add aac audio track with id:1
[1580:574] [2023-02-23 14:24:19 +0000.715885][15a7] audio start ts:0
[1580:574] [2023-02-23 14:24:19 +0000.715918][15a7] the audio frame has been
written into MP4 file
[1580:576] [2023-02-23 14:24:19 +0000.717375][159f] setDisplayRotate :90
[1580:576] [2023-02-23 14:24:19 +0000.717424][159f] 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
[1580:585] [2023-02-23 14:24:19 +0000.726595][15a2] h264 add frame header cdr flag
[1580:585] [2023-02-23 14:24:19 +0000.727048][15a2] h264 add frame header cdr flag
[1580:586] [2023-02-23 14:24:19 +0000.727508][15a2] Received key frame:10
[1580:586] [2023-02-23 14:24:19 +0000.727552][15a2] H264Encode:: get a sps pps
header!headerSize:32
[1580:586] [2023-02-23 14:24:19 +0000.727644][15a7] get the H.264 SPS parameter
[1580:586] [2023-02-23 14:24:19 +0000.728002][15a7] add video track with id:2
[1580:587] [2023-02-23 14:24:19 +0000.729175][15a7] get the H.264 PPS parameter
[1580:589] [2023-02-23 14:24:19 +0000.730397][15a7] get the H.264 IDR frame
[1580:589] [2023-02-23 14:24:19 +0000.730454][15a7] resss:true
[1580:589] [2023-02-23 14:24:19 +0000.730476][15a7] video start ts:10
[1580:589] [2023-02-23 14:24:19 +0000.730591][15a7] the video frame has been
written into MP4 file
[1580:641] [2023-02-23 14:24:19 +0000.783030][15a2] DTS queue for
Generator:0x724e0fb8b8 333 364 398 430 471 501 525 561
[1580:670] [2023-02-23 14:24:19 +0000.811627][15a2] Push an pts:764 to dts queue.
[1580:695] [2023-02-23 14:24:19 +0000.836639][15a6] audio_frame_list_ empty
[1580:718] [2023-02-23 14:24:19 +0000.859747][15a2] last dts:731 currentPts:764
ppsOrSPS:0 queue length:7
[1580:784] [2023-02-23 14:24:19 +0000.926058][15a5] Error(video_source.cc:430):
wait decoder a frame: 0
[1580:785] [2023-02-23 14:24:19 +0000.926668][159f] setDisplayRotate :90
[1580:785] [2023-02-23 14:24:19 +0000.926769][159f] 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
[1580:803] [2023-02-23 14:24:19 +0000.945273][15a2] DTS queue for
Generator:0x724e0fb8b8 1164 1197 1232 1263 1299 1327 1367 1404
[1580:840] [2023-02-23 14:24:19 +0000.982291][15a6] audio frame wait video
frame.last_video_timestamp:1793 last_audio_timestamp:1995.37
[1580:841] [2023-02-23 14:24:19 +0000.982944][15a2] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:1592
[1580:841] [2023-02-23 14:24:19 +0000.982996][15a2] push video frame to H264
encoder. (100 frame for one log)

[1580:841] [2023-02-23 14:24:19 +0000.983028][15a2] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080
[1580:841] [2023-02-23 14:24:19 +0000.983044][15a2] H264Encode::push video frame to
H264 encoder, using hw H264:1 width:1920 height:1080 pts:1592(100 frame for one
log)

[1580:841] [2023-02-23 14:24:19 +0000.983066][15a2] The input pts:1592 fps:30


[1580:854] [2023-02-23 14:24:19 +0000.995417][15a2] SendFrame
encodedImage._timeStamp:1436encodedImage->_length:30416
[1580:863] [2023-02-23 14:24:20 +0000.4509][15a2] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:1463 pts:1463
[1580:889] [2023-02-23 14:24:20 +0000.30843][15a2] H264Encode::H264SWEncoder get
callback, length:24224 type:1 nalType:1length:24220
[1580:930] [2023-02-23 14:24:20 +0000.71540][15a2] Push an pts:2097 to dts queue.
[1580:969] [2023-02-23 14:24:20 +0000.111220][15a2] DTS queue for
Generator:0x724e0fb8b8 1999 2033 2069 2097 2129 2163 2194 2227
[1580:996] [2023-02-23 14:24:20 +0000.137827][159f] setDisplayRotate :90
[1580:996] [2023-02-23 14:24:20 +0000.137879][159f] 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
[1581:003] [2023-02-23 14:24:20 +0000.145188][15a2] h264 add frame header cdr flag
[1581:004] [2023-02-23 14:24:20 +0000.145664][15a2] Received key frame:1999
[1581:006] [2023-02-23 14:24:20 +0000.147831][15a7] get the H.264 IDR frame
[1581:008] [2023-02-23 14:24:20 +0000.150053][15a2] last dts:2069 currentPts:2097
ppsOrSPS:0 queue length:6
[1581:033] [2023-02-23 14:24:20 +0000.175013][15a5] Error(video_source.cc:430):
wait decoder a frame: 0
[1581:036] [2023-02-23 14:24:20 +0000.177939][15a5] webrtc common_video plane
old ..... (1/1000) new: 9001 delete: 8964 diff: 37
[1581:096] [2023-02-23 14:24:20 +0000.238285][15a6] audio_frame_list_ empty
[1581:133] [2023-02-23 14:24:20 +0000.274518][15a2] DTS queue for
Generator:0x724e0fb8b8 2799 2829 2863 2899 2932 2961 3000 3032 3069
[1581:186] [2023-02-23 14:24:20 +0000.327818][159f] setDisplayRotate :90
[1581:186] [2023-02-23 14:24:20 +0000.327882][159f] 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
[1581:205] [2023-02-23 14:24:20 +0000.347136][15a2] Push an pts:3426 to dts queue.
[1581:246] [2023-02-23 14:24:20 +0000.387580][15a2] last dts:3397 currentPts:3426
ppsOrSPS:0 queue length:7
[1581:272] [2023-02-23 14:24:20 +0000.413606][15a5] Error(video_source.cc:430):
wait decoder a frame: 0
[1581:284] [2023-02-23 14:24:20 +0000.426248][15a2] DTS queue for
Generator:0x724e0fb8b8 3627 3661 3693 3727 3770 3801 3827 3860 3899
[1581:358] [2023-02-23 14:24:20 +0000.499843][15a2] h264 add frame header cdr flag
[1581:358] [2023-02-23 14:24:20 +0000.500182][15a2] Received key frame:3999
[1581:364] [2023-02-23 14:24:20 +0000.506263][15a7] get the H.264 IDR frame
[1581:436] [2023-02-23 14:24:20 +0000.577397][15a2] DTS queue for
Generator:0x724e0fb8b8 4460 4494 4530 4561 4591 4627 4663 4694
[1581:450] [2023-02-23 14:24:20 +0000.591873][15a2] Push an pts:4761 to dts queue.
[1581:481] [2023-02-23 14:24:20 +0000.622527][15a2] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:4962
[1581:481] [2023-02-23 14:24:20 +0000.622689][15a2] push video frame to H264
encoder. (100 frame for one log)

[1581:481] [2023-02-23 14:24:20 +0000.622743][15a2] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1581:481] [2023-02-23 14:24:20 +0000.622766][15a2] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:4962(100 frame for one
log)
[1581:481] [2023-02-23 14:24:20 +0000.622798][15a2] The input pts:4962 fps:30
[1581:503] [2023-02-23 14:24:20 +0000.644362][15a5] Error(video_source.cc:430):
wait decoder a frame: 19
[1581:506] [2023-02-23 14:24:20 +0000.647934][15a2] SendFrame
encodedImage._timeStamp:4761encodedImage->_length:20064
[1581:506] [2023-02-23 14:24:20 +0000.648023][15a2] last dts:4729 currentPts:4761
ppsOrSPS:0 queue length:9
[1581:511] [2023-02-23 14:24:20 +0000.652594][15a2] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:4828 pts:4828
[1581:540] [2023-02-23 14:24:20 +0000.681495][15a2] H264Encode::H264SWEncoder get
callback, length:18688 type:1 nalType:1length:18684
[1581:601] [2023-02-23 14:24:20 +0000.742393][15a2] DTS queue for
Generator:0x724e0fb8b8 5258 5292 5327 5360 5393 5428 5459 5492 5525 5559
[1581:694] [2023-02-23 14:24:20 +0000.835370][15a2] Push an pts:6093 to dts queue.
[1581:730] [2023-02-23 14:24:20 +0000.871954][15a6] FilterPipeline2::OnAudioFrame
pts 301946 last_audio_timestamp_ 6846.85
[1581:730] [2023-02-23 14:24:20 +0000.872307][15a2] h264 add frame header cdr flag
[1581:731] [2023-02-23 14:24:20 +0000.872440][15a2] Received key frame:5994
[1581:731] [2023-02-23 14:24:20 +0000.873329][15a7] get the H.264 IDR frame
[1581:735] [2023-02-23 14:24:20 +0000.876415][15a2] last dts:6066 currentPts:6093
ppsOrSPS:0 queue length:7
[1581:735] [2023-02-23 14:24:20 +0000.877168][15a2] DTS queue for
Generator:0x724e0fb8b8 6125 6164 6198 6228 6265 6291 6324
[1581:747] [2023-02-23 14:24:20 +0000.889120][15a5] Error(video_source.cc:430):
wait decoder a frame: 3
[1581:760] [2023-02-23 14:24:20 +0000.902171][15a5] webrtc common_video plane
old ..... (1/1000) new: 10001 delete: 9948 diff: 53
[1581:878] [2023-02-23 14:24:21 +0000.20095][15a2] DTS queue for
Generator:0x724e0fb8b8 6925 6962 6991 7025 7066 7090 7125 7158 7195
[1581:913] [2023-02-23 14:24:21 +0000.54906][15a2] Push an pts:7427 to dts queue.
[1581:994] [2023-02-23 14:24:21 +0000.135502][15a2] last dts:7390 currentPts:7427
ppsOrSPS:0 queue length:8
[1582:019] [2023-02-23 14:24:21 +0000.160831][147b] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1582:019] [2023-02-23 14:24:21 +0000.160955][147b] _deviceSampleRate:48000

[1582:020] [2023-02-23 14:24:21 +0000.162155][147a] Run AGC when audioType = 0


[1582:020] [2023-02-23 14:24:21 +0000.162222][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1582:051] [2023-02-23 14:24:21 +0000.193045][15a2] DTS queue for
Generator:0x724e0fb8b8 7758 7793 7827 7862 7895 7924 7961 7994 8025
[1582:061] [2023-02-23 14:24:21 +0000.203228][159f] setDisplayRotate :90
[1582:061] [2023-02-23 14:24:21 +0000.203315][159f] 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
[1582:063] [2023-02-23 14:24:21 +0000.205251][15a5] Error(video_source.cc:430):
wait decoder a frame: 1
[1582:073] [2023-02-23 14:24:21 +0000.215191][159f] setDisplayRotate :90
[1582:073] [2023-02-23 14:24:21 +0000.215242][159f] 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
[1582:096] [2023-02-23 14:24:21 +0000.237903][159f] setDisplayRotate :90
[1582:096] [2023-02-23 14:24:21 +0000.237950][159f] 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
[1582:099] [2023-02-23 14:24:21 +0000.241356][15a2] h264 add frame header cdr flag
[1582:100] [2023-02-23 14:24:21 +0000.242102][15a2] Received key frame:7994
[1582:104] [2023-02-23 14:24:21 +0000.246023][15a7] get the H.264 IDR frame
[1582:108] [2023-02-23 14:24:21 +0000.250292][15a2] SendFrame
encodedImage._timeStamp:8096encodedImage->_length:23184
[1582:109] [2023-02-23 14:24:21 +0000.250767][15a2] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:8325
[1582:109] [2023-02-23 14:24:21 +0000.250803][15a2] push video frame to H264
encoder. (100 frame for one log)

[1582:109] [2023-02-23 14:24:21 +0000.250816][15a2] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1582:109] [2023-02-23 14:24:21 +0000.250827][15a2] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:8325(100 frame for one
log)

[1582:109] [2023-02-23 14:24:21 +0000.250845][15a2] The input pts:8325 fps:30


[1582:155] [2023-02-23 14:24:21 +0000.296908][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1582:187] [2023-02-23 14:24:21 +0000.329299][159f] setDisplayRotate :90
[1582:188] [2023-02-23 14:24:21 +0000.329368][159f] 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
[1582:193] [2023-02-23 14:24:21 +0000.335061][15a2] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:8191 pts:8191
[1582:200] [2023-02-23 14:24:21 +0000.341448][159f] setDisplayRotate :90
[1582:200] [2023-02-23 14:24:21 +0000.341496][159f] 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
[1582:214] [2023-02-23 14:24:21 +0000.355556][15a2] H264Encode::H264SWEncoder get
callback, length:31344 type:1 nalType:1length:31340
[1582:249] [2023-02-23 14:24:21 +0000.391272][15a2] Push an pts:8760 to dts queue.
[1582:262] [2023-02-23 14:24:21 +0000.403438][15a2] DTS queue for
Generator:0x724e0fb8b8 8594 8626 8656 8688 8728 8760 8789 8831
[1582:267] [2023-02-23 14:24:21 +0000.409162][15a6] audio_frame_list_ empty
[1582:297] [2023-02-23 14:24:21 +0000.438436][15a2] last dts:8728 currentPts:8760
ppsOrSPS:0 queue length:9
[1582:396] [2023-02-23 14:24:21 +0000.537642][159f] setDisplayRotate :90
[1582:396] [2023-02-23 14:24:21 +0000.537692][159f] 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
[1582:398] [2023-02-23 14:24:21 +0000.539978][15a5] Error(video_source.cc:430):
wait decoder a frame: 0
[1582:447] [2023-02-23 14:24:21 +0000.589169][15a2] DTS queue for
Generator:0x724e0fb8b8 9428 9456 9489 9520 9562 9587 9621 9657
[1582:514] [2023-02-23 14:24:21 +0000.655893][15a2] Push an pts:10088 to dts queue.
[1582:555] [2023-02-23 14:24:21 +0000.697339][15a2] h264 add frame header cdr flag
[1582:556] [2023-02-23 14:24:21 +0000.697507][15a2] Received key frame:9990
[1582:557] [2023-02-23 14:24:21 +0000.698968][15a7] get the H.264 IDR frame
[1582:570] [2023-02-23 14:24:21 +0000.712115][15a2] last dts:10059 currentPts:10088
ppsOrSPS:0 queue length:9
[1582:594] [2023-02-23 14:24:21 +0000.735483][159f] setDisplayRotate :90
[1582:594] [2023-02-23 14:24:21 +0000.735541][159f] 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
[1582:601] [2023-02-23 14:24:21 +0000.742885][15a2] DTS queue for
Generator:0x724e0fb8b8 10253 10289 10323 10357 10386 10422 10454
[1582:628] [2023-02-23 14:24:21 +0000.769550][15a5] Error(video_source.cc:430):
wait decoder a frame: 0
[1582:645] [2023-02-23 14:24:21 +0000.786369][15a5] webrtc common_video plane
old ..... (1/1000) new: 11001 delete: 10952 diff: 49
[1582:740] [2023-02-23 14:24:21 +0000.881648][15a2] DTS queue for
Generator:0x724e0fb8b8 11054 11087 11120 11158 11187 11217 11252 11293 11322
[1582:757] [2023-02-23 14:24:21 +0000.898398][15a2] Push an pts:11426 to dts queue.
[1582:805] [2023-02-23 14:24:21 +0000.946398][15a2] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:11687
[1582:805] [2023-02-23 14:24:21 +0000.946490][15a2] push video frame to H264
encoder. (100 frame for one log)

[1582:805] [2023-02-23 14:24:21 +0000.946529][15a2] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1582:805] [2023-02-23 14:24:21 +0000.946547][15a2] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:11687(100 frame for one
log)

[1582:805] [2023-02-23 14:24:21 +0000.946574][15a2] The input pts:11687 fps:30


[1582:807] [2023-02-23 14:24:21 +0000.949288][15a2] SendFrame
encodedImage._timeStamp:11426encodedImage->_length:27136
[1582:808] [2023-02-23 14:24:21 +0000.949372][15a2] last dts:11388 currentPts:11426
ppsOrSPS:0 queue length:9
[1582:836] [2023-02-23 14:24:21 +0000.977495][15a2] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:11557 pts:11557
[1582:841] [2023-02-23 14:24:21 +0000.983200][15a5] Error(video_source.cc:430):
wait decoder a frame: 0
[1582:853] [2023-02-23 14:24:21 +0000.994566][15a2] H264Encode::H264SWEncoder get
callback, length:33024 type:1 nalType:1length:33020
[1582:885] [2023-02-23 14:24:22 +0000.27077][15a2] DTS queue for
Generator:0x724e0fb8b8 11886 11920 11956 11988 12019 12059 12082 12117 12154
[1582:903] [2023-02-23 14:24:22 +0000.45199][15a2] h264 add frame header cdr flag
[1582:904] [2023-02-23 14:24:22 +0000.45376][15a2] Received key frame:11988
[1582:909] [2023-02-23 14:24:22 +0000.50705][15a7] get the H.264 IDR frame
[1582:983] [2023-02-23 14:24:22 +0000.124751][15a2] Push an pts:12752 to dts queue.
[1583:028] [2023-02-23 14:24:22 +0000.169406][15a2] DTS queue for
Generator:0x724e0fb8b8 12752 12783 12819 12857 12890 12919
[1583:031] [2023-02-23 14:24:22 +0000.172708][15a2] last dts:12726 currentPts:12752
ppsOrSPS:0 queue length:7
[1583:114] [2023-02-23 14:24:22 +0000.255998][15a5] Error(video_source.cc:430):
wait decoder a frame: 0
[1583:153] [2023-02-23 14:24:22 +0000.294377][159f] setDisplayRotate :90
[1583:153] [2023-02-23 14:24:22 +0000.294430][159f] 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
[1583:166] [2023-02-23 14:24:22 +0000.307581][15a5] FilterPipeline2::OnVideoFrame
pts 1246500 last_video_timestamp_ 13850
[1583:178] [2023-02-23 14:24:22 +0000.319677][15a2] DTS queue for
Generator:0x724e0fb8b8 13583 13613 13659 13684 13721 13760
[1583:207] [2023-02-23 14:24:22 +0000.348615][159f] setDisplayRotate :90
[1583:207] [2023-02-23 14:24:22 +0000.348700][159f] 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
[1583:217] [2023-02-23 14:24:22 +0000.359148][159f] setDisplayRotate :90
[1583:217] [2023-02-23 14:24:22 +0000.359206][159f] 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
[1583:229] [2023-02-23 14:24:22 +0000.370604][15a2] Push an pts:14088 to dts queue.
[1583:265] [2023-02-23 14:24:22 +0000.406897][159f] setDisplayRotate :90
[1583:265] [2023-02-23 14:24:22 +0000.406930][159f] 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
[1583:271] [2023-02-23 14:24:22 +0000.412983][15a2] h264 add frame header cdr flag
[1583:271] [2023-02-23 14:24:22 +0000.413226][15a2] Received key frame:13988
[1583:273] [2023-02-23 14:24:22 +0000.414908][15a7] get the H.264 IDR frame
[1583:275] [2023-02-23 14:24:22 +0000.417040][15a2] last dts:14055 currentPts:14088
ppsOrSPS:0 queue length:7
[1583:293] [2023-02-23 14:24:22 +0000.434541][159f] setDisplayRotate :90
[1583:293] [2023-02-23 14:24:22 +0000.434646][159f] 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
[1583:310] [2023-02-23 14:24:22 +0000.451806][159f] setDisplayRotate :90
[1583:310] [2023-02-23 14:24:22 +0000.451984][159f] 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
[1583:336] [2023-02-23 14:24:22 +0000.477704][15a2] DTS queue for
Generator:0x724e0fb8b8 14384 14422 14451 14486 14520 14548 14583
[1583:366] [2023-02-23 14:24:22 +0000.507540][159f] setDisplayRotate :90
[1583:366] [2023-02-23 14:24:22 +0000.507645][159f] 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
[1583:377] [2023-02-23 14:24:22 +0000.519219][159f] setDisplayRotate :90
[1583:377] [2023-02-23 14:24:22 +0000.519271][159f] 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
[1583:380] [2023-02-23 14:24:22 +0000.522156][1595] av_read_frame AVERROR_EOF
[1583:382] [2023-02-23 14:24:22 +0000.524285][15a5] Error(video_source.cc:430):
wait decoder a frame: 0
[1583:404] [2023-02-23 14:24:22 +0000.546090][159f] setDisplayRotate :90
[1583:404] [2023-02-23 14:24:22 +0000.546147][159f] 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
[1583:405] [2023-02-23 14:24:22 +0000.546783][15a6] audio_frame_list_ empty
[1583:410] [2023-02-23 14:24:22 +0000.552071][15a2] SendFrame
encodedImage._timeStamp:14755encodedImage->_length:23136
[1583:414] [2023-02-23 14:24:22 +0000.555407][159f] setDisplayRotate :90
[1583:414] [2023-02-23 14:24:22 +0000.555816][159f] 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
[1583:417] [2023-02-23 14:24:22 +0000.558699][15a2] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1920 height:1080input pixel type:0 dataType:0 stride:1920
streamId:1 timestamp:15052
[1583:417] [2023-02-23 14:24:22 +0000.558765][15a2] push video frame to H264
encoder. (100 frame for one log)

[1583:417] [2023-02-23 14:24:22 +0000.558778][15a2] push video frame to H264


encoder. (100 frame for one log) used width:1920 height:1080

[1583:417] [2023-02-23 14:24:22 +0000.558790][15a2] H264Encode::push video frame to


H264 encoder, using hw H264:1 width:1920 height:1080 pts:15052(100 frame for one
log)

[1583:417] [2023-02-23 14:24:22 +0000.558808][15a2] The input pts:15052 fps:30


[1583:422] [2023-02-23 14:24:22 +0000.564186][1595] OnReceiveEOF:
[1583:423] [2023-02-23 14:24:22 +0000.564661][1595] OnDecoderEOF time:12658417
enter.
[1583:423] [2023-02-23 14:24:22 +0000.564766][1595] OnDecoderEOF leave. expire
time = 0 ms

[1583:423] [2023-02-23 14:24:22 +0000.564777][1593] CleanUp time:12658417 enter.

[1583:423] [2023-02-23 14:24:22 +0000.564839][1595] OnDecoderFinished:


OnDecoderFinished total decoder frames:457 this:0x7319e13900
[1583:425] [2023-02-23 14:24:22 +0000.566496][15a5] webrtc common_video plane
old ..... (1/1000) new: 12001 delete: 11980 diff: 21
[1583:425] [2023-02-23 14:24:22 +0000.566510][15a6] PullAudioFrame: PullFrame audio
finished.
[1583:425] [2023-02-23 14:24:22 +0000.566681][15a6]
Warning(media_filter_composefile.cc:268): pull audio frame failed:8
[1583:425] [2023-02-23 14:24:22 +0000.566707][15a6] OnAudioTimer: OnAudioTimer
return
[1583:430] [2023-02-23 14:24:22 +0000.572006][15a5]
Warning(media_filter_composefile.cc:321): pull video frame failed:8
[1583:430] [2023-02-23 14:24:22 +0000.572135][15a5] OnVideoTimer: OnVideoTimer
EndComposeFile
[1583:430] [2023-02-23 14:24:22 +0000.572154][15a5] EndComposeFile:
EndComposeFile, is composing 1
[1583:438] [2023-02-23 14:24:22 +0000.579574][1593] CleanUp leave. expire time =
15 ms

[1583:438] [2023-02-23 14:24:22 +0000.579640][1593] clean up


[1583:438] [2023-02-23 14:24:22 +0000.579687][1593] running_decoder_count:0max
count:2
[1583:439] [2023-02-23 14:24:22 +0000.580886][15a2] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:14918 pts:14918
[1583:440] [2023-02-23 14:24:22 +0000.582037][15a2]
MediaComposeFile::WriteVideoFrametoMP4_w quitwrite mp4 sum frames:457
[1583:440] [2023-02-23 14:24:22 +0000.582119][15a2]
MediaComposeFile::WriteVideoFrametoMP4_w quit this:0x7326de1000
[1583:442] [2023-02-23 14:24:22 +0000.583738][15a4]
MediaComposeFile::WriteAudioFrametoMP4_w quit
[1583:442] [2023-02-23 14:24:22 +0000.583777][15a4]
MediaComposeFile::WriteAudioFrametoMP4_w real quit
[1583:442] [2023-02-23 14:24:22 +0000.584093][159f] stop recording
[1583:442] [2023-02-23 14:24:22 +0000.584157][159f]
RecordingSessionInternalSimple:destroy media processers
[1583:442] [2023-02-23 14:24:22 +0000.584196][159f] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[1583:442] [2023-02-23 14:24:22 +0000.584231][159f] H264Encode::flushing hareware
Encoder
[1583:443] [2023-02-23 14:24:22 +0000.584398][159f] Flush time:12658437 enter.

[1583:443] [2023-02-23 14:24:22 +0000.584472][159f] H264Encoder encoder flush


[1583:443] [2023-02-23 14:24:22 +0000.584510][159f] flush output queue
[1583:467] [2023-02-23 14:24:22 +0000.608563][159f] H264Encode::H264SWEncoder get
callback, length:30864 type:1 nalType:1length:30860
[1583:771] [2023-02-23 14:24:22 +0000.913072][159f] Flush leave. expire time = 328
ms

[1583:771] [2023-02-23 14:24:22 +0000.913331][159f] ~H264EncodeWrap:


[1583:772] [2023-02-23 14:24:22 +0000.913444][159f] ~H264Encode:
[1583:772] [2023-02-23 14:24:22 +0000.913504][159f] teardownCompressionSession:
H264Encode::destroying Encoder
[1583:772] [2023-02-23 14:24:22 +0000.913563][159f] Release time:12658766 enter.
[1583:772] [2023-02-23 14:24:22 +0000.913780][159f] Release:
MediaCodecVideoEncoder::Release _inited:1
[1583:772] [2023-02-23 14:24:22 +0000.913894][159f] Destroy time:12658766 enter.

[1583:772] [2023-02-23 14:24:22 +0000.913957][159f] H264Encoder encoderDestroy


[1583:772] [2023-02-23 14:24:22 +0000.914015][159f]
AndroidMediaCodecVideoEncoder::release env: 0x724e085500
[1583:772] [2023-02-23 14:24:22 +0000.914111][159f]
AndroidMediaCodecVideoEncoder::Destroy
[1583:811] [2023-02-23 14:24:22 +0000.953301][159f] Destroy leave. expire time =
40 ms

[1583:812] [2023-02-23 14:24:22 +0000.953531][159f] Release leave. expire time =


40 ms

[1583:812] [2023-02-23 14:24:22 +0000.953632][159f] ~AndroidHwAvcEncoder


time:12658806 enter.

[1583:812] [2023-02-23 14:24:22 +0000.953839][159f] Release time:12658806 enter.

[1583:812] [2023-02-23 14:24:22 +0000.953924][159f] Release:


MediaCodecVideoEncoder:: has been released before, just return
[1583:812] [2023-02-23 14:24:22 +0000.953987][159f] Release leave. expire time = 0
ms

[1583:812] [2023-02-23 14:24:22 +0000.954060][159f] ~AndroidMediaCodecVideoEncoder


[1583:812] [2023-02-23 14:24:22 +0000.954119][159f] ~WrapAndroidMediaCodec
time:12658806 enter.

[1583:812] [2023-02-23 14:24:22 +0000.954163][159f] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[1583:812] [2023-02-23 14:24:22 +0000.954203][159f] video hevc hw codec


destructor:0x7256b1ee60

[1583:812] [2023-02-23 14:24:22 +0000.954283][159f] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[1583:813] [2023-02-23 14:24:22 +0000.954353][159f] teardownCompressionSession:


H264Encode::destroyed Encoder
[1583:813] [2023-02-23 14:24:22 +0000.954421][159f]
RecordingSessionInternalSimple:destroy aac encoder output!
[1583:813] [2023-02-23 14:24:22 +0000.954461][159f] AACSWEncode destructor
[1583:815] [2023-02-23 14:24:22 +0000.957187][15a7] fd_close successed!
[1583:824] [2023-02-23 14:24:22 +0000.965652][15a7] MP4 close file successfully
[1583:824] [2023-02-23 14:24:22 +0000.965753][15a7] Recording session Internal:
notify recording ok
[1583:824] [2023-02-23 14:24:22 +0000.965791][15a7] onRecordingOk: Recording Ok,
compose use time: 3425, averagefps 0
[1583:824] [2023-02-23 14:24:22 +0000.965832][15a7] OnReceiveEOF:
[1583:826] [2023-02-23 14:24:22 +0000.967836][15a5] OnVideoTimer: OnVideoTimer
return
[1583:902] [2023-02-23 14:24:23 +0000.43678][147a] haveEnoughProcessedData
internalAudioStream.length: 20
[1584:022] [2023-02-23 14:24:23 +0000.163520][147a] Run AGC when audioType = 0
[1585:617] [2023-02-23 14:24:24 +0000.759221][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1586:022] [2023-02-23 14:24:25 +0000.163533][147a] Run AGC when audioType = 0
[1586:022] [2023-02-23 14:24:25 +0000.163792][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1587:342] [2023-02-23 14:24:26 +0000.484172][147a] haveEnoughProcessedData
internalAudioStream.length: 10
[1588:025] [2023-02-23 14:24:27 +0000.167091][147a] Run AGC when audioType = 0
[1589:064] [2023-02-23 14:24:28 +0000.206283][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1590:022] [2023-02-23 14:24:29 +0000.163515][147a] Run AGC when audioType = 0
[1590:022] [2023-02-23 14:24:29 +0000.163867][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1590:789] [2023-02-23 14:24:29 +0000.931204][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1592:020] [2023-02-23 14:24:31 +0000.161532][147b] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1592:020] [2023-02-23 14:24:31 +0000.161820][147b] _deviceSampleRate:48000

[1592:021] [2023-02-23 14:24:31 +0000.162896][147a] Run AGC when audioType = 0


[1592:517] [2023-02-23 14:24:31 +0000.659030][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1594:020] [2023-02-23 14:24:33 +0000.162196][147a] Run AGC when audioType = 0
[1594:021] [2023-02-23 14:24:33 +0000.162668][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1594:229] [2023-02-23 14:24:33 +0000.370993][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1595:944] [2023-02-23 14:24:35 +0000.85543][147a] haveEnoughProcessedData
internalAudioStream.length: 10
[1596:021] [2023-02-23 14:24:35 +0000.162659][147a] Run AGC when audioType = 0
[1597:659] [2023-02-23 14:24:36 +0000.800692][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1598:022] [2023-02-23 14:24:37 +0000.163935][147a] Run AGC when audioType = 0
[1598:023] [2023-02-23 14:24:37 +0000.164532][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1598:635] [2023-02-23 14:24:37 +0000.777294][3a72]
Java_com_xiaomi_recordmediaprocess_MediaComposeFile_DestructMediaComposeFileJni:
[1598:636] [2023-02-23 14:24:37 +0000.777508][3a72] ~MediaComposeFile time:12673630
enter.

[1598:636] [2023-02-23 14:24:37 +0000.777549][3a72] CancelCompose: CancelCompose,


is composing 0
[1598:636] [2023-02-23 14:24:37 +0000.777750][159f] stop recording
[1598:636] [2023-02-23 14:24:37 +0000.777824][159f] we have stopped recording
before
[1598:637] [2023-02-23 14:24:37 +0000.778644][3a72] ~MediaComposeFile leave.
expire time = 1 ms

[1598:637] [2023-02-23 14:24:37 +0000.778783][3a72]


~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[1598:638] [2023-02-23 14:24:37 +0000.779473][3a72] global uninited!
[1598:638] [2023-02-23 14:24:37 +0000.779589][3a72]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[1598:638] [2023-02-23 14:24:37 +0000.779678][3a72] ~MediaFilterGraph:
MediaFilterGraph destruct
[1598:638] [2023-02-23 14:24:37 +0000.779721][3a72] RemoveVideoBackGroud: hava not
add video backgroud
[1598:638] [2023-02-23 14:24:37 +0000.779780][3a72] UnbindInputFilter 0x723958a718
this 0x725c496c20
[1598:638] [2023-02-23 14:24:37 +0000.779831][3a72] ClearAllSource: remove source
filter, sourceid: 0x7319e13900
[1598:638] [2023-02-23 14:24:37 +0000.779865][3a72] DestoryDecoderByVideoSource
time:12673632 enter.

[1598:638] [2023-02-23 14:24:37 +0000.779890][3a72] ~VideoBindDecoder time:12673632


enter.

[1598:639] [2023-02-23 14:24:37 +0000.781178][3a72] CleanUp time:12673633 enter.

[1598:641] [2023-02-23 14:24:37 +0000.783133][3a72] CleanUp leave. expire time = 2


ms

[1598:641] [2023-02-23 14:24:37 +0000.783195][3a72] CleanUp time:12673635 enter.

[1598:642] [2023-02-23 14:24:37 +0000.784248][3a72] CleanUp leave. expire time = 1


ms

[1598:644] [2023-02-23 14:24:37 +0000.785574][3a72] ~VideoBindDecoder leave.


expire time = 6 ms

[1598:644] [2023-02-23 14:24:37 +0000.785642][3a72] DestoryDecoderByVideoSource


leave. expire time = 6 ms

[1598:644] [2023-02-23 14:24:37 +0000.785695][3a72] UnbindInputFilter 0x723958a4d8


this 0x723958a718
[1598:644] [2023-02-23 14:24:37 +0000.785806][3a72] UnbindInputFilter 0x723958a418
this 0x723958a4d8
[1598:644] [2023-02-23 14:24:37 +0000.785856][3a72] UnbindInputFilter 0x7319e13b20
this 0x723958a418
[1598:644] [2023-02-23 14:24:37 +0000.785919][3a72] UnbindInputFilter 0x723958a658
this 0x723958a7d8
[1598:645] [2023-02-23 14:24:37 +0000.787201][3a72] UnbindInputFilter 0x723958a598
this 0x723958a658
[1598:645] [2023-02-23 14:24:37 +0000.787280][3a72] UnbindInputFilter 0x7319e13b20
this 0x723958a598
[1598:646] [2023-02-23 14:24:37 +0000.787380][3a72] ~GLESContext:
[1598:646] [2023-02-23 14:24:37 +0000.788039][3a72] GLESContext destruct finish.
[1598:646] [2023-02-23 14:24:37 +0000.788099][3a72] filter: filter pipeline destroy
this: 0x725c496b80
[1599:369] [2023-02-23 14:24:38 +0000.510483][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1600:023] [2023-02-23 14:24:39 +0000.165306][147a] Run AGC when audioType = 0
[1601:088] [2023-02-23 14:24:40 +0000.229447][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1602:021] [2023-02-23 14:24:41 +0000.163254][147b] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1602:022] [2023-02-23 14:24:41 +0000.163503][147b] _deviceSampleRate:48000

[1602:025] [2023-02-23 14:24:41 +0000.166486][147a] Run AGC when audioType = 0


[1602:025] [2023-02-23 14:24:41 +0000.166682][147a]
AudioDeviceDataHandler::MixAndSendOutFrame
[1602:804] [2023-02-23 14:24:41 +0000.945783][147a] haveEnoughProcessedData
internalAudioStream.length: 0
[1604:023] [2023-02-23 14:24:43 +0000.164611][147a] Run AGC when audioType = 0
[1604:219] [2023-02-23 14:24:43 +0000.360626][3a8c]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[1604:219] [2023-02-23 14:24:43 +0000.360794][3a8c] ~MediaFilterCamera
time:12679213 enter.

[1604:219] [2023-02-23 14:24:43 +0000.360835][3a8c] StopPullFrameAndWriteMp4


time:12679213 enter.

[1604:220] [2023-02-23 14:24:43 +0000.362050][1473] stop recording


[1604:220] [2023-02-23 14:24:43 +0000.362109][1473] we have stopped recording
before
[1604:220] [2023-02-23 14:24:43 +0000.362220][3a8c] StopPullFrameAndWriteMp4
leave. expire time = 1 ms

[1604:222] [2023-02-23 14:24:43 +0000.363371][3a8c] DestroyPipelineAndFilters


time:12679215 enter.

[1604:222] [2023-02-23 14:24:43 +0000.363428][3a8c] DestroyPipelineAndFilters


leave. expire time = 1 ms

[1604:222] [2023-02-23 14:24:43 +0000.363464][3a8c] AppDeviceManagerStopMic

[1604:222] [2023-02-23 14:24:43 +0000.363535][3a8c] AppDeviceManagerStopMic::mic


status is on
[1604:222] [2023-02-23 14:24:43 +0000.363570][3a8c] Try to stop webrtc device.

[1604:222] [2023-02-23 14:24:43 +0000.363854][3a8c] Set record state to


stopped.threadID:14988

[1604:285] [2023-02-23 14:24:43 +0000.427103][3a8c] Try to destory the


recorder.threadID:14988

[1604:497] [2023-02-23 14:24:43 +0000.638708][3a8c] DestroyAudioRecorder:


[1604:497] [2023-02-23 14:24:43 +0000.638972][3a8c] Cleanup the buffer queue in the
recorder.
[1604:497] [2023-02-23 14:24:43 +0000.639039][3a8c] Destroy the recorder.

[1604:500] [2023-02-23 14:24:43 +0000.642128][3a8c] StopRecording finished.

[1604:500] [2023-02-23 14:24:43 +0000.642253][3a8c] The stop recording success.

[1604:500] [2023-02-23 14:24:43 +0000.642313][3a8c]


AudioDeviceDataHandler::StopMicProcess

[1604:510] [2023-02-23 14:24:43 +0000.652117][3a8c] AppDeviceManager stop.

[1604:510] [2023-02-23 14:24:43 +0000.652317][3a8c] Rlease the webrtc device


object.

[1604:512] [2023-02-23 14:24:43 +0000.653457][3a8c] OpenSlesInput destruct.

[1604:512] [2023-02-23 14:24:43 +0000.653557][3a8c] OpenSlesOutput destruct.

[1604:513] [2023-02-23 14:24:43 +0000.654754][3a8c] EventDispatchServerScope


destruct
[1604:513] [2023-02-23 14:24:43 +0000.654824][3a8c]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[1604:513] [2023-02-23 14:24:43 +0000.654921][3a8c] ~AudioDeviceDataHandler

[1604:522] [2023-02-23 14:24:43 +0000.663790][3a8c] AppDeviceManagerDestruct.

[1604:522] [2023-02-23 14:24:43 +0000.664062][3a8c] ~AppDeviceManager:


[1604:522] [2023-02-23 14:24:43 +0000.664200][3a8c] ~CpuOverloadDetect
time:12679516 enter.

[1604:523] [2023-02-23 14:24:43 +0000.664967][3a8c] ~CpuOverloadDetect leave.


expire time = 1 ms

[1604:526] [2023-02-23 14:24:43 +0000.667982][3a8c] Destruct BeautifyReader


begin...
[1604:526] [2023-02-23 14:24:43 +0000.668084][3a8c] Destruct BeautifyReader done.
[1604:526] [2023-02-23 14:24:43 +0000.668154][3a8c] ~MediaFilterCamera leave.
expire time = 307 ms

[1604:527] [2023-02-23 14:24:43 +0000.668525][3a8c] ~GLESContext:


[1604:533] [2023-02-23 14:24:43 +0000.674833][3a8c] GLESContext destruct finish.
[1604:533] [2023-02-23 14:24:43 +0000.674962][3a8c]
~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[1604:534] [2023-02-23 14:24:43 +0000.676121][3a8c] global uninited!
[1604:535] [2023-02-23 14:24:43 +0000.676776][3a8c] clear AppID 50011
[1604:535] [2023-02-23 14:24:43 +0000.676821][3a8c] UnRegister JVM for Xplatform
util
[1604:535] [2023-02-23 14:24:43 +0000.676861][3a8c] Dispose::unregister webrtc
video engine
[1604:535] [2023-02-23 14:24:43 +0000.676894][3a8c] Init the android object with
jvm:0x0 env:0x0 context:0x0

[1604:535] [2023-02-23 14:24:43 +0000.676936][3a8c] SetAndroidMediaCodecObjects


time:12679529 enter.

[1604:535] [2023-02-23 14:24:43 +0000.676971][3a8c] ClearAndroidMediaCodecObjects


time:12679529 enter.

[1604:535] [2023-02-23 14:24:43 +0000.677010][3a8c] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[1604:535] [2023-02-23 14:24:43 +0000.677044][3a8c] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1604:535] [2023-02-23 14:24:43 +0000.677078][3a8c] SetAndroidMediaCodecObjects


time:12679529 enter.

[1604:535] [2023-02-23 14:24:43 +0000.677113][3a8c] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[1604:535] [2023-02-23 14:24:43 +0000.677146][3a8c] ClearAndroidMediaCodecObjects
time:12679529 enter.

[1604:535] [2023-02-23 14:24:43 +0000.677179][3a8c] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[1604:535] [2023-02-23 14:24:43 +0000.677212][3a8c] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[1604:535] [2023-02-23 14:24:43 +0000.677243][3a8c] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1604:535] [2023-02-23 14:24:43 +0000.677275][3a8c] Dispose::unregister webrtc


voice engine
[1604:535] [2023-02-23 14:24:43 +0000.677311][3a8c] Set the android objects with
jvm:0x0 env:0x0 context:0x0
[1604:536] [2023-02-23 14:24:43 +0000.677347][3a8c] SystemUtil UnInit done
[1663:019] [2023-02-23 14:26:36 +0000.490184][3a8c] Register JVM for xplatform util
[1663:023] [2023-02-23 14:26:36 +0000.494075][3a8c] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-02-
23 14:26:36 +0000
[1663:023] [2023-02-23 14:26:36 +0000.494113][3a8c] set AppID=50011 old AppID=-1
[1663:023] [2023-02-23 14:26:36 +0000.494130][3a8c] Init the android object with
jvm:0xb4000073f5c80380 env:0x73f5d75e80 context:0x72c8adf808

[1663:023] [2023-02-23 14:26:36 +0000.494147][3a8c] SetAndroidMediaCodecObjects


time:12738017 enter.

[1663:023] [2023-02-23 14:26:36 +0000.494168][3a8c] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1663:023] [2023-02-23 14:26:36 +0000.494186][3a8c] SetAndroidMediaCodecObjects


time:12738017 enter.

[1663:023] [2023-02-23 14:26:36 +0000.494201][3a8c] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000073f5c80380
[1663:023] [2023-02-23 14:26:36 +0000.494216][3a8c] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000073f5c80380 address:0x7219acb760
[1663:023] [2023-02-23 14:26:36 +0000.494232][3a8c] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000073f5c80380
address:0x7219acb760
[1663:023] [2023-02-23 14:26:36 +0000.494248][3a8c] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1663:023] [2023-02-23 14:26:36 +0000.494267][3a8c] Set the android objects with


jvm:0xb4000073f5c80380 env:0x73f5d75e80 context:0x72c8adf808

[1663:023] [2023-02-23 14:26:36 +0000.494285][3a8c] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x73f5d75e80
[1663:023] [2023-02-23 14:26:36 +0000.494303][3a8c] SystemUtil Init done
[1663:024] [2023-02-23 14:26:36 +0000.494680][3a8c]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[1663:024] [2023-02-23 14:26:36 +0000.494771][3a8c] MediaFilterCamera
[1663:024] [2023-02-23 14:26:36 +0000.494803][3a8c] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[1663:024] [2023-02-23 14:26:36 +0000.494910][3a8c] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1663:024] [2023-02-23 14:26:36 +0000.494940][3a8c] Recording session using default
bitrate support by app:31457280
[1663:024] [2023-02-23 14:26:36 +0000.495011][17d7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x725c6089c0
[1663:024] [2023-02-23 14:26:36 +0000.495052][17d7] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1663:024] [2023-02-23 14:26:36 +0000.495135][3a8c] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1663:025] [2023-02-23 14:26:36 +0000.495825][3a8c] Error(ini.cc:191): Open the
file failed. error:2
[1663:025] [2023-02-23 14:26:36 +0000.495887][3a8c]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[1663:025] [2023-02-23 14:26:36 +0000.495906][3a8c] The device model: m2012k11ag
usingSoftwareAEC value: 0
[1663:031] [2023-02-23 14:26:36 +0000.501680][3a8c] Error(ini.cc:191): Open the
file failed. error:2
[1663:031] [2023-02-23 14:26:36 +0000.501752][3a8c]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[1663:031] [2023-02-23 14:26:36 +0000.501783][3a8c] The device model: m2012k11ag
usingHardwareAEC value: 0
[1663:031] [2023-02-23 14:26:36 +0000.501800][3a8c] The machine device: m2012k11ag
usingHardwareAEC value: 0
[1663:031] [2023-02-23 14:26:36 +0000.501815][3a8c] Using Default AEC type:
software AEC
[1663:032] [2023-02-23 14:26:36 +0000.502526][3a8c] The device model: m2012k11ag
enum value: 0
[1663:032] [2023-02-23 14:26:36 +0000.502873][3a8c] GetMachineModel is M2012K11AG
[1663:032] [2023-02-23 14:26:36 +0000.502900][3a8c] GetMachineInfo: M2012K11AG
[1663:032] [2023-02-23 14:26:36 +0000.502914][3a8c] Construct BeautifyReader
begin...
[1663:032] [2023-02-23 14:26:36 +0000.502931][3a8c] dumpStickerRgba:0
dumpStickerYuv:0
[1663:032] [2023-02-23 14:26:36 +0000.502946][3a8c] Construct BeautifyReader done.
[1663:038] [2023-02-23 14:26:36 +0000.509026][3a8c]
AppDeviceManagerStartCamera::The result of start thread is: 1 micOn:0
[1663:038] [2023-02-23 14:26:36 +0000.509115][3a8c] AppDeviceManager telnet server
for statistics started......
[1663:044] [2023-02-23 14:26:36 +0000.515032][17dd] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7244f2c8a0
[1663:045] [2023-02-23 14:26:36 +0000.515505][3a8c] CpuOverloadDetect time:12738039
enter.

[1663:045] [2023-02-23 14:26:36 +0000.515600][3a8c] CpuOverloadDetect leave.


expire time = 0 ms

[1663:046] [2023-02-23 14:26:36 +0000.516613][3a8c] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[1663:046] [2023-02-23 14:26:36 +0000.516645][3a8c] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[1663:046] [2023-02-23 14:26:36 +0000.516770][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1663:046] [2023-02-23 14:26:36 +0000.517193][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1663:046] [2023-02-23 14:26:36 +0000.517396][3a8c] CreatePlatformSpecificObjects:
[1663:046] [2023-02-23 14:26:36 +0000.517429][3a8c] audio device use opensle input
and opensl output
[1663:046] [2023-02-23 14:26:36 +0000.517447][3a8c] Create OpenSLES output module
with java VM support.

[1663:047] [2023-02-23 14:26:36 +0000.517531][3a8c] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1663:047] [2023-02-23 14:26:36 +0000.517690][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1663:047] [2023-02-23 14:26:36 +0000.517836][3a8c] Create OpenSLES output module
with buffer num:1

[1663:047] [2023-02-23 14:26:36 +0000.517910][3a8c] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1663:047] [2023-02-23 14:26:36 +0000.518033][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1663:047] [2023-02-23 14:26:36 +0000.518126][3a8c] Create OpenSLES input module
with java VM support.

[1663:047] [2023-02-23 14:26:36 +0000.518146][3a8c] Create OpenSLES input module


with buffer num:1
[1663:047] [2023-02-23 14:26:36 +0000.518162][3a8c] Error(trace.cc:40): Init the
output and input for audio device template.
[1663:047] [2023-02-23 14:26:36 +0000.518174][3a8c] Init the output device.

[1663:047] [2023-02-23 14:26:36 +0000.518184][3a8c] Init the opensl input.


[1663:047] [2023-02-23 14:26:36 +0000.518197][3a8c] AppDeviceManager get setting
samplerate: 0
[1663:047] [2023-02-23 14:26:36 +0000.518384][3a8c] The device model: m2012k11ag
enum value: 0
[1663:048] [2023-02-23 14:26:36 +0000.518636][3a8c] The device model: m2012k11ag
enum value: 0
[1663:048] [2023-02-23 14:26:36 +0000.518651][3a8c] Set the sample rate to be:48000

[1663:048] [2023-02-23 14:26:36 +0000.518662][3a8c] Enable the recording stereo:0


[1663:048] [2023-02-23 14:26:36 +0000.518674][3a8c] Set the playout as stereo:1
[1663:048] [2023-02-23 14:26:36 +0000.518685][3a8c] Init the microphone.
[1663:049] [2023-02-23 14:26:36 +0000.519496][3a8c] Update the recording sample
rate to be: 48000
[1663:049] [2023-02-23 14:26:36 +0000.519534][3a8c] Init the speaker.
[1663:049] [2023-02-23 14:26:36 +0000.519555][3a8c] Low latency buffer size:144 low
sample rate:48000
[1663:049] [2023-02-23 14:26:36 +0000.519742][3a8c] Using 1 x 10ms for an audio
frame.

[1663:052] [2023-02-23 14:26:36 +0000.522492][3a8c] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[1663:052] [2023-02-23 14:26:36 +0000.522559][3a8c] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1663:052] [2023-02-23 14:26:36 +0000.522579][3a8c] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1663:067] [2023-02-23 14:26:36 +0000.537551][3a8c] The device model:m2012k11ag

[1663:067] [2023-02-23 14:26:36 +0000.537601][3a8c] speaker output factor:100


defaultFactor: 100

[1663:067] [2023-02-23 14:26:36 +0000.537614][3a8c] headset output factor:100


defaultFactor: 100

[1663:067] [2023-02-23 14:26:36 +0000.537790][3a8c] AppDeviceManagerStart finished.


[1663:067] [2023-02-23 14:26:36 +0000.537830][3a8c] AppDeviceManagerStartMic::mic
status is off
[1663:067] [2023-02-23 14:26:36 +0000.537878][3a8c] AppDeviceManagerStartMic update
aec type: 2

[1663:067] [2023-02-23 14:26:36 +0000.537891][3a8c] AppDeviceManagerStartMic update


voiceChangeMode: 4

[1663:067] [2023-02-23 14:26:36 +0000.537902][3a8c]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[1663:067] [2023-02-23 14:26:36 +0000.537912][3a8c]
AudioDeviceDataHandler::StartMicProcess

[1663:067] [2023-02-23 14:26:36 +0000.537999][3a8c] Try to start webrtc recording


device.

[1663:067] [2023-02-23 14:26:36 +0000.538016][3a8c] StartRecording. threadID:14988

[1663:067] [2023-02-23 14:26:36 +0000.538047][3a8c] default mode: Set the recording


mode to voice communication to enable HW AEC .
[1663:067] [2023-02-23 14:26:36 +0000.538061][3a8c] Set the recording mode before
getSetting: 4
[1663:067] [2023-02-23 14:26:36 +0000.538076][3a8c] Set the recording mode after
getSetting: 1
[1663:069] [2023-02-23 14:26:36 +0000.540176][17e0] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7326c90600
[1663:078] [2023-02-23 14:26:36 +0000.549062][17e7] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[1663:138] [2023-02-23 14:26:36 +0000.609410][3a8c] StartRecording finished.

[1663:139] [2023-02-23 14:26:36 +0000.609599][3a8c] audio: start the audio mic


checker timer.

[1663:139] [2023-02-23 14:26:36 +0000.610189][3a8c] machine model :poco


[1663:139] [2023-02-23 14:26:36 +0000.610223][3a8c] Support this machine
model :poco
[1663:139] [2023-02-23 14:26:36 +0000.610244][3a8c] global inited! current sdk
version: 07-20-936c45f
[1663:254] [2023-02-23 14:26:36 +0000.724727][17e7] haveEnoughProcessedData
internalAudioStream.length: 0
[1663:424] [2023-02-23 14:26:36 +0000.894910][3cba]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[1663:424] [2023-02-23 14:26:36 +0000.895042][17d8] MediaFilterCamera, recording
file context:0x726af74200 input texture:25
[1663:424] [2023-02-23 14:26:36 +0000.895149][17d8] GLESContext:
[1663:424] [2023-02-23 14:26:36 +0000.895203][17d8] The result of eglGetDisplay is:
0xb4000073f5d728c0
[1663:425] [2023-02-23 14:26:36 +0000.895825][17d8] The result of creation:
0x726acbba00
[1663:425] [2023-02-23 14:26:36 +0000.895914][17d8] The result of
eglCreatePbufferSurface is: 0x726acbbe80
[1663:425] [2023-02-23 14:26:36 +0000.896063][3cba]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x726af74200 input_texture: 25
[1664:964] [2023-02-23 14:26:38 +0000.435313][17e7] haveEnoughProcessedData
internalAudioStream.length: 10
[1665:036] [2023-02-23 14:26:38 +0000.507079][17e7] Run AGC when audioType = 0
[1665:036] [2023-02-23 14:26:38 +0000.507185][17e7]
AudioDeviceDataHandler::MixAndSendOutFrame
[1665:550] [2023-02-23 14:26:39 +0000.21389][3a8c]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[1665:551] [2023-02-23 14:26:39 +0000.21529][3a8c] ~MediaFilterCamera time:12740545
enter.

[1665:551] [2023-02-23 14:26:39 +0000.21554][3a8c] StopPullFrameAndWriteMp4


time:12740545 enter.

[1665:551] [2023-02-23 14:26:39 +0000.22025][17d7] stop recording


[1665:551] [2023-02-23 14:26:39 +0000.22053][17d7] we have stopped recording before
[1665:551] [2023-02-23 14:26:39 +0000.22095][3a8c] StopPullFrameAndWriteMp4 leave.
expire time = 0 ms

[1665:553] [2023-02-23 14:26:39 +0000.24465][3a8c] DestroyPipelineAndFilters


time:12740547 enter.

[1665:555] [2023-02-23 14:26:39 +0000.26129][3a8c] DestroyPipelineAndFilters


leave. expire time = 2 ms
[1665:555] [2023-02-23 14:26:39 +0000.26185][3a8c] AppDeviceManagerStopMic

[1665:555] [2023-02-23 14:26:39 +0000.26439][3a8c] AppDeviceManagerStopMic::mic


status is on
[1665:556] [2023-02-23 14:26:39 +0000.26893][3a8c] Try to stop webrtc device.

[1665:556] [2023-02-23 14:26:39 +0000.26921][3a8c] Set record state to


stopped.threadID:14988

[1665:615] [2023-02-23 14:26:39 +0000.86168][3a8c] Try to destory the


recorder.threadID:14988

[1665:815] [2023-02-23 14:26:39 +0000.286327][3a8c] DestroyAudioRecorder:


[1665:815] [2023-02-23 14:26:39 +0000.286442][3a8c] Cleanup the buffer queue in the
recorder.
[1665:816] [2023-02-23 14:26:39 +0000.286489][3a8c] Destroy the recorder.

[1665:816] [2023-02-23 14:26:39 +0000.287049][3a8c] StopRecording finished.

[1665:816] [2023-02-23 14:26:39 +0000.287085][3a8c] The stop recording success.

[1665:816] [2023-02-23 14:26:39 +0000.287103][3a8c]


AudioDeviceDataHandler::StopMicProcess

[1665:819] [2023-02-23 14:26:39 +0000.289606][3a8c] AppDeviceManager stop.

[1665:819] [2023-02-23 14:26:39 +0000.289683][3a8c] Rlease the webrtc device


object.

[1665:819] [2023-02-23 14:26:39 +0000.289865][3a8c] OpenSlesInput destruct.

[1665:819] [2023-02-23 14:26:39 +0000.289926][3a8c] OpenSlesOutput destruct.

[1665:821] [2023-02-23 14:26:39 +0000.292446][3a8c] EventDispatchServerScope


destruct
[1665:822] [2023-02-23 14:26:39 +0000.292540][3a8c]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[1665:822] [2023-02-23 14:26:39 +0000.292581][3a8c] ~AudioDeviceDataHandler

[1665:822] [2023-02-23 14:26:39 +0000.292882][3a8c] AppDeviceManagerDestruct.

[1665:822] [2023-02-23 14:26:39 +0000.292918][3a8c] ~AppDeviceManager:


[1665:822] [2023-02-23 14:26:39 +0000.292953][3a8c] ~CpuOverloadDetect
time:12740816 enter.

[1665:822] [2023-02-23 14:26:39 +0000.293314][3a8c] ~CpuOverloadDetect leave.


expire time = 0 ms

[1665:824] [2023-02-23 14:26:39 +0000.295189][3a8c] Destruct BeautifyReader


begin...
[1665:824] [2023-02-23 14:26:39 +0000.295248][3a8c] Destruct BeautifyReader done.
[1665:824] [2023-02-23 14:26:39 +0000.295274][3a8c] ~MediaFilterCamera leave.
expire time = 273 ms

[1665:824] [2023-02-23 14:26:39 +0000.295355][3a8c] ~GLESContext:


[1665:827] [2023-02-23 14:26:39 +0000.297858][3a8c] GLESContext destruct finish.
[1665:827] [2023-02-23 14:26:39 +0000.297939][3a8c]
~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[1665:828] [2023-02-23 14:26:39 +0000.298974][3a8c] global uninited!
[1665:829] [2023-02-23 14:26:39 +0000.300010][3a8c] clear AppID 50011
[1665:829] [2023-02-23 14:26:39 +0000.300077][3a8c] UnRegister JVM for Xplatform
util
[1665:829] [2023-02-23 14:26:39 +0000.300097][3a8c] Dispose::unregister webrtc
video engine
[1665:829] [2023-02-23 14:26:39 +0000.300114][3a8c] Init the android object with
jvm:0x0 env:0x0 context:0x0

[1665:829] [2023-02-23 14:26:39 +0000.300211][3a8c] SetAndroidMediaCodecObjects


time:12740823 enter.

[1665:830] [2023-02-23 14:26:39 +0000.300659][3a8c] ClearAndroidMediaCodecObjects


time:12740824 enter.

[1665:830] [2023-02-23 14:26:39 +0000.300746][3a8c] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[1665:830] [2023-02-23 14:26:39 +0000.300832][3a8c] SetAndroidMediaCodecObjects


leave. expire time = 1 ms

[1665:830] [2023-02-23 14:26:39 +0000.300852][3a8c] SetAndroidMediaCodecObjects


time:12740824 enter.

[1665:830] [2023-02-23 14:26:39 +0000.300870][3a8c] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[1665:830] [2023-02-23 14:26:39 +0000.300886][3a8c] ClearAndroidMediaCodecObjects
time:12740824 enter.

[1665:830] [2023-02-23 14:26:39 +0000.300928][3a8c] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[1665:830] [2023-02-23 14:26:39 +0000.300985][3a8c] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[1665:830] [2023-02-23 14:26:39 +0000.301004][3a8c] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1665:830] [2023-02-23 14:26:39 +0000.301083][3a8c] Dispose::unregister webrtc


voice engine
[1665:830] [2023-02-23 14:26:39 +0000.301102][3a8c] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[1665:830] [2023-02-23 14:26:39 +0000.301139][3a8c] SystemUtil UnInit done


[1666:341] [2023-02-23 14:26:39 +0000.811513][3a8c] Register JVM for xplatform util
[1666:347] [2023-02-23 14:26:39 +0000.817554][3a8c] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2023-02-
23 14:26:39 +0000
[1666:347] [2023-02-23 14:26:39 +0000.817625][3a8c] set AppID=50011 old AppID=-1
[1666:347] [2023-02-23 14:26:39 +0000.817644][3a8c] Init the android object with
jvm:0xb4000073f5c80380 env:0x73f5d75e80 context:0x72c8adf808

[1666:347] [2023-02-23 14:26:39 +0000.817664][3a8c] SetAndroidMediaCodecObjects


time:12741341 enter.

[1666:347] [2023-02-23 14:26:39 +0000.817683][3a8c] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[1666:347] [2023-02-23 14:26:39 +0000.817717][3a8c] SetAndroidMediaCodecObjects


time:12741341 enter.
[1666:347] [2023-02-23 14:26:39 +0000.817753][3a8c] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects:: jvm :0xb4000073f5c80380
[1666:347] [2023-02-23 14:26:39 +0000.817769][3a8c] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000073f5c80380 address:0x7219acb760
[1666:347] [2023-02-23 14:26:39 +0000.817784][3a8c] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000073f5c80380
address:0x7219acb760
[1666:347] [2023-02-23 14:26:39 +0000.817799][3a8c] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[1666:347] [2023-02-23 14:26:39 +0000.817812][3a8c] Set the android objects with


jvm:0xb4000073f5c80380 env:0x73f5d75e80 context:0x72c8adf808

[1666:347] [2023-02-23 14:26:39 +0000.817828][3a8c] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x73f5d75e80
[1666:347] [2023-02-23 14:26:39 +0000.817845][3a8c] SystemUtil Init done
[1666:347] [2023-02-23 14:26:39 +0000.818263][3a8c]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[1666:347] [2023-02-23 14:26:39 +0000.818364][3a8c] MediaFilterCamera
[1666:347] [2023-02-23 14:26:39 +0000.818405][3a8c] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[1666:348] [2023-02-23 14:26:39 +0000.818496][3a8c] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[1666:348] [2023-02-23 14:26:39 +0000.818528][3a8c] Recording session using default
bitrate support by app:31457280
[1666:348] [2023-02-23 14:26:39 +0000.818615][18b6] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x725c6089c0
[1666:348] [2023-02-23 14:26:39 +0000.818669][18b6] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[1666:348] [2023-02-23 14:26:39 +0000.818777][3a8c] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[1666:349] [2023-02-23 14:26:39 +0000.819729][3a8c] Error(ini.cc:191): Open the
file failed. error:2
[1666:349] [2023-02-23 14:26:39 +0000.819787][3a8c]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[1666:349] [2023-02-23 14:26:39 +0000.819807][3a8c] The device model: m2012k11ag
usingSoftwareAEC value: 0
[1666:355] [2023-02-23 14:26:39 +0000.825553][3a8c] Error(ini.cc:191): Open the
file failed. error:2
[1666:355] [2023-02-23 14:26:39 +0000.825648][3a8c]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[1666:355] [2023-02-23 14:26:39 +0000.825671][3a8c] The device model: m2012k11ag
usingHardwareAEC value: 0
[1666:355] [2023-02-23 14:26:39 +0000.825682][3a8c] The machine device: m2012k11ag
usingHardwareAEC value: 0
[1666:355] [2023-02-23 14:26:39 +0000.825693][3a8c] Using Default AEC type:
software AEC
[1666:355] [2023-02-23 14:26:39 +0000.826362][3a8c] The device model: m2012k11ag
enum value: 0
[1666:356] [2023-02-23 14:26:39 +0000.826613][3a8c] GetMachineModel is M2012K11AG
[1666:356] [2023-02-23 14:26:39 +0000.826641][3a8c] GetMachineInfo: M2012K11AG
[1666:356] [2023-02-23 14:26:39 +0000.826654][3a8c] Construct BeautifyReader
begin...
[1666:356] [2023-02-23 14:26:39 +0000.826665][3a8c] dumpStickerRgba:0
dumpStickerYuv:0
[1666:356] [2023-02-23 14:26:39 +0000.826691][3a8c] Construct BeautifyReader done.
[1666:358] [2023-02-23 14:26:39 +0000.829233][3a8c]
AppDeviceManagerStartCamera::The result of start thread is: 1 micOn:0
[1666:358] [2023-02-23 14:26:39 +0000.829311][3a8c] AppDeviceManager telnet server
for statistics started......
[1666:358] [2023-02-23 14:26:39 +0000.829432][18ba] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7244f2cfa0
[1666:359] [2023-02-23 14:26:39 +0000.830383][3a8c] CpuOverloadDetect time:12741353
enter.

[1666:360] [2023-02-23 14:26:39 +0000.830533][3a8c] CpuOverloadDetect leave.


expire time = 1 ms

[1666:360] [2023-02-23 14:26:39 +0000.831003][3a8c] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[1666:360] [2023-02-23 14:26:39 +0000.831052][3a8c] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[1666:360] [2023-02-23 14:26:39 +0000.831058][18bb] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7326c90440
[1666:360] [2023-02-23 14:26:39 +0000.831248][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1666:361] [2023-02-23 14:26:39 +0000.831911][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1666:361] [2023-02-23 14:26:39 +0000.832397][3a8c] CreatePlatformSpecificObjects:
[1666:361] [2023-02-23 14:26:39 +0000.832442][3a8c] audio device use opensle input
and opensl output
[1666:362] [2023-02-23 14:26:39 +0000.832509][3a8c] Create OpenSLES output module
with java VM support.

[1666:362] [2023-02-23 14:26:39 +0000.832613][3a8c] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1666:362] [2023-02-23 14:26:39 +0000.832946][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1666:362] [2023-02-23 14:26:39 +0000.833162][3a8c] Create OpenSLES output module
with buffer num:1

[1666:362] [2023-02-23 14:26:39 +0000.833282][3a8c] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[1666:363] [2023-02-23 14:26:39 +0000.833519][3a8c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[1666:363] [2023-02-23 14:26:39 +0000.833765][3a8c] Create OpenSLES input module
with java VM support.

[1666:363] [2023-02-23 14:26:39 +0000.833809][3a8c] Create OpenSLES input module


with buffer num:1

[1666:363] [2023-02-23 14:26:39 +0000.833836][3a8c] Error(trace.cc:40): Init the


output and input for audio device template.
[1666:363] [2023-02-23 14:26:39 +0000.833851][3a8c] Init the output device.

[1666:363] [2023-02-23 14:26:39 +0000.833925][3a8c] Init the opensl input.


[1666:363] [2023-02-23 14:26:39 +0000.833954][3a8c] AppDeviceManager get setting
samplerate: 0
[1666:363] [2023-02-23 14:26:39 +0000.834214][3a8c] The device model: m2012k11ag
enum value: 0
[1666:366] [2023-02-23 14:26:39 +0000.836773][3a8c] The device model: m2012k11ag
enum value: 0
[1666:366] [2023-02-23 14:26:39 +0000.836816][3a8c] Set the sample rate to be:48000

[1666:366] [2023-02-23 14:26:39 +0000.836832][3a8c] Enable the recording stereo:0


[1666:366] [2023-02-23 14:26:39 +0000.836848][3a8c] Set the playout as stereo:1
[1666:366] [2023-02-23 14:26:39 +0000.836862][3a8c] Init the microphone.
[1666:367] [2023-02-23 14:26:39 +0000.837558][3a8c] Update the recording sample
rate to be: 48000
[1666:367] [2023-02-23 14:26:39 +0000.837601][3a8c] Init the speaker.
[1666:367] [2023-02-23 14:26:39 +0000.837622][3a8c] Low latency buffer size:144 low
sample rate:48000
[1666:367] [2023-02-23 14:26:39 +0000.837795][3a8c] Using 1 x 10ms for an audio
frame.

[1666:367] [2023-02-23 14:26:39 +0000.838437][3a8c] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[1666:368] [2023-02-23 14:26:39 +0000.838504][3a8c] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1666:368] [2023-02-23 14:26:39 +0000.838525][3a8c] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[1666:370] [2023-02-23 14:26:39 +0000.841213][3a8c] The device model:m2012k11ag

[1666:370] [2023-02-23 14:26:39 +0000.841261][3a8c] speaker output factor:100


defaultFactor: 100

[1666:370] [2023-02-23 14:26:39 +0000.841273][3a8c] headset output factor:100


defaultFactor: 100

[1666:371] [2023-02-23 14:26:39 +0000.841481][3a8c] AppDeviceManagerStart finished.


[1666:371] [2023-02-23 14:26:39 +0000.841500][3a8c] AppDeviceManagerStartMic::mic
status is off
[1666:371] [2023-02-23 14:26:39 +0000.841548][3a8c] AppDeviceManagerStartMic update
aec type: 2

[1666:371] [2023-02-23 14:26:39 +0000.841592][3a8c] AppDeviceManagerStartMic update


voiceChangeMode: 4

[1666:371] [2023-02-23 14:26:39 +0000.841604][3a8c]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[1666:371] [2023-02-23 14:26:39 +0000.841637][3a8c]
AudioDeviceDataHandler::StartMicProcess

[1666:371] [2023-02-23 14:26:39 +0000.841722][3a8c] Try to start webrtc recording


device.

[1666:371] [2023-02-23 14:26:39 +0000.841743][3a8c] StartRecording. threadID:14988

[1666:371] [2023-02-23 14:26:39 +0000.841776][3a8c] default mode: Set the recording


mode to voice communication to enable HW AEC .

[1666:371] [2023-02-23 14:26:39 +0000.841828][3a8c] Set the recording mode before


getSetting: 4
[1666:371] [2023-02-23 14:26:39 +0000.841844][3a8c] Set the recording mode after
getSetting: 1
[1666:371] [2023-02-23 14:26:39 +0000.841907][18bd] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[1666:420] [2023-02-23 14:26:39 +0000.890955][3a8c] StartRecording finished.

[1666:420] [2023-02-23 14:26:39 +0000.891016][3a8c] audio: start the audio mic


checker timer.

[1666:420] [2023-02-23 14:26:39 +0000.891358][3a8c] machine model :poco


[1666:420] [2023-02-23 14:26:39 +0000.891410][3a8c] Support this machine
model :poco
[1666:421] [2023-02-23 14:26:39 +0000.891487][3a8c] global inited! current sdk
version: 07-20-936c45f
[1666:721] [2023-02-23 14:26:40 +0000.191836][3cba]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[1666:721] [2023-02-23 14:26:40 +0000.192209][18b7] MediaFilterCamera, recording
file context:0x726af74200 input texture:28
[1666:721] [2023-02-23 14:26:40 +0000.192251][18b7] GLESContext:
[1666:721] [2023-02-23 14:26:40 +0000.192276][18b7] The result of eglGetDisplay is:
0xb4000073f5d728c0
[1666:722] [2023-02-23 14:26:40 +0000.193021][18b7] The result of creation:
0x726acbc200
[1666:722] [2023-02-23 14:26:40 +0000.193093][18b7] The result of
eglCreatePbufferSurface is: 0x726acbc900
[1666:722] [2023-02-23 14:26:40 +0000.193225][3cba]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x726af74200 input_texture: 28
[1667:390] [2023-02-23 14:26:40 +0000.861200][18bd] haveEnoughProcessedData
internalAudioStream.length: 0
[1667:967] [2023-02-23 14:26:41 +0000.438126][18bd] Run AGC when audioType = 0
[1669:095] [2023-02-23 14:26:42 +0000.566274][18bd] haveEnoughProcessedData
internalAudioStream.length: 0
[1669:969] [2023-02-23 14:26:43 +0000.439728][18bd] Run AGC when audioType = 0
[1669:969] [2023-02-23 14:26:43 +0000.440154][18bd]
AudioDeviceDataHandler::MixAndSendOutFrame
[1670:424] [2023-02-23 14:26:43 +0000.894750][728f]
monitorTime:4004totalDuration:3920
[1670:805] [2023-02-23 14:26:44 +0000.276465][18bd] haveEnoughProcessedData
internalAudioStream.length: 0
[1671:969] [2023-02-23 14:26:45 +0000.440174][18bf] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1671:969] [2023-02-23 14:26:45 +0000.440342][18bf] _deviceSampleRate:48000

[1671:974] [2023-02-23 14:26:45 +0000.444859][18bd] Run AGC when audioType = 0


[1672:510] [2023-02-23 14:26:45 +0000.981166][18bd] haveEnoughProcessedData
internalAudioStream.length: 0
[1673:973] [2023-02-23 14:26:47 +0000.444111][18bd] Run AGC when audioType = 0
[1673:973] [2023-02-23 14:26:47 +0000.444324][18bd]
AudioDeviceDataHandler::MixAndSendOutFrame
[1674:228] [2023-02-23 14:26:47 +0000.698586][18bd] haveEnoughProcessedData
internalAudioStream.length: 10
[1675:951] [2023-02-23 14:26:49 +0000.421738][18bd] haveEnoughProcessedData
internalAudioStream.length: 20
[1675:972] [2023-02-23 14:26:49 +0000.442764][18bd] Run AGC when audioType = 0
[1677:660] [2023-02-23 14:26:51 +0000.131231][18bd] haveEnoughProcessedData
internalAudioStream.length: 0
[1677:969] [2023-02-23 14:26:51 +0000.439543][18bd] Run AGC when audioType = 0
[1677:969] [2023-02-23 14:26:51 +0000.439666][18bd]
AudioDeviceDataHandler::MixAndSendOutFrame
[1679:377] [2023-02-23 14:26:52 +0000.847744][18bd] haveEnoughProcessedData
internalAudioStream.length: 0
[1679:972] [2023-02-23 14:26:53 +0000.442891][18bd] Run AGC when audioType = 0
[1681:091] [2023-02-23 14:26:54 +0000.562071][18bd] haveEnoughProcessedData
internalAudioStream.length: 10
[1681:967] [2023-02-23 14:26:55 +0000.437757][18bf] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#
[1681:967] [2023-02-23 14:26:55 +0000.437888][18bf] _deviceSampleRate:48000

[1681:969] [2023-02-23 14:26:55 +0000.439948][18bd] Run AGC when audioType = 0


[1681:969] [2023-02-23 14:26:55 +0000.440053][18bd]
AudioDeviceDataHandler::MixAndSendOutFrame
[1682:811] [2023-02-23 14:26:56 +0000.282245][18bd] haveEnoughProcessedData
internalAudioStream.length: 20
[1683:967] [2023-02-23 14:26:57 +0000.437902][18bd] Run AGC when audioType = 0
[1684:529] [2023-02-23 14:26:58 +0000.399][18bd] haveEnoughProcessedData
internalAudioStream.length: 20
[1685:970] [2023-02-23 14:26:59 +0000.440842][18bd] Run AGC when audioType = 0
[1685:970] [2023-02-23 14:26:59 +0000.441018][18bd]
AudioDeviceDataHandler::MixAndSendOutFrame
[1686:245] [2023-02-23 14:26:59 +0000.716386][18bd] haveEnoughProcessedData
internalAudioStream.length: 0
[1687:965] [2023-02-23 14:27:01 +0000.436019][18bd] haveEnoughProcessedData
internalAudioStream.length: 0
[1687:970] [2023-02-23 14:27:01 +0000.441423][18bd] Run AGC when audioType = 0
[1689:694] [2023-02-23 14:27:03 +0000.164952][18bd] haveEnoughProcessedData
internalAudioStream.length: 0
[1689:970] [2023-02-23 14:27:03 +0000.441245][18bd] Run AGC when audioType = 0
[1689:971] [2023-02-23 14:27:03 +0000.441475][18bd]
AudioDeviceDataHandler::MixAndSendOutFrame
[1691:416] [2023-02-23 14:27:04 +0000.887080][18bd] haveEnoughProcessedData
internalAudioStream.length: 0
[1691:967] [2023-02-23 14:27:05 +0000.437561][18bf] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[1691:967] [2023-02-23 14:27:05 +0000.437652][18bf] _deviceSampleRate:48000

[1691:971] [2023-02-23 14:27:05 +0000.441771][18bd] Run AGC when audioType = 0


[1692:312] [2023-02-23 14:27:05 +0000.782612][3a8c]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[1692:312] [2023-02-23 14:27:05 +0000.782830][3a8c] ~MediaFilterCamera
time:12767306 enter.

[1692:313] [2023-02-23 14:27:05 +0000.783676][3a8c] StopPullFrameAndWriteMp4


time:12767307 enter.

[1692:314] [2023-02-23 14:27:05 +0000.785227][18b6] stop recording


[1692:314] [2023-02-23 14:27:05 +0000.785258][18b6] we have stopped recording
before
[1692:314] [2023-02-23 14:27:05 +0000.785342][3a8c] StopPullFrameAndWriteMp4
leave. expire time = 1 ms

[1692:317] [2023-02-23 14:27:05 +0000.787594][3a8c] DestroyPipelineAndFilters


time:12767311 enter.

[1692:317] [2023-02-23 14:27:05 +0000.787726][3a8c] DestroyPipelineAndFilters


leave. expire time = 0 ms

[1692:317] [2023-02-23 14:27:05 +0000.787763][3a8c] AppDeviceManagerStopMic

[1692:317] [2023-02-23 14:27:05 +0000.787846][3a8c] AppDeviceManagerStopMic::mic


status is on
[1692:317] [2023-02-23 14:27:05 +0000.787878][3a8c] Try to stop webrtc device.

[1692:317] [2023-02-23 14:27:05 +0000.788074][3a8c] Set record state to


stopped.threadID:14988

[1692:371] [2023-02-23 14:27:05 +0000.841752][3a8c] Try to destory the


recorder.threadID:14988

[1692:611] [2023-02-23 14:27:06 +0000.82176][3a8c] DestroyAudioRecorder:


[1692:611] [2023-02-23 14:27:06 +0000.82472][3a8c] Cleanup the buffer queue in the
recorder.
[1692:612] [2023-02-23 14:27:06 +0000.82557][3a8c] Destroy the recorder.

[1692:623] [2023-02-23 14:27:06 +0000.93549][3a8c] StopRecording finished.

[1692:623] [2023-02-23 14:27:06 +0000.93764][3a8c] The stop rec

You might also like