0% found this document useful (0 votes)
70 views35 pages

Trace

The document contains log messages from the initialization of an audio processing system on an Android device. It sets up the application ID, initializes Android objects, configures the audio session for recording video at 720x1280 resolution and 30 fps, initializes the audio input and output devices using OpenSL ES, starts microphone processing, and completes initialization of the audio system. Errors are logged indicating failure to load configuration files.

Uploaded by

Thomvar Vargas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
70 views35 pages

Trace

The document contains log messages from the initialization of an audio processing system on an Android device. It sets up the application ID, initializes Android objects, configures the audio session for recording video at 720x1280 resolution and 30 fps, initializes the audio input and output devices using OpenSL ES, starts microphone processing, and completes initialization of the audio system. Errors are logged indicating failure to load configuration files.

Uploaded by

Thomvar Vargas
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 35

[000:017] [2022-03-29 15:44:13 +0000.

805063][1ab8] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-03-
29 15:44:13 +0000
[000:017] [2022-03-29 15:44:13 +0000.805112][1ab8] set AppID=50011 old AppID=-1
[000:017] [2022-03-29 15:44:13 +0000.805123][1ab8] Init the android object with
jvm:0xb400007ca82d1540 env:0x7bf7f77d40 context:0x7b6e6d4778

[000:017] [2022-03-29 15:44:13 +0000.805152][1ab8] SetAndroidMediaCodecObjects


time:41707268 enter.

[000:017] [2022-03-29 15:44:13 +0000.805164][1ab8] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:017] [2022-03-29 15:44:13 +0000.805188][1ab8] SetAndroidMediaCodecObjects


time:41707268 enter.

[000:017] [2022-03-29 15:44:13 +0000.805193][1ab8] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007ca82d1540
[000:017] [2022-03-29 15:44:13 +0000.805198][1ab8] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007ca82d1540 address:0x7b0d2e8760
[000:017] [2022-03-29 15:44:13 +0000.805204][1ab8] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007ca82d1540
address:0x7b0d2e8760
[000:017] [2022-03-29 15:44:13 +0000.805209][1ab8] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:017] [2022-03-29 15:44:13 +0000.805222][1ab8] Set the android objects with


jvm:0xb400007ca82d1540 env:0x7bf7f77d40 context:0x7b6e6d4778

[000:017] [2022-03-29 15:44:13 +0000.805238][1ab8] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7bf7f77d40
[000:017] [2022-03-29 15:44:13 +0000.805246][1ab8] SystemUtil Init done
[000:020] [2022-03-29 15:44:13 +0000.807755][1ab8]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:020] [2022-03-29 15:44:13 +0000.807928][1ab8] MediaFilterCamera
[000:020] [2022-03-29 15:44:13 +0000.807955][1ab8] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:020] [2022-03-29 15:44:13 +0000.808089][1ab8] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:020] [2022-03-29 15:44:13 +0000.808108][1ab8] Recording session using default
bitrate support by app:31457280
[000:020] [2022-03-29 15:44:13 +0000.808136][298b] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7bd73003c0
[000:020] [2022-03-29 15:44:13 +0000.808285][298b] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:020] [2022-03-29 15:44:13 +0000.808341][1ab8] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:021] [2022-03-29 15:44:13 +0000.808761][1ab8] Error(ini.cc:191): Open the file
failed. error:2
[000:021] [2022-03-29 15:44:13 +0000.808782][1ab8]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:021] [2022-03-29 15:44:13 +0000.808799][1ab8] The device model: 2107113sg
usingSoftwareAEC value: 0
[000:024] [2022-03-29 15:44:13 +0000.811501][1ab8] Error(ini.cc:191): Open the file
failed. error:2
[000:024] [2022-03-29 15:44:13 +0000.811538][1ab8]
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-03-29 15:44:13 +0000.811554][1ab8] The device model: 2107113sg
usingHardwareAEC value: 0
[000:024] [2022-03-29 15:44:13 +0000.811562][1ab8] The machine device: 2107113sg
usingHardwareAEC value: 0
[000:024] [2022-03-29 15:44:13 +0000.811568][1ab8] Using Default AEC type: software
AEC
[000:024] [2022-03-29 15:44:13 +0000.812259][1ab8] The device model: 2107113sg enum
value: 0
[000:025] [2022-03-29 15:44:13 +0000.812510][1ab8] GetMachineModel is 2107113SG
[000:025] [2022-03-29 15:44:13 +0000.812532][1ab8] GetMachineInfo: 2107113SG
[000:025] [2022-03-29 15:44:13 +0000.812547][1ab8] Construct BeautifyReader
begin...
[000:025] [2022-03-29 15:44:13 +0000.812554][1ab8] dumpStickerRgba:0
dumpStickerYuv:0
[000:025] [2022-03-29 15:44:13 +0000.812560][1ab8] Construct BeautifyReader done.
[000:027] [2022-03-29 15:44:13 +0000.814523][1ab8] Error(ini.cc:191): Open the file
failed. error:2
[000:027] [2022-03-29 15:44:13 +0000.814574][1ab8]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:027] [2022-03-29 15:44:13 +0000.814676][1ab8] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:027] [2022-03-29 15:44:13 +0000.814690][1ab8] AppDeviceManager telnet server
for statistics started......
[000:027] [2022-03-29 15:44:13 +0000.814719][298e] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7b64fb02a0
[000:027] [2022-03-29 15:44:13 +0000.814930][1ab8] CpuOverloadDetect time:41707278
enter.

[000:027] [2022-03-29 15:44:13 +0000.814972][1ab8] CpuOverloadDetect leave. expire


time = 0 ms

[000:027] [2022-03-29 15:44:13 +0000.814997][298f] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7b2b6c3940
[000:027] [2022-03-29 15:44:13 +0000.815244][1ab8] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[000:027] [2022-03-29 15:44:13 +0000.815258][1ab8] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:027] [2022-03-29 15:44:13 +0000.815407][1ab8] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:028] [2022-03-29 15:44:13 +0000.815814][1ab8] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:029] [2022-03-29 15:44:13 +0000.816785][1ab8] CreatePlatformSpecificObjects:
[000:029] [2022-03-29 15:44:13 +0000.816823][1ab8] audio device use opensle input
and opensl output
[000:029] [2022-03-29 15:44:13 +0000.816854][1ab8] Create OpenSLES output module
with java VM support.

[000:029] [2022-03-29 15:44:13 +0000.816998][1ab8] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:029] [2022-03-29 15:44:13 +0000.817244][1ab8] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:029] [2022-03-29 15:44:13 +0000.817401][1ab8] Create OpenSLES output module
with buffer num:1

[000:030] [2022-03-29 15:44:13 +0000.817500][1ab8] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:030] [2022-03-29 15:44:13 +0000.817825][1ab8] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:030] [2022-03-29 15:44:13 +0000.818024][1ab8] Create OpenSLES input module
with java VM support.

[000:030] [2022-03-29 15:44:13 +0000.818088][1ab8] Create OpenSLES input module


with buffer num:1

[000:030] [2022-03-29 15:44:13 +0000.818137][1ab8] Error(trace.cc:40): Init the


output and input for audio device template.
[000:030] [2022-03-29 15:44:13 +0000.818162][1ab8] Init the output device.

[000:030] [2022-03-29 15:44:13 +0000.818173][1ab8] Init the opensl input.


[000:030] [2022-03-29 15:44:13 +0000.818185][1ab8] AppDeviceManager get setting
samplerate: 0
[000:031] [2022-03-29 15:44:13 +0000.818462][1ab8] The device model: 2107113sg enum
value: 0
[000:031] [2022-03-29 15:44:13 +0000.818799][1ab8] The device model: 2107113sg enum
value: 0
[000:031] [2022-03-29 15:44:13 +0000.818822][1ab8] Set the sample rate to be:48000

[000:031] [2022-03-29 15:44:13 +0000.818835][1ab8] Enable the recording stereo:0


[000:031] [2022-03-29 15:44:13 +0000.818846][1ab8] Set the playout as stereo:1
[000:031] [2022-03-29 15:44:13 +0000.818871][1ab8] Init the microphone.
[000:034] [2022-03-29 15:44:13 +0000.822060][1ab8] Update the recording sample rate
to be: 48000
[000:034] [2022-03-29 15:44:13 +0000.822135][1ab8] Init the speaker.
[000:034] [2022-03-29 15:44:13 +0000.822165][1ab8] Low latency buffer size:144 low
sample rate:48000
[000:034] [2022-03-29 15:44:13 +0000.822394][1ab8] Using 1 x 10ms for an audio
frame.

[000:037] [2022-03-29 15:44:13 +0000.824683][1ab8] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:037] [2022-03-29 15:44:13 +0000.824761][1ab8] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:037] [2022-03-29 15:44:13 +0000.824806][1ab8] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:041] [2022-03-29 15:44:13 +0000.828704][1ab8] The device model:2107113sg

[000:041] [2022-03-29 15:44:13 +0000.828767][1ab8] speaker output factor:100


defaultFactor: 100

[000:041] [2022-03-29 15:44:13 +0000.828780][1ab8] headset output factor:100


defaultFactor: 100

[000:041] [2022-03-29 15:44:13 +0000.829042][1ab8] AppDeviceManagerStart finished.


[000:041] [2022-03-29 15:44:13 +0000.829068][1ab8] AppDeviceManagerStartMic::mic
status is off
[000:041] [2022-03-29 15:44:13 +0000.829127][1ab8] AppDeviceManagerStartMic update
aec type: 2

[000:041] [2022-03-29 15:44:13 +0000.829143][1ab8] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:041] [2022-03-29 15:44:13 +0000.829155][1ab8]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:041] [2022-03-29 15:44:13 +0000.829164][1ab8]
AudioDeviceDataHandler::StartMicProcess

[000:041] [2022-03-29 15:44:13 +0000.829278][1ab8] Try to start webrtc recording


device.
[000:041] [2022-03-29 15:44:13 +0000.829300][1ab8] StartRecording. threadID:6840

[000:041] [2022-03-29 15:44:13 +0000.829312][2990] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:041] [2022-03-29 15:44:13 +0000.829363][2990] haveEnoughProcessedData
internalAudioStream.length: 0
[000:042] [2022-03-29 15:44:13 +0000.829509][1ab8] The machine model:2107113SG

[000:042] [2022-03-29 15:44:13 +0000.829552][1ab8] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:042] [2022-03-29 15:44:13 +0000.829583][1ab8] Set the recording mode before


getSetting: 4
[000:042] [2022-03-29 15:44:13 +0000.829596][1ab8] Set the recording mode after
getSetting: 1
[000:086] [2022-03-29 15:44:13 +0000.873768][1ab8] StartRecording finished.

[000:086] [2022-03-29 15:44:13 +0000.873811][1ab8] audio: start the audio mic


checker timer.

[000:086] [2022-03-29 15:44:13 +0000.874116][1ab8] machine model :xiaomi


[000:086] [2022-03-29 15:44:13 +0000.874156][1ab8] Support this machine
model :xiaomi
[000:086] [2022-03-29 15:44:13 +0000.874235][1ab8] global inited! current sdk
version: 07-20-936c45f
[000:150] [2022-03-29 15:44:13 +0000.937841][2991] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:150] [2022-03-29 15:44:13 +0000.937957][2991] _deviceSampleRate:48000

[000:154] [2022-03-29 15:44:13 +0000.941646][2990] Run AGC when audioType = 0


[000:154] [2022-03-29 15:44:13 +0000.941708][2990]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:528] [2022-03-29 15:44:14 +0000.316308][218b]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:529] [2022-03-29 15:44:14 +0000.316565][298c] MediaFilterCamera, recording
file context:0x7be4ee0600 input texture:17
[000:529] [2022-03-29 15:44:14 +0000.316657][298c] GLESContext:
[000:529] [2022-03-29 15:44:14 +0000.316714][298c] The result of eglGetDisplay is:
0xb400007bf7f748c0
[000:530] [2022-03-29 15:44:14 +0000.317788][298c] The result of creation:
0x7b2bbed180
[000:530] [2022-03-29 15:44:14 +0000.317896][298c] The result of
eglCreatePbufferSurface is: 0x7b2bbed200
[000:530] [2022-03-29 15:44:14 +0000.318040][218b]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7be4ee0600 input_texture: 17
[001:793] [2022-03-29 15:44:15 +0000.580828][2990] haveEnoughProcessedData
internalAudioStream.length: 10
[002:129] [2022-03-29 15:44:15 +0000.916721][1a9c] SetOrientation:
MediaFilterCamera:: SetOrientation: 0
[002:129] [2022-03-29 15:44:15 +0000.916789][1a9c]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 0
[002:129] [2022-03-29 15:44:15 +0000.917367][1a9c]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[002:130] [2022-03-29 15:44:15 +0000.917492][298c] operator() time:41709381 enter.
[002:130] [2022-03-29 15:44:15 +0000.917549][298c] MediaFilterCamera, recording
file context:0x7be4ee0600 input texture:17
[002:131] [2022-03-29 15:44:15 +0000.918578][298c] MicSource: Mic source
created:10x7b4ac70f00
[002:131] [2022-03-29 15:44:15 +0000.919119][298c] received external audio stream

[002:131] [2022-03-29 15:44:15 +0000.919156][298c] alloc thread: 0x7b2ba00d00


name:worker0 thread id:528988740784 to Mic_source
[002:131] [2022-03-29 15:44:15 +0000.919211][298c] audio: start the audio sender
thread.

[002:131] [2022-03-29 15:44:15 +0000.919266][298c] construct OpenGLRenderProgram


