You are on page 1of 55

[000:113] [2022-08-05 10:02:46 +0000.

236785][4726] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-08-
05 10:02:46 +0000
[000:113] [2022-08-05 10:02:46 +0000.236873][4726] set AppID=50011 old AppID=-1
[000:113] [2022-08-05 10:02:46 +0000.236891][4726] Init the android object with
jvm:0xb4000073b0c72540 env:0x72709ab900 context:0x722d37b768

[000:113] [2022-08-05 10:02:46 +0000.236925][4726] SetAndroidMediaCodecObjects


time:1429493 enter.

[000:113] [2022-08-05 10:02:46 +0000.236976][4726] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:113] [2022-08-05 10:02:46 +0000.237010][4726] SetAndroidMediaCodecObjects


time:1429493 enter.

[000:113] [2022-08-05 10:02:46 +0000.237043][4726] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb4000073b0c72540
[000:113] [2022-08-05 10:02:46 +0000.237057][4726] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb4000073b0c72540 address:0x71d892a760
[000:113] [2022-08-05 10:02:46 +0000.237087][4726] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb4000073b0c72540
address:0x71d892a760
[000:113] [2022-08-05 10:02:46 +0000.237121][4726] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[000:113] [2022-08-05 10:02:46 +0000.237146][4726] Set the android objects with


jvm:0xb4000073b0c72540 env:0x72709ab900 context:0x722d37b768

[000:113] [2022-08-05 10:02:46 +0000.237175][4726] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x72709ab900
[000:113] [2022-08-05 10:02:46 +0000.237199][4726] SystemUtil Init done
[000:115] [2022-08-05 10:02:46 +0000.239004][4726]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:115] [2022-08-05 10:02:46 +0000.239217][4726] MediaFilterCamera
[000:115] [2022-08-05 10:02:46 +0000.239267][4726] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:116] [2022-08-05 10:02:46 +0000.239625][4726] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:116] [2022-08-05 10:02:46 +0000.239658][4726] Recording session using default
bitrate support by app:31457280
[000:116] [2022-08-05 10:02:46 +0000.239669][4a5d] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7270b629c0
[000:116] [2022-08-05 10:02:46 +0000.240001][4a5d] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:116] [2022-08-05 10:02:46 +0000.240109][4726] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:117] [2022-08-05 10:02:46 +0000.240777][4726] Error(ini.cc:191): Open the file
failed. error:2
[000:117] [2022-08-05 10:02:46 +0000.240828][4726]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:117] [2022-08-05 10:02:46 +0000.240860][4726] The device model: m2101k6g
usingSoftwareAEC value: 0
[000:124] [2022-08-05 10:02:46 +0000.248462][4726] Error(ini.cc:191): Open the file
failed. error:2
[000:125] [2022-08-05 10:02:46 +0000.248586][4726]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:125] [2022-08-05 10:02:46 +0000.248619][4726] The device model: m2101k6g
usingHardwareAEC value: 0
[000:125] [2022-08-05 10:02:46 +0000.248648][4726] The machine device: m2101k6g
usingHardwareAEC value: 0
[000:125] [2022-08-05 10:02:46 +0000.248662][4726] Using Default AEC type: software
AEC
[000:126] [2022-08-05 10:02:46 +0000.249832][4726] The device model: m2101k6g enum
value: 0
[000:126] [2022-08-05 10:02:46 +0000.250350][4726] GetMachineModel is M2101K6G
[000:126] [2022-08-05 10:02:46 +0000.250399][4726] GetMachineInfo: M2101K6G
[000:126] [2022-08-05 10:02:46 +0000.250425][4726] Construct BeautifyReader
begin...
[000:126] [2022-08-05 10:02:46 +0000.250445][4726] dumpStickerRgba:0
dumpStickerYuv:0
[000:126] [2022-08-05 10:02:46 +0000.250456][4726] Construct BeautifyReader done.
[000:130] [2022-08-05 10:02:46 +0000.253615][4726] Error(ini.cc:191): Open the file
failed. error:2
[000:130] [2022-08-05 10:02:46 +0000.253729][4726]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/support_resolution.txt
[000:130] [2022-08-05 10:02:46 +0000.253879][4726] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:130] [2022-08-05 10:02:46 +0000.253906][4726] AppDeviceManager telnet server
for statistics started......
[000:130] [2022-08-05 10:02:46 +0000.254000][4a60] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7270a911a0
[000:130] [2022-08-05 10:02:46 +0000.254250][4726] CpuOverloadDetect time:1429510
enter.

[000:130] [2022-08-05 10:02:46 +0000.254340][4726] CpuOverloadDetect leave. expire


time = 0 ms

[000:131] [2022-08-05 10:02:46 +0000.254864][4726] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[000:131] [2022-08-05 10:02:46 +0000.254899][4726] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:131] [2022-08-05 10:02:46 +0000.255398][4a61] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x71fe85a480
[000:132] [2022-08-05 10:02:46 +0000.256530][4726] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:138] [2022-08-05 10:02:46 +0000.262466][4726] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:139] [2022-08-05 10:02:46 +0000.263116][4726] CreatePlatformSpecificObjects:
[000:139] [2022-08-05 10:02:46 +0000.263194][4726] audio device use opensle input
and opensl output
[000:139] [2022-08-05 10:02:46 +0000.263243][4726] Create OpenSLES output module
with java VM support.

[000:139] [2022-08-05 10:02:46 +0000.263384][4726] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:140] [2022-08-05 10:02:46 +0000.263650][4726] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:140] [2022-08-05 10:02:46 +0000.263875][4726] Create OpenSLES output module
with buffer num:1

[000:140] [2022-08-05 10:02:46 +0000.264048][4726] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:140] [2022-08-05 10:02:46 +0000.264214][4726] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:140] [2022-08-05 10:02:46 +0000.264395][4726] Create OpenSLES input module
with java VM support.

[000:140] [2022-08-05 10:02:46 +0000.264432][4726] Create OpenSLES input module


with buffer num:1

[000:140] [2022-08-05 10:02:46 +0000.264494][4726] Error(trace.cc:40): Init the


output and input for audio device template.
[000:140] [2022-08-05 10:02:46 +0000.264517][4726] Init the output device.

[000:140] [2022-08-05 10:02:46 +0000.264542][4726] Init the opensl input.


[000:141] [2022-08-05 10:02:46 +0000.264557][4726] AppDeviceManager get setting
samplerate: 0
[000:141] [2022-08-05 10:02:46 +0000.264896][4726] The device model: m2101k6g enum
value: 0
[000:141] [2022-08-05 10:02:46 +0000.265384][4726] The device model: m2101k6g enum
value: 0
[000:141] [2022-08-05 10:02:46 +0000.265411][4726] Set the sample rate to be:48000

[000:141] [2022-08-05 10:02:46 +0000.265425][4726] Enable the recording stereo:0


[000:141] [2022-08-05 10:02:46 +0000.265439][4726] Set the playout as stereo:1
[000:141] [2022-08-05 10:02:46 +0000.265460][4726] Init the microphone.
[000:144] [2022-08-05 10:02:46 +0000.268079][4726] Update the recording sample rate
to be: 48000
[000:144] [2022-08-05 10:02:46 +0000.268160][4726] Init the speaker.
[000:144] [2022-08-05 10:02:46 +0000.268191][4726] Low latency buffer size:144 low
sample rate:48000
[000:144] [2022-08-05 10:02:46 +0000.268451][4726] Using 1 x 10ms for an audio
frame.

[000:148] [2022-08-05 10:02:46 +0000.271840][4726] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:148] [2022-08-05 10:02:46 +0000.271959][4726] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:148] [2022-08-05 10:02:46 +0000.271994][4726] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:153] [2022-08-05 10:02:46 +0000.277404][4726] The device model:m2101k6g

[000:153] [2022-08-05 10:02:46 +0000.277481][4726] speaker output factor:100


defaultFactor: 100

[000:153] [2022-08-05 10:02:46 +0000.277497][4726] headset output factor:100


defaultFactor: 100

[000:154] [2022-08-05 10:02:46 +0000.277820][4726] AppDeviceManagerStart finished.


[000:154] [2022-08-05 10:02:46 +0000.277852][4726] AppDeviceManagerStartMic::mic
status is off
[000:154] [2022-08-05 10:02:46 +0000.277894][4726] AppDeviceManagerStartMic update
aec type: 2

[000:154] [2022-08-05 10:02:46 +0000.277914][4726] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:154] [2022-08-05 10:02:46 +0000.277929][4726]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:154] [2022-08-05 10:02:46 +0000.277951][4726]
AudioDeviceDataHandler::StartMicProcess

[000:154] [2022-08-05 10:02:46 +0000.278062][4726] Try to start webrtc recording


device.
[000:154] [2022-08-05 10:02:46 +0000.278088][4726] StartRecording. threadID:18214

[000:155] [2022-08-05 10:02:46 +0000.279101][4726] The machine model:M2101K6G

[000:155] [2022-08-05 10:02:46 +0000.279209][4726] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:155] [2022-08-05 10:02:46 +0000.279236][4726] Set the recording mode before


getSetting: 4
[000:155] [2022-08-05 10:02:46 +0000.279254][4726] Set the recording mode after
getSetting: 1
[000:156] [2022-08-05 10:02:46 +0000.279589][4a63] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:156] [2022-08-05 10:02:46 +0000.279681][4a63] haveEnoughProcessedData
internalAudioStream.length: 0
[000:233] [2022-08-05 10:02:46 +0000.357166][4726] StartRecording finished.

[000:233] [2022-08-05 10:02:46 +0000.357227][4726] audio: start the audio mic


checker timer.

[000:234] [2022-08-05 10:02:46 +0000.357678][4726] machine model :redmi


[000:234] [2022-08-05 10:02:46 +0000.357720][4726] Support this machine
model :redmi
[000:234] [2022-08-05 10:02:46 +0000.357829][4726] global inited! current sdk
version: 07-20-936c45f
[000:344] [2022-08-05 10:02:46 +0000.467937][4a64] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:344] [2022-08-05 10:02:46 +0000.468025][4a64] _deviceSampleRate:48000

[000:346] [2022-08-05 10:02:46 +0000.470533][4a63] Run AGC when audioType = 0


[000:347] [2022-08-05 10:02:46 +0000.470625][4a63]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:748] [2022-08-05 10:02:46 +0000.871985][4963]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:749] [2022-08-05 10:02:46 +0000.872964][4a5e] MediaFilterCamera, recording
file context:0x722842cc80 input texture:8
[000:749] [2022-08-05 10:02:46 +0000.873076][4a5e] GLESContext:
[000:749] [2022-08-05 10:02:46 +0000.873122][4a5e] The result of eglGetDisplay is:
0xb4000072eecd4a00
[000:750] [2022-08-05 10:02:46 +0000.874362][4a5e] The result of creation:
0x71fee07b00
[000:750] [2022-08-05 10:02:46 +0000.874484][4a5e] The result of
eglCreatePbufferSurface is: 0x71fee07c00
[000:751] [2022-08-05 10:02:46 +0000.874789][4963]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x722842cc80 input_texture: 8
[001:924] [2022-08-05 10:02:48 +0000.48260][4a63] haveEnoughProcessedData
internalAudioStream.length: 0
[002:348] [2022-08-05 10:02:48 +0000.472271][4a63] Run AGC when audioType = 0
[003:639] [2022-08-05 10:02:49 +0000.762961][4a63] haveEnoughProcessedData
internalAudioStream.length: 0
[004:235] [2022-08-05 10:02:50 +0000.358699][4a57]
monitorTime:4002totalDuration:3900
[004:347] [2022-08-05 10:02:50 +0000.470828][4a63] Run AGC when audioType = 0
[004:347] [2022-08-05 10:02:50 +0000.471070][4a63]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:466] [2022-08-05 10:02:50 +0000.589831][46f8] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[004:466] [2022-08-05 10:02:50 +0000.589982][46f8]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[004:479] [2022-08-05 10:02:50 +0000.602984][46f8]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[004:479] [2022-08-05 10:02:50 +0000.603286][4a5e] operator() time:1433859 enter.

[004:479] [2022-08-05 10:02:50 +0000.603379][4a5e] MediaFilterCamera, recording


file context:0x722842cc80 input texture:8
[004:481] [2022-08-05 10:02:50 +0000.604892][4a5e] MicSource: Mic source
created:10x72280cfe00
[004:482] [2022-08-05 10:02:50 +0000.605717][4a5e] received external audio stream

[004:482] [2022-08-05 10:02:50 +0000.605812][4a5e] alloc thread: 0x72284c9f80


name:worker0 thread id:489373809840 to Mic_source
[004:482] [2022-08-05 10:02:50 +0000.605862][4a5e] audio: start the audio sender
thread.

[004:482] [2022-08-05 10:02:50 +0000.605941][4a5e] construct OpenGLRenderProgram


0x71fe846b98
[004:482] [2022-08-05 10:02:50 +0000.605965][4a5e] CropFilter::SetOrientation
orientation: 90
[004:482] [2022-08-05 10:02:50 +0000.606129][4a5e] filter: filter pipeline
construtc this: 0x72280b9c40
[004:482] [2022-08-05 10:02:50 +0000.606174][4a5e] filter: filter pipeline2 update
pattern: 1
[004:482] [2022-08-05 10:02:50 +0000.606254][4a5e] CameraSource::source_id_:1
[004:482] [2022-08-05 10:02:50 +0000.606299][4a5e] RecordAudioSource::source_id_:2
[004:482] [2022-08-05 10:02:50 +0000.606520][4a5e] BindInputFilter 0x72284cacc0
this 0x71fe846dc0
[004:483] [2022-08-05 10:02:50 +0000.606564][4a5e] BindInputFilter 0x72284cae58
this 0x71fe5dac50
[004:483] [2022-08-05 10:02:50 +0000.606600][4a5e] BindInputFilter 0x71fe846dc0
this 0x72280b9ce0
[004:483] [2022-08-05 10:02:50 +0000.606651][4a5e] setParamentForFilters:
speed:1.000000
[004:483] [2022-08-05 10:02:50 +0000.606679][4a5e] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[004:483] [2022-08-05 10:02:50 +0000.606708][4a5e] SetParamForFilter time:1433863
enter.

[004:483] [2022-08-05 10:02:50 +0000.606735][4a5e] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[004:483] [2022-08-05 10:02:50 +0000.606762][4a5e] SetParamForFilter: Params video
index is: 0
[004:483] [2022-08-05 10:02:50 +0000.606790][4a5e] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[004:483] [2022-08-05 10:02:50 +0000.606816][4a5e] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[004:483] [2022-08-05 10:02:50 +0000.606841][4a5e] crop filter mode tpye:
citytravelvideo index:0
[004:488] [2022-08-05 10:02:50 +0000.612051][4a63] On audio frame the broadcast
with timestamp:1433868 samples:480. (1000 frame for one log)

[004:491] [2022-08-05 10:02:50 +0000.614731][4a5e]


Warning(parse_template_json.cc:45): json parament no found the parament
[004:491] [2022-08-05 10:02:50 +0000.614834][4a5e]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:491] [2022-08-05 10:02:50 +0000.614858][4a5e]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:491] [2022-08-05 10:02:50 +0000.614877][4a5e]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:491] [2022-08-05 10:02:50 +0000.614898][4a5e]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:491] [2022-08-05 10:02:50 +0000.614939][4a5e]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:491] [2022-08-05 10:02:50 +0000.614982][4a5e]
Warning(parse_template_json.cc:45): json parament no found the parament
[004:491] [2022-08-05 10:02:50 +0000.615002][4a5e]
Warning(parse_template_json.cc:81): json parament no found the parament
[004:491] [2022-08-05 10:02:50 +0000.615021][4a5e]
Warning(parse_template_json.cc:81): json parament no found the parament
[004:491] [2022-08-05 10:02:50 +0000.615038][4a5e]
Warning(parse_template_json.cc:67): json parament no found the parament
[004:491] [2022-08-05 10:02:50 +0000.615055][4a5e]
Warning(parse_template_json.cc:93): json parament no found the duration
[004:491] [2022-08-05 10:02:50 +0000.615075][4a5e] SetParamForFilter leave. expire
time = 8 ms

[004:491] [2022-08-05 10:02:50 +0000.615318][4a5e] OnOutputSizeChanged width 1280


height 720
[004:491] [2022-08-05 10:02:50 +0000.615358][4a5e] OpenGLFrameBuffer: width:1280
height:720
[004:491] [2022-08-05 10:02:50 +0000.615402][4a5e] OpenGLFrameBuffer: width:1280
height:720
[004:491] [2022-08-05 10:02:50 +0000.615425][4a5e] OpenGLFrameBuffer: width:1280
height:720
[004:491] [2022-08-05 10:02:50 +0000.615445][4a5e] OpenGLFrameBuffer: width:1280
height:720
[004:491] [2022-08-05 10:02:50 +0000.615465][4a5e] OpenGLFrameBuffer: width:1280
height:720
[004:491] [2022-08-05 10:02:50 +0000.615484][4a5e] OpenGLFrameBuffer: width:1280
height:720
[004:491] [2022-08-05 10:02:50 +0000.615500][4a5e] construct TrivalImageDrawer
0x71fe862c40
[004:491] [2022-08-05 10:02:50 +0000.615518][4a5e] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x71fe862c40 context 0x7228500580
[004:491] [2022-08-05 10:02:50 +0000.615538][4a5e] setupGLES:
[004:492] [2022-08-05 10:02:50 +0000.615895][4a5e] OpenGLRenderProgram::Initialize.
[004:492] [2022-08-05 10:02:50 +0000.615954][4a5e] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[004:492] [2022-08-05 10:02:50 +0000.615989][4a5e] The extension of the OpenGL:
GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float
GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture
GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr
GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc
GL_OES_texture_npot GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D
GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test
GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override
GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader
GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks
GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp
GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation
GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5
GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch
GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading
GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering
GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box
GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query
GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16
GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview
GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker
GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture
GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params
GL_EXT_clip_cull_distance GL_EXT_protected_textures
GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated
GL_QCOM_texture_foveated_subsampled_layout
GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate
GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array
GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior
GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control
GL_OES_texture_view GL_EXT_fragment_invocation_density
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[004:492] [2022-08-05 10:02:50 +0000.616050][4a5e] Init open gl render:
0x71fe846b98
[004:492] [2022-08-05 10:02:50 +0000.616088][4a5e] Fragement shader path:
[004:492] [2022-08-05 10:02:50 +0000.616130][4a5e] Fragement shader path:
[004:492] [2022-08-05 10:02:50 +0000.616207][4a5e] create opengl program object.
[004:492] [2022-08-05 10:02:50 +0000.616242][4a5e] create shader: vertex
[004:493] [2022-08-05 10:02:50 +0000.617280][4a8d] Get data in mic source, which
has byte length:1764micAudioStream->length():20
[004:494] [2022-08-05 10:02:50 +0000.617783][4a8d] The output timestamp from audio
mixer change:1433868
[004:494] [2022-08-05 10:02:50 +0000.617846][4a8d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:494] [2022-08-05 10:02:50 +0000.618530][4a5e] create shader: fragment
[004:551] [2022-08-05 10:02:50 +0000.675134][4a5e] Have not extra filter filename!
[004:551] [2022-08-05 10:02:50 +0000.675245][4a5e] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[004:551] [2022-08-05 10:02:50 +0000.675274][4a5e] OpenGLRenderProgram::Initialize
success.
[004:551] [2022-08-05 10:02:50 +0000.675332][4a5e] Setup the OpenGL result:1
[004:552] [2022-08-05 10:02:50 +0000.675728][4a5d] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_1433931.mp4
[004:552] [2022-08-05 10:02:50 +0000.675892][4a5d] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_1433931.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[004:552] [2022-08-05 10:02:50 +0000.675949][4a5d] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[004:552] [2022-08-05 10:02:50 +0000.675992][4a5d] 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_1433931.mp4
fileFD: -1
[004:552] [2022-08-05 10:02:50 +0000.675977][4a95] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x722834e498
[004:552] [2022-08-05 10:02:50 +0000.676355][4a5d] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_1433931.mp4 is
opened successfully
[004:552] [2022-08-05 10:02:50 +0000.676397][4a5d] setupMediaProcessers:
[004:552] [2022-08-05 10:02:50 +0000.676418][4a5d]
RecordingSessionInternalSimple:setup media processers.
[004:552] [2022-08-05 10:02:50 +0000.676453][4a5d] construct AAC encoder
[004:553] [2022-08-05 10:02:50 +0000.676844][4a5d] H264Encoder creating:
superfast011818
[004:553] [2022-08-05 10:02:50 +0000.676910][4a5d] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[004:553] [2022-08-05 10:02:50 +0000.677448][4a5d] H264Encode::GetMachineModel is
M2101K6G
[004:553] [2022-08-05 10:02:50 +0000.677520][4a5d] H264Encoder machine_mode
is:M2101K6G
[004:553] [2022-08-05 10:02:50 +0000.677541][4a5d] H264Encode::machine size :9
machine_mode:M2101K6G
[004:554] [2022-08-05 10:02:50 +0000.677559][4a5d] H264Encode::machine array
size :22 machine_mode:M2101K6G
[004:554] [2022-08-05 10:02:50 +0000.677603][4a5d] H264Encode::current machine
is :M2101K6G auto check hw codec decide to use hw codec
[004:554] [2022-08-05 10:02:50 +0000.677628][4a5d] setupCompressionSession:
[004:554] [2022-08-05 10:02:50 +0000.677656][4a5d] H264Encode::creating hareware
Encoder
[004:554] [2022-08-05 10:02:50 +0000.677678][4a5d] AndroidHwAvcEncoder time:1433934
enter.

[004:554] [2022-08-05 10:02:50 +0000.677960][4a5d] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb4000073b0c72540 address:0x71d892a760
[004:554] [2022-08-05 10:02:50 +0000.678096][4a5d] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[004:554] [2022-08-05 10:02:50 +0000.678141][4a5d] The video avc hw codec address
is 0x72c9c76f78
[004:554] [2022-08-05 10:02:50 +0000.678218][4a5d] AndroidHwAvcEncoder leave.
expire time = 0 ms

[004:554] [2022-08-05 10:02:50 +0000.678256][4a5d] RegisterEncodeCompleteCallback


time:1433934 enter.

[004:554] [2022-08-05 10:02:50 +0000.678369][4a5d] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[004:554] [2022-08-05 10:02:50 +0000.678414][4a5d] InitEncode time:1433934 enter.

[004:554] [2022-08-05 10:02:50 +0000.678531][4a5d] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[004:555] [2022-08-05 10:02:50 +0000.678576][4a5d] Create time:1433935 enter.

[004:555] [2022-08-05 10:02:50 +0000.678607][4a5d] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[004:555] [2022-08-05 10:02:50 +0000.678643][4a5d]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7228457240
[004:578] [2022-08-05 10:02:50 +0000.702361][4a5d] supported_type:video/avc
[004:578] [2022-08-05 10:02:50 +0000.702500][4a5d] name:OMX.qcom.video.encoder.avc
mime:video/avc
[004:579] [2022-08-05 10:02:50 +0000.702556][4a5d] hwCodecPrefix :OMX.qcom.
[004:579] [2022-08-05 10:02:50 +0000.702583][4a5d] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[004:579] [2022-08-05 10:02:50 +0000.702613][4a5d] mediacodec_createCodecByName
time:1433959 enter.

[004:579] [2022-08-05 10:02:50 +0000.702648][4a5d] WrapAndroidMediaCodec


time:1433959 enter.

[004:579] [2022-08-05 10:02:50 +0000.702796][4a5d] WrapAndroidMediaCodec leave.


expire time = 0 ms

[004:622] [2022-08-05 10:02:50 +0000.746303][4a5d] mediacodec_createCodecByName


leave. expire time = 43 ms