0x7b4ad91098
[002:131] [2022-03-29 15:44:15 +0000.919324][298c] CropFilter::SetOrientation
orientation: 0
[002:132] [2022-03-29 15:44:15 +0000.919422][298c] filter: filter pipeline
construtc this: 0x7b6b137e40
[002:132] [2022-03-29 15:44:15 +0000.919439][298c] filter: filter pipeline2 update
pattern: 1
[002:132] [2022-03-29 15:44:15 +0000.919494][298c] CameraSource::source_id_:1
[002:132] [2022-03-29 15:44:15 +0000.919517][298c] RecordAudioSource::source_id_:2
[002:132] [2022-03-29 15:44:15 +0000.919671][298c] BindInputFilter 0x7b2ba6f4c0
this 0x7b4ad912c0
[002:132] [2022-03-29 15:44:15 +0000.919700][298c] BindInputFilter 0x7b2ba6f658
this 0x7b2ba6f7d0
[002:132] [2022-03-29 15:44:15 +0000.919714][298c] BindInputFilter 0x7b4ad912c0
this 0x7b6b137ee0
[002:132] [2022-03-29 15:44:15 +0000.919738][298c] setParamentForFilters:
speed:1.000000
[002:132] [2022-03-29 15:44:15 +0000.919753][298c] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[002:132] [2022-03-29 15:44:15 +0000.919765][298c] SetParamForFilter time:41709383
enter.

[002:132] [2022-03-29 15:44:15 +0000.919773][298c] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[002:132] [2022-03-29 15:44:15 +0000.919805][298c] SetParamForFilter: Params video
index is: 0
[002:132] [2022-03-29 15:44:15 +0000.919771][2990] On audio frame the broadcast
with timestamp:41709383 samples:480. (1000 frame for one log)

[002:132] [2022-03-29 15:44:15 +0000.919814][298c] Error(crop_filter.cc:283):


SetParamForFilter: PhotoFilter params, donnot find index
[002:132] [2022-03-29 15:44:15 +0000.919871][298c] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[002:132] [2022-03-29 15:44:15 +0000.919886][298c] crop filter mode tpye:
citytravelvideo index:0
[002:135] [2022-03-29 15:44:15 +0000.922507][298c]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:135] [2022-03-29 15:44:15 +0000.922551][298c]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:135] [2022-03-29 15:44:15 +0000.922561][298c]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:135] [2022-03-29 15:44:15 +0000.922568][298c]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:135] [2022-03-29 15:44:15 +0000.922575][298c]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:135] [2022-03-29 15:44:15 +0000.922582][298c]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:135] [2022-03-29 15:44:15 +0000.922588][298c]
Warning(parse_template_json.cc:45): json parament no found the parament
[002:135] [2022-03-29 15:44:15 +0000.922595][298c]
Warning(parse_template_json.cc:81): json parament no found the parament
[002:135] [2022-03-29 15:44:15 +0000.922604][298c]
Warning(parse_template_json.cc:81): json parament no found the parament
[002:135] [2022-03-29 15:44:15 +0000.922613][298c]
Warning(parse_template_json.cc:67): json parament no found the parament
[002:135] [2022-03-29 15:44:15 +0000.922620][298c]
Warning(parse_template_json.cc:93): json parament no found the duration
[002:135] [2022-03-29 15:44:15 +0000.922631][298c] SetParamForFilter leave. expire
time = 3 ms

[002:135] [2022-03-29 15:44:15 +0000.922776][298c] OnOutputSizeChanged width 1280


height 720
[002:135] [2022-03-29 15:44:15 +0000.922792][298c] OpenGLFrameBuffer: width:1280
height:720
[002:135] [2022-03-29 15:44:15 +0000.922805][298c] OpenGLFrameBuffer: width:1280
height:720
[002:135] [2022-03-29 15:44:15 +0000.922814][298c] OpenGLFrameBuffer: width:1280
height:720
[002:135] [2022-03-29 15:44:15 +0000.922821][298c] OpenGLFrameBuffer: width:1280
height:720
[002:135] [2022-03-29 15:44:15 +0000.922880][298c] OpenGLFrameBuffer: width:1280
height:720
[002:135] [2022-03-29 15:44:15 +0000.922889][298c] OpenGLFrameBuffer: width:1280
height:720
[002:135] [2022-03-29 15:44:15 +0000.922897][298c] construct TrivalImageDrawer
0x7b2b751e80
[002:135] [2022-03-29 15:44:15 +0000.922907][298c] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x7b2b751e80 context 0x7bd72de880
[002:135] [2022-03-29 15:44:15 +0000.922917][298c] setupGLES:
[002:135] [2022-03-29 15:44:15 +0000.923284][298c] OpenGLRenderProgram::Initialize.
[002:135] [2022-03-29 15:44:15 +0000.923310][298c] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[002:135] [2022-03-29 15:44:15 +0000.923322][298c] 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 GL_QCOM_shading_rate
GL_QCOM_frame_extrapolation
[002:135] [2022-03-29 15:44:15 +0000.923352][298c] Init open gl render:
0x7b4ad91098
[002:135] [2022-03-29 15:44:15 +0000.923367][298c] Fragement shader path:
[002:135] [2022-03-29 15:44:15 +0000.923378][298c] Fragement shader path:
[002:135] [2022-03-29 15:44:15 +0000.923386][298c] create opengl program object.
[002:135] [2022-03-29 15:44:15 +0000.923395][298c] create shader: vertex
[002:139] [2022-03-29 15:44:15 +0000.926979][298c] create shader: fragment
[002:141] [2022-03-29 15:44:15 +0000.929370][29f0] Get data in mic source, which
has byte length:1764micAudioStream->length():10
[002:142] [2022-03-29 15:44:15 +0000.929710][29f0] The output timestamp from audio
mixer change:41709383
[002:142] [2022-03-29 15:44:15 +0000.929732][29f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[002:152] [2022-03-29 15:44:15 +0000.940214][2990] Run AGC when audioType = 0
[002:171] [2022-03-29 15:44:15 +0000.959309][298c] Have not extra filter filename!
[002:171] [2022-03-29 15:44:15 +0000.959366][298c] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[002:171] [2022-03-29 15:44:15 +0000.959381][298c] OpenGLRenderProgram::Initialize
success.
[002:172] [2022-03-29 15:44:15 +0000.959416][298c] Setup the OpenGL result:1
[002:172] [2022-03-29 15:44:15 +0000.959647][298b] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_41709423.mp4
[002:172] [2022-03-29 15:44:15 +0000.959762][298b] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_41709423.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[002:172] [2022-03-29 15:44:15 +0000.959788][29fb] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7be4e40a98
[002:172] [2022-03-29 15:44:15 +0000.959829][298b] 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:172] [2022-03-29 15:44:15 +0000.959847][298b] MP4 recorder params: fps:30
width:1280 height:720 audio time scale:44100 video time scale:90000 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_41709423.mp4
fileFD: -1
[002:172] [2022-03-29 15:44:15 +0000.960193][298b] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_41709423.mp4
is opened successfully
[002:172] [2022-03-29 15:44:15 +0000.960241][298b] setupMediaProcessers:
[002:172] [2022-03-29 15:44:15 +0000.960249][298b]
RecordingSessionInternalSimple:setup media processers.
[002:172] [2022-03-29 15:44:15 +0000.960256][298b] construct AAC encoder
[002:173] [2022-03-29 15:44:15 +0000.960523][298b] H264Encoder creating:
superfast011818
[002:173] [2022-03-29 15:44:15 +0000.960546][298b] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[002:173] [2022-03-29 15:44:15 +0000.960973][298b] H264Encode::GetMachineModel is
2107113SG
[002:173] [2022-03-29 15:44:15 +0000.960994][298b] H264Encoder machine_mode
is:2107113SG
[002:173] [2022-03-29 15:44:15 +0000.961002][298b] H264Encode::machine size :9
machine_mode:2107113SG
[002:173] [2022-03-29 15:44:15 +0000.961010][298b] H264Encode::machine array
size :22 machine_mode:2107113SG
[002:173] [2022-03-29 15:44:15 +0000.961017][298b] H264Encode::current machine
is :2107113SG auto check hw codec decide to use hw codec
[002:173] [2022-03-29 15:44:15 +0000.961066][298b] setupCompressionSession:
[002:173] [2022-03-29 15:44:15 +0000.961076][298b] H264Encode::creating hareware
Encoder
[002:173] [2022-03-29 15:44:15 +0000.961086][298b] AndroidHwAvcEncoder
time:41709424 enter.

[002:173] [2022-03-29 15:44:15 +0000.961207][298b] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007ca82d1540 address:0x7b0d2e8760
[002:173] [2022-03-29 15:44:15 +0000.961299][298b] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[002:173] [2022-03-29 15:44:15 +0000.961322][298b] The video avc hw codec address
is 0x7be4e1fb40
[002:173] [2022-03-29 15:44:15 +0000.961366][298b] AndroidHwAvcEncoder leave.
expire time = 0 ms

[002:173] [2022-03-29 15:44:15 +0000.961404][298b] RegisterEncodeCompleteCallback


time:41709424 enter.

[002:174] [2022-03-29 15:44:15 +0000.961458][298b] RegisterEncodeCompleteCallback


leave. expire time = 1 ms

[002:174] [2022-03-29 15:44:15 +0000.961486][298b] InitEncode time:41709425 enter.

[002:174] [2022-03-29 15:44:15 +0000.961525][298b] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[002:174] [2022-03-29 15:44:15 +0000.961548][298b] Create time:41709425 enter.

[002:174] [2022-03-29 15:44:15 +0000.961560][298b] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[002:174] [2022-03-29 15:44:15 +0000.961619][298b]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7be78b3740
[002:183] [2022-03-29 15:44:15 +0000.970746][298b] supported_type:audio/ozoaudio
[002:183] [2022-03-29 15:44:15 +0000.970800][298b] supported_type:audio/mp4a-latm
[002:183] [2022-03-29 15:44:15 +0000.970813][298b] supported_type:audio/mp4a-latm
[002:183] [2022-03-29 15:44:15 +0000.970825][298b] supported_type:audio/3gpp
[002:183] [2022-03-29 15:44:15 +0000.970835][298b] supported_type:audio/3gpp
[002:183] [2022-03-29 15:44:15 +0000.970848][298b] supported_type:audio/amr-wb
[002:183] [2022-03-29 15:44:15 +0000.970858][298b] supported_type:audio/amr-wb
[002:183] [2022-03-29 15:44:15 +0000.970870][298b] supported_type:audio/flac
[002:183] [2022-03-29 15:44:15 +0000.970881][298b] supported_type:audio/flac
[002:183] [2022-03-29 15:44:15 +0000.970899][298b] supported_type:audio/opus
[002:183] [2022-03-29 15:44:15 +0000.970926][298b] supported_type:video/avc
[002:183] [2022-03-29 15:44:15 +0000.970938][298b] name:c2.qti.avc.encoder
mime:video/avc
[002:183] [2022-03-29 15:44:15 +0000.970959][298b] hwCodecPrefix :OMX.qcom.
[002:183] [2022-03-29 15:44:15 +0000.970969][298b] hwCodecPrefix :OMX.Nvidia.
[002:183] [2022-03-29 15:44:15 +0000.970977][298b] hwCodecPrefix :OMX.IMG.TOPAZ
[002:183] [2022-03-29 15:44:15 +0000.970984][298b] hwCodecPrefix :OMX.Exynos
[002:183] [2022-03-29 15:44:15 +0000.970990][298b] hwCodecPrefix :OMX.MTK
[002:183] [2022-03-29 15:44:15 +0000.970996][298b] hwCodecPrefix :OMX.hantro
[002:183] [2022-03-29 15:44:15 +0000.971004][298b] hwCodecPrefix :OMX.Intel
[002:183] [2022-03-29 15:44:15 +0000.971010][298b] hwCodecPrefix :OMX.ARM
[002:183] [2022-03-29 15:44:15 +0000.971019][298b] supported_type:video/avc
[002:183] [2022-03-29 15:44:15 +0000.971026][298b] name:OMX.qcom.video.encoder.avc
mime:video/avc
[002:183] [2022-03-29 15:44:15 +0000.971036][298b] hwCodecPrefix :OMX.qcom.
[002:183] [2022-03-29 15:44:15 +0000.971044][298b] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[002:183] [2022-03-29 15:44:15 +0000.971057][298b] mediacodec_createCodecByName
time:41709434 enter.

[002:183] [2022-03-29 15:44:15 +0000.971066][298b] WrapAndroidMediaCodec


time:41709434 enter.

[002:183] [2022-03-29 15:44:15 +0000.971172][298b] WrapAndroidMediaCodec leave.


expire time = 0 ms

[002:196] [2022-03-29 15:44:15 +0000.984048][298b] mediacodec_createCodecByName


leave. expire time = 13 ms

[002:196] [2022-03-29 15:44:15 +0000.984101][298b] WrapAndroidMediaFromat


time:41709447 enter.

[002:196] [2022-03-29 15:44:15 +0000.984160][298b] WrapAndroidMediaFromat leave.


expire time = 0 ms

[002:249] [2022-03-29 15:44:16 +0000.37108][298b] Destroy time:41709500 enter.

[002:249] [2022-03-29 15:44:16 +0000.37188][298b] WrapAndroidMediaFromat::


Destroy
[002:249] [2022-03-29 15:44:16 +0000.37203][298b] Destroy leave. expire time = 0
ms

[002:249] [2022-03-29 15:44:16 +0000.37215][298b] ~WrapAndroidMediaFromat


time:41709500 enter.

[002:249] [2022-03-29 15:44:16 +0000.37226][298b] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[002:249] [2022-03-29 15:44:16 +0000.37238][298b] Create leave. expire time = 75


ms

[002:249] [2022-03-29 15:44:16 +0000.37246][298b] isSemiPlanarSupport time:41709500


enter.

[002:249] [2022-03-29 15:44:16 +0000.37253][298b] H264Encoder isSemiPlanarSupport


[002:249] [2022-03-29 15:44:16 +0000.37261][298b] isSemiPlanarSupport leave.
expire time = 0 ms

[002:249] [2022-03-29 15:44:16 +0000.37268][298b] creat hw H264Encoder success,


isSemiPlanar:1
[002:249] [2022-03-29 15:44:16 +0000.37365][298b] InitEncode leave. expire time =
75 ms

[002:249] [2022-03-29 15:44:16 +0000.37381][298b] H264Encode::created Encoder


[002:249] [2022-03-29 15:44:16 +0000.37393][298b] H264Encode:: H264 encoder
created.
[002:249] [2022-03-29 15:44:16 +0000.37401][298b] H264 encoder created.
[002:250] [2022-03-29 15:44:16 +0000.37450][298b]
RecordingSessionInternalSimple:created avc encoder avc: 0x7b2aaad6c0
[002:250] [2022-03-29 15:44:16 +0000.37472][298b] setOutput:
[002:250] [2022-03-29 15:44:16 +0000.37480][298b]
RecordingSessionInternalSimple:encoder set output to muxer!
[002:250] [2022-03-29 15:44:16 +0000.37487][298b] request a key frame
[002:250] [2022-03-29 15:44:16 +0000.37494][298b] H264Encode:: request a key frame
[002:250] [2022-03-29 15:44:16 +0000.37582][298b] setDisplayRotate :0
[002:250] [2022-03-29 15:44:16 +0000.37605][298b] 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:250] [2022-03-29 15:44:16 +0000.37643][298c] StartRecording:
[002:250] [2022-03-29 15:44:16 +0000.37715][29f0] operator(): Set the recording
session in mic source. recording session: 0x7b2ba6f500
[002:250] [2022-03-29 15:44:16 +0000.37774][298c] operator() leave. expire time =
120 ms

[002:250] [2022-03-29 15:44:16 +0000.37768][29ef] AF_SpeedFilter audio 0x7b2ba6f680


PullFrame
[002:250] [2022-03-29 15:44:16 +0000.37857][29ef] RecordAudioSource::PullAudioFrame
[002:250] [2022-03-29 15:44:16 +0000.37867][29ef] AF_SpeedFilter::PullFrame eof4
[002:254] [2022-03-29 15:44:16 +0000.42197][29ef]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[002:256] [2022-03-29 15:44:16 +0000.44339][29ef] AF_SpeedFilter audio time,
0x7b2ba6f680 rcv time: 41709503
[002:256] [2022-03-29 15:44:16 +0000.44395][29ef] AF_SpeedFilter audio time,
0x7b2ba6f680 rcv time: 41709503in_nSamples:441
[002:257] [2022-03-29 15:44:16 +0000.44481][29ef] resampled_data_size:0
[002:289] [2022-03-29 15:44:16 +0000.76592][298c]
MediaFilterCamera::NeedProcessTexture
[002:289] [2022-03-29 15:44:16 +0000.76634][298c] begine recode to first frame
spend time:159
[002:289] [2022-03-29 15:44:16 +0000.76647][298c] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1280, height: 720, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7b2ba6f380
[002:289] [2022-03-29 15:44:16 +0000.76666][298c] blur_distance_:0
[002:289] [2022-03-29 15:44:16 +0000.76675][298c] blur_direction_angle_:-90
[002:289] [2022-03-29 15:44:16 +0000.76691][298c]
GPUImageProcessing::SetOrientation orientation: 0
[002:289] [2022-03-29 15:44:16 +0000.76702][298c] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[002:289] [2022-03-29 15:44:16 +0000.76728][298c] GPUImageProcessing: process video
frame with resolution 1280 X 720
[002:289] [2022-03-29 15:44:16 +0000.76741][298c] GPUImageProcessing: input frame
width1280 X 720
[002:290] [2022-03-29 15:44:16 +0000.78376][298c] drawYUV420 render
OpenGLRenderProgram:0x7b4ad91098
[002:291] [2022-03-29 15:44:16 +0000.79324][298c] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[002:292] [2022-03-29 15:44:16 +0000.79447][298c] CropFilter::OnVideoFrame
outputtexture :19
[002:292] [2022-03-29 15:44:16 +0000.79466][298c] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[002:294] [2022-03-29 15:44:16 +0000.81888][298c] The read pixel from buffer take:
2 width:1280 height:720 frameType:0
[002:317] [2022-03-29 15:44:16 +0000.105281][298c] drawYUV420 render
OpenGLRenderProgram:0x7b4ad91098
[002:321] [2022-03-29 15:44:16 +0000.109388][298c] The convert RGB to YUV take 1
[002:322] [2022-03-29 15:44:16 +0000.109747][298c] FilterPipeline2::OnVideoFrame
pts 27 last_video_timestamp_ 27
[002:322] [2022-03-29 15:44:16 +0000.109807][298c]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[002:323] [2022-03-29 15:44:16 +0000.110496][29fa]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[002:323] [2022-03-29 15:44:16 +0000.110558][29fa] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:0
[002:323] [2022-03-29 15:44:16 +0000.110578][29fa] push video frame to H264
encoder. (100 frame for one log)

[002:323] [2022-03-29 15:44:16 +0000.110610][29fa] push video frame to H264


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

[002:323] [2022-03-29 15:44:16 +0000.110662][29fa] H264Encode::push video frame to


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

[002:323] [2022-03-29 15:44:16 +0000.110697][29fa] Push an pts:0 to dts queue.