[004:622] [2022-08-05 10:02:50 +0000.746462][4a5d] WrapAndroidMediaFromat


time:1434002 enter.

[004:623] [2022-08-05 10:02:50 +0000.746615][4a5d] WrapAndroidMediaFromat leave.


expire time = 1 ms

[004:734] [2022-08-05 10:02:50 +0000.857564][4a5d] Destroy time:1434113 enter.

[004:734] [2022-08-05 10:02:50 +0000.857669][4a5d] WrapAndroidMediaFromat::


Destroy
[004:734] [2022-08-05 10:02:50 +0000.857697][4a5d] Destroy leave. expire time = 1
ms

[004:734] [2022-08-05 10:02:50 +0000.857718][4a5d] ~WrapAndroidMediaFromat


time:1434114 enter.

[004:734] [2022-08-05 10:02:50 +0000.857738][4a5d] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[004:734] [2022-08-05 10:02:50 +0000.857755][4a5d] Create leave. expire time = 179


ms

[004:734] [2022-08-05 10:02:50 +0000.857778][4a5d] isSemiPlanarSupport time:1434114


enter.

[004:734] [2022-08-05 10:02:50 +0000.857798][4a5d] H264Encoder isSemiPlanarSupport


[004:734] [2022-08-05 10:02:50 +0000.857819][4a5d] isSemiPlanarSupport leave.
expire time = 0 ms

[004:734] [2022-08-05 10:02:50 +0000.857839][4a5d] creat hw H264Encoder success,


isSemiPlanar:1
[004:734] [2022-08-05 10:02:50 +0000.857965][4a5d] InitEncode leave. expire time =
180 ms

[004:734] [2022-08-05 10:02:50 +0000.857997][4a5d] H264Encode::created Encoder


[004:734] [2022-08-05 10:02:50 +0000.858018][4a5d] H264Encode:: H264 encoder
created.
[004:734] [2022-08-05 10:02:50 +0000.858035][4a5d] H264 encoder created.
[004:734] [2022-08-05 10:02:50 +0000.858050][4a5d]
RecordingSessionInternalSimple:created avc encoder avc: 0x71fedf5a00
[004:734] [2022-08-05 10:02:50 +0000.858069][4a5d] setOutput:
[004:734] [2022-08-05 10:02:50 +0000.858089][4a5d]
RecordingSessionInternalSimple:encoder set output to muxer!
[004:734] [2022-08-05 10:02:50 +0000.858106][4a5d] request a key frame
[004:734] [2022-08-05 10:02:50 +0000.858125][4a5d] H264Encode:: request a key frame
[004:735] [2022-08-05 10:02:50 +0000.858589][4a5d] setDisplayRotate :90
[004:735] [2022-08-05 10:02:50 +0000.858656][4a5d] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[004:735] [2022-08-05 10:02:50 +0000.858982][4a5e] StartRecording:
[004:735] [2022-08-05 10:02:50 +0000.859099][4a8d] operator(): Set the recording
session in mic source. recording session: 0x72284cad00
[004:735] [2022-08-05 10:02:50 +0000.859200][4a5e] operator() leave. expire time =
256 ms

[004:735] [2022-08-05 10:02:50 +0000.859294][4a8c] AF_SpeedFilter audio


0x71fe5dab00 PullFrame
[004:735] [2022-08-05 10:02:50 +0000.859350][4a8c]
RecordAudioSource::PullAudioFrame
[004:735] [2022-08-05 10:02:50 +0000.859379][4a8c] AF_SpeedFilter::PullFrame eof4
[004:737] [2022-08-05 10:02:50 +0000.861521][4a8c]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[004:740] [2022-08-05 10:02:50 +0000.863839][4a8c] AF_SpeedFilter audio time,
0x71fe5dab00 rcv time: 1434106
[004:740] [2022-08-05 10:02:50 +0000.863929][4a8c] AF_SpeedFilter audio time,
0x71fe5dab00 rcv time: 1434106in_nSamples:441
[004:740] [2022-08-05 10:02:50 +0000.864016][4a8c] resampled_data_size:0
[004:782] [2022-08-05 10:02:50 +0000.906519][4a5e]
MediaFilterCamera::NeedProcessTexture
[004:783] [2022-08-05 10:02:50 +0000.906608][4a5e] begine recode to first frame
spend time:304
[004:783] [2022-08-05 10:02:50 +0000.906640][4a5e] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1280, height: 720, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x72284cab80
[004:783] [2022-08-05 10:02:50 +0000.906677][4a5e] blur_distance_:0
[004:783] [2022-08-05 10:02:50 +0000.906699][4a5e] blur_direction_angle_:-90
[004:783] [2022-08-05 10:02:50 +0000.906728][4a5e]
GPUImageProcessing::SetOrientation orientation: 90
[004:783] [2022-08-05 10:02:50 +0000.906747][4a5e] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[004:783] [2022-08-05 10:02:50 +0000.906802][4a5e] GPUImageProcessing: process
video frame with resolution 1280 X 720
[004:783] [2022-08-05 10:02:50 +0000.906855][4a5e] GPUImageProcessing: input frame
width1280 X 720
[004:784] [2022-08-05 10:02:50 +0000.908076][4a5e] drawYUV420 render
OpenGLRenderProgram:0x71fe846b98
[004:785] [2022-08-05 10:02:50 +0000.908775][4a5e] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[004:785] [2022-08-05 10:02:50 +0000.908925][4a5e] CropFilter::OnVideoFrame
outputtexture :10
[004:785] [2022-08-05 10:02:50 +0000.908957][4a5e] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[004:790] [2022-08-05 10:02:50 +0000.914372][4a5e] The read pixel from buffer take:
5 width:1280 height:720 frameType:0
[004:810] [2022-08-05 10:02:50 +0000.934480][4a5e] drawYUV420 render
OpenGLRenderProgram:0x71fe846b98
[004:817] [2022-08-05 10:02:50 +0000.940755][4a5e] The convert RGB to YUV take 4
[004:817] [2022-08-05 10:02:50 +0000.941233][4a5e] FilterPipeline2::OnVideoFrame
pts 27 last_video_timestamp_ 27
[004:817] [2022-08-05 10:02:50 +0000.941523][4a5e]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[004:818] [2022-08-05 10:02:50 +0000.941934][4a94]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[004:818] [2022-08-05 10:02:50 +0000.942075][4a94] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:0
[004:818] [2022-08-05 10:02:50 +0000.942110][4a94] push video frame to H264
encoder. (100 frame for one log)

[004:818] [2022-08-05 10:02:50 +0000.942142][4a94] push video frame to H264


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

[004:818] [2022-08-05 10:02:50 +0000.942168][4a94] H264Encode::push video frame to


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

[004:818] [2022-08-05 10:02:50 +0000.942195][4a94] Push an pts:0 to dts queue.