[002:323] [2022-03-29 15:44:16 +0000.110728][29fa] DTS queue for
Generator:0x7be4e40cb8 0
[002:323] [2022-03-29 15:44:16 +0000.110743][29fa] The input pts:0 fps:30
[002:324] [2022-03-29 15:44:16 +0000.111508][29fa]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[002:354] [2022-03-29 15:44:16 +0000.142391][298c] drawYUV420 render
OpenGLRenderProgram:0x7b4ad91098
[002:382] [2022-03-29 15:44:16 +0000.170114][29ef] AF_SpeedFilter audio time 222,
0x7b2ba6f680 out time: 41709503 org time: 41709503
[002:382] [2022-03-29 15:44:16 +0000.170198][29ef] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[002:382] [2022-03-29 15:44:16 +0000.170217][29ef]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 41709503
[002:382] [2022-03-29 15:44:16 +0000.170230][29ef]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[002:382] [2022-03-29 15:44:16 +0000.170253][29ef] AF_SpeedFilter audio time
[002:382] [2022-03-29 15:44:16 +0000.170277][29ef] AF_SpeedFilter audio time 111,
0x7b2ba6f680 out time: 41709513 org time: 41709513
[002:383] [2022-03-29 15:44:16 +0000.171252][29f9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:3
[002:384] [2022-03-29 15:44:16 +0000.171458][29fb] add aac audio track with id:1
[002:386] [2022-03-29 15:44:16 +0000.173881][29fb] audio start ts:0
[002:386] [2022-03-29 15:44:16 +0000.173955][29fb] the audio frame has been written
into MP4 file
[002:391] [2022-03-29 15:44:16 +0000.179057][29fa] h264 add frame header cdr flag
[002:391] [2022-03-29 15:44:16 +0000.179320][29fa] h264 add frame header cdr flag
[002:392] [2022-03-29 15:44:16 +0000.179452][29fa] SendFrame
encodedImage._timeStamp:0encodedImage->_length:82347
[002:392] [2022-03-29 15:44:16 +0000.179470][29fa] Received key frame:0
[002:392] [2022-03-29 15:44:16 +0000.179481][29fa] last dts:0 currentPts:0
ppsOrSPS:0 queue length:3
[002:392] [2022-03-29 15:44:16 +0000.179531][29fa] H264Encode::H264SWEncoder get
callback, length:82347 type:0 nalType:7length:14
[002:392] [2022-03-29 15:44:16 +0000.179540][29fa] H264Encode:: get a sps pps
header!headerSize:27
[002:392] [2022-03-29 15:44:16 +0000.179547][29fa] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[002:392] [2022-03-29 15:44:16 +0000.179600][29fb] get the H.264 SPS parameter
[002:392] [2022-03-29 15:44:16 +0000.179765][29fb] add video track with id:2
[002:392] [2022-03-29 15:44:16 +0000.179974][29fb] get the H.264 PPS parameter
[002:392] [2022-03-29 15:44:16 +0000.180029][29fb] get the H.264 IDR frame
[002:392] [2022-03-29 15:44:16 +0000.180042][29fb] resss:true
[002:392] [2022-03-29 15:44:16 +0000.180050][29fb] video start ts:0
[002:392] [2022-03-29 15:44:16 +0000.180094][29fb] the video frame has been written
into MP4 file
[002:787] [2022-03-29 15:44:16 +0000.574447][298c] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[002:820] [2022-03-29 15:44:16 +0000.607817][298c] The convert RGB to YUV take 1
[003:142] [2022-03-29 15:44:16 +0000.929685][29f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[003:159] [2022-03-29 15:44:16 +0000.946757][29fa] DTS queue for
Generator:0x7be4e40cb8 806 839
[003:296] [2022-03-29 15:44:17 +0000.84093][298c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[003:327] [2022-03-29 15:44:17 +0000.115092][298c] The convert RGB to YUV take 1
[003:521] [2022-03-29 15:44:17 +0000.308467][2990] haveEnoughProcessedData
internalAudioStream.length: 10
[003:660] [2022-03-29 15:44:17 +0000.448042][29fa] Push an pts:1340 to dts queue.
[003:700] [2022-03-29 15:44:17 +0000.487471][29fa] last dts:1307 currentPts:1340
ppsOrSPS:0 queue length:2
[003:790] [2022-03-29 15:44:17 +0000.577442][298c] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[003:826] [2022-03-29 15:44:17 +0000.614147][298c] The convert RGB to YUV take 1
[003:870] [2022-03-29 15:44:17 +0000.657465][29ef] AF_SpeedFilter audio
0x7b2ba6f680 PullFrame
[003:991] [2022-03-29 15:44:17 +0000.779120][29fa] DTS queue for
Generator:0x7be4e40cb8 1639 1670
[004:089] [2022-03-29 15:44:17 +0000.877332][2987]
monitorTime:4003totalDuration:3940
[004:129] [2022-03-29 15:44:17 +0000.916759][29ef]
RecordAudioSource::PullAudioFrame
[004:139] [2022-03-29 15:44:17 +0000.926469][29f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:152] [2022-03-29 15:44:17 +0000.939728][2990] Run AGC when audioType = 0
[004:152] [2022-03-29 15:44:17 +0000.940087][2990]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:290] [2022-03-29 15:44:18 +0000.77976][298c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[004:323] [2022-03-29 15:44:18 +0000.111226][298c] The convert RGB to YUV take 1
[004:361] [2022-03-29 15:44:18 +0000.148764][298c] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[004:374] [2022-03-29 15:44:18 +0000.161777][29fa] h264 add frame header cdr flag
[004:374] [2022-03-29 15:44:18 +0000.161959][29fa] Received key frame:2006
[004:393] [2022-03-29 15:44:18 +0000.181008][29fb] get the H.264 IDR frame
[004:540] [2022-03-29 15:44:18 +0000.327559][29ef] resampled_data_size:7168
[004:556] [2022-03-29 15:44:18 +0000.344071][29ef] AF_SpeedFilter::PullFrame eof4
[004:558] [2022-03-29 15:44:18 +0000.346274][29ef]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[004:736] [2022-03-29 15:44:18 +0000.524291][29f9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:6
[004:791] [2022-03-29 15:44:18 +0000.579263][298c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[004:796] [2022-03-29 15:44:18 +0000.584360][29fa] DTS queue for
Generator:0x7be4e40cb8 2475
[004:830] [2022-03-29 15:44:18 +0000.617526][298c] The convert RGB to YUV take 1
[004:984] [2022-03-29 15:44:18 +0000.772192][29fa] Push an pts:2667 to dts queue.
[005:024] [2022-03-29 15:44:18 +0000.812231][29fa] last dts:2636 currentPts:2667
ppsOrSPS:0 queue length:2
[005:140] [2022-03-29 15:44:18 +0000.927691][29f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[005:255] [2022-03-29 15:44:19 +0000.42771][2990] haveEnoughProcessedData
internalAudioStream.length: 10
[005:290] [2022-03-29 15:44:19 +0000.77884][298c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[005:325] [2022-03-29 15:44:19 +0000.112948][298c] The convert RGB to YUV take 1
[005:487] [2022-03-29 15:44:19 +0000.274652][29ef] AF_SpeedFilter audio
0x7b2ba6f680 PullFrame
[005:588] [2022-03-29 15:44:19 +0000.375445][298c] drawYUV420 render
OpenGLRenderProgram:0x7b4ad91098
[005:626] [2022-03-29 15:44:19 +0000.413687][29fa] DTS queue for
Generator:0x7be4e40cb8 3305
[005:658] [2022-03-29 15:44:19 +0000.445711][298c] GPUImageProcessing: process
video frame with resolution 1280 X 720
[005:658] [2022-03-29 15:44:19 +0000.445776][298c] GPUImageProcessing: input frame
width1280 X 720
[005:658] [2022-03-29 15:44:19 +0000.446053][298c] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[005:658] [2022-03-29 15:44:19 +0000.446114][298c] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[005:661] [2022-03-29 15:44:19 +0000.448715][29fa]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3342
[005:663] [2022-03-29 15:44:19 +0000.450707][29fa] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3305 pts:3305
[005:696] [2022-03-29 15:44:19 +0000.483519][29fa] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:3376
[005:696] [2022-03-29 15:44:19 +0000.483619][29fa] push video frame to H264
encoder. (100 frame for one log)

[005:696] [2022-03-29 15:44:19 +0000.483636][29fa] push video frame to H264


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

[005:696] [2022-03-29 15:44:19 +0000.483727][29fa] H264Encode::push video frame to


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

[005:696] [2022-03-29 15:44:19 +0000.483751][29fa] The input pts:3376 fps:30


[005:698] [2022-03-29 15:44:19 +0000.485473][29fa] SendFrame
encodedImage._timeStamp:3342encodedImage->_length:17808
[005:725] [2022-03-29 15:44:19 +0000.512659][29fa] H264Encode::H264SWEncoder get
callback, length:20448 type:1 nalType:1length:20444
[005:788] [2022-03-29 15:44:19 +0000.576169][298c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[005:824] [2022-03-29 15:44:19 +0000.612234][298c] The convert RGB to YUV take 1
[005:997] [2022-03-29 15:44:19 +0000.785255][29ef]
RecordAudioSource::PullAudioFrame
[006:136] [2022-03-29 15:44:19 +0000.923914][29f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:153] [2022-03-29 15:44:19 +0000.940759][2990] Run AGC when audioType = 0
[006:295] [2022-03-29 15:44:20 +0000.83272][298c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[006:322] [2022-03-29 15:44:20 +0000.110389][298c] The convert RGB to YUV take 1
[006:323] [2022-03-29 15:44:20 +0000.110952][29fa] Push an pts:4005 to dts queue.
[006:363] [2022-03-29 15:44:20 +0000.151220][29fa] h264 add frame header cdr flag
[006:364] [2022-03-29 15:44:20 +0000.151425][29fa] Received key frame:4005
[006:364] [2022-03-29 15:44:20 +0000.151448][29fa] last dts:3978 currentPts:4005
ppsOrSPS:0 queue length:2
[006:399] [2022-03-29 15:44:20 +0000.187288][29fb] get the H.264 IDR frame
[006:422] [2022-03-29 15:44:20 +0000.210254][298c] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[006:459] [2022-03-29 15:44:20 +0000.246452][29fa] DTS queue for
Generator:0x7be4e40cb8 4105 4137
[006:751] [2022-03-29 15:44:20 +0000.538518][29ef] resampled_data_size:0
[006:787] [2022-03-29 15:44:20 +0000.574695][298c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[006:825] [2022-03-29 15:44:20 +0000.613174][298c] The convert RGB to YUV take 1
[006:896] [2022-03-29 15:44:20 +0000.684170][29ef] AF_SpeedFilter::PullFrame eof4
[006:898] [2022-03-29 15:44:20 +0000.686312][29ef]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[006:989] [2022-03-29 15:44:20 +0000.776559][2990] haveEnoughProcessedData
internalAudioStream.length: 0
[007:094] [2022-03-29 15:44:20 +0000.881603][29f9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:10
[007:100] [2022-03-29 15:44:20 +0000.887630][29ef] AF_SpeedFilter audio
0x7b2ba6f680 PullFrame
[007:134] [2022-03-29 15:44:20 +0000.922124][29f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[007:286] [2022-03-29 15:44:21 +0000.74083][298c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[007:289] [2022-03-29 15:44:21 +0000.76656][29fa] DTS queue for
Generator:0x7be4e40cb8 4936 4969
[007:325] [2022-03-29 15:44:21 +0000.113142][298c] The convert RGB to YUV take 1
[007:657] [2022-03-29 15:44:21 +0000.444463][29fa] Push an pts:5336 to dts queue.
[007:689] [2022-03-29 15:44:21 +0000.476962][29fa] last dts:5308 currentPts:5336
ppsOrSPS:0 queue length:2
[007:784] [2022-03-29 15:44:21 +0000.571547][298c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[007:816] [2022-03-29 15:44:21 +0000.604237][298c] The convert RGB to YUV take 0
[007:900] [2022-03-29 15:44:21 +0000.687805][29ef]
RecordAudioSource::PullAudioFrame
[008:128] [2022-03-29 15:44:21 +0000.915665][29fa] DTS queue for
Generator:0x7be4e40cb8 5775 5808
[008:132] [2022-03-29 15:44:21 +0000.919562][29f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[008:152] [2022-03-29 15:44:21 +0000.939666][2990] Run AGC when audioType = 0
[008:152] [2022-03-29 15:44:21 +0000.939812][2990]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:287] [2022-03-29 15:44:22 +0000.75419][298c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[008:318] [2022-03-29 15:44:22 +0000.105956][298c] The convert RGB to YUV take 1
[008:369] [2022-03-29 15:44:22 +0000.156579][29fa] h264 add frame header cdr flag
[008:369] [2022-03-29 15:44:22 +0000.156785][29fa] Received key frame:6001
[008:382] [2022-03-29 15:44:22 +0000.169625][29fb] get the H.264 IDR frame
[008:522] [2022-03-29 15:44:22 +0000.309691][298c] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[008:719] [2022-03-29 15:44:22 +0000.506929][29ef] AF_SpeedFilter audio
0x7b2ba6f680 PullFrame
[008:720] [2022-03-29 15:44:22 +0000.507856][2990] haveEnoughProcessedData
internalAudioStream.length: 0
[008:788] [2022-03-29 15:44:22 +0000.575922][298c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[008:822] [2022-03-29 15:44:22 +0000.609637][298c] The convert RGB to YUV take 1
[008:917] [2022-03-29 15:44:22 +0000.704904][298c] drawYUV420 render
OpenGLRenderProgram:0x7b4ad91098
[008:922] [2022-03-29 15:44:22 +0000.709543][29fa] DTS queue for
Generator:0x7be4e40cb8 6601
[008:969] [2022-03-29 15:44:22 +0000.757378][29ef] resampled_data_size:10240
[008:988] [2022-03-29 15:44:22 +0000.775898][29fa]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6670
[008:988] [2022-03-29 15:44:22 +0000.775966][29fa] Push an pts:6670 to dts queue.
[009:016] [2022-03-29 15:44:22 +0000.804051][298c] GPUImageProcessing: process
video frame with resolution 1280 X 720
[009:016] [2022-03-29 15:44:22 +0000.804129][298c] GPUImageProcessing: input frame
width1280 X 720
[009:017] [2022-03-29 15:44:22 +0000.804573][298c] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[009:017] [2022-03-29 15:44:22 +0000.804632][298c] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[009:022] [2022-03-29 15:44:22 +0000.809825][29fa] SendFrame
encodedImage._timeStamp:6670encodedImage->_length:9152
[009:022] [2022-03-29 15:44:22 +0000.809960][29fa] last dts:6640 currentPts:6670
ppsOrSPS:0 queue length:2
[009:022] [2022-03-29 15:44:22 +0000.809988][29fa] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6670 pts:6670
[009:053] [2022-03-29 15:44:22 +0000.841429][29fa] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:6735
[009:054] [2022-03-29 15:44:22 +0000.841572][29fa] push video frame to H264
encoder. (100 frame for one log)

[009:054] [2022-03-29 15:44:22 +0000.841597][29fa] push video frame to H264


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

[009:054] [2022-03-29 15:44:22 +0000.841620][29fa] H264Encode::push video frame to


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

[009:054] [2022-03-29 15:44:22 +0000.841644][29fa] The input pts:6735 fps:30


[009:085] [2022-03-29 15:44:22 +0000.873266][29fa] H264Encode::H264SWEncoder get
callback, length:18528 type:1 nalType:1length:18524
[009:134] [2022-03-29 15:44:22 +0000.922093][29f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[009:210] [2022-03-29 15:44:22 +0000.998120][29ef] AF_SpeedFilter::PullFrame eof4
[009:212] [2022-03-29 15:44:23 +0000.383][29ef]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[009:287] [2022-03-29 15:44:23 +0000.74425][298c] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[009:320] [2022-03-29 15:44:23 +0000.107554][298c] The convert RGB to YUV take 1
[009:352] [2022-03-29 15:44:23 +0000.139919][29f9]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 6965queue_audio_frame_:4
[009:758] [2022-03-29 15:44:23 +0000.545851][29fa] DTS queue for
Generator:0x7be4e40cb8 7438
[009:791] [2022-03-29 15:44:23 +0000.578583][298c] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[009:793] [2022-03-29 15:44:23 +0000.580758][29ef]
RecordAudioSource::PullAudioFrame
[009:826] [2022-03-29 15:44:23 +0000.613769][298c] The convert RGB to YUV take 1
[009:892] [2022-03-29 15:44:23 +0000.680260][1a9c]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[009:894] [2022-03-29 15:44:23 +0000.682360][298c] operator(): Stop
[009:895] [2022-03-29 15:44:23 +0000.682448][298c] StopPullFrameAndWriteMp4
time:41717146 enter.

[009:895] [2022-03-29 15:44:23 +0000.682479][298c] StopRecording:


[009:900] [2022-03-29 15:44:23 +0000.687917][29ef] resampled_data_size:512
[009:900] [2022-03-29 15:44:23 +0000.688018][29ef] AF_SpeedFilter audio time 222,
0x7b2ba6f680 out time: 41717033 org time: 41717033
[009:900] [2022-03-29 15:44:23 +0000.688188][29ef] PullAudioFrame: PullFrame audio
finished.
[009:900] [2022-03-29 15:44:23 +0000.688217][29ef]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[009:906] [2022-03-29 15:44:23 +0000.694147][29fa]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:227
[009:908] [2022-03-29 15:44:23 +0000.695831][298b] stop recording
[009:908] [2022-03-29 15:44:23 +0000.695884][298b]
RecordingSessionInternalSimple:destroy media processers
[009:908] [2022-03-29 15:44:23 +0000.695902][298b] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[009:908] [2022-03-29 15:44:23 +0000.695914][298b] H264Encode::flushing hareware
Encoder
[009:908] [2022-03-29 15:44:23 +0000.696107][298b] Flush time:41717159 enter.

[009:908] [2022-03-29 15:44:23 +0000.696140][298b] H264Encoder encoder flush


[009:908] [2022-03-29 15:44:23 +0000.696158][298b] flush output queue
[010:134] [2022-03-29 15:44:23 +0000.921638][29f0] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[010:149] [2022-03-29 15:44:23 +0000.937149][2991] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:149] [2022-03-29 15:44:23 +0000.937279][2991] _deviceSampleRate:48000

[010:152] [2022-03-29 15:44:23 +0000.940045][2990] Run AGC when audioType = 0


[010:231] [2022-03-29 15:44:24 +0000.18575][298b] Flush leave. expire time = 323
ms

[010:231] [2022-03-29 15:44:24 +0000.18800][298b] ~H264EncodeWrap:


[010:231] [2022-03-29 15:44:24 +0000.18850][298b] ~H264Encode:
[010:232] [2022-03-29 15:44:24 +0000.19791][298b] teardownCompressionSession:
H264Encode::destroying Encoder
[010:232] [2022-03-29 15:44:24 +0000.19841][298b] Release time:41717483 enter.

[010:232] [2022-03-29 15:44:24 +0000.20055][298b] Release:


MediaCodecVideoEncoder::Release _inited:1
[010:232] [2022-03-29 15:44:24 +0000.20105][298b] Destroy time:41717483 enter.

[010:232] [2022-03-29 15:44:24 +0000.20197][298b] H264Encoder encoderDestroy


[010:232] [2022-03-29 15:44:24 +0000.20225][298b]
AndroidMediaCodecVideoEncoder::release env: 0x7b2aaadbc0
[010:232] [2022-03-29 15:44:24 +0000.20245][298b]
AndroidMediaCodecVideoEncoder::Destroy
[010:250] [2022-03-29 15:44:24 +0000.37523][298b] Destroy leave. expire time = 18
ms

[010:250] [2022-03-29 15:44:24 +0000.37662][298b] Release leave. expire time = 18


ms

[010:250] [2022-03-29 15:44:24 +0000.37690][298b] ~AndroidHwAvcEncoder


time:41717501 enter.

[010:250] [2022-03-29 15:44:24 +0000.37794][298b] Release time:41717501 enter.

[010:250] [2022-03-29 15:44:24 +0000.37826][298b] Release: MediaCodecVideoEncoder::


has been released before, just return
[010:250] [2022-03-29 15:44:24 +0000.37844][298b] Release leave. expire time = 0
ms

[010:250] [2022-03-29 15:44:24 +0000.37860][298b] ~AndroidMediaCodecVideoEncoder


[010:250] [2022-03-29 15:44:24 +0000.37871][298b] ~WrapAndroidMediaCodec
time:41717501 enter.

[010:250] [2022-03-29 15:44:24 +0000.38311][298b] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[010:250] [2022-03-29 15:44:24 +0000.38392][298b] video hevc hw codec


destructor:0x7be4e1fb40

[010:251] [2022-03-29 15:44:24 +0000.38454][298b] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[010:251] [2022-03-29 15:44:24 +0000.38482][298b] teardownCompressionSession:


H264Encode::destroyed Encoder
[010:251] [2022-03-29 15:44:24 +0000.38501][298b]
RecordingSessionInternalSimple:destroy aac encoder output!
[010:251] [2022-03-29 15:44:24 +0000.38516][298b] AACSWEncode destructor
[010:254] [2022-03-29 15:44:24 +0000.41605][29fb] MP4 close file successfully
[010:254] [2022-03-29 15:44:24 +0000.41653][29fb] Recording session Internal:
notify recording ok
[010:254] [2022-03-29 15:44:24 +0000.41669][29fb] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_41709423.mp4,
output_video_timestamp_:7532 last_video_pts_:7532
[010:254] [2022-03-29 15:44:24 +0000.41830][29fb] OnRecordFinish:
[010:255] [2022-03-29 15:44:24 +0000.42674][29fb] onRecordingOk: net seek
pos:0record video duration:7565record audio duration:7546
[010:255] [2022-03-29 15:44:24 +0000.43262][29f0] destructMicSource_w:
[010:255] [2022-03-29 15:44:24 +0000.43321][29f0] setOutput_w:
MicSource::setOutput() 0x0
[010:255] [2022-03-29 15:44:24 +0000.43373][29f0] close external audio stream

[010:256] [2022-03-29 15:44:24 +0000.44254][298c] releaseThread 0x7b2ba00d00


[010:256] [2022-03-29 15:44:24 +0000.44305][298c] ~MicSource: Mic source
destroyed:0x7b4ac70f00
[010:257] [2022-03-29 15:44:24 +0000.45381][298c] StopPullFrameAndWriteMp4 leave.
expire time = 362 ms

[010:258] [2022-03-29 15:44:24 +0000.45423][298c] DestroyPipelineAndFilters


time:41717509 enter.

[010:258] [2022-03-29 15:44:24 +0000.45451][298c] UnbindInputFilter 0x7b2ba6f4c0


this 0x7b4ad912c0
[010:258] [2022-03-29 15:44:24 +0000.45471][298c] UnbindInputFilter 0x7b2ba6f658
this 0x7b2ba6f7d0
[010:258] [2022-03-29 15:44:24 +0000.45495][298c] UnbindInputFilter 0x7b4ad912c0
this 0x7b6b137ee0
[010:258] [2022-03-29 15:44:24 +0000.45506][298c] filter: filter pipeline destroy
this: 0x7b6b137e40
[010:258] [2022-03-29 15:44:24 +0000.45703][298c] ClearVideoOfSources: recodring
total frames:0
[010:258] [2022-03-29 15:44:24 +0000.45751][298c] ClearVideoOfSources:
[010:258] [2022-03-29 15:44:24 +0000.45766][298c] GPUImageProcessing destruct.
[010:258] [2022-03-29 15:44:24 +0000.45811][298c] destroy TrivalImageDrawer
0x7b2b751e80
[010:258] [2022-03-29 15:44:24 +0000.45840][298c] The shader has been initialize,
clean up them.

[010:258] [2022-03-29 15:44:24 +0000.45902][298c] ~OpenGLFrameBuffer:


[010:258] [2022-03-29 15:44:24 +0000.46014][298c] ~OpenGLFrameBuffer:
[010:258] [2022-03-29 15:44:24 +0000.46089][298c] ~OpenGLFrameBuffer:
[010:259] [2022-03-29 15:44:24 +0000.46926][298c] ~OpenGLFrameBuffer:
[010:259] [2022-03-29 15:44:24 +0000.46993][298c] ~OpenGLFrameBuffer:
[010:259] [2022-03-29 15:44:24 +0000.47075][298c] ~OpenGLFrameBuffer:
[010:259] [2022-03-29 15:44:24 +0000.47288][298c] GPUImageProcessing destruct
finish.
[010:259] [2022-03-29 15:44:24 +0000.47327][298c] GPURGBAFrame destruct.
[010:259] [2022-03-29 15:44:24 +0000.47365][298c] destroy OpenGLRenderProgram
0x7b4ad91098
[010:259] [2022-03-29 15:44:24 +0000.47387][298c] ~CameraSource time:41717510
enter.

[010:259] [2022-03-29 15:44:24 +0000.47403][298c] ~CameraSource leave. expire time


= 0 ms

[010:260] [2022-03-29 15:44:24 +0000.47419][298c] ~RecordAudioSource time:41717511


enter.

[010:260] [2022-03-29 15:44:24 +0000.47432][298c] ~RecordAudioSource leave. expire


time = 0 ms

[010:260] [2022-03-29 15:44:24 +0000.47447][298c] DestroyPipelineAndFilters leave.


expire time = 2 ms

[010:277] [2022-03-29 15:44:24 +0000.65015][1a9c]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[010:278] [2022-03-29 15:44:24 +0000.65557][1a9c] machine model :xiaomi
[010:278] [2022-03-29 15:44:24 +0000.65597][1a9c] Support this machine
model :xiaomi
[010:278] [2022-03-29 15:44:24 +0000.65614][1a9c] global inited! current sdk
version: 07-20-936c45f
[010:278] [2022-03-29 15:44:24 +0000.65878][1a9c] filter: filter pipeline construtc
this: 0x7b4aa08e80
[010:278] [2022-03-29 15:44:24 +0000.65925][1a9c] MediaFilterGraph:
MediaFilterGraph construct
[010:278] [2022-03-29 15:44:24 +0000.65943][1a9c] GLESContext:
[010:278] [2022-03-29 15:44:24 +0000.65981][1a9c] The result of eglGetDisplay is:
0xb400007bf7f748c0
[010:279] [2022-03-29 15:44:24 +0000.67127][1a9c] The result of creation:
0x7b6b13f280
[010:279] [2022-03-29 15:44:24 +0000.67214][1a9c] The result of
eglCreatePbufferSurface is: 0x7b6b13fe80
[010:280] [2022-03-29 15:44:24 +0000.68245][1a9c] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_41709423.mp4
[010:280] [2022-03-29 15:44:24 +0000.68293][1a9c] The source 0 speed:1
[010:280] [2022-03-29 15:44:24 +0000.68325][1a9c] AddVideoSource: add video source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_41709423.mp4,
delay: 0
[010:280] [2022-03-29 15:44:24 +0000.68349][1a9c] CreateDecoderByVideoSource
time:41717531 enter.

[010:282] [2022-03-29 15:44:24 +0000.69519][1a9c] running_decoder_count:0max


count:2
[010:282] [2022-03-29 15:44:24 +0000.69574][1a9c] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_41709423.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7b6b14b400
[010:285] [2022-03-29 15:44:24 +0000.72481][2a0c] FFMpeg=> [mov,mp4,m4a,3gp,3g2,mj2
@ 0x7b2ad29200] Current FFmpeg version git-2021-06-16-97cea6f

[010:340] [2022-03-29 15:44:24 +0000.127476][2a0c] OnStreamInfoFound: video


duration_: 7565
[010:341] [2022-03-29 15:44:24 +0000.129210][1a9c] start decoder
[010:341] [2022-03-29 15:44:24 +0000.129280][1a9c] CreateDecoderByVideoSource
leave. expire time = 61 ms

[010:341] [2022-03-29 15:44:24 +0000.129322][1a9c] BindInputFilter 0x7b2b723120


this 0x7bd730c258
[010:341] [2022-03-29 15:44:24 +0000.129346][1a9c] BindInputFilter 0x7bd730c258
this 0x7bd730c318
[010:341] [2022-03-29 15:44:24 +0000.129374][1a9c] BindInputFilter 0x7b2b723120
this 0x7bd730c618
[010:341] [2022-03-29 15:44:24 +0000.129394][1a9c] BindInputFilter 0x7bd730c618
this 0x7bd730ca98
[010:341] [2022-03-29 15:44:24 +0000.129407][1a9c] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_41709423.mp4
[010:342] [2022-03-29 15:44:24 +0000.129427][1a9c] BindInputFilter 0x7bd730c318
this 0x7bd7324c98
[010:342] [2022-03-29 15:44:24 +0000.129446][1a9c] BindInputFilter 0x7bd7324c98
this 0x7b4aa08f20
[010:342] [2022-03-29 15:44:24 +0000.129465][1a9c] BindInputFilter 0x7bd730ca98
this 0x7bd7324d58
[010:342] [2022-03-29 15:44:24 +0000.129482][1a9c] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_41709423.mp4
[010:343] [2022-03-29 15:44:24 +0000.130505][1a9c]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[010:343] [2022-03-29 15:44:24 +0000.131030][1a9c] machine model :xiaomi
[010:343] [2022-03-29 15:44:24 +0000.131056][1a9c] Support this machine
model :xiaomi
[010:343] [2022-03-29 15:44:24 +0000.131074][1a9c] global inited! current sdk
version: 07-20-936c45f
[010:343] [2022-03-29 15:44:24 +0000.131126][1a9c] GetPipeline:
-----------------------------------------
[010:343] [2022-03-29 15:44:24 +0000.131142][1a9c] GetPipeline: source:
0x7b2b722f00
[010:343] [2022-03-29 15:44:24 +0000.131155][1a9c] GetPipeline: filter: NULLFilter
[010:343] [2022-03-29 15:44:24 +0000.131147][2a0f] NO get frame from decoder
[010:343] [2022-03-29 15:44:24 +0000.131167][1a9c] GetPipeline: filter: NULLFilter
[010:343] [2022-03-29 15:44:24 +0000.131320][1a9c] GetPipeline: filter: NULLFilter
[010:343] [2022-03-29 15:44:24 +0000.131350][1a9c] GetPipeline: audio filter:
AuidoNULLFilter
[010:343] [2022-03-29 15:44:24 +0000.131369][1a9c] GetPipeline: audio filter:
AuidoNULLFilter
[010:343] [2022-03-29 15:44:24 +0000.131382][1a9c] GetPipeline: audio filter:
AudioNUllFilter
[010:343] [2022-03-29 15:44:24 +0000.131394][1a9c] GetPipeline:
------------------------------------------
[010:343] [2022-03-29 15:44:24 +0000.131408][1a9c] filter: filter pipeline2 update
pattern: 0
[010:344] [2022-03-29 15:44:24 +0000.131686][1a9c] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[010:348] [2022-03-29 15:44:24 +0000.135815][2a0f] NO get frame from decoder
[010:351] [2022-03-29 15:44:24 +0000.139395][1a9c] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[010:352] [2022-03-29 15:44:24 +0000.139489][1a9c] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[010:352] [2022-03-29 15:44:24 +0000.139670][1a9c] DeviceInit:
[010:352] [2022-03-29 15:44:24 +0000.139867][1a9c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[010:352] [2022-03-29 15:44:24 +0000.140110][1a9c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[010:352] [2022-03-29 15:44:24 +0000.140354][1a9c] CreatePlatformSpecificObjects:
[010:352] [2022-03-29 15:44:24 +0000.140389][1a9c] audio device use null audio
input and opensl output
[010:352] [2022-03-29 15:44:24 +0000.140409][1a9c] Create OpenSLES output module
with java VM support.

[010:353] [2022-03-29 15:44:24 +0000.140523][1a9c] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[010:353] [2022-03-29 15:44:24 +0000.140682][1a9c] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[010:353] [2022-03-29 15:44:24 +0000.140844][1a9c] Create OpenSLES output module
with buffer num:2

[010:353] [2022-03-29 15:44:24 +0000.140891][1a9c] Error(trace.cc:40): Init the


output and input for audio device template.
[010:353] [2022-03-29 15:44:24 +0000.140906][1a9c] Init the output device.

[010:353] [2022-03-29 15:44:24 +0000.140918][1a9c] Set the playout as stereo:1


[010:353] [2022-03-29 15:44:24 +0000.141021][1a9c] Set the sample rate to be:44100

[010:353] [2022-03-29 15:44:24 +0000.141054][1a9c] Low latency buffer size:144 low


sample rate:48000
[010:353] [2022-03-29 15:44:24 +0000.141071][1a9c] DeviceInit: Done
[010:354] [2022-03-29 15:44:24 +0000.141427][1a9c] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[010:354] [2022-03-29 15:44:24 +0000.141449][2a1d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7b4ae08918
[010:355] [2022-03-29 15:44:24 +0000.142448][1a9c]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[010:355] [2022-03-29 15:44:24 +0000.142542][1a9c]
MediaFilterPlayer::SetPlayerNotify 0x7b6b19a180
[010:355] [2022-03-29 15:44:24 +0000.143163][1a9c]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[010:355] [2022-03-29 15:44:24 +0000.143252][1a9c]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[010:356] [2022-03-29 15:44:24 +0000.144013][1a9c]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[010:357] [2022-03-29 15:44:24 +0000.144827][1a9c] SetGraphLoop: SetGraphLoop 1
[010:357] [2022-03-29 15:44:24 +0000.144867][1a9c]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[010:358] [2022-03-29 15:44:24 +0000.145546][1a9c]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[010:359] [2022-03-29 15:44:24 +0000.146627][2a0f] NO get frame from decoder
[010:360] [2022-03-29 15:44:24 +0000.147588][1a9c]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[010:361] [2022-03-29 15:44:24 +0000.148648][1a9c]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[010:365] [2022-03-29 15:44:24 +0000.153341][2a1f] Start:
[010:366] [2022-03-29 15:44:24 +0000.153804][2a1e] operator(): video render
started.
[010:366] [2022-03-29 15:44:24 +0000.153910][2a1e] DriveRender working... (1/200)
[010:366] [2022-03-29 15:44:24 +0000.153925][2a1e] Warning(video_render.cc:390): No
picture to display (1/50)
[010:367] [2022-03-29 15:44:24 +0000.155267][2a0f] NO get frame from decoder
[010:368] [2022-03-29 15:44:24 +0000.155825][2a1f] Start:
[010:368] [2022-03-29 15:44:24 +0000.156375][2a1f] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[010:369] [2022-03-29 15:44:24 +0000.156485][2a1f] Reset: history total size: 98
[010:369] [2022-03-29 15:44:24 +0000.156515][2a1f] DeviceStart:
audioDevice_:0x7b2b7a2000
[010:369] [2022-03-29 15:44:24 +0000.156529][2a1f] DeviceStart: time profile
playout init before
[010:369] [2022-03-29 15:44:24 +0000.156548][2a1f] DeviceStart: time profile
playout init end
[010:369] [2022-03-29 15:44:24 +0000.156618][2a1f] OpenSlesOutput:Start playout

[010:369] [2022-03-29 15:44:24 +0000.157328][2a1f] Create the opensl output player.


streamtype before:0

[010:371] [2022-03-29 15:44:24 +0000.158463][2a1f] Create the opensl output player.


streamtype after:3

[010:374] [2022-03-29 15:44:24 +0000.162061][2a0f] NO get frame from decoder


[010:377] [2022-03-29 15:44:24 +0000.165409][2a0f] NO get frame from decoder
[010:380] [2022-03-29 15:44:24 +0000.167655][2a0f] NO get frame from decoder
[010:382] [2022-03-29 15:44:24 +0000.169458][2a0f] NO get frame from decoder
[010:402] [2022-03-29 15:44:24 +0000.190285][2a1f] Enqueue opensl buffer size:1764
[010:432] [2022-03-29 15:44:24 +0000.220379][2a1f] DeviceStart: time profile
playout all end
[010:433] [2022-03-29 15:44:24 +0000.220494][2a1f] operator(): Audio playback
started.
[010:433] [2022-03-29 15:44:24 +0000.220593][2a1f] operator(): Started now!
[010:433] [2022-03-29 15:44:24 +0000.220704][2a20] Pull audio failed.(wait video!)
[010:433] [2022-03-29 15:44:24 +0000.220764][2a20]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:433] [2022-03-29 15:44:24 +0000.220766][2a21] Error(video_source.cc:430): wait
decoder a frame: 0
[010:434] [2022-03-29 15:44:24 +0000.221470][2a20] Pull audio failed.(wait video!)
[010:434] [2022-03-29 15:44:24 +0000.221501][2a20]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[010:434] [2022-03-29 15:44:24 +0000.222131][2a21] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[010:434] [2022-03-29 15:44:24 +0000.222210][2a22]
PlayerSimpleBufferQueueCallbackHandler function
[010:434] [2022-03-29 15:44:24 +0000.222383][2a22] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[010:435] [2022-03-29 15:44:24 +0000.222445][2a22]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[010:437] [2022-03-29 15:44:24 +0000.224710][2a21] OnVideoFrameReady(1/200)
[010:437] [2022-03-29 15:44:24 +0000.224880][2a1e] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[010:437] [2022-03-29 15:44:24 +0000.224937][2a1e] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:41717688
[010:437] [2022-03-29 15:44:24 +0000.225300][2a20] audio_frame_list_ empty
[010:460] [2022-03-29 15:44:24 +0000.247505][2990] haveEnoughProcessedData
internalAudioStream.length: 10
[010:469] [2022-03-29 15:44:24 +0000.256722][2a21]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[010:495] [2022-03-29 15:44:24 +0000.282786][2a1e] lipsync_debug: render a video
frame
[010:495] [2022-03-29 15:44:24 +0000.282840][2a1e] lipsync_debug: First video frame
rendering.
[010:495] [2022-03-29 15:44:24 +0000.283347][2a20] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[010:495] [2022-03-29 15:44:24 +0000.283385][2a20] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[010:496] [2022-03-29 15:44:24 +0000.283499][2a1f] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[010:496] [2022-03-29 15:44:24 +0000.283602][2a1f] The audio playback speed:100
(1/100)
[010:496] [2022-03-29 15:44:24 +0000.283646][2a1f] lipsync_debug: The current
played audio timestamp is:0(1/50)
[010:496] [2022-03-29 15:44:24 +0000.283705][2a1f] First audio frame rendering
[010:496] [2022-03-29 15:44:24 +0000.283654][2a20] audio frame wait video
frame.last_video_timestamp:103 last_audio_timestamp:207.937
[010:506] [2022-03-29 15:44:24 +0000.293660][2a1e]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:25 timeDelta:69 last
video ts:900 frame->pts:3150 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[010:506] [2022-03-29 15:44:24 +0000.293733][2a1e] lipsync_debug: tsDelta -
timeDelta = -44
[010:506] [2022-03-29 15:44:24 +0000.293743][2a1e] lipsync_debug:result remaining
time:0
[010:506] [2022-03-29 15:44:24 +0000.293750][2a1e] dynamic updated lipsync delay:0
[010:511] [2022-03-29 15:44:24 +0000.298914][2a1e] lipsync_debug:remaining time:10
tsDelta - timeDelta:19
[010:511] [2022-03-29 15:44:24 +0000.299042][2a1e] lipsync_debug:result remaining
time:10
[010:552] [2022-03-29 15:44:24 +0000.340151][2a21] video frame wait audio frame:
last_video_timestamp:339 last_audio_timestamp:207.937
[011:094] [2022-03-29 15:44:24 +0000.882859][2a1e] lipsync_debug:displaying video
ts:59940 The current displayed video timestamp is:41718345
[011:433] [2022-03-29 15:44:25 +0000.221208][2a1f] do work DoLipsync!
[011:433] [2022-03-29 15:44:25 +0000.221290][2a1f] total delay:224 videoTsMS:980
audioTsMS:756 diff:224
[011:433] [2022-03-29 15:44:25 +0000.221311][2a1f] Set the lipsync delay:224
[011:507] [2022-03-29 15:44:25 +0000.294572][2a22]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[011:652] [2022-03-29 15:44:25 +0000.439602][2a21] Error(video_source.cc:430): wait
decoder a frame: 0
[011:735] [2022-03-29 15:44:25 +0000.522772][2a21] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3992 diff: 9
[011:943] [2022-03-29 15:44:25 +0000.731055][2a1e] lipsync_debug:displaying video
ts:120600 The current displayed video timestamp is:41719194
[012:034] [2022-03-29 15:44:25 +0000.821559][2a1e] DriveRender working... (1/200)
[012:100] [2022-03-29 15:44:25 +0000.888132][2a1e]
lipsync_debug:lipsync_threadhold: lipsync_delta:11 tsDelta:44 timeDelta:44 last
video ts:127440 frame->pts:130410 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[012:100] [2022-03-29 15:44:25 +0000.888213][2a1e] lipsync_debug: tsDelta -
timeDelta = 0
[012:152] [2022-03-29 15:44:25 +0000.940095][2990] Run AGC when audioType = 0
[012:152] [2022-03-29 15:44:25 +0000.940177][2990]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:215] [2022-03-29 15:44:26 +0000.2857][2990] haveEnoughProcessedData
internalAudioStream.length: 10
[012:519] [2022-03-29 15:44:26 +0000.306656][2a1e] lipsync_debug:remaining time:10
tsDelta - timeDelta:3
[012:519] [2022-03-29 15:44:26 +0000.306734][2a1e] lipsync_debug:result remaining
time:3
[012:528] [2022-03-29 15:44:26 +0000.315675][2a22]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[012:712] [2022-03-29 15:44:26 +0000.499588][2a20] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 102324
[012:712] [2022-03-29 15:44:26 +0000.499645][2a20] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[012:714] [2022-03-29 15:44:26 +0000.501443][2a1e] lipsync_debug:displaying video
ts:180540 The current displayed video timestamp is:41719965
[012:731] [2022-03-29 15:44:26 +0000.519069][2a1f] The audio playback speed:100
(1/100)
[012:731] [2022-03-29 15:44:26 +0000.519197][2a1f] lipsync_debug: The current
played audio timestamp is:102324(1/50)
[013:014] [2022-03-29 15:44:26 +0000.801789][2a21] Error(video_source.cc:430): wait
decoder a frame: 0
[013:374] [2022-03-29 15:44:27 +0000.162101][2a1e] lipsync_debug:displaying video
ts:240030 The current displayed video timestamp is:41720625
[013:495] [2022-03-29 15:44:27 +0000.282975][2a22]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[013:542] [2022-03-29 15:44:27 +0000.329734][2a1e] DriveRender working... (1/200)
[013:578] [2022-03-29 15:44:27 +0000.366312][2a21] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 300780pts ms:3.342e+06
[013:580] [2022-03-29 15:44:27 +0000.367446][2a21] OnVideoFrameReady(1/200)
[013:580] [2022-03-29 15:44:27 +0000.368155][2a1e] operator() frame->pts-
9223372036854775808 queue_ size: 13 (1/200)
[013:607] [2022-03-29 15:44:27 +0000.394473][2a1e]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:35 timeDelta:15 last
video ts:264420 frame->pts:267570 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[013:607] [2022-03-29 15:44:27 +0000.394553][2a1e] lipsync_debug: tsDelta -
timeDelta = 20
[013:955] [2022-03-29 15:44:27 +0000.743073][2990] haveEnoughProcessedData
internalAudioStream.length: 10
[013:996] [2022-03-29 15:44:27 +0000.784067][2a1e] lipsync_debug:displaying video
ts:300780 The current displayed video timestamp is:41721247
[013:998] [2022-03-29 15:44:27 +0000.786169][2a1e] lipsync_debug: render a video
frame
[014:030] [2022-03-29 15:44:27 +0000.817465][2a1e] lipsync_debug:result remaining
time:0
[014:030] [2022-03-29 15:44:27 +0000.817549][2a1e] dynamic updated lipsync delay:0
[014:153] [2022-03-29 15:44:27 +0000.941332][2990] Run AGC when audioType = 0
[014:373] [2022-03-29 15:44:28 +0000.160498][2a21] Error(video_source.cc:430): wait
decoder a frame: 0
[014:445] [2022-03-29 15:44:28 +0000.232945][2a1e] lipsync_debug:remaining time:10
tsDelta - timeDelta:47
[014:445] [2022-03-29 15:44:28 +0000.233022][2a1e] lipsync_debug:result remaining
time:10
[014:529] [2022-03-29 15:44:28 +0000.316514][2a22]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[014:713] [2022-03-29 15:44:28 +0000.500931][2a1e] lipsync_debug:displaying video
ts:360450 The current displayed video timestamp is:41721964
[015:009] [2022-03-29 15:44:28 +0000.797393][2a20] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 204692
[015:010] [2022-03-29 15:44:28 +0000.797452][2a20] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[015:039] [2022-03-29 15:44:28 +0000.826981][2a1e] DriveRender working... (1/200)
[015:068] [2022-03-29 15:44:28 +0000.855440][2a1f] The audio playback speed:100
(1/100)
[015:068] [2022-03-29 15:44:28 +0000.855575][2a1f] lipsync_debug: The current
played audio timestamp is:204692(1/50)
[015:096] [2022-03-29 15:44:28 +0000.883616][2a1e]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:36 timeDelta:23 last
video ts:392850 frame->pts:396090 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[015:096] [2022-03-29 15:44:28 +0000.883715][2a1e] lipsync_debug: tsDelta -
timeDelta = 13
[015:385] [2022-03-29 15:44:29 +0000.173277][2a1e] lipsync_debug:displaying video
ts:420840 The current displayed video timestamp is:41722636
[015:507] [2022-03-29 15:44:29 +0000.295157][2a22]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[015:691] [2022-03-29 15:44:29 +0000.479023][2990] haveEnoughProcessedData
internalAudioStream.length: 10
[015:730] [2022-03-29 15:44:29 +0000.517439][2a21] Error(video_source.cc:430): wait
decoder a frame: 0
[015:822] [2022-03-29 15:44:29 +0000.609848][2a20] FilterPipeline2::OnAudioFrame
pts 241548 last_audio_timestamp_ 5477.28
[015:830] [2022-03-29 15:44:29 +0000.617634][2a21] webrtc common_video plane
old ..... (1/1000) new: 5001 delete: 4992 diff: 9
[015:997] [2022-03-29 15:44:29 +0000.785370][2a1e] lipsync_debug:displaying video
ts:480240 The current displayed video timestamp is:41723248
[016:154] [2022-03-29 15:44:29 +0000.942052][2990] Run AGC when audioType = 0
[016:154] [2022-03-29 15:44:29 +0000.942200][2990]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:315] [2022-03-29 15:44:30 +0000.102800][2a0f] av_read_frame AVERROR_EOF
[016:370] [2022-03-29 15:44:30 +0000.158286][2a1e] lipsync_debug:remaining time:10
tsDelta - timeDelta:25
[016:370] [2022-03-29 15:44:30 +0000.158341][2a1e] lipsync_debug:result remaining
time:10
[016:483] [2022-03-29 15:44:30 +0000.270788][1a9c]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[016:483] [2022-03-29 15:44:30 +0000.271243][2a1f] Stop:
[016:483] [2022-03-29 15:44:30 +0000.271412][2a1e] operator(): Video Render
stopped.
[016:484] [2022-03-29 15:44:30 +0000.271543][2a1f] Stop:
[016:484] [2022-03-29 15:44:30 +0000.271820][2a1f] DeviceStop:
audioDevice_:0x7b2b7a2000
[016:484] [2022-03-29 15:44:30 +0000.271864][2a1f] OpenSlesOutput:Stop playout

[016:490] [2022-03-29 15:44:30 +0000.278201][2a1f] DeviceStop: Done


[016:490] [2022-03-29 15:44:30 +0000.278333][2a1f] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[016:490] [2022-03-29 15:44:30 +0000.278378][2a1f] operator(): Stop now!
[016:491] [2022-03-29 15:44:30 +0000.279324][1a9c] Stop:
[016:492] [2022-03-29 15:44:30 +0000.279648][2a1f] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[016:492] [2022-03-29 15:44:30 +0000.279791][1a9c] DeviceRelease:
audioDevice_:0x7b2b7a2000
[016:492] [2022-03-29 15:44:30 +0000.279822][1a9c] OpenSlesOutput:Stop playout

[016:492] [2022-03-29 15:44:30 +0000.279898][1a9c] DeviceRelease: Release the


webrtc device object.
[016:493] [2022-03-29 15:44:30 +0000.281231][1a9c] OpenSlesOutput destruct.

[016:493] [2022-03-29 15:44:30 +0000.281296][1a9c] DeviceRelease: Done


[016:493] [2022-03-29 15:44:30 +0000.281373][1a9c] Stop:
[016:494] [2022-03-29 15:44:30 +0000.281458][2a1e] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[016:497] [2022-03-29 15:44:30 +0000.285304][1a9c] global uninited!
[016:498] [2022-03-29 15:44:30 +0000.286185][1a9c]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[016:498] [2022-03-29 15:44:30 +0000.286282][1a9c] ~MediaFilterGraph:
MediaFilterGraph destruct
[016:498] [2022-03-29 15:44:30 +0000.286307][1a9c] RemoveVideoBackGroud: hava not
add video backgroud
[016:498] [2022-03-29 15:44:30 +0000.286330][1a9c] UnbindInputFilter 0x7bd7324c98
this 0x7b4aa08f20
[016:498] [2022-03-29 15:44:30 +0000.286386][1a9c] ClearAllSource: remove source
filter, sourceid: 0x7b2b722f00
[016:498] [2022-03-29 15:44:30 +0000.286400][1a9c] DestoryDecoderByVideoSource
time:41723749 enter.

[016:498] [2022-03-29 15:44:30 +0000.286415][1a9c] ~VideoBindDecoder time:41723749


enter.

[016:499] [2022-03-29 15:44:30 +0000.286597][1a9c] CleanUp time:41723750 enter.

[016:505] [2022-03-29 15:44:30 +0000.293059][1a9c] CleanUp leave. expire time = 6


ms

[016:505] [2022-03-29 15:44:30 +0000.293129][1a9c] CleanUp time:41723756 enter.

[016:506] [2022-03-29 15:44:30 +0000.293949][1a9c] CleanUp leave. expire time = 1


ms

[016:507] [2022-03-29 15:44:30 +0000.294800][1a9c] ~VideoBindDecoder leave. expire


time = 9 ms

[016:507] [2022-03-29 15:44:30 +0000.294836][1a9c] DestoryDecoderByVideoSource


leave. expire time = 9 ms

[016:507] [2022-03-29 15:44:30 +0000.294866][1a9c] UnbindInputFilter 0x7bd730c318


this 0x7bd7324c98
[016:507] [2022-03-29 15:44:30 +0000.294884][1a9c] UnbindInputFilter 0x7bd730c258
this 0x7bd730c318
[016:507] [2022-03-29 15:44:30 +0000.294902][1a9c] UnbindInputFilter 0x7b2b723120
this 0x7bd730c258
[016:507] [2022-03-29 15:44:30 +0000.294918][1a9c] UnbindInputFilter 0x7bd730ca98
this 0x7bd7324d58
[016:507] [2022-03-29 15:44:30 +0000.294934][1a9c] UnbindInputFilter 0x7bd730c618
this 0x7bd730ca98
[016:507] [2022-03-29 15:44:30 +0000.294949][1a9c] UnbindInputFilter 0x7b2b723120
this 0x7bd730c618
[016:507] [2022-03-29 15:44:30 +0000.295171][1a9c] ~GLESContext:
[016:510] [2022-03-29 15:44:30 +0000.298156][1a9c] GLESContext destruct finish.
[016:510] [2022-03-29 15:44:30 +0000.298202][1a9c] filter: filter pipeline destroy
this: 0x7b4aa08e80
[017:428] [2022-03-29 15:44:31 +0000.216161][2990] haveEnoughProcessedData
internalAudioStream.length: 0
[018:153] [2022-03-29 15:44:31 +0000.940478][2990] Run AGC when audioType = 0
[019:171] [2022-03-29 15:44:32 +0000.959285][2990] haveEnoughProcessedData
internalAudioStream.length: 0
[020:148] [2022-03-29 15:44:33 +0000.936215][2991] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:148] [2022-03-29 15:44:33 +0000.936378][2991] _deviceSampleRate:48000

[020:154] [2022-03-29 15:44:33 +0000.942041][2990] Run AGC when audioType = 0


[020:154] [2022-03-29 15:44:33 +0000.942218][2990]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:426] [2022-03-29 15:44:34 +0000.214096][1ab8]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[020:426] [2022-03-29 15:44:34 +0000.214212][1ab8] ~MediaFilterCamera time:41727677
enter.

[020:426] [2022-03-29 15:44:34 +0000.214230][1ab8] StopPullFrameAndWriteMp4


time:41727677 enter.

[020:427] [2022-03-29 15:44:34 +0000.215012][298b] stop recording


[020:427] [2022-03-29 15:44:34 +0000.215086][298b] we have stopped recording before
[020:427] [2022-03-29 15:44:34 +0000.215198][1ab8] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[020:432] [2022-03-29 15:44:34 +0000.219766][1ab8] DestroyPipelineAndFilters


time:41727683 enter.

[020:432] [2022-03-29 15:44:34 +0000.219996][1ab8] DestroyPipelineAndFilters


leave. expire time = 0 ms

[020:432] [2022-03-29 15:44:34 +0000.220049][1ab8] AppDeviceManagerStopMic

[020:432] [2022-03-29 15:44:34 +0000.220169][1ab8] AppDeviceManagerStopMic::mic


status is on
[020:432] [2022-03-29 15:44:34 +0000.220203][1ab8] Try to stop webrtc device.

[020:432] [2022-03-29 15:44:34 +0000.220238][1ab8] Set record state to


stopped.threadID:6840

[020:465] [2022-03-29 15:44:34 +0000.253179][1ab8] Try to destory the


recorder.threadID:6840

[020:665] [2022-03-29 15:44:34 +0000.453368][1ab8] DestroyAudioRecorder:


[020:666] [2022-03-29 15:44:34 +0000.453447][1ab8] Cleanup the buffer queue in the
recorder.
[020:666] [2022-03-29 15:44:34 +0000.453460][1ab8] Destroy the recorder.

[020:667] [2022-03-29 15:44:34 +0000.455337][1ab8] StopRecording finished.

[020:667] [2022-03-29 15:44:34 +0000.455369][1ab8] The stop recording success.

[020:667] [2022-03-29 15:44:34 +0000.455379][1ab8]


AudioDeviceDataHandler::StopMicProcess

[020:673] [2022-03-29 15:44:34 +0000.460519][1ab8] AppDeviceManager stop.


[020:673] [2022-03-29 15:44:34 +0000.460588][1ab8] Rlease the webrtc device object.

[020:673] [2022-03-29 15:44:34 +0000.460778][1ab8] OpenSlesInput destruct.

[020:673] [2022-03-29 15:44:34 +0000.460823][1ab8] OpenSlesOutput destruct.

[020:673] [2022-03-29 15:44:34 +0000.461210][1ab8] EventDispatchServerScope


destruct
[020:673] [2022-03-29 15:44:34 +0000.461230][1ab8]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[020:673] [2022-03-29 15:44:34 +0000.461252][1ab8] ~AudioDeviceDataHandler

[020:674] [2022-03-29 15:44:34 +0000.461563][1ab8] AppDeviceManagerDestruct.

[020:674] [2022-03-29 15:44:34 +0000.461582][1ab8] ~AppDeviceManager:


[020:674] [2022-03-29 15:44:34 +0000.461604][1ab8] ~CpuOverloadDetect time:41727925
enter.

[020:674] [2022-03-29 15:44:34 +0000.461763][1ab8] ~CpuOverloadDetect leave.


expire time = 0 ms

[020:680] [2022-03-29 15:44:34 +0000.468111][1ab8] Destruct BeautifyReader begin...


[020:680] [2022-03-29 15:44:34 +0000.468162][1ab8] Destruct BeautifyReader done.
[020:680] [2022-03-29 15:44:34 +0000.468176][1ab8] ~MediaFilterCamera leave.
expire time = 254 ms

[020:680] [2022-03-29 15:44:34 +0000.468301][1ab8] ~GLESContext:


[020:683] [2022-03-29 15:44:34 +0000.471190][1ab8] GLESContext destruct finish.
[020:683] [2022-03-29 15:44:34 +0000.471243][1ab8] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[020:684] [2022-03-29 15:44:34 +0000.471481][1ab8] global uninited!
[020:684] [2022-03-29 15:44:34 +0000.472083][1ab8] clear AppID 50011
[020:684] [2022-03-29 15:44:34 +0000.472104][1ab8] UnRegister JVM for Xplatform
util
[020:684] [2022-03-29 15:44:34 +0000.472115][1ab8] Dispose::unregister webrtc video
engine
[020:684] [2022-03-29 15:44:34 +0000.472123][1ab8] Init the android object with
jvm:0x0 env:0x0 context:0x0

[020:684] [2022-03-29 15:44:34 +0000.472134][1ab8] SetAndroidMediaCodecObjects


time:41727935 enter.

[020:684] [2022-03-29 15:44:34 +0000.472158][1ab8] ClearAndroidMediaCodecObjects


time:41727935 enter.

[020:684] [2022-03-29 15:44:34 +0000.472167][1ab8] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[020:684] [2022-03-29 15:44:34 +0000.472173][1ab8] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[020:684] [2022-03-29 15:44:34 +0000.472179][1ab8] SetAndroidMediaCodecObjects


time:41727935 enter.

[020:684] [2022-03-29 15:44:34 +0000.472185][1ab8] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[020:684] [2022-03-29 15:44:34 +0000.472190][1ab8] ClearAndroidMediaCodecObjects
time:41727935 enter.
[020:684] [2022-03-29 15:44:34 +0000.472195][1ab8] ClearAndroidMediaCodecObjects
leave. expire time = 0 ms

[020:684] [2022-03-29 15:44:34 +0000.472200][1ab8] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[020:684] [2022-03-29 15:44:34 +0000.472205][1ab8] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[020:684] [2022-03-29 15:44:34 +0000.472209][1ab8] Dispose::unregis[000:022] [2022-


04-15 07:08:03 +0000.829577][1db1] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-04-
15 07:08:03 +0000
[000:022] [2022-04-15 07:08:03 +0000.829637][1db1] dump file m_prefix:-07-27-
feaf968

[000:025] [2022-04-15 07:08:03 +0000.832942][1db1] dump filename:trace.txt dump


time:1648568674

[000:025] [2022-04-15 07:08:03 +0000.832996][1db1] dump


filename:support_resolution.txt dump time:1648568674

[000:026] [2022-04-15 07:08:03 +0000.833181][1db1] set AppID=123 old AppID=-1


[000:026] [2022-04-15 07:08:03 +0000.833209][1db1] Init the android object with
jvm:0xb400007de462b540 env:0x7d206afc00 context:0x7cba8a6738

[000:026] [2022-04-15 07:08:03 +0000.833223][1db1] SetAndroidMediaCodecObjects


time:22468743 enter.

[000:026] [2022-04-15 07:08:03 +0000.833237][1db1] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:026] [2022-04-15 07:08:03 +0000.833248][1db1] SetAndroidMediaCodecObjects


time:22468743 enter.

[000:026] [2022-04-15 07:08:03 +0000.833256][1db1] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007de462b540
[000:026] [2022-04-15 07:08:03 +0000.833265][1db1] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007de462b540 address:0x7c4a8cf050
[000:026] [2022-04-15 07:08:03 +0000.833329][1db1] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007de462b540
address:0x7c4a8cf050
[000:026] [2022-04-15 07:08:03 +0000.833338][1db1] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:026] [2022-04-15 07:08:03 +0000.833355][1db1] Set the android objects with


jvm:0xb400007de462b540 env:0x7d206afc00 context:0x7cba8a6738

[000:026] [2022-04-15 07:08:03 +0000.833986][1db1] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7d206afc00
[000:026] [2022-04-15 07:08:03 +0000.834032][1db1] SystemUtil Init done
[000:048] [2022-04-15 07:08:03 +0000.855333][1db1]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_SetOrientationJni: media filter
camera is null.
[000:048] [2022-04-15 07:08:03 +0000.855700][1db1]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:048] [2022-04-15 07:08:03 +0000.855968][1db1] machine model :xiaomi
[000:048] [2022-04-15 07:08:03 +0000.855983][1db1] Support this machine
model :xiaomi
[000:049] [2022-04-15 07:08:03 +0000.856971][1db1] MediaFilterCamera
[000:049] [2022-04-15 07:08:03 +0000.857008][1db1] RecordingSessionInternalSimple:
Create session internal:1080 X 1920 fps:30
[000:049] [2022-04-15 07:08:03 +0000.857151][1db1] createSessionInternal: create
session with video size:1080 X 1920 fps:30 bitrate:31457280
[000:049] [2022-04-15 07:08:03 +0000.857170][1db1] Recording session using default
bitrate support by app:31457280
[000:050] [2022-04-15 07:08:03 +0000.857196][2247] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c6e82d4c0
[000:050] [2022-04-15 07:08:03 +0000.857377][2247] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:050] [2022-04-15 07:08:03 +0000.857432][1db1] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:051] [2022-04-15 07:08:03 +0000.858218][1db1] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:051] [2022-04-15 07:08:03 +0000.858388][1db1] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:051] [2022-04-15 07:08:03 +0000.858423][1db1] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[000:051] [2022-04-15 07:08:03 +0000.858540][1db1] DeviceInit:
[000:051] [2022-04-15 07:08:03 +0000.858737][1db1] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:052] [2022-04-15 07:08:03 +0000.859180][1db1] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:052] [2022-04-15 07:08:03 +0000.859514][1db1] CreatePlatformSpecificObjects:
[000:052] [2022-04-15 07:08:03 +0000.859536][1db1] audio device use null audio
input and opensl output
[000:052] [2022-04-15 07:08:03 +0000.859549][1db1] Create OpenSLES output module
with java VM support.

[000:052] [2022-04-15 07:08:03 +0000.859660][1db1] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:052] [2022-04-15 07:08:03 +0000.859788][1db1] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:052] [2022-04-15 07:08:03 +0000.859883][1db1] Create OpenSLES output module
with buffer num:2

[000:052] [2022-04-15 07:08:03 +0000.859969][1db1] Error(trace.cc:40): Init the


output and input for audio device template.
[000:052] [2022-04-15 07:08:03 +0000.859985][1db1] Init the output device.

[000:052] [2022-04-15 07:08:03 +0000.859994][1db1] Set the playout as stereo:1


[000:052] [2022-04-15 07:08:03 +0000.860003][1db1] Set the sample rate to be:44100

[000:054] [2022-04-15 07:08:03 +0000.861384][1db1] Low latency buffer size:144 low


sample rate:48000
[000:054] [2022-04-15 07:08:03 +0000.861412][1db1] DeviceInit: Done
[000:055] [2022-04-15 07:08:03 +0000.863165][1db1] global inited! current sdk
version: 07-27-feaf968
[000:412] [2022-04-15 07:08:04 +0000.219726][1dde]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[000:412] [2022-04-15 07:08:04 +0000.219842][1dde]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetOpengGlRenderParamsJni: texture rgb:
11, textureUniform RGB: 1, ATTRIB_VERTEX: 0, ATTRIB_TEXTURE: 1, vertex_vertices
len: 32, texture_vertices len: 32
[000:412] [2022-04-15 07:08:04 +0000.220172][1dde]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:413] [2022-04-15 07:08:04 +0000.220270][2249] MediaFilterCamera, recording
file context:0x7cb643c080 input texture:11
[000:413] [2022-04-15 07:08:04 +0000.220332][2249] GLESContext:
[000:413] [2022-04-15 07:08:04 +0000.220381][2249] The result of eglGetDisplay is:
0xb400007d206ac8c0
[000:413] [2022-04-15 07:08:04 +0000.221055][2249] The result of creation:
0x7d28b0e700
[000:413] [2022-04-15 07:08:04 +0000.221135][2249] The result of
eglCreatePbufferSurface is: 0x7d28b0ec80
[000:414] [2022-04-15 07:08:04 +0000.221200][1dde]
Java_com_xiaomi_mediaprocess_OpenGlRender_SetCurrentGLContextJni: g_eglcontext:
0x7cb643c080 input_texture: 11
[005:578] [2022-04-15 07:08:09 +0000.385825][1db1]
Java_com_xiaomi_mediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[005:579] [2022-04-15 07:08:09 +0000.386721][1db1] ~MediaFilterCamera time:22474296
enter.

[005:580] [2022-04-15 07:08:09 +0000.387467][1db1] Stop:


[005:580] [2022-04-15 07:08:09 +0000.387608][224c] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[005:580] [2022-04-15 07:08:09 +0000.387913][2247] stop recording
[005:580] [2022-04-15 07:08:09 +0000.387949][2247] we have stopped recording before
[005:580] [2022-04-15 07:08:09 +0000.387991][1db1] Stop:
[005:580] [2022-04-15 07:08:09 +0000.388052][224c] Warning(audio_playback.cc:701):
operator(): Audio playback not started. Operation cancelled.
[005:580] [2022-04-15 07:08:09 +0000.388151][1db1] DeviceRelease:
audioDevice_:0x7d28a42000
[005:581] [2022-04-15 07:08:09 +0000.388182][1db1] OpenSlesOutput:Stop playout

[005:581] [2022-04-15 07:08:09 +0000.388214][1db1] DeviceRelease: Release the


webrtc device object.
[005:581] [2022-04-15 07:08:09 +0000.388344][1db1] OpenSlesOutput destruct.

[005:581] [2022-04-15 07:08:09 +0000.388387][1db1] DeviceRelease: Done


[005:581] [2022-04-15 07:08:09 +0000.388779][1db1] DestroyPipelineAndFilters
time:22474298 enter.

[005:581] [2022-04-15 07:08:09 +0000.388807][1db1] DestroyPipelineAndFilters


leave. expire time = 0 ms

[005:581] [2022-04-15 07:08:09 +0000.388820][1db1] ~MediaFilterCamera leave.


expire time = 2 ms

[005:581] [2022-04-15 07:08:09 +0000.388885][1db1] ~GLESContext:


[005:582] [2022-04-15 07:08:09 +0000.389601][1db1] GLESContext destruct finish.
[005:582] [2022-04-15 07:08:09 +0000.389636][1db1] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[005:583] [2022-04-15 07:08:09 +0000.390353][1db1] global uninited!
[005:583] [2022-04-15 07:08:09 +0000.390998][000:028] [2022-04-24 10:26:22
+0000.44360][4d55] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-04-
24 10:26:22 +0000
[000:028] [2022-04-24 10:26:22 +0000.44389][4d55] Disable the crash dump because of
setting.

[000:028] [2022-04-24 10:26:22 +0000.44396][4d55] set AppID=123 old AppID=-1


[000:028] [2022-04-24 10:26:22 +0000.44403][4d55] Init the android object with
jvm:0xb400007e5e694540 env:0x7d9113cc00 context:0x7d22fc2bf8

[000:028] [2022-04-24 10:26:22 +0000.44424][4d55] SetAndroidMediaCodecObjects


time:32945628 enter.
[000:028] [2022-04-24 10:26:22 +0000.44432][4d55] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:028] [2022-04-24 10:26:22 +0000.44438][4d55] SetAndroidMediaCodecObjects


time:32945628 enter.

[000:028] [2022-04-24 10:26:22 +0000.44443][4d55] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007e5e694540
[000:028] [2022-04-24 10:26:22 +0000.44448][4d55] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007e5e694540 address:0x7c5f0f05a0
[000:028] [2022-04-24 10:26:22 +0000.44488][4d55] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007e5e694540
address:0x7c5f0f05a0
[000:028] [2022-04-24 10:26:22 +0000.44493][4d55] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:028] [2022-04-24 10:26:22 +0000.44505][4d55] Set the android objects with


jvm:0xb400007e5e694540 env:0x7d9113cc00 context:0x7d22fc2bf8

[000:028] [2022-04-24 10:26:22 +0000.44518][4d55] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7d9113cc00
[000:028] [2022-04-24 10:26:22 +0000.44526][4d55] SystemUtil Init done
[000:030] [2022-04-24 10:26:22 +0000.46586][4d55]
Java_com_xiaomi_inceptionmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJ
ni:
[000:032] [2022-04-24 10:26:22 +0000.48231][4d55] MediaFilterCamera
[000:032] [2022-04-24 10:26:22 +0000.48748][4d55] Error(ini.cc:191): Open the file
failed. error:2
[000:032] [2022-04-24 10:26:22 +0000.48769][4d55]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:032] [2022-04-24 10:26:22 +0000.48788][4d55] The device model: 2107113sg
usingSoftwareAEC value: 0
[000:035] [2022-04-24 10:26:22 +0000.51576][4d55] Error(ini.cc:191): Open the file
failed. error:2
[000:035] [2022-04-24 10:26:22 +0000.51606][4d55]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:035] [2022-04-24 10:26:22 +0000.51622][4d55] The device model: 2107113sg
usingHardwareAEC value: 0
[000:035] [2022-04-24 10:26:22 +0000.51630][4d55] The machine device: 2107113sg
usingHardwareAEC value: 0
[000:035] [2022-04-24 10:26:22 +0000.51635][4d55] Using Default AEC type: software
AEC
[000:036] [2022-04-24 10:26:22 +0000.52168][4d55] The device model: 2107113sg enum
value: 0
[000:036] [2022-04-24 10:26:22 +0000.52415][4d55] GetMachineModel is 2107113SG
[000:036] [2022-04-24 10:26:22 +0000.52430][4d55] GetMachineInfo: 2107113SG
[000:036] [2022-04-24 10:26:22 +0000.52443][4d55] Construct BeautifyReader begin...
[000:036] [2022-04-24 10:26:22 +0000.52449][4d55] dumpStickerRgba:0
dumpStickerYuv:0
[000:036] [2022-04-24 10:26:22 +0000.52455][4d55] Construct BeautifyReader done.
[000:039] [2022-04-24 10:26:22 +0000.55081][4d55] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:039] [2022-04-24 10:26:22 +0000.55108][4d55] AppDeviceManager telnet server
for statistics started......
[000:039] [2022-04-24 10:26:22 +0000.55123][7023] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7cfd8282a0
[000:039] [2022-04-24 10:26:22 +0000.55563][4d55] CpuOverloadDetect time:32945639
enter.
[000:039] [2022-04-24 10:26:22 +0000.55622][4d55] CpuOverloadDetect leave. expire
time = 0 ms