[004:818] [2022-08-05 10:02:50 +0000.942236][4a94] DTS queue for
Generator:0x722834e6b8 0
[004:818] [2022-08-05 10:02:50 +0000.942255][4a94] The input pts:0 fps:30
[004:822] [2022-08-05 10:02:50 +0000.945674][4a94]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[004:843] [2022-08-05 10:02:50 +0000.966699][4a5e] drawYUV420 render
OpenGLRenderProgram:0x71fe846b98
[004:856] [2022-08-05 10:02:50 +0000.979650][4a8c] AF_SpeedFilter audio time 222,
0x71fe5dab00 out time: 1434106 org time: 1434106
[004:856] [2022-08-05 10:02:50 +0000.979730][4a8c] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[004:856] [2022-08-05 10:02:50 +0000.979752][4a8c]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 1434106
[004:856] [2022-08-05 10:02:50 +0000.979768][4a8c]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[004:856] [2022-08-05 10:02:50 +0000.979801][4a8c] AF_SpeedFilter audio time
[004:856] [2022-08-05 10:02:50 +0000.979829][4a8c] AF_SpeedFilter audio time 111,
0x71fe5dab00 out time: 1434116 org time: 1434116
[004:857] [2022-08-05 10:02:50 +0000.980755][4a93]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:1
[004:857] [2022-08-05 10:02:50 +0000.981208][4a95] add aac audio track with id:1
[004:887] [2022-08-05 10:02:51 +0000.11465][4a94] h264 add frame header cdr flag
[004:888] [2022-08-05 10:02:51 +0000.12191][4a94] h264 add frame header cdr flag
[004:889] [2022-08-05 10:02:51 +0000.12753][4a94] SendFrame
encodedImage._timeStamp:0encodedImage->_length:313085
[004:889] [2022-08-05 10:02:51 +0000.12816][4a94] Received key frame:0
[004:889] [2022-08-05 10:02:51 +0000.12837][4a94] last dts:0 currentPts:0
ppsOrSPS:0 queue length:3
[004:889] [2022-08-05 10:02:51 +0000.12853][4a94] H264Encode::H264SWEncoder get
callback, length:313085 type:0 nalType:7length:17
[004:889] [2022-08-05 10:02:51 +0000.12888][4a94] H264Encode:: get a sps pps
header!headerSize:29
[004:889] [2022-08-05 10:02:51 +0000.12900][4a94] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[004:889] [2022-08-05 10:02:51 +0000.13085][4a95] get the H.264 SPS parameter
[004:889] [2022-08-05 10:02:51 +0000.13291][4a95] add video track with id:2
[004:891] [2022-08-05 10:02:51 +0000.15512][4a95] get the H.264 PPS parameter
[004:893] [2022-08-05 10:02:51 +0000.17134][4a95] get the H.264 IDR frame
[004:893] [2022-08-05 10:02:51 +0000.17345][4a95] resss:true
[004:893] [2022-08-05 10:02:51 +0000.17368][4a95] video start ts:0
[004:893] [2022-08-05 10:02:51 +0000.17521][4a95] the video frame has been written
into MP4 file
[004:928] [2022-08-05 10:02:51 +0000.51627][4a95] audio start ts:0
[004:928] [2022-08-05 10:02:51 +0000.51738][4a95] the audio frame has been written
into MP4 file
[005:278] [2022-08-05 10:02:51 +0000.401976][4a5e] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[005:312] [2022-08-05 10:02:51 +0000.436142][4a5e] The convert RGB to YUV take 2
[005:351] [2022-08-05 10:02:51 +0000.475168][4a63] haveEnoughProcessedData
internalAudioStream.length: 0
[005:491] [2022-08-05 10:02:51 +0000.615292][4a8d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[005:648] [2022-08-05 10:02:51 +0000.771941][4a94] DTS queue for
Generator:0x722834e6b8 800 835
[005:777] [2022-08-05 10:02:51 +0000.901253][4a5e] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[005:812] [2022-08-05 10:02:51 +0000.936473][4a5e] The convert RGB to YUV take 1
[006:144] [2022-08-05 10:02:52 +0000.268484][4a94] Push an pts:1331 to dts queue.
[006:185] [2022-08-05 10:02:52 +0000.308996][4a94] last dts:1302 currentPts:1331
ppsOrSPS:0 queue length:2
[006:277] [2022-08-05 10:02:52 +0000.400950][4a5e] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[006:315] [2022-08-05 10:02:52 +0000.439298][4a5e] The convert RGB to YUV take 2
[006:322] [2022-08-05 10:02:52 +0000.446550][4a8c] AF_SpeedFilter audio
0x71fe5dab00 PullFrame
[006:348] [2022-08-05 10:02:52 +0000.471642][4a63] Run AGC when audioType = 0
[006:483] [2022-08-05 10:02:52 +0000.606937][4a94] DTS queue for
Generator:0x722834e6b8 1637 1668
[006:492] [2022-08-05 10:02:52 +0000.616102][4a8d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:574] [2022-08-05 10:02:52 +0000.697723][4a8c]
RecordAudioSource::PullAudioFrame
[006:777] [2022-08-05 10:02:52 +0000.901382][4a5e] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[006:815] [2022-08-05 10:02:52 +0000.939159][4a5e] The convert RGB to YUV take 2
[006:844] [2022-08-05 10:02:52 +0000.968408][4a5e] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[006:849] [2022-08-05 10:02:52 +0000.973497][4a94] h264 add frame header cdr flag
[006:851] [2022-08-05 10:02:52 +0000.974600][4a94] Received key frame:2003
[006:887] [2022-08-05 10:02:53 +0000.11310][4a95] get the H.264 IDR frame
[006:997] [2022-08-05 10:02:53 +0000.120710][4a8c] AF_SpeedFilter::PullFrame eof4
[006:999] [2022-08-05 10:02:53 +0000.123062][4a8c]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[007:015] [2022-08-05 10:02:53 +0000.139386][4a8c] resampled_data_size:7168
[007:075] [2022-08-05 10:02:53 +0000.198893][4a63] haveEnoughProcessedData
internalAudioStream.length: 0
[007:201] [2022-08-05 10:02:53 +0000.324625][4a93]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:4
[007:279] [2022-08-05 10:02:53 +0000.403306][4a5e] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[007:286] [2022-08-05 10:02:53 +0000.410037][4a94] DTS queue for
Generator:0x722834e6b8 2469
[007:317] [2022-08-05 10:02:53 +0000.440612][4a5e] The convert RGB to YUV take 3
[007:480] [2022-08-05 10:02:53 +0000.604282][4a94] Push an pts:2667 to dts queue.
[007:497] [2022-08-05 10:02:53 +0000.621152][4a8d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[007:522] [2022-08-05 10:02:53 +0000.646412][4a94] last dts:2636 currentPts:2667
ppsOrSPS:0 queue length:2
[007:779] [2022-08-05 10:02:53 +0000.902701][4a5e] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[007:815] [2022-08-05 10:02:53 +0000.938628][4a5e] The convert RGB to YUV take 3
[007:922] [2022-08-05 10:02:54 +0000.46188][4a8c] AF_SpeedFilter audio 0x71fe5dab00
PullFrame
[008:078] [2022-08-05 10:02:54 +0000.201741][4a5e] drawYUV420 render
OpenGLRenderProgram:0x71fe846b98
[008:117] [2022-08-05 10:02:54 +0000.241426][4a94] DTS queue for
Generator:0x722834e6b8 3301
[008:146] [2022-08-05 10:02:54 +0000.270287][4a5e] GPUImageProcessing: process
video frame with resolution 1280 X 720
[008:146] [2022-08-05 10:02:54 +0000.270484][4a5e] GPUImageProcessing: input frame
width1280 X 720
[008:147] [2022-08-05 10:02:54 +0000.271005][4a5e] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[008:147] [2022-08-05 10:02:54 +0000.271134][4a5e] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[008:149] [2022-08-05 10:02:54 +0000.273429][4a94]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3336
[008:152] [2022-08-05 10:02:54 +0000.276254][4a94] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3301 pts:3301
[008:186] [2022-08-05 10:02:54 +0000.310078][4a94] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:3371
[008:186] [2022-08-05 10:02:54 +0000.310271][4a94] push video frame to H264
encoder. (100 frame for one log)

[008:186] [2022-08-05 10:02:54 +0000.310325][4a94] push video frame to H264


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

[008:186] [2022-08-05 10:02:54 +0000.310391][4a94] H264Encode::push video frame to


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

[008:186] [2022-08-05 10:02:54 +0000.310462][4a94] The input pts:3371 fps:30


[008:190] [2022-08-05 10:02:54 +0000.314096][4a94] SendFrame
encodedImage._timeStamp:3336encodedImage->_length:190432
[008:219] [2022-08-05 10:02:54 +0000.342663][4a94] H264Encode::H264SWEncoder get
callback, length:146752 type:1 nalType:1length:146748
[008:278] [2022-08-05 10:02:54 +0000.402495][4a5e] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[008:315] [2022-08-05 10:02:54 +0000.439425][4a5e] The convert RGB to YUV take 2
[008:350] [2022-08-05 10:02:54 +0000.473886][4a63] Run AGC when audioType = 0
[008:350] [2022-08-05 10:02:54 +0000.474142][4a63]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:434] [2022-08-05 10:02:54 +0000.558385][4a8c]
RecordAudioSource::PullAudioFrame
[008:493] [2022-08-05 10:02:54 +0000.616970][4a8d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[008:777] [2022-08-05 10:02:54 +0000.901301][4a5e] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[008:790] [2022-08-05 10:02:54 +0000.914565][4a63] haveEnoughProcessedData
internalAudioStream.length: 0
[008:814] [2022-08-05 10:02:54 +0000.938098][4a5e] The convert RGB to YUV take 2
[008:817] [2022-08-05 10:02:54 +0000.940864][4a94] Push an pts:4002 to dts queue.
[008:852] [2022-08-05 10:02:54 +0000.975729][4a94] h264 add frame header cdr flag
[008:854] [2022-08-05 10:02:54 +0000.977866][4a94] Received key frame:4002
[008:854] [2022-08-05 10:02:54 +0000.978011][4a94] last dts:3968 currentPts:4002
ppsOrSPS:0 queue length:2
[008:887] [2022-08-05 10:02:55 +0000.10949][4a95] get the H.264 IDR frame
[008:915] [2022-08-05 10:02:55 +0000.39274][4a5e] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[008:949] [2022-08-05 10:02:55 +0000.72622][4a94] DTS queue for
Generator:0x722834e6b8 4104 4134
[009:213] [2022-08-05 10:02:55 +0000.337025][4a8c] resampled_data_size:0
[009:272] [2022-08-05 10:02:55 +0000.396266][4a8c] AF_SpeedFilter::PullFrame eof4
[009:275] [2022-08-05 10:02:55 +0000.398978][4a8c]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[009:281] [2022-08-05 10:02:55 +0000.405110][4a5e] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[009:313] [2022-08-05 10:02:55 +0000.436827][4a5e] The convert RGB to YUV take 2
[009:488] [2022-08-05 10:02:55 +0000.612490][4a8d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[009:507] [2022-08-05 10:02:55 +0000.630839][4a8c] AF_SpeedFilter audio
0x71fe5dab00 PullFrame
[009:559] [2022-08-05 10:02:55 +0000.682887][4a93]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:8
[009:776] [2022-08-05 10:02:55 +0000.899735][4a5e] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[009:778] [2022-08-05 10:02:55 +0000.901838][4a94] DTS queue for
Generator:0x722834e6b8 4934 4966
[009:815] [2022-08-05 10:02:55 +0000.939462][4a5e] The convert RGB to YUV take 1
[010:165] [2022-08-05 10:02:56 +0000.289292][4a94] Push an pts:5351 to dts queue.
[010:218] [2022-08-05 10:02:56 +0000.342351][4a94] last dts:5305 currentPts:5351
ppsOrSPS:0 queue length:3
[010:298] [2022-08-05 10:02:56 +0000.421855][4a8c]
RecordAudioSource::PullAudioFrame
[010:313] [2022-08-05 10:02:56 +0000.437502][4a5e] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[010:344] [2022-08-05 10:02:56 +0000.467681][4a5e] The convert RGB to YUV take 3
[010:345] [2022-08-05 10:02:56 +0000.469411][4a64] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:346] [2022-08-05 10:02:56 +0000.469621][4a64] _deviceSampleRate:48000

[010:346] [2022-08-05 10:02:56 +0000.470405][4a63] Run AGC when audioType = 0


[010:494] [2022-08-05 10:02:56 +0000.617743][4a8d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[010:510] [2022-08-05 10:02:56 +0000.634179][4a63] haveEnoughProcessedData
internalAudioStream.length: 0
[010:643] [2022-08-05 10:02:56 +0000.766673][4a94] DTS queue for
Generator:0x722834e6b8 5803 5830
[010:811] [2022-08-05 10:02:56 +0000.935478][4a5e] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[010:844] [2022-08-05 10:02:56 +0000.967630][4a5e] The convert RGB to YUV take 3
[010:883] [2022-08-05 10:02:57 +0000.7222][4a94] h264 add frame header cdr flag
[010:884] [2022-08-05 10:02:57 +0000.7953][4a94] Received key frame:6032
[010:915] [2022-08-05 10:02:57 +0000.38750][4a95] get the H.264 IDR frame
[011:043] [2022-08-05 10:02:57 +0000.167215][4a5e] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2980 diff: 21
[011:106] [2022-08-05 10:02:57 +0000.230304][4a8c] AF_SpeedFilter audio
0x71fe5dab00 PullFrame
[011:313] [2022-08-05 10:02:57 +0000.436854][4a5e] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[011:347] [2022-08-05 10:02:57 +0000.470643][4a5e] The convert RGB to YUV take 3
[011:431] [2022-08-05 10:02:57 +0000.555029][4a8c] resampled_data_size:10240
[011:446] [2022-08-05 10:02:57 +0000.569930][4a5e] drawYUV420 render
OpenGLRenderProgram:0x71fe846b98
[011:451] [2022-08-05 10:02:57 +0000.575319][4a94] DTS queue for
Generator:0x722834e6b8 6637
[011:491] [2022-08-05 10:02:57 +0000.614598][4a8d] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[011:519] [2022-08-05 10:02:57 +0000.643359][4a94]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:6703
[011:521] [2022-08-05 10:02:57 +0000.644680][4a94] Push an pts:6703 to dts queue.
[011:542] [2022-08-05 10:02:57 +0000.666271][4a5e] GPUImageProcessing: process
video frame with resolution 1280 X 720
[011:542] [2022-08-05 10:02:57 +0000.666385][4a5e] GPUImageProcessing: input frame
width1280 X 720
[011:543] [2022-08-05 10:02:57 +0000.666749][4a5e] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[011:543] [2022-08-05 10:02:57 +0000.666827][4a5e] The next ready buffer:1
m_nextAvaiablePixelBuffer:0
[011:549] [2022-08-05 10:02:57 +0000.672603][4a94] SendFrame
encodedImage._timeStamp:6703encodedImage->_length:77984
[011:549] [2022-08-05 10:02:57 +0000.672773][4a94] last dts:6668 currentPts:6703
ppsOrSPS:0 queue length:2
[011:549] [2022-08-05 10:02:57 +0000.672818][4a94] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:6703 pts:6703
[011:562] [2022-08-05 10:02:57 +0000.686448][4a8c] AF_SpeedFilter::PullFrame eof4
[011:565] [2022-08-05 10:02:57 +0000.688765][4a8c]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[011:583] [2022-08-05 10:02:57 +0000.707537][4a94] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:6769
[011:584] [2022-08-05 10:02:57 +0000.707753][4a94] push video frame to H264
encoder. (100 frame for one log)

[011:584] [2022-08-05 10:02:57 +0000.707813][4a94] push video frame to H264


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

[011:584] [2022-08-05 10:02:57 +0000.707855][4a94] H264Encode::push video frame to


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

[011:584] [2022-08-05 10:02:57 +0000.707931][4a94] The input pts:6769 fps:30


[011:616] [2022-08-05 10:02:57 +0000.740485][4a94] H264Encode::H264SWEncoder get
callback, length:216240 type:1 nalType:1length:216236
[011:662] [2022-08-05 10:02:57 +0000.786295][46f8]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[011:663] [2022-08-05 10:02:57 +0000.787197][4a5e] operator(): Stop
[011:663] [2022-08-05 10:02:57 +0000.787349][4a5e] StopPullFrameAndWriteMp4
time:1441043 enter.

[011:663] [2022-08-05 10:02:57 +0000.787398][4a5e] StopRecording:


[011:667] [2022-08-05 10:02:57 +0000.790759][4a8c] resampled_data_size:512
[011:667] [2022-08-05 10:02:57 +0000.790879][4a8c] AF_SpeedFilter audio time 222,
0x71fe5dab00 out time: 1440976 org time: 1440976
[011:667] [2022-08-05 10:02:57 +0000.790993][4a8c] PullAudioFrame: PullFrame audio
finished.
[011:667] [2022-08-05 10:02:57 +0000.791032][4a8c]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[011:669] [2022-08-05 10:02:57 +0000.793754][4a94]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:205
[011:671] [2022-08-05 10:02:57 +0000.794643][4a5d] stop recording
[011:671] [2022-08-05 10:02:57 +0000.794718][4a5d]
RecordingSessionInternalSimple:destroy media processers
[011:671] [2022-08-05 10:02:57 +0000.794743][4a5d] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[011:671] [2022-08-05 10:02:57 +0000.794772][4a5d] H264Encode::flushing hareware
Encoder
[011:671] [2022-08-05 10:02:57 +0000.794974][4a5d] Flush time:1441051 enter.

[011:671] [2022-08-05 10:02:57 +0000.795047][4a5d] H264Encoder encoder flush


[011:671] [2022-08-05 10:02:57 +0000.795081][4a5d] flush output queue
[011:981] [2022-08-05 10:02:58 +0000.104921][4a5d] Flush leave. expire time = 310
ms

[011:981] [2022-08-05 10:02:58 +0000.105065][4a5d] ~H264EncodeWrap:


[011:981] [2022-08-05 10:02:58 +0000.105104][4a5d] ~H264Encode:
[011:981] [2022-08-05 10:02:58 +0000.105125][4a5d] teardownCompressionSession:
H264Encode::destroying Encoder
[011:981] [2022-08-05 10:02:58 +0000.105151][4a5d] Release time:1441361 enter.

[011:981] [2022-08-05 10:02:58 +0000.105257][4a5d] Release:


MediaCodecVideoEncoder::Release _inited:1
[011:981] [2022-08-05 10:02:58 +0000.105321][4a5d] Destroy time:1441361 enter.

[011:981] [2022-08-05 10:02:58 +0000.105345][4a5d] H264Encoder encoderDestroy


[011:981] [2022-08-05 10:02:58 +0000.105359][4a5d]
AndroidMediaCodecVideoEncoder::release env: 0x71fedf5b40
[011:981] [2022-08-05 10:02:58 +0000.105382][4a5d]
AndroidMediaCodecVideoEncoder::Destroy
[011:996] [2022-08-05 10:02:58 +0000.119654][4a5d] Destroy leave. expire time = 15
ms

[011:996] [2022-08-05 10:02:58 +0000.119814][4a5d] Release leave. expire time = 15


ms

[011:996] [2022-08-05 10:02:58 +0000.119856][4a5d] ~AndroidHwAvcEncoder


time:1441376 enter.

[011:996] [2022-08-05 10:02:58 +0000.119989][4a5d] Release time:1441376 enter.

[011:996] [2022-08-05 10:02:58 +0000.120025][4a5d] Release:


MediaCodecVideoEncoder:: has been released before, just return
[011:996] [2022-08-05 10:02:58 +0000.120056][4a5d] Release leave. expire time = 0
ms

[011:996] [2022-08-05 10:02:58 +0000.120087][4a5d] ~AndroidMediaCodecVideoEncoder


[011:996] [2022-08-05 10:02:58 +0000.120100][4a5d] ~WrapAndroidMediaCodec
time:1441376 enter.

[011:996] [2022-08-05 10:02:58 +0000.120123][4a5d] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[011:996] [2022-08-05 10:02:58 +0000.120138][4a5d] video hevc hw codec


destructor:0x72c9c76f78

[011:996] [2022-08-05 10:02:58 +0000.120186][4a5d] ~AndroidHwAvcEncoder leave.


expire time = 0 ms

[011:996] [2022-08-05 10:02:58 +0000.120226][4a5d] teardownCompressionSession:


H264Encode::destroyed Encoder
[011:996] [2022-08-05 10:02:58 +0000.120253][4a5d]
RecordingSessionInternalSimple:destroy aac encoder output!
[011:996] [2022-08-05 10:02:58 +0000.120276][4a5d] AACSWEncode destructor
[012:001] [2022-08-05 10:02:58 +0000.124896][4a95] MP4 close file successfully
[012:001] [2022-08-05 10:02:58 +0000.124976][4a95] Recording session Internal:
notify recording ok
[012:001] [2022-08-05 10:02:58 +0000.124994][4a95] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_1433931.mp4,
output_video_timestamp_:6836 last_video_pts_:6836
[012:001] [2022-08-05 10:02:58 +0000.125023][4a95] OnRecordFinish:
[012:002] [2022-08-05 10:02:58 +0000.125932][4a95] onRecordingOk: net seek
pos:0record video duration:6869record audio duration:6849
[012:003] [2022-08-05 10:02:58 +0000.127382][4a8d] destructMicSource_w:
[012:003] [2022-08-05 10:02:58 +0000.127454][4a8d] setOutput_w:
MicSource::setOutput() 0x0
[012:003] [2022-08-05 10:02:58 +0000.127507][4a8d] close external audio stream

[012:004] [2022-08-05 10:02:58 +0000.127754][4a5e] releaseThread 0x72284c9f80


[012:004] [2022-08-05 10:02:58 +0000.127795][4a5e] ~MicSource: Mic source
destroyed:0x72280cfe00
[012:004] [2022-08-05 10:02:58 +0000.128525][4a5e] StopPullFrameAndWriteMp4 leave.
expire time = 342 ms

[012:005] [2022-08-05 10:02:58 +0000.128604][4a5e] DestroyPipelineAndFilters


time:1441385 enter.

[012:005] [2022-08-05 10:02:58 +0000.128631][4a5e] UnbindInputFilter 0x72284cacc0


this 0x71fe846dc0
[012:005] [2022-08-05 10:02:58 +0000.128700][4a5e] UnbindInputFilter 0x72284cae58
this 0x71fe5dac50
[012:005] [2022-08-05 10:02:58 +0000.128729][4a5e] UnbindInputFilter 0x71fe846dc0
this 0x72280b9ce0
[012:005] [2022-08-05 10:02:58 +0000.128768][4a5e] filter: filter pipeline destroy
this: 0x72280b9c40
[012:006] [2022-08-05 10:02:58 +0000.129788][4a5e] ClearVideoOfSources: recodring
total frames:0
[012:006] [2022-08-05 10:02:58 +0000.129881][4a5e] ClearVideoOfSources:
[012:006] [2022-08-05 10:02:58 +0000.129903][4a5e] GPUImageProcessing destruct.
[012:006] [2022-08-05 10:02:58 +0000.129942][4a5e] destroy TrivalImageDrawer
0x71fe862c40
[012:006] [2022-08-05 10:02:58 +0000.129973][4a5e] The shader has been initialize,
clean up them.

[012:006] [2022-08-05 10:02:58 +0000.130022][4a5e] ~OpenGLFrameBuffer:


[012:006] [2022-08-05 10:02:58 +0000.130148][4a5e] ~OpenGLFrameBuffer:
[012:006] [2022-08-05 10:02:58 +0000.130216][4a5e] ~OpenGLFrameBuffer:
[012:007] [2022-08-05 10:02:58 +0000.131541][4a5e] ~OpenGLFrameBuffer:
[012:008] [2022-08-05 10:02:58 +0000.131735][4a5e] ~OpenGLFrameBuffer:
[012:008] [2022-08-05 10:02:58 +0000.131802][4a5e] ~OpenGLFrameBuffer:
[012:010] [2022-08-05 10:02:58 +0000.134516][4a5e] GPUImageProcessing destruct
finish.
[012:011] [2022-08-05 10:02:58 +0000.134615][4a5e] GPURGBAFrame destruct.
[012:011] [2022-08-05 10:02:58 +0000.134667][4a5e] destroy OpenGLRenderProgram
0x71fe846b98
[012:011] [2022-08-05 10:02:58 +0000.134713][4a5e] ~CameraSource time:1441391
enter.

[012:011] [2022-08-05 10:02:58 +0000.134730][4a5e] ~CameraSource leave. expire


time = 0 ms

[012:011] [2022-08-05 10:02:58 +0000.135380][4a5e] ~RecordAudioSource time:1441391


enter.

[012:011] [2022-08-05 10:02:58 +0000.135410][4a5e] ~RecordAudioSource leave.


expire time = 0 ms

[012:011] [2022-08-05 10:02:58 +0000.135440][4a5e] DestroyPipelineAndFilters


leave. expire time = 6 ms

[012:067] [2022-08-05 10:02:58 +0000.190861][46f8]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[012:068] [2022-08-05 10:02:58 +0000.191919][46f8] machine model :redmi
[012:068] [2022-08-05 10:02:58 +0000.192169][46f8] Support this machine
model :redmi
[012:068] [2022-08-05 10:02:58 +0000.192191][46f8] global inited! current sdk
version: 07-20-936c45f
[012:069] [2022-08-05 10:02:58 +0000.192569][46f8] filter: filter pipeline
construtc this: 0x72283bcd00
[012:069] [2022-08-05 10:02:58 +0000.192605][46f8] MediaFilterGraph:
MediaFilterGraph construct
[012:069] [2022-08-05 10:02:58 +0000.192620][46f8] GLESContext:
[012:069] [2022-08-05 10:02:58 +0000.192653][46f8] The result of eglGetDisplay is:
0xb4000072eecd4a00
[012:073] [2022-08-05 10:02:58 +0000.196562][46f8] The result of creation:
0x7228135100
[012:073] [2022-08-05 10:02:58 +0000.196721][46f8] The result of
eglCreatePbufferSurface is: 0x7228135300
[012:073] [2022-08-05 10:02:58 +0000.197560][46f8] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_1433931.mp4
[012:074] [2022-08-05 10:02:58 +0000.197630][46f8] The source 0 speed:1
[012:074] [2022-08-05 10:02:58 +0000.197655][46f8] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_1433931.mp4, delay:
0
[012:074] [2022-08-05 10:02:58 +0000.197678][46f8] CreateDecoderByVideoSource
time:1441454 enter.

[012:074] [2022-08-05 10:02:58 +0000.197867][46f8] running_decoder_count:0max


count:2
[012:074] [2022-08-05 10:02:58 +0000.197904][46f8] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_1433931.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x72c9c4ac00
[012:078] [2022-08-05 10:02:58 +0000.201794][4ad4] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x71cce16600] Current FFmpeg version git-2021-06-16-
97cea6f

[012:100] [2022-08-05 10:02:58 +0000.224332][4ad4] OnStreamInfoFound: video


duration_: 6869
[012:102] [2022-08-05 10:02:58 +0000.225904][46f8] start decoder
[012:102] [2022-08-05 10:02:58 +0000.226066][46f8] CreateDecoderByVideoSource
leave. expire time = 28 ms

[012:102] [2022-08-05 10:02:58 +0000.226183][46f8] BindInputFilter 0x722844f1a0


this 0x722827a658
[012:102] [2022-08-05 10:02:58 +0000.226256][46f8] BindInputFilter 0x722827a658
this 0x722827a718
[012:102] [2022-08-05 10:02:58 +0000.226329][46f8] BindInputFilter 0x722844f1a0
this 0x722827a7d8
[012:103] [2022-08-05 10:02:58 +0000.226604][46f8] BindInputFilter 0x722827a7d8
this 0x722827a898
[012:103] [2022-08-05 10:02:58 +0000.226663][46f8] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_1433931.mp4
[012:103] [2022-08-05 10:02:58 +0000.226758][46f8] BindInputFilter 0x722827a718
this 0x722827ac58
[012:103] [2022-08-05 10:02:58 +0000.226846][46f8] BindInputFilter 0x722827ac58
this 0x72283bcda0
[012:103] [2022-08-05 10:02:58 +0000.226941][46f8] BindInputFilter 0x722827a898
this 0x722827add8
[012:103] [2022-08-05 10:02:58 +0000.227035][46f8] AddVideoSource: END add video
source: /data/user/0/com.android.camera/no_backup/.milive//record_video_1433931.mp4
[012:102] [2022-08-05 10:02:58 +0000.225964][4ad5] NO get frame from decoder
[012:105] [2022-08-05 10:02:58 +0000.229236][46f8]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[012:108] [2022-08-05 10:02:58 +0000.232139][46f8] machine model :redmi
[012:108] [2022-08-05 10:02:58 +0000.232215][46f8] Support this machine
model :redmi
[012:108] [2022-08-05 10:02:58 +0000.232231][46f8] global inited! current sdk
version: 07-20-936c45f
[012:108] [2022-08-05 10:02:58 +0000.232298][46f8] GetPipeline:
-----------------------------------------
[012:108] [2022-08-05 10:02:58 +0000.232321][46f8] GetPipeline: source:
0x722844ef80
[012:108] [2022-08-05 10:02:58 +0000.232335][46f8] GetPipeline: filter: NULLFilter
[012:108] [2022-08-05 10:02:58 +0000.232359][46f8] GetPipeline: filter: NULLFilter
[012:108] [2022-08-05 10:02:58 +0000.232374][46f8] GetPipeline: filter: NULLFilter
[012:108] [2022-08-05 10:02:58 +0000.232396][46f8] GetPipeline: audio filter:
AuidoNULLFilter
[012:108] [2022-08-05 10:02:58 +0000.232412][46f8] GetPipeline: audio filter:
AuidoNULLFilter
[012:108] [2022-08-05 10:02:58 +0000.232434][46f8] GetPipeline: audio filter:
AudioNUllFilter
[012:108] [2022-08-05 10:02:58 +0000.232464][46f8] GetPipeline:
------------------------------------------
[012:108] [2022-08-05 10:02:58 +0000.232494][46f8] filter: filter pipeline2 update
pattern: 0
[012:109] [2022-08-05 10:02:58 +0000.233179][46f8] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[012:109] [2022-08-05 10:02:58 +0000.233180][4ad5] NO get frame from decoder
[012:109] [2022-08-05 10:02:58 +0000.233391][46f8] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[012:109] [2022-08-05 10:02:58 +0000.233455][46f8] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[012:110] [2022-08-05 10:02:58 +0000.233664][46f8] DeviceInit:
[012:110] [2022-08-05 10:02:58 +0000.233868][46f8] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[012:110] [2022-08-05 10:02:58 +0000.234524][46f8] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[012:111] [2022-08-05 10:02:58 +0000.235163][46f8] CreatePlatformSpecificObjects:
[012:111] [2022-08-05 10:02:58 +0000.235249][46f8] audio device use null audio
input and opensl output
[012:111] [2022-08-05 10:02:58 +0000.235280][46f8] Create OpenSLES output module
with java VM support.

[012:111] [2022-08-05 10:02:58 +0000.235476][46f8] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[012:112] [2022-08-05 10:02:58 +0000.235744][46f8] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[012:112] [2022-08-05 10:02:58 +0000.235955][46f8] Create OpenSLES output module
with buffer num:2

[012:112] [2022-08-05 10:02:58 +0000.236021][46f8] Error(trace.cc:40): Init the


output and input for audio device template.
[012:112] [2022-08-05 10:02:58 +0000.236055][46f8] Init the output device.
[012:112] [2022-08-05 10:02:58 +0000.236080][46f8] Set the playout as stereo:1
[012:112] [2022-08-05 10:02:58 +0000.236104][46f8] Set the sample rate to be:44100

[012:112] [2022-08-05 10:02:58 +0000.236144][46f8] Low latency buffer size:144 low


sample rate:48000
[012:112] [2022-08-05 10:02:58 +0000.236192][46f8] DeviceInit: Done
[012:112] [2022-08-05 10:02:58 +0000.236343][46f8] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[012:113] [2022-08-05 10:02:58 +0000.237226][46f8]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[012:113] [2022-08-05 10:02:58 +0000.237349][46f8]
MediaFilterPlayer::SetPlayerNotify 0x722831fe20
[012:113] [2022-08-05 10:02:58 +0000.237546][4ad5] NO get frame from decoder
[012:114] [2022-08-05 10:02:58 +0000.237915][46f8]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[012:114] [2022-08-05 10:02:58 +0000.237957][46f8]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[012:115] [2022-08-05 10:02:58 +0000.238709][46f8]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[012:115] [2022-08-05 10:02:58 +0000.238737][4ad5] NO get frame from decoder
[012:115] [2022-08-05 10:02:58 +0000.239499][46f8] SetGraphLoop: SetGraphLoop 1
[012:116] [2022-08-05 10:02:58 +0000.239578][46f8]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[012:116] [2022-08-05 10:02:58 +0000.240096][46f8]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[012:116] [2022-08-05 10:02:58 +0000.240244][4ad5] NO get frame from decoder
[012:117] [2022-08-05 10:02:58 +0000.241011][4ae1] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x71fea5dd18
[012:118] [2022-08-05 10:02:58 +0000.241785][46f8]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[012:119] [2022-08-05 10:02:58 +0000.242718][4ad5] NO get frame from decoder
[012:120] [2022-08-05 10:02:58 +0000.244471][46f8]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[012:121] [2022-08-05 10:02:58 +0000.245191][4ae3] Start:
[012:121] [2022-08-05 10:02:58 +0000.245285][4ad5] NO get frame from decoder
[012:123] [2022-08-05 10:02:58 +0000.246813][4ad5] NO get frame from decoder
[012:127] [2022-08-05 10:02:58 +0000.250602][4ae2] operator(): video render
started.
[012:127] [2022-08-05 10:02:58 +0000.250691][4ae2] DriveRender working... (1/200)
[012:127] [2022-08-05 10:02:58 +0000.250708][4ae2] Warning(video_render.cc:390): No
picture to display (1/50)
[012:127] [2022-08-05 10:02:58 +0000.250766][4ae3] Start:
[012:127] [2022-08-05 10:02:58 +0000.250886][4ae3] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[012:127] [2022-08-05 10:02:58 +0000.250924][4ae3] Reset: history total size: 98
[012:127] [2022-08-05 10:02:58 +0000.250954][4ae3] DeviceStart:
audioDevice_:0x71fefd8000
[012:127] [2022-08-05 10:02:58 +0000.250987][4ae3] DeviceStart: time profile
playout init before
[012:127] [2022-08-05 10:02:58 +0000.251001][4ae3] DeviceStart: time profile
playout init end
[012:127] [2022-08-05 10:02:58 +0000.251014][4ae3] OpenSlesOutput:Start playout

[012:132] [2022-08-05 10:02:58 +0000.256132][4ae3] Create the opensl output player.


streamtype before:0
[012:132] [2022-08-05 10:02:58 +0000.256202][4ae3] Create the opensl output player.
streamtype after:3

[012:168] [2022-08-05 10:02:58 +0000.291869][4ae3] Enqueue opensl buffer size:1764


[012:216] [2022-08-05 10:02:58 +0000.340210][4ae3] DeviceStart: time profile
playout all end
[012:216] [2022-08-05 10:02:58 +0000.340282][4ae3] operator(): Audio playback
started.
[012:216] [2022-08-05 10:02:58 +0000.340375][4ae3] operator(): Started now!
[012:216] [2022-08-05 10:02:58 +0000.340468][4ae5] Error(video_source.cc:430): wait
decoder a frame: 0
[012:217] [2022-08-05 10:02:58 +0000.341271][4ae5] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[012:218] [2022-08-05 10:02:58 +0000.341590][4ae6]
PlayerSimpleBufferQueueCallbackHandler function
[012:218] [2022-08-05 10:02:58 +0000.341905][4ae6] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[012:218] [2022-08-05 10:02:58 +0000.342027][4ae6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[012:224] [2022-08-05 10:02:58 +0000.347603][4ae5] OnVideoFrameReady(1/200)
[012:224] [2022-08-05 10:02:58 +0000.347947][4ae2] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[012:226] [2022-08-05 10:02:58 +0000.349747][4a63] haveEnoughProcessedData
internalAudioStream.length: 20
[012:227] [2022-08-05 10:02:58 +0000.351185][4ae2] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:1441607
[012:237] [2022-08-05 10:02:58 +0000.361180][4ae4] audio_frame_list_ empty
[012:255] [2022-08-05 10:02:58 +0000.379397][4ae2] lipsync_debug: render a video
frame
[012:256] [2022-08-05 10:02:58 +0000.379737][4ae2] lipsync_debug: First video frame
rendering.
[012:259] [2022-08-05 10:02:58 +0000.382583][4ae5]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[012:266] [2022-08-05 10:02:58 +0000.389977][4ae2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:23 timeDelta:39 last
video ts:900 frame->pts:2970 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[012:266] [2022-08-05 10:02:58 +0000.390141][4ae2] lipsync_debug: tsDelta -
timeDelta = -16
[012:266] [2022-08-05 10:02:58 +0000.390181][4ae2] lipsync_debug:result remaining
time:0
[012:266] [2022-08-05 10:02:58 +0000.390213][4ae2] dynamic updated lipsync delay:0
[012:276] [2022-08-05 10:02:58 +0000.399562][4ae2] lipsync_debug:remaining time:10
tsDelta - timeDelta:6
[012:276] [2022-08-05 10:02:58 +0000.399629][4ae2] lipsync_debug:result remaining
time:6
[012:345] [2022-08-05 10:02:58 +0000.469447][4a63] Run AGC when audioType = 0
[012:346] [2022-08-05 10:02:58 +0000.469611][4a63]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:371] [2022-08-05 10:02:58 +0000.494553][4ae4] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[012:371] [2022-08-05 10:02:58 +0000.494876][4ae4] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[012:371] [2022-08-05 10:02:58 +0000.495125][4ae3] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[012:371] [2022-08-05 10:02:58 +0000.495330][4ae3] The audio playback speed:100
(1/100)
[012:371] [2022-08-05 10:02:58 +0000.495397][4ae3] lipsync_debug: The current
played audio timestamp is:0(1/50)
[012:371] [2022-08-05 10:02:58 +0000.495436][4ae3] First audio frame rendering
[012:372] [2022-08-05 10:02:58 +0000.496138][4ae4] audio frame wait video
frame.last_video_timestamp:134 last_audio_timestamp:254.921
[012:372] [2022-08-05 10:02:58 +0000.496247][4ae4]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[012:375] [2022-08-05 10:02:58 +0000.499204][4ae4] audio frame wait video
frame.last_video_timestamp:165 last_audio_timestamp:277.914
[012:375] [2022-08-05 10:02:58 +0000.499361][4ae4]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[012:378] [2022-08-05 10:02:58 +0000.501745][4ae4] audio frame wait video
frame.last_video_timestamp:165 last_audio_timestamp:277.914
[012:378] [2022-08-05 10:02:58 +0000.501903][4ae4]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[012:381] [2022-08-05 10:02:58 +0000.505375][4ae4] audio frame wait video
frame.last_video_timestamp:199 last_audio_timestamp:300.907
[012:382] [2022-08-05 10:02:58 +0000.505657][4ae4]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[012:434] [2022-08-05 10:02:58 +0000.558404][4ae5] video frame wait audio frame:
last_video_timestamp:427 last_audio_timestamp:300.907
[012:883] [2022-08-05 10:02:59 +0000.7165][4ae2] lipsync_debug:displaying video
ts:59850 The current displayed video timestamp is:1442263
[013:159] [2022-08-05 10:02:59 +0000.283318][4ae6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[013:216] [2022-08-05 10:02:59 +0000.339791][4ae3] do work DoLipsync!
[013:216] [2022-08-05 10:02:59 +0000.339926][4ae3] total delay:291 videoTsMS:967
audioTsMS:676 diff:291
[013:216] [2022-08-05 10:02:59 +0000.339971][4ae3] Set the lipsync delay:291
[013:451] [2022-08-05 10:02:59 +0000.574959][4ae5] Error(video_source.cc:430): wait
decoder a frame: 0
[013:728] [2022-08-05 10:02:59 +0000.851612][4ae2] lipsync_debug:displaying video
ts:119790 The current displayed video timestamp is:1443108
[013:827] [2022-08-05 10:02:59 +0000.950919][4ae2] DriveRender working... (1/200)
[013:929] [2022-08-05 10:03:00 +0000.53214][4ae2] lipsync_debug:lipsync_threadhold:
lipsync_delta:16 tsDelta:49 timeDelta:49 last video ts:129060 frame->pts:132030
pkt_dts:-9223372036854775808 pkt_pts:-9223372036854775808
[013:929] [2022-08-05 10:03:00 +0000.53346][4ae2] lipsync_debug: tsDelta -
timeDelta = 0
[013:938] [2022-08-05 10:03:00 +0000.61895][4a63] haveEnoughProcessedData
internalAudioStream.length: 0
[014:196] [2022-08-05 10:03:00 +0000.319577][4ae6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[014:345] [2022-08-05 10:03:00 +0000.469245][4a63] Run AGC when audioType = 0
[014:353] [2022-08-05 10:03:00 +0000.476850][4ae2] lipsync_debug:remaining time:10
tsDelta - timeDelta:13
[014:353] [2022-08-05 10:03:00 +0000.476944][4ae2] lipsync_debug:result remaining
time:10
[014:499] [2022-08-05 10:03:00 +0000.622933][4ae2] lipsync_debug:displaying video
ts:180270 The current displayed video timestamp is:1443879
[014:522] [2022-08-05 10:03:00 +0000.646082][4ae4] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 102324
[014:522] [2022-08-05 10:03:00 +0000.646256][4ae4] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[014:611] [2022-08-05 10:03:00 +0000.735365][4ae3] The audio playback speed:100
(1/100)
[014:612] [2022-08-05 10:03:00 +0000.736295][4ae3] lipsync_debug: The current
played audio timestamp is:102324(1/50)
[014:845] [2022-08-05 10:03:00 +0000.969288][4ae5] Error(video_source.cc:430): wait
decoder a frame: 0
[015:001] [2022-08-05 10:03:01 +0000.125178][4ae5] webrtc common_video plane
old ..... (1/1000) new: 4001 delete: 3992 diff: 9
[015:164] [2022-08-05 10:03:01 +0000.287644][4ae6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[015:166] [2022-08-05 10:03:01 +0000.290434][4ae2] lipsync_debug:displaying video
ts:240030 The current displayed video timestamp is:1444546
[015:402] [2022-08-05 10:03:01 +0000.525811][4ae2] DriveRender working... (1/200)
[015:404] [2022-08-05 10:03:01 +0000.528205][4ae5] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 300240pts ms:3.336e+06
[015:406] [2022-08-05 10:03:01 +0000.530450][4ae5] OnVideoFrameReady(1/200)
[015:407] [2022-08-05 10:03:01 +0000.531030][4ae2] operator() frame->pts-
9223372036854775808 queue_ size: 14 (1/200)
[015:506] [2022-08-05 10:03:01 +0000.629629][4ae2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:34 timeDelta:14 last
video ts:267210 frame->pts:270270 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[015:506] [2022-08-05 10:03:01 +0000.629782][4ae2] lipsync_debug: tsDelta -
timeDelta = 20
[015:652] [2022-08-05 10:03:01 +0000.775876][4a63] haveEnoughProcessedData
internalAudioStream.length: 0
[015:859] [2022-08-05 10:03:01 +0000.983114][4ae2] lipsync_debug:displaying video
ts:300240 The current displayed video timestamp is:1445239
[015:862] [2022-08-05 10:03:01 +0000.986217][4ae2] lipsync_debug: render a video
frame
[015:894] [2022-08-05 10:03:02 +0000.18148][4ae2] lipsync_debug:result remaining
time:0
[015:894] [2022-08-05 10:03:02 +0000.18401][4ae2] dynamic updated lipsync delay:0
[016:195] [2022-08-05 10:03:02 +0000.319235][4ae6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[016:200] [2022-08-05 10:03:02 +0000.323746][4ae5] Error(video_source.cc:430): wait
decoder a frame: 0
[016:346] [2022-08-05 10:03:02 +0000.470227][4a63] Run AGC when audioType = 0
[016:346] [2022-08-05 10:03:02 +0000.470533][4a63]
AudioDeviceDataHandler::MixAndSendOutFrame
[016:427] [2022-08-05 10:03:02 +0000.551528][4ae2] lipsync_debug:remaining time:10
tsDelta - timeDelta:17
[016:428] [2022-08-05 10:03:02 +0000.551726][4ae2] lipsync_debug:result remaining
time:10
[016:478] [2022-08-05 10:03:02 +0000.602337][4ae2] lipsync_debug:displaying video
ts:360180 The current displayed video timestamp is:1445858
[016:838] [2022-08-05 10:03:02 +0000.961656][4ae4] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 204692
[016:838] [2022-08-05 10:03:02 +0000.961843][4ae4] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[016:945] [2022-08-05 10:03:03 +0000.69454][4ae3] The audio playback speed:100
(1/100)
[016:946] [2022-08-05 10:03:03 +0000.69801][4ae3] lipsync_debug: The current played
audio timestamp is:204692(1/50)
[016:975] [2022-08-05 10:03:03 +0000.99112][4ae2] DriveRender working... (1/200)
[017:066] [2022-08-05 10:03:03 +0000.190049][4ae2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:35 timeDelta:24 last
video ts:410940 frame->pts:414090 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[017:066] [2022-08-05 10:03:03 +0000.190220][4ae2] lipsync_debug: tsDelta -
timeDelta = 11
[017:144] [2022-08-05 10:03:03 +0000.267721][4ae2] lipsync_debug:displaying video
ts:420030 The current displayed video timestamp is:1446524
[017:177] [2022-08-05 10:03:03 +0000.301265][4ae6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[017:366] [2022-08-05 10:03:03 +0000.490114][4a63] haveEnoughProcessedData
internalAudioStream.length: 0
[017:415] [2022-08-05 10:03:03 +0000.538822][4ad5] av_read_frame AVERROR_EOF
[017:571] [2022-08-05 10:03:03 +0000.695126][4ae5] Error(video_source.cc:430): wait
decoder a frame: 0
[017:671] [2022-08-05 10:03:03 +0000.794607][4ad5] OnReceiveEOF:
[017:671] [2022-08-05 10:03:03 +0000.794793][4ad5] OnDecoderEOF time:1447051
enter.

[017:671] [2022-08-05 10:03:03 +0000.794958][4ad5] OnDecoderEOF leave. expire time


= 0 ms

[017:671] [2022-08-05 10:03:03 +0000.794988][4ad3] CleanUp time:1447051 enter.

[017:671] [2022-08-05 10:03:03 +0000.795017][4ad5] OnDecoderFinished:


OnDecoderFinished total decoder frames:205 this:0x722844ef80
[017:674] [2022-08-05 10:03:03 +0000.798319][4ad3] CleanUp leave. expire time = 3
ms

[017:674] [2022-08-05 10:03:03 +0000.798434][4ad3] clean up


[017:674] [2022-08-05 10:03:03 +0000.798464][4ad3] running_decoder_count:0max
count:2
[017:889] [2022-08-05 10:03:04 +0000.12653][4ae2] lipsync_debug:displaying video
ts:481590 The current displayed video timestamp is:1447269
[018:194] [2022-08-05 10:03:04 +0000.318413][4ae6]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[018:344] [2022-08-05 10:03:04 +0000.468534][4a63] Run AGC when audioType = 0
[018:449] [2022-08-05 10:03:04 +0000.573643][4ae2] lipsync_debug:remaining time:10
tsDelta - timeDelta:8
[018:450] [2022-08-05 10:03:04 +0000.573761][4ae2] lipsync_debug:result remaining
time:8
[018:523] [2022-08-05 10:03:04 +0000.647541][4ae2] lipsync_debug:displaying video
ts:542880 The current displayed video timestamp is:1447903
[018:527] [2022-08-05 10:03:04 +0000.651180][4ae2] DriveRender working... (1/200)
[018:629] [2022-08-05 10:03:04 +0000.752843][4ae2]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:33 timeDelta:4 last video
ts:552060 frame->pts:555030 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[018:629] [2022-08-05 10:03:04 +0000.753049][4ae2] lipsync_debug: tsDelta -
timeDelta = 29
[018:776] [2022-08-05 10:03:04 +0000.900015][4ae5] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 603270pts ms:6.703e+06
[018:778] [2022-08-05 10:03:04 +0000.901995][4ae5] OnVideoFrameReady(1/200)
[018:778] [2022-08-05 10:03:04 +0000.902206][4ae2] operator() frame->pts-
9223372036854775808 queue_ size: 13 (1/200)
[018:832] [2022-08-05 10:03:04 +0000.955914][4ae5]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[018:891] [2022-08-05 10:03:05 +0000.15140][46f8]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[018:892] [2022-08-05 10:03:05 +0000.15851][4ae3] Stop:
[018:892] [2022-08-05 10:03:05 +0000.16096][4ae2] operator(): Video Render stopped.
[018:892] [2022-08-05 10:03:05 +0000.16436][4ae3] Stop:
[018:893] [2022-08-05 10:03:05 +0000.16842][4ae3] DeviceStop:
audioDevice_:0x71fefd8000
[018:893] [2022-08-05 10:03:05 +0000.16918][4ae3] OpenSlesOutput:Stop playout

[018:898] [2022-08-05 10:03:05 +0000.21873][4ae3] DeviceStop: Done


[018:898] [2022-08-05 10:03:05 +0000.22151][4ae3] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[018:898] [2022-08-05 10:03:05 +0000.22264][4ae3] operator(): Stop now!
[018:901] [2022-08-05 10:03:05 +0000.25033][46f8] Stop:
[018:902] [2022-08-05 10:03:05 +0000.25622][4ae3] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[018:902] [2022-08-05 10:03:05 +0000.25973][46f8] DeviceRelease:
audioDevice_:0x71fefd8000
[018:902] [2022-08-05 10:03:05 +0000.26047][46f8] OpenSlesOutput:Stop playout

[018:902] [2022-08-05 10:03:05 +0000.26102][46f8] DeviceRelease: Release the webrtc


device object.
[018:902] [2022-08-05 10:03:05 +0000.26419][46f8] OpenSlesOutput destruct.

[018:902] [2022-08-05 10:03:05 +0000.26511][46f8] DeviceRelease: Done


[018:903] [2022-08-05 10:03:05 +0000.26992][46f8] Stop:
[018:904] [2022-08-05 10:03:05 +0000.27962][4ae2] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[018:914] [2022-08-05 10:03:05 +0000.38115][46f8] global uninited!
[018:915] [2022-08-05 10:03:05 +0000.39237][46f8]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[018:915] [2022-08-05 10:03:05 +0000.39358][46f8] ~MediaFilterGraph:
MediaFilterGraph destruct
[018:915] [2022-08-05 10:03:05 +0000.39390][46f8] RemoveVideoBackGroud: hava not
add video backgroud
[018:915] [2022-08-05 10:03:05 +0000.39431][46f8] UnbindInputFilter 0x722827ac58
this 0x72283bcda0
[018:915] [2022-08-05 10:03:05 +0000.39465][46f8] ClearAllSource: remove source
filter, sourceid: 0x722844ef80
[018:915] [2022-08-05 10:03:05 +0000.39489][46f8] DestoryDecoderByVideoSource
time:1448295 enter.

[018:915] [2022-08-05 10:03:05 +0000.39512][46f8] ~VideoBindDecoder time:1448295


enter.

[018:916] [2022-08-05 10:03:05 +0000.39717][46f8] CleanUp time:1448296 enter.

[018:916] [2022-08-05 10:03:05 +0000.40026][46f8] CleanUp leave. expire time = 0


ms

[018:916] [2022-08-05 10:03:05 +0000.40064][46f8] CleanUp time:1448296 enter.

[018:916] [2022-08-05 10:03:05 +0000.40310][46f8] CleanUp leave. expire time = 0


ms

[018:917] [2022-08-05 10:03:05 +0000.41165][46f8] ~VideoBindDecoder leave. expire


time = 2 ms

[018:917] [2022-08-05 10:03:05 +0000.41236][46f8] DestoryDecoderByVideoSource


leave. expire time = 2 ms

[018:917] [2022-08-05 10:03:05 +0000.41277][46f8] UnbindInputFilter 0x722827a718


this 0x722827ac58
[018:917] [2022-08-05 10:03:05 +0000.41321][46f8] UnbindInputFilter 0x722827a658
this 0x722827a718
[018:917] [2022-08-05 10:03:05 +0000.41360][46f8] UnbindInputFilter 0x722844f1a0
this 0x722827a658
[018:917] [2022-08-05 10:03:05 +0000.41392][46f8] UnbindInputFilter 0x722827a898
this 0x722827add8
[018:917] [2022-08-05 10:03:05 +0000.41425][46f8] UnbindInputFilter 0x722827a7d8
this 0x722827a898
[018:917] [2022-08-05 10:03:05 +0000.41458][46f8] UnbindInputFilter 0x722844f1a0
this 0x722827a7d8
[018:917] [2022-08-05 10:03:05 +0000.41537][46f8] ~GLESContext:
[018:920] [2022-08-05 10:03:05 +0000.44299][46f8] GLESContext destruct finish.
[018:920] [2022-08-05 10:03:05 +0000.44407][46f8] filter: filter pipeline destroy
this: 0x72283bcd00
[019:084] [2022-08-05 10:03:05 +0000.207558][4a63] haveEnoughProcessedData
internalAudioStream.length: 0
[020:344] [2022-08-05 10:03:06 +0000.468060][4a64] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[020:344] [2022-08-05 10:03:06 +0000.468279][4a64] _deviceSampleRate:48000

[020:346] [2022-08-05 10:03:06 +0000.469763][4a63] Run AGC when audioType = 0


[020:346] [2022-08-05 10:03:06 +0000.470043][4a63]
AudioDeviceDataHandler::MixAndSendOutFrame
[020:359] [2022-08-05 10:03:06 +0000.483263][4726]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[020:359] [2022-08-05 10:03:06 +0000.483394][4726] ~MediaFilterCamera time:1449739
enter.

[020:359] [2022-08-05 10:03:06 +0000.483431][4726] StopPullFrameAndWriteMp4


time:1449739 enter.

[020:360] [2022-08-05 10:03:06 +0000.484235][4a5d] stop recording


[020:360] [2022-08-05 10:03:06 +0000.484329][4a5d] we have stopped recording before
[020:360] [2022-08-05 10:03:06 +0000.484429][4726] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[020:361] [2022-08-05 10:03:06 +0000.485235][4726] DestroyPipelineAndFilters


time:1449741 enter.

[020:361] [2022-08-05 10:03:06 +0000.485344][4726] DestroyPipelineAndFilters


leave. expire time = 0 ms

[020:361] [2022-08-05 10:03:06 +0000.485506][4726] AppDeviceManagerStopMic

[020:362] [2022-08-05 10:03:06 +0000.485626][4726] AppDeviceManagerStopMic::mic


status is on
[020:362] [2022-08-05 10:03:06 +0000.485680][4726] Try to stop webrtc device.

[020:362] [2022-08-05 10:03:06 +0000.485729][4726] Set record state to


stopped.threadID:18214

[020:428] [2022-0[000:036] [2022-10-24 07:50:50 +0000.89701][644d] Log to


file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-10-
24 07:50:50 +0000
[000:036] [2022-10-24 07:50:50 +0000.89770][644d] set AppID=50011 old AppID=-1
[000:037] [2022-10-24 07:50:50 +0000.89808][644d] Init the android object with
jvm:0xb400007dd9cc3540 env:0x7d0927ba00 context:0x7c990786e8

[000:037] [2022-10-24 07:50:50 +0000.89843][644d] SetAndroidMediaCodecObjects


time:1129733213 enter.

[000:037] [2022-10-24 07:50:50 +0000.89880][644d] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[000:037] [2022-10-24 07:50:50 +0000.89906][644d] SetAndroidMediaCodecObjects


time:1129733213 enter.

[000:037] [2022-10-24 07:50:50 +0000.89939][644d] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007dd9cc3540
[000:037] [2022-10-24 07:50:50 +0000.89954][644d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007dd9cc3540 address:0x7c17476760
[000:037] [2022-10-24 07:50:50 +0000.89977][644d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007dd9cc3540
address:0x7c17476760
[000:038] [2022-10-24 07:50:50 +0000.90820][644d] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[000:038] [2022-10-24 07:50:50 +0000.90884][644d] Set the android objects with


jvm:0xb400007dd9cc3540 env:0x7d0927ba00 context:0x7c990786e8

[000:039] [2022-10-24 07:50:50 +0000.92503][644d] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7d0927ba00
[000:039] [2022-10-24 07:50:50 +0000.92559][644d] SystemUtil Init done
[000:043] [2022-10-24 07:50:50 +0000.96185][644d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[000:045] [2022-10-24 07:50:50 +0000.98278][644d] MediaFilterCamera
[000:045] [2022-10-24 07:50:50 +0000.98374][644d] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[000:045] [2022-10-24 07:50:50 +0000.98517][644d] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[000:045] [2022-10-24 07:50:50 +0000.98554][644d] Recording session using default
bitrate support by app:31457280
[000:045] [2022-10-24 07:50:50 +0000.98576][77a0] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c508cfdc0
[000:046] [2022-10-24 07:50:50 +0000.98811][77a0] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[000:046] [2022-10-24 07:50:50 +0000.98911][644d] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[000:046] [2022-10-24 07:50:50 +0000.99520][644d] Error(ini.cc:191): Open the file
failed. error:2
[000:046] [2022-10-24 07:50:50 +0000.99563][644d]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[000:046] [2022-10-24 07:50:50 +0000.99601][644d] The device model: m2101k6g
usingSoftwareAEC value: 0
[000:049] [2022-10-24 07:50:50 +0000.102040][644d] Error(ini.cc:191): Open the file
failed. error:2
[000:049] [2022-10-24 07:50:50 +0000.102114][644d]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[000:049] [2022-10-24 07:50:50 +0000.102151][644d] The device model: m2101k6g
usingHardwareAEC value: 0
[000:049] [2022-10-24 07:50:50 +0000.102175][644d] The machine device: m2101k6g
usingHardwareAEC value: 0
[000:049] [2022-10-24 07:50:50 +0000.102203][644d] Using Default AEC type: software
AEC
[000:050] [2022-10-24 07:50:50 +0000.103305][644d] The device model: m2101k6g enum
value: 0
[000:051] [2022-10-24 07:50:50 +0000.103826][644d] GetMachineModel is M2101K6G
[000:051] [2022-10-24 07:50:50 +0000.103881][644d] GetMachineInfo: M2101K6G
[000:051] [2022-10-24 07:50:50 +0000.103910][644d] Construct BeautifyReader
begin...
[000:051] [2022-10-24 07:50:50 +0000.103931][644d] dumpStickerRgba:0
dumpStickerYuv:0
[000:051] [2022-10-24 07:50:50 +0000.103960][644d] Construct BeautifyReader done.
[000:055] [2022-10-24 07:50:50 +0000.107841][644d] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[000:055] [2022-10-24 07:50:50 +0000.107941][644d] AppDeviceManager telnet server
for statistics started......
[000:055] [2022-10-24 07:50:50 +0000.108088][77a3] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c64690ea0
[000:055] [2022-10-24 07:50:50 +0000.108650][644d] CpuOverloadDetect
time:1129733231 enter.

[000:055] [2022-10-24 07:50:50 +0000.108801][644d] CpuOverloadDetect leave. expire


time = 1 ms

[000:056] [2022-10-24 07:50:50 +0000.109339][644d] AppDeviceMana


GetOpenslVoiceMode before get setting: 1
[000:056] [2022-10-24 07:50:50 +0000.109380][644d] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[000:056] [2022-10-24 07:50:50 +0000.109759][77a4] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7d13294780
[000:060] [2022-10-24 07:50:50 +0000.113648][644d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:063] [2022-10-24 07:50:50 +0000.116476][644d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:064] [2022-10-24 07:50:50 +0000.117388][644d] CreatePlatformSpecificObjects:
[000:064] [2022-10-24 07:50:50 +0000.117464][644d] audio device use opensle input
and opensl output
[000:064] [2022-10-24 07:50:50 +0000.117535][644d] Create OpenSLES output module
with java VM support.

[000:064] [2022-10-24 07:50:50 +0000.117693][644d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:065] [2022-10-24 07:50:50 +0000.117985][644d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:065] [2022-10-24 07:50:50 +0000.118204][644d] Create OpenSLES output module
with buffer num:1

[000:065] [2022-10-24 07:50:50 +0000.118378][644d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[000:065] [2022-10-24 07:50:50 +0000.118556][644d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[000:065] [2022-10-24 07:50:50 +0000.118790][644d] Create OpenSLES input module
with java VM support.

[000:066] [2022-10-24 07:50:50 +0000.118836][644d] Create OpenSLES input module


with buffer num:1

[000:066] [2022-10-24 07:50:50 +0000.118888][644d] Error(trace.cc:40): Init the


output and input for audio device template.
[000:066] [2022-10-24 07:50:50 +0000.118911][644d] Init the output device.

[000:066] [2022-10-24 07:50:50 +0000.118926][644d] Init the opensl input.


[000:066] [2022-10-24 07:50:50 +0000.118949][644d] AppDeviceManager get setting
samplerate: 0
[000:066] [2022-10-24 07:50:50 +0000.119369][644d] The device model: m2101k6g enum
value: 0
[000:067] [2022-10-24 07:50:50 +0000.119820][644d] The device model: m2101k6g enum
value: 0
[000:067] [2022-10-24 07:50:50 +0000.119848][644d] Set the sample rate to be:48000

[000:067] [2022-10-24 07:50:50 +0000.119877][644d] Enable the recording stereo:0


[000:067] [2022-10-24 07:50:50 +0000.119907][644d] Set the playout as stereo:1
[000:067] [2022-10-24 07:50:50 +0000.119930][644d] Init the microphone.
[000:069] [2022-10-24 07:50:50 +0000.122365][644d] Update the recording sample rate
to be: 48000
[000:069] [2022-10-24 07:50:50 +0000.122446][644d] Init the speaker.
[000:069] [2022-10-24 07:50:50 +0000.122487][644d] Low latency buffer size:144 low
sample rate:48000
[000:069] [2022-10-24 07:50:50 +0000.122738][644d] Using 1 x 10ms for an audio
frame.

[000:073] [2022-10-24 07:50:50 +0000.126498][644d] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[000:074] [2022-10-24 07:50:50 +0000.127241][644d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:074] [2022-10-24 07:50:50 +0000.127438][644d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[000:083] [2022-10-24 07:50:50 +0000.136041][644d] The device model:m2101k6g

[000:083] [2022-10-24 07:50:50 +0000.136184][644d] speaker output factor:100


defaultFactor: 100

[000:083] [2022-10-24 07:50:50 +0000.136239][644d] headset output factor:100


defaultFactor: 100

[000:084] [2022-10-24 07:50:50 +0000.137185][644d] AppDeviceManagerStart finished.


[000:084] [2022-10-24 07:50:50 +0000.137284][644d] AppDeviceManagerStartMic::mic
status is off
[000:084] [2022-10-24 07:50:50 +0000.137342][644d] AppDeviceManagerStartMic update
aec type: 2

[000:084] [2022-10-24 07:50:50 +0000.137362][644d] AppDeviceManagerStartMic update


voiceChangeMode: 4

[000:084] [2022-10-24 07:50:50 +0000.137377][644d]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[000:084] [2022-10-24 07:50:50 +0000.137402][644d]
AudioDeviceDataHandler::StartMicProcess

[000:084] [2022-10-24 07:50:50 +0000.137501][644d] Try to start webrtc recording


device.

[000:084] [2022-10-24 07:50:50 +0000.137532][644d] StartRecording. threadID:25677

[000:084] [2022-10-24 07:50:50 +0000.137576][77a5] Error(thread.cc:348): Set the


pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[000:084] [2022-10-24 07:50:50 +0000.137724][77a5] haveEnoughProcessedData
internalAudioStream.length: 0
[000:085] [2022-10-24 07:50:50 +0000.137877][644d] The machine model:M2101K6G

[000:085] [2022-10-24 07:50:50 +0000.137960][644d] default mode: Set the recording


mode to voice communication to enable HW AEC .

[000:085] [2022-10-24 07:50:50 +0000.137982][644d] Set the recording mode before


getSetting: 4
[000:085] [2022-10-24 07:50:50 +0000.138000][644d] Set the recording mode after
getSetting: 1
[000:136] [2022-10-24 07:50:50 +0000.189186][644d] StartRecording finished.

[000:136] [2022-10-24 07:50:50 +0000.189261][644d] audio: start the audio mic


checker timer.

[000:136] [2022-10-24 07:50:50 +0000.189769][644d] machine model :redmi


[000:137] [2022-10-24 07:50:50 +0000.189830][644d] Support this machine
model :redmi
[000:142] [2022-10-24 07:50:50 +0000.195604][644d] global inited! current sdk
version: 07-20-936c45f
[000:238] [2022-10-24 07:50:50 +0000.291325][77a6] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[000:238] [2022-10-24 07:50:50 +0000.291423][77a6] _deviceSampleRate:48000

[000:242] [2022-10-24 07:50:50 +0000.294950][77a5] Run AGC when audioType = 0


[000:242] [2022-10-24 07:50:50 +0000.295068][77a5]
AudioDeviceDataHandler::MixAndSendOutFrame
[000:667] [2022-10-24 07:50:50 +0000.720026][689b]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[000:667] [2022-10-24 07:50:50 +0000.720477][77a1] MediaFilterCamera, recording
file context:0x7c638b6280 input texture:24
[000:667] [2022-10-24 07:50:50 +0000.720566][77a1] GLESContext:
[000:667] [2022-10-24 07:50:50 +0000.720637][77a1] The result of eglGetDisplay is:
0xb400007dd9db58c0
[000:669] [2022-10-24 07:50:50 +0000.722083][77a1] The result of creation:
0x7d133ba600
[000:669] [2022-10-24 07:50:50 +0000.722325][77a1] The result of
eglCreatePbufferSurface is: 0x7d133ba800
[000:669] [2022-10-24 07:50:50 +0000.722493][689b]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7c638b6280 input_texture: 24
[001:852] [2022-10-24 07:50:51 +0000.905076][77a5] haveEnoughProcessedData
internalAudioStream.length: 0
[002:240] [2022-10-24 07:50:52 +0000.293694][77a5] Run AGC when audioType = 0
[003:084] [2022-10-24 07:50:53 +0000.137097][6425] SetOrientation:
MediaFilterCamera:: SetOrientation: 90
[003:084] [2022-10-24 07:50:53 +0000.137356][6425]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_SetOrientationJni: media
filter camera orientation: 90
[003:086] [2022-10-24 07:50:53 +0000.139614][6425]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StartRecordingJni:
[003:087] [2022-10-24 07:50:53 +0000.140426][77a1] operator() time:1129736263
enter.

[003:087] [2022-10-24 07:50:53 +0000.140570][77a1] MediaFilterCamera, recording


file context:0x7c638b6280 input texture:24
[003:091] [2022-10-24 07:50:53 +0000.144802][77a1] MicSource: Mic source
created:10x7d132fa400
[003:093] [2022-10-24 07:50:53 +0000.145902][77a1] received external audio stream

[003:093] [2022-10-24 07:50:53 +0000.146057][77a1] alloc thread: 0x7c64622200


name:worker0 thread id:533181078704 to Mic_source
[003:093] [2022-10-24 07:50:53 +0000.146162][77a1] audio: start the audio sender
thread.

[003:093] [2022-10-24 07:50:53 +0000.146277][77a1] construct OpenGLRenderProgram


0x7c64689298
[003:093] [2022-10-24 07:50:53 +0000.146340][77a1] CropFilter::SetOrientation
orientation: 90
[003:093] [2022-10-24 07:50:53 +0000.146538][77a1] filter: filter pipeline
construtc this: 0x7c33633800
[003:093] [2022-10-24 07:50:53 +0000.146592][77a1] filter: filter pipeline2 update
pattern: 1
[003:093] [2022-10-24 07:50:53 +0000.146716][77a1] CameraSource::source_id_:1
[003:093] [2022-10-24 07:50:53 +0000.146764][77a1] RecordAudioSource::source_id_:2
[003:094] [2022-10-24 07:50:53 +0000.147306][77a1] BindInputFilter 0x7c64622940
this 0x7c646894c0
[003:094] [2022-10-24 07:50:53 +0000.147382][77a1] BindInputFilter 0x7c64622ad8
this 0x7c64622c50
[003:094] [2022-10-24 07:50:53 +0000.147435][77a1] BindInputFilter 0x7c646894c0
this 0x7c336338a0
[003:094] [2022-10-24 07:50:53 +0000.147498][77a1] setParamentForFilters:
speed:1.000000
[003:094] [2022-10-24 07:50:53 +0000.147540][77a1] SetParamForFilter:
AF_SpeedFilter params:, speed_ 1
[003:094] [2022-10-24 07:50:53 +0000.147585][77a1] SetParamForFilter
time:1129736270 enter.

[003:094] [2022-10-24 07:50:53 +0000.147626][77a1] Error(crop_filter.cc:263):


SetParamForFilter: Not found modetype param, using default modetype citytravel!
[003:094] [2022-10-24 07:50:53 +0000.147667][77a1] SetParamForFilter: Params video
index is: 0
[003:094] [2022-10-24 07:50:53 +0000.147707][77a1] Error(crop_filter.cc:283):
SetParamForFilter: PhotoFilter params, donnot find index
[003:094] [2022-10-24 07:50:53 +0000.147750][77a1] Error(crop_filter.cc:291):
SetParamForFilter: PhotoFilter params, donnot find intensity
[003:094] [2022-10-24 07:50:53 +0000.147793][77a1] crop filter mode tpye:
citytravelvideo index:0
[003:101] [2022-10-24 07:50:53 +0000.154133][77a5] On audio frame the broadcast
with timestamp:1129736277 samples:480. (1000 frame for one log)

[003:102] [2022-10-24 07:50:53 +0000.155353][77a1]


Warning(parse_template_json.cc:45): json parament no found the parament
[003:102] [2022-10-24 07:50:53 +0000.155463][77a1]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:102] [2022-10-24 07:50:53 +0000.155513][77a1]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:102] [2022-10-24 07:50:53 +0000.155560][77a1]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:102] [2022-10-24 07:50:53 +0000.155603][77a1]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:102] [2022-10-24 07:50:53 +0000.155642][77a1]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:102] [2022-10-24 07:50:53 +0000.155691][77a1]
Warning(parse_template_json.cc:45): json parament no found the parament
[003:102] [2022-10-24 07:50:53 +0000.155735][77a1]
Warning(parse_template_json.cc:81): json parament no found the parament
[003:102] [2022-10-24 07:50:53 +0000.155781][77a1]
Warning(parse_template_json.cc:81): json parament no found the parament
[003:103] [2022-10-24 07:50:53 +0000.155817][77a1]
Warning(parse_template_json.cc:67): json parament no found the parament
[003:103] [2022-10-24 07:50:53 +0000.155869][77a1]
Warning(parse_template_json.cc:93): json parament no found the duration
[003:103] [2022-10-24 07:50:53 +0000.155923][77a1] SetParamForFilter leave. expire
time = 9 ms

[003:103] [2022-10-24 07:50:53 +0000.156239][77a1] OnOutputSizeChanged width 1280


height 720
[003:103] [2022-10-24 07:50:53 +0000.156330][77a1] OpenGLFrameBuffer: width:1280
height:720
[003:103] [2022-10-24 07:50:53 +0000.156391][77a1] OpenGLFrameBuffer: width:1280
height:720
[003:103] [2022-10-24 07:50:53 +0000.156440][77a1] OpenGLFrameBuffer: width:1280
height:720
[003:103] [2022-10-24 07:50:53 +0000.156488][77a1] OpenGLFrameBuffer: width:1280
height:720
[003:103] [2022-10-24 07:50:53 +0000.156531][77a1] OpenGLFrameBuffer: width:1280
height:720
[003:103] [2022-10-24 07:50:53 +0000.156576][77a1] OpenGLFrameBuffer: width:1280
height:720
[003:103] [2022-10-24 07:50:53 +0000.156666][77a1] construct TrivalImageDrawer
0x7c6469efc0
[003:103] [2022-10-24 07:50:53 +0000.156734][77a1] GPUImageProcessing construct:
frame resolution is: 1280 X 720 drawer 0x7c6469efc0 context 0x7d1323ed40
[003:104] [2022-10-24 07:50:53 +0000.156933][77a1] setupGLES:
[003:105] [2022-10-24 07:50:53 +0000.157948][77de] Get data in mic source, which
has byte length:1764micAudioStream->length():20
[003:105] [2022-10-24 07:50:53 +0000.158559][77de] The output timestamp from audio
mixer change:1129736277
[003:105] [2022-10-24 07:50:53 +0000.158623][77de] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[003:108] [2022-10-24 07:50:53 +0000.161006][77a1] OpenGLRenderProgram::Initialize.
[003:108] [2022-10-24 07:50:53 +0000.161135][77a1] The version of the OpenGL:
OpenGL ES GLSL ES 3.20
[003:108] [2022-10-24 07:50:53 +0000.161175][77a1] The extension of the OpenGL:
GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_half_float
GL_OES_framebuffer_object GL_OES_rgb8_rgba8 GL_OES_compressed_ETC1_RGB8_texture
GL_AMD_compressed_ATC_texture GL_KHR_texture_compression_astc_ldr
GL_KHR_texture_compression_astc_hdr GL_OES_texture_compression_astc
GL_OES_texture_npot GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra GL_OES_texture_3D
GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float GL_QCOM_alpha_test
GL_OES_depth24 GL_OES_packed_depth_stencil GL_OES_depth_texture
GL_OES_depth_texture_cube_map GL_EXT_sRGB GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_EXT_texture_type_2_10_10_10_REV
GL_EXT_texture_sRGB_decode GL_EXT_texture_format_sRGB_override
GL_OES_element_index_uint GL_EXT_copy_image GL_EXT_geometry_shader
GL_EXT_tessellation_shader GL_OES_texture_stencil8 GL_EXT_shader_io_blocks
GL_OES_shader_image_atomic GL_OES_sample_variables GL_EXT_texture_border_clamp
GL_EXT_EGL_image_external_wrap_modes GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2 GL_OES_shader_multisample_interpolation
GL_EXT_texture_cube_map_array GL_EXT_draw_buffers_indexed GL_EXT_gpu_shader5
GL_EXT_robustness GL_EXT_texture_buffer GL_EXT_shader_framebuffer_fetch
GL_ARM_shader_framebuffer_fetch_depth_stencil
GL_OES_texture_storage_multisample_2d_array GL_OES_sample_shading
GL_OES_get_program_binary GL_EXT_debug_label GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_QCOM_tiled_rendering
GL_ANDROID_extension_pack_es31a GL_EXT_primitive_bounding_box
GL_OES_standard_derivatives GL_OES_vertex_array_object GL_EXT_disjoint_timer_query
GL_KHR_debug GL_EXT_YUV_target GL_EXT_sRGB_write_control GL_EXT_texture_norm16
GL_EXT_discard_framebuffer GL_OES_surfaceless_context GL_OVR_multiview
GL_OVR_multiview2 GL_EXT_texture_sRGB_R8 GL_KHR_no_error GL_EXT_debug_marker
GL_OES_EGL_image_external_essl3 GL_OVR_multiview_multisampled_render_to_texture
GL_EXT_buffer_storage GL_EXT_external_buffer GL_EXT_blit_framebuffer_params
GL_EXT_clip_cull_distance GL_EXT_protected_textures
GL_EXT_shader_non_constant_global_initializers GL_QCOM_texture_foveated
GL_QCOM_texture_foveated_subsampled_layout
GL_QCOM_shader_framebuffer_fetch_noncoherent GL_QCOM_shader_framebuffer_fetch_rate
GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_EGL_image_array
GL_NV_shader_noperspective_interpolation GL_KHR_robust_buffer_access_behavior
GL_EXT_EGL_image_storage GL_EXT_blend_func_extended GL_EXT_clip_control
GL_OES_texture_view GL_EXT_fragment_invocation_density
GL_QCOM_validate_shader_binary GL_QCOM_YUV_texture_gather
[003:108] [2022-10-24 07:50:53 +0000.161231][77a1] Init open gl render:
0x7c64689298
[003:108] [2022-10-24 07:50:53 +0000.161269][77a1] Fragement shader path:
[003:108] [2022-10-24 07:50:53 +0000.161308][77a1] Fragement shader path:
[003:108] [2022-10-24 07:50:53 +0000.161337][77a1] create opengl program object.
[003:108] [2022-10-24 07:50:53 +0000.161361][77a1] create shader: vertex
[003:108] [2022-10-24 07:50:53 +0000.161658][77a1] create shader: fragment
[003:110] [2022-10-24 07:50:53 +0000.163769][77a1] Have not extra filter filename!
[003:111] [2022-10-24 07:50:53 +0000.163882][77a1] Error(crop_filter.cc:368): Init
the extra yuv texture failed.
[003:111] [2022-10-24 07:50:53 +0000.163916][77a1] OpenGLRenderProgram::Initialize
success.
[003:111] [2022-10-24 07:50:53 +0000.164019][77a1] Setup the OpenGL result:1
[003:111] [2022-10-24 07:50:53 +0000.164413][77a0] start recording, file
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_1129736287.mp4
[003:111] [2022-10-24 07:50:53 +0000.164618][77a0] MP4 session params: fps:30
width:1280 height:720 file
name:/data/user/0/com.android.camera/no_backup/.milive//record_video_1129736287.mp4
fileFd: -1 audio_timescale:44100 video_timescale:90000
[003:111] [2022-10-24 07:50:53 +0000.164714][77a0] MP4Recorder AddDisplayRotate:0
c:1 s:0 matrix[0]:256 matrix[1]:0 matrix[2]:0 matrix[3]:0 matrix[4]:256
matrix[8]:64
[003:111] [2022-10-24 07:50:53 +0000.164784][77a0] 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_1129736287.mp4
fileFD: -1
[003:112] [2022-10-24 07:50:53 +0000.165366][77a0] MP4
file:/data/user/0/com.android.camera/no_backup/.milive//record_video_1129736287.mp4
is opened successfully
[003:112] [2022-10-24 07:50:53 +0000.165450][77a0] setupMediaProcessers:
[003:112] [2022-10-24 07:50:53 +0000.165482][77a0]
RecordingSessionInternalSimple:setup media processers.
[003:112] [2022-10-24 07:50:53 +0000.165520][77a0] construct AAC encoder
[003:113] [2022-10-24 07:50:53 +0000.166336][77a0] H264Encoder creating:
superfast011818
[003:113] [2022-10-24 07:50:53 +0000.166446][77a0] H264Encode::H264Encoder creating
with width:1280 height:720 m_fps:30 m_bitrate:31457280 useHWEncoder:0
[003:114] [2022-10-24 07:50:53 +0000.167126][77e5] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c542ebe98
[003:114] [2022-10-24 07:50:53 +0000.167572][77a0] H264Encode::GetMachineModel is
M2101K6G
[003:115] [2022-10-24 07:50:53 +0000.167811][77a0] H264Encoder machine_mode
is:M2101K6G
[003:115] [2022-10-24 07:50:53 +0000.167850][77a0] H264Encode::machine size :9
machine_mode:M2101K6G
[003:115] [2022-10-24 07:50:53 +0000.167890][77a0] H264Encode::machine array
size :22 machine_mode:M2101K6G
[003:115] [2022-10-24 07:50:53 +0000.167929][77a0] H264Encode::current machine
is :M2101K6G auto check hw codec decide to use hw codec
[003:115] [2022-10-24 07:50:53 +0000.167961][77a0] setupCompressionSession:
[003:115] [2022-10-24 07:50:53 +0000.167991][77a0] H264Encode::creating hareware
Encoder
[003:115] [2022-10-24 07:50:53 +0000.168024][77a0] AndroidHwAvcEncoder
time:1129736291 enter.

[003:115] [2022-10-24 07:50:53 +0000.168218][77a0] AndroidHwAvcEncoder:


g_jvm_encoder_ :0xb400007dd9cc3540 address:0x7c17476760
[003:115] [2022-10-24 07:50:53 +0000.168376][77a0] AndroidMediaCodecVideoEncoder
construct jni_init_jfields: 1, 1
[003:115] [2022-10-24 07:50:53 +0000.168432][77a0] The video avc hw codec address
is 0x7c5075ccd8
[003:115] [2022-10-24 07:50:53 +0000.168508][77a0] AndroidHwAvcEncoder leave.
expire time = 0 ms

[003:115] [2022-10-24 07:50:53 +0000.168559][77a0] RegisterEncodeCompleteCallback


time:1129736291 enter.

[003:115] [2022-10-24 07:50:53 +0000.168686][77a0] RegisterEncodeCompleteCallback


leave. expire time = 0 ms

[003:115] [2022-10-24 07:50:53 +0000.168749][77a0] InitEncode time:1129736291


enter.

[003:116] [2022-10-24 07:50:53 +0000.168842][77a0] InitEncode:


MediaCodecVideoEncoder::Release _inited:1
[003:116] [2022-10-24 07:50:53 +0000.168908][77a0] Create time:1129736292 enter.

[003:116] [2022-10-24 07:50:53 +0000.168959][77a0] H264Encoder encoderCreate


width:1280 height:720 fps:30 bitrate:31457280 usingVbrMode:1
[003:116] [2022-10-24 07:50:53 +0000.169006][77a0]
AndroidMediaCodecVideoEncoder::initEncoder, codec: 0, width: 1280, height: 720,
framerate: 30, bitrate: 31457280, usingVbr: 1, VideoEncoder: 0x7d090beec0
[003:140] [2022-10-24 07:50:53 +0000.193178][77a0] supported_type:video/avc
[003:140] [2022-10-24 07:50:53 +0000.193357][77a0] name:OMX.qcom.video.encoder.avc
mime:video/avc
[003:140] [2022-10-24 07:50:53 +0000.193451][77a0] hwCodecPrefix :OMX.qcom.
[003:140] [2022-10-24 07:50:53 +0000.193515][77a0] Found target codecer
OMX.qcom.video.encoder.avccodecColorFormat:21
[003:140] [2022-10-24 07:50:53 +0000.193560][77a0] mediacodec_createCodecByName
time:1129736316 enter.

[003:140] [2022-10-24 07:50:53 +0000.193614][77a0] WrapAndroidMediaCodec


time:1129736316 enter.

[003:141] [2022-10-24 07:50:53 +0000.193830][77a0] WrapAndroidMediaCodec leave.


expire time = 1 ms

[003:182] [2022-10-24 07:50:53 +0000.235772][77a0] mediacodec_createCodecByName


leave. expire time = 43 ms

[003:183] [2022-10-24 07:50:53 +0000.235968][77a0] WrapAndroidMediaFromat


time:1129736359 enter.

[003:183] [2022-10-24 07:50:53 +0000.236127][77a0] WrapAndroidMediaFromat leave.


expire time = 0 ms

[003:321] [2022-10-24 07:50:53 +0000.373879][77a0] Destroy time:1129736497 enter.

[003:321] [2022-10-24 07:50:53 +0000.374029][77a0] WrapAndroidMediaFromat::


Destroy
[003:321] [2022-10-24 07:50:53 +0000.374087][77a0] Destroy leave. expire time = 0
ms
[003:321] [2022-10-24 07:50:53 +0000.374143][77a0] ~WrapAndroidMediaFromat
time:1129736497 enter.

[003:321] [2022-10-24 07:50:53 +0000.374191][77a0] ~WrapAndroidMediaFromat leave.


expire time = 0 ms

[003:321] [2022-10-24 07:50:53 +0000.374243][77a0] Create leave. expire time = 205


ms

[003:321] [2022-10-24 07:50:53 +0000.374292][77a0] isSemiPlanarSupport


time:1129736497 enter.

[003:321] [2022-10-24 07:50:53 +0000.374338][77a0] H264Encoder isSemiPlanarSupport


[003:321] [2022-10-24 07:50:53 +0000.374383][77a0] isSemiPlanarSupport leave.
expire time = 0 ms

[003:321] [2022-10-24 07:50:53 +0000.374433][77a0] creat hw H264Encoder success,


isSemiPlanar:1
[003:321] [2022-10-24 07:50:53 +0000.374574][77a0] InitEncode leave. expire time =
206 ms

[003:321] [2022-10-24 07:50:53 +0000.374642][77a0] H264Encode::created Encoder


[003:321] [2022-10-24 07:50:53 +0000.374692][77a0] H264Encode:: H264 encoder
created.
[003:321] [2022-10-24 07:50:53 +0000.374735][77a0] H264 encoder created.
[003:321] [2022-10-24 07:50:53 +0000.374780][77a0]
RecordingSessionInternalSimple:created avc encoder avc: 0x7c339a2780
[003:322] [2022-10-24 07:50:53 +0000.374833][77a0] setOutput:
[003:322] [2022-10-24 07:50:53 +0000.374876][77a0]
RecordingSessionInternalSimple:encoder set output to muxer!
[003:322] [2022-10-24 07:50:53 +0000.374923][77a0] request a key frame
[003:322] [2022-10-24 07:50:53 +0000.374968][77a0] H264Encode:: request a key frame
[003:322] [2022-10-24 07:50:53 +0000.375195][77a0] setDisplayRotate :90
[003:322] [2022-10-24 07:50:53 +0000.375259][77a0] MP4Recorder AddDisplayRotate:90
c:6.12323e-17 s:-1 matrix[0]:0 matrix[1]:256 matrix[2]:0 matrix[3]:65535
matrix[4]:0 matrix[8]:64
[003:322] [2022-10-24 07:50:53 +0000.375375][77a1] StartRecording:
[003:322] [2022-10-24 07:50:53 +0000.375591][77de] operator(): Set the recording
session in mic source. recording session: 0x7c64622980
[003:322] [2022-10-24 07:50:53 +0000.375775][77a1] operator() leave. expire time =
235 ms

[003:323] [2022-10-24 07:50:53 +0000.375884][77dd] AF_SpeedFilter audio


0x7c64622b00 PullFrame
[003:323] [2022-10-24 07:50:53 +0000.375957][77dd]
RecordAudioSource::PullAudioFrame
[003:323] [2022-10-24 07:50:53 +0000.375986][77dd] AF_SpeedFilter::PullFrame eof4
[003:325] [2022-10-24 07:50:53 +0000.378131][77dd]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[003:327] [2022-10-24 07:50:53 +0000.380498][77dd] AF_SpeedFilter audio time,
0x7c64622b00 rcv time: 1129736499
[003:327] [2022-10-24 07:50:53 +0000.380587][77dd] AF_SpeedFilter audio time,
0x7c64622b00 rcv time: 1129736499in_nSamples:441
[003:327] [2022-10-24 07:50:53 +0000.380712][77dd] resampled_data_size:0
[003:388] [2022-10-24 07:50:53 +0000.441467][77a1]
MediaFilterCamera::NeedProcessTexture
[003:389] [2022-10-24 07:50:53 +0000.441830][77a1] begine recode to first frame
spend time:302
[003:389] [2022-10-24 07:50:53 +0000.442109][77a1] CameraSource::PushExtraFrame
pkt_dts: 0, width: 1280, height: 720, stride(kYPlane): 0, stride(kUPlane): 0,
stride(KVPlane): 0, this:0x7c64622800
[003:389] [2022-10-24 07:50:53 +0000.442435][77a1] blur_distance_:0
[003:389] [2022-10-24 07:50:53 +0000.442481][77a1] blur_direction_angle_:-90
[003:389] [2022-10-24 07:50:53 +0000.442506][77a1]
GPUImageProcessing::SetOrientation orientation: 90
[003:389] [2022-10-24 07:50:53 +0000.442524][77a1] webrtc common_video
I420VideoFrame::CopyFrame (1/1000)
[003:389] [2022-10-24 07:50:53 +0000.442603][77a1] GPUImageProcessing: process
video frame with resolution 1280 X 720
[003:389] [2022-10-24 07:50:53 +0000.442634][77a1] GPUImageProcessing: input frame
width1280 X 720
[003:391] [2022-10-24 07:50:53 +0000.444342][77a1] drawYUV420 render
OpenGLRenderProgram:0x7c64689298
[003:392] [2022-10-24 07:50:53 +0000.445118][77a1] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[003:392] [2022-10-24 07:50:53 +0000.445537][77a1] CropFilter::OnVideoFrame
outputtexture :26
[003:392] [2022-10-24 07:50:53 +0000.445600][77a1] The next ready buffer:-1
m_nextAvaiablePixelBuffer:0
[003:397] [2022-10-24 07:50:53 +0000.450357][77a1] The read pixel from buffer take:
5 width:1280 height:720 frameType:0
[003:421] [2022-10-24 07:50:53 +0000.474186][77a1] drawYUV420 render
OpenGLRenderProgram:0x7c64689298
[003:428] [2022-10-24 07:50:53 +0000.481059][77a1] The convert RGB to YUV take 2
[003:428] [2022-10-24 07:50:53 +0000.481396][77a1] FilterPipeline2::OnVideoFrame
pts 29 last_video_timestamp_ 29
[003:428] [2022-10-24 07:50:53 +0000.481522][77a1]
MediaFilterCamera::OnReceiveVideoFrame output_video_timestamp_:0
[003:429] [2022-10-24 07:50:53 +0000.482660][77e4]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:0
[003:429] [2022-10-24 07:50:53 +0000.482730][77e4] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:0
[003:429] [2022-10-24 07:50:53 +0000.482751][77e4] push video frame to H264
encoder. (100 frame for one log)

[003:429] [2022-10-24 07:50:53 +0000.482772][77e4] push video frame to H264


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

[003:429] [2022-10-24 07:50:53 +0000.482794][77e4] H264Encode::push video frame to


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

[003:430] [2022-10-24 07:50:53 +0000.482849][77e4] Push an pts:0 to dts queue.


[003:430] [2022-10-24 07:50:53 +0000.482900][77e4] DTS queue for
Generator:0x7c506698b8 0
[003:430] [2022-10-24 07:50:53 +0000.482929][77e4] The input pts:0 fps:30
[003:431] [2022-10-24 07:50:53 +0000.484450][77e4]
AndroidMediaCodecVideoEncoder::encodeFrameInput force a key frame
[003:453] [2022-10-24 07:50:53 +0000.506202][77a1] drawYUV420 render
OpenGLRenderProgram:0x7c64689298
[003:455] [2022-10-24 07:50:53 +0000.508095][77dd] AF_SpeedFilter audio time 222,
0x7c64622b00 out time: 1129736499 org time: 1129736499
[003:455] [2022-10-24 07:50:53 +0000.508182][77dd] FilterPipeline2::OnAudioFrame
pts 10 last_audio_timestamp_ 10
[003:455] [2022-10-24 07:50:53 +0000.508210][77dd]
MediaFilterCamera::OnReceiveAudioFrame timestamp: 1129736499
[003:455] [2022-10-24 07:50:53 +0000.508227][77dd]
MediaFilterCamera::OnReceiveAudioFrame timestamp: sample_rate_hz_:44100
num_channels_:2 samples_per_channel_:441
[003:455] [2022-10-24 07:50:53 +0000.508286][77dd] AF_SpeedFilter audio time
[003:455] [2022-10-24 07:50:53 +0000.508327][77dd] AF_SpeedFilter audio time 111,
0x7c64622b00 out time: 1129736509 org time: 1129736509
[003:494] [2022-10-24 07:50:53 +0000.547703][77e4] h264 add frame header cdr flag
[003:495] [2022-10-24 07:50:53 +0000.548529][77e4] h264 add frame header cdr flag
[003:496] [2022-10-24 07:50:53 +0000.548889][77e4] SendFrame
encodedImage._timeStamp:0encodedImage->_length:139901
[003:496] [2022-10-24 07:50:53 +0000.548964][77e4] Received key frame:0
[003:496] [2022-10-24 07:50:53 +0000.548988][77e4] last dts:0 currentPts:0
ppsOrSPS:0 queue length:3
[003:496] [2022-10-24 07:50:53 +0000.549006][77e4] H264Encode::H264SWEncoder get
callback, length:139901 type:0 nalType:7length:17
[003:496] [2022-10-24 07:50:53 +0000.549061][77e4] H264Encode:: get a sps pps
header!headerSize:29
[003:496] [2022-10-24 07:50:53 +0000.549076][77e4] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:0 pts:0
[003:496] [2022-10-24 07:50:53 +0000.549290][77e5] get the H.264 SPS parameter
[003:496] [2022-10-24 07:50:53 +0000.549552][77e5] add video track with id:1
[003:497] [2022-10-24 07:50:53 +0000.550466][77e5] get the H.264 PPS parameter
[003:499] [2022-10-24 07:50:53 +0000.552049][77e5] get the H.264 IDR frame
[003:499] [2022-10-24 07:50:53 +0000.552145][77e5] resss:true
[003:499] [2022-10-24 07:50:53 +0000.552162][77e5] video start ts:0
[003:499] [2022-10-24 07:50:53 +0000.552252][77e5] the video frame has been written
into MP4 file
[003:529] [2022-10-24 07:50:53 +0000.582779][77e3]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 0queue_audio_frame_:9
[003:531] [2022-10-24 07:50:53 +0000.584164][77e5] add aac audio track with id:2
[003:531] [2022-10-24 07:50:53 +0000.584491][77e5] audio start ts:0
[003:531] [2022-10-24 07:50:53 +0000.584628][77e5] the audio frame has been written
into MP4 file
[003:577] [2022-10-24 07:50:53 +0000.630713][77a5] haveEnoughProcessedData
internalAudioStream.length: 0
[003:888] [2022-10-24 07:50:53 +0000.941721][77a1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[003:934] [2022-10-24 07:50:53 +0000.987282][77a1] The convert RGB to YUV take 6
[004:110] [2022-10-24 07:50:54 +0000.163374][77de] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[004:141] [2022-10-24 07:50:54 +0000.194313][779c]
monitorTime:4005totalDuration:3920
[004:242] [2022-10-24 07:50:54 +0000.294945][77a5] Run AGC when audioType = 0
[004:242] [2022-10-24 07:50:54 +0000.295147][77a5]
AudioDeviceDataHandler::MixAndSendOutFrame
[004:262] [2022-10-24 07:50:54 +0000.315173][77e4] DTS queue for
Generator:0x7c506698b8 801 838
[004:392] [2022-10-24 07:50:54 +0000.445214][77a1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[004:422] [2022-10-24 07:50:54 +0000.475825][77a1] The convert RGB to YUV take 2
[004:760] [2022-10-24 07:50:54 +0000.813206][77e4] Push an pts:1339 to dts queue.
[004:796] [2022-10-24 07:50:54 +0000.849319][77e4] last dts:1300 currentPts:1339
ppsOrSPS:0 queue length:2
[004:890] [2022-10-24 07:50:54 +0000.942878][77a1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[004:922] [2022-10-24 07:50:54 +0000.975413][77a1] The convert RGB to YUV take 2
[004:927] [2022-10-24 07:50:54 +0000.980211][77dd] AF_SpeedFilter audio
0x7c64622b00 PullFrame
[005:092] [2022-10-24 07:50:55 +0000.145269][77e4] DTS queue for
Generator:0x7c506698b8 1640 1671
[005:102] [2022-10-24 07:50:55 +0000.155725][77de] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[005:177] [2022-10-24 07:50:55 +0000.230658][77dd]
RecordAudioSource::PullAudioFrame
[005:307] [2022-10-24 07:50:55 +0000.360096][77a5] haveEnoughProcessedData
internalAudioStream.length: 0
[005:389] [2022-10-24 07:50:55 +0000.442075][77a1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[005:425] [2022-10-24 07:50:55 +0000.478443][77a1] The convert RGB to YUV take 3
[005:454] [2022-10-24 07:50:55 +0000.507728][77a1] webrtc common_video plane
old ..... (1/1000) new: 1001 delete: 980 diff: 21
[005:462] [2022-10-24 07:50:55 +0000.514982][77e4] h264 add frame header cdr flag
[005:462] [2022-10-24 07:50:55 +0000.515718][77e4] Received key frame:2005
[005:498] [2022-10-24 07:50:55 +0000.551394][77e5] get the H.264 IDR frame
[005:610] [2022-10-24 07:50:55 +0000.663773][77dd] AF_SpeedFilter::PullFrame eof4
[005:613] [2022-10-24 07:50:55 +0000.666174][77dd]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[005:615] [2022-10-24 07:50:55 +0000.668219][77dd] resampled_data_size:7168
[005:799] [2022-10-24 07:50:55 +0000.852742][77e3]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 2321queue_audio_frame_:3
[005:902] [2022-10-24 07:50:55 +0000.955765][77a1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[005:910] [2022-10-24 07:50:55 +0000.962851][77e4] DTS queue for
Generator:0x7c506698b8 2485
[005:924] [2022-10-24 07:50:55 +0000.977639][77a1] The convert RGB to YUV take 2
[006:094] [2022-10-24 07:50:56 +0000.147783][77e4] Push an pts:2673 to dts queue.
[006:105] [2022-10-24 07:50:56 +0000.158503][77de] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[006:130] [2022-10-24 07:50:56 +0000.183560][77e4] last dts:2637 currentPts:2673
ppsOrSPS:0 queue length:2
[006:243] [2022-10-24 07:50:56 +0000.296861][77a5] Run AGC when audioType = 0
[006:391] [2022-10-24 07:50:56 +0000.444119][77a1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[006:430] [2022-10-24 07:50:56 +0000.483779][77a1] The convert RGB to YUV take 1
[006:537] [2022-10-24 07:50:56 +0000.590689][77dd] AF_SpeedFilter audio
0x7c64622b00 PullFrame
[006:690] [2022-10-24 07:50:56 +0000.743223][77a1] drawYUV420 render
OpenGLRenderProgram:0x7c64689298
[006:738] [2022-10-24 07:50:56 +0000.791263][77e4] DTS queue for
Generator:0x7c506698b8 3309
[006:764] [2022-10-24 07:50:56 +0000.817240][77a1] GPUImageProcessing: process
video frame with resolution 1280 X 720
[006:764] [2022-10-24 07:50:56 +0000.817587][77a1] GPUImageProcessing: input frame
width1280 X 720
[006:765] [2022-10-24 07:50:56 +0000.818651][77a1] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[006:765] [2022-10-24 07:50:56 +0000.818774][77a1] The next ready buffer:0
m_nextAvaiablePixelBuffer:1
[006:771] [2022-10-24 07:50:56 +0000.823852][77e4]
MediaFilterCamera::WriteVideoFrametoMP4_w -> pushExtraYUVFrametimestamp:3347
[006:773] [2022-10-24 07:50:56 +0000.826116][77e4] H264Encode::H264 encoder push
frame to next component(100 times for one log) with dts:3309 pts:3309
[006:796] [2022-10-24 07:50:56 +0000.849283][77e4] RecordingSessionInternalSimple:
pushExtraYUVFrame. width:1280 height:720input pixel type:0 dataType:0 stride:1280
streamId:1 timestamp:3373
[006:796] [2022-10-24 07:50:56 +0000.849572][77e4] push video frame to H264
encoder. (100 frame for one log)

[006:796] [2022-10-24 07:50:56 +0000.849618][77e4] push video frame to H264


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

[006:796] [2022-10-24 07:50:56 +0000.849718][77e4] H264Encode::push video frame to


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

[006:797] [2022-10-24 07:50:56 +0000.849830][77e4] The input pts:3373 fps:30


[006:800] [2022-10-24 07:50:56 +0000.853138][77e4] SendFrame
encodedImage._timeStamp:3347encodedImage->_length:124704
[006:850] [2022-10-24 07:50:56 +0000.903265][77e4] H264Encode::H264SWEncoder get
callback, length:84512 type:1 nalType:1length:84508
[006:897] [2022-10-24 07:50:56 +0000.950317][77a1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[006:923] [2022-10-24 07:50:56 +0000.976170][77a1] The convert RGB to YUV take 1
[007:035] [2022-10-24 07:50:57 +0000.88352][77a5] haveEnoughProcessedData
internalAudioStream.length: 0
[007:052] [2022-10-24 07:50:57 +0000.105412][77dd]
RecordAudioSource::PullAudioFrame
[007:103] [2022-10-24 07:50:57 +0000.156361][77de] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[007:384] [2022-10-24 07:50:57 +0000.437452][77a1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[007:424] [2022-10-24 07:50:57 +0000.477703][77a1] The convert RGB to YUV take 1
[007:426] [2022-10-24 07:50:57 +0000.479494][77e4] Push an pts:4005 to dts queue.
[007:463] [2022-10-24 07:50:57 +0000.515979][77e4] h264 add frame header cdr flag
[007:463] [2022-10-24 07:50:57 +0000.516286][77e4] Received key frame:4005
[007:463] [2022-10-24 07:50:57 +0000.516329][77e4] last dts:3965 currentPts:4005
ppsOrSPS:0 queue length:2
[007:500] [2022-10-24 07:50:57 +0000.552997][77e5] get the H.264 IDR frame
[007:521] [2022-10-24 07:50:57 +0000.574244][77a1] webrtc common_video plane
old ..... (1/1000) new: 2001 delete: 1984 diff: 17
[007:556] [2022-10-24 07:50:57 +0000.609730][77e4] DTS queue for
Generator:0x7c506698b8 4101 4135
[007:814] [2022-10-24 07:50:57 +0000.867174][77dd] resampled_data_size:0
[007:887] [2022-10-24 07:50:57 +0000.939978][77dd] AF_SpeedFilter::PullFrame eof4
[007:889] [2022-10-24 07:50:57 +0000.942282][77dd]
Warning(media_filter_camera.cc:539): media pull audio frame failed:4
[007:892] [2022-10-24 07:50:57 +0000.944853][77a1] The read pixel from buffer take:
1 width:1280 height:720 frameType:0
[007:922] [2022-10-24 07:50:57 +0000.975466][77a1] The convert RGB to YUV take 2
[008:108] [2022-10-24 07:50:58 +0000.161331][77de] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[008:115] [2022-10-24 07:50:58 +0000.168024][77dd] AF_SpeedFilter audio
0x7c64622b00 PullFrame
[008:157] [2022-10-24 07:50:58 +0000.210807][77e3]
MediaFilterCamera::WriteAudioFrametoMP4_w timestamp: 4643queue_audio_frame_:7
[008:239] [2022-10-24 07:50:58 +0000.292818][77a5] Run AGC when audioType = 0
[008:240] [2022-10-24 07:50:58 +0000.293038][77a5]
AudioDeviceDataHandler::MixAndSendOutFrame
[008:389] [2022-10-24 07:50:58 +0000.442798][77a1] The read pixel from buffer take:
0 width:1280 height:720 frameType:0
[008:394] [2022-10-24 07:50:58 +0000.447186][77e4] DTS queue for
Generator:0x7c506698b8 4938 4972
[008:424] [2022-10-24 07:50:58 +0000.477179][77a1] The convert RGB to YUV take 3
[008:761] [2022-10-24 07:50:58 +0000.814788][77a5] haveEnoughProcessedData
internalAudioStream.length: 20
[008:768] [2022-10-24 07:50:58 +0000.821689][77e4] Push an pts:5347 to dts queue.
[008:800] [2022-10-24 07:50:58 +0000.853173][77e4] last dts:5303 currentPts:5347
ppsOrSPS:0 queue length:2
[008:807] [2022-10-24 07:50:58 +0000.860342][6425]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_StopRecordingJni:
[008:808] [2022-10-24 07:50:58 +0000.860858][77a1] operator(): Stop
[008:808] [2022-10-24 07:50:58 +0000.860932][77a1] StopPullFrameAndWriteMp4
time:1129741984 enter.

[008:808] [2022-10-24 07:50:58 +0000.860967][77a1] StopRecording:


[008:812] [2022-10-24 07:50:58 +0000.864974][77dd] resampled_data_size:512
[008:812] [2022-10-24 07:50:58 +0000.865214][77dd] AF_SpeedFilter audio time 222,
0x7c64622b00 out time: 1129741859 org time: 1129741859
[008:812] [2022-10-24 07:50:58 +0000.865380][77dd] PullAudioFrame: PullFrame audio
finished.
[008:812] [2022-10-24 07:50:58 +0000.865428][77dd]
Warning(media_filter_camera.cc:534): media pull audio frame EOF, so need stop
Timer!
[008:813] [2022-10-24 07:50:58 +0000.866299][77e4]
MediaFilterCamera::WriteVideoFrametoMP4_wwrite mp4 video sum frames:162
[008:817] [2022-10-24 07:50:58 +0000.870180][77a0] stop recording
[008:817] [2022-10-24 07:50:58 +0000.870306][77a0]
RecordingSessionInternalSimple:destroy media processers
[008:817] [2022-10-24 07:50:58 +0000.870362][77a0] H264Encode::H264Encoder flush
frames, m_useHWEncoder:1
[008:817] [2022-10-24 07:50:58 +0000.870398][77a0] H264Encode::flushing hareware
Encoder
[008:817] [2022-10-24 07:50:58 +0000.870603][77a0] Flush time:1129741993 enter.

[008:817] [2022-10-24 07:50:58 +0000.870707][77a0] H264Encoder encoder flush


[008:817] [2022-10-24 07:50:58 +0000.870748][77a0] flush output queue
[009:101] [2022-10-24 07:50:59 +0000.154469][77de] Error(MicSource.cpp:254): There
is no output connect to mic source, discard the frame.
[009:131] [2022-10-24 07:50:59 +0000.184731][77a0] Flush leave. expire time = 314
ms

[009:132] [2022-10-24 07:50:59 +0000.184972][77a0] ~H264EncodeWrap:


[009:132] [2022-10-24 07:50:59 +0000.185020][77a0] ~H264Encode:
[009:132] [2022-10-24 07:50:59 +0000.185035][77a0] teardownCompressionSession:
H264Encode::destroying Encoder
[009:132] [2022-10-24 07:50:59 +0000.185051][77a0] Release time:1129742308 enter.

[009:132] [2022-10-24 07:50:59 +0000.185187][77a0] Release:


MediaCodecVideoEncoder::Release _inited:1
[009:132] [2022-10-24 07:50:59 +0000.185265][77a0] Destroy time:1129742308 enter.

[009:132] [2022-10-24 07:50:59 +0000.185303][77a0] H264Encoder encoderDestroy


[009:132] [2022-10-24 07:50:59 +0000.185352][77a0]
AndroidMediaCodecVideoEncoder::release env: 0x7c339a28c0
[009:132] [2022-10-24 07:50:59 +0000.185380][77a0]
AndroidMediaCodecVideoEncoder::Destroy
[009:152] [2022-10-24 07:50:59 +0000.205607][77a0] Destroy leave. expire time = 20
ms

[009:152] [2022-10-24 07:50:59 +0000.205755][77a0] Release leave. expire time = 20


ms

[009:152] [2022-10-24 07:50:59 +0000.205787][77a0] ~AndroidHwAvcEncoder


time:1129742328 enter.

[009:153] [2022-10-24 07:50:59 +0000.205877][77a0] Release time:1129742329 enter.


[009:153] [2022-10-24 07:50:59 +0000.205973][77a0] Release:
MediaCodecVideoEncoder:: has been released before, just return
[009:153] [2022-10-24 07:50:59 +0000.205993][77a0] Release leave. expire time = 0
ms

[009:153] [2022-10-24 07:50:59 +0000.206009][77a0] ~AndroidMediaCodecVideoEncoder


[009:153] [2022-10-24 07:50:59 +0000.206083][77a0] ~WrapAndroidMediaCodec
time:1129742329 enter.

[009:153] [2022-10-24 07:50:59 +0000.206097][77a0] ~WrapAndroidMediaCodec leave.


expire time = 0 ms

[009:153] [2022-10-24 07:50:59 +0000.206112][77a0] video hevc hw codec


destructor:0x7c5075ccd8

[009:153] [2022-10-24 07:50:59 +0000.206154][77a0] ~AndroidHwAvcEncoder leave.


expire time = 1 ms

[009:153] [2022-10-24 07:50:59 +0000.206186][77a0] teardownCompressionSession:


H264Encode::destroyed Encoder
[009:153] [2022-10-24 07:50:59 +0000.206206][77a0]
RecordingSessionInternalSimple:destroy aac encoder output!
[009:153] [2022-10-24 07:50:59 +0000.206223][77a0] AACSWEncode destructor
[009:156] [2022-10-24 07:50:59 +0000.209479][77e5] MP4 close file successfully
[009:156] [2022-10-24 07:50:59 +0000.209777][77e5] Recording session Internal:
notify recording ok
[009:157] [2022-10-24 07:50:59 +0000.209809][77e5] onRecordingOk: Recording Ok
averagefps 0,
/data/user/0/com.android.camera/no_backup/.milive//record_video_1129736287.mp4,
output_video_timestamp_:5376 last_video_pts_:5376
[009:157] [2022-10-24 07:50:59 +0000.209840][77e5] OnRecordFinish:
[009:157] [2022-10-24 07:50:59 +0000.210727][77e5] onRecordingOk: net seek
pos:0record video duration:5409record audio duration:5363
[009:158] [2022-10-24 07:50:59 +0000.211785][77de] destructMicSource_w:
[009:159] [2022-10-24 07:50:59 +0000.211867][77de] setOutput_w:
MicSource::setOutput() 0x0
[009:159] [2022-10-24 07:50:59 +0000.211894][77de] close external audio stream

[009:159] [2022-10-24 07:50:59 +0000.212191][77a1] releaseThread 0x7c64622200


[009:159] [2022-10-24 07:50:59 +0000.212242][77a1] ~MicSource: Mic source
destroyed:0x7d132fa400
[009:161] [2022-10-24 07:50:59 +0000.214676][77a1] StopPullFrameAndWriteMp4 leave.
expire time = 353 ms

[009:162] [2022-10-24 07:50:59 +0000.214832][77a1] DestroyPipelineAndFilters


time:1129742338 enter.

[009:162] [2022-10-24 07:50:59 +0000.214873][77a1] UnbindInputFilter 0x7c64622940


this 0x7c646894c0
[009:162] [2022-10-24 07:50:59 +0000.214898][77a1] UnbindInputFilter 0x7c64622ad8
this 0x7c64622c50
[009:162] [2022-10-24 07:50:59 +0000.214928][77a1] UnbindInputFilter 0x7c646894c0
this 0x7c336338a0
[009:162] [2022-10-24 07:50:59 +0000.214943][77a1] filter: filter pipeline destroy
this: 0x7c33633800
[009:163] [2022-10-24 07:50:59 +0000.216357][77a1] ClearVideoOfSources: recodring
total frames:0
[009:163] [2022-10-24 07:50:59 +0000.216488][77a1] ClearVideoOfSources:
[009:163] [2022-10-24 07:50:59 +0000.216526][77a1] GPUImageProcessing destruct.
[009:163] [2022-10-24 07:50:59 +0000.216625][77a1] destroy TrivalImageDrawer
0x7c6469efc0
[009:163] [2022-10-24 07:50:59 +0000.216715][77a1] The shader has been initialize,
clean up them.

[009:164] [2022-10-24 07:50:59 +0000.216912][77a1] ~OpenGLFrameBuffer:


[009:164] [2022-10-24 07:50:59 +0000.217193][77a1] ~OpenGLFrameBuffer:
[009:164] [2022-10-24 07:50:59 +0000.217632][77a1] ~OpenGLFrameBuffer:
[009:166] [2022-10-24 07:50:59 +0000.219577][77a1] ~OpenGLFrameBuffer:
[009:167] [2022-10-24 07:50:59 +0000.219918][77a1] ~OpenGLFrameBuffer:
[009:167] [2022-10-24 07:50:59 +0000.220293][77a1] ~OpenGLFrameBuffer:
[009:167] [2022-10-24 07:50:59 +0000.220739][77a1] GPUImageProcessing destruct
finish.
[009:168] [2022-10-24 07:50:59 +0000.220951][77a1] GPURGBAFrame destruct.
[009:168] [2022-10-24 07:50:59 +0000.221066][77a1] destroy OpenGLRenderProgram
0x7c64689298
[009:168] [2022-10-24 07:50:59 +0000.221143][77a1] ~CameraSource time:1129742344
enter.

[009:168] [2022-10-24 07:50:59 +0000.221197][77a1] ~CameraSource leave. expire


time = 0 ms

[009:168] [2022-10-24 07:50:59 +0000.221256][77a1] ~RecordAudioSource


time:1129742344 enter.

[009:168] [2022-10-24 07:50:59 +0000.221304][77a1] ~RecordAudioSource leave.


expire time = 0 ms

[009:168] [2022-10-24 07:50:59 +0000.221360][77a1] DestroyPipelineAndFilters


leave. expire time = 6 ms

[009:207] [2022-10-24 07:50:59 +0000.260243][6425]


Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_ConstructMediaEffectGraphJni:
[009:210] [2022-10-24 07:50:59 +0000.263250][6425] machine model :redmi
[009:210] [2022-10-24 07:50:59 +0000.263374][6425] Support this machine
model :redmi
[009:210] [2022-10-24 07:50:59 +0000.263431][6425] global inited! current sdk
version: 07-20-936c45f
[009:211] [2022-10-24 07:50:59 +0000.263957][6425] filter: filter pipeline
construtc this: 0x7c507f3200
[009:211] [2022-10-24 07:50:59 +0000.264073][6425] MediaFilterGraph:
MediaFilterGraph construct
[009:211] [2022-10-24 07:50:59 +0000.264114][6425] GLESContext:
[009:211] [2022-10-24 07:50:59 +0000.264222][6425] The result of eglGetDisplay is:
0xb400007dd9db58c0
[009:213] [2022-10-24 07:50:59 +0000.266614][6425] The result of creation:
0x7c544da280
[009:214] [2022-10-24 07:50:59 +0000.267305][6425] The result of
eglCreatePbufferSurface is: 0x7c50701e00
[009:215] [2022-10-24 07:50:59 +0000.268609][6425] The source 0
path:/data/user/0/com.android.camera/no_backup/.milive//record_video_1129736287.mp4
[009:215] [2022-10-24 07:50:59 +0000.268742][6425] The source 0 speed:1
[009:215] [2022-10-24 07:50:59 +0000.268773][6425] AddVideoSource: add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_1129736287.mp4,
delay: 0
[009:215] [2022-10-24 07:50:59 +0000.268799][6425] CreateDecoderByVideoSource
time:1129742391 enter.
[009:217] [2022-10-24 07:50:59 +0000.270762][6425] running_decoder_count:0max
count:2
[009:218] [2022-10-24 07:50:59 +0000.271090][6425] Start decoding file
/data/user/0/com.android.camera/no_backup/.milive//record_video_1129736287.mp4,
sync_mode: 1, seek_pos: 0, delay: 0, this:0x7c5094a000
[009:264] [2022-10-24 07:50:59 +0000.317636][7822] FFMpeg=>
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7c33f41200] Current FFmpeg version git-2021-06-16-
97cea6f

[009:385] [2022-10-24 07:50:59 +0000.438397][7822] OnStreamInfoFound: video


duration_: 5409
[009:389] [2022-10-24 07:50:59 +0000.441958][6425] start decoder
[009:389] [2022-10-24 07:50:59 +0000.442164][6425] CreateDecoderByVideoSource
leave. expire time = 174 ms

[009:389] [2022-10-24 07:50:59 +0000.442228][7823] NO get frame from decoder


[009:389] [2022-10-24 07:50:59 +0000.442248][6425] BindInputFilter 0x7c54355220
this 0x7c50b00118
[009:389] [2022-10-24 07:50:59 +0000.442512][6425] BindInputFilter 0x7c50b00118
this 0x7c50b001d8
[009:389] [2022-10-24 07:50:59 +0000.442591][6425] BindInputFilter 0x7c54355220
this 0x7c50b00298
[009:389] [2022-10-24 07:50:59 +0000.442674][6425] BindInputFilter 0x7c50b00298
this 0x7c50b00358
[009:389] [2022-10-24 07:50:59 +0000.442721][6425] AddVideoSource: source filter
list is empty, add first:
/data/user/0/com.android.camera/no_backup/.milive//record_video_1129736287.mp4
[009:389] [2022-10-24 07:50:59 +0000.442791][6425] BindInputFilter 0x7c50b001d8
this 0x7c50b00718
[009:390] [2022-10-24 07:50:59 +0000.442860][6425] BindInputFilter 0x7c50b00718
this 0x7c507f32a0
[009:390] [2022-10-24 07:50:59 +0000.442929][6425] BindInputFilter 0x7c50b00358
this 0x7c50b007d8
[009:390] [2022-10-24 07:50:59 +0000.443011][6425] AddVideoSource: END add video
source:
/data/user/0/com.android.camera/no_backup/.milive//record_video_1129736287.mp4
[009:392] [2022-10-24 07:50:59 +0000.445078][6425]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_ConstructMediaPlayerJni:
[009:393] [2022-10-24 07:50:59 +0000.446457][6425] machine model :redmi
[009:393] [2022-10-24 07:50:59 +0000.446634][6425] Support this machine
model :redmi
[009:393] [2022-10-24 07:50:59 +0000.446708][6425] global inited! current sdk
version: 07-20-936c45f
[009:394] [2022-10-24 07:50:59 +0000.446913][6425] GetPipeline:
-----------------------------------------
[009:394] [2022-10-24 07:50:59 +0000.446985][6425] GetPipeline: source:
0x7c54355000
[009:394] [2022-10-24 07:50:59 +0000.447036][6425] GetPipeline: filter: NULLFilter
[009:394] [2022-10-24 07:50:59 +0000.447089][6425] GetPipeline: filter: NULLFilter
[009:394] [2022-10-24 07:50:59 +0000.447141][6425] GetPipeline: filter: NULLFilter
[009:394] [2022-10-24 07:50:59 +0000.447192][6425] GetPipeline: audio filter:
AuidoNULLFilter
[009:394] [2022-10-24 07:50:59 +0000.447237][6425] GetPipeline: audio filter:
AuidoNULLFilter
[009:394] [2022-10-24 07:50:59 +0000.447284][6425] GetPipeline: audio filter:
AudioNUllFilter
[009:394] [2022-10-24 07:50:59 +0000.447347][6425] GetPipeline:
------------------------------------------
[009:394] [2022-10-24 07:50:59 +0000.447398][6425] filter: filter pipeline2 update
pattern: 0
[009:395] [2022-10-24 07:50:59 +0000.447928][6425] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[009:395] [2022-10-24 07:50:59 +0000.448226][6425] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[009:393] [2022-10-24 07:50:59 +0000.446793][7823] NO get frame from decoder
[009:395] [2022-10-24 07:50:59 +0000.448367][6425] Reset: volume estimator reset
frequency : 44100 history size(ms): -1
[009:395] [2022-10-24 07:50:59 +0000.448702][6425] DeviceInit:
[009:396] [2022-10-24 07:50:59 +0000.449160][6425] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[009:396] [2022-10-24 07:50:59 +0000.449179][7823] NO get frame from decoder
[009:397] [2022-10-24 07:50:59 +0000.449837][6425] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[009:397] [2022-10-24 07:50:59 +0000.450280][6425] CreatePlatformSpecificObjects:
[009:397] [2022-10-24 07:50:59 +0000.450342][6425] audio device use null audio
input and opensl output
[009:397] [2022-10-24 07:50:59 +0000.450369][6425] Create OpenSLES output module
with java VM support.

[009:397] [2022-10-24 07:50:59 +0000.450503][6425] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[009:398] [2022-10-24 07:50:59 +0000.450849][6425] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[009:398] [2022-10-24 07:50:59 +0000.451066][6425] Create OpenSLES output module
with buffer num:2

[009:398] [2022-10-24 07:50:59 +0000.451120][6425] Error(trace.cc:40): Init the


output and input for audio device template.
[009:398] [2022-10-24 07:50:59 +0000.451149][6425] Init the output device.

[009:398] [2022-10-24 07:50:59 +0000.451176][6425] Set the playout as stereo:1


[009:398] [2022-10-24 07:50:59 +0000.451203][6425] Set the sample rate to be:44100

[009:398] [2022-10-24 07:50:59 +0000.451278][6425] Low latency buffer size:144 low


sample rate:48000
[009:398] [2022-10-24 07:50:59 +0000.451311][6425] DeviceInit: Done
[009:398] [2022-10-24 07:50:59 +0000.451453][6425] UpdateRate: lipsync_debug:
Update framerate from 0 to 15
[009:398] [2022-10-24 07:50:59 +0000.451508][782f] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c33b15b18
[009:406] [2022-10-24 07:50:59 +0000.458956][7823] NO get frame from decoder
[009:408] [2022-10-24 07:50:59 +0000.460957][6425]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayerNotifyJni:
[009:408] [2022-10-24 07:50:59 +0000.461288][6425]
MediaFilterPlayer::SetPlayerNotify 0x7c50644200
[009:410] [2022-10-24 07:50:59 +0000.463159][7823] NO get frame from decoder
[009:412] [2022-10-24 07:50:59 +0000.465551][6425]
Error(media_filter_player.cc:392): SetPlayLoop: SetPlayLoop error for
media_filter_graph_ GetCurrentSource null
[009:412] [2022-10-24 07:50:59 +0000.465803][6425]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetPlayLoopJni:
EffectMediaPlayer SetPlayLoop #
[009:414] [2022-10-24 07:50:59 +0000.467410][7823] NO get frame from decoder
[009:415] [2022-10-24 07:50:59 +0000.468343][6425]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGravityJni: gravity: 1
width: 1080, height: 1920
[009:416] [2022-10-24 07:50:59 +0000.469156][7823] NO get frame from decoder
[009:417] [2022-10-24 07:50:59 +0000.470806][6425] SetGraphLoop: SetGraphLoop 1
[009:418] [2022-10-24 07:50:59 +0000.470988][6425]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetGraphLoopJni:
EffectMediaPlayer SetGraphLoop 1
[009:419] [2022-10-24 07:50:59 +0000.472626][6425]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_EnableUserAdjustRotatePlayJni:
[009:420] [2022-10-24 07:50:59 +0000.473605][7823] NO get frame from decoder
[009:424] [2022-10-24 07:50:59 +0000.477739][6425]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_SetViewSurfaceJni:
[009:425] [2022-10-24 07:50:59 +0000.478802][6425]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_StartPreViewJni:
[009:426] [2022-10-24 07:50:59 +0000.479131][7831] Start:
[009:431] [2022-10-24 07:50:59 +0000.484728][7830] operator(): video render
started.
[009:432] [2022-10-24 07:50:59 +0000.485074][7830] DriveRender working... (1/200)
[009:432] [2022-10-24 07:50:59 +0000.485114][7831] Start:
[009:432] [2022-10-24 07:50:59 +0000.485222][7830] Warning(video_render.cc:390): No
picture to display (1/50)
[009:432] [2022-10-24 07:50:59 +0000.485469][7831] Reset: volume estimator reset
frequency : 44100 history size(ms): 5000
[009:432] [2022-10-24 07:50:59 +0000.485531][7831] Reset: history total size: 98
[009:432] [2022-10-24 07:50:59 +0000.485571][7831] DeviceStart:
audioDevice_:0x7c50755000
[009:432] [2022-10-24 07:50:59 +0000.485589][7831] DeviceStart: time profile
playout init before
[009:432] [2022-10-24 07:50:59 +0000.485611][7831] DeviceStart: time profile
playout init end
[009:432] [2022-10-24 07:50:59 +0000.485625][7831] OpenSlesOutput:Start playout

[009:433] [2022-10-24 07:50:59 +0000.486785][7831] Create the opensl output player.


streamtype before:0

[009:434] [2022-10-24 07:50:59 +0000.487142][7831] Create the opensl output player.


streamtype after:3

[009:460] [2022-10-24 07:50:59 +0000.513723][7831] Enqueue opensl buffer size:1764


[009:514] [2022-10-24 07:50:59 +0000.567467][7831] DeviceStart: time profile
playout all end
[009:514] [2022-10-24 07:50:59 +0000.567549][7831] operator(): Audio playback
started.
[009:514] [2022-10-24 07:50:59 +0000.567514][7834]
PlayerSimpleBufferQueueCallbackHandler function
[009:514] [2022-10-24 07:50:59 +0000.567655][7831] operator(): Started now!
[009:514] [2022-10-24 07:50:59 +0000.567752][7834] NeedMorePlayData No enough
buffers. nSamples: 441(1/100)
[009:515] [2022-10-24 07:50:59 +0000.567845][7834]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[009:515] [2022-10-24 07:50:59 +0000.567855][7833] Error(video_source.cc:430): wait
decoder a frame: 0
[009:514] [2022-10-24 07:50:59 +0000.567761][7832] Pull audio failed.(wait video!)
[009:515] [2022-10-24 07:50:59 +0000.568312][7832]
Warning(media_filter_player.cc:409): media pull audio frame failed:4
[009:517] [2022-10-24 07:50:59 +0000.570277][7833] (1/100)OnReceiveVideoFrame,
key_frame: 1, pkt_pts: 900pts ms:10000
[009:520] [2022-10-24 07:50:59 +0000.573453][7832] audio_frame_list_ empty
[009:523] [2022-10-24 07:50:59 +0000.576744][7833] OnVideoFrameReady(1/200)
[009:531] [2022-10-24 07:50:59 +0000.584244][7830] operator() frame->pts-
9223372036854775808 queue_ size: 1 (1/200)
[009:533] [2022-10-24 07:50:59 +0000.586633][7830] lipsync_debug:displaying video
ts:900 The current displayed video timestamp is:1129742709
[009:555] [2022-10-24 07:50:59 +0000.608239][7833]
Warning(media_filter_player.cc:442): media pull video error, PullFrameStatus is 4
[009:561] [2022-10-24 07:50:59 +0000.614065][7830] lipsync_debug: render a video
frame
[009:561] [2022-10-24 07:50:59 +0000.614150][7830] lipsync_debug: First video frame
rendering.
[009:571] [2022-10-24 07:50:59 +0000.624299][7830]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:23 timeDelta:38 last
video ts:900 frame->pts:2970 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[009:571] [2022-10-24 07:50:59 +0000.624426][7830] lipsync_debug: tsDelta -
timeDelta = -15
[009:571] [2022-10-24 07:50:59 +0000.624449][7830] lipsync_debug:result remaining
time:0
[009:571] [2022-10-24 07:50:59 +0000.624464][7830] dynamic updated lipsync delay:0
[009:575] [2022-10-24 07:50:59 +0000.628211][7830] lipsync_debug:remaining time:10
tsDelta - timeDelta:16
[009:575] [2022-10-24 07:50:59 +0000.628293][7830] lipsync_debug:result remaining
time:10
[009:669] [2022-10-24 07:50:59 +0000.721988][7832] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 0
[009:669] [2022-10-24 07:50:59 +0000.722082][7832] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[009:669] [2022-10-24 07:50:59 +0000.722190][7831] Create the audio converter 44100
Hz format:1 channels:2 old channels: 0 Hz: 0 format:-1
[009:669] [2022-10-24 07:50:59 +0000.722383][7831] The audio playback speed:100
(1/100)
[009:669] [2022-10-24 07:50:59 +0000.722439][7831] lipsync_debug: The current
played audio timestamp is:0(1/50)
[009:669] [2022-10-24 07:50:59 +0000.722473][7831] First audio frame rendering
[009:734] [2022-10-24 07:50:59 +0000.786984][7833] video frame wait audio frame:
last_video_timestamp:332 last_audio_timestamp:207.937
[010:195] [2022-10-24 07:51:00 +0000.248127][7830] lipsync_debug:displaying video
ts:60390 The current displayed video timestamp is:1129743371
[010:239] [2022-10-24 07:51:00 +0000.292303][77a6] webrtc device:Handle the data
from samplesPerSec recording sample rate:48000 nSamples:480 nBytesPerSample:#
nChannels:#

[010:240] [2022-10-24 07:51:00 +0000.292871][77a6] _deviceSampleRate:48000

[010:241] [2022-10-24 07:51:00 +0000.294487][77a5] Run AGC when audioType = 0


[010:473] [2022-10-24 07:51:00 +0000.526379][77a5] haveEnoughProcessedData
internalAudioStream.length: 0
[010:485] [2022-10-24 07:51:00 +0000.538448][7834]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[010:516] [2022-10-24 07:51:00 +0000.569088][7831] do work DoLipsync!
[010:516] [2022-10-24 07:51:00 +0000.569264][7831] total delay:279 videoTsMS:974
audioTsMS:695 diff:279
[010:516] [2022-10-24 07:51:00 +0000.569337][7831] Set the lipsync delay:279
[010:715] [2022-10-24 07:51:00 +0000.768212][7833] Error(video_source.cc:430): wait
decoder a frame: 0
[010:960] [2022-10-24 07:51:01 +0000.13586][7833] webrtc common_video plane
old ..... (1/1000) new: 3001 delete: 2992 diff: 9
[011:044] [2022-10-24 07:51:01 +0000.96894][7830] lipsync_debug:displaying video
ts:120510 The current displayed video timestamp is:1129744220
[011:127] [2022-10-24 07:51:01 +0000.180644][7830] DriveRender working... (1/200)
[011:243] [2022-10-24 07:51:01 +0000.296491][7830]
lipsync_debug:lipsync_threadhold: lipsync_delta:15 tsDelta:45 timeDelta:2 last
video ts:132480 frame->pts:135180 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[011:243] [2022-10-24 07:51:01 +0000.296590][7830] lipsync_debug: tsDelta -
timeDelta = 43
[011:504] [2022-10-24 07:51:01 +0000.557078][7834]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[011:671] [2022-10-24 07:51:01 +0000.724144][7830] lipsync_debug:remaining time:10
tsDelta - timeDelta:4
[011:671] [2022-10-24 07:51:01 +0000.724319][7830] lipsync_debug:result remaining
time:4
[011:776] [2022-10-24 07:51:01 +0000.829823][7830] lipsync_debug:displaying video
ts:180450 The current displayed video timestamp is:1129744952
[011:825] [2022-10-24 07:51:01 +0000.878166][7832] (1/100)OnReceiveAudioFrame,
key_frame: 1, pkt_pts: 102324
[011:825] [2022-10-24 07:51:01 +0000.878286][7832] OnAudioFrameReady frame->pts=-
9223372036854775808 (1/100)
[011:931] [2022-10-24 07:51:01 +0000.984517][7831] The audio playback speed:100
(1/100)
[011:932] [2022-10-24 07:51:01 +0000.984881][7831] lipsync_debug: The current
played audio timestamp is:102324(1/50)
[012:153] [2022-10-24 07:51:02 +0000.206043][7833] Error(video_source.cc:430): wait
decoder a frame: 0
[012:192] [2022-10-24 07:51:02 +0000.245623][77a5] haveEnoughProcessedData
internalAudioStream.length: 0
[012:240] [2022-10-24 07:51:02 +0000.293374][77a5] Run AGC when audioType = 0
[012:240] [2022-10-24 07:51:02 +0000.293657][77a5]
AudioDeviceDataHandler::MixAndSendOutFrame
[012:444] [2022-10-24 07:51:02 +0000.497663][7830] lipsync_debug:displaying video
ts:240570 The current displayed video timestamp is:1129745620
[012:471] [2022-10-24 07:51:02 +0000.524759][7834]
Warning(audio_device_generic.cc:206): No Audio Processing is done for output datas.
[012:687] [2022-10-24 07:51:02 +0000.739874][7830] DriveRender working... (1/200)
[012:713] [2022-10-24 07:51:02 +0000.765917][7833] (1/100)OnReceiveVideoFrame,
key_frame: 0, pkt_pts: 301230pts ms:3.347e+06
[012:715] [2022-10-24 07:51:02 +0000.768027][7833] OnVideoFrameReady(1/200)
[012:715] [2022-10-24 07:51:02 +0000.768324][7830] operator() frame->pts-
9223372036854775808 queue_ size: 14 (1/200)
[012:808] [2022-10-24 07:51:02 +0000.861788][7830]
lipsync_debug:lipsync_threadhold: lipsync_delta:0 tsDelta:38 timeDelta:22 last
video ts:267570 frame->pts:270990 pkt_dts:-9223372036854775808 pkt_pts:-
9223372036854775808
[012:809] [2022-10-24 07:51:02 +0000.862013][7830] lipsync_debug: tsDelta -
timeDelta = 16
[013:160] [2022-10-24 07:51:03 +0000.213213][7830] lipsync_debug:displaying video
ts:301230 The current displayed video timestamp is:1129746336
[013:163] [2022-10-24 07:51:03 +0000.216115][7830] lipsync_debug: render a video
frame
[013:186] [2022-10-24 07:51:03 +0000.239772][7830] lipsync_debug:result remaining
time:0
[013:187] [2022-10-24 07:51:03 +0000.239960][7830] dynamic updated lipsync delay:0
[013:202] [2022-10-24 07:51:03 +0000.255126][7823] av_read_frame AVERROR_EOF
[013:230] [2022-10-24 07:51:03 +0000.282967][6425]
Java_com_xiaomi_recordmediaprocess_EffectMediaPlayer_DestructMediaPlayerJni:
[013:232] [2022-10-24 07:51:03 +0000.285071][7831] Stop:
[013:232] [2022-10-24 07:51:03 +0000.285470][7830] operator(): Video Render
stopped.
[013:233] [2022-10-24 07:51:03 +0000.286015][7831] Stop:
[013:234] [2022-10-24 07:51:03 +0000.287090][7831] DeviceStop:
audioDevice_:0x7c50755000
[013:234] [2022-10-24 07:51:03 +0000.287299][7831] OpenSlesOutput:Stop playout
[013:239] [2022-10-24 07:51:03 +0000.291835][7831] DeviceStop: Done
[013:239] [2022-10-24 07:51:03 +0000.292319][7831] Warning(audio_playback.cc:730):
operator(): Audio playback stopped.
[013:239] [2022-10-24 07:51:03 +0000.292446][7831] operator(): Stop now!
[013:240] [2022-10-24 07:51:03 +0000.293553][6425] Stop:
[013:240] [2022-10-24 07:51:03 +0000.293812][7831] Warning(audio_playback.cc:715):
operator(): Audio playback not started. Operation cancelled.
[013:242] [2022-10-24 07:51:03 +0000.295277][6425] DeviceRelease:
audioDevice_:0x7c50755000
[013:242] [2022-10-24 07:51:03 +0000.295434][6425] OpenSlesOutput:Stop playout

[013:242] [2022-10-24 07:51:03 +0000.295503][6425] DeviceRelease: Release the


webrtc device object.
[013:244] [2022-10-24 07:51:03 +0000.296874][6425] OpenSlesOutput destruct.

[013:244] [2022-10-24 07:51:03 +0000.297040][6425] DeviceRelease: Done


[013:244] [2022-10-24 07:51:03 +0000.297175][6425] Stop:
[013:244] [2022-10-24 07:51:03 +0000.297342][7830] Warning(video_render.cc:349):
operator(): video render not started. Operation cancelled.
[013:249] [2022-10-24 07:51:03 +0000.302439][6425] global uninited!
[013:250] [2022-10-24 07:51:03 +0000.303786][6425]
Java_com_xiaomi_recordmediaprocess_MediaEffectGraph_DestructMediaEffectGraphJni:
[013:251] [2022-10-24 07:51:03 +0000.303949][6425] ~MediaFilterGraph:
MediaFilterGraph destruct
[013:251] [2022-10-24 07:51:03 +0000.303997][6425] RemoveVideoBackGroud: hava not
add video backgroud
[013:251] [2022-10-24 07:51:03 +0000.304055][6425] UnbindInputFilter 0x7c50b00718
this 0x7c507f32a0
[013:251] [2022-10-24 07:51:03 +0000.304103][6425] ClearAllSource: remove source
filter, sourceid: 0x7c54355000
[013:251] [2022-10-24 07:51:03 +0000.304138][6425] DestoryDecoderByVideoSource
time:1129746427 enter.

[013:251] [2022-10-24 07:51:03 +0000.304225][6425] ~VideoBindDecoder


time:1129746427 enter.

[013:251] [2022-10-24 07:51:03 +0000.304705][6425] CleanUp time:1129746427 enter.

[013:259] [2022-10-24 07:51:03 +0000.311851][6425] CleanUp leave. expire time = 8


ms

[013:259] [2022-10-24 07:51:03 +0000.311994][6425] CleanUp time:1129746435 enter.

[013:260] [2022-10-24 07:51:03 +0000.312981][6425] CleanUp leave. expire time = 1


ms

[013:262] [2022-10-24 07:51:03 +0000.315414][6425] ~VideoBindDecoder leave. expire


time = 11 ms

[013:262] [2022-10-24 07:51:03 +0000.315524][6425] DestoryDecoderByVideoSource


leave. expire time = 11 ms

[013:262] [2022-10-24 07:51:03 +0000.315582][6425] UnbindInputFilter 0x7c50b001d8


this 0x7c50b00718
[013:262] [2022-10-24 07:51:03 +0000.315637][6425] UnbindInputFilter 0x7c50b00118
this 0x7c50b001d8
[013:262] [2022-10-24 07:51:03 +0000.315691][6425] UnbindInputFilter 0x7c54355220
this 0x7c50b00118
[013:262] [2022-10-24 07:51:03 +0000.315739][6425] UnbindInputFilter 0x7c50b00358
this 0x7c50b007d8
[013:263] [2022-10-24 07:51:03 +0000.315834][6425] UnbindInputFilter 0x7c50b00298
this 0x7c50b00358
[013:263] [2022-10-24 07:51:03 +0000.315882][6425] UnbindInputFilter 0x7c54355220
this 0x7c50b00298
[013:263] [2022-10-24 07:51:03 +0000.316265][6425] ~GLESContext:
[013:264] [2022-10-24 07:51:03 +0000.317556][6425] GLESContext destruct finish.
[013:264] [2022-10-24 07:51:03 +0000.317656][6425] filter: filter pipeline destroy
this: 0x7c507f3200
[013:901] [2022-10-24 07:51:03 +0000.954321][77a5] haveEnoughProcessedData
internalAudioStream.length: 0
[014:243] [2022-10-24 07:51:04 +0000.296591][77a5] Run AGC when audioType = 0
[015:622] [2022-10-24 07:51:05 +0000.674960][77a5] haveEnoughProcessedData
internalAudioStream.length: 0
[015:658] [2022-10-24 07:51:05 +0000.711743][644d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[015:659] [2022-10-24 07:51:05 +0000.711969][644d] ~MediaFilterCamera
time:1129748835 enter.

[015:659] [2022-10-24 07:51:05 +0000.712011][644d] StopPullFrameAndWriteMp4


time:1129748835 enter.

[015:660] [2022-10-24 07:51:05 +0000.712937][77a0] stop recording


[015:660] [2022-10-24 07:51:05 +0000.713011][77a0] we have stopped recording before
[015:660] [2022-10-24 07:51:05 +0000.713329][644d] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[015:661] [2022-10-24 07:51:05 +0000.714768][644d] DestroyPipelineAndFilters


time:1129748837 enter.

[015:662] [2022-10-24 07:51:05 +0000.714831][644d] DestroyPipelineAndFilters


leave. expire time = 1 ms

[015:662] [2022-10-24 07:51:05 +0000.714852][644d] AppDeviceManagerStopMic

[015:662] [2022-10-24 07:51:05 +0000.714907][644d] AppDeviceManagerStopMic::mic


status is on
[015:662] [2022-10-24 07:51:05 +0000.714923][644d] Try to stop webrtc device.

[015:662] [2022-10-24 07:51:05 +0000.714940][644d] Set record state to


stopped.threadID:25677

[015:725] [2022-10-24 07:51:05 +0000.778208][644d] Try to destory the


recorder.threadID:25677

[015:925] [2022-10-24 07:51:05 +0000.978463][644d] DestroyAudioRecorder:


[015:925] [2022-10-24 07:51:05 +0000.978555][644d] Cleanup the buffer queue in the
recorder.
[015:925] [2022-10-24 07:51:05 +0000.978578][644d] Destroy the recorder.

[015:929] [2022-10-24 07:51:05 +0000.981836][644d] StopRecording finished.

[015:929] [2022-10-24 07:51:05 +0000.981913][644d] The stop recording success.

[015:929] [2022-10-24 07:51:05 +0000.981934][644d]


AudioDeviceDataHandler::StopMicProcess

[015:933] [2022-10-24 07:51:05 +0000.985897][644d] AppDeviceManager stop.


[015:933] [2022-10-24 07:51:05 +0000.985995][644d] Rlease the webrtc device object.

[015:933] [2022-10-24 07:51:05 +0000.986210][644d] OpenSlesInput destruct.

[015:933] [2022-10-24 07:51:05 +0000.986273][644d] OpenSlesOutput destruct.

[015:933] [2022-10-24 07:51:05 +0000.986767][644d] EventDispatchServerScope


destruct
[015:934] [2022-10-24 07:51:05 +0000.986912][644d]
Warning(physicalsocketserver.cc:1150): PhysicalSocketServer destruct
[015:934] [2022-10-24 07:51:05 +0000.986969][644d] ~AudioDeviceDataHandler

[015:934] [2022-10-24 07:51:05 +0000.987433][644d] AppDeviceManagerDestruct.

[015:934] [2022-10-24 07:51:05 +0000.987478][644d] ~AppDeviceManager:


[015:934] [2022-10-24 07:51:05 +0000.987520][644d] ~CpuOverloadDetect
time:1129749110 enter.

[015:934] [2022-10-24 07:51:05 +0000.987741][644d] ~CpuOverloadDetect leave.


expire time = 0 ms

[015:936] [2022-10-24 07:51:05 +0000.988841][644d] Destruct BeautifyReader begin...


[015:936] [2022-10-24 07:51:05 +0000.988902][644d] Destruct BeautifyReader done.
[015:936] [2022-10-24 07:51:05 +0000.988926][644d] ~MediaFilterCamera leave.
expire time = 277 ms

[015:936] [2022-10-24 07:51:05 +0000.989045][644d] ~GLESContext:


[015:945] [2022-10-24 07:51:05 +0000.998610][644d] GLESContext destruct finish.
[015:945] [2022-10-24 07:51:05 +0000.998717][644d] ~RecordingSessionInternalSimple:
RecordingSessionInternalSimple::~RecordingSessionInternalSimple
[015:949] [2022-10-24 07:51:06 +0000.2553][644d] global uninited!
[015:950] [2022-10-24 07:51:06 +0000.3472][644d] clear AppID 50011
[015:950] [2022-10-24 07:51:06 +0000.3539][644d] UnRegister JVM for Xplatform util
[015:950] [2022-10-24 07:51:06 +0000.3591][644d] Dispose::unregister webrtc video
engine
[015:950] [2022-10-24 07:51:06 +0000.3614][644d] Init the android object with
jvm:0x0 env:0x0 context:0x0

[015:950] [2022-10-24 07:51:06 +0000.3645][644d] SetAndroidMediaCodecObjects


time:1129749126 enter.

[015:950] [2022-10-24 07:51:06 +0000.3669][644d] ClearAndroidMediaCodecObjects


time:1129749126 enter.

[015:950] [2022-10-24 07:51:06 +0000.3698][644d] ClearAndroidMediaCodecObjects


leave. expire time = 0 ms

[015:950] [2022-10-24 07:51:06 +0000.3722][644d] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[015:950] [2022-10-24 07:51:06 +0000.3749][644d] SetAndroidMediaCodecObjects


time:1129749126 enter.

[015:950] [2022-10-24 07:51:06 +0000.3775][644d] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0x0
[015:950] [2022-10-24 07:51:06 +0000.3801][644d] ClearAndroidMediaCodecObjects
time:1129749126 enter.
[015:951] [2022-10-24 07:51:06 +0000.3827][644d] ClearAndroidMediaCodecObjects
leave. expire time = 1 ms

[015:951] [2022-10-24 07:51:06 +0000.3853][644d] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects failed
[015:951] [2022-10-24 07:51:06 +0000.3878][644d] SetAndroidMediaCodecObjects
leave. expire time = 1 ms

[015:951] [2022-10-24 07:51:06 +0000.3892][644d] Dispose::unregister webrtc voice


engine
[015:951] [2022-10-24 07:51:06 +0000.3912][644d] Set the android objects with
jvm:0x0 env:0x0 context:0x0

[015:951] [2022-10-24 07:51:06 +0000.3940][644d] SystemUtil UnInit done


[020:282] [2022-10-24 07:51:10 +0000.335273][644d] Register JVM for xplatform util
[020:290] [2022-10-24 07:51:10 +0000.343366][644d] Log to
file:/storage/emulated/0/voip-data/com.android.camera/trace.txt start time:2022-10-
24 07:51:10 +0000
[020:290] [2022-10-24 07:51:10 +0000.343456][644d] set AppID=50011 old AppID=-1
[020:290] [2022-10-24 07:51:10 +0000.343475][644d] Init the android object with
jvm:0xb400007dd9cc3540 env:0x7d0927ba00 context:0x7c99078d58

[020:290] [2022-10-24 07:51:10 +0000.343494][644d] SetAndroidMediaCodecObjects


time:1129753466 enter.

[020:290] [2022-10-24 07:51:10 +0000.343524][644d] SetAndroidMediaCodecObjects


leave. expire time = 0 ms

[020:290] [2022-10-24 07:51:10 +0000.343541][644d] SetAndroidMediaCodecObjects


time:1129753466 enter.

[020:290] [2022-10-24 07:51:10 +0000.343555][644d] SetAndroidMediaCodecObjects:


SetAndroidMediaCodecObjects:: jvm :0xb400007dd9cc3540
[020:290] [2022-10-24 07:51:10 +0000.343571][644d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_:0xb400007dd9cc3540 address:0x7c17476760
[020:290] [2022-10-24 07:51:10 +0000.343586][644d] SetAndroidMediaCodecObjects:
SetAndroidMediaCodecObjects success g_jvm_encoder_:0xb400007dd9cc3540
address:0x7c17476760
[020:290] [2022-10-24 07:51:10 +0000.343600][644d] SetAndroidMediaCodecObjects
leave. expire time = 0 ms

[020:290] [2022-10-24 07:51:10 +0000.343613][644d] Set the android objects with


jvm:0xb400007dd9cc3540 env:0x7d0927ba00 context:0x7c99078d58

[020:290] [2022-10-24 07:51:10 +0000.343627][644d] audio jni debug :manager


SetAndroidAudioDeviceObjects env:0x7d0927ba00
[020:290] [2022-10-24 07:51:10 +0000.343642][644d] SystemUtil Init done
[020:291] [2022-10-24 07:51:10 +0000.343956][644d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_ConstructMediaEffectCameraJni:
[020:291] [2022-10-24 07:51:10 +0000.344085][644d] MediaFilterCamera
[020:291] [2022-10-24 07:51:10 +0000.344119][644d] RecordingSessionInternalSimple:
Create session internal:720 X 1280 fps:30
[020:291] [2022-10-24 07:51:10 +0000.344223][644d] createSessionInternal: create
session with video size:720 X 1280 fps:30 bitrate:31457280
[020:291] [2022-10-24 07:51:10 +0000.344253][644d] Recording session using default
bitrate support by app:31457280
[020:291] [2022-10-24 07:51:10 +0000.344319][7891] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c508cfdc0
[020:291] [2022-10-24 07:51:10 +0000.344540][7891] setAudioChannelCount_w:
RecordingSessionInternalSimple:set the audio channel count:2
[020:291] [2022-10-24 07:51:10 +0000.344784][644d] setAudioSampleRate:
RecordingSessionInternalSimple:set the audio bitrate:44100
[020:294] [2022-10-24 07:51:10 +0000.347375][644d] Error(ini.cc:191): Open the file
failed. error:2
[020:294] [2022-10-24 07:51:10 +0000.347463][644d]
Error(key_value_pair_store.cc:130): load the data failed from: voip_config.ini
[020:294] [2022-10-24 07:51:10 +0000.347484][644d] The device model: m2101k6g
usingSoftwareAEC value: 0
[020:301] [2022-10-24 07:51:10 +0000.354384][644d] Error(ini.cc:191): Open the file
failed. error:2
[020:301] [2022-10-24 07:51:10 +0000.354490][644d]
Error(key_value_pair_store.cc:130): load the data failed from:
/storage/emulated/0/voip-data/com.android.camera/voip_config.ini
[020:301] [2022-10-24 07:51:10 +0000.354518][644d] The device model: m2101k6g
usingHardwareAEC value: 0
[020:301] [2022-10-24 07:51:10 +0000.354561][644d] The machine device: m2101k6g
usingHardwareAEC value: 0
[020:301] [2022-10-24 07:51:10 +0000.354645][644d] Using Default AEC type: software
AEC
[020:302] [2022-10-24 07:51:10 +0000.355780][644d] The device model: m2101k6g enum
value: 0
[020:303] [2022-10-24 07:51:10 +0000.356322][644d] GetMachineModel is M2101K6G
[020:303] [2022-10-24 07:51:10 +0000.356387][644d] GetMachineInfo: M2101K6G
[020:303] [2022-10-24 07:51:10 +0000.356406][644d] Construct BeautifyReader
begin...
[020:303] [2022-10-24 07:51:10 +0000.356506][644d] dumpStickerRgba:0
dumpStickerYuv:0
[020:303] [2022-10-24 07:51:10 +0000.356522][644d] Construct BeautifyReader done.
[020:307] [2022-10-24 07:51:10 +0000.360490][644d] AppDeviceManagerStartCamera::The
result of start thread is: 1 micOn:0
[020:307] [2022-10-24 07:51:10 +0000.360605][644d] AppDeviceManager telnet server
for statistics started......
[020:307] [2022-10-24 07:51:10 +0000.360759][7895] Error(thread.cc:348): Set the
pthread name failed with error:34 name:Thread 0x0x7c335eaea0
[020:309] [2022-10-24 07:51:10 +0000.361957][644d] CpuOverloadDetect
time:1129753485 enter.

[020:309] [2022-10-24 07:51:10 +0000.362296][644d] CpuOverloadDetect leave. expire


time = 0 ms

[020:310] [2022-10-24 07:51:10 +0000.363247][7896] Error(thread.cc:348): Set the


pthread name failed with error:34 name:Thread 0x0x7d132937c0
[020:310] [2022-10-24 07:51:10 +0000.363570][644d] AppDeviceMana
GetOpenslVoiceMode before get setting: 1
[020:310] [2022-10-24 07:51:10 +0000.363626][644d] AppDeviceMana
GetOpenslVoiceMode after get setting: 1
[020:311] [2022-10-24 07:51:10 +0000.363819][644d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[020:311] [2022-10-24 07:51:10 +0000.364192][644d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[020:311] [2022-10-24 07:51:10 +0000.364507][644d] CreatePlatformSpecificObjects:
[020:311] [2022-10-24 07:51:10 +0000.364568][644d] audio device use opensle input
and opensl output
[020:311] [2022-10-24 07:51:10 +0000.364589][644d] Create OpenSLES output module
with java VM support.

[020:311] [2022-10-24 07:51:10 +0000.364734][644d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[020:312] [2022-10-24 07:51:10 +0000.364959][644d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[020:312] [2022-10-24 07:51:10 +0000.365155][644d] Create OpenSLES output module
with buffer num:1

[020:313] [2022-10-24 07:51:10 +0000.366396][644d] AudioManagerAndroid


getProperty:android.media.property.OUTPUT_SAMPLE_RATE
[020:313] [2022-10-24 07:51:10 +0000.366724][644d] AudioManagerAndroid
getProperty:android.media.property.OUTPUT_FRAMES_PER_BUFFER
[020:314] [2022-10-24 07:51:10 +0000.367024][644d] Create OpenSLES input module
with java VM support.

[020:314] [2022-10-24 07:51:10 +0000.367080][644d] Create OpenSLES input module


with buffer num:1

[020:314] [2022-10-24 07:51:10 +0000.367123][644d] Error(trace.cc:40): Init the


output and input for audio device template.
[020:314] [2022-10-24 07:51:10 +0000.367145][644d] Init the output device.

[020:314] [2022-10-24 07:51:10 +0000.367160][644d] Init the opensl input.


[020:314] [2022-10-24 07:51:10 +0000.367183][644d] AppDeviceManager get setting
samplerate: 0
[020:314] [2022-10-24 07:51:10 +0000.367610][644d] The device model: m2101k6g enum
value: 0
[020:315] [2022-10-24 07:51:10 +0000.368095][644d] The device model: m2101k6g enum
value: 0
[020:315] [2022-10-24 07:51:10 +0000.368129][644d] Set the sample rate to be:48000

[020:315] [2022-10-24 07:51:10 +0000.368146][644d] Enable the recording stereo:0


[020:315] [2022-10-24 07:51:10 +0000.368170][644d] Set the playout as stereo:1
[020:315] [2022-10-24 07:51:10 +0000.368195][644d] Init the microphone.
[020:315] [2022-10-24 07:51:10 +0000.368555][644d] Update the recording sample rate
to be: 48000
[020:315] [2022-10-24 07:51:10 +0000.368611][644d] Init the speaker.
[020:315] [2022-10-24 07:51:10 +0000.368638][644d] Low latency buffer size:144 low
sample rate:48000
[020:316] [2022-10-24 07:51:10 +0000.368893][644d] Using 1 x 10ms for an audio
frame.

[020:319] [2022-10-24 07:51:10 +0000.372421][644d] Error(splitting_filter.cc:26):


Splitting filter only support two or three bands now.
[020:319] [2022-10-24 07:51:10 +0000.372517][644d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[020:319] [2022-10-24 07:51:10 +0000.372549][644d] Error(splitting_filter.cc:26):
Splitting filter only support two or three bands now.
[020:327] [2022-10-24 07:51:10 +0000.379984][644d] The device model:m2101k6g

[020:327] [2022-10-24 07:51:10 +0000.380065][644d] speaker output factor:100


defaultFactor: 100

[020:327] [2022-10-24 07:51:10 +0000.380081][644d] headset output factor:100


defaultFactor: 100

[020:327] [2022-10-24 07:51:10 +0000.380419][644d] AppDeviceManagerStart finished.


[020:327] [2022-10-24 07:51:10 +0000.380457][644d] AppDeviceManagerStartMic::mic
status is off
[020:327] [2022-10-24 07:51:10 +0000.380504][644d] AppDeviceManagerStartMic update
aec type: 2
[020:327] [2022-10-24 07:51:10 +0000.380521][644d] AppDeviceManagerStartMic update
voiceChangeMode: 4

[020:327] [2022-10-24 07:51:10 +0000.380536][644d]


AudioDeviceDataHandler::setVoiceChangeMode, mode : 4
[020:327] [2022-10-24 07:51:10 +0000.380564][644d]
AudioDeviceDataHandler::StartMicProcess

[020:327] [2022-10-24 07:51:10 +0000.380671][644d] Try to start webrtc recording


device.

[020:327] [2022-10-24 07:51:10 +0000.380699][644d] StartRecording. threadID:25677

[020:327] [2022-10-24 07:51:10 +0000.380753][644d] default mode: Set the recording


mode to voice communication to enable HW AEC .

[020:327] [2022-10-24 07:51:10 +0000.380774][644d] Set the recording mode before


getSetting: 4
[020:327] [2022-10-24 07:51:10 +0000.380792][644d] Set the recording mode after
getSetting: 1
[020:329] [2022-10-24 07:51:10 +0000.382489][7897] Error(thread.cc:348): Set the
pthread name failed with error:34 name:AudioDeviceDataHandler gapProcessThread
[020:361] [2022-10-24 07:51:10 +0000.414114][644d] StartRecording finished.

[020:361] [2022-10-24 07:51:10 +0000.414252][644d] audio: start the audio mic


checker timer.

[020:361] [2022-10-24 07:51:10 +0000.414769][644d] machine model :redmi


[020:362] [2022-10-24 07:51:10 +0000.414863][644d] Support this machine
model :redmi
[020:362] [2022-10-24 07:51:10 +0000.414885][644d] global inited! current sdk
version: 07-20-936c45f
[020:835] [2022-10-24 07:51:10 +0000.888484][689b]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
[020:836] [2022-10-24 07:51:10 +0000.888952][7892] MediaFilterCamera, recording
file context:0x7c638b6280 input texture:26
[020:836] [2022-10-24 07:51:10 +0000.889077][7892] GLESContext:
[020:836] [2022-10-24 07:51:10 +0000.889125][7892] The result of eglGetDisplay is:
0xb400007dd9db58c0
[020:837] [2022-10-24 07:51:10 +0000.889879][7892] The result of creation:
0x7c50c2c480
[020:837] [2022-10-24 07:51:10 +0000.890012][7892] The result of
eglCreatePbufferSurface is: 0x7c50c2c700
[020:837] [2022-10-24 07:51:10 +0000.890346][689b]
Java_com_xiaomi_recordmediaprocess_OpenGlRender_SetCurrentGLContextJni:
g_eglcontext: 0x7c638b6280 input_texture: 26
[021:033] [2022-10-24 07:51:11 +0000.86062][7897] Run AGC when audioType = 0
[021:033] [2022-10-24 07:51:11 +0000.86178][7897]
AudioDeviceDataHandler::MixAndSendOutFrame
[021:539] [2022-10-24 07:51:11 +0000.591943][644d]
Java_com_xiaomi_recordmediaprocess_MediaEffectCamera_DestructMediaEffectCameraJni:
[021:539] [2022-10-24 07:51:11 +0000.592041][644d] ~MediaFilterCamera
time:1129754715 enter.

[021:539] [2022-10-24 07:51:11 +0000.592106][644d] StopPullFrameAndWriteMp4


time:1129754715 enter.

[021:539] [2022-10-24 07:51:11 +0000.592778][7891] stop recording


[021:540] [2022-10-24 07:51:11 +0000.592865][7891] we have stopped recording before
[021:540] [2022-10-24 07:51:11 +0000.592929][644d] StopPullFrameAndWriteMp4 leave.
expire time = 1 ms

[021:540] [2022-10-24 07:51:11 +0000.595176][644d] DestroyPipelineAndFilters


time:1129754716 enter.

[021:542] [2022-10-24 07:51:11 +0000.595381][644d] DestroyPipelineAndFilters


leave. expire time = 2 ms

[021:542] [2022-10-24 07:51:11 +0000.595432][644d] AppDeviceManagerStopMic

[021:542] [2022-10-24 07:51:11 +0000.595566][644d] AppDeviceManagerStopMic::mic


status is on
[021:542] [2022-10-24 07:51:11 +0000.595795][644d] Try to stop webrtc device.

[021:543] [2022-10-24 07:51:11 +0000.595827][644d] Set record state to


stopped.threadID:25677

[021:598] [2022-10-24 07:51:11 +0000.651166][644d] Try to destory the


recorder.threadID:25677

[021:798] [2022-10-24 07:51:11 +0000.851335][644d] DestroyAudioRecorder:


[021:798] [2022-10-24 07:51:11 +0000.851470][644d] Cleanup the buffer queue in the
recorder.
[021:798] [2022-10-24 07:51:11 +0000.851492][644d] Destroy the recorder.

[021:799] [2022-1

You might also like