[000:039] [2022-04-24 10:26:22 +0000.55657][7024] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7d01e6e380
[000:039] [2022-04-24 10:26:22 +0000.55895][4d55] AppDeviceMana GetOpenslVoiceMode
before get setting: 1
[000:039] [2022-04-24 10:26:22 +0000.55938][4d55] AppDeviceMana GetOpenslVoiceMode
after get setting: 1
[000:040] [2022-04-24 10:26:22 +0000.56150][4d55] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:041] [2022-04-24 10:26:22 +0000.57176][4d55] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:041] [2022-04-24 10:26:22 +0000.57408][4d55] CreatePlatformSpecificObjects:
[000:041] [2022-04-24 10:26:22 +0000.57430][4d55] audio device use opensle input
and opensl output
[000:041] [2022-04-24 10:26:22 +0000.57453][4d55] Create OpenSLES output module
with java VM support.

[000:041] [2022-04-24 10:26:22 +0000.57508][4d55] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:041] [2022-04-24 10:26:22 +0000.57627][4d55] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:041] [2022-04-24 10:26:22 +0000.57720][4d55] Create OpenSLES output module
with buffer num:1

[000:041] [2022-04-24 10:26:22 +0000.57799][4d55] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:041] [2022-04-24 10:26:22 +0000.57874][4d55] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:041] [2022-04-24 10:26:22 +0000.57955][4d55] Create OpenSLES input module with
java VM support.

[000:041] [2022-04-24 10:26:22 +0000.57977][4d55] Create OpenSLES input module with


buffer num:1

[000:041] [2022-04-24 10:26:22 +0000.58001][4d55] Error(trace.cc:40): Init the


output and input for audio device template.
[000:041] [2022-04-24 10:26:22 +0000.58018][4d55] Init the output device.

[000:041] [2022-04-24 10:26:22 +0000.58025][4d55] Init the opensl input.


[000:042] [2022-04-24 10:26:22 +0000.58032][4d55] AppDeviceManager get setting
samplerate: 0
[000:042] [2022-04-24 10:26:22 +0000.58179][4d55] The device model: 2107113sg enum
value: 0
[000:042] [2022-04-24 10:26:22 +0000.58449][4d55] The device model: 2107113sg enum
value: 0
[000:042] [2022-04-24 10:26:22 +0000.58461][4d55] Set the sample rate to be:48000

[000:042] [2022-04-24 10:26:22 +0000.58468][4d55] Enable the recording stereo:0


[000:042] [2022-04-24 10:26:22 +0000.58474][4d55] Set the playout as stereo:1
[000:042] [2022-04-24 10:26:22 +0000.58480][4d55] Init the microphone.
[000:042] [2022-04-24 10:26:22 +0000.58773][4d55] Update the recording sample rate
to be: 48000
[000:042] [2022-04-24 10:26:22 +0000.58804][4d55] Init the speaker.
[000:042] [2022-04-24 10:26:22 +0000.58823][4d55] Low latency buffer size:144 low
sample rate:48000
[000:042] [2022-04-24 10:26:22 +0000.58946][4d55] Using 1 x 10ms for an audio
frame.

[000:045] [2022-04-24 10:26:22 +0000.61504][4d55] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:045] [2022-04-24 10:26:22 +0000.61582][4d55] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:045] [2022-04-24 10:26:22 +0000.61601][4d55] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:049] [2022-04-24 10:26:22 +0000.65124][4d55] The device model:2107113sg

[000:049] [2022-04-24 10:26:22 +0000.65171][4d55] speaker output factor:100


defaultFactor: 100

[000:049] [2022-04-24 10:26:22 +0000.65179][4d55] headset output factor:100


defaultFactor: 100

[000:049] [2022-04-24 10:26:22 +0000.65394][4d55] AppDeviceManagerStart finished.


[000:049] [2022-04-24 10:26:22 +0000.65409][4d55] AppDeviceManagerStartMic::mic
status is off
[000:049] [2022-04-24 10:26:22 +0000.65465][4d55] AppDeviceManagerStartMic update
aec type: 2

[000:049] [2022-04-24 10:26:22 +0000.65475][4d55] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:049] [2022-04-24 10:26:22 +0000.65480][4d55]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:049] [2022-04-24 10:26:22 +0000.65485][4d55]
AudioDeviceDataHandler::StartMicProcess

[000:049] [2022-04-24 10:26:22 +0000.65589][4d55] Try to start webrtc recording


device.

[000:049] [2022-04-24 10:26:22 +0000.65602][4d55] StartRecording. threadID:19797

[000:049] [2022-04-24 10:26:22 +0000.65624][7025] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:049] [2022-04-24 10:26:22 +0000.65711][7025] haveEnoughProcessedData
internalAudioStream.length: 0
[000:049] [2022-04-24 10:26:22 +0000.65763][4d55] The machine model:2107113SG

[000:049] [2022-04-24 10:26:22 +0000.65790][4d55] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:049] [2022-04-24 10:26:22 +0000.65809][4d55] Set the recording mode before


getSetting: 4
[000:049] [2022-04-24 10:26:22 +0000.65817][4d55] Set the recording mode after
getSetting: 1
[000:074] [2022-04-24 10:26:22 +0000.90163][4d55] StartRecording finished.

[000:074] [2022-04-24 10:26:22 +0000.90203][4d55] audio: start the audio mic


checker timer.

[000:074] [2022-04-24 10:26:22 +0000.90538][4d55] machine model :xiaomi


[000:074] [2022-04-24 10:26:22 +0000.90553][4d55] Support this machine
model :xiaomi
[000:080] [2022-04-24 10:26:22 +0000.96507][4d55] global inited! current sdk
version: 06-21-2b091f2
[000:082] [2022-04-24 10:26:22 +0000.98945][4d55]
Java_com_xiaomi_inceptionmediaprocess_MediaEffectCamera_SetEncoderTypeJni:
[000:122] [2022-04-24 10:26:22 +0000.138313][7026] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:122] [2022-04-24 10:26:22 +0000.138377][7026] _deviceSampleRate:48000

[000:127] [2022-04-24 10:26:22 +0000.143140][7025] Run AGC when audioType = 0


[000:127] [2022-04-24 10:26:22 +0000.143239][7025]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:450] [2022-04-24 10:26:22 +0000.466617][4d67]
Java_com_xiaomi_inceptionmediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
[000:450] [2022-04-24 10:26:22 +0000.466700][4d67]
Java_com_xiaomi_inceptionmediaprocess_OpenGlRender_SetOpengGlRenderParamsJni:
texture rgb: 49, textureUniform RGB: 1, ATTRIB_VERTEX: 0, ATTRIB_TEXTURE: 1,
vertex_vertices len: 32, texture_vertices len: 32
[000:451] [2022-04-24 10:26:22 +0000.467602][4d67]
Java_com_xiaomi_inceptionmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:451] [2022-04-24 10:26:22 +0000.467688][7021] MediaFilterCamera, recording
file context:0x7d20a56880 input texture:49
[000:451] [2022-04-24 10:26:22 +0000.467743][7021] GLESContext:
[000:451] [2022-04-24 10:26:22 +0000.467772][7021] The result of eglGetDisplay is:
0xb400007d911398c0
[000:452] [2022-04-24 10:26:22 +0000.468487][7021] The result of creation:
0x7cfda6f380
[000:452] [2022-04-24 10:26:22 +0000.468568][7021] The result of
eglCreatePbufferSurface is: 0x7cfda6fc00
[000:452] [2022-04-24 10:26:22 +0000.468627][4d67]
Java_com_xiaomi_inceptionmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7d20a56880 input_texture: 49
[001:780] [2022-04-24 10:26:23 +0000.797055][7025] haveEnoughProcessedData
internalAudioStream.length: 0
[002:123] [2022-04-24 10:26:24 +0000.139934][7025] Run AGC when audioType = 0
[003:519] [2022-04-24 10:26:25 +0000.535578][7025] haveEnoughProcessedData
internalAudioStream.length: 0
[004:076] [2022-04-24 10:26:26 +0000.92263][701d]
monitorTime:4002totalDuration:3960
[004:126] [2022-04-24 10:26:26 +0000.142374][7025] Run AGC when audioType = 0
[004:126] [2022-04-24 10:26:26 +0000.142584][7025]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:720] [2022-04-24 10:26:26 +0000.736798][4d55]
Java_com_xiaomi_inceptionmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJn
i:
[004:720] [2022-04-24 10:26:26 +0000.736961][4d55] ~MediaFilterCamera time:32950320
enter.

[004:720] [2022-04-24 10:26:26 +0000.736994][4d55] StopPullFrameAndWriteMp4


time:32950320 enter.

[004:721] [2022-04-24 10:26:26 +0000.737407][4d55] StopPullFrameAndWriteMp4 leave.


expire time = 1 ms

[004:721] [2022-04-24 10:26:26 +0000.737823][4d55] DestroyPipelineAndFilters


time:32950321 enter.

[004:721] [2022-04-24 10:26:26 +0000.737866][4d55] DestroyPipelineAndFilters


leave. expire time = 0 ms

[004:721] [2022-04-24 10:26:26 +0000.737888][4d55] AppDeviceManagerStopMic


[004:721] [2022-04-24 10:26:26 +0000.737933][4d55]

You might also like